@mjhls/mjh-framework 1.0.828-beta.1 → 1.0.828
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 +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-8d621d3c.js → ADInfeed-8b336c67.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-0e26bccb.js → ADlgInfeed-aedd5e18.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +20 -911
- package/dist/cjs/AlgoliaSearch.js +1087 -1068
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +59 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +686 -662
- package/dist/cjs/AuthWrapper.js +311 -269
- 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 +62 -59
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -105
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +189 -185
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +145 -140
- 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 +72 -71
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +95 -94
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1116 -1125
- 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/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +108 -107
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -42
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +310 -310
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +55 -54
- 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-85eec772.js → SeriesSlider-d54fa925.js} +40 -39
- 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-97dd19a5.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +55 -54
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +78 -74
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +266 -263
- package/dist/cjs/YahooHero.js +42 -41
- 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-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +425 -12
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +44 -44
- package/dist/cjs/{getTargeting-021d644c.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-b260fa99.js → index-5cba8ed7.js} +983 -960
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- 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-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 +167 -163
- package/dist/cjs/{inherits-9953db94.js → inherits-c2065b95.js} +22 -22
- 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/{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-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 +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.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-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-b566ce41.js → ADInfeed-28b1e946.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-5eb7281d.js → ADlgInfeed-0b474b02.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +17 -909
- package/dist/esm/AlgoliaSearch.js +736 -718
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +55 -55
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +665 -645
- package/dist/esm/AuthWrapper.js +308 -267
- 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 +56 -56
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +100 -100
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +171 -171
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +116 -116
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +68 -68
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +91 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +839 -851
- 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/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -60
- 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 +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +122 -122
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +48 -48
- 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-afab5c1b.js → SeriesSlider-8f2aca58.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-db5ba548.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +70 -70
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +246 -247
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- 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-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +425 -12
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +44 -44
- package/dist/esm/{getTargeting-82e86707.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-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-59f14f72.js → index-4d43928d.js} +939 -923
- 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-db3bb315.js +207 -0
- 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 +137 -136
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- 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/{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-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/{ustream-api-9a50644d.js → ustream-api-33a866b6.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-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -110
- 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,53 +1,53 @@
|
|
|
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-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-28b1e946.js';
|
|
16
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-0b474b02.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-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-6f2fcc99.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-cf8dde54.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
38
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
39
|
import 'prop-types';
|
|
20
|
-
import Container$1 from 'react-bootstrap/Container';
|
|
21
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
22
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
23
|
-
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
25
|
-
import { withRouter } from 'next/router';
|
|
26
|
-
import './isSymbol-1981418f.js';
|
|
27
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
|
-
import './toNumber-2f7a84cd.js';
|
|
29
|
-
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
30
40
|
import 'react-dom';
|
|
31
|
-
import
|
|
32
|
-
import './index-73819142.js';
|
|
33
|
-
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
35
|
-
import { m as main_36 } from './main-e4a934b2.js';
|
|
36
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
-
import './slicedToArray-641f241f.js';
|
|
38
|
-
import './stringify-4330ccdc.js';
|
|
39
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
40
|
-
import './Segment.js';
|
|
41
|
-
import './Beam.js';
|
|
41
|
+
import './slicedToArray-be2f7a22.js';
|
|
42
42
|
import './AdSlot.js';
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import './eq-
|
|
49
|
-
import './
|
|
50
|
-
import
|
|
43
|
+
import './Beam.js';
|
|
44
|
+
import './stringify-59c8f690.js';
|
|
45
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
46
|
+
import './Segment.js';
|
|
47
|
+
import './isSymbol-a7e9aafe.js';
|
|
48
|
+
import './eq-bdcbf886.js';
|
|
49
|
+
import './toNumber-5aeba6e7.js';
|
|
50
|
+
import './index-0dbff1d1.js';
|
|
51
51
|
|
|
52
52
|
var GridContent = function (_React$Component) {
|
|
53
53
|
_inherits(GridContent, _React$Component);
|
|
@@ -165,9 +165,9 @@ var GridContent = function (_React$Component) {
|
|
|
165
165
|
}
|
|
166
166
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
167
167
|
var _this$props2 = _this.props,
|
|
168
|
-
seoPaginate = _this$props2.seoPaginate
|
|
169
|
-
|
|
170
|
-
router = _this$props2.router;
|
|
168
|
+
seoPaginate = _this$props2.seoPaginate;
|
|
169
|
+
_this$props2.pageview;
|
|
170
|
+
var router = _this$props2.router;
|
|
171
171
|
var currentPage = _this.state.currentPage;
|
|
172
172
|
|
|
173
173
|
if (seoPaginate) {
|
|
@@ -232,7 +232,7 @@ var GridContent = function (_React$Component) {
|
|
|
232
232
|
var rightItems = _this.props.rightItems;
|
|
233
233
|
|
|
234
234
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
235
|
-
return
|
|
235
|
+
return React.createElement(
|
|
236
236
|
'div',
|
|
237
237
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
238
238
|
rightItems[i].component
|
|
@@ -240,15 +240,15 @@ var GridContent = function (_React$Component) {
|
|
|
240
240
|
}, _this.renderManualPagination = function () {
|
|
241
241
|
var currentPage = _this.state.currentPage;
|
|
242
242
|
|
|
243
|
-
return
|
|
243
|
+
return React.createElement(
|
|
244
244
|
'div',
|
|
245
245
|
{ className: 'd-flex justify-content-between' },
|
|
246
|
-
currentPage && currentPage > 1 &&
|
|
246
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
247
247
|
'a',
|
|
248
248
|
{ href: '?page=' + (currentPage - 1) },
|
|
249
249
|
'<< Previous'
|
|
250
250
|
),
|
|
251
|
-
|
|
251
|
+
React.createElement(
|
|
252
252
|
'a',
|
|
253
253
|
{ href: '?page=' + (currentPage + 1) },
|
|
254
254
|
'Next >>'
|
|
@@ -267,62 +267,62 @@ var GridContent = function (_React$Component) {
|
|
|
267
267
|
var numberOfItemsBeforeAd = 6;
|
|
268
268
|
var numberOfItemsBeforeVideo = 3;
|
|
269
269
|
if (variant === 'stack') {
|
|
270
|
-
return
|
|
271
|
-
Row
|
|
270
|
+
return React.createElement(
|
|
271
|
+
Row,
|
|
272
272
|
null,
|
|
273
273
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
274
274
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
275
|
-
return
|
|
276
|
-
Col
|
|
275
|
+
return React.createElement(
|
|
276
|
+
Col,
|
|
277
277
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
278
|
-
|
|
279
|
-
Card
|
|
278
|
+
React.createElement(
|
|
279
|
+
Card,
|
|
280
280
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
281
|
-
|
|
282
|
-
Row
|
|
281
|
+
React.createElement(
|
|
282
|
+
Row,
|
|
283
283
|
{ style: { flexDirection: 'row' } },
|
|
284
|
-
|
|
285
|
-
Col
|
|
284
|
+
React.createElement(
|
|
285
|
+
Col,
|
|
286
286
|
{ md: 12, lg: 4 },
|
|
287
|
-
|
|
287
|
+
React.createElement(
|
|
288
288
|
'a',
|
|
289
289
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
290
|
-
|
|
290
|
+
React.createElement(
|
|
291
291
|
LazyLoad,
|
|
292
292
|
{ height: _this2.props.imageHeight },
|
|
293
|
-
|
|
293
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
294
294
|
)
|
|
295
295
|
)
|
|
296
296
|
),
|
|
297
|
-
|
|
298
|
-
Col
|
|
297
|
+
React.createElement(
|
|
298
|
+
Col,
|
|
299
299
|
null,
|
|
300
|
-
|
|
301
|
-
Card
|
|
300
|
+
React.createElement(
|
|
301
|
+
Card.Body,
|
|
302
302
|
{ style: { padding: '20px' } },
|
|
303
|
-
|
|
304
|
-
Card
|
|
303
|
+
React.createElement(
|
|
304
|
+
Card.Title,
|
|
305
305
|
null,
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
'a',
|
|
308
308
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
309
309
|
row.title
|
|
310
310
|
)
|
|
311
311
|
),
|
|
312
|
-
_this2.props.showPublished && row.published &&
|
|
313
|
-
Card
|
|
312
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
313
|
+
Card.Subtitle,
|
|
314
314
|
{ style: { marginTop: 0 } },
|
|
315
315
|
moment(row.published).format('MMMM DD, YYYY')
|
|
316
316
|
),
|
|
317
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
317
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
318
318
|
LazyLoad,
|
|
319
319
|
{ height: 50 },
|
|
320
|
-
|
|
320
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
321
321
|
),
|
|
322
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
322
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
323
323
|
LazyLoad,
|
|
324
324
|
{ height: 50 },
|
|
325
|
-
|
|
325
|
+
React.createElement(
|
|
326
326
|
'p',
|
|
327
327
|
{
|
|
328
328
|
className: 'article-category',
|
|
@@ -337,8 +337,8 @@ var GridContent = function (_React$Component) {
|
|
|
337
337
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
338
338
|
)
|
|
339
339
|
),
|
|
340
|
-
|
|
341
|
-
Card
|
|
340
|
+
React.createElement(
|
|
341
|
+
Card.Text,
|
|
342
342
|
null,
|
|
343
343
|
clean_html_1(row.summary)
|
|
344
344
|
)
|
|
@@ -347,13 +347,13 @@ var GridContent = function (_React$Component) {
|
|
|
347
347
|
)
|
|
348
348
|
)
|
|
349
349
|
);
|
|
350
|
-
}) :
|
|
350
|
+
}) : React.createElement(
|
|
351
351
|
'div',
|
|
352
352
|
null,
|
|
353
|
-
|
|
353
|
+
React.createElement(
|
|
354
354
|
'h5',
|
|
355
355
|
null,
|
|
356
|
-
|
|
356
|
+
React.createElement(
|
|
357
357
|
'em',
|
|
358
358
|
null,
|
|
359
359
|
'New content coming soon, please check back later.'
|
|
@@ -464,7 +464,7 @@ var GridContent = function (_React$Component) {
|
|
|
464
464
|
var itemsPerPage = this.props.params && this.props.params.itemsPerPage ? this.props.params.itemsPerPage : 10;
|
|
465
465
|
var heroContent = this.props.heroContent ? this.props.heroContent : 0;
|
|
466
466
|
var featureCount = 0;
|
|
467
|
-
return
|
|
467
|
+
return React.createElement(
|
|
468
468
|
'div',
|
|
469
469
|
{ className: 'grid-container' },
|
|
470
470
|
posts && posts.length > 0 ? posts.map(function (row, index) {
|
|
@@ -474,59 +474,59 @@ var GridContent = function (_React$Component) {
|
|
|
474
474
|
if (row._type === 'feature') {
|
|
475
475
|
featureCount++;
|
|
476
476
|
if (row.blank || _this2.checkExternalUrl(row.url.current)) {
|
|
477
|
-
return
|
|
478
|
-
|
|
477
|
+
return React.createElement(
|
|
478
|
+
React.Fragment,
|
|
479
479
|
{ key: itemCounter },
|
|
480
|
-
|
|
480
|
+
React.createElement(
|
|
481
481
|
VisibilitySensor,
|
|
482
482
|
{
|
|
483
483
|
partialVisibility: true,
|
|
484
484
|
onChange: function onChange(isVisible) {
|
|
485
485
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
486
486
|
} },
|
|
487
|
-
|
|
487
|
+
React.createElement(
|
|
488
488
|
'div',
|
|
489
489
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
490
|
-
|
|
491
|
-
Card
|
|
490
|
+
React.createElement(
|
|
491
|
+
Card,
|
|
492
492
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
493
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
493
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
494
494
|
'a',
|
|
495
495
|
{ rel: 'noopener', href: row.url.current, target: '_blank', className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
496
|
-
|
|
496
|
+
React.createElement(
|
|
497
497
|
LazyLoad,
|
|
498
498
|
{ height: _this2.props.imageHeight },
|
|
499
|
-
|
|
499
|
+
React.createElement(Card.Img, {
|
|
500
500
|
variant: 'top',
|
|
501
501
|
src: _this2.renderCardImage(row, page),
|
|
502
502
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
503
503
|
})
|
|
504
504
|
)
|
|
505
505
|
),
|
|
506
|
-
|
|
507
|
-
Card
|
|
506
|
+
React.createElement(
|
|
507
|
+
Card.Body,
|
|
508
508
|
null,
|
|
509
|
-
|
|
509
|
+
React.createElement(
|
|
510
510
|
'a',
|
|
511
511
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
512
|
-
|
|
513
|
-
Card
|
|
512
|
+
React.createElement(
|
|
513
|
+
Card.Title,
|
|
514
514
|
null,
|
|
515
515
|
row.title
|
|
516
516
|
)
|
|
517
517
|
),
|
|
518
|
-
_this2.props.showPublished && row.published &&
|
|
519
|
-
Card
|
|
518
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
519
|
+
Card.Subtitle,
|
|
520
520
|
{ style: { marginTop: 0 } },
|
|
521
521
|
moment(row.published).format('MMMM DD, YYYY')
|
|
522
522
|
),
|
|
523
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
523
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
524
524
|
LazyLoad,
|
|
525
525
|
{ height: 50 },
|
|
526
|
-
|
|
526
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
527
527
|
),
|
|
528
|
-
|
|
529
|
-
Card
|
|
528
|
+
React.createElement(
|
|
529
|
+
Card.Text,
|
|
530
530
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
531
531
|
clean_html_1(row.summary)
|
|
532
532
|
)
|
|
@@ -534,63 +534,63 @@ var GridContent = function (_React$Component) {
|
|
|
534
534
|
)
|
|
535
535
|
)
|
|
536
536
|
),
|
|
537
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
538
|
-
|
|
537
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
538
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
539
539
|
);
|
|
540
540
|
} else {
|
|
541
|
-
return
|
|
542
|
-
|
|
541
|
+
return React.createElement(
|
|
542
|
+
React.Fragment,
|
|
543
543
|
{ key: itemCounter },
|
|
544
|
-
|
|
544
|
+
React.createElement(
|
|
545
545
|
VisibilitySensor,
|
|
546
546
|
{
|
|
547
547
|
partialVisibility: true,
|
|
548
548
|
onChange: function onChange(isVisible) {
|
|
549
549
|
isVisible && _this2.changePageNumber(1, itemsPerPage, index);
|
|
550
550
|
} },
|
|
551
|
-
|
|
551
|
+
React.createElement(
|
|
552
552
|
'div',
|
|
553
553
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
554
|
-
|
|
555
|
-
Card
|
|
554
|
+
React.createElement(
|
|
555
|
+
Card,
|
|
556
556
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
557
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
557
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
558
558
|
'a',
|
|
559
559
|
{ href: row.url.current, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
560
|
-
|
|
560
|
+
React.createElement(
|
|
561
561
|
LazyLoad,
|
|
562
562
|
{ height: _this2.props.imageHeight },
|
|
563
|
-
|
|
563
|
+
React.createElement(Card.Img, {
|
|
564
564
|
variant: 'top',
|
|
565
565
|
src: _this2.renderCardImage(row, page),
|
|
566
566
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
567
567
|
})
|
|
568
568
|
)
|
|
569
569
|
),
|
|
570
|
-
|
|
571
|
-
Card
|
|
570
|
+
React.createElement(
|
|
571
|
+
Card.Body,
|
|
572
572
|
null,
|
|
573
|
-
|
|
573
|
+
React.createElement(
|
|
574
574
|
'a',
|
|
575
575
|
{ href: row.url.current },
|
|
576
|
-
|
|
577
|
-
Card
|
|
576
|
+
React.createElement(
|
|
577
|
+
Card.Title,
|
|
578
578
|
null,
|
|
579
579
|
row.title
|
|
580
580
|
)
|
|
581
581
|
),
|
|
582
|
-
_this2.props.showPublished && row.published &&
|
|
583
|
-
Card
|
|
582
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
583
|
+
Card.Subtitle,
|
|
584
584
|
{ style: { marginTop: 0 } },
|
|
585
585
|
moment(row.published).format('MMMM DD, YYYY')
|
|
586
586
|
),
|
|
587
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
587
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
588
588
|
LazyLoad,
|
|
589
589
|
{ height: 50 },
|
|
590
|
-
|
|
590
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
591
591
|
),
|
|
592
|
-
|
|
593
|
-
Card
|
|
592
|
+
React.createElement(
|
|
593
|
+
Card.Text,
|
|
594
594
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
595
595
|
clean_html_1(row.summary)
|
|
596
596
|
)
|
|
@@ -598,71 +598,71 @@ var GridContent = function (_React$Component) {
|
|
|
598
598
|
)
|
|
599
599
|
)
|
|
600
600
|
),
|
|
601
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
602
|
-
|
|
601
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
602
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
603
603
|
);
|
|
604
604
|
}
|
|
605
605
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
606
|
-
return
|
|
606
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
607
607
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
608
|
-
return
|
|
608
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
609
609
|
}
|
|
610
610
|
if (index + 1 > heroContent + featureCount && (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type))) {
|
|
611
|
-
return
|
|
612
|
-
|
|
611
|
+
return React.createElement(
|
|
612
|
+
React.Fragment,
|
|
613
613
|
{ key: itemCounter },
|
|
614
|
-
|
|
614
|
+
React.createElement(
|
|
615
615
|
VisibilitySensor,
|
|
616
616
|
{
|
|
617
617
|
onChange: function onChange(isVisible) {
|
|
618
618
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of article only.
|
|
619
619
|
isVisible && _this2.changePageNumber(pageNumber, itemsPerPage, row.articleCount ? row.articleCount : index);
|
|
620
620
|
} },
|
|
621
|
-
|
|
621
|
+
React.createElement(
|
|
622
622
|
'div',
|
|
623
623
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
624
|
-
|
|
625
|
-
Card
|
|
624
|
+
React.createElement(
|
|
625
|
+
Card,
|
|
626
626
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
627
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
627
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
628
628
|
'a',
|
|
629
629
|
{ href: linkHref, className: index === 0 || index % 4 === 0 ? '' : 'card-image' },
|
|
630
|
-
|
|
630
|
+
React.createElement(
|
|
631
631
|
LazyLoad,
|
|
632
632
|
{ height: _this2.props.imageHeight },
|
|
633
|
-
|
|
633
|
+
React.createElement(Card.Img, {
|
|
634
634
|
variant: 'top',
|
|
635
635
|
src: _this2.renderCardImage(row, page),
|
|
636
636
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
637
637
|
})
|
|
638
638
|
)
|
|
639
639
|
),
|
|
640
|
-
|
|
641
|
-
Card
|
|
640
|
+
React.createElement(
|
|
641
|
+
Card.Body,
|
|
642
642
|
null,
|
|
643
|
-
|
|
643
|
+
React.createElement(
|
|
644
644
|
'a',
|
|
645
645
|
{ href: linkHref },
|
|
646
|
-
|
|
647
|
-
Card
|
|
646
|
+
React.createElement(
|
|
647
|
+
Card.Title,
|
|
648
648
|
null,
|
|
649
649
|
row.title
|
|
650
650
|
)
|
|
651
651
|
),
|
|
652
|
-
_this2.props.showPublished && row.published &&
|
|
653
|
-
Card
|
|
652
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
653
|
+
Card.Subtitle,
|
|
654
654
|
{ style: { marginTop: 0 } },
|
|
655
655
|
moment(row.published).format('MMMM DD, YYYY')
|
|
656
656
|
),
|
|
657
|
-
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 &&
|
|
657
|
+
_this2.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && React.createElement(
|
|
658
658
|
LazyLoad,
|
|
659
659
|
{ height: 50 },
|
|
660
|
-
|
|
660
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
661
661
|
),
|
|
662
|
-
_this2.props.showCategory && row.contentCategory &&
|
|
662
|
+
_this2.props.showCategory && row.contentCategory && React.createElement(
|
|
663
663
|
LazyLoad,
|
|
664
664
|
{ height: 50 },
|
|
665
|
-
|
|
665
|
+
React.createElement(
|
|
666
666
|
'p',
|
|
667
667
|
{
|
|
668
668
|
className: 'article-category',
|
|
@@ -677,8 +677,8 @@ var GridContent = function (_React$Component) {
|
|
|
677
677
|
getContentCategory(row.contentCategory.name, contentCategoryMapping)
|
|
678
678
|
)
|
|
679
679
|
),
|
|
680
|
-
|
|
681
|
-
Card
|
|
680
|
+
React.createElement(
|
|
681
|
+
Card.Text,
|
|
682
682
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
683
683
|
clean_html_1(row.summary)
|
|
684
684
|
)
|
|
@@ -686,17 +686,17 @@ var GridContent = function (_React$Component) {
|
|
|
686
686
|
)
|
|
687
687
|
)
|
|
688
688
|
),
|
|
689
|
-
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) &&
|
|
690
|
-
|
|
689
|
+
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
690
|
+
main_43 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
691
691
|
);
|
|
692
692
|
} else return null;
|
|
693
|
-
}) :
|
|
693
|
+
}) : React.createElement(
|
|
694
694
|
'div',
|
|
695
695
|
null,
|
|
696
|
-
|
|
696
|
+
React.createElement(
|
|
697
697
|
'h5',
|
|
698
698
|
null,
|
|
699
|
-
|
|
699
|
+
React.createElement(
|
|
700
700
|
'em',
|
|
701
701
|
null,
|
|
702
702
|
'New content coming soon, please check back later.'
|
|
@@ -721,29 +721,29 @@ var GridContent = function (_React$Component) {
|
|
|
721
721
|
brandInsight = _props.brandInsight;
|
|
722
722
|
|
|
723
723
|
|
|
724
|
-
return
|
|
724
|
+
return React.createElement(
|
|
725
725
|
'div',
|
|
726
726
|
{ className: 'contentDeck' },
|
|
727
|
-
autoScroll ?
|
|
727
|
+
autoScroll ? React.createElement(
|
|
728
728
|
InfiniteScroll,
|
|
729
729
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
730
|
-
|
|
731
|
-
Container
|
|
730
|
+
React.createElement(
|
|
731
|
+
Container,
|
|
732
732
|
null,
|
|
733
733
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
734
734
|
)
|
|
735
|
-
) :
|
|
736
|
-
|
|
735
|
+
) : React.createElement(
|
|
736
|
+
React.Fragment,
|
|
737
737
|
null,
|
|
738
|
-
|
|
739
|
-
Container
|
|
738
|
+
React.createElement(
|
|
739
|
+
Container,
|
|
740
740
|
null,
|
|
741
741
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
742
742
|
),
|
|
743
|
-
|
|
743
|
+
React.createElement(
|
|
744
744
|
'div',
|
|
745
745
|
{ style: { padding: '0px 10px' } },
|
|
746
|
-
this.state.scrolling ?
|
|
746
|
+
this.state.scrolling ? React.createElement(
|
|
747
747
|
'button',
|
|
748
748
|
{
|
|
749
749
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -751,17 +751,17 @@ var GridContent = function (_React$Component) {
|
|
|
751
751
|
_this3.loadMore();
|
|
752
752
|
} },
|
|
753
753
|
'Load More'
|
|
754
|
-
) :
|
|
754
|
+
) : React.createElement(
|
|
755
755
|
'p',
|
|
756
756
|
{ style: { textAlign: 'center' } },
|
|
757
|
-
|
|
757
|
+
React.createElement(
|
|
758
758
|
'b',
|
|
759
759
|
null,
|
|
760
760
|
'End of data'
|
|
761
761
|
)
|
|
762
762
|
)
|
|
763
763
|
),
|
|
764
|
-
|
|
764
|
+
React.createElement(
|
|
765
765
|
'noscript',
|
|
766
766
|
null,
|
|
767
767
|
this.renderManualPagination()
|
|
@@ -772,8 +772,8 @@ var GridContent = function (_React$Component) {
|
|
|
772
772
|
}]);
|
|
773
773
|
|
|
774
774
|
return GridContent;
|
|
775
|
-
}(
|
|
775
|
+
}(React.Component);
|
|
776
776
|
|
|
777
|
-
var GridContent$1 =
|
|
777
|
+
var GridContent$1 = React.memo(withRouter(GridContent));
|
|
778
778
|
|
|
779
779
|
export default GridContent$1;
|