@mjhls/mjh-framework 1.0.865 → 1.0.866-d4d665
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 +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-799275aa.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-591d014e.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 +14121 -30
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +15 -15
- package/dist/cjs/ArticleProgramLandingPage.js +50 -49
- package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
- package/dist/cjs/ArticleSeriesListing.js +34 -33
- package/dist/cjs/Auth.js +348 -519
- package/dist/cjs/AuthWrapper.js +20 -20
- 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 +22 -22
- package/dist/cjs/DeckContent.js +43 -42
- package/dist/cjs/DeckQueue.js +32 -31
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-391fd124.js} +15 -14
- package/dist/cjs/EventsDeck.js +45 -45
- 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 +48 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +37 -37
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -47
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +17 -17
- package/dist/cjs/IssueLanding.js +85 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +42 -41
- package/dist/cjs/MediaSeriesLanding.js +613 -713
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +41 -41
- 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 +2796 -67
- 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 +55 -55
- package/dist/cjs/QueueDeckExpanded.js +40 -39
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +21 -20
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-d38767ae.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-9a9d6f8c.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 +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +39 -38
- package/dist/cjs/VideoSeriesListing.js +34 -33
- package/dist/cjs/View.js +112 -109
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +23 -23
- 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-4ba0d3d5.js} +4 -5
- 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 +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +46 -45
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-21103688.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-2cf30c83.js} +5 -470
- package/dist/cjs/{index-32097c80.js → index-4990e6c9.js} +175 -175
- package/dist/cjs/{index-f86bb269.js → index-5be2866f.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-f0677b9d.js +99 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- 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-11ec04d2.js +894 -0
- package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
- 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-4b8902ae.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-5193b48f.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 +14143 -52
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +18 -18
- 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 -589
- package/dist/esm/AuthWrapper.js +45 -45
- 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 +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +87 -86
- package/dist/esm/DeckQueue.js +69 -68
- package/dist/esm/{Dfp-be030f2a.js → Dfp-2f9796e1.js} +23 -22
- package/dist/esm/EventsDeck.js +105 -105
- 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 +114 -114
- 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 +70 -69
- 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 +93 -92
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -34
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/MediaSeriesLanding.js +625 -725
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -123
- package/dist/esm/NavNative.js +112 -112
- 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 +2842 -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 +102 -102
- package/dist/esm/QueueDeckExpanded.js +277 -276
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- 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-b8cc1baa.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-c54d43cb.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 +26 -26
- 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 +268 -265
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +48 -48
- 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-e1c6b0f2.js} +6 -7
- 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-88d69971.js} +11 -11
- 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-b68072f5.js +94 -0
- package/dist/esm/{index-5e84f9cd.js → index-bec35c6c.js} +573 -573
- package/dist/esm/{index-79cfd25c.js → index-d2f90501.js} +45 -44
- package/dist/esm/{index-5cc7b406.js → index-f7fb1e25.js} +7 -472
- package/dist/esm/{index.es-a6137319.js → index.es-7dda2f0a.js} +9 -25
- 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-aef58dbc.js +882 -0
- package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
- 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 +111 -111
- 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/esm/IssueDeck.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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 'prop-types';
|
|
5
12
|
import Row from 'react-bootstrap/Row';
|
|
6
13
|
import Col from 'react-bootstrap/Col';
|
|
7
|
-
import Button from 'react-bootstrap/Button';
|
|
8
14
|
import Card from 'react-bootstrap/Card';
|
|
9
|
-
import {
|
|
10
|
-
import urlFor from './urlFor.js';
|
|
11
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
12
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
-
import './es6.string.iterator-bc33758b.js';
|
|
14
|
-
import './_to-object-b50e61c3.js';
|
|
15
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
16
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
17
|
-
import './_object-pie-133f504a.js';
|
|
18
|
-
import './web.dom.iterable-4109ff68.js';
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
19
16
|
import 'react-dom';
|
|
20
|
-
import '
|
|
21
|
-
import './
|
|
17
|
+
import './index-51a80699.js';
|
|
18
|
+
import urlFor from './urlFor.js';
|
|
19
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
20
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
+
import Button from 'react-bootstrap/Button';
|
|
22
22
|
|
|
23
23
|
var usePrevious = function usePrevious(value) {
|
|
24
24
|
var ref = useRef();
|
|
@@ -131,71 +131,71 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
131
131
|
}
|
|
132
132
|
}, [issuesData, setScrolling, count]);
|
|
133
133
|
|
|
134
|
-
return
|
|
134
|
+
return React.createElement(
|
|
135
135
|
InfiniteScroll,
|
|
136
136
|
{ dataLength: issuesData && issuesData.length, next: function next() {
|
|
137
137
|
return loadMore();
|
|
138
138
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
139
|
-
|
|
139
|
+
React.createElement(
|
|
140
140
|
Row,
|
|
141
141
|
null,
|
|
142
142
|
issuesData && issuesData.length ? issuesData.map(function (row, index) {
|
|
143
|
-
return publication && row.identifier && row.identifier.current &&
|
|
143
|
+
return publication && row.identifier && row.identifier.current && React.createElement(
|
|
144
144
|
Col,
|
|
145
145
|
{ md: 12, lg: 12, key: index },
|
|
146
|
-
|
|
146
|
+
React.createElement(
|
|
147
147
|
Card,
|
|
148
148
|
{ className: 'queue-card journal-queue', style: { borderTop: '1px solid #EEE' } },
|
|
149
|
-
|
|
149
|
+
React.createElement(
|
|
150
150
|
Row,
|
|
151
151
|
{ style: { flexDirection: 'left' } },
|
|
152
|
-
|
|
152
|
+
React.createElement(
|
|
153
153
|
Col,
|
|
154
154
|
{ md: 12, lg: 4, className: 'body-image', style: { textAlign: 'center' } },
|
|
155
|
-
row.issues.length > 0 ?
|
|
155
|
+
row.issues.length > 0 ? React.createElement(
|
|
156
156
|
'a',
|
|
157
157
|
{ href: href + '/' + publication + '/' + row.identifier.current, style: { width: '100%' } },
|
|
158
|
-
row.thumbnail &&
|
|
158
|
+
row.thumbnail && React.createElement(
|
|
159
159
|
LazyLoad,
|
|
160
160
|
{ height: imageHeight },
|
|
161
|
-
|
|
161
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
162
162
|
)
|
|
163
|
-
) :
|
|
163
|
+
) : React.createElement(
|
|
164
164
|
'a',
|
|
165
165
|
null,
|
|
166
|
-
row.thumbnail &&
|
|
166
|
+
row.thumbnail && React.createElement(
|
|
167
167
|
LazyLoad,
|
|
168
168
|
{ height: imageHeight },
|
|
169
|
-
|
|
169
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.thumbnail), alt: row.name, style: { objectFit: 'contain' } })
|
|
170
170
|
)
|
|
171
171
|
)
|
|
172
172
|
),
|
|
173
|
-
|
|
173
|
+
React.createElement(
|
|
174
174
|
Col,
|
|
175
175
|
{ md: 12, lg: 8 },
|
|
176
|
-
|
|
176
|
+
React.createElement(
|
|
177
177
|
Card.Body,
|
|
178
178
|
{ style: { padding: '20px' }, className: 'body-text' },
|
|
179
|
-
|
|
179
|
+
React.createElement(
|
|
180
180
|
Row,
|
|
181
181
|
null,
|
|
182
|
-
|
|
182
|
+
React.createElement(
|
|
183
183
|
Col,
|
|
184
184
|
null,
|
|
185
|
-
|
|
185
|
+
React.createElement(
|
|
186
186
|
Card.Title,
|
|
187
187
|
null,
|
|
188
188
|
row.name
|
|
189
189
|
)
|
|
190
190
|
)
|
|
191
191
|
),
|
|
192
|
-
|
|
192
|
+
React.createElement(
|
|
193
193
|
Row,
|
|
194
194
|
null,
|
|
195
|
-
|
|
195
|
+
React.createElement(
|
|
196
196
|
Col,
|
|
197
197
|
null,
|
|
198
|
-
|
|
198
|
+
React.createElement(
|
|
199
199
|
'div',
|
|
200
200
|
null,
|
|
201
201
|
'Volume: ',
|
|
@@ -203,13 +203,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
203
203
|
)
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
206
|
+
React.createElement(
|
|
207
207
|
Row,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React.createElement(
|
|
210
210
|
Col,
|
|
211
211
|
null,
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'div',
|
|
214
214
|
null,
|
|
215
215
|
'Number: ',
|
|
@@ -217,19 +217,19 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
217
217
|
)
|
|
218
218
|
)
|
|
219
219
|
),
|
|
220
|
-
|
|
220
|
+
React.createElement(
|
|
221
221
|
Row,
|
|
222
222
|
null,
|
|
223
|
-
row.issues.length > 0 &&
|
|
223
|
+
row.issues.length > 0 && React.createElement(
|
|
224
224
|
'a',
|
|
225
225
|
{ style: { paddingRight: '15px', paddingLeft: '15px' }, href: href + '/' + publication + '/' + row.identifier.current },
|
|
226
|
-
|
|
226
|
+
React.createElement(
|
|
227
227
|
Button,
|
|
228
228
|
{ style: { marginTop: '20px', marginRight: '1rem' }, variant: 'secondary' },
|
|
229
229
|
'View Issue'
|
|
230
230
|
)
|
|
231
231
|
),
|
|
232
|
-
row.pdf && row.pdf.asset &&
|
|
232
|
+
row.pdf && row.pdf.asset && React.createElement(
|
|
233
233
|
'a',
|
|
234
234
|
{ rel: 'noopener', href: row.pdf.asset.url, target: '_blank', className: 'btn btn-primary', style: { marginTop: '20px' } },
|
|
235
235
|
'Download Issue'
|
|
@@ -240,13 +240,13 @@ var IssueDeck = function IssueDeck(props) {
|
|
|
240
240
|
)
|
|
241
241
|
)
|
|
242
242
|
);
|
|
243
|
-
}) :
|
|
243
|
+
}) : React.createElement(
|
|
244
244
|
'div',
|
|
245
245
|
null,
|
|
246
|
-
|
|
246
|
+
React.createElement(
|
|
247
247
|
'h5',
|
|
248
248
|
null,
|
|
249
|
-
|
|
249
|
+
React.createElement(
|
|
250
250
|
'em',
|
|
251
251
|
{ className: 'pl-3' },
|
|
252
252
|
'New content coming soon, please check back later.'
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,102 +1,103 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
6
|
-
import { g as getSerializers } from './index-5e84f9cd.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './_to-object-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './core.get-iterator-method-
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import '
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import 'react
|
|
23
|
-
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-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import './index-f7fb1e25.js';
|
|
24
19
|
import 'prop-types';
|
|
25
|
-
import '
|
|
26
|
-
import '
|
|
27
|
-
import './main-d4165069.js';
|
|
28
|
-
import './entities-932b50cf.js';
|
|
29
|
-
import './ADInfeed-a71a3972.js';
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
30
22
|
import 'react-bootstrap/Card';
|
|
31
|
-
import './
|
|
32
|
-
import '
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
37
|
-
import '
|
|
38
|
-
import './
|
|
23
|
+
import './moment-12415288.js';
|
|
24
|
+
import 'next/router';
|
|
25
|
+
import './isSymbol-1981418f.js';
|
|
26
|
+
import './debounce-9207d8ee.js';
|
|
27
|
+
import './toNumber-2f7a84cd.js';
|
|
28
|
+
import './index.es-7dda2f0a.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import './visibility-sensor-f40c2564.js';
|
|
31
|
+
import './index-51a80699.js';
|
|
32
|
+
import './urlFor.js';
|
|
33
|
+
import './index-6c12bdd5.js';
|
|
34
|
+
import './main-aef58dbc.js';
|
|
35
|
+
import './entities-7cc3bf45.js';
|
|
36
|
+
import './slicedToArray-641f241f.js';
|
|
37
|
+
import './stringify-4330ccdc.js';
|
|
38
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
39
39
|
import './Segment.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './AdSlot.js';
|
|
42
|
+
import './ADInfeed-4b8902ae.js';
|
|
43
|
+
import './lodash-ec8c6b48.js';
|
|
44
|
+
import './ADlgInfeed-5193b48f.js';
|
|
43
45
|
import './getContentCategory-15dcc413.js';
|
|
44
|
-
import './
|
|
45
|
-
import 'react-bootstrap/
|
|
46
|
+
import './AuthorComponent-8ffd4679.js';
|
|
47
|
+
import 'react-bootstrap/Button';
|
|
48
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
46
49
|
import './index-c7e2ac95.js';
|
|
47
|
-
import './
|
|
48
|
-
import './typeof-a286cf0c.js';
|
|
49
|
-
import './_is-array-3e99e06e.js';
|
|
50
|
-
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
50
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
51
51
|
import './GroupDeck.js';
|
|
52
|
-
import '
|
|
53
|
-
import './
|
|
52
|
+
import 'react-bootstrap';
|
|
53
|
+
import './timeDifferenceCalc.js';
|
|
54
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
55
|
+
import './iconBase-602d52fe.js';
|
|
56
|
+
import './index.esm-3fdda599.js';
|
|
57
|
+
import { g as getSerializers } from './index-bec35c6c.js';
|
|
58
|
+
import './util-7700fc59.js';
|
|
59
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
54
60
|
import 'next/head';
|
|
55
61
|
import 'react-share';
|
|
56
|
-
import './
|
|
62
|
+
import './SocialShare.js';
|
|
63
|
+
import './_object-to-array-7e804fce.js';
|
|
57
64
|
import 'react-bootstrap/Pagination';
|
|
58
|
-
import 'react-bootstrap/Button';
|
|
59
|
-
import 'react-bootstrap/Row';
|
|
60
|
-
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-a41fe93f.js';
|
|
62
|
-
import './_object-sap-f353c2a9.js';
|
|
63
|
-
import './define-property-fe54dc9f.js';
|
|
64
|
-
import './index.esm-f6156a57.js';
|
|
65
|
-
import './iconBase-ccc56b97.js';
|
|
66
65
|
import 'react-bootstrap/Figure';
|
|
67
66
|
import 'react-bootstrap/OverlayTrigger';
|
|
68
67
|
import 'react-bootstrap/Tooltip';
|
|
69
68
|
import 'react-bootstrap/Popover';
|
|
69
|
+
import 'react-bootstrap/Breadcrumb';
|
|
70
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
71
|
+
|
|
72
|
+
/* usage
|
|
73
|
+
import Settings, { Ads } from '../../../../settings'
|
|
74
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
75
|
+
import client from '../../../../client'
|
|
76
|
+
import moment from 'moment'
|
|
77
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
78
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
79
|
+
|
|
80
|
+
const Issue = (props) => {
|
|
81
|
+
const { pubIssue, cache } = props
|
|
82
|
+
const targeting = {
|
|
83
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
+
}
|
|
86
|
+
return (
|
|
87
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
88
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
89
|
+
</Shell>
|
|
90
|
+
)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
Issue.getInitialProps = async (ctx) => {
|
|
94
|
+
const { query } = ctx
|
|
95
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
96
|
+
)
|
|
97
|
+
return { pubIssue }
|
|
98
|
+
}
|
|
70
99
|
|
|
71
|
-
|
|
72
|
-
import Settings, { Ads } from '../../../../settings'
|
|
73
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
74
|
-
import client from '../../../../client'
|
|
75
|
-
import moment from 'moment'
|
|
76
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
77
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
78
|
-
|
|
79
|
-
const Issue = (props) => {
|
|
80
|
-
const { pubIssue, cache } = props
|
|
81
|
-
const targeting = {
|
|
82
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
83
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
84
|
-
}
|
|
85
|
-
return (
|
|
86
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
87
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
88
|
-
</Shell>
|
|
89
|
-
)
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
Issue.getInitialProps = async (ctx) => {
|
|
93
|
-
const { query } = ctx
|
|
94
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
95
|
-
)
|
|
96
|
-
return { pubIssue }
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export default Issue
|
|
100
|
+
export default Issue
|
|
100
101
|
*/
|
|
101
102
|
|
|
102
103
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -122,22 +123,22 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
122
123
|
_props$imageWidth = props.imageWidth,
|
|
123
124
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
124
125
|
|
|
125
|
-
return
|
|
126
|
+
return React.createElement(
|
|
126
127
|
'div',
|
|
127
128
|
{ id: 'issueLanding' },
|
|
128
|
-
|
|
129
|
-
pubIssue.issue.source &&
|
|
129
|
+
React.createElement(Breadcrumbs, null),
|
|
130
|
+
pubIssue.issue.source && React.createElement(
|
|
130
131
|
'p',
|
|
131
132
|
{ className: 'badge badge-primary' },
|
|
132
133
|
pubIssue.issue.source
|
|
133
134
|
),
|
|
134
|
-
pubIssue.issue.description &&
|
|
135
|
-
|
|
135
|
+
pubIssue.issue.description && React.createElement(
|
|
136
|
+
React.Fragment,
|
|
136
137
|
null,
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
139
|
+
React.createElement('div', { style: { clear: 'both' } })
|
|
139
140
|
),
|
|
140
|
-
|
|
141
|
+
React.createElement(QueueDeckExpanded, {
|
|
141
142
|
client: client,
|
|
142
143
|
mapping: settings.mapping,
|
|
143
144
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
2
|
-
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
|
-
import ADWebcast from './ADWebcast.js';
|
|
4
|
-
import Segment from './Segment.js';
|
|
5
|
-
import './slicedToArray-be2f7a22.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
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 './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './_object-pie-33c40e79.js';
|
|
8
|
+
import './extends-6f2fcc99.js';
|
|
9
|
+
import './web.dom.iterable-4439f05a.js';
|
|
10
|
+
import React, { useRef, useEffect } from 'react';
|
|
11
|
+
import './events-6c3a7a63.js';
|
|
12
|
+
import './index-f7fb1e25.js';
|
|
14
13
|
import 'prop-types';
|
|
15
|
-
import './
|
|
16
|
-
import './debounce-
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
14
|
+
import './isSymbol-1981418f.js';
|
|
15
|
+
import './debounce-9207d8ee.js';
|
|
16
|
+
import './toNumber-2f7a84cd.js';
|
|
17
|
+
import './main-aef58dbc.js';
|
|
18
|
+
import './slicedToArray-641f241f.js';
|
|
19
|
+
import './stringify-4330ccdc.js';
|
|
20
|
+
import './asyncToGenerator-fc1c2e29.js';
|
|
21
|
+
import Segment from './Segment.js';
|
|
19
22
|
import './Beam.js';
|
|
20
|
-
import './
|
|
21
|
-
import '
|
|
22
|
-
import './
|
|
23
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
-
import './main-d4165069.js';
|
|
23
|
+
import './AdSlot.js';
|
|
24
|
+
import ListGroup from 'react-bootstrap/ListGroup';
|
|
25
|
+
import ADWebcast from './ADWebcast.js';
|
|
25
26
|
|
|
26
27
|
var LeftNav = function LeftNav(props) {
|
|
27
28
|
var leftItems = props.leftItems,
|
|
@@ -65,21 +66,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
65
66
|
|
|
66
67
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
67
68
|
if (checkUrlIsExternal(subRow.url)) {
|
|
68
|
-
return
|
|
69
|
+
return React.createElement(
|
|
69
70
|
'a',
|
|
70
71
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
71
72
|
subRow.name
|
|
72
73
|
);
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
return
|
|
76
|
+
return React.createElement(
|
|
76
77
|
'a',
|
|
77
78
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
78
79
|
subRow.name
|
|
79
80
|
);
|
|
80
81
|
};
|
|
81
82
|
|
|
82
|
-
return
|
|
83
|
+
return React.createElement(
|
|
83
84
|
'section',
|
|
84
85
|
{ ref: leftNavRef },
|
|
85
86
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -87,27 +88,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
87
88
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
88
89
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
89
90
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
90
|
-
return
|
|
91
|
+
return React.createElement(
|
|
91
92
|
'div',
|
|
92
93
|
{ key: index },
|
|
93
|
-
|
|
94
|
+
React.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
94
95
|
);
|
|
95
96
|
} else {
|
|
96
|
-
return
|
|
97
|
+
return React.createElement(
|
|
97
98
|
'nav',
|
|
98
99
|
{ key: index, 'aria-label': 'Secondary' },
|
|
99
|
-
|
|
100
|
+
React.createElement(
|
|
100
101
|
'div',
|
|
101
102
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
102
|
-
|
|
103
|
+
React.createElement(
|
|
103
104
|
'span',
|
|
104
105
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
105
106
|
row.name
|
|
106
107
|
),
|
|
107
|
-
row.url && SeeAll &&
|
|
108
|
+
row.url && SeeAll && React.createElement(
|
|
108
109
|
'span',
|
|
109
110
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
110
|
-
|
|
111
|
+
React.createElement(
|
|
111
112
|
'a',
|
|
112
113
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
113
114
|
'See All ',
|
|
@@ -115,11 +116,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
115
116
|
)
|
|
116
117
|
)
|
|
117
118
|
),
|
|
118
|
-
|
|
119
|
+
React.createElement(
|
|
119
120
|
'ul',
|
|
120
121
|
{ style: sideNavStyles },
|
|
121
122
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
122
|
-
return
|
|
123
|
+
return React.createElement(
|
|
123
124
|
ListGroup.Item,
|
|
124
125
|
{ as: 'li', key: subIndex + '_2' },
|
|
125
126
|
renderListGroupItem(subRow)
|
|
@@ -132,7 +133,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
132
133
|
);
|
|
133
134
|
};
|
|
134
135
|
|
|
135
|
-
var LeftNav$1 =
|
|
136
|
+
var LeftNav$1 = React.memo(LeftNav);
|
|
136
137
|
|
|
137
138
|
export default LeftNav$1;
|
|
138
139
|
export { LeftNav };
|