@mjhls/mjh-framework 1.0.1005-next12-0001 → 1.0.1005-next12-0002
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/dist/cjs/AD-e1bb7536.js +1 -0
- package/dist/cjs/AD.js +1 -32
- package/dist/cjs/AD300x250-0bcfcd78.js +1 -0
- package/dist/cjs/AD300x250.js +1 -95
- package/dist/cjs/AD300x250x600-01659df6.js +1 -0
- package/dist/cjs/AD300x250x600.js +1 -112
- package/dist/cjs/AD728x90-c92f784d.js +1 -0
- package/dist/cjs/AD728x90.js +1 -109
- package/dist/cjs/ADFloatingFooter-f0650a0e.js +1 -0
- package/dist/cjs/ADFloatingFooter.js +1 -143
- package/dist/cjs/ADFooter-b3d98c5f.js +1 -0
- package/dist/cjs/ADFooter.js +1 -53
- package/dist/cjs/ADGutter-8451a0e7.js +1 -0
- package/dist/cjs/ADGutter.js +1 -115
- package/dist/cjs/ADInfeed-7019b746.js +1 -0
- package/dist/cjs/ADSkyscraper-2db48edc.js +1 -0
- package/dist/cjs/ADSkyscraper.js +1 -117
- package/dist/cjs/ADSponsoredResources-126ab84c.js +1 -0
- package/dist/cjs/ADSponsoredResources.js +1 -114
- package/dist/cjs/ADWebcast-26543865.js +1 -0
- package/dist/cjs/ADWebcast.js +1 -119
- package/dist/cjs/ADWelcome-6261c769.js +1 -0
- package/dist/cjs/ADWelcome.js +1 -166
- package/dist/cjs/ADlgInfeed-42059b30.js +1 -0
- package/dist/cjs/AccordionPanel-b018a969.js +1 -0
- package/dist/cjs/AccordionPanel.js +1 -94
- package/dist/cjs/AdSlot-8a0b4211.js +1 -0
- package/dist/cjs/AdSlot.js +1 -251
- package/dist/cjs/AdSlotsProvider-e06c4b39.js +1 -0
- package/dist/cjs/AdSlotsProvider.js +1 -183
- package/dist/cjs/AlgoliaSearch-05bab51c.js +1 -0
- package/dist/cjs/AlgoliaSearch.js +1 -195
- package/dist/cjs/AlphabeticList-94ed00ad.js +1 -0
- package/dist/cjs/AlphabeticList.js +1 -135
- package/dist/cjs/ArticleCarousel-6599cb34.js +1 -0
- package/dist/cjs/ArticleCarousel.js +1 -46
- package/dist/cjs/ArticleProgramLandingPage-2cc43252.js +1 -0
- package/dist/cjs/ArticleProgramLandingPage.js +1 -188
- package/dist/cjs/ArticleSeriesLandingPage-4af0758a.js +1 -0
- package/dist/cjs/ArticleSeriesLandingPage.js +1 -162
- package/dist/cjs/ArticleSeriesListing-476cb622.js +1 -0
- package/dist/cjs/ArticleSeriesListing.js +1 -315
- package/dist/cjs/Auth.js +1 -3514
- package/dist/cjs/AuthWrapper.js +1 -143
- package/dist/cjs/AuthorComponent-dd3ac7f5.js +1 -0
- package/dist/cjs/Beam.js +1 -350
- package/dist/cjs/Breadcrumbs-10474e7d.js +1 -0
- package/dist/cjs/Breadcrumbs.js +1 -107
- package/dist/cjs/CMEDeck-c7276c4c.js +1 -0
- package/dist/cjs/CMEDeck.js +1 -443
- package/dist/cjs/Column1-9a0e0262.js +1 -0
- package/dist/cjs/Column1.js +1 -39
- package/dist/cjs/Column2-47fa24ac.js +1 -0
- package/dist/cjs/Column2.js +1 -74
- package/dist/cjs/Column3-7407a3a2.js +1 -0
- package/dist/cjs/Column3.js +1 -143
- package/dist/cjs/ConferenceArticleCard-a48a5eb4.js +1 -0
- package/dist/cjs/ConferenceArticleCard.js +1 -93
- package/dist/cjs/ConferenceBanner-9fb497af.js +1 -0
- package/dist/cjs/ContentCard-0543793a.js +1 -0
- package/dist/cjs/ContentCardPaginated.js +1 -417
- package/dist/cjs/DeckContent.js +1 -507
- package/dist/cjs/DeckQueue.js +1 -403
- package/dist/cjs/DeckQueuePaginated.js +1 -348
- package/dist/cjs/Dfp-eb398ac3.js +1 -0
- package/dist/cjs/DropdownButton-3f21ccbf.js +6 -0
- package/dist/cjs/Dvm-4aab0fca.js +1 -0
- package/dist/cjs/EventsDeck-7614cec4.js +1 -0
- package/dist/cjs/EventsDeck.js +1 -884
- package/dist/cjs/ExternalResources-c1d4e253.js +1 -0
- package/dist/cjs/ExternalResources.js +1 -222
- package/dist/cjs/Feature-4254dfe3.js +1 -0
- package/dist/cjs/Feature.js +1 -129
- package/dist/cjs/ForbesHero-82c18210.js +1 -0
- package/dist/cjs/ForbesHero.js +1 -137
- package/dist/cjs/GridContent-6c8dd8e5.js +1 -0
- package/dist/cjs/GridContent.js +1 -828
- package/dist/cjs/GridContentPaginated.js +1 -704
- package/dist/cjs/GridHero-c6784d3f.js +1 -0
- package/dist/cjs/GridHero.js +1 -147
- package/dist/cjs/GroupDeck-6920bcf7.js +1 -0
- package/dist/cjs/GroupDeck.js +1 -314
- package/dist/cjs/HamMagazine.js +1 -602
- package/dist/cjs/HamburgerNav-02a13006.js +1 -0
- package/dist/cjs/Header-268a2cda.js +1 -0
- package/dist/cjs/Header.js +1 -39
- package/dist/cjs/HealthCareProfessionalModal.js +1 -78
- package/dist/cjs/Hero-79a1f7a3.js +1 -0
- package/dist/cjs/Hero.js +1 -48
- package/dist/cjs/HighlightenVideo-20edba55.js +1 -0
- package/dist/cjs/HighlightenVideo.js +1 -69
- package/dist/cjs/HorizontalArticleListing-4a44f354.js +1 -0
- package/dist/cjs/HorizontalArticleListing.js +1 -169
- package/dist/cjs/HorizontalHero-c5a3cb7a.js +1 -0
- package/dist/cjs/HorizontalHero.js +1 -111
- package/dist/cjs/ImageSlider-d1359f16.js +1 -0
- package/dist/cjs/IssueContentDeck-48a04696.js +1 -0
- package/dist/cjs/IssueContentDeck.js +1 -241
- package/dist/cjs/IssueDeck-41ebd17b.js +1 -0
- package/dist/cjs/IssueDeck.js +1 -268
- package/dist/cjs/IssueLanding-06765ae0.js +1 -0
- package/dist/cjs/IssueLanding.js +1 -176
- package/dist/cjs/KMTracker-4e1de793.js +1 -0
- package/dist/cjs/KMTracker.js +1 -27
- package/dist/cjs/LeftNav-c7283941.js +1 -0
- package/dist/cjs/LeftNav.js +1 -154
- package/dist/cjs/Magazine-0d15b137.js +1 -0
- package/dist/cjs/MasterDeck-0e168ac1.js +1 -0
- package/dist/cjs/MasterDeck.js +1 -555
- package/dist/cjs/MasterDeckPaginated.js +1 -469
- package/dist/cjs/MediaSeriesCard-07b6f758.js +1 -0
- package/dist/cjs/MediaSeriesLanding.js +1 -508
- package/dist/cjs/MediaSeriesLandingPaginated.js +1 -534
- package/dist/cjs/Native-ee78edeb.js +1 -0
- package/dist/cjs/NavDvm.js +1 -276
- package/dist/cjs/NavFooter-f905aca3.js +1 -0
- package/dist/cjs/NavMagazine.js +1 -613
- package/dist/cjs/NavNative.js +1 -880
- package/dist/cjs/Normal-ad14a1b1.js +1 -0
- package/dist/cjs/OncliveHero-5c7454fe.js +1 -0
- package/dist/cjs/OncliveHero.js +1 -79
- package/dist/cjs/OncliveLargeHero-46e0a793.js +1 -0
- package/dist/cjs/OncliveLargeHero.js +1 -241
- package/dist/cjs/PageFilter-bdffe62b.js +1 -0
- package/dist/cjs/PageFilter.js +1 -72
- package/dist/cjs/Pagination-825e4903.js +1 -0
- package/dist/cjs/PartnerDetailListing-848c514f.js +1 -0
- package/dist/cjs/PartnerDetailListing.js +1 -344
- package/dist/cjs/PartnerDetailListingPaginated.js +1 -353
- package/dist/cjs/PdfDownload-c99142ff.js +1 -0
- package/dist/cjs/PdfDownload.js +1 -28
- package/dist/cjs/PixelTracking.js +1 -165
- package/dist/cjs/PodcastsLanding.js +1 -236
- package/dist/cjs/PopUpModal-c1cbf9b6.js +1 -0
- package/dist/cjs/PopUpModal.js +1 -58
- package/dist/cjs/PtceDeck.js +1 -149
- package/dist/cjs/PubSection-08e834ca.js +1 -0
- package/dist/cjs/PubSection.js +1 -120
- package/dist/cjs/PubToc-6e2a3f50.js +1 -0
- package/dist/cjs/PubToc.js +1 -87
- package/dist/cjs/PublicationDeck-e242bd17.js +1 -0
- package/dist/cjs/PublicationDeck.js +1 -183
- package/dist/cjs/PublicationFeature-0e2014fb.js +1 -0
- package/dist/cjs/PublicationLanding-d54d80d4.js +1 -0
- package/dist/cjs/PublicationLanding.js +1 -853
- package/dist/cjs/Queue-8e0e436f.js +1 -0
- package/dist/cjs/QueueDeckExpanded-e420bdec.js +1 -0
- package/dist/cjs/QueueDeckExpanded.js +1 -1540
- package/dist/cjs/QueueDeckExpandedPaginated.js +1 -1388
- package/dist/cjs/RecentNews.js +1 -91
- package/dist/cjs/RelatedContent-4ac0ceca.js +1 -0
- package/dist/cjs/RelatedContent.js +1 -114
- package/dist/cjs/RelatedTopicsDropdown-4736b927.js +1 -0
- package/dist/cjs/RelatedTopicsDropdown.js +1 -90
- package/dist/cjs/RolesDeck-83cbb45e.js +1 -0
- package/dist/cjs/RolesDeck.js +1 -94
- package/dist/cjs/Schema-8c138aa8.js +1 -0
- package/dist/cjs/Schema.js +1 -103
- package/dist/cjs/Search.js +1 -66
- package/dist/cjs/Segment.js +1 -452
- package/dist/cjs/SeriesListingDeck.js +1 -248
- package/dist/cjs/SeriesSlider-720871f8.js +1 -0
- package/dist/cjs/SetCookie.js +1 -10
- package/dist/cjs/SideFooter-17e666a3.js +1 -0
- package/dist/cjs/SideFooter.js +1 -150
- package/dist/cjs/SocialIcons-425827d3.js +1 -0
- package/dist/cjs/SocialIcons.js +1 -103
- package/dist/cjs/SocialNavFooter-8f053a08.js +1 -0
- package/dist/cjs/SocialSearchComponent-dea3dbc8.js +1 -0
- package/dist/cjs/SocialShare-3d7c8abe.js +1 -0
- package/dist/cjs/SocialShare.js +1 -74
- package/dist/cjs/TaxonomyCard-e881cb43.js +1 -0
- package/dist/cjs/TaxonomyCard.js +1 -257
- package/dist/cjs/TaxonomyDescription-9a13ded6.js +1 -0
- package/dist/cjs/TaxonomyDescription.js +1 -209
- package/dist/cjs/TemplateNormal.js +1 -203
- package/dist/cjs/ThumbnailCard-101f04b8.js +1 -0
- package/dist/cjs/ThumbnailCard.js +1 -59
- package/dist/cjs/Ustream-b7692d0a.js +1 -0
- package/dist/cjs/Ustream.js +1 -156
- package/dist/cjs/VerticalHero-a61b1a2e.js +1 -0
- package/dist/cjs/VerticalHero.js +1 -74
- package/dist/cjs/VideoProgramLandingPage-5508836c.js +1 -0
- package/dist/cjs/VideoProgramLandingPage.js +1 -264
- package/dist/cjs/VideoSeriesCard.js +1 -88
- package/dist/cjs/VideoSeriesFilter-9650cf01.js +1 -0
- package/dist/cjs/VideoSeriesFilter.js +1 -128
- package/dist/cjs/VideoSeriesLandingPage-d1fae653.js +1 -0
- package/dist/cjs/VideoSeriesLandingPage.js +1 -178
- package/dist/cjs/VideoSeriesListing-91f5aa6d.js +1 -0
- package/dist/cjs/VideoSeriesListing.js +1 -422
- package/dist/cjs/View.js +1 -2680
- package/dist/cjs/YahooHero-2df6a408.js +1 -0
- package/dist/cjs/YahooHero.js +1 -126
- package/dist/cjs/YoutubeGroup-d8a93da0.js +1 -0
- package/dist/cjs/YoutubeGroup.js +1 -371
- package/dist/cjs/_commonjsHelpers-0a7b82d9.js +1 -0
- package/dist/cjs/beam-aaf6fbe9.js +1 -0
- package/dist/cjs/checkSisterSite-d2d62375.js +1 -0
- package/dist/cjs/defineProperty-ba7cd53d.js +1 -0
- package/dist/cjs/entities-8feddf1d.js +1 -0
- package/dist/cjs/extends-5ede7877.js +1 -0
- package/dist/cjs/faundadb.js +1 -406
- package/dist/cjs/getContentCategory-ee6d9fdf.js +1 -0
- package/dist/cjs/getKeywords-5341ea76.js +1 -0
- package/dist/cjs/getKeywords.js +1 -46
- package/dist/cjs/getPrototypeOf-99b1cfd8.js +1 -0
- package/dist/cjs/getPtceActivities.js +1 -89
- package/dist/cjs/getQuery-154617ad.js +1 -0
- package/dist/cjs/getQuery.js +1 -28
- package/dist/cjs/getRelatedArticle-dbed93dc.js +1 -0
- package/dist/cjs/getRelatedArticle.js +1 -478
- package/dist/cjs/getRootDocGroup.js +1 -62
- package/dist/cjs/getSerializers.js +1 -68
- package/dist/cjs/getSeriesDetail-e2980903.js +1 -0
- package/dist/cjs/getSeriesDetail.js +1 -40
- package/dist/cjs/getTargeting-a1ecaa0b.js +1 -0
- package/dist/cjs/getTargeting.js +1 -13
- package/dist/cjs/index-14c8083b.js +1 -0
- package/dist/cjs/index-3291d44c.js +1 -0
- package/dist/cjs/index-5cca2099.js +1 -0
- package/dist/cjs/index-66647f61.js +1 -0
- package/dist/cjs/index.js +1 -643
- package/dist/cjs/searchForm-bb5e3dbf.js +1 -0
- package/dist/cjs/segment-lib-7a16e514.js +1 -0
- package/dist/cjs/setCookie-e72f573d.js +1 -0
- package/dist/cjs/slicedToArray-c9e22c6a.js +1 -0
- package/dist/cjs/style-inject.es-dcee06b6.js +1 -30
- package/dist/cjs/timeDifferenceCalc.js +1 -39
- package/dist/cjs/toConsumableArray-7afb7984.js +1 -0
- package/dist/cjs/typeof-a861d137.js +1 -0
- package/dist/cjs/unsupportedIterableToArray-294d47a8.js +1 -0
- package/dist/cjs/urlFor-86a2f4db.js +1 -0
- package/dist/cjs/urlFor.js +1 -65
- package/dist/cjs/urlForFile-52afb8e9.js +1 -0
- package/dist/cjs/ustream-api-05a918f3.js +1 -0
- package/dist/esm/AD-8a57f623.js +1 -0
- package/dist/esm/AD.js +1 -26
- package/dist/esm/AD300x250-10ccde99.js +1 -0
- package/dist/esm/AD300x250.js +1 -89
- package/dist/esm/AD300x250x600-10e29b3d.js +1 -0
- package/dist/esm/AD300x250x600.js +1 -106
- package/dist/esm/AD728x90-2b0e930d.js +1 -0
- package/dist/esm/AD728x90.js +1 -103
- package/dist/esm/ADFloatingFooter-f23caacf.js +1 -0
- package/dist/esm/ADFloatingFooter.js +1 -137
- package/dist/esm/ADFooter-4c20b5fc.js +1 -0
- package/dist/esm/ADFooter.js +1 -47
- package/dist/esm/ADGutter-59cf52e3.js +1 -0
- package/dist/esm/ADGutter.js +1 -109
- package/dist/esm/ADInfeed-8ce85d87.js +1 -0
- package/dist/esm/ADSkyscraper-bfd33e46.js +1 -0
- package/dist/esm/ADSkyscraper.js +1 -111
- package/dist/esm/ADSponsoredResources-0410407c.js +1 -0
- package/dist/esm/ADSponsoredResources.js +1 -108
- package/dist/esm/ADWebcast-6f27e384.js +1 -0
- package/dist/esm/ADWebcast.js +1 -113
- package/dist/esm/ADWelcome-421d5621.js +1 -0
- package/dist/esm/ADWelcome.js +1 -160
- package/dist/esm/ADlgInfeed-19d0f057.js +1 -0
- package/dist/esm/AccordionPanel-123022f0.js +1 -0
- package/dist/esm/AccordionPanel.js +1 -87
- package/dist/esm/AdSlot-16696371.js +1 -0
- package/dist/esm/AdSlot.js +1 -244
- package/dist/esm/AdSlotsProvider-5ead284e.js +1 -0
- package/dist/esm/AdSlotsProvider.js +1 -176
- package/dist/esm/AlgoliaSearch-1343b721.js +1 -0
- package/dist/esm/AlgoliaSearch.js +1 -188
- package/dist/esm/AlphabeticList-f1ca5612.js +1 -0
- package/dist/esm/AlphabeticList.js +1 -129
- package/dist/esm/ArticleCarousel-ba29666c.js +1 -0
- package/dist/esm/ArticleCarousel.js +1 -40
- package/dist/esm/ArticleProgramLandingPage-d996da8f.js +1 -0
- package/dist/esm/ArticleProgramLandingPage.js +1 -182
- package/dist/esm/ArticleSeriesLandingPage-67cda955.js +1 -0
- package/dist/esm/ArticleSeriesLandingPage.js +1 -156
- package/dist/esm/ArticleSeriesListing-22e8f5a6.js +1 -0
- package/dist/esm/ArticleSeriesListing.js +1 -308
- package/dist/esm/Auth.js +1 -3494
- package/dist/esm/AuthWrapper.js +1 -136
- package/dist/esm/AuthorComponent-f3e14fdd.js +1 -0
- package/dist/esm/Beam.js +1 -348
- package/dist/esm/Breadcrumbs-8838701e.js +1 -0
- package/dist/esm/Breadcrumbs.js +1 -100
- package/dist/esm/CMEDeck-182d8eb7.js +1 -0
- package/dist/esm/CMEDeck.js +1 -437
- package/dist/esm/Column1-3304e0a7.js +1 -0
- package/dist/esm/Column1.js +1 -29
- package/dist/esm/Column2-2d42433b.js +1 -0
- package/dist/esm/Column2.js +1 -64
- package/dist/esm/Column3-94c8661b.js +1 -0
- package/dist/esm/Column3.js +1 -133
- package/dist/esm/ConferenceArticleCard-c10c5b7f.js +1 -0
- package/dist/esm/ConferenceArticleCard.js +1 -87
- package/dist/esm/ConferenceBanner-8a6f3ed9.js +1 -0
- package/dist/esm/ContentCard-01c2e43a.js +1 -0
- package/dist/esm/ContentCardPaginated.js +1 -406
- package/dist/esm/DeckContent.js +1 -497
- package/dist/esm/DeckQueue.js +1 -393
- package/dist/esm/DeckQueuePaginated.js +1 -337
- package/dist/esm/Dfp-c3c626b1.js +1 -0
- package/dist/esm/DropdownButton-c4621022.js +6 -0
- package/dist/esm/Dvm-138f924d.js +1 -0
- package/dist/esm/EventsDeck-e5aad41d.js +1 -0
- package/dist/esm/EventsDeck.js +1 -871
- package/dist/esm/ExternalResources-e9656681.js +1 -0
- package/dist/esm/ExternalResources.js +1 -215
- package/dist/esm/Feature-69a30cea.js +1 -0
- package/dist/esm/Feature.js +1 -122
- package/dist/esm/ForbesHero-0b0a5436.js +1 -0
- package/dist/esm/ForbesHero.js +1 -131
- package/dist/esm/GridContent-d8df59ae.js +1 -0
- package/dist/esm/GridContent.js +1 -818
- package/dist/esm/GridContentPaginated.js +1 -693
- package/dist/esm/GridHero-0d17636c.js +1 -0
- package/dist/esm/GridHero.js +1 -141
- package/dist/esm/GroupDeck-4c581822.js +1 -0
- package/dist/esm/GroupDeck.js +1 -308
- package/dist/esm/HamMagazine.js +1 -590
- package/dist/esm/HamburgerNav-5fcf79ae.js +1 -0
- package/dist/esm/Header-b0624adc.js +1 -0
- package/dist/esm/Header.js +1 -30
- package/dist/esm/HealthCareProfessionalModal.js +1 -70
- package/dist/esm/Hero-1b663f28.js +1 -0
- package/dist/esm/Hero.js +1 -42
- package/dist/esm/HighlightenVideo-5c3fd0fd.js +1 -0
- package/dist/esm/HighlightenVideo.js +1 -63
- package/dist/esm/HorizontalArticleListing-cccace2e.js +1 -0
- package/dist/esm/HorizontalArticleListing.js +1 -163
- package/dist/esm/HorizontalHero-8633a55c.js +1 -0
- package/dist/esm/HorizontalHero.js +1 -105
- package/dist/esm/ImageSlider-c354db50.js +1 -0
- package/dist/esm/IssueContentDeck-915409a7.js +1 -0
- package/dist/esm/IssueContentDeck.js +1 -231
- package/dist/esm/IssueDeck-61a4a550.js +1 -0
- package/dist/esm/IssueDeck.js +1 -258
- package/dist/esm/IssueLanding-a59c91ee.js +1 -0
- package/dist/esm/IssueLanding.js +1 -170
- package/dist/esm/KMTracker-d9e1c288.js +1 -0
- package/dist/esm/KMTracker.js +1 -25
- package/dist/esm/LeftNav-a3852fbe.js +1 -0
- package/dist/esm/LeftNav.js +1 -145
- package/dist/esm/Magazine-7d6e5dcd.js +1 -0
- package/dist/esm/MasterDeck-41c7cd70.js +1 -0
- package/dist/esm/MasterDeck.js +1 -548
- package/dist/esm/MasterDeckPaginated.js +1 -461
- package/dist/esm/MediaSeriesCard-cf72ce87.js +1 -0
- package/dist/esm/MediaSeriesLanding.js +1 -501
- package/dist/esm/MediaSeriesLandingPaginated.js +1 -527
- package/dist/esm/Native-bf89940a.js +1 -0
- package/dist/esm/NavDvm.js +1 -264
- package/dist/esm/NavFooter-83d89acd.js +1 -0
- package/dist/esm/NavMagazine.js +1 -601
- package/dist/esm/NavNative.js +1 -865
- package/dist/esm/Normal-06895213.js +1 -0
- package/dist/esm/OncliveHero-19794e52.js +1 -0
- package/dist/esm/OncliveHero.js +1 -73
- package/dist/esm/OncliveLargeHero-01d4c10f.js +1 -0
- package/dist/esm/OncliveLargeHero.js +1 -235
- package/dist/esm/PageFilter-81144bcb.js +1 -0
- package/dist/esm/PageFilter.js +1 -66
- package/dist/esm/Pagination-44c3ff7c.js +1 -0
- package/dist/esm/PartnerDetailListing-429d60e1.js +1 -0
- package/dist/esm/PartnerDetailListing.js +1 -338
- package/dist/esm/PartnerDetailListingPaginated.js +1 -347
- package/dist/esm/PdfDownload-eff648d3.js +1 -0
- package/dist/esm/PdfDownload.js +1 -22
- package/dist/esm/PixelTracking.js +1 -156
- package/dist/esm/PodcastsLanding.js +1 -229
- package/dist/esm/PopUpModal-a2735a23.js +1 -0
- package/dist/esm/PopUpModal.js +1 -51
- package/dist/esm/PtceDeck.js +1 -143
- package/dist/esm/PubSection-3d940b53.js +1 -0
- package/dist/esm/PubSection.js +1 -114
- package/dist/esm/PubToc-52a85696.js +1 -0
- package/dist/esm/PubToc.js +1 -81
- package/dist/esm/PublicationDeck-538d397e.js +1 -0
- package/dist/esm/PublicationDeck.js +1 -173
- package/dist/esm/PublicationFeature-6deea07c.js +1 -0
- package/dist/esm/PublicationLanding-48ebce9b.js +1 -0
- package/dist/esm/PublicationLanding.js +1 -843
- package/dist/esm/Queue-847df47f.js +1 -0
- package/dist/esm/QueueDeckExpanded-fdc60f72.js +1 -0
- package/dist/esm/QueueDeckExpanded.js +1 -1534
- package/dist/esm/QueueDeckExpandedPaginated.js +1 -1382
- package/dist/esm/RecentNews.js +1 -85
- package/dist/esm/RelatedContent-f3eaad29.js +1 -0
- package/dist/esm/RelatedContent.js +1 -108
- package/dist/esm/RelatedTopicsDropdown-0cf5829a.js +1 -0
- package/dist/esm/RelatedTopicsDropdown.js +1 -82
- package/dist/esm/RolesDeck-6146633e.js +1 -0
- package/dist/esm/RolesDeck.js +1 -84
- package/dist/esm/Schema-c7f42de0.js +1 -0
- package/dist/esm/Schema.js +1 -97
- package/dist/esm/Search.js +1 -57
- package/dist/esm/Segment.js +1 -450
- package/dist/esm/SeriesListingDeck.js +1 -242
- package/dist/esm/SeriesSlider-a00cd257.js +1 -0
- package/dist/esm/SetCookie.js +1 -8
- package/dist/esm/SideFooter-7cd5abc0.js +1 -0
- package/dist/esm/SideFooter.js +1 -144
- package/dist/esm/SocialIcons-c7861c13.js +1 -0
- package/dist/esm/SocialIcons.js +1 -97
- package/dist/esm/SocialNavFooter-66c6cf3c.js +1 -0
- package/dist/esm/SocialSearchComponent-e74e11f8.js +1 -0
- package/dist/esm/SocialShare-9cc43665.js +1 -0
- package/dist/esm/SocialShare.js +1 -67
- package/dist/esm/TaxonomyCard-507f5c95.js +1 -0
- package/dist/esm/TaxonomyCard.js +1 -247
- package/dist/esm/TaxonomyDescription-ee6ae52e.js +1 -0
- package/dist/esm/TaxonomyDescription.js +1 -202
- package/dist/esm/TemplateNormal.js +1 -196
- package/dist/esm/ThumbnailCard-b7a3af71.js +1 -0
- package/dist/esm/ThumbnailCard.js +1 -52
- package/dist/esm/Ustream-29dc2277.js +1 -0
- package/dist/esm/Ustream.js +1 -150
- package/dist/esm/VerticalHero-ffc93a70.js +1 -0
- package/dist/esm/VerticalHero.js +1 -68
- package/dist/esm/VideoProgramLandingPage-179db5b2.js +1 -0
- package/dist/esm/VideoProgramLandingPage.js +1 -255
- package/dist/esm/VideoSeriesCard.js +1 -82
- package/dist/esm/VideoSeriesFilter-b6bd4c07.js +1 -0
- package/dist/esm/VideoSeriesFilter.js +1 -122
- package/dist/esm/VideoSeriesLandingPage-180a2469.js +1 -0
- package/dist/esm/VideoSeriesLandingPage.js +1 -172
- package/dist/esm/VideoSeriesListing-62650a53.js +1 -0
- package/dist/esm/VideoSeriesListing.js +1 -415
- package/dist/esm/View.js +1 -2669
- package/dist/esm/YahooHero-ddfeb2a5.js +1 -0
- package/dist/esm/YahooHero.js +1 -120
- package/dist/esm/YoutubeGroup-1dd6f1ba.js +1 -0
- package/dist/esm/YoutubeGroup.js +1 -365
- package/dist/esm/_commonjsHelpers-57e89916.js +1 -0
- package/dist/esm/beam-50a5c4d8.js +1 -0
- package/dist/esm/checkSisterSite-20e2bf62.js +1 -0
- package/dist/esm/defineProperty-18999f8e.js +1 -0
- package/dist/esm/entities-8b138943.js +1 -0
- package/dist/esm/extends-e61fd370.js +1 -0
- package/dist/esm/faundadb.js +1 -396
- package/dist/esm/getContentCategory-f99fdf90.js +1 -0
- package/dist/esm/getKeywords-2512775a.js +1 -0
- package/dist/esm/getKeywords.js +1 -44
- package/dist/esm/getPrototypeOf-a8361cb6.js +1 -0
- package/dist/esm/getPtceActivities.js +1 -87
- package/dist/esm/getQuery-bfc0390c.js +1 -0
- package/dist/esm/getQuery.js +1 -26
- package/dist/esm/getRelatedArticle-66a08458.js +1 -0
- package/dist/esm/getRelatedArticle.js +1 -476
- package/dist/esm/getRootDocGroup.js +1 -60
- package/dist/esm/getSerializers.js +1 -62
- package/dist/esm/getSeriesDetail-aef9680c.js +1 -0
- package/dist/esm/getSeriesDetail.js +1 -38
- package/dist/esm/getTargeting-eeb7bb6a.js +1 -0
- package/dist/esm/getTargeting.js +1 -7
- package/dist/esm/index-00bbf2b1.js +1 -0
- package/dist/esm/index-24498aa0.js +1 -0
- package/dist/esm/index-541d17f5.js +1 -0
- package/dist/esm/index-a96a4f73.js +1 -0
- package/dist/esm/index.js +1 -536
- package/dist/esm/searchForm-8218e558.js +1 -0
- package/dist/esm/segment-lib-3a19dbdd.js +1 -0
- package/dist/esm/setCookie-0f2ab6df.js +1 -0
- package/dist/esm/slicedToArray-f57adb2c.js +1 -0
- package/dist/esm/style-inject.es-1f59c1d0.js +1 -28
- package/dist/esm/timeDifferenceCalc.js +1 -37
- package/dist/esm/toConsumableArray-2f86a0c1.js +1 -0
- package/dist/esm/typeof-92b42de1.js +1 -0
- package/dist/esm/unsupportedIterableToArray-b359dd50.js +1 -0
- package/dist/esm/urlFor-649884fa.js +1 -0
- package/dist/esm/urlFor.js +1 -63
- package/dist/esm/urlForFile-3b87fb01.js +1 -0
- package/dist/esm/ustream-api-7998d140.js +1 -0
- package/package.json +21 -20
- package/dist/cjs/ADInfeed-08a6ef56.js +0 -66
- package/dist/cjs/ADlgInfeed-f46139b2.js +0 -60
- package/dist/cjs/AuthorComponent-17e1c62b.js +0 -96
- package/dist/cjs/BlockContent-8b494587.js +0 -916
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/Dfp-bcaa7e3f.js +0 -103
- package/dist/cjs/ImageSlider-10cd194f.js +0 -1383
- package/dist/cjs/MediaSeriesCard-a6e3f32e.js +0 -81
- package/dist/cjs/NavFooter-4799de4b.js +0 -71
- package/dist/cjs/Pagination-7624a3bd.js +0 -90
- package/dist/cjs/PublicationFeature-6f89fb97.js +0 -130
- package/dist/cjs/SeriesSlider-08699353.js +0 -332
- package/dist/cjs/SocialSearchComponent-59192efd.js +0 -213
- package/dist/cjs/Tooltip-7be5df78.js +0 -9229
- package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
- package/dist/cjs/_is-array-aa52fa1e.js +0 -74
- package/dist/cjs/_iter-detect-05795553.js +0 -52
- package/dist/cjs/_library-dd23b178.js +0 -5
- package/dist/cjs/_object-pie-68c5bcbc.js +0 -16
- package/dist/cjs/_object-sap-171b9ea5.js +0 -16
- package/dist/cjs/_object-to-array-9bac8737.js +0 -25
- package/dist/cjs/asyncToGenerator-df19209d.js +0 -1395
- package/dist/cjs/brightcove-react-player-loader.es-5c98aec7.js +0 -2232
- package/dist/cjs/checkSisterSite-b29833b2.js +0 -19
- package/dist/cjs/core.get-iterator-method-f3c44602.js +0 -584
- package/dist/cjs/debounce-529c8d06.js +0 -216
- package/dist/cjs/define-property-21887c62.js +0 -20
- package/dist/cjs/entities-310b46ee.js +0 -506
- package/dist/cjs/eq-bb2843ed.js +0 -79
- package/dist/cjs/extends-7df78678.js +0 -86
- package/dist/cjs/get-adbb11e3.js +0 -920
- package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
- package/dist/cjs/getTargeting-5eabd6e2.js +0 -164
- package/dist/cjs/iconBase-68959171.js +0 -84
- package/dist/cjs/index-187c967e.js +0 -54
- package/dist/cjs/index-44481153.js +0 -1664
- package/dist/cjs/index-99edf08a.js +0 -1572
- package/dist/cjs/index-9d365128.js +0 -613
- package/dist/cjs/index-b278e08f.js +0 -10526
- package/dist/cjs/index-b5eb3ff8.js +0 -551
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/index.es-f3e47207.js +0 -445
- package/dist/cjs/index.esm-44f3e2d0.js +0 -13
- package/dist/cjs/index.esm-48e0f0d8.js +0 -19
- package/dist/cjs/index.esm-f4cf6943.js +0 -97
- package/dist/cjs/index.esm-f93506ac.js +0 -25
- package/dist/cjs/inherits-420ee86f.js +0 -185
- package/dist/cjs/isSymbol-04666465.js +0 -209
- package/dist/cjs/js.cookie-a511c430.js +0 -160
- package/dist/cjs/keys-d207942e.js +0 -25
- package/dist/cjs/lodash-7fd85bcf.js +0 -17147
- package/dist/cjs/main-7b5e57b0.js +0 -898
- package/dist/cjs/md5-e1ca5797.js +0 -323
- package/dist/cjs/moment-ca3bd9fb.js +0 -5669
- package/dist/cjs/react-social-icons-07939b41.js +0 -616
- package/dist/cjs/slicedToArray-f6d4eaa8.js +0 -95
- package/dist/cjs/smoothscroll-5054361f.js +0 -438
- package/dist/cjs/stringify-bbc68047.js +0 -17
- package/dist/cjs/toConsumableArray-c9b8a0d0.js +0 -74
- package/dist/cjs/toNumber-36d1e7e5.js +0 -69
- package/dist/cjs/typeof-ec08d471.js +0 -382
- package/dist/cjs/urlForFile-ad96158c.js +0 -24
- package/dist/cjs/ustream-api-9ebe112f.js +0 -106
- package/dist/cjs/util-f2c1b65b.js +0 -576
- package/dist/cjs/visibility-sensor-eb2c5b69.js +0 -597
- package/dist/cjs/web.dom.iterable-e34bf324.js +0 -50
- package/dist/esm/ADInfeed-36973a76.js +0 -59
- package/dist/esm/ADlgInfeed-f6e898d5.js +0 -54
- package/dist/esm/AuthorComponent-b0a47123.js +0 -90
- package/dist/esm/BlockContent-d05b5b23.js +0 -909
- package/dist/esm/ConferenceBanner-9162d0ca.js +0 -18
- package/dist/esm/Dfp-e151d2de.js +0 -96
- package/dist/esm/ImageSlider-5ae6287a.js +0 -1375
- package/dist/esm/MediaSeriesCard-66045ffb.js +0 -75
- package/dist/esm/NavFooter-da30eae3.js +0 -65
- package/dist/esm/Pagination-1e09918f.js +0 -82
- package/dist/esm/PublicationFeature-0379cc20.js +0 -121
- package/dist/esm/SeriesSlider-b364d074.js +0 -326
- package/dist/esm/SocialSearchComponent-09b55779.js +0 -204
- package/dist/esm/Tooltip-af3e4ee9.js +0 -9220
- package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
- package/dist/esm/_is-array-31d40a83.js +0 -71
- package/dist/esm/_iter-detect-72edfd60.js +0 -48
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-pie-33c40e79.js +0 -13
- package/dist/esm/_object-sap-4201ccf6.js +0 -14
- package/dist/esm/_object-to-array-fa0feeff.js +0 -23
- package/dist/esm/asyncToGenerator-9c835201.js +0 -1387
- package/dist/esm/brightcove-react-player-loader.es-4abff0b1.js +0 -2226
- package/dist/esm/checkSisterSite-baa4fb6b.js +0 -17
- package/dist/esm/core.get-iterator-method-8c71f470.js +0 -547
- package/dist/esm/debounce-9207d8ee.js +0 -214
- package/dist/esm/define-property-a8a00786.js +0 -18
- package/dist/esm/entities-7cc3bf45.js +0 -503
- package/dist/esm/eq-b470f743.js +0 -76
- package/dist/esm/extends-7fbbe94e.js +0 -83
- package/dist/esm/get-1e515072.js +0 -918
- package/dist/esm/getContentCategory-15dcc413.js +0 -9
- package/dist/esm/getTargeting-eed01f73.js +0 -161
- package/dist/esm/iconBase-602d52fe.js +0 -81
- package/dist/esm/index-1819118a.js +0 -1655
- package/dist/esm/index-3a7c5bbe.js +0 -10504
- package/dist/esm/index-51a80699.js +0 -548
- package/dist/esm/index-6c12bdd5.js +0 -605
- package/dist/esm/index-c7e2ac95.js +0 -52
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/index-fa2ffe86.js +0 -1570
- package/dist/esm/index.es-c6222053.js +0 -439
- package/dist/esm/index.esm-55f22b35.js +0 -14
- package/dist/esm/index.esm-9d701385.js +0 -90
- package/dist/esm/index.esm-c6715e80.js +0 -10
- package/dist/esm/index.esm-d1125763.js +0 -18
- package/dist/esm/inherits-d26c739e.js +0 -179
- package/dist/esm/isSymbol-1981418f.js +0 -203
- package/dist/esm/js.cookie-6874175c.js +0 -158
- package/dist/esm/keys-5e9bd229.js +0 -23
- package/dist/esm/lodash-ec8c6b48.js +0 -17145
- package/dist/esm/main-43ca42fe.js +0 -886
- package/dist/esm/md5-4e42248e.js +0 -321
- package/dist/esm/moment-b6f49411.js +0 -5667
- package/dist/esm/react-social-icons-3822f1ce.js +0 -609
- package/dist/esm/slicedToArray-99bcfd93.js +0 -92
- package/dist/esm/smoothscroll-0cd4c7a6.js +0 -436
- package/dist/esm/stringify-0c65d837.js +0 -15
- package/dist/esm/toConsumableArray-47a5394a.js +0 -71
- package/dist/esm/toNumber-2f7a84cd.js +0 -67
- package/dist/esm/typeof-d92ed6e0.js +0 -378
- package/dist/esm/urlForFile-0fc42ed8.js +0 -22
- package/dist/esm/ustream-api-cbba615a.js +0 -104
- package/dist/esm/util-7700fc59.js +0 -574
- package/dist/esm/visibility-sensor-f40c2564.js +0 -590
- package/dist/esm/web.dom.iterable-406140e0.js +0 -48
|
@@ -1,182 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './toConsumableArray-47a5394a.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
17
|
-
import 'react-bootstrap/Container';
|
|
18
|
-
import 'react-bootstrap/Row';
|
|
19
|
-
import 'react-bootstrap/Col';
|
|
20
|
-
import './moment-b6f49411.js';
|
|
21
|
-
import 'next/router';
|
|
22
|
-
import './isSymbol-1981418f.js';
|
|
23
|
-
import './debounce-9207d8ee.js';
|
|
24
|
-
import './toNumber-2f7a84cd.js';
|
|
25
|
-
import './index.es-c6222053.js';
|
|
26
|
-
import 'react-dom';
|
|
27
|
-
import './visibility-sensor-f40c2564.js';
|
|
28
|
-
import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
|
|
29
|
-
import './index-51a80699.js';
|
|
30
|
-
import './urlFor.js';
|
|
31
|
-
import './index-6c12bdd5.js';
|
|
32
|
-
import './main-43ca42fe.js';
|
|
33
|
-
import './entities-7cc3bf45.js';
|
|
34
|
-
import './stringify-0c65d837.js';
|
|
35
|
-
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-9c835201.js';
|
|
36
|
-
import './Segment.js';
|
|
37
|
-
import './Beam.js';
|
|
38
|
-
import './AdSlot.js';
|
|
39
|
-
import 'react-bootstrap/Button';
|
|
40
|
-
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
41
|
-
import './checkSisterSite-baa4fb6b.js';
|
|
42
|
-
import './index-c7e2ac95.js';
|
|
43
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
44
|
-
import './GroupDeck.js';
|
|
45
|
-
import './YoutubeGroup.js';
|
|
46
|
-
import 'react-bootstrap';
|
|
47
|
-
import './iconBase-602d52fe.js';
|
|
48
|
-
import './index.esm-55f22b35.js';
|
|
49
|
-
import ArticleSeriesListing from './ArticleSeriesListing.js';
|
|
50
|
-
import { g as getSerializers } from './index-3a7c5bbe.js';
|
|
51
|
-
import './util-7700fc59.js';
|
|
52
|
-
import './urlForFile-0fc42ed8.js';
|
|
53
|
-
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
54
|
-
import './_object-to-array-fa0feeff.js';
|
|
55
|
-
import './keys-5e9bd229.js';
|
|
56
|
-
import 'react-bootstrap/Modal';
|
|
57
|
-
import 'react-bootstrap/Form';
|
|
58
|
-
import 'react-ga';
|
|
59
|
-
import 'next/head';
|
|
60
|
-
import 'react-share';
|
|
61
|
-
import './SocialShare.js';
|
|
62
|
-
import 'react-bootstrap/Pagination';
|
|
63
|
-
import 'react-bootstrap/Figure';
|
|
64
|
-
import 'react-bootstrap/OverlayTrigger';
|
|
65
|
-
import 'react-bootstrap/Tooltip';
|
|
66
|
-
import 'react-bootstrap/Popover';
|
|
67
|
-
import 'react-script-tag';
|
|
68
|
-
|
|
69
|
-
var _this = undefined;
|
|
70
|
-
|
|
71
|
-
var ArticleProgramLandingPage = function ArticleProgramLandingPage(props) {
|
|
72
|
-
var client = props.client,
|
|
73
|
-
posts = props.posts,
|
|
74
|
-
mapping = props.mapping,
|
|
75
|
-
query = props.query,
|
|
76
|
-
params = props.params,
|
|
77
|
-
currentPage = props.currentPage,
|
|
78
|
-
pageview = props.pageview,
|
|
79
|
-
_props$columns = props.columns,
|
|
80
|
-
columns = _props$columns === undefined ? 'rotate' : _props$columns,
|
|
81
|
-
_props$variant = props.variant,
|
|
82
|
-
variant = _props$variant === undefined ? 'top' : _props$variant,
|
|
83
|
-
_props$page = props.page,
|
|
84
|
-
page = _props$page === undefined ? '' : _props$page,
|
|
85
|
-
_props$defaultImage = props.defaultImage,
|
|
86
|
-
defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage,
|
|
87
|
-
virtualBlock = props.virtualBlock,
|
|
88
|
-
pageDescription = props.pageDescription,
|
|
89
|
-
_props$autoScroll = props.autoScroll,
|
|
90
|
-
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll;
|
|
91
|
-
|
|
92
|
-
return React.createElement(
|
|
93
|
-
'div',
|
|
94
|
-
null,
|
|
95
|
-
virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
96
|
-
pageDescription && React.createElement(
|
|
97
|
-
'div',
|
|
98
|
-
{ className: 'mb-3' },
|
|
99
|
-
pageDescription.image && React.createElement('img', { className: 'mb-3 w-100', src: pageDescription.image, alt: pageDescription.imageAlt || '' }),
|
|
100
|
-
pageDescription.description && React.createElement(
|
|
101
|
-
'p',
|
|
102
|
-
null,
|
|
103
|
-
pageDescription.description
|
|
104
|
-
)
|
|
105
|
-
),
|
|
106
|
-
posts && React.createElement(ArticleSeriesListing, {
|
|
107
|
-
client: client,
|
|
108
|
-
mapping: mapping,
|
|
109
|
-
dataRecord: posts,
|
|
110
|
-
query: query,
|
|
111
|
-
params: params,
|
|
112
|
-
currentPage: currentPage,
|
|
113
|
-
pageview: pageview,
|
|
114
|
-
columns: columns,
|
|
115
|
-
variant: variant,
|
|
116
|
-
page: page,
|
|
117
|
-
autoScroll: autoScroll,
|
|
118
|
-
defaultImage: defaultImage
|
|
119
|
-
})
|
|
120
|
-
);
|
|
121
|
-
};
|
|
122
|
-
|
|
123
|
-
ArticleProgramLandingPage.getInitialData = function () {
|
|
124
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
|
|
125
|
-
var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
|
|
126
|
-
var taxonomyId = arguments[3];
|
|
127
|
-
|
|
128
|
-
var pathname, urlQuery, url, page, currentPage, start, params, query, postsPromise, virtualBlockPromise, posts, virtualBlock, _ref2, _ref3;
|
|
129
|
-
|
|
130
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
131
|
-
while (1) {
|
|
132
|
-
switch (_context.prev = _context.next) {
|
|
133
|
-
case 0:
|
|
134
|
-
pathname = context.pathname, urlQuery = context.query;
|
|
135
|
-
url = pathname ? pathname : '';
|
|
136
|
-
page = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
137
|
-
currentPage = page ? parseInt(page) : 1;
|
|
138
|
-
start = (currentPage - 1) * itemsPerPage;
|
|
139
|
-
params = {
|
|
140
|
-
from: start,
|
|
141
|
-
to: start + itemsPerPage,
|
|
142
|
-
itemsPerPage: itemsPerPage
|
|
143
|
-
};
|
|
144
|
-
query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url) \n && references(\'' + taxonomyId + '\')\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n \'pageNumber\': ' + currentPage + '\n }';
|
|
145
|
-
postsPromise = client.fetch(query, params);
|
|
146
|
-
virtualBlockPromise = client.fetch('*[_type == \'virtualBlock\' && identifier == \'' + pathname + '\'][0]');
|
|
147
|
-
posts = void 0, virtualBlock = void 0;
|
|
148
|
-
_context.prev = 10;
|
|
149
|
-
_context.next = 14;
|
|
150
|
-
return _Promise.all([postsPromise, virtualBlockPromise]);
|
|
151
|
-
|
|
152
|
-
case 14:
|
|
153
|
-
_ref2 = _context.sent;
|
|
154
|
-
_ref3 = _slicedToArray(_ref2, 2);
|
|
155
|
-
posts = _ref3[0];
|
|
156
|
-
virtualBlock = _ref3[1];
|
|
157
|
-
_context.next = 23;
|
|
158
|
-
break;
|
|
159
|
-
|
|
160
|
-
case 20:
|
|
161
|
-
_context.prev = 20;
|
|
162
|
-
_context.t0 = _context['catch'](10);
|
|
163
|
-
|
|
164
|
-
console.error(_context.t0);
|
|
165
|
-
|
|
166
|
-
case 23:
|
|
167
|
-
return _context.abrupt('return', { posts: posts, virtualBlock: virtualBlock, url: url, query: query });
|
|
168
|
-
|
|
169
|
-
case 24:
|
|
170
|
-
case 'end':
|
|
171
|
-
return _context.stop();
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}, _callee, _this, [[10, 20]]);
|
|
175
|
-
}));
|
|
176
|
-
|
|
177
|
-
return function (_x, _x2) {
|
|
178
|
-
return _ref.apply(this, arguments);
|
|
179
|
-
};
|
|
180
|
-
}();
|
|
181
|
-
|
|
182
|
-
export default ArticleProgramLandingPage;
|
|
1
|
+
import"./slicedToArray-f57adb2c.js";import"./index-00bbf2b1.js";import"./extends-e61fd370.js";import"react";import"@sanity/block-content-to-react";import"./index-24498aa0.js";import"./ArticleSeriesListing-22e8f5a6.js";export{a as default}from"./ArticleProgramLandingPage-d996da8f.js";import"./unsupportedIterableToArray-b359dd50.js";import"react-bootstrap";import"./urlFor-649884fa.js";import"@sanity/image-url";import"react-dfp";import"next/router";import"get-youtube-id";import"react-youtube";import"./segment-lib-3a19dbdd.js";import"react-device-detect";import"./urlForFile-3b87fb01.js";import"react-lazyload";import"./typeof-92b42de1.js";import"@brightcove/react-player-loader";import"./defineProperty-18999f8e.js";import"react-bootstrap/Modal";import"react-bootstrap/Button";import"react-bootstrap/Form";import"react-player";import"react-ga";import"./GroupDeck-4c581822.js";import"smoothscroll-polyfill";import"moment";import"./SocialShare-9cc43665.js";import"next/head";import"react-share";import"react-bootstrap/Pagination";import"./entities-8b138943.js";import"striptags";import"./_commonjsHelpers-57e89916.js";import"./AdSlot-16696371.js";import"prop-types";import"lodash/debounce";import"react-bootstrap/Row";import"react-bootstrap/Col";import"./toConsumableArray-2f86a0c1.js";import"./getPrototypeOf-a8361cb6.js";import"react-icons/io";import"react-bootstrap/Figure";import"react-bootstrap/OverlayTrigger";import"react-bootstrap/Tooltip";import"react-bootstrap/Popover";import"react-script-tag";import"./checkSisterSite-20e2bf62.js";import"react-bootstrap/Container";import"react-visibility-sensor";import"./YoutubeGroup-1dd6f1ba.js";import"react-infinite-scroll-component";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,r}from"./index-00bbf2b1.js";import t from"react";import{a}from"./MasterDeck-41c7cd70.js";var n=function(e){var r=e.client,n=e.posts,i=e.summary,s=e.seriesTitle,c=e.seriesName,l=e.query,u=e.params,o=e.currentPage,m=void 0===o?1:o,d=e.pageview,p=e.autoScroll,f=void 0===p||p,v=e.mapping,y=e.deck,g=e.variant,b=void 0===g?"left":g,h=e.defaultImage,_=void 0===h?"/placeholder.jpg":h;return t.createElement("div",null,i&&t.createElement("div",{style:{fontSize:"1rem"},className:"article-series-summary px-1 mt-2 mb-4"},i),s&&t.createElement("h1",{className:"article-series-title"},t.createElement("a",c&&{href:"/view/".concat(c)},s)),n&&y&&t.createElement(a,{deck:y,variant:b,defaultImage:_,client:r,mapping:v,dataRecord:n,query:l,params:u,currentPage:m,pageview:d,autoScroll:f}))};n.getInitialData=function(){var t=e(r.mark((function e(t,a){var n,i,s,c,l,u,o,m,d,p,f,v,y,g=arguments;return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=g.length>2&&void 0!==g[2]?g[2]:10,i=g.length>3?g[3]:void 0,s=t.query,c=s.series,l=s.page?parseInt(s.page):1,u=l?parseInt(l):1,m={from:o=(u-1)*n,to:o+n,itemsPerPage:n},d="*[\n _type == 'article' \n && !(_id in path(\"drafts.**\")) \n && defined(title) \n && defined(url) \n && references('".concat(i,"')\n && url.current == '").concat(c,'\'\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n summary,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n }'),e.next=11,a.fetch(d,m);case 11:return p=e.sent,f="",v=!1,p.length>0&&p[0].body[0].articles&&(y=p[0].url.current+"?seriesArticle=",f=p[0].title,v=p[0].summary,(p=p[0].body[0].articles).map((function(e,r){return e.url={current:y+e.param.current}}))),e.abrupt("return",{posts:p,query:d,params:m,seriesTitle:f,seriesName:c,summary:v});case 16:case"end":return e.stop()}}),e)})));return function(e,r){return t.apply(this,arguments)}}();var i=Object.freeze({__proto__:null,default:n});export{i as A,n as a};
|
|
@@ -1,156 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './toConsumableArray-47a5394a.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import './extends-7fbbe94e.js';
|
|
8
|
-
import './_object-sap-4201ccf6.js';
|
|
9
|
-
import './inherits-d26c739e.js';
|
|
10
|
-
import './define-property-a8a00786.js';
|
|
11
|
-
import './web.dom.iterable-406140e0.js';
|
|
12
|
-
import './typeof-d92ed6e0.js';
|
|
13
|
-
import './_is-array-31d40a83.js';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
import './index-1819118a.js';
|
|
16
|
-
import 'prop-types';
|
|
17
|
-
import 'react-bootstrap/Container';
|
|
18
|
-
import 'react-bootstrap/Row';
|
|
19
|
-
import 'react-bootstrap/Col';
|
|
20
|
-
import 'react-bootstrap/Card';
|
|
21
|
-
import './moment-b6f49411.js';
|
|
22
|
-
import 'next/router';
|
|
23
|
-
import './isSymbol-1981418f.js';
|
|
24
|
-
import './debounce-9207d8ee.js';
|
|
25
|
-
import './toNumber-2f7a84cd.js';
|
|
26
|
-
import './index.es-c6222053.js';
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import './visibility-sensor-f40c2564.js';
|
|
29
|
-
import './slicedToArray-99bcfd93.js';
|
|
30
|
-
import './index-51a80699.js';
|
|
31
|
-
import './main-43ca42fe.js';
|
|
32
|
-
import './stringify-0c65d837.js';
|
|
33
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
34
|
-
import './Segment.js';
|
|
35
|
-
import './Beam.js';
|
|
36
|
-
import './AdSlot.js';
|
|
37
|
-
import './ADInfeed-36973a76.js';
|
|
38
|
-
import './lodash-ec8c6b48.js';
|
|
39
|
-
import './ADlgInfeed-f6e898d5.js';
|
|
40
|
-
import MasterDeck from './MasterDeck.js';
|
|
41
|
-
|
|
42
|
-
var _this = undefined;
|
|
43
|
-
|
|
44
|
-
var ArticleSeriesLandingPage = function ArticleSeriesLandingPage(props) {
|
|
45
|
-
var client = props.client,
|
|
46
|
-
posts = props.posts,
|
|
47
|
-
summary = props.summary,
|
|
48
|
-
seriesTitle = props.seriesTitle,
|
|
49
|
-
seriesName = props.seriesName,
|
|
50
|
-
query = props.query,
|
|
51
|
-
params = props.params,
|
|
52
|
-
_props$currentPage = props.currentPage,
|
|
53
|
-
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
54
|
-
pageview = props.pageview,
|
|
55
|
-
_props$autoScroll = props.autoScroll,
|
|
56
|
-
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
|
|
57
|
-
mapping = props.mapping,
|
|
58
|
-
deck = props.deck,
|
|
59
|
-
_props$variant = props.variant,
|
|
60
|
-
variant = _props$variant === undefined ? 'left' : _props$variant,
|
|
61
|
-
_props$defaultImage = props.defaultImage,
|
|
62
|
-
defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
return React.createElement(
|
|
66
|
-
'div',
|
|
67
|
-
null,
|
|
68
|
-
summary && React.createElement(
|
|
69
|
-
'div',
|
|
70
|
-
{ style: { fontSize: '1rem' }, className: 'article-series-summary px-1 mt-2 mb-4' },
|
|
71
|
-
summary
|
|
72
|
-
),
|
|
73
|
-
seriesTitle && React.createElement(
|
|
74
|
-
'h1',
|
|
75
|
-
{ className: 'article-series-title' },
|
|
76
|
-
React.createElement(
|
|
77
|
-
'a',
|
|
78
|
-
seriesName && { href: '/view/' + seriesName },
|
|
79
|
-
seriesTitle
|
|
80
|
-
)
|
|
81
|
-
),
|
|
82
|
-
posts && deck && React.createElement(MasterDeck, {
|
|
83
|
-
deck: deck,
|
|
84
|
-
variant: variant,
|
|
85
|
-
defaultImage: defaultImage,
|
|
86
|
-
client: client,
|
|
87
|
-
mapping: mapping,
|
|
88
|
-
dataRecord: posts,
|
|
89
|
-
query: query,
|
|
90
|
-
params: params,
|
|
91
|
-
currentPage: currentPage,
|
|
92
|
-
pageview: pageview,
|
|
93
|
-
autoScroll: autoScroll
|
|
94
|
-
})
|
|
95
|
-
);
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
ArticleSeriesLandingPage.getInitialData = function () {
|
|
99
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
|
|
100
|
-
var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
|
|
101
|
-
var taxonomyId = arguments[3];
|
|
102
|
-
var urlQuery, seriesName, page, currentPage, start, params, query, posts, seriesTitle, summary, url;
|
|
103
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
104
|
-
while (1) {
|
|
105
|
-
switch (_context.prev = _context.next) {
|
|
106
|
-
case 0:
|
|
107
|
-
urlQuery = context.query;
|
|
108
|
-
seriesName = urlQuery.series;
|
|
109
|
-
page = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
110
|
-
currentPage = page ? parseInt(page) : 1;
|
|
111
|
-
start = (currentPage - 1) * itemsPerPage;
|
|
112
|
-
params = {
|
|
113
|
-
from: start,
|
|
114
|
-
to: start + itemsPerPage,
|
|
115
|
-
itemsPerPage: itemsPerPage
|
|
116
|
-
};
|
|
117
|
-
query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url) \n && references(\'' + taxonomyId + '\')\n && url.current == \'' + seriesName + '\'\n && is_visible == true\n && passwordLock != true \n && defined(published)\n && dateTime(published) <= dateTime(now())] | order(published desc)[$from...$to]{\n title,\n summary,\n published,\n thumbnail,\n url,\n taxonomy,\n body[_type == "articleSeries"]{\n ...\n },\n }';
|
|
118
|
-
_context.next = 9;
|
|
119
|
-
return client.fetch(query, params);
|
|
120
|
-
|
|
121
|
-
case 9:
|
|
122
|
-
posts = _context.sent;
|
|
123
|
-
seriesTitle = '';
|
|
124
|
-
summary = false;
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if (posts.length > 0 && posts[0].body[0].articles) {
|
|
128
|
-
url = posts[0].url.current + '?seriesArticle=';
|
|
129
|
-
|
|
130
|
-
seriesTitle = posts[0].title;
|
|
131
|
-
summary = posts[0].summary;
|
|
132
|
-
posts = posts[0].body[0].articles;
|
|
133
|
-
//start youtube thumbnail fix
|
|
134
|
-
posts.map(function (post, index) {
|
|
135
|
-
return post['url'] = {
|
|
136
|
-
current: url + post.param.current
|
|
137
|
-
};
|
|
138
|
-
});
|
|
139
|
-
//end
|
|
140
|
-
}
|
|
141
|
-
return _context.abrupt('return', { posts: posts, query: query, params: params, seriesTitle: seriesTitle, seriesName: seriesName, summary: summary });
|
|
142
|
-
|
|
143
|
-
case 14:
|
|
144
|
-
case 'end':
|
|
145
|
-
return _context.stop();
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}, _callee, _this);
|
|
149
|
-
}));
|
|
150
|
-
|
|
151
|
-
return function (_x, _x2) {
|
|
152
|
-
return _ref.apply(this, arguments);
|
|
153
|
-
};
|
|
154
|
-
}();
|
|
155
|
-
|
|
156
|
-
export default ArticleSeriesLandingPage;
|
|
1
|
+
import"./index-00bbf2b1.js";import"react";import"./MasterDeck-41c7cd70.js";export{a as default}from"./ArticleSeriesLandingPage-67cda955.js";import"./extends-e61fd370.js";import"./toConsumableArray-2f86a0c1.js";import"./unsupportedIterableToArray-b359dd50.js";import"./getPrototypeOf-a8361cb6.js";import"./typeof-92b42de1.js";import"./defineProperty-18999f8e.js";import"react-dfp";import"react-bootstrap/Container";import"react-bootstrap/Row";import"react-bootstrap/Col";import"react-bootstrap/Card";import"moment";import"next/router";import"lodash";import"lodash/debounce";import"react-infinite-scroll-component";import"react-visibility-sensor";import"./ADlgInfeed-19d0f057.js";import"./slicedToArray-f57adb2c.js";import"./AdSlot-16696371.js";import"prop-types";import"./segment-lib-3a19dbdd.js";import"react-device-detect";import"./ADInfeed-8ce85d87.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e}from"./extends-e61fd370.js";import{_ as t,a as r,b as a,c as n,d as o,e as c}from"./getPrototypeOf-a8361cb6.js";import{_ as i}from"./defineProperty-18999f8e.js";import s from"react";import{DFPManager as l}from"react-dfp";import p from"react-bootstrap/Container";import u from"react-visibility-sensor";import{IoIosArrowForward as m}from"react-icons/io";import f from"moment";import{withRouter as d}from"next/router";import{a as g}from"./YoutubeGroup-1dd6f1ba.js";import y from"lodash/debounce";import h from"react-infinite-scroll-component";function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var c=r(this).constructor;n=Reflect.construct(o,arguments,c)}else n=o.apply(this,arguments);return a(this,n)}}var E=d(function(r){t(d,r);var a=P(d);function d(){var t;n(this,d);for(var r=arguments.length,c=new Array(r),p=0;p<r;p++)c[p]=arguments[p];return t=a.call.apply(a,[this].concat(c)),i(o(t),"page",t.props.page),i(o(t),"mapping",t.props.mapping),i(o(t),"data",t.props.dataRecord),i(o(t),"query",t.props.query),i(o(t),"params",t.props.params),i(o(t),"autoScroll",!!t.props.autoScroll&&t.props.autoScroll),i(o(t),"today",f().utc().format()),i(o(t),"dataArr",[t.data]),i(o(t),"defaultImage",t.props.defaultImage?t.props.defaultImage:"/placeholder.jpg"),i(o(t),"state",{data:t.dataArr.map((function(e){var r=e;if(r.body){var a=r.body.map((function(e){if("articleSeries"===e._type){var r=e,a=r.articles.filter((function(e){if((!0===e.is_visible||!e.hasOwnProperty("is_visible"))&&t.today>=e.published)return e}));return r.body=a,r}return e}));r.body=a}return r})),per:t.params?t.params.to:2,page:t.props.currentPage||1,from:t.params?t.params.from:0,to:t.params?t.params.to:2,total_pages:null,scrolling:t.autoScroll,query:t.query,currentPage:t.props.currentPage||1}),i(o(t),"loadMore",y((function(){t.setState((function(e){var t=e.page,r=e.from,a=e.per;return{page:t+1,from:r+a,to:e.to+a}}),t.loadData)}),0)),i(o(t),"loadData",(function(){var e=t.state,r=e.from,a=e.to;e.data;var n=e.query,o=e.page,c=t.props.client,i=v(v({},t.params),{},{from:r,to:a});c.fetch(n,i).then((function(e){if(t.pointer&&t.pointerArray){var r=t.pointer;e=e[t.pointerArray][r]}e=e.map((function(e){return v(v({},e),{},{pageNumber:o})})),t.setState((function(){if(e.length>0){var r=t.state.data;return r.push(e),{data:r,scrolling:!0}}return{scrolling:!1}}))}))})),i(o(t),"changePageNumber",(function(e){var r=t.props,a=r.seoPaginate,n=r.pageview,o=r.router,c=t.state.currentPage;if(a){var i=o.asPath,s=i.indexOf("?"),p=o.pathname,u="";if(s>0)i=i.substring(1,s),o.asPath.substring(s+1).split("&").map((function(e){var t=e.split("="),r=t[0],a=t[1];"page"!==r&&(u+=(0===u.length?"":"&")+r+"="+a)}));u.length>0&&(i+="?"+u),c!==(e=parseInt(e))&&(l.refresh(),t.setState({currentPage:e},(function(){"/"!==i[0]&&(i="/"+i);var t=1===e?"".concat(i):"".concat(i).concat(i.includes("?")?"&page=".concat(e):"?page=".concat(e));n&&n(t),o.push(p,t,{shallow:!0})})))}})),i(o(t),"renderManualPagination",(function(){var e=t.state.currentPage;return s.createElement("div",{className:"d-flex justify-content-between"},e&&e>1&&s.createElement("a",{href:"?page=".concat(e-1)},"<< Previous"),s.createElement("a",{href:"?page=".concat(e+1)},"Next >>"))})),i(o(t),"renderSeries",(function(r){var a=0;return s.createElement("div",null,r&&r.map((function(r,n){return r.body&&r.body.length>0&&r.body[0].articles&&r.body[0].articles.map((function(e,t){e.link="/view/"+r.url.current+"?seriesArticle="+e.param.current})),s.createElement("div",{key:n,counter:a++},s.createElement("h4",{className:"article-title-banner",style:{fontWeight:"bold",color:"var(--primary)",padding:".25rem 0",borderBottom:"2px solid #d4a64d"}},s.createElement("a",{href:"/".concat(t.props.page,"/").concat(r.url.current)},r.title,s.createElement("span",{style:{fontSize:".9rem",color:"grey",marginLeft:"1rem",transform:"translateY(-2px)",display:"inline-block"}},s.createElement(m,null)))),r.body&&r.body.length>0&&r.body[0].articles?s.createElement(g,e({key:n,dataset:r.body[0].articles},t.props)):s.createElement("p",null,"No Article Found."))})))})),t}return c(d,[{key:"render",value:function(){var e=this;return s.createElement(s.Fragment,null,this.state.data.length>=1&&this.state.data[0].length>0?s.createElement(h,{dataLength:this.state.data.length,next:this.loadMore,hasMore:this.state.scrolling,scrollThreshold:.8},s.createElement(p,null,this.state.data&&this.state.data.map((function(t,r){var a=t&&t.length>0&&1!==t[0].pageNumber?t[0].pageNumber:1;return s.createElement(s.Fragment,{key:r},s.createElement(u,{onChange:function(t){t&&e.changePageNumber(a)}},s.createElement("div",{className:"visibility-sensor",style:{minHeight:".25rem"}})),s.createElement("div",null,e.renderSeries(t)))})))):s.createElement("div",{style:{marginTop:"10px"}},s.createElement("h5",null,s.createElement("em",null,"New content coming soon, please check back later."))))}}]),d}(s.Component)),O=Object.freeze({__proto__:null,default:E});export{O as A,E as a};
|
|
@@ -1,308 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_object-pie-33c40e79.js';
|
|
5
|
-
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
6
|
-
import './_object-sap-4201ccf6.js';
|
|
7
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d26c739e.js';
|
|
8
|
-
import './define-property-a8a00786.js';
|
|
9
|
-
import './web.dom.iterable-406140e0.js';
|
|
10
|
-
import './typeof-d92ed6e0.js';
|
|
11
|
-
import './_is-array-31d40a83.js';
|
|
12
|
-
import React from 'react';
|
|
13
|
-
import { l as lib_3 } from './index-1819118a.js';
|
|
14
|
-
import 'prop-types';
|
|
15
|
-
import Container from 'react-bootstrap/Container';
|
|
16
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
17
|
-
import { withRouter } from 'next/router';
|
|
18
|
-
import './isSymbol-1981418f.js';
|
|
19
|
-
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
20
|
-
import './toNumber-2f7a84cd.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
22
|
-
import 'react-dom';
|
|
23
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
24
|
-
import './slicedToArray-99bcfd93.js';
|
|
25
|
-
import './index-51a80699.js';
|
|
26
|
-
import './urlFor.js';
|
|
27
|
-
import './index-6c12bdd5.js';
|
|
28
|
-
import './main-43ca42fe.js';
|
|
29
|
-
import './index-c7e2ac95.js';
|
|
30
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
31
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
32
|
-
import './iconBase-602d52fe.js';
|
|
33
|
-
import { I as IoIosArrowForward } from './index.esm-55f22b35.js';
|
|
34
|
-
|
|
35
|
-
var ArticleSeriesListing = function (_React$Component) {
|
|
36
|
-
_inherits(ArticleSeriesListing, _React$Component);
|
|
37
|
-
|
|
38
|
-
function ArticleSeriesListing() {
|
|
39
|
-
var _ref;
|
|
40
|
-
|
|
41
|
-
var _temp, _this, _ret;
|
|
42
|
-
|
|
43
|
-
_classCallCheck(this, ArticleSeriesListing);
|
|
44
|
-
|
|
45
|
-
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
|
|
46
|
-
args[_key] = arguments[_key];
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = ArticleSeriesListing.__proto__ || _Object$getPrototypeOf(ArticleSeriesListing)).call.apply(_ref, [this].concat(args))), _this), _this.page = _this.props.page, _this.mapping = _this.props.mapping, _this.data = _this.props.dataRecord, _this.query = _this.props.query, _this.params = _this.props.params, _this.autoScroll = _this.props.autoScroll ? _this.props.autoScroll : false, _this.today = moment().utc().format(), _this.dataArr = [_this.data], _this.defaultImage = _this.props.defaultImage ? _this.props.defaultImage : '/placeholder.jpg', _this.state = {
|
|
50
|
-
data: _this.dataArr.map(function (item) {
|
|
51
|
-
var tempObj = item;
|
|
52
|
-
if (tempObj.body) {
|
|
53
|
-
var filteredBody = tempObj.body.map(function (item) {
|
|
54
|
-
if (item._type === 'articleSeries') {
|
|
55
|
-
var innerObj = item;
|
|
56
|
-
var filteredArticles = innerObj.articles.filter(function (article) {
|
|
57
|
-
if ((article.is_visible === true || !article.hasOwnProperty('is_visible')) && _this.today >= article.published) {
|
|
58
|
-
return article;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
innerObj.body = filteredArticles;
|
|
62
|
-
return innerObj;
|
|
63
|
-
} else {
|
|
64
|
-
return item;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
tempObj.body = filteredBody;
|
|
69
|
-
}
|
|
70
|
-
return tempObj;
|
|
71
|
-
}),
|
|
72
|
-
per: _this.params ? _this.params.to : 2,
|
|
73
|
-
page: _this.props.currentPage || 1,
|
|
74
|
-
from: _this.params ? _this.params.from : 0,
|
|
75
|
-
to: _this.params ? _this.params.to : 2,
|
|
76
|
-
total_pages: null,
|
|
77
|
-
scrolling: _this.autoScroll,
|
|
78
|
-
query: _this.query,
|
|
79
|
-
currentPage: _this.props.currentPage || 1
|
|
80
|
-
}, _this.loadMore = debounce_1(function () {
|
|
81
|
-
_this.setState(function (state) {
|
|
82
|
-
var page = state.page,
|
|
83
|
-
from = state.from,
|
|
84
|
-
per = state.per,
|
|
85
|
-
to = state.to;
|
|
86
|
-
|
|
87
|
-
return {
|
|
88
|
-
page: page + 1,
|
|
89
|
-
from: from + per,
|
|
90
|
-
to: to + per
|
|
91
|
-
};
|
|
92
|
-
}, _this.loadData);
|
|
93
|
-
}, 0), _this.loadData = function () {
|
|
94
|
-
var _this$state = _this.state,
|
|
95
|
-
from = _this$state.from,
|
|
96
|
-
to = _this$state.to,
|
|
97
|
-
data = _this$state.data,
|
|
98
|
-
query = _this$state.query,
|
|
99
|
-
page = _this$state.page;
|
|
100
|
-
var client = _this.props.client;
|
|
101
|
-
//this.changePageNumber(page)
|
|
102
|
-
|
|
103
|
-
var params = _extends({}, _this.params, { from: from, to: to
|
|
104
|
-
// const queryUpdated = query.replace('$from', params.from).replace('$to', params.to)
|
|
105
|
-
// const query = '*[_type == "article" && defined(title) && defined(thumbnail)][$from...$to] { title, summary, thumbnail { asset-> }, url }'
|
|
106
|
-
});client.fetch(query, params).then(function (dataArr) {
|
|
107
|
-
if (_this.pointer && _this.pointerArray) {
|
|
108
|
-
var pointer = _this.pointer;
|
|
109
|
-
dataArr = dataArr[_this.pointerArray][pointer];
|
|
110
|
-
}
|
|
111
|
-
dataArr = dataArr.map(function (item) {
|
|
112
|
-
return _extends({}, item, {
|
|
113
|
-
pageNumber: page
|
|
114
|
-
});
|
|
115
|
-
});
|
|
116
|
-
|
|
117
|
-
_this.setState(function () {
|
|
118
|
-
if (dataArr.length > 0) {
|
|
119
|
-
var newDataArr = _this.state.data;
|
|
120
|
-
newDataArr.push(dataArr);
|
|
121
|
-
return {
|
|
122
|
-
data: newDataArr,
|
|
123
|
-
scrolling: true
|
|
124
|
-
};
|
|
125
|
-
} else {
|
|
126
|
-
return {
|
|
127
|
-
scrolling: false
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
});
|
|
132
|
-
}, _this.changePageNumber = function (pageNumber) {
|
|
133
|
-
var _this$props = _this.props,
|
|
134
|
-
seoPaginate = _this$props.seoPaginate,
|
|
135
|
-
pageview = _this$props.pageview,
|
|
136
|
-
router = _this$props.router;
|
|
137
|
-
var currentPage = _this.state.currentPage;
|
|
138
|
-
|
|
139
|
-
if (seoPaginate) {
|
|
140
|
-
var path = router.asPath;
|
|
141
|
-
var qrIndex = path.indexOf('?');
|
|
142
|
-
var pathname = router.pathname;
|
|
143
|
-
var queryString = '';
|
|
144
|
-
|
|
145
|
-
if (qrIndex > 0) {
|
|
146
|
-
path = path.substring(1, qrIndex);
|
|
147
|
-
|
|
148
|
-
var partialQS = router.asPath.substring(qrIndex + 1);
|
|
149
|
-
var partialQSArr = partialQS.split('&');
|
|
150
|
-
|
|
151
|
-
// exclude page=xxx from query string
|
|
152
|
-
partialQSArr.map(function (item) {
|
|
153
|
-
var itemArr = item.split('=');
|
|
154
|
-
var key = itemArr[0];
|
|
155
|
-
var val = itemArr[1];
|
|
156
|
-
|
|
157
|
-
if (key !== 'page') {
|
|
158
|
-
queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
|
|
159
|
-
}
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
if (queryString.length > 0) {
|
|
164
|
-
path += '?' + queryString;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
pageNumber = parseInt(pageNumber);
|
|
168
|
-
|
|
169
|
-
if (currentPage !== pageNumber) {
|
|
170
|
-
lib_3.refresh();
|
|
171
|
-
|
|
172
|
-
_this.setState({
|
|
173
|
-
currentPage: pageNumber
|
|
174
|
-
}, function () {
|
|
175
|
-
if (path[0] !== '/') {
|
|
176
|
-
path = '/' + path;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
var newPath = pageNumber === 1 ? '' + path : '' + path + (path.includes('?') ? '&page=' + pageNumber : '?page=' + pageNumber);
|
|
180
|
-
|
|
181
|
-
if (pageview) {
|
|
182
|
-
pageview(newPath);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
router.push(pathname, newPath, {
|
|
186
|
-
shallow: true
|
|
187
|
-
});
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}, _this.renderManualPagination = function () {
|
|
192
|
-
var currentPage = _this.state.currentPage;
|
|
193
|
-
|
|
194
|
-
return React.createElement(
|
|
195
|
-
'div',
|
|
196
|
-
{ className: 'd-flex justify-content-between' },
|
|
197
|
-
currentPage && currentPage > 1 && React.createElement(
|
|
198
|
-
'a',
|
|
199
|
-
{ href: '?page=' + (currentPage - 1) },
|
|
200
|
-
'<< Previous'
|
|
201
|
-
),
|
|
202
|
-
React.createElement(
|
|
203
|
-
'a',
|
|
204
|
-
{ href: '?page=' + (currentPage + 1) },
|
|
205
|
-
'Next >>'
|
|
206
|
-
)
|
|
207
|
-
);
|
|
208
|
-
}, _this.renderSeries = function (seriesData) {
|
|
209
|
-
var itemCounter = 0;
|
|
210
|
-
|
|
211
|
-
return React.createElement(
|
|
212
|
-
'div',
|
|
213
|
-
null,
|
|
214
|
-
seriesData && seriesData.map(function (docSeries, index) {
|
|
215
|
-
if (docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles) {
|
|
216
|
-
docSeries.body[0].articles.map(function (singleArticle, indexInner) {
|
|
217
|
-
singleArticle.link = '/view/' + docSeries.url.current + '?seriesArticle=' + singleArticle.param.current;
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
return React.createElement(
|
|
222
|
-
'div',
|
|
223
|
-
{ key: index, counter: itemCounter++ },
|
|
224
|
-
React.createElement(
|
|
225
|
-
'h4',
|
|
226
|
-
{ className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
|
|
227
|
-
React.createElement(
|
|
228
|
-
'a',
|
|
229
|
-
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
230
|
-
docSeries.title,
|
|
231
|
-
React.createElement(
|
|
232
|
-
'span',
|
|
233
|
-
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)', display: 'inline-block' } },
|
|
234
|
-
React.createElement(IoIosArrowForward, null)
|
|
235
|
-
)
|
|
236
|
-
)
|
|
237
|
-
),
|
|
238
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ? React.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].articles }, _this.props)) : React.createElement(
|
|
239
|
-
'p',
|
|
240
|
-
null,
|
|
241
|
-
'No Article Found.'
|
|
242
|
-
)
|
|
243
|
-
);
|
|
244
|
-
})
|
|
245
|
-
);
|
|
246
|
-
}, _temp), _possibleConstructorReturn(_this, _ret);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
_createClass(ArticleSeriesListing, [{
|
|
250
|
-
key: 'render',
|
|
251
|
-
value: function render() {
|
|
252
|
-
var _this2 = this;
|
|
253
|
-
|
|
254
|
-
return React.createElement(
|
|
255
|
-
React.Fragment,
|
|
256
|
-
null,
|
|
257
|
-
this.state.data.length >= 1 && this.state.data[0].length > 0 ? //Check if any Video Groups available
|
|
258
|
-
React.createElement(
|
|
259
|
-
InfiniteScroll,
|
|
260
|
-
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
261
|
-
React.createElement(
|
|
262
|
-
Container,
|
|
263
|
-
null,
|
|
264
|
-
this.state.data && this.state.data.map(function (series, index) {
|
|
265
|
-
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
266
|
-
|
|
267
|
-
return React.createElement(
|
|
268
|
-
React.Fragment,
|
|
269
|
-
{ key: index },
|
|
270
|
-
React.createElement(
|
|
271
|
-
VisibilitySensor,
|
|
272
|
-
{
|
|
273
|
-
onChange: function onChange(isVisible) {
|
|
274
|
-
isVisible && _this2.changePageNumber(page);
|
|
275
|
-
} },
|
|
276
|
-
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
277
|
-
),
|
|
278
|
-
React.createElement(
|
|
279
|
-
'div',
|
|
280
|
-
null,
|
|
281
|
-
_this2.renderSeries(series)
|
|
282
|
-
)
|
|
283
|
-
);
|
|
284
|
-
})
|
|
285
|
-
)
|
|
286
|
-
) : React.createElement(
|
|
287
|
-
'div',
|
|
288
|
-
{ style: { marginTop: '10px' } },
|
|
289
|
-
React.createElement(
|
|
290
|
-
'h5',
|
|
291
|
-
null,
|
|
292
|
-
React.createElement(
|
|
293
|
-
'em',
|
|
294
|
-
null,
|
|
295
|
-
'New content coming soon, please check back later.'
|
|
296
|
-
)
|
|
297
|
-
)
|
|
298
|
-
)
|
|
299
|
-
);
|
|
300
|
-
}
|
|
301
|
-
}]);
|
|
302
|
-
|
|
303
|
-
return ArticleSeriesListing;
|
|
304
|
-
}(React.Component);
|
|
305
|
-
|
|
306
|
-
var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
|
|
307
|
-
|
|
308
|
-
export default ArticleSeriesListing$1;
|
|
1
|
+
import"./extends-e61fd370.js";import"./getPrototypeOf-a8361cb6.js";import"./defineProperty-18999f8e.js";import"react";import"react-dfp";import"react-bootstrap/Container";import"react-visibility-sensor";import"react-icons/io";import"moment";import"next/router";import"./YoutubeGroup-1dd6f1ba.js";import"lodash/debounce";import"react-infinite-scroll-component";export{a as default}from"./ArticleSeriesListing-22e8f5a6.js";import"./typeof-92b42de1.js";import"./slicedToArray-f57adb2c.js";import"./unsupportedIterableToArray-b359dd50.js";import"get-youtube-id";import"react-lazyload";import"smoothscroll-polyfill";import"./urlFor-649884fa.js";import"@sanity/image-url";import"react-device-detect";
|