@mjhls/mjh-framework 1.0.978 → 1.0.979-ris-update-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 +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +27 -26
- package/dist/cjs/AD300x250x600.js +27 -26
- package/dist/cjs/AD728x90.js +30 -29
- package/dist/cjs/ADFloatingFooter.js +30 -29
- package/dist/cjs/ADFooter.js +13 -12
- package/dist/cjs/ADGutter.js +30 -29
- package/dist/cjs/{ADInfeed-8da83eae.js → ADInfeed-cf54cb8a.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +30 -29
- package/dist/cjs/ADSponsoredResources.js +30 -29
- package/dist/cjs/ADWebcast.js +30 -29
- package/dist/cjs/ADWelcome.js +31 -30
- package/dist/cjs/{ADlgInfeed-52c63a33.js → ADlgInfeed-d06624d8.js} +11 -10
- package/dist/cjs/AccordionPanel.js +29 -27
- package/dist/cjs/AdSlot.js +31 -30
- package/dist/cjs/AdSlotsProvider.js +17 -15
- package/dist/cjs/AlgoliaSearch.js +62 -61
- package/dist/cjs/AlphabeticList.js +24 -23
- package/dist/cjs/ArticleCarousel.js +20 -19
- package/dist/cjs/ArticleProgramLandingPage.js +59 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +39 -38
- package/dist/cjs/ArticleSeriesListing.js +60 -59
- package/dist/cjs/Auth.js +287 -283
- package/dist/cjs/AuthWrapper.js +59 -122
- package/dist/cjs/{AuthorComponent-421d5ec1.js → AuthorComponent-39b37d84.js} +14 -13
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-bac780ac.js → BlockContent-9ebd251f.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +27 -25
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +34 -31
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +40 -39
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/ContentCardPaginated.js +91 -87
- package/dist/cjs/DeckContent.js +104 -100
- package/dist/cjs/DeckQueue.js +93 -89
- package/dist/cjs/DeckQueuePaginated.js +85 -81
- package/dist/cjs/{Dfp-52a869e5.js → Dfp-94f8ccdf.js} +33 -32
- package/dist/cjs/EventsDeck.js +157 -150
- package/dist/cjs/ExternalResources.js +80 -79
- package/dist/cjs/Feature.js +28 -26
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +189 -185
- package/dist/cjs/GridContentPaginated.js +177 -173
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +58 -57
- package/dist/cjs/HamMagazine.js +142 -137
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/HealthCareProfessionalModal.js +26 -23
- package/dist/cjs/Hero.js +16 -15
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -72
- package/dist/cjs/HorizontalHero.js +29 -28
- package/dist/cjs/{ImageSlider-5d7082b9.js → ImageSlider-6c00b878.js} +182 -283
- package/dist/cjs/IssueContentDeck.js +76 -71
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +94 -93
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +78 -77
- package/dist/cjs/MasterDeckPaginated.js +69 -68
- package/dist/cjs/{MediaSeriesCard-f50f8148.js → MediaSeriesCard-1a62916a.js} +719 -717
- package/dist/cjs/MediaSeriesLanding.js +87 -85
- package/dist/cjs/MediaSeriesLandingPaginated.js +101 -100
- package/dist/cjs/NavDvm.js +77 -72
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +149 -144
- package/dist/cjs/NavNative.js +143 -135
- package/dist/cjs/OncliveHero.js +22 -21
- package/dist/cjs/OncliveLargeHero.js +71 -70
- package/dist/cjs/PageFilter.js +13 -12
- package/dist/cjs/Pagination-2a3d0103.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +100 -98
- package/dist/cjs/PartnerDetailListingPaginated.js +97 -96
- package/dist/cjs/PdfDownload.js +10 -9
- package/dist/cjs/PixelTracking.js +19 -19
- package/dist/cjs/PopUpModal.js +19 -17
- package/dist/cjs/PtceDeck.js +27 -26
- package/dist/cjs/PubSection.js +41 -40
- package/dist/cjs/PubToc.js +14 -13
- package/dist/cjs/PublicationDeck.js +70 -65
- package/dist/cjs/{PublicationFeature-a54b1d9d.js → PublicationFeature-5ccf9b13.js} +40 -36
- package/dist/cjs/PublicationLanding.js +142 -134
- package/dist/cjs/QueueDeckExpanded.js +308 -308
- package/dist/cjs/QueueDeckExpandedPaginated.js +269 -270
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +56 -55
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Schema.js +15 -14
- package/dist/cjs/Search.js +20 -16
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -34
- package/dist/cjs/{SeriesSlider-ba6cdfc1.js → SeriesSlider-74546d19.js} +39 -38
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-e5196fc1.js → SocialSearchComponent-b7faaedc.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +66 -61
- package/dist/cjs/TaxonomyDescription.js +55 -54
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +26 -24
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +20 -19
- package/dist/cjs/VideoProgramLandingPage.js +77 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +49 -48
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +396 -364
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- package/dist/cjs/{_is-array-bd978497.js → _is-array-54228b29.js} +6 -6
- package/dist/cjs/{_iter-detect-ee3d4802.js → _iter-detect-b1df62f0.js} +7 -7
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-fee50a62.js → _object-sap-d1978572.js} +1 -1
- package/dist/cjs/{_object-to-array-18379aba.js → _object-to-array-ce86cae7.js} +2 -2
- package/dist/cjs/{asyncToGenerator-15014394.js → asyncToGenerator-77821af0.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/{core.get-iterator-method-5cb3af28.js → core.get-iterator-method-5643aa10.js} +33 -33
- package/dist/cjs/{debounce-6191c8ee.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-530a5e9e.js → define-property-e8404b64.js} +6 -6
- package/dist/cjs/{defineProperty-5ca424cd.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-fb0c6568.js → entities-df1aed86.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{extends-1d905ddb.js → extends-7c86182f.js} +7 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getQuery.js +3 -3
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-091ec6c8.js → getTargeting-dab97fe1.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- package/dist/cjs/{index-2fa523f8.js → index-bb00ade7.js} +681 -625
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-79eed652.js → index-f86bb269.js} +6 -6
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-bf016399.js → index.esm-2bb721c8.js} +19 -18
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-f93506ac.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-48e0f0d8.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +235 -231
- package/dist/cjs/{inherits-07da6623.js → inherits-de66ea16.js} +21 -21
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/{keys-91f31941.js → keys-e982b3fa.js} +6 -6
- package/dist/cjs/{lodash-b5e0d5f6.js → lodash-f0783643.js} +1 -1
- package/dist/cjs/{main-bc7d4bf8.js → main-f1c77adb.js} +70 -69
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-0a78cdf3.js → slicedToArray-067dd3bc.js} +12 -12
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/{stringify-13405ce2.js → stringify-f7a37a8d.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-39fd0757.js → toConsumableArray-d7797c2b.js} +7 -7
- package/dist/cjs/{toNumber-f2f8744b.js → toNumber-5e1fac58.js} +1 -1
- package/dist/cjs/{typeof-3dd6d3df.js → typeof-567e31ff.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{urlForFile-0e7175d9.js → urlForFile-29d3815a.js} +1 -1
- package/dist/cjs/{ustream-api-5619c1fa.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-93a37fd0.js} +12 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a9359910.js → web.dom.iterable-d98303e0.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +20 -20
- package/dist/esm/AD300x250x600.js +20 -20
- package/dist/esm/AD728x90.js +22 -22
- package/dist/esm/ADFloatingFooter.js +20 -20
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +20 -20
- package/dist/esm/{ADInfeed-0cd9985d.js → ADInfeed-0852ff35.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -20
- package/dist/esm/ADSponsoredResources.js +20 -20
- package/dist/esm/ADWebcast.js +20 -20
- package/dist/esm/ADWelcome.js +17 -17
- package/dist/esm/{ADlgInfeed-401242f6.js → ADlgInfeed-5fb3b724.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -19
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +18 -18
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +49 -49
- package/dist/esm/ArticleSeriesLandingPage.js +29 -29
- package/dist/esm/ArticleSeriesListing.js +30 -30
- package/dist/esm/Auth.js +199 -199
- package/dist/esm/AuthWrapper.js +29 -93
- package/dist/esm/{AuthorComponent-217c424d.js → AuthorComponent-11adff02.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-ea93e8f7.js → BlockContent-1e73bd2c.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +21 -21
- package/dist/esm/Column2.js +14 -14
- package/dist/esm/Column3.js +28 -28
- package/dist/esm/ConferenceArticleCard.js +25 -25
- package/dist/esm/ContentCardPaginated.js +34 -35
- package/dist/esm/DeckContent.js +38 -38
- package/dist/esm/DeckQueue.js +28 -28
- package/dist/esm/DeckQueuePaginated.js +30 -31
- package/dist/esm/{Dfp-af6a7461.js → Dfp-cf85d203.js} +12 -12
- package/dist/esm/EventsDeck.js +41 -41
- package/dist/esm/ExternalResources.js +46 -46
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +42 -42
- package/dist/esm/GridContentPaginated.js +42 -43
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +32 -32
- package/dist/esm/HealthCareProfessionalModal.js +2 -2
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/{ImageSlider-f42743bb.js → ImageSlider-f84174cb.js} +32 -134
- package/dist/esm/IssueContentDeck.js +11 -11
- package/dist/esm/IssueDeck.js +13 -13
- package/dist/esm/IssueLanding.js +84 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -19
- package/dist/esm/MasterDeck.js +38 -38
- package/dist/esm/MasterDeckPaginated.js +39 -40
- package/dist/esm/{MediaSeriesCard-5eb62ef4.js → MediaSeriesCard-146e08c8.js} +278 -278
- package/dist/esm/MediaSeriesLanding.js +55 -55
- package/dist/esm/MediaSeriesLandingPaginated.js +60 -61
- package/dist/esm/NavDvm.js +11 -11
- package/dist/esm/NavMagazine.js +37 -37
- package/dist/esm/NavNative.js +35 -35
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/Pagination-dc30727b.js +90 -0
- package/dist/esm/PartnerDetailListing.js +59 -58
- package/dist/esm/PartnerDetailListingPaginated.js +58 -58
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PixelTracking.js +7 -7
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PtceDeck.js +10 -10
- package/dist/esm/PubSection.js +32 -32
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +10 -10
- package/dist/esm/{PublicationFeature-35381870.js → PublicationFeature-d88e76b9.js} +2 -2
- package/dist/esm/PublicationLanding.js +57 -53
- package/dist/esm/QueueDeckExpanded.js +33 -33
- package/dist/esm/QueueDeckExpandedPaginated.js +34 -35
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +38 -38
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +17 -17
- package/dist/esm/{SeriesSlider-985b2b4a.js → SeriesSlider-e495571f.js} +9 -9
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-86928797.js → SocialSearchComponent-4b56cd8c.js} +6 -6
- package/dist/esm/TaxonomyCard.js +12 -12
- package/dist/esm/TaxonomyDescription.js +45 -45
- package/dist/esm/TemplateNormal.js +45 -45
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +50 -50
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -35
- package/dist/esm/VideoSeriesListing.js +30 -30
- package/dist/esm/View.js +188 -160
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +16 -16
- package/dist/esm/{_is-array-39143b17.js → _is-array-8d21b9e3.js} +6 -6
- package/dist/esm/{_iter-detect-b12f2097.js → _iter-detect-98db3b07.js} +7 -7
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-957d4f77.js → _object-sap-7cee6f84.js} +1 -1
- package/dist/esm/{_object-to-array-c71869fb.js → _object-to-array-2300e51b.js} +2 -2
- package/dist/esm/{asyncToGenerator-a59eea64.js → asyncToGenerator-958ef5fc.js} +30 -30
- package/dist/esm/{core.get-iterator-method-792e9364.js → core.get-iterator-method-ea258bb1.js} +34 -34
- package/dist/esm/{debounce-89969f66.js → debounce-533d9748.js} +2 -2
- package/dist/esm/define-property-5f1bda73.js +18 -0
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{defineProperty-ba9a4452.js → defineProperty-8c30428f.js} +1 -1
- package/dist/esm/{entities-731f3fdb.js → entities-6d9154b4.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{extends-3a3e8665.js → extends-6d8e3924.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getQuery.js +3 -3
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-c15dcda2.js → getTargeting-04d979c9.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-a9e53f80.js → index-5cc7b406.js} +3 -3
- package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
- package/dist/esm/{index-511bdaa5.js → index-79cfd25c.js} +6 -6
- package/dist/esm/{index-12256693.js → index-e89d33c8.js} +193 -150
- package/dist/esm/{index.esm-d1125763.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/{index.esm-ed50151c.js → index.esm-37268dca.js} +2 -2
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-55f22b35.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +123 -123
- package/dist/esm/{inherits-fc8a7c61.js → inherits-a6ba2ec4.js} +18 -18
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/keys-31dcdb31.js +23 -0
- package/dist/esm/{lodash-a818d390.js → lodash-f97fd99a.js} +1 -1
- package/dist/esm/{main-ede573ee.js → main-1894c974.js} +53 -53
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- package/dist/esm/{slicedToArray-6f02409f.js → slicedToArray-6ebcbfea.js} +12 -12
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-2b084bee.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6ab0c924.js → toConsumableArray-f7074d7c.js} +7 -7
- package/dist/esm/{toNumber-e3dcad26.js → toNumber-5aeba6e7.js} +1 -1
- package/dist/esm/{typeof-c39ff5e1.js → typeof-e9fc0c5d.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-4bd21538.js → urlForFile-b69adffc.js} +1 -1
- package/dist/esm/{ustream-api-12b01f28.js → ustream-api-d3714624.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-8ed16d48.js} +12 -1
- package/dist/esm/{web.dom.iterable-03a97343.js → web.dom.iterable-ab4dea5c.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/Pagination-32f89bd4.js +0 -87
- package/dist/esm/Pagination-ea620975.js +0 -82
- package/dist/esm/define-property-98b4d523.js +0 -18
- package/dist/esm/keys-39cf7652.js +0 -23
- package/dist/esm/stringify-d52a4413.js +0 -15
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-57a70a56.js} +1 -1
package/dist/esm/View.js
CHANGED
|
@@ -1,80 +1,79 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_iter-detect-b12f2097.js';
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6ab0c924.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends, a as _Object$assign } from './extends-3a3e8665.js';
|
|
8
|
-
import './_object-sap-957d4f77.js';
|
|
9
|
-
import './inherits-fc8a7c61.js';
|
|
10
|
-
import './define-property-98b4d523.js';
|
|
11
|
-
import './web.dom.iterable-03a97343.js';
|
|
12
|
-
import { _ as _typeof } from './typeof-c39ff5e1.js';
|
|
13
|
-
import './_is-array-39143b17.js';
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-6d8e3924.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
14
4
|
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
15
|
-
import
|
|
16
|
-
import 'prop-types';
|
|
17
|
-
import 'react-bootstrap/Row';
|
|
18
|
-
import 'react-bootstrap/Col';
|
|
19
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
+
import Head from 'next/head';
|
|
20
6
|
import { useRouter } from 'next/router';
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import {
|
|
25
|
-
import '
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
12
|
+
import 'react-bootstrap/Dropdown';
|
|
13
|
+
import Form from 'react-bootstrap/Form';
|
|
14
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
+
import Button from 'react-bootstrap/Button';
|
|
26
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
27
|
-
import
|
|
28
|
-
import './index-
|
|
29
|
-
import urlFor from './urlFor.js';
|
|
30
|
-
import './index-5f7e79e7.js';
|
|
31
|
-
import { m as main_43 } from './main-ede573ee.js';
|
|
32
|
-
import './entities-731f3fdb.js';
|
|
33
|
-
import { _ as _JSON$stringify } from './stringify-d52a4413.js';
|
|
34
|
-
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-a59eea64.js';
|
|
35
|
-
import './Segment.js';
|
|
36
|
-
import './Beam.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-e89d33c8.js';
|
|
37
19
|
import DFPAdSlot from './AdSlot.js';
|
|
38
|
-
import
|
|
39
|
-
import {
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-e495571f.js';
|
|
21
|
+
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-04d979c9.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
25
|
+
import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
26
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-1bd8a0a8.js';
|
|
27
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
28
|
+
import './index-755f2cc2.js';
|
|
29
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
30
|
+
import Schema from './Schema.js';
|
|
31
|
+
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
32
|
+
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
33
|
+
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
34
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
35
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
36
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
37
|
+
import getQuery from './getQuery.js';
|
|
38
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
39
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
40
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
41
|
+
import './_library-528f1934.js';
|
|
42
|
+
import './_iter-detect-98db3b07.js';
|
|
43
|
+
import './_object-pie-133f504a.js';
|
|
44
|
+
import 'prop-types';
|
|
45
|
+
import './index-3f5c03b2.js';
|
|
46
|
+
import 'react-dom';
|
|
47
|
+
import 'react-share';
|
|
43
48
|
import 'react-bootstrap';
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
46
|
-
import
|
|
47
|
-
import './
|
|
48
|
-
import
|
|
49
|
-
import './brightcove-react-player-loader.es-e761d404.js';
|
|
49
|
+
import './index-c7e2ac95.js';
|
|
50
|
+
import './util-8ed16d48.js';
|
|
51
|
+
import './Beam.js';
|
|
52
|
+
import './Segment.js';
|
|
53
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
50
54
|
import 'react-bootstrap/Modal';
|
|
51
|
-
import Form from 'react-bootstrap/Form';
|
|
52
55
|
import 'react-ga';
|
|
53
|
-
import
|
|
54
|
-
import '
|
|
55
|
-
import
|
|
56
|
-
import './_object-to-array-
|
|
56
|
+
import './GroupDeck.js';
|
|
57
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
58
|
+
import './_is-array-8d21b9e3.js';
|
|
59
|
+
import './_object-to-array-2300e51b.js';
|
|
57
60
|
import 'react-bootstrap/Pagination';
|
|
61
|
+
import './entities-6d9154b4.js';
|
|
62
|
+
import 'react-bootstrap/Row';
|
|
63
|
+
import 'react-bootstrap/Col';
|
|
64
|
+
import './inherits-a6ba2ec4.js';
|
|
65
|
+
import './_object-sap-7cee6f84.js';
|
|
66
|
+
import './define-property-5f1bda73.js';
|
|
67
|
+
import './index.esm-eb1e8e80.js';
|
|
68
|
+
import './iconBase-ccc56b97.js';
|
|
58
69
|
import 'react-bootstrap/Figure';
|
|
59
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
60
71
|
import 'react-bootstrap/Tooltip';
|
|
61
72
|
import 'react-bootstrap/Popover';
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import '
|
|
65
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-d1125763.js';
|
|
66
|
-
import { PixelTrackingArticle } from './PixelTracking.js';
|
|
67
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
73
|
+
import './debounce-533d9748.js';
|
|
74
|
+
import './isSymbol-a7e9aafe.js';
|
|
75
|
+
import './toNumber-5aeba6e7.js';
|
|
68
76
|
import './index-db3bb315.js';
|
|
69
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
70
|
-
import getQuery from './getQuery.js';
|
|
71
|
-
import { S as SeriesSlider } from './SeriesSlider-985b2b4a.js';
|
|
72
|
-
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-c15dcda2.js';
|
|
73
|
-
import getKeywords from './getKeywords.js';
|
|
74
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
75
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
76
|
-
import Schema from './Schema.js';
|
|
77
|
-
import FileSaver from 'file-saver';
|
|
78
77
|
|
|
79
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
79
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -363,9 +362,9 @@ var ISI = function ISI(props) {
|
|
|
363
362
|
);
|
|
364
363
|
};
|
|
365
364
|
|
|
366
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
367
|
-
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
368
|
-
styleInject(css);
|
|
365
|
+
var css$1 = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
|
|
366
|
+
var styles$1 = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
367
|
+
styleInject(css$1);
|
|
369
368
|
|
|
370
369
|
var RelatedArticle = function RelatedArticle(_ref) {
|
|
371
370
|
var articles = _ref.articles,
|
|
@@ -379,15 +378,15 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
379
378
|
}
|
|
380
379
|
return React__default.createElement(
|
|
381
380
|
'div',
|
|
382
|
-
{ className: styles.mediaContainer },
|
|
381
|
+
{ className: styles$1.mediaContainer },
|
|
383
382
|
articles.map(function (article, index) {
|
|
384
383
|
if (article && article.url && article.url.current) {
|
|
385
384
|
return React__default.createElement(
|
|
386
385
|
'div',
|
|
387
|
-
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
386
|
+
{ id: 'related-card', key: index, className: styles$1.mediaCard },
|
|
388
387
|
React__default.createElement(
|
|
389
388
|
'a',
|
|
390
|
-
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
389
|
+
{ className: styles$1.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
391
390
|
article.thumbnail ? React__default.createElement('img', {
|
|
392
391
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
393
392
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
@@ -400,13 +399,13 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
400
399
|
),
|
|
401
400
|
React__default.createElement(
|
|
402
401
|
'div',
|
|
403
|
-
{ className: styles.mediaBody },
|
|
402
|
+
{ className: styles$1.mediaBody },
|
|
404
403
|
React__default.createElement(
|
|
405
404
|
'a',
|
|
406
405
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
407
406
|
React__default.createElement(
|
|
408
407
|
'div',
|
|
409
|
-
{ className: styles.cardTitle },
|
|
408
|
+
{ className: styles$1.cardTitle },
|
|
410
409
|
article.title
|
|
411
410
|
)
|
|
412
411
|
)
|
|
@@ -462,11 +461,17 @@ var getSocialShareDisableFlag = function getSocialShareDisableFlag(article) {
|
|
|
462
461
|
return showSocialShare;
|
|
463
462
|
};
|
|
464
463
|
|
|
465
|
-
var
|
|
466
|
-
|
|
467
|
-
styleInject(css$1);
|
|
464
|
+
var FileSaver_min = createCommonjsModule(function (module, exports) {
|
|
465
|
+
(function(a,b){b();})(commonjsGlobal,function(){function b(a,b){return "undefined"==typeof b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a}function c(a,b,c){var d=new XMLHttpRequest;d.open("GET",a),d.responseType="blob",d.onload=function(){g(d.response,b,c);},d.onerror=function(){console.error("could not download file");},d.send();}function d(a){var b=new XMLHttpRequest;b.open("HEAD",a,!1);try{b.send();}catch(a){}return 200<=b.status&&299>=b.status}function e(a){try{a.dispatchEvent(new MouseEvent("click"));}catch(c){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),a.dispatchEvent(b);}}var f="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof commonjsGlobal&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,a=f.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),g=f.saveAs||("object"!=typeof window||window!==f?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(b,g,h){var i=f.URL||f.webkitURL,j=document.createElement("a");g=g||b.name||"download",j.download=g,j.rel="noopener","string"==typeof b?(j.href=b,j.origin===location.origin?e(j):d(j.href)?c(b,g,h):e(j,j.target="_blank")):(j.href=i.createObjectURL(b),setTimeout(function(){i.revokeObjectURL(j.href);},4E4),setTimeout(function(){e(j);},0));}:"msSaveOrOpenBlob"in navigator?function(f,g,h){if(g=g||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(b(f,h),g);else if(d(f))c(f,g,h);else {var i=document.createElement("a");i.href=f,i.target="_blank",setTimeout(function(){e(i);});}}:function(b,d,e,g){if(g=g||open("","_blank"),g&&(g.document.title=g.document.body.innerText="downloading..."),"string"==typeof b)return c(b,d,e);var h="application/octet-stream"===b.type,i=/constructor/i.test(f.HTMLElement)||f.safari,j=/CriOS\/[\d]+/.test(navigator.userAgent);if((j||h&&i||a)&&"undefined"!=typeof FileReader){var k=new FileReader;k.onloadend=function(){var a=k.result;a=j?a:a.replace(/^data:[^;]*;/,"data:attachment/file;"),g?g.location.href=a:location=a,g=null;},k.readAsDataURL(b);}else {var l=f.URL||f.webkitURL,m=l.createObjectURL(b);g?g.location=m:location.href=m,g=null,setTimeout(function(){l.revokeObjectURL(m);},4E4);}});f.saveAs=g.saveAs=g,(module.exports=g);});
|
|
468
466
|
|
|
469
|
-
|
|
467
|
+
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
var css = ".RecommendedArticles-module_recommendTitle__2kUji {\r\n border-bottom: 2px solid var(--secondary-blue);\r\n font-size: 1.5rem;\r\n font-weight: bold;\r\n color: #0d335a;\r\n padding: 0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendContainer__sZukI {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n margin: 0 -0.5rem;\r\n}\r\n.RecommendedArticles-module_recommendTop__1_yqw {\r\n margin: 0.5rem;\r\n width: 100%;\r\n flex-basis: 100%;\r\n display: flex;\r\n\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu {\r\n min-width: 55%;\r\n width: 55%;\r\n height: 100%;\r\n}\r\n.RecommendedArticles-module_recommendTopImg__1b9gu img {\r\n width: 100%;\r\n height: 100%;\r\n object-fit: cover;\r\n}\r\n.RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-left: 1rem;\r\n line-height: 1.3;\r\n color: #121212;\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 25px;\r\n font-weight: bold;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 19px;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 19px;\r\n color: rgb(43, 43, 151);\r\n text-decoration: underline;\r\n margin-top: auto;\r\n}\r\n.RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(25% - 1rem);\r\n margin: 0 0.5rem;\r\n}\r\n.RecommendedArticles-module_smImage__TYZGY img {\r\n width: 100%;\r\n}\r\n.RecommendedArticles-module_title__3q1ud {\r\n margin-top: 1rem;\r\n line-height: 1.2;\r\n color: #121212;\r\n}\r\n.RecommendedArticles-module_category__2jRto {\r\n text-transform: uppercase;\r\n font-size: 16px;\r\n letter-spacing: 2px;\r\n margin: 0.25rem 0;\r\n}\r\n\r\n/* media query */\r\n\r\n@media screen and (max-width: 1399px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 21px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 1191px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 23px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 17px;\r\n }\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RecommendedArticles-module_topTitle__2EafN {\r\n font-size: 18px;\r\n }\r\n .RecommendedArticles-module_topBody__2_VNi,\r\n .RecommendedArticles-module_topLink__2RnXu {\r\n font-size: 15px;\r\n }\r\n}\r\n@media screen and (max-width: 768px) {\r\n .RecommendedArticles-module_recommendTop__1_yqw {\r\n flex-direction: column;\r\n }\r\n .RecommendedArticles-module_recommendTopImg__1b9gu,\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n width: 100%;\r\n margin: 0;\r\n }\r\n .RecommendedArticles-module_recommendTopBody__-13FI {\r\n margin-bottom: 1rem;\r\n }\r\n .RecommendedArticles-module_smContainer__4byBO {\r\n width: calc(50% - 1rem);\r\n }\r\n}";
|
|
471
|
+
var styles = { "recommendTitle": "RecommendedArticles-module_recommendTitle__2kUji", "recommendContainer": "RecommendedArticles-module_recommendContainer__sZukI", "recommendTop": "RecommendedArticles-module_recommendTop__1_yqw", "recommendTopImg": "RecommendedArticles-module_recommendTopImg__1b9gu", "recommendTopBody": "RecommendedArticles-module_recommendTopBody__-13FI", "topTitle": "RecommendedArticles-module_topTitle__2EafN", "topBody": "RecommendedArticles-module_topBody__2_VNi", "topLink": "RecommendedArticles-module_topLink__2RnXu", "smContainer": "RecommendedArticles-module_smContainer__4byBO", "smImage": "RecommendedArticles-module_smImage__TYZGY", "title": "RecommendedArticles-module_title__3q1ud", "category": "RecommendedArticles-module_category__2jRto" };
|
|
472
|
+
styleInject(css);
|
|
473
|
+
|
|
474
|
+
var _this$2 = undefined;
|
|
470
475
|
|
|
471
476
|
var Recommended = function Recommended(props) {
|
|
472
477
|
var article = props.article,
|
|
@@ -639,7 +644,7 @@ var Recommended = function Recommended(props) {
|
|
|
639
644
|
return _context.stop();
|
|
640
645
|
}
|
|
641
646
|
}
|
|
642
|
-
}, _callee, _this);
|
|
647
|
+
}, _callee, _this$2);
|
|
643
648
|
}));
|
|
644
649
|
|
|
645
650
|
return function getSegmentProfile() {
|
|
@@ -681,20 +686,20 @@ var Recommended = function Recommended(props) {
|
|
|
681
686
|
null,
|
|
682
687
|
React__default.createElement(
|
|
683
688
|
'h4',
|
|
684
|
-
{ className: styles
|
|
689
|
+
{ className: styles.recommendTitle },
|
|
685
690
|
'Recommended For You'
|
|
686
691
|
),
|
|
687
692
|
React__default.createElement(
|
|
688
693
|
'div',
|
|
689
|
-
{ className: styles
|
|
694
|
+
{ className: styles.recommendContainer, id: 'recommendedContent' },
|
|
690
695
|
articles.map(function (article, index) {
|
|
691
696
|
if (index === 0) {
|
|
692
697
|
return React__default.createElement(
|
|
693
698
|
'div',
|
|
694
|
-
{ key: article._id + ('-' + index), className: styles
|
|
699
|
+
{ key: article._id + ('-' + index), className: styles.recommendTop },
|
|
695
700
|
React__default.createElement(
|
|
696
701
|
'div',
|
|
697
|
-
{ className: styles
|
|
702
|
+
{ className: styles.recommendTopImg },
|
|
698
703
|
React__default.createElement(
|
|
699
704
|
'a',
|
|
700
705
|
{ href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit' },
|
|
@@ -703,20 +708,20 @@ var Recommended = function Recommended(props) {
|
|
|
703
708
|
),
|
|
704
709
|
React__default.createElement(
|
|
705
710
|
'div',
|
|
706
|
-
{ className: styles
|
|
711
|
+
{ className: styles.recommendTopBody },
|
|
707
712
|
React__default.createElement(
|
|
708
713
|
'div',
|
|
709
|
-
{ className: styles
|
|
714
|
+
{ className: styles.topTitle },
|
|
710
715
|
article.title
|
|
711
716
|
),
|
|
712
717
|
React__default.createElement(
|
|
713
718
|
'p',
|
|
714
|
-
{ className: styles
|
|
719
|
+
{ className: styles.topBody },
|
|
715
720
|
article.summary
|
|
716
721
|
),
|
|
717
722
|
React__default.createElement(
|
|
718
723
|
'a',
|
|
719
|
-
{ href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit', className: styles
|
|
724
|
+
{ href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit', className: styles.topLink },
|
|
720
725
|
'>> ',
|
|
721
726
|
'Read Article'
|
|
722
727
|
)
|
|
@@ -725,10 +730,10 @@ var Recommended = function Recommended(props) {
|
|
|
725
730
|
} else {
|
|
726
731
|
return React__default.createElement(
|
|
727
732
|
'div',
|
|
728
|
-
{ key: article._id + ('-' + index), className: styles
|
|
733
|
+
{ key: article._id + ('-' + index), className: styles.smContainer },
|
|
729
734
|
React__default.createElement(
|
|
730
735
|
'div',
|
|
731
|
-
{ className: styles
|
|
736
|
+
{ className: styles.category },
|
|
732
737
|
contentMapping[article.contentCategory.name.toLowerCase()] ? contentMapping[article.contentCategory.name.toLowerCase()] : article.contentCategory.name
|
|
733
738
|
),
|
|
734
739
|
React__default.createElement(
|
|
@@ -736,12 +741,12 @@ var Recommended = function Recommended(props) {
|
|
|
736
741
|
{ href: '/view/' + article.url.current + '?utm_source=website&utm_medium=dynamic_content&utm_campaign=in_feed_unit' },
|
|
737
742
|
React__default.createElement(
|
|
738
743
|
'div',
|
|
739
|
-
{ className: styles
|
|
744
|
+
{ className: styles.smImage },
|
|
740
745
|
React__default.createElement('img', { src: urlFor({ source: article.thumbnail, client: client, imageHeight: 270, imageWidth: 480 }) })
|
|
741
746
|
),
|
|
742
747
|
React__default.createElement(
|
|
743
748
|
'div',
|
|
744
|
-
{ className: styles
|
|
749
|
+
{ className: styles.title },
|
|
745
750
|
article.title
|
|
746
751
|
)
|
|
747
752
|
)
|
|
@@ -846,17 +851,6 @@ var RelevantTopics = function RelevantTopics(props) {
|
|
|
846
851
|
return null;
|
|
847
852
|
};
|
|
848
853
|
|
|
849
|
-
var checkDocGroupMappingForSeries = function checkDocGroupMappingForSeries(docGroupArray) {
|
|
850
|
-
|
|
851
|
-
for (var i = 0; i < docGroupArray.length; i++) {
|
|
852
|
-
if (docGroupArray[i].isSeries) {
|
|
853
|
-
return docGroupArray[i];
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
return false;
|
|
858
|
-
};
|
|
859
|
-
|
|
860
854
|
var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
861
855
|
var onVote = function () {
|
|
862
856
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(nodeKey, selectedChoice) {
|
|
@@ -908,16 +902,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
908
902
|
};
|
|
909
903
|
}();
|
|
910
904
|
|
|
911
|
-
var article = props.article,
|
|
912
|
-
Ads = props.Ads,
|
|
913
|
-
showRelatedArticles = props.showRelatedArticles,
|
|
914
|
-
_props$hideFBShare = props.hideFBShare,
|
|
915
|
-
hideFBShare = _props$hideFBShare === undefined ? false : _props$hideFBShare,
|
|
916
|
-
_props$hidePinterestS = props.hidePinterestShare,
|
|
917
|
-
hidePinterestShare = _props$hidePinterestS === undefined ? false : _props$hidePinterestS,
|
|
918
|
-
onChangeArticle = props.onChangeArticle,
|
|
919
|
-
_props$showSocialShar = props.showSocialShare,
|
|
920
|
-
showSocialShare = _props$showSocialShar === undefined ? true : _props$showSocialShar;
|
|
921
905
|
var client = props.client,
|
|
922
906
|
pageview = props.pageview,
|
|
923
907
|
videoAccountIDs = props.videoAccountIDs,
|
|
@@ -963,9 +947,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
963
947
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
964
948
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
965
949
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
966
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
967
|
-
|
|
968
|
-
_props$refreshFlag = props.refreshFlag,
|
|
950
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
951
|
+
props.active;
|
|
952
|
+
var _props$refreshFlag = props.refreshFlag,
|
|
969
953
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
970
954
|
disqusConfig = props.disqusConfig,
|
|
971
955
|
showDisqus = props.showDisqus,
|
|
@@ -975,7 +959,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
975
959
|
useSegmentRecommendedArticles = _props$useSegmentReco === undefined ? false : _props$useSegmentReco;
|
|
976
960
|
var sliderData = props.sliderData;
|
|
977
961
|
|
|
978
|
-
|
|
979
962
|
var disableEpisodeNumber = false;
|
|
980
963
|
if (article && article.documentGroup && article.documentGroup.disableEpisodeNumber === true) {
|
|
981
964
|
disableEpisodeNumber = true;
|
|
@@ -1058,9 +1041,9 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1058
1041
|
setContainerHeight = _useState12[1];
|
|
1059
1042
|
|
|
1060
1043
|
var _useState13 = useState(true),
|
|
1061
|
-
_useState14 = _slicedToArray(_useState13, 2)
|
|
1062
|
-
|
|
1063
|
-
setPreviewAd = _useState14[1];
|
|
1044
|
+
_useState14 = _slicedToArray(_useState13, 2);
|
|
1045
|
+
_useState14[0];
|
|
1046
|
+
var setPreviewAd = _useState14[1];
|
|
1064
1047
|
|
|
1065
1048
|
var _useState15 = useState(props.index === 0),
|
|
1066
1049
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
@@ -1093,6 +1076,13 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1093
1076
|
}, client.config()));
|
|
1094
1077
|
}
|
|
1095
1078
|
};
|
|
1079
|
+
var getAbstract = function getAbstract() {
|
|
1080
|
+
return article.abstract && article.abstract.map(function (block) {
|
|
1081
|
+
if (block.children) return block.children.map(function (child) {
|
|
1082
|
+
if (child._type === 'span') return child.text;
|
|
1083
|
+
});
|
|
1084
|
+
}).join(' ');
|
|
1085
|
+
};
|
|
1096
1086
|
var renderIsiContent = function renderIsiContent(article) {
|
|
1097
1087
|
var url = article.url.current;
|
|
1098
1088
|
|
|
@@ -1112,7 +1102,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1112
1102
|
}
|
|
1113
1103
|
if (authorDetails && authorDetails.length) {
|
|
1114
1104
|
authorDetails.map(function (authorDetail, index) {
|
|
1115
|
-
return fileContent += 'AU - ' + authorDetail.displayName + '\n';
|
|
1105
|
+
return fileContent += 'AU - ' + (authorDetail.firstName && authorDetail.lastName ? authorDetail.lastName + ', ' + authorDetail.firstName : '' + authorDetail.displayName) + '\n';
|
|
1116
1106
|
} //Author
|
|
1117
1107
|
);
|
|
1118
1108
|
}
|
|
@@ -1120,10 +1110,13 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1120
1110
|
fileContent += 'T2 - ' + issue.publication.name + '\n'; //Secondary Title - T2
|
|
1121
1111
|
fileContent += 'JF - ' + issue.publication.name + '\n'; //Journal Name - JF
|
|
1122
1112
|
}
|
|
1113
|
+
if (issue.name) {
|
|
1114
|
+
fileContent += 'T3 - ' + issue.name + '\n'; //Issue Name - T3
|
|
1115
|
+
}
|
|
1123
1116
|
if (issue.abbreviatedJournal) {
|
|
1124
1117
|
fileContent += 'JO - ' + issue.abbreviatedJournal + '\n'; //Journal Name - JO
|
|
1125
1118
|
}
|
|
1126
|
-
if (article.
|
|
1119
|
+
if (article.abstract) fileContent += 'AB - ' + getAbstract() + '\n'; //Abstract - AB
|
|
1127
1120
|
if (issue.issueNumber) fileContent += 'IS - ' + issue.issueNumber + '\n'; //Issue Number - IS
|
|
1128
1121
|
fileContent += 'PB - MJH Life Sciences\n'; //Publisher - PB
|
|
1129
1122
|
if (issue.year) fileContent += 'PY - ' + issue.year + '\n'; //Published Year - PY
|
|
@@ -1151,10 +1144,20 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1151
1144
|
fileContent += 'ER -\n'; //End of Record
|
|
1152
1145
|
return fileContent;
|
|
1153
1146
|
};
|
|
1147
|
+
var getAuthorList = function getAuthorList() {
|
|
1148
|
+
var authorList = '';
|
|
1149
|
+
if (authorDetails && authorDetails.length > 0) {
|
|
1150
|
+
authorDetails.map(function (author) {
|
|
1151
|
+
if (author.lastName && author.firstName) authorList += author.lastName + ',' + author.firstName + ';';else if (author.displayName) authorList += author.displayName + ';';
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
return authorList;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1154
1157
|
var downloadRIS = function downloadRIS() {
|
|
1155
1158
|
var fileContent = generateRIS();
|
|
1156
1159
|
var file = new File([fileContent], 'citation-' + url + '.ris', { type: 'application/x-research-info-systems;charset=utf-8' });
|
|
1157
|
-
|
|
1160
|
+
FileSaver_min.saveAs(file, 'citation-' + url + '.ris');
|
|
1158
1161
|
};
|
|
1159
1162
|
|
|
1160
1163
|
var RelevantTopics = function RelevantTopics() {
|
|
@@ -1536,8 +1539,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1536
1539
|
shareSubject = shareOptions.shareSubject,
|
|
1537
1540
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1538
1541
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1539
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1540
|
-
|
|
1542
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
1543
|
+
shareOptions.shareSiteTitle;
|
|
1541
1544
|
|
|
1542
1545
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1543
1546
|
var shareTitle = article.title;
|
|
@@ -1617,6 +1620,17 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1617
1620
|
React__default.createElement(
|
|
1618
1621
|
'div',
|
|
1619
1622
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1623
|
+
issue && React__default.createElement(
|
|
1624
|
+
Head,
|
|
1625
|
+
null,
|
|
1626
|
+
article.title && React__default.createElement('meta', { name: 'citation_title', content: article.title }),
|
|
1627
|
+
published && React__default.createElement('meta', { name: 'citation_date', content: moment(published).format('LL') }),
|
|
1628
|
+
issue.year && React__default.createElement('meta', { name: 'citation_year', content: issue.year }),
|
|
1629
|
+
issue.isbn_issn && React__default.createElement('meta', { name: 'citation_isbn', content: issue.isbn_issn }),
|
|
1630
|
+
article.abstract && React__default.createElement('meta', { name: 'citation_abstract', content: getAbstract() }),
|
|
1631
|
+
React__default.createElement('meta', { name: 'citation_author', content: getAuthorList() }),
|
|
1632
|
+
issue.pdf && React__default.createElement('meta', { name: 'citation_pdf_url', content: urlForFile({ asset: issue.pdf }) })
|
|
1633
|
+
),
|
|
1620
1634
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1621
1635
|
!isVideoSeries && React__default.createElement(
|
|
1622
1636
|
'div',
|
|
@@ -1638,7 +1652,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1638
1652
|
React__default.createElement(
|
|
1639
1653
|
'style',
|
|
1640
1654
|
{ jsx: 'true' },
|
|
1641
|
-
'\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n '
|
|
1655
|
+
'\n .social-ris-container {\n display: flex;\n justify-content: space-between;\n }\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n .social-ris-container {\n flex-direction: column;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n .left-wrap {\n width: 100%;\n }\n '
|
|
1642
1656
|
),
|
|
1643
1657
|
React__default.createElement(
|
|
1644
1658
|
'div',
|
|
@@ -1722,23 +1736,34 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1722
1736
|
'Pages: ' + pageNumber
|
|
1723
1737
|
)
|
|
1724
1738
|
),
|
|
1725
|
-
|
|
1726
|
-
'
|
|
1727
|
-
|
|
1728
|
-
React__default.createElement(
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1739
|
+
React__default.createElement(
|
|
1740
|
+
'div',
|
|
1741
|
+
{ className: 'social-ris-container' },
|
|
1742
|
+
!isVideoSeries && showSocialShare && React__default.createElement(
|
|
1743
|
+
'p',
|
|
1744
|
+
null,
|
|
1745
|
+
React__default.createElement(SocialShare, {
|
|
1746
|
+
shareUrl: shareUrl,
|
|
1747
|
+
shareTitle: shareTitle,
|
|
1748
|
+
shareVia: shareVia,
|
|
1749
|
+
shareSummary: shareSummary,
|
|
1750
|
+
shareSubject: shareSubject,
|
|
1751
|
+
shareImage: shareImage,
|
|
1752
|
+
size: 32,
|
|
1753
|
+
siteName: siteName,
|
|
1754
|
+
twitterSiteName: twitterSiteName,
|
|
1755
|
+
disableMeta: true,
|
|
1756
|
+
hidePinterest: hidePinterestShare,
|
|
1757
|
+
hideFacebook: hideFBShare
|
|
1758
|
+
})
|
|
1759
|
+
),
|
|
1760
|
+
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) && React__default.createElement(
|
|
1761
|
+
Button,
|
|
1762
|
+
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1763
|
+
return downloadRIS();
|
|
1764
|
+
} },
|
|
1765
|
+
'Download RIS'
|
|
1766
|
+
)
|
|
1742
1767
|
)
|
|
1743
1768
|
),
|
|
1744
1769
|
React__default.createElement(
|
|
@@ -1806,13 +1831,6 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1806
1831
|
React__default.createElement(
|
|
1807
1832
|
'div',
|
|
1808
1833
|
{ className: 'downloads-container' },
|
|
1809
|
-
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) && React__default.createElement(
|
|
1810
|
-
Button,
|
|
1811
|
-
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1812
|
-
return downloadRIS();
|
|
1813
|
-
} },
|
|
1814
|
-
'Download RIS'
|
|
1815
|
-
),
|
|
1816
1834
|
issue && issue.pdf && React__default.createElement(
|
|
1817
1835
|
'a',
|
|
1818
1836
|
{ rel: 'noopener', href: urlForFile({ asset: issue.pdf }), target: '_blank', title: 'Download issue' },
|
|
@@ -1905,9 +1923,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1905
1923
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1906
1924
|
Ads = props.Ads,
|
|
1907
1925
|
_props$maxListLength = props.maxListLength,
|
|
1908
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1909
|
-
|
|
1910
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1926
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1927
|
+
props.sponsoredTaxonomies;
|
|
1928
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1911
1929
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1912
1930
|
_props$authorPrefix = props.authorPrefix,
|
|
1913
1931
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -2187,7 +2205,18 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
2187
2205
|
);
|
|
2188
2206
|
};
|
|
2189
2207
|
|
|
2190
|
-
var
|
|
2208
|
+
var checkDocGroupMappingForSeries$1 = function checkDocGroupMappingForSeries(docGroupArray) {
|
|
2209
|
+
|
|
2210
|
+
for (var i = 0; i < docGroupArray.length; i++) {
|
|
2211
|
+
if (docGroupArray[i].isSeries) {
|
|
2212
|
+
return docGroupArray[i];
|
|
2213
|
+
}
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
return false;
|
|
2217
|
+
};
|
|
2218
|
+
|
|
2219
|
+
var _this = undefined;
|
|
2191
2220
|
|
|
2192
2221
|
var View = function View(props) {
|
|
2193
2222
|
var router = useRouter();
|
|
@@ -2197,9 +2226,9 @@ var View = function View(props) {
|
|
|
2197
2226
|
hideComments = _props$article.hideComments,
|
|
2198
2227
|
content_placement = _props$article.content_placement,
|
|
2199
2228
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
2200
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
2201
|
-
|
|
2202
|
-
Ads = props.Ads,
|
|
2229
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
2230
|
+
props.sponsoredTaxonomies;
|
|
2231
|
+
var Ads = props.Ads,
|
|
2203
2232
|
setCustomDimensions = props.setCustomDimensions,
|
|
2204
2233
|
gtagSetCustomDimensions = props.gtagSetCustomDimensions,
|
|
2205
2234
|
statusCode = props.statusCode,
|
|
@@ -2213,9 +2242,9 @@ var View = function View(props) {
|
|
|
2213
2242
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
2214
2243
|
var _props$article2 = props.article,
|
|
2215
2244
|
_props$article2$passw = _props$article2.passwordLock,
|
|
2216
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
2217
|
-
|
|
2218
|
-
title = _props$article2.title,
|
|
2245
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
2246
|
+
_props$article2.description;
|
|
2247
|
+
var title = _props$article2.title,
|
|
2219
2248
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
2220
2249
|
|
|
2221
2250
|
var _useState = useState(0),
|
|
@@ -2279,7 +2308,7 @@ var View = function View(props) {
|
|
|
2279
2308
|
if (article.documentGroup && article.documentGroup.isSeries) {
|
|
2280
2309
|
isMediaSeries = true;
|
|
2281
2310
|
}
|
|
2282
|
-
if (!article.documentGroup && article.documentGroupMapping && checkDocGroupMappingForSeries(article.documentGroupMapping)) {
|
|
2311
|
+
if (!article.documentGroup && article.documentGroupMapping && checkDocGroupMappingForSeries$1(article.documentGroupMapping)) {
|
|
2283
2312
|
isMediaSeries = true;
|
|
2284
2313
|
}
|
|
2285
2314
|
|
|
@@ -2291,7 +2320,6 @@ var View = function View(props) {
|
|
|
2291
2320
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !disableInfiniteScroll && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && !isMediaSeries && !showDisqus;
|
|
2292
2321
|
|
|
2293
2322
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
2294
|
-
description = null;
|
|
2295
2323
|
title = null;
|
|
2296
2324
|
}
|
|
2297
2325
|
|
|
@@ -2544,7 +2572,7 @@ View.returnGetInitialProps = function () {
|
|
|
2544
2572
|
return _context.stop();
|
|
2545
2573
|
}
|
|
2546
2574
|
}
|
|
2547
|
-
}, _callee, _this
|
|
2575
|
+
}, _callee, _this);
|
|
2548
2576
|
}));
|
|
2549
2577
|
|
|
2550
2578
|
return function (_x, _x2, _x3, _x4, _x5) {
|