@mjhls/mjh-framework 1.0.921 → 1.0.923
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-51a39495.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-12db4509.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -19
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlgoliaSearch.js +18 -18
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -29
- package/dist/cjs/ArticleSeriesListing.js +30 -30
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +9 -586
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -22
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -30
- package/dist/cjs/ConferenceArticleCard.js +25 -25
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +39 -39
- package/dist/cjs/DeckQueue.js +29 -29
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-bcaa7e3f.js} +12 -12
- package/dist/cjs/EventsDeck.js +43 -43
- package/dist/cjs/ExternalResources.js +46 -45
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridContentPaginated.js +46 -46
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +38 -38
- package/dist/cjs/MasterDeckPaginated.js +41 -41
- package/dist/cjs/{MediaSeriesCard-d237146e.js → MediaSeriesCard-be3f9e36.js} +446 -646
- package/dist/cjs/MediaSeriesLanding.js +55 -54
- package/dist/cjs/MediaSeriesLandingPaginated.js +61 -60
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +39 -39
- package/dist/cjs/NavNative.js +39 -39
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +59 -59
- package/dist/cjs/PartnerDetailListingPaginated.js +59 -59
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -32
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +54 -54
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +38 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +25 -8
- package/dist/cjs/SeriesListingDeck.js +17 -17
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-88e59074.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +30 -30
- package/dist/cjs/View.js +94 -92
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +21 -21
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.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/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +69 -133
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-1359b868.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-44481153.js} +21 -40
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-e6ba0197.js → index-faf269e6.js} +157 -407
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +143 -143
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +26 -26
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -26
- package/dist/esm/{ADInfeed-bba8b026.js → ADInfeed-7ba4f982.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -26
- package/dist/esm/ADSponsoredResources.js +26 -26
- package/dist/esm/ADWebcast.js +26 -26
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a45afa1d.js → ADlgInfeed-8eb5060f.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -22
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlgoliaSearch.js +49 -49
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +54 -54
- package/dist/esm/Auth.js +416 -552
- package/dist/esm/AuthWrapper.js +27 -605
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -49
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -72
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +67 -67
- package/dist/esm/DeckQueuePaginated.js +63 -63
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-23281963.js} +20 -20
- package/dist/esm/EventsDeck.js +103 -103
- package/dist/esm/ExternalResources.js +72 -71
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -142
- package/dist/esm/GridContentPaginated.js +133 -133
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -68
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +71 -71
- package/dist/esm/MasterDeckPaginated.js +63 -63
- package/dist/esm/{MediaSeriesCard-131f2659.js → MediaSeriesCard-b6034225.js} +707 -907
- package/dist/esm/MediaSeriesLanding.js +80 -79
- package/dist/esm/MediaSeriesLandingPaginated.js +84 -83
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +121 -121
- package/dist/esm/NavNative.js +110 -110
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +93 -93
- package/dist/esm/PartnerDetailListingPaginated.js +91 -91
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +101 -101
- package/dist/esm/QueueDeckExpanded.js +273 -273
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -253
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +25 -8
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-0a8cfca0.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-1d8a9f59.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +63 -62
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +70 -70
- package/dist/esm/View.js +251 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-7bf8bc4d.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.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/{extends-dc6a71fd.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-ba1ffe43.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-1819118a.js} +24 -43
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-01c66814.js → index-93fc4be2.js} +551 -802
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +138 -138
- package/dist/esm/{inherits-8a801a18.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +114 -114
- package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/esm/ImageSlider-eab2fe41.js +0 -176
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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-01c66814.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 './core.get-iterator-method-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './_library-528f1934.js';
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React, { useState, useEffect } from 'react';
|
|
15
|
+
import './index-1819118a.js';
|
|
13
16
|
import 'prop-types';
|
|
14
|
-
import '
|
|
15
|
-
import 'react-bootstrap';
|
|
17
|
+
import 'react-bootstrap/Row';
|
|
18
|
+
import 'react-bootstrap/Col';
|
|
19
|
+
import './moment-b6f49411.js';
|
|
20
|
+
import { useRouter } from 'next/router';
|
|
21
|
+
import './isSymbol-1981418f.js';
|
|
22
|
+
import './debounce-9207d8ee.js';
|
|
23
|
+
import './toNumber-2f7a84cd.js';
|
|
24
|
+
import 'react-dom';
|
|
25
|
+
import { _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
26
|
+
import './index-51a80699.js';
|
|
16
27
|
import './urlFor.js';
|
|
17
|
-
import './index-
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './asyncToGenerator-b4dfe691.js';
|
|
23
|
-
import './_library-528f1934.js';
|
|
24
|
-
import './_iter-detect-f089461c.js';
|
|
28
|
+
import './index-6c12bdd5.js';
|
|
29
|
+
import './main-43ca42fe.js';
|
|
30
|
+
import './entities-7cc3bf45.js';
|
|
31
|
+
import './stringify-70b72959.js';
|
|
32
|
+
import './asyncToGenerator-7bf8bc4d.js';
|
|
25
33
|
import './Segment.js';
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import '
|
|
29
|
-
import '
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
|
+
import './Beam.js';
|
|
35
|
+
import './AdSlot.js';
|
|
36
|
+
import Button from 'react-bootstrap/Button';
|
|
37
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
38
|
+
import './index-c7e2ac95.js';
|
|
39
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
33
40
|
import './GroupDeck.js';
|
|
34
|
-
import '
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
41
|
+
import 'react-bootstrap';
|
|
42
|
+
import './iconBase-602d52fe.js';
|
|
43
|
+
import './index.esm-55f22b35.js';
|
|
44
|
+
import { g as getSerializers } from './index-93fc4be2.js';
|
|
45
|
+
import './util-7700fc59.js';
|
|
46
|
+
import './urlForFile-d2a27665.js';
|
|
47
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
37
48
|
import 'next/head';
|
|
38
49
|
import 'react-share';
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
50
|
+
import './SocialShare.js';
|
|
51
|
+
import './_object-to-array-c54dd835.js';
|
|
41
52
|
import 'react-bootstrap/Pagination';
|
|
42
|
-
import './entities-932b50cf.js';
|
|
43
|
-
import './AdSlot.js';
|
|
44
|
-
import './debounce-533d9748.js';
|
|
45
|
-
import './isSymbol-a7e9aafe.js';
|
|
46
|
-
import './toNumber-5aeba6e7.js';
|
|
47
|
-
import 'react-bootstrap/Row';
|
|
48
|
-
import 'react-bootstrap/Col';
|
|
49
|
-
import './inherits-8a801a18.js';
|
|
50
|
-
import './_object-sap-169d6272.js';
|
|
51
|
-
import './define-property-99e66838.js';
|
|
52
|
-
import './index.esm-eb1e8e80.js';
|
|
53
|
-
import './iconBase-ccc56b97.js';
|
|
54
53
|
import 'react-bootstrap/Figure';
|
|
55
54
|
import 'react-bootstrap/OverlayTrigger';
|
|
56
55
|
import 'react-bootstrap/Tooltip';
|
|
57
56
|
import 'react-bootstrap/Popover';
|
|
57
|
+
import 'react-script-tag';
|
|
58
|
+
import { m as momentTimezone } from './index-fa2ffe86.js';
|
|
58
59
|
|
|
59
60
|
var ExternalResources = function ExternalResources(props) {
|
|
60
61
|
var resources = props.resources,
|
|
@@ -84,13 +85,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
84
85
|
useEffect(function () {
|
|
85
86
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
86
87
|
}, [active]);
|
|
87
|
-
return
|
|
88
|
+
return React.createElement(
|
|
88
89
|
'div',
|
|
89
90
|
{ id: 'resources' },
|
|
90
|
-
showToggles &&
|
|
91
|
+
showToggles && React.createElement(
|
|
91
92
|
'div',
|
|
92
93
|
{ id: 'toggles' },
|
|
93
|
-
|
|
94
|
+
React.createElement(
|
|
94
95
|
'div',
|
|
95
96
|
{ onClick: function onClick() {
|
|
96
97
|
return setActive(function () {
|
|
@@ -99,7 +100,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
99
100
|
}, className: active === 'recent' ? 'active' : '' },
|
|
100
101
|
recentTitle
|
|
101
102
|
),
|
|
102
|
-
|
|
103
|
+
React.createElement(
|
|
103
104
|
'div',
|
|
104
105
|
{ onClick: function onClick() {
|
|
105
106
|
return setActive(function () {
|
|
@@ -110,43 +111,43 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
110
111
|
)
|
|
111
112
|
),
|
|
112
113
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
113
|
-
return
|
|
114
|
+
return React.createElement(
|
|
114
115
|
'div',
|
|
115
116
|
{ key: r._id, className: 'resource' },
|
|
116
|
-
dispalyThumb &&
|
|
117
|
+
dispalyThumb && React.createElement(
|
|
117
118
|
'div',
|
|
118
119
|
{ id: 'thumb' },
|
|
119
|
-
|
|
120
|
+
React.createElement(
|
|
120
121
|
'a',
|
|
121
122
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
122
|
-
|
|
123
|
+
React.createElement('img', { src: r.thumbnail })
|
|
123
124
|
)
|
|
124
125
|
),
|
|
125
|
-
|
|
126
|
+
React.createElement(
|
|
126
127
|
'div',
|
|
127
128
|
{ id: 'details' },
|
|
128
|
-
|
|
129
|
+
React.createElement(
|
|
129
130
|
'a',
|
|
130
131
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
131
|
-
|
|
132
|
+
React.createElement(
|
|
132
133
|
'p',
|
|
133
134
|
{ id: 'title' },
|
|
134
135
|
r.title
|
|
135
136
|
),
|
|
136
|
-
r.intro &&
|
|
137
|
+
r.intro && React.createElement(
|
|
137
138
|
'div',
|
|
138
139
|
{ id: 'intro' },
|
|
139
|
-
|
|
140
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
140
141
|
),
|
|
141
|
-
|
|
142
|
+
React.createElement(
|
|
142
143
|
'div',
|
|
143
144
|
{ id: 'date' },
|
|
144
|
-
|
|
145
|
+
React.createElement(
|
|
145
146
|
'p',
|
|
146
147
|
{ style: { fontWeight: 'bold' } },
|
|
147
148
|
'Date:'
|
|
148
149
|
),
|
|
149
|
-
|
|
150
|
+
React.createElement(
|
|
150
151
|
'p',
|
|
151
152
|
null,
|
|
152
153
|
momentTimezone.tz(r.displayDate, 'America/New_York').format(dateFormat),
|
|
@@ -154,30 +155,30 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
154
155
|
r.endDate && '- ' + momentTimezone.tz(r.endDate, 'America/New_York').format(dateFormat)
|
|
155
156
|
)
|
|
156
157
|
),
|
|
157
|
-
r.speakers &&
|
|
158
|
+
r.speakers && React.createElement(
|
|
158
159
|
'div',
|
|
159
160
|
{ id: 'speakers' },
|
|
160
|
-
|
|
161
|
+
React.createElement(
|
|
161
162
|
'p',
|
|
162
163
|
{ style: { fontWeight: 'bold' } },
|
|
163
164
|
'Speakers:'
|
|
164
165
|
),
|
|
165
|
-
|
|
166
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
166
167
|
),
|
|
167
|
-
r.location &&
|
|
168
|
+
r.location && React.createElement(
|
|
168
169
|
'div',
|
|
169
170
|
{ id: 'location' },
|
|
170
|
-
|
|
171
|
+
React.createElement(
|
|
171
172
|
'p',
|
|
172
173
|
{ style: { fontWeight: 'bold' } },
|
|
173
174
|
'Location:'
|
|
174
175
|
),
|
|
175
176
|
r.location
|
|
176
177
|
),
|
|
177
|
-
r.sponsor &&
|
|
178
|
+
r.sponsor && React.createElement(
|
|
178
179
|
'div',
|
|
179
180
|
{ id: 'sponsor' },
|
|
180
|
-
|
|
181
|
+
React.createElement(
|
|
181
182
|
'p',
|
|
182
183
|
{ style: { fontWeight: 'bold' } },
|
|
183
184
|
'Sponsors:'
|
|
@@ -185,19 +186,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
185
186
|
r.sponsor
|
|
186
187
|
)
|
|
187
188
|
),
|
|
188
|
-
|
|
189
|
+
React.createElement(
|
|
189
190
|
Button,
|
|
190
191
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
191
192
|
cta
|
|
192
193
|
)
|
|
193
194
|
)
|
|
194
195
|
);
|
|
195
|
-
}) :
|
|
196
|
+
}) : React.createElement(
|
|
196
197
|
'p',
|
|
197
198
|
null,
|
|
198
199
|
'No content available.'
|
|
199
200
|
),
|
|
200
|
-
|
|
201
|
+
React.createElement(
|
|
201
202
|
'style',
|
|
202
203
|
{ jsx: true },
|
|
203
204
|
'\n .resource {\n display: flex;\n position: relative;\n margin: 0 0 1rem 0;\n }\n .resource #thumb {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 25%;\n }\n .resource #thumb img {\n width: 100%;\n }\n .resource #details {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 75%;\n }\n #resources .resource p {\n margin: 0;\n }\n #toggles {\n display: flex;\n margin: 0 0 1rem 0;\n }\n #toggles > div {\n padding: 0.5rem;\n cursor: pointer;\n }\n #toggles > div:hover {\n font-weight: bold;\n border-bottom: 2px solid #cecece;\n }\n #toggles > div.active {\n font-weight: bold;\n border-bottom: 2px solid var(--primary);\n }\n .resource #title {\n font-weight: bold;\n font-size: 1.25rem;\n }\n .resource #date,\n .resource #speakers,\n .resource #location,\n .resource #sponsor,\n .resource #cta {\n margin: 1rem 0 0 0;\n }\n '
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import './slicedToArray-67a08c9c.js';
|
|
6
|
+
import './index-51a80699.js';
|
|
2
7
|
import urlFor from './urlFor.js';
|
|
3
|
-
import { m as
|
|
8
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
4
9
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
-
import './slicedToArray-ca2c8b8d.js';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
8
|
-
import './core.get-iterator-method-e903ff31.js';
|
|
9
|
-
import './index-0dbff1d1.js';
|
|
10
10
|
|
|
11
11
|
//Feature query to be used
|
|
12
12
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -33,24 +33,24 @@ var Feature = function Feature(props) {
|
|
|
33
33
|
|
|
34
34
|
//image width updated.
|
|
35
35
|
var imageWidth = 900;
|
|
36
|
-
if (
|
|
36
|
+
if (main_40) {
|
|
37
37
|
imageWidth = 225;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
var renderUrl = function renderUrl(feature_link, feature_title, feature_body) {
|
|
41
41
|
if (checkUrlIsExternal(feature_link)) {
|
|
42
|
-
return
|
|
43
|
-
|
|
42
|
+
return React.createElement(
|
|
43
|
+
React.Fragment,
|
|
44
44
|
null,
|
|
45
|
-
|
|
45
|
+
React.createElement(
|
|
46
46
|
'a',
|
|
47
47
|
{ href: feature_link, target: '_blank' },
|
|
48
|
-
!!feature_title &&
|
|
48
|
+
!!feature_title && React.createElement(
|
|
49
49
|
'h3',
|
|
50
50
|
{ style: { color: 'white' } },
|
|
51
51
|
feature_title
|
|
52
52
|
),
|
|
53
|
-
!!feature_body &&
|
|
53
|
+
!!feature_body && React.createElement(
|
|
54
54
|
'p',
|
|
55
55
|
{ style: { color: '#eee' } },
|
|
56
56
|
feature_body
|
|
@@ -59,15 +59,15 @@ var Feature = function Feature(props) {
|
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
return
|
|
62
|
+
return React.createElement(
|
|
63
63
|
'a',
|
|
64
64
|
{ href: feature_link },
|
|
65
|
-
!!feature_title &&
|
|
65
|
+
!!feature_title && React.createElement(
|
|
66
66
|
'h3',
|
|
67
67
|
{ style: { color: 'white' } },
|
|
68
68
|
feature_title
|
|
69
69
|
),
|
|
70
|
-
!!feature_body &&
|
|
70
|
+
!!feature_body && React.createElement(
|
|
71
71
|
'p',
|
|
72
72
|
{ style: { color: '#eee' } },
|
|
73
73
|
feature_body
|
|
@@ -83,10 +83,10 @@ var Feature = function Feature(props) {
|
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
|
|
86
|
-
return
|
|
86
|
+
return React.createElement(
|
|
87
87
|
'div',
|
|
88
88
|
null,
|
|
89
|
-
|
|
89
|
+
React.createElement(
|
|
90
90
|
Carousel,
|
|
91
91
|
{ touch: true, controls: controls },
|
|
92
92
|
dataset.map(function (feature, index) {
|
|
@@ -96,18 +96,18 @@ var Feature = function Feature(props) {
|
|
|
96
96
|
feature_alt = feature.feature_alt,
|
|
97
97
|
feature_link = feature.feature_link;
|
|
98
98
|
|
|
99
|
-
return
|
|
99
|
+
return React.createElement(
|
|
100
100
|
Carousel.Item,
|
|
101
101
|
{ key: index, style: { background: 'var(--primary)' }, onClick: function onClick() {
|
|
102
102
|
return openLink(feature_link);
|
|
103
103
|
} },
|
|
104
|
-
|
|
104
|
+
React.createElement('img', {
|
|
105
105
|
style: { maxHeight: '375px', minHeight: '300px', objectFit: 'cover', paddingLeft: '50%' },
|
|
106
106
|
className: 'd-block w-100',
|
|
107
107
|
src: urlFor({ client: client, source: feature_img, imageWidth: imageWidth }),
|
|
108
108
|
alt: feature_alt
|
|
109
109
|
}),
|
|
110
|
-
|
|
110
|
+
React.createElement(
|
|
111
111
|
Carousel.Caption,
|
|
112
112
|
{
|
|
113
113
|
style: { paddingRight: '50%', left: '3rem', right: '3rem', top: '0', height: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-defe68b6.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './web.dom.iterable-
|
|
9
|
-
import '
|
|
10
|
-
import './index-0dbff1d1.js';
|
|
11
|
-
import 'react-dom';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
4
|
+
import React from 'react';
|
|
12
5
|
import 'prop-types';
|
|
6
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
7
|
+
import 'react-dom';
|
|
8
|
+
import './slicedToArray-67a08c9c.js';
|
|
9
|
+
import './index-51a80699.js';
|
|
10
|
+
import urlFor from './urlFor.js';
|
|
11
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
12
|
+
import { A as AuthorComponent } from './AuthorComponent-37ebc2bd.js';
|
|
13
13
|
|
|
14
14
|
var fbsHero = function fbsHero(props) {
|
|
15
15
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -30,50 +30,50 @@ var fbsHero = function fbsHero(props) {
|
|
|
30
30
|
topArticleThumbnail = props.thumbnail;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
return
|
|
33
|
+
return React.createElement(
|
|
34
34
|
'div',
|
|
35
35
|
{ className: 'article-hero' },
|
|
36
|
-
|
|
36
|
+
React.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: 'fbs-top-article' },
|
|
39
|
-
|
|
39
|
+
React.createElement(
|
|
40
40
|
'div',
|
|
41
41
|
{ className: 'fbs-top-article--img' },
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
'a',
|
|
44
44
|
{ href: '/view/' + topArticle.url.current },
|
|
45
|
-
|
|
45
|
+
React.createElement('img', { src: topArticleThumbnail, alt: topArticleAltText })
|
|
46
46
|
)
|
|
47
47
|
),
|
|
48
|
-
|
|
48
|
+
React.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ className: 'fbs-top-article--body' },
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ href: '/view/' + topArticle.url.current },
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
'h1',
|
|
56
56
|
null,
|
|
57
57
|
topArticle.title
|
|
58
58
|
)
|
|
59
59
|
),
|
|
60
|
-
|
|
60
|
+
React.createElement(
|
|
61
61
|
'p',
|
|
62
62
|
null,
|
|
63
63
|
moment(topArticle.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
64
64
|
),
|
|
65
|
-
topArticle.authorMapping && topArticle.authorMapping.length > 0 &&
|
|
65
|
+
topArticle.authorMapping && topArticle.authorMapping.length > 0 && React.createElement(
|
|
66
66
|
'div',
|
|
67
67
|
{ className: 'author-wrapper' },
|
|
68
|
-
|
|
68
|
+
React.createElement(
|
|
69
69
|
LazyLoad,
|
|
70
70
|
{ height: 50 },
|
|
71
|
-
|
|
71
|
+
React.createElement(AuthorComponent, { key: topArticle.url.current, index: topArticle.url.current, authors: topArticle.authorMapping })
|
|
72
72
|
)
|
|
73
73
|
)
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
|
|
76
|
+
React.createElement(
|
|
77
77
|
'div',
|
|
78
78
|
{ className: 'fbs-sub-article-container' },
|
|
79
79
|
subArticles.map(function (article, index) {
|
|
@@ -86,41 +86,41 @@ var fbsHero = function fbsHero(props) {
|
|
|
86
86
|
articleThumbnail = props.thumbnail;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
return
|
|
89
|
+
return React.createElement(
|
|
90
90
|
'div',
|
|
91
91
|
{ key: index, className: 'fbs-sub-article' },
|
|
92
|
-
|
|
92
|
+
React.createElement(
|
|
93
93
|
'a',
|
|
94
94
|
{ href: '/view/' + article.url.current },
|
|
95
|
-
|
|
95
|
+
React.createElement('img', { src: articleThumbnail, alt: articleAltText })
|
|
96
96
|
),
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
'div',
|
|
99
99
|
null,
|
|
100
|
-
|
|
100
|
+
React.createElement(
|
|
101
101
|
'a',
|
|
102
102
|
{ href: '/view/' + article.url.current },
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
'h2',
|
|
105
105
|
{ className: 'fbs-sub-article--title' },
|
|
106
106
|
article.title
|
|
107
107
|
)
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React.createElement(
|
|
110
110
|
'p',
|
|
111
111
|
null,
|
|
112
112
|
moment(article.published).format(removeTimeStamp ? 'MMMM DD, YYYY' : 'MMMM DD, YYYY hh:mma')
|
|
113
113
|
),
|
|
114
|
-
article.authorMapping && article.authorMapping.length > 0 &&
|
|
114
|
+
article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
115
115
|
LazyLoad,
|
|
116
116
|
{ height: 50 },
|
|
117
|
-
|
|
117
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
118
118
|
)
|
|
119
119
|
)
|
|
120
120
|
);
|
|
121
121
|
})
|
|
122
122
|
),
|
|
123
|
-
|
|
123
|
+
React.createElement(
|
|
124
124
|
'style',
|
|
125
125
|
{ jsx: 'true' },
|
|
126
126
|
'\n .author-wrapper {\n text-align: center;\n }\n .article-hero {\n margin-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n padding-bottom: 0.5rem;\n }\n .fbs-top-article {\n width: 100%;\n margin-bottom: 1rem;\n padding-bottom: 1rem;\n border-bottom: 1px solid #ddd;\n }\n .fbs-top-article img {\n width: 100%;\n\n max-height: 400px;\n min-height: 275px;\n object-fit: cover;\n }\n\n .fbs-top-article--body {\n }\n .fbs-top-article--body h1 {\n color: #252525 !important;\n font-size: 1.6rem;\n font-weight: bold;\n text-align: center;\n margin-top: 1rem;\n }\n .fbs-top-article--body p {\n text-align: center;\n margin-bottom: 0;\n color: #252525;\n }\n .fbs-top-article--body p:first-of-type {\n font-size: 0.9rem;\n }\n .fbs-sub-article-container {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n\n padding-top: 1.75rem;\n margin-left: -1rem;\n margin-rigth: -1rem;\n }\n .fbs-sub-article {\n width: calc(50% - 2rem);\n min-width: 350px;\n display: flex;\n flex-direction: row;\n flex: 1 1 auto;\n margin: 0 1rem 1.75rem;\n }\n .fbs-sub-article img {\n margin-right: 1rem;\n width: 145px;\n min-width: 145px;\n max-height: 100px;\n object-fit: cover;\n }\n .fbs-sub-article p {\n margin-bottom: 0;\n font-size: 0.8rem;\n color: #252525;\n }\n .fbs-sub-article .fbs-sub-article--title {\n font-weight: bold;\n font-size: 1rem;\n color: #252525;\n }\n '
|