@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,52 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './web.dom.iterable-406140e0.js';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import 'prop-types';
|
|
6
|
-
import 'react-dom';
|
|
7
|
-
import './slicedToArray-99bcfd93.js';
|
|
8
|
-
import './index-51a80699.js';
|
|
9
|
-
import urlFor from './urlFor.js';
|
|
10
|
-
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
11
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
12
|
-
import Media from 'react-bootstrap/Media';
|
|
13
|
-
|
|
14
|
-
var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
15
|
-
var size = _ref.size,
|
|
16
|
-
mediaData = _ref.mediaData,
|
|
17
|
-
client = _ref.client,
|
|
18
|
-
defaultImage = _ref.defaultImage;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
return React.createElement(
|
|
22
|
-
'div',
|
|
23
|
-
null,
|
|
24
|
-
mediaData && mediaData.map(function (item, index) {
|
|
25
|
-
return React.createElement(
|
|
26
|
-
Media,
|
|
27
|
-
{ className: 'mb-3 thumbnail-card' },
|
|
28
|
-
React.createElement(
|
|
29
|
-
LazyLoad,
|
|
30
|
-
{ height: size },
|
|
31
|
-
React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor({ client: client, source: item.thumbnail }) : defaultImage, alt: 'Generic placeholder' })
|
|
32
|
-
),
|
|
33
|
-
React.createElement(
|
|
34
|
-
Media.Body,
|
|
35
|
-
null,
|
|
36
|
-
React.createElement(
|
|
37
|
-
'h5',
|
|
38
|
-
null,
|
|
39
|
-
item.title
|
|
40
|
-
),
|
|
41
|
-
React.createElement(
|
|
42
|
-
'p',
|
|
43
|
-
null,
|
|
44
|
-
clean_html_1(item.summary)
|
|
45
|
-
)
|
|
46
|
-
)
|
|
47
|
-
);
|
|
48
|
-
})
|
|
49
|
-
);
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export default ThumbnailCard;
|
|
1
|
+
import"react";import"react-bootstrap/Media";import"./urlFor-649884fa.js";import"react-lazyload";import"./entities-8b138943.js";export{a as default}from"./ThumbnailCard-b7a3af71.js";import"./slicedToArray-f57adb2c.js";import"./unsupportedIterableToArray-b359dd50.js";import"@sanity/image-url";import"striptags";import"./_commonjsHelpers-57e89916.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,r as t}from"./index-00bbf2b1.js";import{_ as r}from"./slicedToArray-f57adb2c.js";import o,{useState as a,useRef as n,useEffect as i}from"react";import{FaWindowClose as c}from"react-icons/fa";import{isMobileOnly as m}from"react-device-detect";var l=function(l){var s=l.width,u=void 0===s?"320px":s,d=l.height,p=void 0===d?"auto":d,f=l.close,v=void 0!==f&&f;l.right;var w=l.src,h=void 0===w?"https://video.ibm.com/embed/23627444?volume=0&autoplay=true":w,b=l.logEvent,g=void 0===b?function(){}:b,x=a(u),y=r(x,2),_=y[0];y[1];var E=a(p),U=r(E,2);U[0],U[1];var j=a(!0),k=r(j,2),I=k[0],z=k[1],B=n(null),R=n(null);return i((function(){if(!m)try{var e=document.getElementById("ustream-container");document.getElementById("ustream-iframe").setAttribute("src",h);var t=window&&window.location.hostname.replace("www.","").replace(".com","").replace(".net","").replace(".vercel.app","")||";",r="https://www.medicalworldnews.com/?utm_source=".concat(t,"&utm_medium=web&utm_campaign=mwn&ultv=true");if(R.current.href=r,v)document.querySelector(".ustream-close").addEventListener("click",(function(){e.remove()}))}catch(e){}}),[]),i((function(){if(I&&!m){var r=function(){var r=e(t.mark((function e(){var r,o,a;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,import("./ustream-api-7998d140.js");case 2:r=e.sent,o=r("ustream-iframe"),a=setInterval((function(){o.getProperty("volume",(function(e){e>0&&(g({category:"Ustream Unmute",action:"Unmute Ustream Widget",label:"Unmute Ustream Widget"}),z(!1),clearInterval(a))}))}),2e3);case 5:case"end":return e.stop()}}),e)})));return function(){return r.apply(this,arguments)}}();r()}}),[I]),m?null:o.createElement("div",{id:"ustream-container",ref:B,style:{width:"".concat(_),position:"fixed",bottom:"2rem",left:"2rem",zIndex:"999999",boxShadow:"2px 4px 8px rgba(0,0,0,.35)",borderRadius:"5px",overflow:"hidden"}},o.createElement("a",{ref:R,target:"_blank",href:""},o.createElement(c,{style:{position:"absolute",top:"0",right:"0",width:"22px",height:"20px",color:"#fff",background:"#000",padding:"2px"},onClick:function(e){return(t=e).preventDefault(),t.stopPropagation(),void B.current.remove();var t}}),o.createElement("img",{src:"https://mjh-web.s3.amazonaws.com/_media/mwn_frame_v2.jpg",style:{width:"100%"}}),o.createElement("div",{style:{position:"absolute",top:"48px",left:"26px",width:"272px"}},o.createElement("div",{style:{position:"relative",width:"100%",paddingTop:"56.25%",overflow:"hidden",borderRadius:"10px"}},o.createElement("iframe",{id:"ustream-iframe",webkitallowfullscreen:"true",allowFullScreen:!0,frameBorder:"no",style:{position:"absolute",top:"0",bottom:"0",left:"0",right:"0",width:"100%",height:"100%",pointerEvents:"none",borderRadius:"10px"}})))))},s=o.memo(l),u=Object.freeze({__proto__:null,default:s});export{u as U,s as a};
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,150 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_iter-detect-72edfd60.js';
|
|
5
|
-
import './web.dom.iterable-406140e0.js';
|
|
6
|
-
import React, { useState, useRef, useEffect } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-99bcfd93.js';
|
|
8
|
-
import { m as main_40 } from './main-43ca42fe.js';
|
|
9
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
10
|
-
import './iconBase-602d52fe.js';
|
|
11
|
-
import { F as FaWindowClose } from './index.esm-d1125763.js';
|
|
12
|
-
|
|
13
|
-
var _this = undefined;
|
|
14
|
-
|
|
15
|
-
var Ustream = function Ustream(_ref) {
|
|
16
|
-
var _ref$width = _ref.width,
|
|
17
|
-
width = _ref$width === undefined ? '320px' : _ref$width,
|
|
18
|
-
_ref$height = _ref.height,
|
|
19
|
-
height = _ref$height === undefined ? 'auto' : _ref$height,
|
|
20
|
-
_ref$close = _ref.close,
|
|
21
|
-
close = _ref$close === undefined ? false : _ref$close,
|
|
22
|
-
_ref$right = _ref.right,
|
|
23
|
-
_ref$src = _ref.src,
|
|
24
|
-
src = _ref$src === undefined ? 'https://video.ibm.com/embed/23627444?volume=0&autoplay=true' : _ref$src,
|
|
25
|
-
_ref$logEvent = _ref.logEvent,
|
|
26
|
-
logEvent = _ref$logEvent === undefined ? function () {} : _ref$logEvent;
|
|
27
|
-
|
|
28
|
-
var _useState = useState(width),
|
|
29
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
30
|
-
currentWidth = _useState2[0],
|
|
31
|
-
setWidth = _useState2[1];
|
|
32
|
-
|
|
33
|
-
var _useState3 = useState(height),
|
|
34
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
35
|
-
currentHeight = _useState4[0],
|
|
36
|
-
setHeight = _useState4[1];
|
|
37
|
-
|
|
38
|
-
var _useState5 = useState(true),
|
|
39
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
40
|
-
isMuted = _useState6[0],
|
|
41
|
-
setIsMuted = _useState6[1];
|
|
42
|
-
|
|
43
|
-
var ustreamContainer = useRef(null);
|
|
44
|
-
var clickableLink = useRef(null);
|
|
45
|
-
var frameUrl = 'https://mjh-web.s3.amazonaws.com/_media/mwn_frame_v2.jpg';
|
|
46
|
-
|
|
47
|
-
function handleClose(ev) {
|
|
48
|
-
ev.preventDefault();
|
|
49
|
-
ev.stopPropagation();
|
|
50
|
-
ustreamContainer.current.remove();
|
|
51
|
-
}
|
|
52
|
-
useEffect(function () {
|
|
53
|
-
if (!main_40) {
|
|
54
|
-
try {
|
|
55
|
-
var container = document.getElementById('ustream-container');
|
|
56
|
-
var ustream = document.getElementById('ustream-iframe');
|
|
57
|
-
ustream.setAttribute('src', src);
|
|
58
|
-
var referrerUrl = window && window.location.hostname.replace('www.', '').replace('.com', '').replace('.net', '').replace('.vercel.app', '') || ';';
|
|
59
|
-
var mwnUrl = 'https://www.medicalworldnews.com/?utm_source=' + referrerUrl + '&utm_medium=web&utm_campaign=mwn&ultv=true';
|
|
60
|
-
clickableLink.current.href = mwnUrl;
|
|
61
|
-
if (close) {
|
|
62
|
-
var closeBtn = document.querySelector('.ustream-close');
|
|
63
|
-
closeBtn.addEventListener('click', function () {
|
|
64
|
-
container.remove();
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
} catch (err) {}
|
|
68
|
-
}
|
|
69
|
-
}, []);
|
|
70
|
-
|
|
71
|
-
useEffect(function () {
|
|
72
|
-
if (isMuted && !main_40) {
|
|
73
|
-
var loadUstreamListener = function () {
|
|
74
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
75
|
-
var UstreamEmbed, viewer, reporting;
|
|
76
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
77
|
-
while (1) {
|
|
78
|
-
switch (_context.prev = _context.next) {
|
|
79
|
-
case 0:
|
|
80
|
-
_context.next = 2;
|
|
81
|
-
return import('./ustream-api-cbba615a.js');
|
|
82
|
-
|
|
83
|
-
case 2:
|
|
84
|
-
UstreamEmbed = _context.sent;
|
|
85
|
-
viewer = UstreamEmbed('ustream-iframe');
|
|
86
|
-
reporting = setInterval(function () {
|
|
87
|
-
viewer.getProperty('volume', function (content) {
|
|
88
|
-
if (content > 0) {
|
|
89
|
-
logEvent({ category: 'Ustream Unmute', action: 'Unmute Ustream Widget', label: 'Unmute Ustream Widget' });
|
|
90
|
-
setIsMuted(false);
|
|
91
|
-
clearInterval(reporting);
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
}, 2000);
|
|
95
|
-
|
|
96
|
-
case 5:
|
|
97
|
-
case 'end':
|
|
98
|
-
return _context.stop();
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}, _callee, _this);
|
|
102
|
-
}));
|
|
103
|
-
|
|
104
|
-
return function loadUstreamListener() {
|
|
105
|
-
return _ref2.apply(this, arguments);
|
|
106
|
-
};
|
|
107
|
-
}();
|
|
108
|
-
loadUstreamListener();
|
|
109
|
-
}
|
|
110
|
-
}, [isMuted]);
|
|
111
|
-
//return nothing if mobile
|
|
112
|
-
if (main_40) {
|
|
113
|
-
return null;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
return React.createElement(
|
|
117
|
-
'div',
|
|
118
|
-
{
|
|
119
|
-
id: 'ustream-container',
|
|
120
|
-
ref: ustreamContainer,
|
|
121
|
-
style: { width: '' + currentWidth, position: 'fixed', bottom: '2rem', left: '2rem', zIndex: '999999', boxShadow: '2px 4px 8px rgba(0,0,0,.35)', borderRadius: '5px', overflow: 'hidden' } },
|
|
122
|
-
React.createElement(
|
|
123
|
-
'a',
|
|
124
|
-
{ ref: clickableLink, target: '_blank', href: '' },
|
|
125
|
-
React.createElement(FaWindowClose, { style: { position: 'absolute', top: '0', right: '0', width: '22px', height: '20px', color: '#fff', background: '#000', padding: '2px' }, onClick: function onClick(e) {
|
|
126
|
-
return handleClose(e);
|
|
127
|
-
} }),
|
|
128
|
-
React.createElement('img', { src: frameUrl, style: { width: '100%' } }),
|
|
129
|
-
React.createElement(
|
|
130
|
-
'div',
|
|
131
|
-
{ style: { position: 'absolute', top: '48px', left: '26px', width: '272px' } },
|
|
132
|
-
React.createElement(
|
|
133
|
-
'div',
|
|
134
|
-
{ style: { position: 'relative', width: '100%', paddingTop: '56.25%', overflow: 'hidden', borderRadius: '10px' } },
|
|
135
|
-
React.createElement('iframe', {
|
|
136
|
-
id: 'ustream-iframe',
|
|
137
|
-
webkitallowfullscreen: 'true',
|
|
138
|
-
allowFullScreen: true,
|
|
139
|
-
frameBorder: 'no',
|
|
140
|
-
style: { position: 'absolute', top: '0', bottom: '0', left: '0', right: '0', width: '100%', height: '100%', pointerEvents: 'none', borderRadius: '10px' }
|
|
141
|
-
})
|
|
142
|
-
)
|
|
143
|
-
)
|
|
144
|
-
)
|
|
145
|
-
);
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
var Ustream$1 = React.memo(Ustream);
|
|
149
|
-
|
|
150
|
-
export default Ustream$1;
|
|
1
|
+
import"./index-00bbf2b1.js";import"./slicedToArray-f57adb2c.js";import"react";import"react-icons/fa";import"react-device-detect";export{a as default}from"./Ustream-29dc2277.js";import"./unsupportedIterableToArray-b359dd50.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";import"moment";import{u as t}from"./urlFor-649884fa.js";var n=function(n){var r=n.client,a=n.heroTitle,l=void 0===a?"":a;return e.createElement("div",{className:"vertical-hero-container"},e.createElement("div",{className:"vertical-hero-inner"},e.createElement("div",{className:"hero-title"},e.createElement("h2",null,l)),n.dataRecord.map((function(a,l){var i="",c=a.title;return a.thumbnail&&a.thumbnail.asset?(i=t({client:r,source:a.thumbnail.asset,imageWidth:500}),c=a.thumbnail.asset.originalFileName):n.thumbnail&&(i=n.thumbnail),0===l?e.createElement("a",{href:"/view/".concat(a.url.current),key:l,className:"vertical-article"},e.createElement("img",{src:i,alt:c}),e.createElement("h2",null,a.title)):e.createElement("a",{href:"/view/".concat(a.url.current),className:"vertical-article"},e.createElement("h2",null,a.title))}))),e.createElement("style",{jsx:"true"},"\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n "))},r=Object.freeze({__proto__:null,default:n});export{r as V,n as a};
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,68 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './web.dom.iterable-406140e0.js';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import './moment-b6f49411.js';
|
|
6
|
-
import './slicedToArray-99bcfd93.js';
|
|
7
|
-
import './index-51a80699.js';
|
|
8
|
-
import urlFor from './urlFor.js';
|
|
9
|
-
|
|
10
|
-
var VerticalHero = function VerticalHero(props) {
|
|
11
|
-
var client = props.client;
|
|
12
|
-
var _props$heroTitle = props.heroTitle,
|
|
13
|
-
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return React.createElement(
|
|
17
|
-
'div',
|
|
18
|
-
{ className: 'vertical-hero-container' },
|
|
19
|
-
React.createElement(
|
|
20
|
-
'div',
|
|
21
|
-
{ className: 'vertical-hero-inner' },
|
|
22
|
-
React.createElement(
|
|
23
|
-
'div',
|
|
24
|
-
{ className: 'hero-title' },
|
|
25
|
-
React.createElement(
|
|
26
|
-
'h2',
|
|
27
|
-
null,
|
|
28
|
-
heroTitle
|
|
29
|
-
)
|
|
30
|
-
),
|
|
31
|
-
props.dataRecord.map(function (article, index) {
|
|
32
|
-
var articleThumbnail = '';
|
|
33
|
-
var articleAltText = article.title;
|
|
34
|
-
if (article.thumbnail && article.thumbnail.asset) {
|
|
35
|
-
articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 });
|
|
36
|
-
articleAltText = article.thumbnail.asset.originalFileName;
|
|
37
|
-
} else if (props.thumbnail) {
|
|
38
|
-
articleThumbnail = props.thumbnail;
|
|
39
|
-
}
|
|
40
|
-
return index === 0 ? React.createElement(
|
|
41
|
-
'a',
|
|
42
|
-
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
43
|
-
React.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
44
|
-
React.createElement(
|
|
45
|
-
'h2',
|
|
46
|
-
null,
|
|
47
|
-
article.title
|
|
48
|
-
)
|
|
49
|
-
) : React.createElement(
|
|
50
|
-
'a',
|
|
51
|
-
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
52
|
-
React.createElement(
|
|
53
|
-
'h2',
|
|
54
|
-
null,
|
|
55
|
-
article.title
|
|
56
|
-
)
|
|
57
|
-
);
|
|
58
|
-
})
|
|
59
|
-
),
|
|
60
|
-
React.createElement(
|
|
61
|
-
'style',
|
|
62
|
-
{ jsx: 'true' },
|
|
63
|
-
'\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
|
|
64
|
-
)
|
|
65
|
-
);
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
export default VerticalHero;
|
|
1
|
+
import"react";import"moment";import"./urlFor-649884fa.js";export{a as default}from"./VerticalHero-ffc93a70.js";import"./slicedToArray-f57adb2c.js";import"./unsupportedIterableToArray-b359dd50.js";import"@sanity/image-url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,r as t}from"./index-00bbf2b1.js";import{_ as n}from"./extends-e61fd370.js";import a from"react";import r from"@sanity/block-content-to-react";import o from"react-bootstrap/Col";import i from"react-bootstrap/Form";import c from"react-bootstrap/Button";import{g as s}from"./index-24498aa0.js";import{a as l}from"./VideoSeriesListing-62650a53.js";var m={topic_ids:[]},p=function(e){var t=e.client,m=e.virtualBlock,p=e.topics,d=e.posts,u=e.query,f=e.params,_=e.currentPage,g=void 0===_?1:_,y=e.pageview,v=e.columns,h=void 0===v?"rotate":v,b=e.variant,x=void 0===b?"top":b,E=e.page,k=void 0===E?"":E,w=e.autoScroll,P=void 0===w||w,T=e.defaultImage,j=e.mapping;return a.createElement("div",null,m&&a.createElement(r,n({serializers:s(t),blocks:m.body,imageOptions:{w:320,h:240,fit:"max"}},t.config())),a.createElement("div",{className:"peer-exchange-filter-container"},a.createElement(i,{className:"ml-3",method:"post"},a.createElement(i.Row,null,a.createElement(o,null,a.createElement(i.Group,{controlId:"topic"},a.createElement(i.Control,{as:"select",name:"topic_id",placeholder:"Filter by Topic"},a.createElement("option",{value:""},"All Topics"),p&&p.map((function(t){return e.topic_id===t._id||"Peer Exchange"==t.name?null:a.createElement("option",{value:t._id},t.name)}))))),a.createElement(o,null,a.createElement(c,{type:"submit",variant:"secondary"},"Apply"))))),d&&a.createElement(l,{client:t,mapping:j,dataRecord:d,query:u,params:f,currentPage:g,pageview:y,columns:h,variant:x,page:k,autoScroll:P,defaultImage:T}))};p.getInitialData=function(){var n=e(t.mark((function e(n,a){var r,o,i,c,s,l,p,d,u,f,_,g,y,v,h,b,x,E=arguments;return t.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=E.length>2&&void 0!==E[2]?E[2]:6,o=E.length>3&&void 0!==E[3]?E[3]:"",i=E.length>4?E[4]:void 0,c=n.pathname,e.next=6,a.fetch("*[_type == 'virtualBlock' && identifier == '".concat(c,"'][0]"));case 6:if(s=e.sent,l="",!(m&&m.topic_ids&&m.topic_ids.length>0)){e.next=11;break}e.next=18;break;case 11:return l="*[\n _type == 'article' \n && !(_id in path(\"drafts.**\")) \n && defined(title) \n && defined(url)\n && references('".concat(i,"') \n && is_visible == true \n && dateTime(published) <= dateTime(now())\n ]{\n 'taxonomy_id': taxonomyMapping[]->_id\n }"),e.next=14,a.fetch(l);case 14:for(p=e.sent,d=[],u=0;u<p.length;u++)for(f=p[u],_=0;_<f.taxonomy_id.length;_++)d.includes(f.taxonomy_id[_])||d.push(f.taxonomy_id[_]);m.topic_ids=d;case 18:return l="*[_type == 'taxonomy' && _id in $taxonomy_ids] | order(name asc)",e.next=21,a.fetch(l,{taxonomy_ids:m.topic_ids});case 21:return g=e.sent,y=n.query,v=y.page?parseInt(y.page):1,b={from:h=(v-1)*r,to:h+r,url:c,itemsPerPage:r},l="*[\n _type == 'article'\n && !(_id in path(\"drafts.**\"))\n && defined(title)\n && defined(url)\n && is_visible == true\n && dateTime(published) <= dateTime(now())\n && references('".concat(i,"')\n ").concat(o?"&& references('".concat(o,"')"):"","\n ] | order(published desc) [$from...$to]{\n \t\t...,\n \t\ttitle,\n \t\tsummary,\n \t\tpublished,\n \t\tthumbnail{ ..., asset->},\n \t\turl,\n \t\ttaxonomy,\n \t\tcontentCategory->,\n \t\tbody[_type == \"youtubeGallery\"]{\n ...,\n videos[]{\n ...,\n thumbnail{...,asset->}\n }\n },\n \t\t'pageNumber': ").concat(v,"\n \t}"),e.next=29,a.fetch(l,b);case 29:return x=e.sent,e.abrupt("return",{virtualBlock:s,topics:g,posts:x,query:l,params:b,currentPage:v});case 31:case"end":return e.stop()}}),e)})));return function(e,t){return n.apply(this,arguments)}}();var d=Object.freeze({__proto__:null,default:p});export{d as V,p as a};
|
|
@@ -1,255 +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 Col from '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 './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 } from './asyncToGenerator-9c835201.js';
|
|
36
|
-
import './Segment.js';
|
|
37
|
-
import './Beam.js';
|
|
38
|
-
import './AdSlot.js';
|
|
39
|
-
import Button from '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 VideoSeriesListing from './VideoSeriesListing.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 Form from '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 cache = { topic_ids: [] };
|
|
72
|
-
|
|
73
|
-
var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
74
|
-
var client = props.client,
|
|
75
|
-
virtualBlock = props.virtualBlock,
|
|
76
|
-
topics = props.topics,
|
|
77
|
-
posts = props.posts,
|
|
78
|
-
query = props.query,
|
|
79
|
-
params = props.params,
|
|
80
|
-
_props$currentPage = props.currentPage,
|
|
81
|
-
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
82
|
-
pageview = props.pageview,
|
|
83
|
-
_props$columns = props.columns,
|
|
84
|
-
columns = _props$columns === undefined ? 'rotate' : _props$columns,
|
|
85
|
-
_props$variant = props.variant,
|
|
86
|
-
variant = _props$variant === undefined ? 'top' : _props$variant,
|
|
87
|
-
_props$page = props.page,
|
|
88
|
-
page = _props$page === undefined ? '' : _props$page,
|
|
89
|
-
_props$autoScroll = props.autoScroll,
|
|
90
|
-
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
|
|
91
|
-
defaultImage = props.defaultImage,
|
|
92
|
-
mapping = props.mapping;
|
|
93
|
-
|
|
94
|
-
return React.createElement(
|
|
95
|
-
'div',
|
|
96
|
-
null,
|
|
97
|
-
virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
98
|
-
React.createElement(
|
|
99
|
-
'div',
|
|
100
|
-
{ className: 'peer-exchange-filter-container' },
|
|
101
|
-
React.createElement(
|
|
102
|
-
Form,
|
|
103
|
-
{ className: 'ml-3', method: 'post' },
|
|
104
|
-
React.createElement(
|
|
105
|
-
Form.Row,
|
|
106
|
-
null,
|
|
107
|
-
React.createElement(
|
|
108
|
-
Col,
|
|
109
|
-
null,
|
|
110
|
-
React.createElement(
|
|
111
|
-
Form.Group,
|
|
112
|
-
{ controlId: 'topic' },
|
|
113
|
-
React.createElement(
|
|
114
|
-
Form.Control,
|
|
115
|
-
{ as: 'select', name: 'topic_id', placeholder: 'Filter by Topic' },
|
|
116
|
-
React.createElement(
|
|
117
|
-
'option',
|
|
118
|
-
{ value: '' },
|
|
119
|
-
'All Topics'
|
|
120
|
-
),
|
|
121
|
-
topics && topics.map(function (topic) {
|
|
122
|
-
if (props.topic_id === topic._id || topic.name == 'Peer Exchange') {
|
|
123
|
-
return null;
|
|
124
|
-
} else {
|
|
125
|
-
return React.createElement(
|
|
126
|
-
'option',
|
|
127
|
-
{ value: topic._id },
|
|
128
|
-
topic.name
|
|
129
|
-
);
|
|
130
|
-
}
|
|
131
|
-
})
|
|
132
|
-
)
|
|
133
|
-
)
|
|
134
|
-
),
|
|
135
|
-
React.createElement(
|
|
136
|
-
Col,
|
|
137
|
-
null,
|
|
138
|
-
React.createElement(
|
|
139
|
-
Button,
|
|
140
|
-
{ type: 'submit', variant: 'secondary' },
|
|
141
|
-
'Apply'
|
|
142
|
-
)
|
|
143
|
-
)
|
|
144
|
-
)
|
|
145
|
-
)
|
|
146
|
-
),
|
|
147
|
-
posts && React.createElement(VideoSeriesListing, {
|
|
148
|
-
client: client,
|
|
149
|
-
mapping: mapping,
|
|
150
|
-
dataRecord: posts,
|
|
151
|
-
query: query,
|
|
152
|
-
params: params,
|
|
153
|
-
currentPage: currentPage,
|
|
154
|
-
pageview: pageview,
|
|
155
|
-
columns: columns,
|
|
156
|
-
variant: variant,
|
|
157
|
-
page: page,
|
|
158
|
-
autoScroll: autoScroll,
|
|
159
|
-
defaultImage: defaultImage
|
|
160
|
-
})
|
|
161
|
-
);
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
VideoProgramLandingPage.getInitialData = function () {
|
|
165
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
|
|
166
|
-
var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 6;
|
|
167
|
-
var topicId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
|
|
168
|
-
var taxonomyId = arguments[4];
|
|
169
|
-
var pathname, virtualBlock, query, taxonomy_ids_res, taxonomy_ids, i, res, j, topics, urlQuery, currentPage, start, params, posts;
|
|
170
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
171
|
-
while (1) {
|
|
172
|
-
switch (_context.prev = _context.next) {
|
|
173
|
-
case 0:
|
|
174
|
-
// Virtual Block
|
|
175
|
-
pathname = context.pathname;
|
|
176
|
-
_context.next = 3;
|
|
177
|
-
return client.fetch('*[_type == \'virtualBlock\' && identifier == \'' + pathname + '\'][0]');
|
|
178
|
-
|
|
179
|
-
case 3:
|
|
180
|
-
virtualBlock = _context.sent;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
// Topics for filtering
|
|
184
|
-
query = '';
|
|
185
|
-
|
|
186
|
-
if (!(cache && cache.topic_ids && cache.topic_ids.length > 0)) {
|
|
187
|
-
_context.next = 8;
|
|
188
|
-
break;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
_context.next = 15;
|
|
192
|
-
break;
|
|
193
|
-
|
|
194
|
-
case 8:
|
|
195
|
-
query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url)\n && references(\'' + taxonomyId + '\') \n && is_visible == true \n && dateTime(published) <= dateTime(now())\n ]{\n \'taxonomy_id\': taxonomyMapping[]->_id\n }';
|
|
196
|
-
_context.next = 11;
|
|
197
|
-
return client.fetch(query);
|
|
198
|
-
|
|
199
|
-
case 11:
|
|
200
|
-
taxonomy_ids_res = _context.sent;
|
|
201
|
-
taxonomy_ids = [];
|
|
202
|
-
|
|
203
|
-
for (i = 0; i < taxonomy_ids_res.length; i++) {
|
|
204
|
-
res = taxonomy_ids_res[i];
|
|
205
|
-
|
|
206
|
-
for (j = 0; j < res.taxonomy_id.length; j++) {
|
|
207
|
-
if (!taxonomy_ids.includes(res.taxonomy_id[j])) {
|
|
208
|
-
taxonomy_ids.push(res.taxonomy_id[j]);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
cache.topic_ids = taxonomy_ids;
|
|
213
|
-
|
|
214
|
-
case 15:
|
|
215
|
-
query = '*[_type == \'taxonomy\' && _id in $taxonomy_ids] | order(name asc)';
|
|
216
|
-
_context.next = 18;
|
|
217
|
-
return client.fetch(query, { taxonomy_ids: cache.topic_ids });
|
|
218
|
-
|
|
219
|
-
case 18:
|
|
220
|
-
topics = _context.sent;
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
// Posts
|
|
224
|
-
urlQuery = context.query;
|
|
225
|
-
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
226
|
-
start = (currentPage - 1) * itemsPerPage;
|
|
227
|
-
params = {
|
|
228
|
-
from: start,
|
|
229
|
-
to: start + itemsPerPage,
|
|
230
|
-
url: pathname,
|
|
231
|
-
itemsPerPage: itemsPerPage
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
query = '*[\n _type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true\n && dateTime(published) <= dateTime(now())\n && references(\'' + taxonomyId + '\')\n ' + (topicId ? '&& references(\'' + topicId + '\')' : '') + '\n ] | order(published desc) [$from...$to]{\n \t\t...,\n \t\ttitle,\n \t\tsummary,\n \t\tpublished,\n \t\tthumbnail{ ..., asset->},\n \t\turl,\n \t\ttaxonomy,\n \t\tcontentCategory->,\n \t\tbody[_type == "youtubeGallery"]{\n ...,\n videos[]{\n ...,\n thumbnail{...,asset->}\n }\n },\n \t\t\'pageNumber\': ' + currentPage + '\n \t}';
|
|
235
|
-
_context.next = 26;
|
|
236
|
-
return client.fetch(query, params);
|
|
237
|
-
|
|
238
|
-
case 26:
|
|
239
|
-
posts = _context.sent;
|
|
240
|
-
return _context.abrupt('return', { virtualBlock: virtualBlock, topics: topics, posts: posts, query: query, params: params, currentPage: currentPage });
|
|
241
|
-
|
|
242
|
-
case 28:
|
|
243
|
-
case 'end':
|
|
244
|
-
return _context.stop();
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}, _callee, _this);
|
|
248
|
-
}));
|
|
249
|
-
|
|
250
|
-
return function (_x, _x2) {
|
|
251
|
-
return _ref.apply(this, arguments);
|
|
252
|
-
};
|
|
253
|
-
}();
|
|
254
|
-
|
|
255
|
-
export default VideoProgramLandingPage;
|
|
1
|
+
import"./index-00bbf2b1.js";import"./extends-e61fd370.js";import"react";import"@sanity/block-content-to-react";import"react-bootstrap/Col";import"react-bootstrap/Form";import"react-bootstrap/Button";import"./index-24498aa0.js";import"./VideoSeriesListing-62650a53.js";export{a as default}from"./VideoProgramLandingPage-179db5b2.js";import"./slicedToArray-f57adb2c.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-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"./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";
|
|
@@ -1,82 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import './core.get-iterator-method-8c71f470.js';
|
|
3
|
-
import './_library-528f1934.js';
|
|
4
|
-
import './_object-pie-33c40e79.js';
|
|
5
|
-
import './web.dom.iterable-406140e0.js';
|
|
6
|
-
import { _ as _typeof } from './typeof-d92ed6e0.js';
|
|
7
|
-
import './_is-array-31d40a83.js';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import 'prop-types';
|
|
10
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
11
|
-
import 'react-dom';
|
|
12
|
-
import './slicedToArray-99bcfd93.js';
|
|
13
|
-
import './index-51a80699.js';
|
|
14
|
-
import urlFor from './urlFor.js';
|
|
15
|
-
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
16
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
17
|
-
|
|
18
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
|
|
19
|
-
var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
|
|
20
|
-
styleInject(css);
|
|
21
|
-
|
|
22
|
-
var VideoSeriesCard = function VideoSeriesCard(props) {
|
|
23
|
-
var data = props.data,
|
|
24
|
-
variant = props.variant,
|
|
25
|
-
defaultImage = props.defaultImage,
|
|
26
|
-
client = props.client,
|
|
27
|
-
index = props.index;
|
|
28
|
-
|
|
29
|
-
var episode = parseInt(index) + 1;
|
|
30
|
-
|
|
31
|
-
return React.createElement(
|
|
32
|
-
'div',
|
|
33
|
-
{ className: styles.article },
|
|
34
|
-
React.createElement(
|
|
35
|
-
'a',
|
|
36
|
-
{ href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
37
|
-
React.createElement(
|
|
38
|
-
'div',
|
|
39
|
-
{ className: styles.thumb },
|
|
40
|
-
React.createElement(
|
|
41
|
-
'figure',
|
|
42
|
-
null,
|
|
43
|
-
React.createElement(
|
|
44
|
-
LazyLoad,
|
|
45
|
-
null,
|
|
46
|
-
React.createElement('img', {
|
|
47
|
-
src: data.thumbnail && data.thumbnail.asset ? urlFor({ client: client, source: data.thumbnail }) : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
|
|
48
|
-
})
|
|
49
|
-
)
|
|
50
|
-
)
|
|
51
|
-
),
|
|
52
|
-
React.createElement(
|
|
53
|
-
'div',
|
|
54
|
-
{ className: styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
|
|
55
|
-
React.createElement(
|
|
56
|
-
'div',
|
|
57
|
-
{ style: { fontSize: '1.3rem', fontWeight: 'bold' } },
|
|
58
|
-
episode && 'EP ' + episode + ': ',
|
|
59
|
-
data.title
|
|
60
|
-
),
|
|
61
|
-
data.published && React.createElement(
|
|
62
|
-
'p',
|
|
63
|
-
{ className: styles.published },
|
|
64
|
-
moment(data.published).format('MMMM Do YYYY')
|
|
65
|
-
),
|
|
66
|
-
data.authorMapping && data.authorMapping.displayName && React.createElement(
|
|
67
|
-
'p',
|
|
68
|
-
{ className: styles.author },
|
|
69
|
-
'By ',
|
|
70
|
-
React.createElement(
|
|
71
|
-
'span',
|
|
72
|
-
null,
|
|
73
|
-
data.authorMapping.displayName
|
|
74
|
-
)
|
|
75
|
-
),
|
|
76
|
-
data.intro && React.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
|
|
77
|
-
)
|
|
78
|
-
)
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
export default VideoSeriesCard;
|
|
1
|
+
import{_ as e}from"./typeof-92b42de1.js";import r from"react";import i from"react-lazyload";import{u as n}from"./urlFor-649884fa.js";import a from"moment";import{s as d}from"./style-inject.es-1f59c1d0.js";import"prop-types";import"./slicedToArray-f57adb2c.js";import"./unsupportedIterableToArray-b359dd50.js";import"@sanity/image-url";var o="VideoSeriesCard-module_article__Hlc3e",t="VideoSeriesCard-module_thumb__3hGyJ",m="VideoSeriesCard-module_info__2_i1N",l="VideoSeriesCard-module_published__1fI0q",s="VideoSeriesCard-module_summary__3hWJT",_="VideoSeriesCard-module_author__aU35o";d(".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n");var u=function(d){var u=d.data,c=d.variant,h=d.defaultImage,p=d.client,f=d.index,g=parseInt(f)+1;return r.createElement("div",{className:o},r.createElement("a",{href:"/view/".concat(u.url.current),style:"right"===c?{flexDirection:"row-reverse"}:{}},r.createElement("div",{className:t},r.createElement("figure",null,r.createElement(i,null,r.createElement("img",{src:u.thumbnail&&u.thumbnail.asset?n({client:p,source:u.thumbnail}):u.thumbnail&&e("string"==u.thumbnail)?u.thumbnail:h})))),r.createElement("div",{className:m,style:"right"===c?{padding:"0 1rem 0 0"}:{padding:" 0 0 0 1rem"}},r.createElement("div",{style:{fontSize:"1.3rem",fontWeight:"bold"}},g&&"EP ".concat(g,": "),u.title),u.published&&r.createElement("p",{className:l},a(u.published).format("MMMM Do YYYY")),u.authorMapping&&u.authorMapping.displayName&&r.createElement("p",{className:_},"By ",r.createElement("span",null,u.authorMapping.displayName)),u.intro&&r.createElement("p",{dangerouslySetInnerHTML:{__html:u.intro},className:s}))))};export{u as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as e,r as n}from"./index-00bbf2b1.js";import{_ as t}from"./slicedToArray-f57adb2c.js";import a,{useState as r,useEffect as i}from"react";import{withRouter as c}from"next/router";import{DropdownButton as o,Dropdown as l}from"react-bootstrap";var s=c((function(c){var s=c.filterData,u=c.queryProps,m=c.filteredList,p=c.loadingStatus,d=c.exclude,f=void 0===d?null:d,h=c.router,y=u.taxonomyID,b=u.currentPage,_=u.client,v=u.params,x=r({name:"All Topics",id:""}),w=t(x,2),g=w[0],k=w[1],q=function(){var t=e(n.mark((function e(){var t;return n.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p&&p(!0),m(null),t="*[_type == 'article'\n && !(_id in path(\"drafts.**\"))\n && defined(title)\n && defined(url) ".concat(g.id?" && references('".concat(g.id,"')"):"","\n && references('").concat(y,"')\n && is_visible == true\n && published <= now()\n && passwordLock != true\n ] | order(published desc) [$from...$to]{\n ...,\n title,\n summary,\n published,\n thumbnail{ ..., asset->},\n url,\n taxonomy,\n contentCategory->,\n body[_type == \"youtubeGallery\"]{\n ...,\n videos[]{\n ...,\n thumbnail{...,asset->}\n }\n },\n 'pageNumber': ").concat(b,"\n }"),e.next=5,_.fetch(t,v).then((function(e){m({posts:e,query:t})}));case 5:p&&p(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return t.apply(this,arguments)}}();return i((function(){h&&h.query&&h.query.filter&&s&&s.length>0&&s.map((function(e){e.name===h.query.filter&&k({name:e.name,id:e._id})}))}),[]),i((function(){q();var e="";h.asPath.includes("?")&&h.asPath.slice(h.asPath.indexOf("?")+1).split("&").forEach((function(n){n.includes("=")&&"filter"!==n.split("=")[0]&&(e+=""===e?"".concat(n.split("=")[0],"=").concat(n.split("=")[1]):"&".concat(n.split("=")[0],"=").concat(n.split("=")[1]))})),""!==g.id?h.push(h.pathname,"".concat(h.pathname,"?filter=").concat(g.name).concat(""!==e?"&".concat(e):""),{shallow:!0}):h.push(h.pathname,"".concat(h.pathname).concat(""!==e?"?".concat(e):""),{shallow:!0})}),[g]),a.createElement(a.Fragment,null,a.createElement(o,{className:"filter_dropdown",variant:"primary",title:g.name},a.createElement(l.Item,{key:"all",onClick:function(){return k({name:"All Topics",id:""})}},"All Topics"),s&&s.map((function(e){if(e.identifier!==f)return a.createElement(l.Item,{key:e._id,onClick:function(){return k({name:e.name,id:e._id})},value:e._id,selected:!0},e.name)}))))})),u=Object.freeze({__proto__:null,default:s});export{u as V,s as a};
|