@mjhls/mjh-framework 1.0.799-beta.0 → 1.0.799-social-share-flag-v2
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 +170 -170
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +30 -29
- package/dist/cjs/AD300x250x600.js +30 -29
- package/dist/cjs/AD728x90.js +33 -32
- package/dist/cjs/ADFloatingFooter.js +32 -31
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +32 -31
- package/dist/cjs/{ADInfeed-5b042ade.js → ADInfeed-e7aecdf9.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +32 -31
- package/dist/cjs/ADSponsoredResources.js +32 -31
- package/dist/cjs/ADWebcast.js +32 -31
- package/dist/cjs/ADWelcome.js +33 -32
- package/dist/cjs/{ADlgInfeed-e92b6f9f.js → ADlgInfeed-0941023e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +35 -34
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +57 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +686 -462
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +61 -58
- package/dist/cjs/ConferenceArticleCard.js +39 -38
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-946b8c39.js → Dfp-3f0ed4c8.js} +34 -33
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +80 -79
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +182 -178
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +70 -69
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +72 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -38
- package/dist/cjs/MasterDeck.js +80 -79
- package/dist/cjs/MediaSeriesLanding.js +961 -961
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/NavNormal.js +52 -47
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +42 -41
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +142 -138
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-c022ce04.js} +42 -41
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-31afe61f.js} +40 -36
- package/dist/cjs/SocialShare.js +36 -31
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +76 -75
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +76 -72
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +49 -48
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +267 -261
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- 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-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.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/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-60837c34.js → extends-29bdbc6d.js} +8 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +140 -76
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-34e3ba68.js → getTargeting-be6168ad.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-61690275.js → index-59b791eb.js} +1280 -1040
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- 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-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- 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 +163 -160
- package/dist/cjs/{inherits-c9f99d47.js → inherits-c2065b95.js} +22 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- 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-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- 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-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +26 -26
- package/dist/esm/AD300x250x600.js +26 -26
- package/dist/esm/AD728x90.js +29 -29
- package/dist/esm/ADFloatingFooter.js +28 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +28 -28
- package/dist/esm/{ADInfeed-171677b4.js → ADInfeed-e1e18f87.js} +11 -11
- package/dist/esm/ADSkyscraper.js +28 -28
- package/dist/esm/ADSponsoredResources.js +28 -28
- package/dist/esm/ADWebcast.js +28 -28
- package/dist/esm/ADWelcome.js +29 -29
- package/dist/esm/{ADlgInfeed-f2ac31d1.js → ADlgInfeed-c6d2831b.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +26 -26
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +53 -53
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +665 -445
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +55 -55
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +97 -97
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-965b3873.js → Dfp-a304d96c.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +170 -170
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +66 -66
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +60 -60
- package/dist/esm/IssueDeck.js +64 -64
- package/dist/esm/IssueLanding.js +68 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +34 -34
- package/dist/esm/MasterDeck.js +76 -76
- package/dist/esm/MediaSeriesLanding.js +786 -789
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/NavNormal.js +38 -38
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +104 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +38 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +52 -52
- package/dist/esm/PublicationLanding.js +125 -125
- package/dist/esm/QueueDeckExpanded.js +274 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-8414085b.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-719f230f.js → SocialSearchComponent-116b1d5d.js} +30 -30
- package/dist/esm/SocialShare.js +30 -27
- package/dist/esm/TaxonomyCard.js +53 -53
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +71 -71
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +41 -41
- package/dist/esm/VideoSeriesListing.js +73 -73
- package/dist/esm/View.js +248 -246
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- 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-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.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/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-eb69e8ac.js → extends-60e0e1c6.js} +8 -8
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +135 -71
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-739e9fed.js → getTargeting-68291ce9.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-c1691ede.js → index-68283a6a.js} +1217 -984
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
- 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-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +132 -132
- package/dist/esm/{inherits-fb9b6e8f.js → inherits-a41fe93f.js} +20 -20
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- 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-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- 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-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +108 -108
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,51 +1,51 @@
|
|
|
1
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { l as lib_3 } from './index-888f9253.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-e1e18f87.js';
|
|
16
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-c6d2831b.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 { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
23
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
24
|
+
import './AD.js';
|
|
25
|
+
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
1
26
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
27
|
+
import './es6.string.iterator-bc33758b.js';
|
|
28
|
+
import './_to-object-b50e61c3.js';
|
|
29
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
30
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
31
|
+
import './_object-pie-133f504a.js';
|
|
32
|
+
import './_object-sap-f353c2a9.js';
|
|
33
|
+
import './define-property-fe54dc9f.js';
|
|
34
|
+
import './typeof-a286cf0c.js';
|
|
35
|
+
import './web.dom.iterable-4109ff68.js';
|
|
36
|
+
import './_is-array-3e99e06e.js';
|
|
4
37
|
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-fb9b6e8f.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
|
-
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-a9e53f80.js';
|
|
18
38
|
import 'prop-types';
|
|
19
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
20
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
21
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
22
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
|
-
import { withRouter } from 'next/router';
|
|
25
|
-
import './isSymbol-1981418f.js';
|
|
26
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
27
|
-
import './toNumber-2f7a84cd.js';
|
|
28
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
29
39
|
import 'react-dom';
|
|
30
|
-
import
|
|
31
|
-
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
32
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
33
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
-
import './slicedToArray-641f241f.js';
|
|
36
|
-
import './stringify-4330ccdc.js';
|
|
37
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
40
|
+
import './slicedToArray-be2f7a22.js';
|
|
40
41
|
import './AdSlot.js';
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import './eq-
|
|
47
|
-
import './
|
|
48
|
-
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
42
|
+
import './Beam.js';
|
|
43
|
+
import './stringify-59c8f690.js';
|
|
44
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
45
|
+
import './Segment.js';
|
|
46
|
+
import './isSymbol-a7e9aafe.js';
|
|
47
|
+
import './eq-bdcbf886.js';
|
|
48
|
+
import './toNumber-5aeba6e7.js';
|
|
49
49
|
|
|
50
50
|
var GridContent = function (_React$Component) {
|
|
51
51
|
_inherits(GridContent, _React$Component);
|
|
@@ -164,9 +164,9 @@ var GridContent = function (_React$Component) {
|
|
|
164
164
|
}
|
|
165
165
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
166
166
|
var _this$props2 = _this.props,
|
|
167
|
-
seoPaginate = _this$props2.seoPaginate
|
|
168
|
-
|
|
169
|
-
router = _this$props2.router;
|
|
167
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
168
|
+
_this$props2.pageview;
|
|
169
|
+
var router = _this$props2.router;
|
|
170
170
|
var currentPage = _this.state.currentPage;
|
|
171
171
|
|
|
172
172
|
if (seoPaginate) {
|
|
@@ -231,7 +231,7 @@ var GridContent = function (_React$Component) {
|
|
|
231
231
|
var rightItems = _this.props.rightItems;
|
|
232
232
|
|
|
233
233
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
234
|
-
return
|
|
234
|
+
return React.createElement(
|
|
235
235
|
'div',
|
|
236
236
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
237
237
|
rightItems[i].component
|
|
@@ -239,15 +239,15 @@ var GridContent = function (_React$Component) {
|
|
|
239
239
|
}, _this.renderManualPagination = function () {
|
|
240
240
|
var currentPage = _this.state.currentPage;
|
|
241
241
|
|
|
242
|
-
return
|
|
242
|
+
return React.createElement(
|
|
243
243
|
'div',
|
|
244
244
|
{ className: 'd-flex justify-content-between' },
|
|
245
|
-
currentPage && currentPage > 1 &&
|
|
245
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
246
246
|
'a',
|
|
247
247
|
{ href: '?page=' + (currentPage - 1) },
|
|
248
248
|
'<< Previous'
|
|
249
249
|
),
|
|
250
|
-
|
|
250
|
+
React.createElement(
|
|
251
251
|
'a',
|
|
252
252
|
{ href: '?page=' + (currentPage + 1) },
|
|
253
253
|
'Next >>'
|
|
@@ -266,62 +266,62 @@ var GridContent = function (_React$Component) {
|
|
|
266
266
|
var numberOfItemsBeforeAd = 6;
|
|
267
267
|
var numberOfItemsBeforeVideo = 3;
|
|
268
268
|
if (variant === 'stack') {
|
|
269
|
-
return
|
|
270
|
-
Row
|
|
269
|
+
return React.createElement(
|
|
270
|
+
Row,
|
|
271
271
|
null,
|
|
272
272
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
273
273
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
274
|
-
return
|
|
275
|
-
Col
|
|
274
|
+
return React.createElement(
|
|
275
|
+
Col,
|
|
276
276
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
277
|
-
|
|
278
|
-
Card
|
|
277
|
+
React.createElement(
|
|
278
|
+
Card,
|
|
279
279
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
280
|
-
|
|
281
|
-
Row
|
|
280
|
+
React.createElement(
|
|
281
|
+
Row,
|
|
282
282
|
{ style: { flexDirection: 'row' } },
|
|
283
|
-
|
|
284
|
-
Col
|
|
283
|
+
React.createElement(
|
|
284
|
+
Col,
|
|
285
285
|
{ md: 12, lg: 4 },
|
|
286
|
-
|
|
286
|
+
React.createElement(
|
|
287
287
|
'a',
|
|
288
288
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
289
|
-
|
|
289
|
+
React.createElement(
|
|
290
290
|
LazyLoad,
|
|
291
291
|
{ height: _this2.props.imageHeight },
|
|
292
|
-
|
|
292
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
293
293
|
)
|
|
294
294
|
)
|
|
295
295
|
),
|
|
296
|
-
|
|
297
|
-
Col
|
|
296
|
+
React.createElement(
|
|
297
|
+
Col,
|
|
298
298
|
null,
|
|
299
|
-
|
|
300
|
-
Card
|
|
299
|
+
React.createElement(
|
|
300
|
+
Card.Body,
|
|
301
301
|
{ style: { padding: '20px' } },
|
|
302
|
-
|
|
303
|
-
Card
|
|
302
|
+
React.createElement(
|
|
303
|
+
Card.Title,
|
|
304
304
|
null,
|
|
305
|
-
|
|
305
|
+
React.createElement(
|
|
306
306
|
'a',
|
|
307
307
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
308
308
|
row.title
|
|
309
309
|
)
|
|
310
310
|
),
|
|
311
|
-
_this2.props.showPublished && row.published &&
|
|
312
|
-
Card
|
|
311
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
312
|
+
Card.Subtitle,
|
|
313
313
|
{ style: { marginTop: 0 } },
|
|
314
314
|
moment(row.published).format('MMMM DD, YYYY')
|
|
315
315
|
),
|
|
316
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
316
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
317
317
|
LazyLoad,
|
|
318
318
|
{ height: 50 },
|
|
319
|
-
|
|
319
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
320
320
|
),
|
|
321
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
321
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
322
322
|
LazyLoad,
|
|
323
323
|
{ height: 50 },
|
|
324
|
-
|
|
324
|
+
React.createElement(
|
|
325
325
|
'p',
|
|
326
326
|
{
|
|
327
327
|
className: 'article-category',
|
|
@@ -336,8 +336,8 @@ var GridContent = function (_React$Component) {
|
|
|
336
336
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
337
337
|
)
|
|
338
338
|
),
|
|
339
|
-
|
|
340
|
-
Card
|
|
339
|
+
React.createElement(
|
|
340
|
+
Card.Text,
|
|
341
341
|
null,
|
|
342
342
|
clean_html_1(row.summary)
|
|
343
343
|
)
|
|
@@ -346,13 +346,13 @@ var GridContent = function (_React$Component) {
|
|
|
346
346
|
)
|
|
347
347
|
)
|
|
348
348
|
);
|
|
349
|
-
}) :
|
|
349
|
+
}) : React.createElement(
|
|
350
350
|
'div',
|
|
351
351
|
null,
|
|
352
|
-
|
|
352
|
+
React.createElement(
|
|
353
353
|
'h5',
|
|
354
354
|
null,
|
|
355
|
-
|
|
355
|
+
React.createElement(
|
|
356
356
|
'em',
|
|
357
357
|
null,
|
|
358
358
|
'New content coming soon, please check back later.'
|
|
@@ -463,7 +463,7 @@ var GridContent = function (_React$Component) {
|
|
|
463
463
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
464
464
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
465
465
|
var featureCount = 0;
|
|
466
|
-
return
|
|
466
|
+
return React.createElement(
|
|
467
467
|
'div',
|
|
468
468
|
{ className: 'grid-container' },
|
|
469
469
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -473,59 +473,59 @@ var GridContent = function (_React$Component) {
|
|
|
473
473
|
if (row._type === 'feature') {
|
|
474
474
|
featureCount++;
|
|
475
475
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
476
|
-
return
|
|
477
|
-
|
|
476
|
+
return React.createElement(
|
|
477
|
+
React.Fragment,
|
|
478
478
|
{ key: itemCounter },
|
|
479
|
-
|
|
479
|
+
React.createElement(
|
|
480
480
|
VisibilitySensor,
|
|
481
481
|
{
|
|
482
482
|
partialVisibility: true,
|
|
483
483
|
onChange: function onChange(isVisible) {
|
|
484
484
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
485
485
|
} },
|
|
486
|
-
|
|
486
|
+
React.createElement(
|
|
487
487
|
'div',
|
|
488
488
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
489
|
-
|
|
490
|
-
Card
|
|
489
|
+
React.createElement(
|
|
490
|
+
Card,
|
|
491
491
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
492
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
492
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
493
493
|
'a',
|
|
494
494
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
495
|
-
|
|
495
|
+
React.createElement(
|
|
496
496
|
LazyLoad,
|
|
497
497
|
{ height: _this2.props.imageHeight },
|
|
498
|
-
|
|
498
|
+
React.createElement(Card.Img, {
|
|
499
499
|
variant: 'top',
|
|
500
500
|
src: _this2.renderCardImage(row, page),
|
|
501
501
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
502
502
|
})
|
|
503
503
|
)
|
|
504
504
|
),
|
|
505
|
-
|
|
506
|
-
Card
|
|
505
|
+
React.createElement(
|
|
506
|
+
Card.Body,
|
|
507
507
|
null,
|
|
508
|
-
|
|
508
|
+
React.createElement(
|
|
509
509
|
'a',
|
|
510
510
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
511
|
-
|
|
512
|
-
Card
|
|
511
|
+
React.createElement(
|
|
512
|
+
Card.Title,
|
|
513
513
|
null,
|
|
514
514
|
row.title
|
|
515
515
|
)
|
|
516
516
|
),
|
|
517
|
-
_this2.props.showPublished && row.published &&
|
|
518
|
-
Card
|
|
517
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
518
|
+
Card.Subtitle,
|
|
519
519
|
{ style: { marginTop: 0 } },
|
|
520
520
|
moment(row.published).format('MMMM DD, YYYY')
|
|
521
521
|
),
|
|
522
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
522
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
523
523
|
LazyLoad,
|
|
524
524
|
{ height: 50 },
|
|
525
|
-
|
|
525
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
526
526
|
),
|
|
527
|
-
|
|
528
|
-
Card
|
|
527
|
+
React.createElement(
|
|
528
|
+
Card.Text,
|
|
529
529
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
530
530
|
clean_html_1(row.summary)
|
|
531
531
|
)
|
|
@@ -533,63 +533,63 @@ var GridContent = function (_React$Component) {
|
|
|
533
533
|
)
|
|
534
534
|
)
|
|
535
535
|
),
|
|
536
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
537
|
-
|
|
536
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
537
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
538
538
|
);
|
|
539
539
|
} else {
|
|
540
|
-
return
|
|
541
|
-
|
|
540
|
+
return React.createElement(
|
|
541
|
+
React.Fragment,
|
|
542
542
|
{ key: itemCounter },
|
|
543
|
-
|
|
543
|
+
React.createElement(
|
|
544
544
|
VisibilitySensor,
|
|
545
545
|
{
|
|
546
546
|
partialVisibility: true,
|
|
547
547
|
onChange: function onChange(isVisible) {
|
|
548
548
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
549
549
|
} },
|
|
550
|
-
|
|
550
|
+
React.createElement(
|
|
551
551
|
'div',
|
|
552
552
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
553
|
-
|
|
554
|
-
Card
|
|
553
|
+
React.createElement(
|
|
554
|
+
Card,
|
|
555
555
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
556
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
556
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
557
557
|
'a',
|
|
558
558
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
559
|
-
|
|
559
|
+
React.createElement(
|
|
560
560
|
LazyLoad,
|
|
561
561
|
{ height: _this2.props.imageHeight },
|
|
562
|
-
|
|
562
|
+
React.createElement(Card.Img, {
|
|
563
563
|
variant: 'top',
|
|
564
564
|
src: _this2.renderCardImage(row, page),
|
|
565
565
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
566
566
|
})
|
|
567
567
|
)
|
|
568
568
|
),
|
|
569
|
-
|
|
570
|
-
Card
|
|
569
|
+
React.createElement(
|
|
570
|
+
Card.Body,
|
|
571
571
|
null,
|
|
572
|
-
|
|
572
|
+
React.createElement(
|
|
573
573
|
'a',
|
|
574
574
|
{ href: row.url.current },
|
|
575
|
-
|
|
576
|
-
Card
|
|
575
|
+
React.createElement(
|
|
576
|
+
Card.Title,
|
|
577
577
|
null,
|
|
578
578
|
row.title
|
|
579
579
|
)
|
|
580
580
|
),
|
|
581
|
-
_this2.props.showPublished && row.published &&
|
|
582
|
-
Card
|
|
581
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
582
|
+
Card.Subtitle,
|
|
583
583
|
{ style: { marginTop: 0 } },
|
|
584
584
|
moment(row.published).format('MMMM DD, YYYY')
|
|
585
585
|
),
|
|
586
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
586
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
587
587
|
LazyLoad,
|
|
588
588
|
{ height: 50 },
|
|
589
|
-
|
|
589
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
590
590
|
),
|
|
591
|
-
|
|
592
|
-
Card
|
|
591
|
+
React.createElement(
|
|
592
|
+
Card.Text,
|
|
593
593
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
594
594
|
clean_html_1(row.summary)
|
|
595
595
|
)
|
|
@@ -597,71 +597,71 @@ var GridContent = function (_React$Component) {
|
|
|
597
597
|
)
|
|
598
598
|
)
|
|
599
599
|
),
|
|
600
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
601
|
-
|
|
600
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
601
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
602
602
|
);
|
|
603
603
|
}
|
|
604
604
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
605
|
-
return
|
|
605
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
606
606
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
607
|
-
return
|
|
607
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
608
608
|
}
|
|
609
609
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
610
|
-
return
|
|
611
|
-
|
|
610
|
+
return React.createElement(
|
|
611
|
+
React.Fragment,
|
|
612
612
|
{ key: itemCounter },
|
|
613
|
-
|
|
613
|
+
React.createElement(
|
|
614
614
|
VisibilitySensor,
|
|
615
615
|
{
|
|
616
616
|
onChange: function onChange(isVisible) {
|
|
617
617
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
618
618
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
619
619
|
} },
|
|
620
|
-
|
|
620
|
+
React.createElement(
|
|
621
621
|
'div',
|
|
622
622
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
623
|
-
|
|
624
|
-
Card
|
|
623
|
+
React.createElement(
|
|
624
|
+
Card,
|
|
625
625
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
626
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
626
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
627
627
|
'a',
|
|
628
628
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
629
|
-
|
|
629
|
+
React.createElement(
|
|
630
630
|
LazyLoad,
|
|
631
631
|
{ height: _this2.props.imageHeight },
|
|
632
|
-
|
|
632
|
+
React.createElement(Card.Img, {
|
|
633
633
|
variant: 'top',
|
|
634
634
|
src: _this2.renderCardImage(row, page),
|
|
635
635
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
636
636
|
})
|
|
637
637
|
)
|
|
638
638
|
),
|
|
639
|
-
|
|
640
|
-
Card
|
|
639
|
+
React.createElement(
|
|
640
|
+
Card.Body,
|
|
641
641
|
null,
|
|
642
|
-
|
|
642
|
+
React.createElement(
|
|
643
643
|
'a',
|
|
644
644
|
{ href: linkHref },
|
|
645
|
-
|
|
646
|
-
Card
|
|
645
|
+
React.createElement(
|
|
646
|
+
Card.Title,
|
|
647
647
|
null,
|
|
648
648
|
row.title
|
|
649
649
|
)
|
|
650
650
|
),
|
|
651
|
-
_this2.props.showPublished && row.published &&
|
|
652
|
-
Card
|
|
651
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
652
|
+
Card.Subtitle,
|
|
653
653
|
{ style: { marginTop: 0 } },
|
|
654
654
|
moment(row.published).format('MMMM DD, YYYY')
|
|
655
655
|
),
|
|
656
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
656
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
657
657
|
LazyLoad,
|
|
658
658
|
{ height: 50 },
|
|
659
|
-
|
|
659
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
660
660
|
),
|
|
661
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
661
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
662
662
|
LazyLoad,
|
|
663
663
|
{ height: 50 },
|
|
664
|
-
|
|
664
|
+
React.createElement(
|
|
665
665
|
'p',
|
|
666
666
|
{
|
|
667
667
|
className: 'article-category',
|
|
@@ -676,8 +676,8 @@ var GridContent = function (_React$Component) {
|
|
|
676
676
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
677
677
|
)
|
|
678
678
|
),
|
|
679
|
-
|
|
680
|
-
Card
|
|
679
|
+
React.createElement(
|
|
680
|
+
Card.Text,
|
|
681
681
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
682
682
|
clean_html_1(row.summary)
|
|
683
683
|
)
|
|
@@ -685,17 +685,17 @@ var GridContent = function (_React$Component) {
|
|
|
685
685
|
)
|
|
686
686
|
)
|
|
687
687
|
),
|
|
688
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
689
|
-
|
|
688
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
689
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
690
690
|
);
|
|
691
691
|
} else return null;
|
|
692
|
-
}) :
|
|
692
|
+
}) : React.createElement(
|
|
693
693
|
'div',
|
|
694
694
|
null,
|
|
695
|
-
|
|
695
|
+
React.createElement(
|
|
696
696
|
'h5',
|
|
697
697
|
null,
|
|
698
|
-
|
|
698
|
+
React.createElement(
|
|
699
699
|
'em',
|
|
700
700
|
null,
|
|
701
701
|
'New content coming soon, please check back later.'
|
|
@@ -720,29 +720,29 @@ var GridContent = function (_React$Component) {
|
|
|
720
720
|
brandInsight = _props.brandInsight;
|
|
721
721
|
|
|
722
722
|
|
|
723
|
-
return
|
|
723
|
+
return React.createElement(
|
|
724
724
|
'div',
|
|
725
725
|
{ className: 'contentDeck' },
|
|
726
|
-
autoScroll ?
|
|
726
|
+
autoScroll ? React.createElement(
|
|
727
727
|
InfiniteScroll,
|
|
728
728
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
729
|
-
|
|
730
|
-
Container
|
|
729
|
+
React.createElement(
|
|
730
|
+
Container,
|
|
731
731
|
null,
|
|
732
732
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
733
733
|
)
|
|
734
|
-
) :
|
|
735
|
-
|
|
734
|
+
) : React.createElement(
|
|
735
|
+
React.Fragment,
|
|
736
736
|
null,
|
|
737
|
-
|
|
738
|
-
Container
|
|
737
|
+
React.createElement(
|
|
738
|
+
Container,
|
|
739
739
|
null,
|
|
740
740
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
741
741
|
),
|
|
742
|
-
|
|
742
|
+
React.createElement(
|
|
743
743
|
'div',
|
|
744
744
|
{ style: { padding: '0px 10px' } },
|
|
745
|
-
this.state.scrolling ?
|
|
745
|
+
this.state.scrolling ? React.createElement(
|
|
746
746
|
'button',
|
|
747
747
|
{
|
|
748
748
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -750,17 +750,17 @@ var GridContent = function (_React$Component) {
|
|
|
750
750
|
_this3.loadMore();
|
|
751
751
|
} },
|
|
752
752
|
'Load More'
|
|
753
|
-
) :
|
|
753
|
+
) : React.createElement(
|
|
754
754
|
'p',
|
|
755
755
|
{ style: { textAlign: 'center' } },
|
|
756
|
-
|
|
756
|
+
React.createElement(
|
|
757
757
|
'b',
|
|
758
758
|
null,
|
|
759
759
|
'End of data'
|
|
760
760
|
)
|
|
761
761
|
)
|
|
762
762
|
),
|
|
763
|
-
|
|
763
|
+
React.createElement(
|
|
764
764
|
'noscript',
|
|
765
765
|
null,
|
|
766
766
|
this.renderManualPagination()
|
|
@@ -771,8 +771,8 @@ var GridContent = function (_React$Component) {
|
|
|
771
771
|
}]);
|
|
772
772
|
|
|
773
773
|
return GridContent;
|
|
774
|
-
}(
|
|
774
|
+
}(React.Component);
|
|
775
775
|
|
|
776
|
-
var GridContent$1 =
|
|
776
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
777
777
|
|
|
778
778
|
export default GridContent$1;
|