@mjhls/mjh-framework 1.0.862 → 1.0.863-author-details-v1
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 +1 -1
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-25d48cc2.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -22
- package/dist/cjs/ADSponsoredResources.js +23 -22
- package/dist/cjs/ADWebcast.js +23 -22
- package/dist/cjs/ADWelcome.js +20 -19
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-a535a768.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -23
- package/dist/cjs/AdSlotsProvider.js +14 -13
- package/dist/cjs/AlgoliaSearch.js +14103 -30
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +32 -31
- package/dist/cjs/ArticleSeriesListing.js +33 -32
- package/dist/cjs/Auth.js +348 -484
- package/dist/cjs/AuthWrapper.js +244 -208
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +25 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -32
- package/dist/cjs/ConferenceArticleCard.js +7 -7
- package/dist/cjs/DeckContent.js +34 -33
- package/dist/cjs/DeckQueue.js +31 -30
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-391fd124.js} +15 -14
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -46
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +47 -46
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -46
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +56 -55
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +33 -32
- package/dist/cjs/MediaSeriesLanding.js +738 -882
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +31 -31
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +2770 -65
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +35 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +28 -28
- package/dist/cjs/QueueDeckExpanded.js +38 -37
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +7 -7
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -19
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-0d3bf265.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-19548e2a.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -45
- package/dist/cjs/TemplateNormal.js +48 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -51
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +38 -37
- package/dist/cjs/VideoSeriesListing.js +33 -32
- package/dist/cjs/View.js +94 -90
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +22 -22
- 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/{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 +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +71 -135
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +46 -45
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-a9a871f0.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-3c2fa34e.js → index-04a5a4a2.js} +175 -174
- package/dist/cjs/{index-0e4427c8.js → index-2cf30c83.js} +5 -470
- package/dist/cjs/{index-f86bb269.js → index-6367b7bf.js} +35 -35
- 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-e2e62963.js +89 -0
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- 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-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +140 -140
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- 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-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-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-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- 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/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -26
- package/dist/esm/AD300x250x600.js +27 -26
- package/dist/esm/AD728x90.js +30 -29
- package/dist/esm/ADFloatingFooter.js +29 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -28
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-56a3db8b.js} +9 -9
- package/dist/esm/ADSkyscraper.js +29 -28
- package/dist/esm/ADSponsoredResources.js +29 -28
- package/dist/esm/ADWebcast.js +29 -28
- package/dist/esm/ADWelcome.js +30 -29
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-53edb995.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -26
- package/dist/esm/AdSlotsProvider.js +15 -14
- package/dist/esm/AlgoliaSearch.js +14124 -51
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +38 -37
- package/dist/esm/ArticleSeriesListing.js +57 -56
- package/dist/esm/Auth.js +418 -554
- package/dist/esm/AuthWrapper.js +264 -228
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +80 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +52 -51
- package/dist/esm/ConferenceArticleCard.js +20 -20
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +79 -78
- package/dist/esm/DeckQueue.js +69 -68
- package/dist/esm/{Dfp-be030f2a.js → Dfp-2f9796e1.js} +23 -22
- package/dist/esm/EventsDeck.js +88 -88
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +164 -163
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +105 -105
- 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 +69 -68
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +64 -63
- package/dist/esm/LeftNav.js +35 -34
- package/dist/esm/MasterDeck.js +66 -65
- package/dist/esm/MediaSeriesLanding.js +752 -896
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -113
- package/dist/esm/NavNative.js +103 -103
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +2818 -114
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +40 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +276 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +20 -20
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +33 -32
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-7d89f4d9.js} +27 -27
- 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-db963c3e.js → SocialSearchComponent-47815365.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +50 -49
- package/dist/esm/TemplateNormal.js +68 -67
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +64 -63
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +43 -42
- package/dist/esm/VideoSeriesListing.js +73 -72
- package/dist/esm/View.js +250 -246
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +47 -47
- 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-4abff0b1.js} +3 -3
- 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 +71 -135
- 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-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/index-aaa2dae0.js +85 -0
- package/dist/esm/{index-79cfd25c.js → index-c00b0bbb.js} +35 -35
- package/dist/esm/{index-fce5c5b6.js → index-cf54da7f.js} +571 -570
- package/dist/esm/{index-5cc7b406.js → index-f7fb1e25.js} +7 -472
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +136 -136
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.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-ec8c6b48.js} +10 -58
- package/dist/esm/main-747e7d25.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-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-af9c50d8.js} +35 -35
- 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/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- 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
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './iconBase-602d52fe.js';
|
|
3
|
+
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
4
4
|
|
|
5
5
|
var RecentNews = function RecentNews(_ref) {
|
|
6
|
-
_ref.client
|
|
7
|
-
|
|
6
|
+
var client = _ref.client,
|
|
7
|
+
_ref$dataRecord = _ref.dataRecord,
|
|
8
8
|
dataRecord = _ref$dataRecord === undefined ? [] : _ref$dataRecord,
|
|
9
9
|
_ref$linkTo = _ref.linkTo,
|
|
10
10
|
linkTo = _ref$linkTo === undefined ? '/news' : _ref$linkTo,
|
|
@@ -19,39 +19,39 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
19
19
|
var topArticle = dataRecord[0];
|
|
20
20
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
21
21
|
|
|
22
|
-
return
|
|
22
|
+
return React.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
{ className: 'recent-news-container', style: { border: '3px solid ' + borderColor } },
|
|
25
|
-
|
|
25
|
+
React.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'recent-news-title' },
|
|
28
|
-
|
|
28
|
+
React.createElement(
|
|
29
29
|
'h2',
|
|
30
30
|
null,
|
|
31
31
|
heroTitle
|
|
32
32
|
),
|
|
33
|
-
|
|
33
|
+
React.createElement('div', null)
|
|
34
34
|
),
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'recent-news-inner' },
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
'div',
|
|
40
40
|
{ className: 'recent-article-wrap', style: { flexBasis: '100%' } },
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
'a',
|
|
43
43
|
{ href: '/view/' + topArticle.url.current, className: 'recent-article' },
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
'p',
|
|
46
46
|
null,
|
|
47
47
|
topArticle.title
|
|
48
48
|
)
|
|
49
49
|
),
|
|
50
50
|
subArticles.map(function (article, index) {
|
|
51
|
-
return
|
|
51
|
+
return React.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ key: index, href: '/view/' + article.url.current, className: 'recent-article' },
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
'p',
|
|
56
56
|
null,
|
|
57
57
|
article.title
|
|
@@ -60,21 +60,21 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
60
60
|
})
|
|
61
61
|
)
|
|
62
62
|
),
|
|
63
|
-
linkTo &&
|
|
63
|
+
linkTo && React.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ className: 'recent-view-more' },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
'a',
|
|
68
68
|
{ href: linkTo },
|
|
69
69
|
linkTitle,
|
|
70
|
-
|
|
70
|
+
React.createElement(
|
|
71
71
|
'span',
|
|
72
72
|
null,
|
|
73
|
-
|
|
73
|
+
React.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
74
74
|
)
|
|
75
75
|
)
|
|
76
76
|
),
|
|
77
|
-
|
|
77
|
+
React.createElement(
|
|
78
78
|
'style',
|
|
79
79
|
{ jsx: 'true' },
|
|
80
80
|
'\n .recent-news-container {\n margin-bottom: 1.7rem;\n margin-top: 1rem;\n position: relative;\n }\n .recent-news-title {\n position: absolute;\n top: -10px;\n background: white;\n z-index: 2;\n left: 10px;\n padding-right: 0.25rem;\n padding-left: 0.25rem;\n font-weight: bold;\n }\n .recent-news-title h2 {\n font-size: 0.9rem;\n font-weight: bold;\n }\n .recent-news-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n .recent-article-wrap {\n padding: 0 0.5rem;\n }\n \n .recent-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .recent-article:last-child {\n border-bottom: none;\n }\n .recent-article:hover {\n background: #eee;\n }\n .recent-article p {\n font-size: 0.7rem;\n margin-bottom: 0.5rem;\n color: #252525;\n }\n .recent-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-size: 0.7rem;\n font-weight: bold;\n }\n .recent-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 0.7rem;\n }\n @media screen and (max-width: 1191px){\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n }\n @media screen and (max-width: 495px) {\n \n .recent-article > p {\n font-size: 0.7rem;\n }\n }\n '
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import 'react-bootstrap/Media';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import '
|
|
8
|
-
import 'react-dom';
|
|
2
|
+
import React from 'react';
|
|
9
3
|
import 'prop-types';
|
|
4
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
+
import 'react-dom';
|
|
6
|
+
import './index-51a80699.js';
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
9
|
+
import 'react-bootstrap/Media';
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
12
|
Sample query
|
|
@@ -44,47 +44,47 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
44
44
|
defaultImage = _props$defaultImage === undefined ? '' : _props$defaultImage;
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
return
|
|
47
|
+
return React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
null,
|
|
50
|
-
|
|
50
|
+
React.createElement(
|
|
51
51
|
'h1',
|
|
52
52
|
{ className: 'mb-4 pb-2', style: { borderBottom: '1px solid #ccc', fontSize: '1.2rem', fontWeight: 'bold', color: '#252525' } },
|
|
53
53
|
'Related Content'
|
|
54
54
|
),
|
|
55
|
-
|
|
55
|
+
React.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
{ className: 'related-articles-container' },
|
|
58
58
|
dataRecord.map(function (article, index) {
|
|
59
|
-
return
|
|
59
|
+
return React.createElement(
|
|
60
60
|
'a',
|
|
61
61
|
{ key: index, href: '/view/' + article.url.current, className: 'related-article' },
|
|
62
|
-
|
|
62
|
+
React.createElement(
|
|
63
63
|
'figure',
|
|
64
64
|
null,
|
|
65
|
-
|
|
65
|
+
React.createElement(
|
|
66
66
|
LazyLoad,
|
|
67
67
|
{ once: true },
|
|
68
|
-
|
|
68
|
+
React.createElement('img', {
|
|
69
69
|
src: article.thumbnail ? urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 }) : defaultImage,
|
|
70
70
|
alt: article.title
|
|
71
71
|
})
|
|
72
72
|
)
|
|
73
73
|
),
|
|
74
|
-
|
|
74
|
+
React.createElement(
|
|
75
75
|
'div',
|
|
76
76
|
{ className: 'related-article-body' },
|
|
77
|
-
|
|
78
|
-
props.showPublished &&
|
|
77
|
+
React.createElement('h4', { dangerouslySetInnerHTML: { __html: article.title } }),
|
|
78
|
+
props.showPublished && React.createElement(
|
|
79
79
|
'p',
|
|
80
80
|
{ className: 'pb-0 mb-0' },
|
|
81
81
|
moment(article.published).format('MMMM DD, YYYY hh:mma')
|
|
82
82
|
),
|
|
83
|
-
props.showAuthor && article.authorMapping && article.authorMapping[0] &&
|
|
83
|
+
props.showAuthor && article.authorMapping && article.authorMapping[0] && React.createElement(
|
|
84
84
|
'p',
|
|
85
85
|
null,
|
|
86
86
|
'By ',
|
|
87
|
-
|
|
87
|
+
React.createElement(
|
|
88
88
|
'b',
|
|
89
89
|
null,
|
|
90
90
|
article.authorMapping[0].displayName
|
|
@@ -93,7 +93,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
93
93
|
)
|
|
94
94
|
);
|
|
95
95
|
}),
|
|
96
|
-
|
|
96
|
+
React.createElement(
|
|
97
97
|
'style',
|
|
98
98
|
{ jsx: 'true' },
|
|
99
99
|
'\n .related-article {\n width: 100%;\n display: flex;\n flex-direction: ' + (props.reverse ? 'row-reverse' : 'row') + ';\n margin-bottom: 1rem;\n }\n .related-article figure {\n width: 165px;\n height: 110px;\n min-width: 165px;\n }\n .related-article figure img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n .related-article-body {\n flex: 1 1 auto;\n padding: 0 1rem;\n }\n .related-article-body h4 {\n font-weight: bold;\n font-size: 1.1rem;\n margin-bottom: 0.25rem;\n line-height: 1.3;\n }\n @media screen and (max-width: 430px) {\n .related-article {\n flex-direction: column;\n }\n .related-article figure {\n width: 80%;\n height: auto;\n min-width: 80%;\n margin: 0 auto;\n }\n .related-article figure img {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n }\n '
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import DropdownButton from 'react-bootstrap/DropdownButton';
|
|
3
3
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
4
4
|
|
|
@@ -29,21 +29,21 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
|
30
30
|
return '';
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
null,
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
'style',
|
|
37
37
|
{ jsx: true },
|
|
38
38
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 50vh !important;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n transform: none !important;\n overflow: hidden;\n overflow-y: scroll;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n box-shadow: 0px 0px 25px #ccc;\n z-index: 9999;\n font-size: 0.85em;\n overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'div',
|
|
42
42
|
{ id: 'related_dropdown', className: className },
|
|
43
|
-
|
|
43
|
+
React.createElement(
|
|
44
44
|
DropdownButton,
|
|
45
45
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
46
|
-
|
|
46
|
+
React.createElement(
|
|
47
47
|
Dropdown.Item,
|
|
48
48
|
{ href: parentTaxonomy.identifier },
|
|
49
49
|
parentTaxonomy.name
|
|
@@ -52,22 +52,22 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
52
52
|
)
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return React.createElement(
|
|
56
56
|
'div',
|
|
57
57
|
null,
|
|
58
|
-
|
|
58
|
+
React.createElement(
|
|
59
59
|
'style',
|
|
60
60
|
{ jsx: true },
|
|
61
61
|
'\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n top: auto !important;\n max-height: 40vh !important;\n z-index: 9999;\n transform: none !important;\n overflow: hidden;\n overflow-y: scroll;\n }\n @media only screen and (max-width: 720px) {\n #related_dropdown > .dropdown > .dropdown-menu.show {\n position: absolute;\n max-height: 30vh !important;\n max-width: 95vw;\n z-index: 9999;\n font-size: 0.85em;\n overflow: hidden;\n overflow-y: scroll;\n }\n }\n '
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
React.createElement(
|
|
64
64
|
'div',
|
|
65
65
|
{ id: 'related_dropdown', className: className },
|
|
66
|
-
|
|
66
|
+
React.createElement(
|
|
67
67
|
DropdownButton,
|
|
68
68
|
{ id: 'related_button', variant: variant, title: 'Related Topics' },
|
|
69
69
|
subTaxonomies.length > 0 && subTaxonomies.map(function (taxonomy, index) {
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
Dropdown.Item,
|
|
72
72
|
{ key: index, href: page + '/' + taxonomy.identifier },
|
|
73
73
|
taxonomy.name
|
package/dist/esm/RolesDeck.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Container from 'react-bootstrap/Container';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,43 +15,43 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
15
15
|
// dataRecord - data record to be shown in card.
|
|
16
16
|
// />
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
{ className: 'rolesDeck' },
|
|
21
|
-
|
|
21
|
+
React.createElement(
|
|
22
22
|
Container,
|
|
23
23
|
null,
|
|
24
|
-
|
|
24
|
+
React.createElement(
|
|
25
25
|
Row,
|
|
26
26
|
null,
|
|
27
27
|
data && data.map(function (row, index) {
|
|
28
28
|
if (row && row.url && row.name) {
|
|
29
|
-
return
|
|
29
|
+
return React.createElement(
|
|
30
30
|
Col,
|
|
31
31
|
{ key: index, md: 12, lg: 6, counter: index++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
32
|
-
|
|
32
|
+
React.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ className: 'taxonomy-card', style: { position: 'relative', overflow: 'hidden', borderBottom: '3px solid var(--primary)' } },
|
|
35
|
-
|
|
35
|
+
React.createElement(
|
|
36
36
|
Card.Link,
|
|
37
37
|
{ href: row.url },
|
|
38
|
-
|
|
38
|
+
React.createElement(
|
|
39
39
|
Card.Body,
|
|
40
40
|
null,
|
|
41
|
-
|
|
41
|
+
React.createElement(
|
|
42
42
|
Row,
|
|
43
43
|
null,
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
Col,
|
|
46
46
|
{ className: 'details-content-wrapper' },
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'details-wrapper' },
|
|
50
50
|
row.name
|
|
51
51
|
)
|
|
52
52
|
)
|
|
53
53
|
),
|
|
54
|
-
icon &&
|
|
54
|
+
icon && React.createElement(
|
|
55
55
|
'span',
|
|
56
56
|
{
|
|
57
57
|
className: 'taxonomy-icon',
|
|
@@ -73,7 +73,7 @@ var RolesDeck = function RolesDeck(props) {
|
|
|
73
73
|
})
|
|
74
74
|
)
|
|
75
75
|
),
|
|
76
|
-
icon &&
|
|
76
|
+
icon && React.createElement(
|
|
77
77
|
'style',
|
|
78
78
|
{ jsx: 'true' },
|
|
79
79
|
'\n .taxonomy-card .taxonomy-icon {\n transform: translateY(-50%) translateX(10px) !important;\n }\n .taxonomy-card.card:hover .taxonomy-icon {\n transform: translateY(-50%) translateX(5px) scale(1.25) rotate(-180deg) !important;\n }\n '
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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, { useState } from 'react';
|
|
7
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
|
+
import Button from 'react-bootstrap/Button';
|
|
3
9
|
import Form from 'react-bootstrap/Form';
|
|
4
10
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-4109ff68.js';
|
|
8
|
-
import './es6.string.iterator-bc33758b.js';
|
|
9
|
-
import './_to-object-b50e61c3.js';
|
|
10
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
11
11
|
|
|
12
12
|
var Search = function Search(props) {
|
|
13
13
|
var _props$placeholder = props.placeholder,
|
|
@@ -27,12 +27,12 @@ var Search = function Search(props) {
|
|
|
27
27
|
window.location.href = '/search?searchTerm=' + encodeURIComponent(searchKey);
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
return
|
|
30
|
+
return React.createElement(
|
|
31
31
|
Form,
|
|
32
32
|
{ inline: true, onSubmit: function onSubmit(e) {
|
|
33
33
|
return submitSearch(e);
|
|
34
34
|
} },
|
|
35
|
-
|
|
35
|
+
React.createElement(FormControl, {
|
|
36
36
|
className: device === 'mobile' ? 'mobile-search mr-sm-2' : 'mr-sm-2',
|
|
37
37
|
type: 'text',
|
|
38
38
|
placeholder: placeholder,
|
|
@@ -41,14 +41,14 @@ var Search = function Search(props) {
|
|
|
41
41
|
return setSearchKey(e.target.value);
|
|
42
42
|
}
|
|
43
43
|
}),
|
|
44
|
-
|
|
44
|
+
React.createElement(
|
|
45
45
|
Button,
|
|
46
46
|
{ variant: 'secondary', onClick: function onClick(e) {
|
|
47
47
|
return submitSearch(e);
|
|
48
48
|
} },
|
|
49
49
|
btnText
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'style',
|
|
53
53
|
{ jsx: 'true' },
|
|
54
54
|
'\n .mobile-search {\n width: 75%;\n margin-right: 15px;\n }\n '
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
6
4
|
import './_library-528f1934.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
9
9
|
|
|
10
10
|
require('babel-polyfill');
|
|
11
11
|
|
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
2
|
-
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
-
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
-
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
|
-
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-5cc7b406.js';
|
|
7
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-ae17159f.js';
|
|
9
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './_iter-detect-
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_iter-detect-5d49a330.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './_object-pie-33c40e79.js';
|
|
8
|
+
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
11
|
+
import './events-6c3a7a63.js';
|
|
12
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
17
13
|
import 'prop-types';
|
|
18
|
-
import '
|
|
19
|
-
import './index-
|
|
14
|
+
import { useRouter } from 'next/router';
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
20
16
|
import 'react-dom';
|
|
21
|
-
import './
|
|
17
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
18
|
+
import './index-51a80699.js';
|
|
22
19
|
import './urlFor.js';
|
|
23
|
-
import './index-
|
|
24
|
-
import './main-
|
|
20
|
+
import './index-6c12bdd5.js';
|
|
21
|
+
import './main-747e7d25.js';
|
|
22
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
23
|
+
import './index-c7e2ac95.js';
|
|
24
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
25
|
+
import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
|
|
25
26
|
|
|
26
27
|
var usePrevious = function usePrevious(value) {
|
|
27
28
|
var ref = useRef();
|
|
@@ -183,19 +184,19 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
|
|
|
183
184
|
}
|
|
184
185
|
}, [seriesData, setScrolling, count]);
|
|
185
186
|
|
|
186
|
-
return
|
|
187
|
+
return React.createElement(
|
|
187
188
|
InfiniteScroll,
|
|
188
189
|
{ dataLength: seriesData && seriesData.length, next: function next() {
|
|
189
190
|
return loadMore();
|
|
190
191
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
191
|
-
|
|
192
|
+
React.createElement(
|
|
192
193
|
'div',
|
|
193
194
|
null,
|
|
194
|
-
seriesData && seriesData.length ?
|
|
195
|
+
seriesData && seriesData.length ? React.createElement(
|
|
195
196
|
'div',
|
|
196
197
|
null,
|
|
197
198
|
seriesData.map(function (series, index) {
|
|
198
|
-
return
|
|
199
|
+
return React.createElement(
|
|
199
200
|
VisibilitySensor,
|
|
200
201
|
{
|
|
201
202
|
key: series._id ? series._id : index,
|
|
@@ -203,34 +204,34 @@ var SeriesListingDeck = function SeriesListingDeck(props) {
|
|
|
203
204
|
onChange: function onChange(isVisible) {
|
|
204
205
|
isVisible && changePageNumber(currentPage, index, pageview);
|
|
205
206
|
} },
|
|
206
|
-
|
|
207
|
+
React.createElement(
|
|
207
208
|
'div',
|
|
208
209
|
{ className: 'mb-5', key: series.name },
|
|
209
|
-
|
|
210
|
+
React.createElement(
|
|
210
211
|
'div',
|
|
211
212
|
{ style: { fontSize: '20px', fontWeight: 'bold', borderBottom: '1px solid #eee', margin: '0 .5rem', color: '373a3c' } },
|
|
212
|
-
|
|
213
|
+
React.createElement(
|
|
213
214
|
'a',
|
|
214
215
|
{ href: '/' + parentIdentifier + '/' + series.identifier.current },
|
|
215
216
|
series.name
|
|
216
217
|
)
|
|
217
218
|
),
|
|
218
|
-
series.articles && series.articles.length == 0 &&
|
|
219
|
+
series.articles && series.articles.length == 0 && React.createElement(
|
|
219
220
|
'p',
|
|
220
221
|
{ className: 'mt-2 ml-2' },
|
|
221
222
|
'Please check back for more content.'
|
|
222
223
|
),
|
|
223
|
-
series.articles && series.articles.length > 0 &&
|
|
224
|
+
series.articles && series.articles.length > 0 && React.createElement(SeriesSlider, _extends({}, props, { dataset: series.articles, client: client }))
|
|
224
225
|
)
|
|
225
226
|
);
|
|
226
227
|
})
|
|
227
|
-
) :
|
|
228
|
+
) : React.createElement(
|
|
228
229
|
'div',
|
|
229
230
|
null,
|
|
230
|
-
|
|
231
|
+
React.createElement(
|
|
231
232
|
'h5',
|
|
232
233
|
null,
|
|
233
|
-
|
|
234
|
+
React.createElement(
|
|
234
235
|
'em',
|
|
235
236
|
{ className: 'pl-3' },
|
|
236
237
|
'New content coming soon, please check back later.'
|