@mjhls/mjh-framework 1.0.863 → 1.0.864-beta.0
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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +30 -30
- package/dist/cjs/AD300x250x600.js +30 -30
- package/dist/cjs/AD728x90.js +33 -33
- package/dist/cjs/ADFloatingFooter.js +32 -32
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +32 -32
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-98c71bcd.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +32 -32
- package/dist/cjs/ADSponsoredResources.js +32 -32
- package/dist/cjs/ADWebcast.js +32 -32
- package/dist/cjs/ADWelcome.js +33 -33
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-9de32585.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +912 -20
- package/dist/cjs/AlgoliaSearch.js +14023 -60
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +21 -25
- package/dist/cjs/ArticleProgramLandingPage.js +62 -62
- package/dist/cjs/ArticleSeriesLandingPage.js +43 -43
- package/dist/cjs/ArticleSeriesListing.js +62 -62
- package/dist/cjs/Auth.js +1506 -682
- package/dist/cjs/AuthWrapper.js +268 -310
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +84 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +59 -61
- package/dist/cjs/ConferenceArticleCard.js +22 -23
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +96 -99
- package/dist/cjs/DeckQueue.js +89 -92
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-26baccf1.js} +34 -34
- package/dist/cjs/EventsDeck.js +135 -142
- package/dist/cjs/ExternalResources.js +80 -80
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +234 -238
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +59 -60
- package/dist/cjs/HamMagazine.js +132 -137
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +72 -72
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +73 -78
- package/dist/cjs/IssueDeck.js +72 -77
- package/dist/cjs/IssueLanding.js +67 -67
- package/dist/cjs/LeftNav.js +39 -40
- package/dist/cjs/MasterDeck.js +72 -72
- package/dist/cjs/MediaSeriesLanding.js +1095 -1186
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +130 -138
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +72 -73
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +3919 -118
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +43 -43
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +62 -67
- package/dist/cjs/PublicationLanding.js +108 -112
- package/dist/cjs/QueueDeckExpanded.js +311 -310
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +26 -27
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +39 -38
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-8bbc989f.js} +35 -36
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-cea213aa.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +59 -64
- package/dist/cjs/TaxonomyDescription.js +55 -55
- package/dist/cjs/TemplateNormal.js +74 -74
- package/dist/cjs/ThumbnailCard.js +21 -23
- package/dist/cjs/Ustream.js +30 -31
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoProgramLandingPage.js +76 -79
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesListing.js +79 -79
- package/dist/cjs/View.js +263 -265
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +75 -82
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +21 -21
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +8 -8
- package/dist/cjs/getSerializers.js +46 -45
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-f1821260.js} +3 -3
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-3c2fa34e.js → index-763f071f.js} +1067 -1088
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-0e4427c8.js → index-98e01cb9.js} +13 -479
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/index-e2e62963.js +89 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-4d410430.js} +21 -21
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-90433435.js} +16 -7
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-e32d3e8e.js} +7 -4
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-ff47db6f.js} +13 -6
- package/dist/cjs/index.js +166 -171
- package/dist/cjs/{inherits-c2065b95.js → inherits-1f5a1c72.js} +20 -20
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +24 -23
- package/dist/esm/AD300x250x600.js +24 -23
- package/dist/esm/AD728x90.js +27 -26
- package/dist/esm/ADFloatingFooter.js +23 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -22
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-1cc9d817.js} +6 -6
- package/dist/esm/ADSkyscraper.js +23 -22
- package/dist/esm/ADSponsoredResources.js +23 -22
- package/dist/esm/ADWebcast.js +23 -22
- package/dist/esm/ADWelcome.js +20 -19
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-8c4f129e.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +909 -16
- package/dist/esm/AlgoliaSearch.js +13993 -29
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +15 -18
- package/dist/esm/ArticleProgramLandingPage.js +50 -49
- package/dist/esm/ArticleSeriesLandingPage.js +33 -32
- package/dist/esm/ArticleSeriesListing.js +35 -34
- package/dist/esm/Auth.js +1420 -592
- package/dist/esm/AuthWrapper.js +246 -287
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-34b16174.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-e9b4ddcf.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +25 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +39 -38
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +50 -49
- package/dist/esm/DeckQueue.js +49 -48
- package/dist/esm/{Dfp-be030f2a.js → Dfp-b7236041.js} +15 -14
- package/dist/esm/EventsDeck.js +50 -50
- package/dist/esm/ExternalResources.js +48 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +91 -90
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +30 -30
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -46
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +27 -27
- package/dist/esm/IssueDeck.js +37 -37
- package/dist/esm/IssueLanding.js +56 -55
- package/dist/esm/LeftNav.js +22 -21
- package/dist/esm/MasterDeck.js +37 -36
- package/dist/esm/MediaSeriesLanding.js +645 -733
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +34 -34
- package/dist/esm/NavNative.js +34 -34
- package/dist/esm/OncliveHero.js +5 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +3865 -64
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +35 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +24 -24
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +39 -38
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +7 -7
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +21 -20
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-a866bb21.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-03c3e869.js} +12 -12
- package/dist/esm/TaxonomyCard.js +25 -25
- package/dist/esm/TaxonomyDescription.js +46 -45
- package/dist/esm/TemplateNormal.js +50 -49
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +54 -53
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +39 -38
- package/dist/esm/VideoSeriesListing.js +36 -35
- package/dist/esm/View.js +91 -89
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +37 -43
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-83f53e4e.js} +4 -5
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +46 -45
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-bd800589.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-fce5c5b6.js → index-36e590e8.js} +642 -653
- package/dist/esm/{index-5cc7b406.js → index-41a678ea.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/index-aaa2dae0.js +85 -0
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-f6156a57.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-d4932dea.js → index.esm-cf08bf18.js} +13 -6
- package/dist/esm/{index.esm-9b042655.js → index.esm-f8aaeeeb.js} +7 -4
- package/dist/esm/{index.esm-37268dca.js → index.esm-fd746768.js} +5 -4
- package/dist/esm/index.js +124 -126
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
|
@@ -1,61 +1,62 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import React__default, { useState, useEffect } from 'react';
|
|
4
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
5
|
-
import { g as getSerializers } from './index-fce5c5b6.js';
|
|
6
|
-
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
|
-
import { useRouter } from 'next/router';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './_to-object-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './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 './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, { useState, useEffect } from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import './index-41a678ea.js';
|
|
15
19
|
import 'prop-types';
|
|
16
|
-
import '
|
|
17
|
-
import 'react-bootstrap';
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import './moment-e2f9b20c.js';
|
|
23
|
+
import { useRouter } from 'next/router';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
27
|
+
import 'react-dom';
|
|
28
|
+
import './index-73819142.js';
|
|
18
29
|
import './urlFor.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './stringify-
|
|
24
|
-
import './asyncToGenerator-
|
|
25
|
-
import './_library-528f1934.js';
|
|
26
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
30
|
+
import './index-5f7e79e7.js';
|
|
31
|
+
import './main-e4a934b2.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
34
|
+
import './stringify-4330ccdc.js';
|
|
35
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
27
36
|
import './Segment.js';
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import 'react-
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './AdSlot.js';
|
|
39
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
40
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
41
|
+
import './index-c7e2ac95.js';
|
|
42
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
34
43
|
import './GroupDeck.js';
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
44
|
+
import 'react-bootstrap';
|
|
45
|
+
import './iconBase-602d52fe.js';
|
|
46
|
+
import './index.esm-29e48d38.js';
|
|
47
|
+
import { g as getSerializers } from './index-36e590e8.js';
|
|
48
|
+
import './util-7700fc59.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
38
50
|
import 'next/head';
|
|
39
51
|
import 'react-share';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
52
|
+
import './SocialShare.js';
|
|
53
|
+
import './_object-to-array-7e804fce.js';
|
|
42
54
|
import 'react-bootstrap/Pagination';
|
|
43
|
-
import './entities-932b50cf.js';
|
|
44
|
-
import './AdSlot.js';
|
|
45
|
-
import './debounce-533d9748.js';
|
|
46
|
-
import './isSymbol-a7e9aafe.js';
|
|
47
|
-
import './toNumber-5aeba6e7.js';
|
|
48
|
-
import 'react-bootstrap/Row';
|
|
49
|
-
import 'react-bootstrap/Col';
|
|
50
|
-
import './inherits-a41fe93f.js';
|
|
51
|
-
import './_object-sap-f353c2a9.js';
|
|
52
|
-
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-f6156a57.js';
|
|
54
|
-
import './iconBase-ccc56b97.js';
|
|
55
55
|
import 'react-bootstrap/Figure';
|
|
56
56
|
import 'react-bootstrap/OverlayTrigger';
|
|
57
57
|
import 'react-bootstrap/Tooltip';
|
|
58
58
|
import 'react-bootstrap/Popover';
|
|
59
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
59
60
|
|
|
60
61
|
var ExternalResources = function ExternalResources(props) {
|
|
61
62
|
var resources = props.resources,
|
|
@@ -187,7 +188,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
187
188
|
)
|
|
188
189
|
),
|
|
189
190
|
React__default.createElement(
|
|
190
|
-
Button,
|
|
191
|
+
Button$1,
|
|
191
192
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
192
193
|
cta
|
|
193
194
|
)
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React__default from 'react';
|
|
3
|
+
import './index-73819142.js';
|
|
2
4
|
import urlFor from './urlFor.js';
|
|
3
|
-
import { m as
|
|
5
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
4
6
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
-
import './index-0dbff1d1.js';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
|
|
8
8
|
//Feature query to be used
|
|
9
9
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -30,7 +30,7 @@ var Feature = function Feature(props) {
|
|
|
30
30
|
|
|
31
31
|
//image width updated.
|
|
32
32
|
var imageWidth = 450;
|
|
33
|
-
if (
|
|
33
|
+
if (main_36) {
|
|
34
34
|
imageWidth = 225;
|
|
35
35
|
}
|
|
36
36
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './urlFor.js';
|
|
4
|
-
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
13
|
-
import 'react-dom';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
|
+
import React__default from 'react';
|
|
14
7
|
import 'prop-types';
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import './index-73819142.js';
|
|
11
|
+
import urlFor from './urlFor.js';
|
|
12
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
13
|
+
import './slicedToArray-641f241f.js';
|
|
14
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
15
15
|
|
|
16
16
|
var fbsHero = function fbsHero(props) {
|
|
17
17
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
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__default from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-5cc7b406.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-72fd8f8b.js';
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
12
|
-
import { withRouter } from 'next/router';
|
|
13
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-a71a3972.js';
|
|
16
|
-
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-d94f1437.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-a6137319.js';
|
|
22
|
-
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-d4165069.js';
|
|
24
|
-
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
26
|
-
import Button from 'react-bootstrap/Button';
|
|
27
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
31
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
32
|
-
import './_object-pie-133f504a.js';
|
|
33
|
-
import './_object-sap-f353c2a9.js';
|
|
34
|
-
import './define-property-fe54dc9f.js';
|
|
35
|
-
import './typeof-a286cf0c.js';
|
|
36
|
-
import './web.dom.iterable-4109ff68.js';
|
|
37
|
-
import './_is-array-3e99e06e.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
38
4
|
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
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
39
19
|
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';
|
|
40
30
|
import 'react-dom';
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
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';
|
|
46
40
|
import './Segment.js';
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
41
|
+
import './Beam.js';
|
|
42
|
+
import './AdSlot.js';
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-1cc9d817.js';
|
|
44
|
+
import { l as lodash } from './lodash-17fdfebb.js';
|
|
45
|
+
import { A as ADlgInfeed } from './ADlgInfeed-8c4f129e.js';
|
|
46
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
47
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
48
|
+
import './eq-b470f743.js';
|
|
49
|
+
import './AD.js';
|
|
50
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
51
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
51
52
|
|
|
52
53
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
53
54
|
var data = _ref.data,
|
|
@@ -76,10 +77,10 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
76
77
|
'div',
|
|
77
78
|
{ className: 'publication-feature-container border rounded p-2' },
|
|
78
79
|
React__default.createElement(
|
|
79
|
-
Row,
|
|
80
|
+
Row$1,
|
|
80
81
|
null,
|
|
81
82
|
React__default.createElement(
|
|
82
|
-
Col,
|
|
83
|
+
Col$1,
|
|
83
84
|
{ xs: 12 },
|
|
84
85
|
React__default.createElement(
|
|
85
86
|
'h4',
|
|
@@ -97,7 +98,7 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
97
98
|
)
|
|
98
99
|
),
|
|
99
100
|
React__default.createElement(
|
|
100
|
-
Col,
|
|
101
|
+
Col$1,
|
|
101
102
|
{ xs: 12, sm: 4 },
|
|
102
103
|
React__default.createElement(
|
|
103
104
|
LazyLoad,
|
|
@@ -106,14 +107,14 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
106
107
|
)
|
|
107
108
|
),
|
|
108
109
|
React__default.createElement(
|
|
109
|
-
Col,
|
|
110
|
+
Col$1,
|
|
110
111
|
{ xs: 12, sm: 8 },
|
|
111
112
|
React__default.createElement(
|
|
112
|
-
Row,
|
|
113
|
+
Row$1,
|
|
113
114
|
null,
|
|
114
115
|
articles.map(function (article) {
|
|
115
116
|
return React__default.createElement(
|
|
116
|
-
Col,
|
|
117
|
+
Col$1,
|
|
117
118
|
{ key: article._id, xs: 12, sm: 6 },
|
|
118
119
|
article.issueSection && article.issueSection.name && React__default.createElement(
|
|
119
120
|
'h6',
|
|
@@ -142,10 +143,10 @@ var PublicationFeature = function PublicationFeature(_ref) {
|
|
|
142
143
|
)
|
|
143
144
|
),
|
|
144
145
|
issueMapping && parentSlug && childSlug && React__default.createElement(
|
|
145
|
-
Col,
|
|
146
|
+
Col$1,
|
|
146
147
|
{ xs: 12 },
|
|
147
148
|
React__default.createElement(
|
|
148
|
-
Button,
|
|
149
|
+
Button$1,
|
|
149
150
|
{ href: issueMapping + '/' + parentSlug + '/' + childSlug, className: 'float-right', variant: 'outline-primary' },
|
|
150
151
|
'More Articles ',
|
|
151
152
|
'>>'
|
|
@@ -267,9 +268,9 @@ var GridContent = function (_React$Component) {
|
|
|
267
268
|
}
|
|
268
269
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
269
270
|
var _this$props2 = _this.props,
|
|
270
|
-
seoPaginate = _this$props2.seoPaginate
|
|
271
|
-
_this$props2.pageview
|
|
272
|
-
|
|
271
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
272
|
+
pageview = _this$props2.pageview,
|
|
273
|
+
router = _this$props2.router;
|
|
273
274
|
var currentPage = _this.state.currentPage;
|
|
274
275
|
|
|
275
276
|
if (seoPaginate) {
|
|
@@ -386,21 +387,21 @@ var GridContent = function (_React$Component) {
|
|
|
386
387
|
var numberOfItemsBeforeVideo = 3;
|
|
387
388
|
if (variant === 'stack') {
|
|
388
389
|
return React__default.createElement(
|
|
389
|
-
Row,
|
|
390
|
+
Row$1,
|
|
390
391
|
null,
|
|
391
392
|
this.state.data && this.state.data.length > 0 ? this.state.data.map(function (row, index) {
|
|
392
393
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
393
394
|
return React__default.createElement(
|
|
394
|
-
Col,
|
|
395
|
+
Col$1,
|
|
395
396
|
{ key: index, md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
396
397
|
React__default.createElement(
|
|
397
|
-
Card,
|
|
398
|
+
Card$1,
|
|
398
399
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
399
400
|
React__default.createElement(
|
|
400
|
-
Row,
|
|
401
|
+
Row$1,
|
|
401
402
|
{ style: { flexDirection: 'row' } },
|
|
402
403
|
React__default.createElement(
|
|
403
|
-
Col,
|
|
404
|
+
Col$1,
|
|
404
405
|
{ md: 12, lg: 4 },
|
|
405
406
|
React__default.createElement(
|
|
406
407
|
'a',
|
|
@@ -408,18 +409,18 @@ var GridContent = function (_React$Component) {
|
|
|
408
409
|
React__default.createElement(
|
|
409
410
|
LazyLoad,
|
|
410
411
|
{ height: _this2.props.imageHeight },
|
|
411
|
-
React__default.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
412
|
+
React__default.createElement(Card$1.Img, { variant: 'top', src: _this2.renderCardImage(row, page), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
412
413
|
)
|
|
413
414
|
)
|
|
414
415
|
),
|
|
415
416
|
React__default.createElement(
|
|
416
|
-
Col,
|
|
417
|
+
Col$1,
|
|
417
418
|
null,
|
|
418
419
|
React__default.createElement(
|
|
419
|
-
Card.Body,
|
|
420
|
+
Card$1.Body,
|
|
420
421
|
{ style: { padding: '20px' } },
|
|
421
422
|
React__default.createElement(
|
|
422
|
-
Card.Title,
|
|
423
|
+
Card$1.Title,
|
|
423
424
|
null,
|
|
424
425
|
React__default.createElement(
|
|
425
426
|
'a',
|
|
@@ -428,7 +429,7 @@ var GridContent = function (_React$Component) {
|
|
|
428
429
|
)
|
|
429
430
|
),
|
|
430
431
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
431
|
-
Card.Subtitle,
|
|
432
|
+
Card$1.Subtitle,
|
|
432
433
|
{ style: { marginTop: 0 } },
|
|
433
434
|
moment(row.published).format('MMMM DD, YYYY')
|
|
434
435
|
),
|
|
@@ -456,7 +457,7 @@ var GridContent = function (_React$Component) {
|
|
|
456
457
|
)
|
|
457
458
|
),
|
|
458
459
|
React__default.createElement(
|
|
459
|
-
Card.Text,
|
|
460
|
+
Card$1.Text,
|
|
460
461
|
null,
|
|
461
462
|
clean_html_1(row.summary)
|
|
462
463
|
)
|
|
@@ -610,7 +611,7 @@ var GridContent = function (_React$Component) {
|
|
|
610
611
|
'div',
|
|
611
612
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
612
613
|
React__default.createElement(
|
|
613
|
-
Card,
|
|
614
|
+
Card$1,
|
|
614
615
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
615
616
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
616
617
|
'a',
|
|
@@ -618,7 +619,7 @@ var GridContent = function (_React$Component) {
|
|
|
618
619
|
React__default.createElement(
|
|
619
620
|
LazyLoad,
|
|
620
621
|
{ height: _this2.props.imageHeight },
|
|
621
|
-
React__default.createElement(Card.Img, {
|
|
622
|
+
React__default.createElement(Card$1.Img, {
|
|
622
623
|
variant: 'top',
|
|
623
624
|
src: _this2.renderCardImage(row, page),
|
|
624
625
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -626,19 +627,19 @@ var GridContent = function (_React$Component) {
|
|
|
626
627
|
)
|
|
627
628
|
),
|
|
628
629
|
React__default.createElement(
|
|
629
|
-
Card.Body,
|
|
630
|
+
Card$1.Body,
|
|
630
631
|
null,
|
|
631
632
|
React__default.createElement(
|
|
632
633
|
'a',
|
|
633
634
|
{ rel: 'noopener', href: row.url.current, target: '_blank' },
|
|
634
635
|
React__default.createElement(
|
|
635
|
-
Card.Title,
|
|
636
|
+
Card$1.Title,
|
|
636
637
|
null,
|
|
637
638
|
row.title
|
|
638
639
|
)
|
|
639
640
|
),
|
|
640
641
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
641
|
-
Card.Subtitle,
|
|
642
|
+
Card$1.Subtitle,
|
|
642
643
|
{ style: { marginTop: 0 } },
|
|
643
644
|
moment(row.published).format('MMMM DD, YYYY')
|
|
644
645
|
),
|
|
@@ -648,7 +649,7 @@ var GridContent = function (_React$Component) {
|
|
|
648
649
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
649
650
|
),
|
|
650
651
|
React__default.createElement(
|
|
651
|
-
Card.Text,
|
|
652
|
+
Card$1.Text,
|
|
652
653
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
653
654
|
clean_html_1(row.summary)
|
|
654
655
|
)
|
|
@@ -657,7 +658,7 @@ var GridContent = function (_React$Component) {
|
|
|
657
658
|
)
|
|
658
659
|
),
|
|
659
660
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
660
|
-
|
|
661
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
661
662
|
);
|
|
662
663
|
} else {
|
|
663
664
|
return React__default.createElement(
|
|
@@ -674,7 +675,7 @@ var GridContent = function (_React$Component) {
|
|
|
674
675
|
'div',
|
|
675
676
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
676
677
|
React__default.createElement(
|
|
677
|
-
Card,
|
|
678
|
+
Card$1,
|
|
678
679
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
679
680
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
680
681
|
'a',
|
|
@@ -682,7 +683,7 @@ var GridContent = function (_React$Component) {
|
|
|
682
683
|
React__default.createElement(
|
|
683
684
|
LazyLoad,
|
|
684
685
|
{ height: _this2.props.imageHeight },
|
|
685
|
-
React__default.createElement(Card.Img, {
|
|
686
|
+
React__default.createElement(Card$1.Img, {
|
|
686
687
|
variant: 'top',
|
|
687
688
|
src: _this2.renderCardImage(row, page),
|
|
688
689
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -690,19 +691,19 @@ var GridContent = function (_React$Component) {
|
|
|
690
691
|
)
|
|
691
692
|
),
|
|
692
693
|
React__default.createElement(
|
|
693
|
-
Card.Body,
|
|
694
|
+
Card$1.Body,
|
|
694
695
|
null,
|
|
695
696
|
React__default.createElement(
|
|
696
697
|
'a',
|
|
697
698
|
{ href: row.url.current },
|
|
698
699
|
React__default.createElement(
|
|
699
|
-
Card.Title,
|
|
700
|
+
Card$1.Title,
|
|
700
701
|
null,
|
|
701
702
|
row.title
|
|
702
703
|
)
|
|
703
704
|
),
|
|
704
705
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
705
|
-
Card.Subtitle,
|
|
706
|
+
Card$1.Subtitle,
|
|
706
707
|
{ style: { marginTop: 0 } },
|
|
707
708
|
moment(row.published).format('MMMM DD, YYYY')
|
|
708
709
|
),
|
|
@@ -712,7 +713,7 @@ var GridContent = function (_React$Component) {
|
|
|
712
713
|
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: row.authorMapping })
|
|
713
714
|
),
|
|
714
715
|
React__default.createElement(
|
|
715
|
-
Card.Text,
|
|
716
|
+
Card$1.Text,
|
|
716
717
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
717
718
|
clean_html_1(row.summary)
|
|
718
719
|
)
|
|
@@ -721,7 +722,7 @@ var GridContent = function (_React$Component) {
|
|
|
721
722
|
)
|
|
722
723
|
),
|
|
723
724
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
724
|
-
|
|
725
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
725
726
|
);
|
|
726
727
|
}
|
|
727
728
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -744,7 +745,7 @@ var GridContent = function (_React$Component) {
|
|
|
744
745
|
'div',
|
|
745
746
|
{ counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
746
747
|
React__default.createElement(
|
|
747
|
-
Card,
|
|
748
|
+
Card$1,
|
|
748
749
|
{ className: 'content-card', style: { flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
749
750
|
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React__default.createElement(
|
|
750
751
|
'a',
|
|
@@ -752,7 +753,7 @@ var GridContent = function (_React$Component) {
|
|
|
752
753
|
React__default.createElement(
|
|
753
754
|
LazyLoad,
|
|
754
755
|
{ height: _this2.props.imageHeight },
|
|
755
|
-
React__default.createElement(Card.Img, {
|
|
756
|
+
React__default.createElement(Card$1.Img, {
|
|
756
757
|
variant: 'top',
|
|
757
758
|
src: _this2.renderCardImage(row, page),
|
|
758
759
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
@@ -760,19 +761,19 @@ var GridContent = function (_React$Component) {
|
|
|
760
761
|
)
|
|
761
762
|
),
|
|
762
763
|
React__default.createElement(
|
|
763
|
-
Card.Body,
|
|
764
|
+
Card$1.Body,
|
|
764
765
|
null,
|
|
765
766
|
React__default.createElement(
|
|
766
767
|
'a',
|
|
767
768
|
{ href: linkHref },
|
|
768
769
|
React__default.createElement(
|
|
769
|
-
Card.Title,
|
|
770
|
+
Card$1.Title,
|
|
770
771
|
null,
|
|
771
772
|
row.title
|
|
772
773
|
)
|
|
773
774
|
),
|
|
774
775
|
_this2.props.showPublished && row.published && React__default.createElement(
|
|
775
|
-
Card.Subtitle,
|
|
776
|
+
Card$1.Subtitle,
|
|
776
777
|
{ style: { marginTop: 0 } },
|
|
777
778
|
moment(row.published).format('MMMM DD, YYYY')
|
|
778
779
|
),
|
|
@@ -800,7 +801,7 @@ var GridContent = function (_React$Component) {
|
|
|
800
801
|
)
|
|
801
802
|
),
|
|
802
803
|
React__default.createElement(
|
|
803
|
-
Card.Text,
|
|
804
|
+
Card$1.Text,
|
|
804
805
|
{ className: index === 0 || index % 4 === 0 ? '' : 'card-subtext' },
|
|
805
806
|
clean_html_1(row.summary)
|
|
806
807
|
)
|
|
@@ -809,7 +810,7 @@ var GridContent = function (_React$Component) {
|
|
|
809
810
|
)
|
|
810
811
|
),
|
|
811
812
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
812
|
-
|
|
813
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
813
814
|
);
|
|
814
815
|
} else return null;
|
|
815
816
|
}) : React__default.createElement(
|
|
@@ -850,7 +851,7 @@ var GridContent = function (_React$Component) {
|
|
|
850
851
|
InfiniteScroll,
|
|
851
852
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
852
853
|
React__default.createElement(
|
|
853
|
-
Container,
|
|
854
|
+
Container$1,
|
|
854
855
|
null,
|
|
855
856
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
856
857
|
)
|
|
@@ -858,7 +859,7 @@ var GridContent = function (_React$Component) {
|
|
|
858
859
|
React__default.Fragment,
|
|
859
860
|
null,
|
|
860
861
|
React__default.createElement(
|
|
861
|
-
Container,
|
|
862
|
+
Container$1,
|
|
862
863
|
null,
|
|
863
864
|
this.cardLoader(page, columns, variant, showVideo, VideoPlayer, showBI, brandInsight, this.state.lgInfeedAd, this.state.contentCategoryMapping)
|
|
864
865
|
),
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
|
-
import { A as AuthorComponent } from './AuthorComponent-30aeba69.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import '
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
|
+
import React__default from 'react';
|
|
10
7
|
import 'prop-types';
|
|
11
|
-
import './
|
|
12
|
-
import '
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import './index-73819142.js';
|
|
11
|
+
import urlFor from './urlFor.js';
|
|
12
|
+
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
13
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
14
|
+
import './slicedToArray-641f241f.js';
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-34b16174.js';
|
|
16
16
|
|
|
17
17
|
var GridHero = function GridHero(props) {
|
|
18
18
|
var topArticle = props.dataRecord[0];
|