@mjhls/mjh-framework 1.0.976-eventdeckfix → 1.0.976
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.js +1 -1
- package/dist/cjs/AD300x250.js +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-81006615.js → ADInfeed-b54f0bda.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-0db07099.js → ADlgInfeed-4f0850ec.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14300
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +355 -494
- package/dist/cjs/AuthWrapper.js +13 -1772
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -27
- package/dist/cjs/Column1.js +1 -1
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +31 -32
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -37
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -33
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +13 -14
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +47 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +28 -28
- package/dist/cjs/Header.js +1 -1
- package/dist/cjs/HealthCareProfessionalModal.js +2 -2
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +20 -21
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -33
- package/dist/cjs/{MediaSeriesCard-94ff4d11.js → MediaSeriesCard-ad60f8ab.js} +810 -1035
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -57
- package/dist/cjs/NavDvm.js +12 -12
- package/dist/cjs/NavMagazine.js +30 -30
- package/dist/cjs/NavNative.js +31 -31
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/Pagination-7624a3bd.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -62
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PixelTracking.js +7 -7
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PtceDeck.js +10 -10
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-08699353.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +45 -46
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +120 -123
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getPtceActivities.js +4 -4
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-eb1c583d.js → index-0dbf5088.js} +163 -413
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +146 -147
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +5 -5
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +8 -8
- package/dist/esm/AD300x250.js +25 -26
- package/dist/esm/AD300x250x600.js +25 -26
- package/dist/esm/AD728x90.js +28 -29
- package/dist/esm/ADFloatingFooter.js +27 -28
- package/dist/esm/ADFooter.js +10 -10
- package/dist/esm/ADGutter.js +27 -28
- package/dist/esm/{ADInfeed-6d1fc6bf.js → ADInfeed-310d113c.js} +9 -9
- package/dist/esm/ADSkyscraper.js +27 -28
- package/dist/esm/ADSponsoredResources.js +27 -28
- package/dist/esm/ADWebcast.js +27 -28
- package/dist/esm/ADWelcome.js +28 -29
- package/dist/esm/{ADlgInfeed-dc36c928.js → ADlgInfeed-eeaa14e2.js} +8 -8
- package/dist/esm/AccordionPanel.js +23 -23
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +13 -14
- package/dist/esm/AlgoliaSearch.js +56 -14325
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +57 -57
- package/dist/esm/ArticleSeriesLandingPage.js +36 -37
- package/dist/esm/ArticleSeriesListing.js +55 -56
- package/dist/esm/Auth.js +427 -565
- package/dist/esm/AuthWrapper.js +27 -1787
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-b0a47123.js} +11 -11
- package/dist/esm/Beam.js +7 -7
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +16 -16
- package/dist/esm/CMEDeck.js +78 -83
- package/dist/esm/Column1.js +7 -6
- package/dist/esm/Column2.js +27 -26
- package/dist/esm/Column3.js +51 -51
- package/dist/esm/ConferenceArticleCard.js +24 -24
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +73 -73
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +71 -72
- package/dist/esm/DeckQueuePaginated.js +64 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-e151d2de.js} +21 -22
- package/dist/esm/EventsDeck.js +89 -89
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +22 -22
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +146 -147
- package/dist/esm/GridContentPaginated.js +135 -135
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +106 -105
- package/dist/esm/Header.js +10 -9
- package/dist/esm/HealthCareProfessionalModal.js +13 -13
- package/dist/esm/Hero.js +14 -14
- package/dist/esm/HighlightenVideo.js +15 -15
- package/dist/esm/HorizontalArticleListing.js +71 -71
- package/dist/esm/HorizontalHero.js +27 -27
- package/dist/esm/ImageSlider-5ae6287a.js +1375 -0
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +65 -65
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +34 -34
- package/dist/esm/MasterDeck.js +64 -65
- package/dist/esm/MasterDeckPaginated.js +56 -56
- package/dist/esm/{MediaSeriesCard-4f07fac6.js → MediaSeriesCard-b3ee22d7.js} +810 -1035
- package/dist/esm/MediaSeriesLanding.js +77 -78
- package/dist/esm/MediaSeriesLandingPaginated.js +81 -81
- package/dist/esm/NavDvm.js +56 -55
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -112
- package/dist/esm/NavNative.js +103 -102
- package/dist/esm/OncliveHero.js +20 -20
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +11 -11
- package/dist/esm/Pagination-1e09918f.js +82 -0
- package/dist/esm/PartnerDetailListing.js +98 -99
- package/dist/esm/PartnerDetailListingPaginated.js +94 -94
- package/dist/esm/PdfDownload.js +8 -8
- package/dist/esm/PixelTracking.js +16 -16
- package/dist/esm/PopUpModal.js +13 -13
- package/dist/esm/PtceDeck.js +24 -24
- package/dist/esm/PubSection.js +38 -39
- package/dist/esm/PubToc.js +11 -11
- package/dist/esm/PublicationDeck.js +43 -43
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-0379cc20.js} +23 -23
- package/dist/esm/PublicationLanding.js +75 -79
- package/dist/esm/QueueDeckExpanded.js +274 -275
- package/dist/esm/QueueDeckExpandedPaginated.js +254 -254
- package/dist/esm/RecentNews.js +21 -21
- package/dist/esm/RelatedContent.js +24 -24
- package/dist/esm/RelatedTopicsDropdown.js +12 -12
- package/dist/esm/RolesDeck.js +14 -14
- package/dist/esm/Schema.js +13 -13
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +5 -5
- package/dist/esm/SeriesListingDeck.js +31 -32
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-b364d074.js} +31 -31
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +8 -8
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-77a22145.js} +33 -33
- package/dist/esm/SocialShare.js +26 -26
- package/dist/esm/TaxonomyCard.js +45 -45
- package/dist/esm/TaxonomyDescription.js +51 -51
- package/dist/esm/TemplateNormal.js +66 -67
- package/dist/esm/ThumbnailCard.js +18 -18
- package/dist/esm/Ustream.js +30 -30
- package/dist/esm/VerticalHero.js +18 -18
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +14 -14
- package/dist/esm/VideoSeriesLandingPage.js +41 -42
- package/dist/esm/VideoSeriesListing.js +71 -72
- package/dist/esm/View.js +315 -319
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +49 -49
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-31d40a83.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-72edfd60.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-4201ccf6.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-fa0feeff.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-9c835201.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-8c71f470.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-a8a00786.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-3518b6fe.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-7fbbe94e.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getPtceActivities.js +4 -4
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +70 -134
- package/dist/esm/getRootDocGroup.js +5 -5
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-260246fb.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-264bbd3c.js → index-c7b58dc8.js} +571 -822
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +172 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-d26c739e.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/keys-5e9bd229.js +23 -0
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-99bcfd93.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-0c65d837.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +2 -2
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-47a5394a.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-d92ed6e0.js} +34 -34
- package/dist/esm/urlFor.js +5 -5
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-0fc42ed8.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-cbba615a.js} +5 -5
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-406140e0.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/Pagination-dc30727b.js +0 -90
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/keys-31dcdb31.js +0 -23
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
2
|
-
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
5
|
-
import urlFor from './urlFor.js';
|
|
6
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
|
-
import Router, { useRouter } from 'next/router';
|
|
8
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import {
|
|
12
|
-
import './
|
|
2
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-8c71f470.js';
|
|
3
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-47a5394a.js';
|
|
4
|
+
import { _ as _extends } from './extends-7fbbe94e.js';
|
|
5
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-d26c739e.js';
|
|
6
|
+
import { _ as _typeof$1 } from './typeof-d92ed6e0.js';
|
|
7
|
+
import React, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
8
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
9
|
+
import PropTypes from 'prop-types';
|
|
10
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
11
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
12
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
13
|
+
import Router, { useRouter } from 'next/router';
|
|
14
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-99bcfd93.js';
|
|
15
|
+
import urlFor from './urlFor.js';
|
|
16
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
17
|
+
import { e as main_16, b as main_39, m as main_40 } from './main-43ca42fe.js';
|
|
18
|
+
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
19
|
+
import { _ as _JSON$stringify } from './stringify-0c65d837.js';
|
|
20
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-9c835201.js';
|
|
13
21
|
import Segment from './Segment.js';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
19
|
-
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
22
|
-
import Modal from 'react-bootstrap/Modal';
|
|
22
|
+
import './Beam.js';
|
|
23
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
24
|
import Button from 'react-bootstrap/Button';
|
|
25
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
26
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
27
|
+
import GroupDeck from './GroupDeck.js';
|
|
28
|
+
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
29
|
+
import { c as IoIosArrowDropupCircle } from './index.esm-55f22b35.js';
|
|
30
|
+
import { u as util } from './util-7700fc59.js';
|
|
31
|
+
import { u as urlForFile } from './urlForFile-0fc42ed8.js';
|
|
32
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-4abff0b1.js';
|
|
33
|
+
import Modal from 'react-bootstrap/Modal';
|
|
24
34
|
import Form from 'react-bootstrap/Form';
|
|
25
35
|
import ReactGA from 'react-ga';
|
|
26
|
-
import
|
|
27
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
36
|
+
import Head from 'next/head';
|
|
28
37
|
import SocialShare from './SocialShare.js';
|
|
29
|
-
import { _ as
|
|
30
|
-
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
31
|
-
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
38
|
+
import { _ as _objectToArray } from './_object-to-array-fa0feeff.js';
|
|
32
39
|
import Pagination from 'react-bootstrap/Pagination';
|
|
33
|
-
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
34
|
-
import DFPAdSlot from './AdSlot.js';
|
|
35
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
36
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
37
|
-
import Head from 'next/head';
|
|
38
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1, e as classCallCheck, p as possibleConstructorReturn, i as inherits } from './inherits-a6ba2ec4.js';
|
|
39
|
-
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
40
40
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
41
41
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
42
42
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
43
43
|
import Popover from 'react-bootstrap/Popover';
|
|
44
|
+
import ScriptTag from 'react-script-tag';
|
|
44
45
|
|
|
45
46
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
46
47
|
var pageNumber = selectedIndex + 1;
|
|
@@ -48,7 +49,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
48
49
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
49
50
|
};
|
|
50
51
|
|
|
51
|
-
var Slideshow
|
|
52
|
+
var Slideshow = function Slideshow(_ref) {
|
|
52
53
|
var slides = _ref.slides,
|
|
53
54
|
client = _ref.client,
|
|
54
55
|
pageview = _ref.pageview;
|
|
@@ -75,27 +76,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
75
76
|
if (pageview) pageview(router.asPath);
|
|
76
77
|
}, [router]);
|
|
77
78
|
|
|
78
|
-
return
|
|
79
|
+
return React.createElement(
|
|
79
80
|
'div',
|
|
80
81
|
{ className: 'mt-3 mb-3' },
|
|
81
|
-
|
|
82
|
+
React.createElement(
|
|
82
83
|
Carousel,
|
|
83
84
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
84
85
|
return onChangeSlide(selectedIndex, router);
|
|
85
86
|
}, interval: null },
|
|
86
87
|
slides && slides.map(function (slide) {
|
|
87
|
-
return
|
|
88
|
+
return React.createElement(
|
|
88
89
|
Carousel.Item,
|
|
89
90
|
{ key: slide._key },
|
|
90
|
-
|
|
91
|
+
React.createElement(
|
|
91
92
|
'picture',
|
|
92
93
|
null,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
95
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
96
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
97
|
+
React.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
97
98
|
),
|
|
98
|
-
slide.caption &&
|
|
99
|
+
slide.caption && React.createElement(
|
|
99
100
|
'p',
|
|
100
101
|
{ className: 'p-2' },
|
|
101
102
|
slide.caption
|
|
@@ -685,14 +686,14 @@ function coerce(val) {
|
|
|
685
686
|
return val;
|
|
686
687
|
}
|
|
687
688
|
});
|
|
688
|
-
debug.coerce;
|
|
689
|
-
debug.disable;
|
|
690
|
-
debug.enable;
|
|
691
|
-
debug.enabled;
|
|
692
|
-
debug.humanize;
|
|
693
|
-
debug.names;
|
|
694
|
-
debug.skips;
|
|
695
|
-
debug.formatters;
|
|
689
|
+
var debug_1 = debug.coerce;
|
|
690
|
+
var debug_2 = debug.disable;
|
|
691
|
+
var debug_3 = debug.enable;
|
|
692
|
+
var debug_4 = debug.enabled;
|
|
693
|
+
var debug_5 = debug.humanize;
|
|
694
|
+
var debug_6 = debug.names;
|
|
695
|
+
var debug_7 = debug.skips;
|
|
696
|
+
var debug_8 = debug.formatters;
|
|
696
697
|
|
|
697
698
|
var browser = createCommonjsModule(function (module, exports) {
|
|
698
699
|
/**
|
|
@@ -881,13 +882,13 @@ function localstorage() {
|
|
|
881
882
|
} catch (e) {}
|
|
882
883
|
}
|
|
883
884
|
});
|
|
884
|
-
browser.log;
|
|
885
|
-
browser.formatArgs;
|
|
886
|
-
browser.save;
|
|
887
|
-
browser.load;
|
|
888
|
-
browser.useColors;
|
|
889
|
-
browser.storage;
|
|
890
|
-
browser.colors;
|
|
885
|
+
var browser_1 = browser.log;
|
|
886
|
+
var browser_2 = browser.formatArgs;
|
|
887
|
+
var browser_3 = browser.save;
|
|
888
|
+
var browser_4 = browser.load;
|
|
889
|
+
var browser_5 = browser.useColors;
|
|
890
|
+
var browser_6 = browser.storage;
|
|
891
|
+
var browser_7 = browser.colors;
|
|
891
892
|
|
|
892
893
|
// MIT lisence
|
|
893
894
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1162,14 +1163,14 @@ function init (debug) {
|
|
|
1162
1163
|
|
|
1163
1164
|
exports.enable(load());
|
|
1164
1165
|
});
|
|
1165
|
-
node.init;
|
|
1166
|
-
node.log;
|
|
1167
|
-
node.formatArgs;
|
|
1168
|
-
node.save;
|
|
1169
|
-
node.load;
|
|
1170
|
-
node.useColors;
|
|
1171
|
-
node.colors;
|
|
1172
|
-
node.inspectOpts;
|
|
1166
|
+
var node_1 = node.init;
|
|
1167
|
+
var node_2 = node.log;
|
|
1168
|
+
var node_3 = node.formatArgs;
|
|
1169
|
+
var node_4 = node.save;
|
|
1170
|
+
var node_5 = node.load;
|
|
1171
|
+
var node_6 = node.useColors;
|
|
1172
|
+
var node_7 = node.colors;
|
|
1173
|
+
var node_8 = node.inspectOpts;
|
|
1173
1174
|
|
|
1174
1175
|
var src = createCommonjsModule(function (module) {
|
|
1175
1176
|
/**
|
|
@@ -1627,11 +1628,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1627
1628
|
|
|
1628
1629
|
function filterResetOptions(opts) {
|
|
1629
1630
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1630
|
-
playerVars: _objectSpread({
|
|
1631
|
+
playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
|
|
1631
1632
|
autoplay: 0,
|
|
1632
1633
|
start: 0,
|
|
1633
1634
|
end: 0
|
|
1634
|
-
}
|
|
1635
|
+
})
|
|
1635
1636
|
});
|
|
1636
1637
|
}
|
|
1637
1638
|
/**
|
|
@@ -1837,9 +1838,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1837
1838
|
}, {
|
|
1838
1839
|
key: "render",
|
|
1839
1840
|
value: function render() {
|
|
1840
|
-
return /*#__PURE__*/
|
|
1841
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1841
1842
|
className: this.props.containerClassName
|
|
1842
|
-
}, /*#__PURE__*/
|
|
1843
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1843
1844
|
id: this.props.id,
|
|
1844
1845
|
className: this.props.className,
|
|
1845
1846
|
ref: this.refContainer
|
|
@@ -1848,7 +1849,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1848
1849
|
}]);
|
|
1849
1850
|
|
|
1850
1851
|
return YouTube;
|
|
1851
|
-
}(
|
|
1852
|
+
}(React.Component);
|
|
1852
1853
|
|
|
1853
1854
|
_defineProperty(YouTube, "PlayerState", {
|
|
1854
1855
|
UNSTARTED: -1,
|
|
@@ -1933,7 +1934,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1933
1934
|
var queue = Math.floor(duration / 10);
|
|
1934
1935
|
var segment = Math.floor(current / queue);
|
|
1935
1936
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1936
|
-
Segment.report_video_event('Video Ready',
|
|
1937
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
1937
1938
|
};
|
|
1938
1939
|
|
|
1939
1940
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1944,7 +1945,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1944
1945
|
|
|
1945
1946
|
if (!queueProgress.includes(segment)) {
|
|
1946
1947
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1947
|
-
Segment.report_video_event('Video Segment',
|
|
1948
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
1948
1949
|
queueProgress.push(segment);
|
|
1949
1950
|
}
|
|
1950
1951
|
};
|
|
@@ -1958,7 +1959,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1958
1959
|
var segment = Math.floor(current / queue);
|
|
1959
1960
|
|
|
1960
1961
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1961
|
-
Segment.report_video_event('Video Play',
|
|
1962
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
1962
1963
|
|
|
1963
1964
|
if (!playReported) {
|
|
1964
1965
|
setPlayReported(true);
|
|
@@ -1978,7 +1979,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1978
1979
|
var segment = Math.floor(current / queue);
|
|
1979
1980
|
|
|
1980
1981
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1981
|
-
Segment.report_video_event('Video End',
|
|
1982
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
1982
1983
|
setEndReported(true);
|
|
1983
1984
|
clearInterval(intervalID);
|
|
1984
1985
|
}
|
|
@@ -1992,14 +1993,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1992
1993
|
var segment = Math.floor(current / queue);
|
|
1993
1994
|
|
|
1994
1995
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
1995
|
-
Segment.report_video_event('Video Pause',
|
|
1996
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
1996
1997
|
};
|
|
1997
1998
|
|
|
1998
|
-
return
|
|
1999
|
+
return React.createElement(
|
|
1999
2000
|
'div',
|
|
2000
2001
|
{ id: 'fluid-video-container' },
|
|
2001
|
-
|
|
2002
|
-
|
|
2002
|
+
React.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2003
|
+
React.createElement(
|
|
2003
2004
|
'style',
|
|
2004
2005
|
{ jsx: 'true' },
|
|
2005
2006
|
'\n #fluid-video-container {\n margin-bottom: 2rem;\n }\n #fluid-video-container > div {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n }\n #fluid-video-container .fluid-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100% !important;\n }\n '
|
|
@@ -2012,20 +2013,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2012
2013
|
content = _ref.content,
|
|
2013
2014
|
getSerializers = _ref.getSerializers;
|
|
2014
2015
|
|
|
2015
|
-
return
|
|
2016
|
+
return React.createElement(
|
|
2016
2017
|
'article',
|
|
2017
2018
|
{ className: 'sidebar' },
|
|
2018
|
-
|
|
2019
|
+
React.createElement(
|
|
2019
2020
|
'div',
|
|
2020
2021
|
null,
|
|
2021
|
-
|
|
2022
|
+
React.createElement(
|
|
2022
2023
|
'h3',
|
|
2023
2024
|
null,
|
|
2024
2025
|
caption
|
|
2025
2026
|
),
|
|
2026
|
-
|
|
2027
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2027
2028
|
),
|
|
2028
|
-
|
|
2029
|
+
React.createElement(
|
|
2029
2030
|
'style',
|
|
2030
2031
|
{ jsx: 'true' },
|
|
2031
2032
|
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2036,18 +2037,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2036
2037
|
var TableShow = function TableShow(_ref) {
|
|
2037
2038
|
var rows = _ref.rows;
|
|
2038
2039
|
|
|
2039
|
-
return
|
|
2040
|
+
return React.createElement(
|
|
2040
2041
|
Table,
|
|
2041
2042
|
{ bordered: true, hover: true, responsive: true },
|
|
2042
|
-
|
|
2043
|
+
React.createElement(
|
|
2043
2044
|
'tbody',
|
|
2044
2045
|
null,
|
|
2045
2046
|
rows && rows.map(function (row) {
|
|
2046
|
-
return
|
|
2047
|
+
return React.createElement(
|
|
2047
2048
|
'tr',
|
|
2048
2049
|
{ key: row._key },
|
|
2049
2050
|
row.cells && row.cells.map(function (cell, index) {
|
|
2050
|
-
return cell &&
|
|
2051
|
+
return cell && React.createElement(
|
|
2051
2052
|
'td',
|
|
2052
2053
|
{ key: index },
|
|
2053
2054
|
cell
|
|
@@ -2145,25 +2146,25 @@ var Media = function Media(_ref) {
|
|
|
2145
2146
|
margin: imageMargin
|
|
2146
2147
|
};
|
|
2147
2148
|
|
|
2148
|
-
return
|
|
2149
|
+
return React.createElement(
|
|
2149
2150
|
Figure$1,
|
|
2150
2151
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2151
|
-
|
|
2152
|
+
React.createElement(
|
|
2152
2153
|
'a',
|
|
2153
2154
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2154
|
-
|
|
2155
|
+
React.createElement(
|
|
2155
2156
|
LazyLoad,
|
|
2156
2157
|
{ once: true },
|
|
2157
|
-
|
|
2158
|
+
React.createElement(
|
|
2158
2159
|
'picture',
|
|
2159
2160
|
null,
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2161
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2162
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2163
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2164
|
+
React.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2164
2165
|
)
|
|
2165
2166
|
),
|
|
2166
|
-
caption &&
|
|
2167
|
+
caption && React.createElement(
|
|
2167
2168
|
Figure$1.Caption,
|
|
2168
2169
|
{ className: 'media-caption' },
|
|
2169
2170
|
caption
|
|
@@ -2171,7 +2172,7 @@ var Media = function Media(_ref) {
|
|
|
2171
2172
|
)
|
|
2172
2173
|
);
|
|
2173
2174
|
} else if (caption && caption !== '') {
|
|
2174
|
-
return
|
|
2175
|
+
return React.createElement(
|
|
2175
2176
|
'a',
|
|
2176
2177
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2177
2178
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2191,10 +2192,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2191
2192
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2192
2193
|
|
|
2193
2194
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2194
|
-
return
|
|
2195
|
+
return React.createElement(
|
|
2195
2196
|
'div',
|
|
2196
2197
|
{ className: 'd-block text-center mb-3' },
|
|
2197
|
-
|
|
2198
|
+
React.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2198
2199
|
);
|
|
2199
2200
|
};
|
|
2200
2201
|
|
|
@@ -2204,7 +2205,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2204
2205
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2205
2206
|
|
|
2206
2207
|
var choiceArray = choices.map(function (choice) {
|
|
2207
|
-
return
|
|
2208
|
+
return React.createElement(Form.Check, {
|
|
2208
2209
|
inline: true,
|
|
2209
2210
|
label: choice.choiceText,
|
|
2210
2211
|
value: choice.choiceText,
|
|
@@ -2214,19 +2215,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2214
2215
|
onClick: handlePollAnswer
|
|
2215
2216
|
});
|
|
2216
2217
|
});
|
|
2217
|
-
return
|
|
2218
|
+
return React.createElement(
|
|
2218
2219
|
'div',
|
|
2219
2220
|
{
|
|
2220
2221
|
key: 'inline-radio',
|
|
2221
2222
|
className: 'mb-3' },
|
|
2222
|
-
|
|
2223
|
+
React.createElement(
|
|
2223
2224
|
'h2',
|
|
2224
2225
|
{
|
|
2225
2226
|
className: 'radioLabelText'
|
|
2226
2227
|
},
|
|
2227
2228
|
question
|
|
2228
2229
|
),
|
|
2229
|
-
|
|
2230
|
+
React.createElement(
|
|
2230
2231
|
'div',
|
|
2231
2232
|
{
|
|
2232
2233
|
className: 'multiChoiceDiv'
|
|
@@ -2241,19 +2242,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2241
2242
|
textAnswer = _ref.textAnswer,
|
|
2242
2243
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2243
2244
|
|
|
2244
|
-
return
|
|
2245
|
+
return React.createElement(
|
|
2245
2246
|
'div',
|
|
2246
2247
|
{
|
|
2247
2248
|
className: 'textInputDiv'
|
|
2248
2249
|
},
|
|
2249
|
-
|
|
2250
|
+
React.createElement(
|
|
2250
2251
|
'h2',
|
|
2251
2252
|
{
|
|
2252
2253
|
className: 'textInputQuestion'
|
|
2253
2254
|
},
|
|
2254
2255
|
textInputQuestion
|
|
2255
2256
|
),
|
|
2256
|
-
|
|
2257
|
+
React.createElement(Form.Control, {
|
|
2257
2258
|
type: 'text',
|
|
2258
2259
|
className: 'textInput',
|
|
2259
2260
|
value: textAnswer,
|
|
@@ -2363,7 +2364,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2363
2364
|
var pollArray = [];
|
|
2364
2365
|
pollItems.forEach(function (item, ind) {
|
|
2365
2366
|
if (item.format === 'multiChoice') {
|
|
2366
|
-
pollArray.push(
|
|
2367
|
+
pollArray.push(React.createElement(PopupMultiChoice, {
|
|
2367
2368
|
question: item.question,
|
|
2368
2369
|
choices: item.choices,
|
|
2369
2370
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2371,7 +2372,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2371
2372
|
}));
|
|
2372
2373
|
}
|
|
2373
2374
|
if (item.format === 'textInput') {
|
|
2374
|
-
pollArray.push(
|
|
2375
|
+
pollArray.push(React.createElement(PopupPollTextInput, {
|
|
2375
2376
|
textInputQuestion: item.question,
|
|
2376
2377
|
textanswer: textAnswer,
|
|
2377
2378
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2380,26 +2381,26 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2380
2381
|
}
|
|
2381
2382
|
});
|
|
2382
2383
|
|
|
2383
|
-
return
|
|
2384
|
+
return React.createElement(
|
|
2384
2385
|
'div',
|
|
2385
2386
|
{
|
|
2386
2387
|
className: 'modalDiv',
|
|
2387
2388
|
id: 'modalDiv'
|
|
2388
2389
|
},
|
|
2389
|
-
|
|
2390
|
+
React.createElement(
|
|
2390
2391
|
Modal.Dialog,
|
|
2391
2392
|
null,
|
|
2392
|
-
|
|
2393
|
+
React.createElement(
|
|
2393
2394
|
Modal.Body,
|
|
2394
2395
|
null,
|
|
2395
|
-
|
|
2396
|
+
React.createElement(
|
|
2396
2397
|
Form,
|
|
2397
2398
|
{
|
|
2398
2399
|
onSubmit: handleSubmit,
|
|
2399
2400
|
className: 'modalForm'
|
|
2400
2401
|
},
|
|
2401
2402
|
pollArray,
|
|
2402
|
-
textInputRender && !multiChoiceRender ?
|
|
2403
|
+
textInputRender && !multiChoiceRender ? React.createElement(
|
|
2403
2404
|
Button,
|
|
2404
2405
|
{
|
|
2405
2406
|
className: 'submitButton',
|
|
@@ -2408,7 +2409,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2408
2409
|
disabled: !textAnswer
|
|
2409
2410
|
},
|
|
2410
2411
|
'Submit'
|
|
2411
|
-
) :
|
|
2412
|
+
) : React.createElement(
|
|
2412
2413
|
Button,
|
|
2413
2414
|
{
|
|
2414
2415
|
className: 'submitButton',
|
|
@@ -2494,7 +2495,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2494
2495
|
var queue = Math.floor(duration / 10);
|
|
2495
2496
|
var segment = Math.floor(current / queue);
|
|
2496
2497
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2497
|
-
Segment.report_video_event('Video Ready',
|
|
2498
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
|
|
2498
2499
|
};
|
|
2499
2500
|
|
|
2500
2501
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2504,7 +2505,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2504
2505
|
var segment = Math.floor(current / queue);
|
|
2505
2506
|
if (!queueProgress.includes(segment)) {
|
|
2506
2507
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2507
|
-
Segment.report_video_event('Video Segment',
|
|
2508
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
|
|
2508
2509
|
queueProgress.push(segment);
|
|
2509
2510
|
}
|
|
2510
2511
|
};
|
|
@@ -2517,7 +2518,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2517
2518
|
var queue = Math.floor(duration / 10);
|
|
2518
2519
|
var segment = Math.floor(current / queue);
|
|
2519
2520
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2520
|
-
Segment.report_video_event('Video Play',
|
|
2521
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
|
|
2521
2522
|
if (!playReported) {
|
|
2522
2523
|
event.persist();
|
|
2523
2524
|
setPlayReported(true);
|
|
@@ -2560,7 +2561,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2560
2561
|
var segment = Math.floor(current / queue);
|
|
2561
2562
|
clearInterval(intId);
|
|
2562
2563
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2563
|
-
Segment.report_video_event('Video End',
|
|
2564
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
|
|
2564
2565
|
setEndReported(true);
|
|
2565
2566
|
clearInterval(intervalID);
|
|
2566
2567
|
}
|
|
@@ -2574,13 +2575,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2574
2575
|
var segment = Math.floor(current / queue);
|
|
2575
2576
|
clearInterval(intId);
|
|
2576
2577
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2577
|
-
Segment.report_video_event('Video Pause',
|
|
2578
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
2578
2579
|
};
|
|
2579
2580
|
|
|
2580
|
-
return
|
|
2581
|
+
return React.createElement(
|
|
2581
2582
|
'div',
|
|
2582
2583
|
null,
|
|
2583
|
-
isPollingTime ?
|
|
2584
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2584
2585
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2585
2586
|
, { pollItems: pollItems
|
|
2586
2587
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2594,7 +2595,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2594
2595
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2595
2596
|
, multiChoiceRender: multiChoiceRender
|
|
2596
2597
|
}) : null,
|
|
2597
|
-
vidLoaded &&
|
|
2598
|
+
vidLoaded && React.createElement(
|
|
2598
2599
|
'video',
|
|
2599
2600
|
{
|
|
2600
2601
|
poster: thumbnail || '',
|
|
@@ -2612,7 +2613,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2612
2613
|
onPlay: function onPlay(e) {
|
|
2613
2614
|
return handleOnPlay(e);
|
|
2614
2615
|
} },
|
|
2615
|
-
|
|
2616
|
+
React.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2616
2617
|
'Your browser does not support the video tag.'
|
|
2617
2618
|
)
|
|
2618
2619
|
);
|
|
@@ -2763,7 +2764,7 @@ var Video = function Video(_ref) {
|
|
|
2763
2764
|
}
|
|
2764
2765
|
|
|
2765
2766
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2766
|
-
Segment.report_video_event('Video Ready',
|
|
2767
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2767
2768
|
});
|
|
2768
2769
|
// let intId
|
|
2769
2770
|
// const convertTime = (timeStr) => {
|
|
@@ -2798,7 +2799,7 @@ var Video = function Video(_ref) {
|
|
|
2798
2799
|
}, 1000);
|
|
2799
2800
|
}
|
|
2800
2801
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2801
|
-
Segment.report_video_event('Video Play',
|
|
2802
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2802
2803
|
});
|
|
2803
2804
|
|
|
2804
2805
|
// pause
|
|
@@ -2809,7 +2810,7 @@ var Video = function Video(_ref) {
|
|
|
2809
2810
|
var segment = Math.floor(current / queue);
|
|
2810
2811
|
clearInterval(intId);
|
|
2811
2812
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2812
|
-
Segment.report_video_event('Video Pause',
|
|
2813
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2813
2814
|
});
|
|
2814
2815
|
|
|
2815
2816
|
// end
|
|
@@ -2820,7 +2821,7 @@ var Video = function Video(_ref) {
|
|
|
2820
2821
|
var segment = Math.floor(current / queue);
|
|
2821
2822
|
clearInterval(intId);
|
|
2822
2823
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2823
|
-
Segment.report_video_event('Video End',
|
|
2824
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2824
2825
|
// This is for old series format
|
|
2825
2826
|
autoplayNextVideo(evt);
|
|
2826
2827
|
if (nextVideo) {
|
|
@@ -2836,7 +2837,7 @@ var Video = function Video(_ref) {
|
|
|
2836
2837
|
var segment = Math.floor(current / queue);
|
|
2837
2838
|
if (!queueProgress.includes(segment)) {
|
|
2838
2839
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2839
|
-
Segment.report_video_event('Video Segment',
|
|
2840
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2840
2841
|
queueProgress.push(segment);
|
|
2841
2842
|
}
|
|
2842
2843
|
});
|
|
@@ -2848,7 +2849,7 @@ var Video = function Video(_ref) {
|
|
|
2848
2849
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2849
2850
|
|
|
2850
2851
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2851
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2852
|
+
Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2852
2853
|
});
|
|
2853
2854
|
|
|
2854
2855
|
// ad ended
|
|
@@ -2857,16 +2858,16 @@ var Video = function Video(_ref) {
|
|
|
2857
2858
|
// const id = player.ads.ad.id
|
|
2858
2859
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2859
2860
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2860
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2861
|
+
Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2861
2862
|
});
|
|
2862
2863
|
};
|
|
2863
2864
|
|
|
2864
2865
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2865
2866
|
if (videoID) {
|
|
2866
|
-
return
|
|
2867
|
+
return React.createElement(
|
|
2867
2868
|
'div',
|
|
2868
2869
|
null,
|
|
2869
|
-
isPollingTime ?
|
|
2870
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2870
2871
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2871
2872
|
, { pollItems: pollItems
|
|
2872
2873
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2880,7 +2881,7 @@ var Video = function Video(_ref) {
|
|
|
2880
2881
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2881
2882
|
, multiChoiceRender: multiChoiceRender
|
|
2882
2883
|
}) : null,
|
|
2883
|
-
|
|
2884
|
+
React.createElement(ReactPlayerLoader, {
|
|
2884
2885
|
onSuccess: onVideoSuccess,
|
|
2885
2886
|
onFailure: onVideoFailure,
|
|
2886
2887
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2888,17 +2889,17 @@ var Video = function Video(_ref) {
|
|
|
2888
2889
|
playerId: accountIDs.brightcove.playerId,
|
|
2889
2890
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2890
2891
|
}),
|
|
2891
|
-
|
|
2892
|
+
React.createElement(
|
|
2892
2893
|
'style',
|
|
2893
2894
|
{ jsx: 'true' },
|
|
2894
2895
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2895
2896
|
)
|
|
2896
2897
|
);
|
|
2897
2898
|
} else if (playlistID) {
|
|
2898
|
-
return
|
|
2899
|
+
return React.createElement(
|
|
2899
2900
|
'div',
|
|
2900
2901
|
null,
|
|
2901
|
-
isPollingTime ?
|
|
2902
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2902
2903
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2903
2904
|
, { pollItems: pollItems
|
|
2904
2905
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2912,7 +2913,7 @@ var Video = function Video(_ref) {
|
|
|
2912
2913
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2913
2914
|
, multiChoiceRender: multiChoiceRender
|
|
2914
2915
|
}) : null,
|
|
2915
|
-
|
|
2916
|
+
React.createElement(ReactPlayerLoader, {
|
|
2916
2917
|
accountId: accountIDs.brightcove.accountId,
|
|
2917
2918
|
playlistId: playlistID,
|
|
2918
2919
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2920,18 +2921,18 @@ var Video = function Video(_ref) {
|
|
|
2920
2921
|
onFailure: onVideoFailure,
|
|
2921
2922
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2922
2923
|
}),
|
|
2923
|
-
|
|
2924
|
+
React.createElement(
|
|
2924
2925
|
'style',
|
|
2925
2926
|
{ jsx: 'true' },
|
|
2926
2927
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2927
2928
|
)
|
|
2928
2929
|
);
|
|
2929
2930
|
} else if (experienceID) {
|
|
2930
|
-
return
|
|
2931
|
+
return React.createElement(
|
|
2931
2932
|
'div',
|
|
2932
2933
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2933
|
-
|
|
2934
|
-
isPollingTime ?
|
|
2934
|
+
React.createElement('div', { 'data-experience': experienceID }),
|
|
2935
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2935
2936
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2936
2937
|
, { pollItems: pollItems
|
|
2937
2938
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2951,10 +2952,10 @@ var Video = function Video(_ref) {
|
|
|
2951
2952
|
}
|
|
2952
2953
|
|
|
2953
2954
|
if (source === 'mp4') {
|
|
2954
|
-
return
|
|
2955
|
+
return React.createElement(
|
|
2955
2956
|
'div',
|
|
2956
2957
|
null,
|
|
2957
|
-
|
|
2958
|
+
React.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2958
2959
|
);
|
|
2959
2960
|
}
|
|
2960
2961
|
|
|
@@ -3165,9 +3166,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3165
3166
|
});
|
|
3166
3167
|
|
|
3167
3168
|
unwrapExports(props);
|
|
3168
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3169
|
-
props.defaultProps;
|
|
3170
|
-
props.propTypes;
|
|
3169
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3170
|
+
var props_2 = props.defaultProps;
|
|
3171
|
+
var props_3 = props.propTypes;
|
|
3171
3172
|
|
|
3172
3173
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3173
3174
|
return isNonNullObject(value)
|
|
@@ -3559,7 +3560,7 @@ function isEqual(a, b) {
|
|
|
3559
3560
|
return true;
|
|
3560
3561
|
}
|
|
3561
3562
|
|
|
3562
|
-
if ((0,
|
|
3563
|
+
if ((0, React.isValidElement)(a) && (0, React.isValidElement)(b)) {
|
|
3563
3564
|
return true;
|
|
3564
3565
|
}
|
|
3565
3566
|
|
|
@@ -3602,17 +3603,17 @@ function isMediaStream(url) {
|
|
|
3602
3603
|
});
|
|
3603
3604
|
|
|
3604
3605
|
unwrapExports(utils);
|
|
3605
|
-
utils.parseStartTime;
|
|
3606
|
-
utils.parseEndTime;
|
|
3607
|
-
utils.randomString;
|
|
3608
|
-
utils.queryString;
|
|
3609
|
-
utils.getSDK;
|
|
3610
|
-
utils.getConfig;
|
|
3611
|
-
utils.omit;
|
|
3612
|
-
utils.callPlayer;
|
|
3613
|
-
utils.isObject;
|
|
3614
|
-
utils.isEqual;
|
|
3615
|
-
utils.isMediaStream;
|
|
3606
|
+
var utils_1 = utils.parseStartTime;
|
|
3607
|
+
var utils_2 = utils.parseEndTime;
|
|
3608
|
+
var utils_3 = utils.randomString;
|
|
3609
|
+
var utils_4 = utils.queryString;
|
|
3610
|
+
var utils_5 = utils.getSDK;
|
|
3611
|
+
var utils_6 = utils.getConfig;
|
|
3612
|
+
var utils_7 = utils.omit;
|
|
3613
|
+
var utils_8 = utils.callPlayer;
|
|
3614
|
+
var utils_9 = utils.isObject;
|
|
3615
|
+
var utils_10 = utils.isEqual;
|
|
3616
|
+
var utils_11 = utils.isMediaStream;
|
|
3616
3617
|
|
|
3617
3618
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3618
3619
|
|
|
@@ -3621,7 +3622,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3621
3622
|
});
|
|
3622
3623
|
exports["default"] = void 0;
|
|
3623
3624
|
|
|
3624
|
-
var _react = _interopRequireWildcard(
|
|
3625
|
+
var _react = _interopRequireWildcard(React);
|
|
3625
3626
|
|
|
3626
3627
|
|
|
3627
3628
|
|
|
@@ -4031,7 +4032,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4031
4032
|
});
|
|
4032
4033
|
exports["default"] = createSinglePlayer;
|
|
4033
4034
|
|
|
4034
|
-
var _react = _interopRequireWildcard(
|
|
4035
|
+
var _react = _interopRequireWildcard(React);
|
|
4035
4036
|
|
|
4036
4037
|
|
|
4037
4038
|
|
|
@@ -4189,7 +4190,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4189
4190
|
});
|
|
4190
4191
|
exports["default"] = exports.YouTube = void 0;
|
|
4191
4192
|
|
|
4192
|
-
var _react = _interopRequireWildcard(
|
|
4193
|
+
var _react = _interopRequireWildcard(React);
|
|
4193
4194
|
|
|
4194
4195
|
|
|
4195
4196
|
|
|
@@ -4489,7 +4490,7 @@ exports["default"] = _default;
|
|
|
4489
4490
|
});
|
|
4490
4491
|
|
|
4491
4492
|
unwrapExports(YouTube_1);
|
|
4492
|
-
YouTube_1.YouTube;
|
|
4493
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4493
4494
|
|
|
4494
4495
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4495
4496
|
|
|
@@ -4498,7 +4499,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4498
4499
|
});
|
|
4499
4500
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4500
4501
|
|
|
4501
|
-
var _react = _interopRequireWildcard(
|
|
4502
|
+
var _react = _interopRequireWildcard(React);
|
|
4502
4503
|
|
|
4503
4504
|
|
|
4504
4505
|
|
|
@@ -4706,7 +4707,7 @@ exports["default"] = _default;
|
|
|
4706
4707
|
});
|
|
4707
4708
|
|
|
4708
4709
|
unwrapExports(SoundCloud_1);
|
|
4709
|
-
SoundCloud_1.SoundCloud;
|
|
4710
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4710
4711
|
|
|
4711
4712
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4712
4713
|
|
|
@@ -4715,7 +4716,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4715
4716
|
});
|
|
4716
4717
|
exports["default"] = exports.Vimeo = void 0;
|
|
4717
4718
|
|
|
4718
|
-
var _react = _interopRequireWildcard(
|
|
4719
|
+
var _react = _interopRequireWildcard(React);
|
|
4719
4720
|
|
|
4720
4721
|
|
|
4721
4722
|
|
|
@@ -4962,7 +4963,7 @@ exports["default"] = _default;
|
|
|
4962
4963
|
});
|
|
4963
4964
|
|
|
4964
4965
|
unwrapExports(Vimeo_1);
|
|
4965
|
-
Vimeo_1.Vimeo;
|
|
4966
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4966
4967
|
|
|
4967
4968
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4968
4969
|
|
|
@@ -4971,7 +4972,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4971
4972
|
});
|
|
4972
4973
|
exports["default"] = exports.Facebook = void 0;
|
|
4973
4974
|
|
|
4974
|
-
var _react = _interopRequireWildcard(
|
|
4975
|
+
var _react = _interopRequireWildcard(React);
|
|
4975
4976
|
|
|
4976
4977
|
|
|
4977
4978
|
|
|
@@ -5174,7 +5175,7 @@ exports["default"] = _default;
|
|
|
5174
5175
|
});
|
|
5175
5176
|
|
|
5176
5177
|
unwrapExports(Facebook_1);
|
|
5177
|
-
Facebook_1.Facebook;
|
|
5178
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5178
5179
|
|
|
5179
5180
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5180
5181
|
|
|
@@ -5183,7 +5184,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5183
5184
|
});
|
|
5184
5185
|
exports["default"] = exports.Streamable = void 0;
|
|
5185
5186
|
|
|
5186
|
-
var _react = _interopRequireWildcard(
|
|
5187
|
+
var _react = _interopRequireWildcard(React);
|
|
5187
5188
|
|
|
5188
5189
|
|
|
5189
5190
|
|
|
@@ -5385,7 +5386,7 @@ exports["default"] = _default;
|
|
|
5385
5386
|
});
|
|
5386
5387
|
|
|
5387
5388
|
unwrapExports(Streamable_1);
|
|
5388
|
-
Streamable_1.Streamable;
|
|
5389
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5389
5390
|
|
|
5390
5391
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5391
5392
|
|
|
@@ -5394,7 +5395,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5394
5395
|
});
|
|
5395
5396
|
exports["default"] = exports.Wistia = void 0;
|
|
5396
5397
|
|
|
5397
|
-
var _react = _interopRequireWildcard(
|
|
5398
|
+
var _react = _interopRequireWildcard(React);
|
|
5398
5399
|
|
|
5399
5400
|
|
|
5400
5401
|
|
|
@@ -5628,7 +5629,7 @@ exports["default"] = _default;
|
|
|
5628
5629
|
});
|
|
5629
5630
|
|
|
5630
5631
|
unwrapExports(Wistia_1);
|
|
5631
|
-
Wistia_1.Wistia;
|
|
5632
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5632
5633
|
|
|
5633
5634
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5634
5635
|
|
|
@@ -5637,7 +5638,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5637
5638
|
});
|
|
5638
5639
|
exports["default"] = exports.Twitch = void 0;
|
|
5639
5640
|
|
|
5640
|
-
var _react = _interopRequireWildcard(
|
|
5641
|
+
var _react = _interopRequireWildcard(React);
|
|
5641
5642
|
|
|
5642
5643
|
|
|
5643
5644
|
|
|
@@ -5844,7 +5845,7 @@ exports["default"] = _default;
|
|
|
5844
5845
|
});
|
|
5845
5846
|
|
|
5846
5847
|
unwrapExports(Twitch_1);
|
|
5847
|
-
Twitch_1.Twitch;
|
|
5848
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5848
5849
|
|
|
5849
5850
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5850
5851
|
|
|
@@ -5853,7 +5854,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5853
5854
|
});
|
|
5854
5855
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5855
5856
|
|
|
5856
|
-
var _react = _interopRequireWildcard(
|
|
5857
|
+
var _react = _interopRequireWildcard(React);
|
|
5857
5858
|
|
|
5858
5859
|
|
|
5859
5860
|
|
|
@@ -6080,7 +6081,7 @@ exports["default"] = _default;
|
|
|
6080
6081
|
});
|
|
6081
6082
|
|
|
6082
6083
|
unwrapExports(DailyMotion_1);
|
|
6083
|
-
DailyMotion_1.DailyMotion;
|
|
6084
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6084
6085
|
|
|
6085
6086
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6086
6087
|
|
|
@@ -6089,7 +6090,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6089
6090
|
});
|
|
6090
6091
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6091
6092
|
|
|
6092
|
-
var _react = _interopRequireWildcard(
|
|
6093
|
+
var _react = _interopRequireWildcard(React);
|
|
6093
6094
|
|
|
6094
6095
|
|
|
6095
6096
|
|
|
@@ -6279,7 +6280,7 @@ exports["default"] = _default;
|
|
|
6279
6280
|
});
|
|
6280
6281
|
|
|
6281
6282
|
unwrapExports(Mixcloud_1);
|
|
6282
|
-
Mixcloud_1.Mixcloud;
|
|
6283
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6283
6284
|
|
|
6284
6285
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6285
6286
|
|
|
@@ -6288,7 +6289,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6288
6289
|
});
|
|
6289
6290
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6290
6291
|
|
|
6291
|
-
var _react = _interopRequireWildcard(
|
|
6292
|
+
var _react = _interopRequireWildcard(React);
|
|
6292
6293
|
|
|
6293
6294
|
|
|
6294
6295
|
|
|
@@ -6813,7 +6814,7 @@ exports["default"] = _default;
|
|
|
6813
6814
|
});
|
|
6814
6815
|
|
|
6815
6816
|
unwrapExports(FilePlayer_1);
|
|
6816
|
-
FilePlayer_1.FilePlayer;
|
|
6817
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6817
6818
|
|
|
6818
6819
|
var players = createCommonjsModule(function (module, exports) {
|
|
6819
6820
|
|
|
@@ -6855,7 +6856,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6855
6856
|
});
|
|
6856
6857
|
exports["default"] = void 0;
|
|
6857
6858
|
|
|
6858
|
-
var _react = _interopRequireWildcard(
|
|
6859
|
+
var _react = _interopRequireWildcard(React);
|
|
6859
6860
|
|
|
6860
6861
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6861
6862
|
|
|
@@ -7034,7 +7035,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7034
7035
|
});
|
|
7035
7036
|
exports["default"] = renderPreloadPlayers;
|
|
7036
7037
|
|
|
7037
|
-
var _react = _interopRequireDefault(
|
|
7038
|
+
var _react = _interopRequireDefault(React);
|
|
7038
7039
|
|
|
7039
7040
|
var _Player = _interopRequireDefault(Player_1);
|
|
7040
7041
|
|
|
@@ -7173,7 +7174,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7173
7174
|
});
|
|
7174
7175
|
exports["default"] = void 0;
|
|
7175
7176
|
|
|
7176
|
-
var _react = _interopRequireWildcard(
|
|
7177
|
+
var _react = _interopRequireWildcard(React);
|
|
7177
7178
|
|
|
7178
7179
|
|
|
7179
7180
|
|
|
@@ -7518,10 +7519,10 @@ var Audio = function Audio(_ref) {
|
|
|
7518
7519
|
}));
|
|
7519
7520
|
};
|
|
7520
7521
|
if (node.uploadAudio) {
|
|
7521
|
-
return
|
|
7522
|
+
return React.createElement(
|
|
7522
7523
|
'div',
|
|
7523
7524
|
{ className: 'audio d-block text-center mb-3' },
|
|
7524
|
-
|
|
7525
|
+
React.createElement(
|
|
7525
7526
|
'audio',
|
|
7526
7527
|
{
|
|
7527
7528
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7530,14 +7531,14 @@ var Audio = function Audio(_ref) {
|
|
|
7530
7531
|
onPause: reportPause,
|
|
7531
7532
|
onEnded: reportEnd
|
|
7532
7533
|
},
|
|
7533
|
-
|
|
7534
|
-
|
|
7534
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7535
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7535
7536
|
'Your browser does not support the audio element.'
|
|
7536
7537
|
),
|
|
7537
|
-
node.caption &&
|
|
7538
|
+
node.caption && React.createElement(
|
|
7538
7539
|
'p',
|
|
7539
7540
|
{ style: { fontSize: '.9rem' } },
|
|
7540
|
-
|
|
7541
|
+
React.createElement(
|
|
7541
7542
|
'em',
|
|
7542
7543
|
null,
|
|
7543
7544
|
node.caption
|
|
@@ -7547,15 +7548,15 @@ var Audio = function Audio(_ref) {
|
|
|
7547
7548
|
} else if (node.audioFilePth) {
|
|
7548
7549
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7549
7550
|
if (hostname === 'embeds.audioboom.com') {
|
|
7550
|
-
return
|
|
7551
|
+
return React.createElement(
|
|
7551
7552
|
'div',
|
|
7552
7553
|
null,
|
|
7553
|
-
|
|
7554
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7554
7555
|
' ',
|
|
7555
|
-
node.caption &&
|
|
7556
|
+
node.caption && React.createElement(
|
|
7556
7557
|
'p',
|
|
7557
7558
|
{ style: { fontSize: '.9rem' } },
|
|
7558
|
-
|
|
7559
|
+
React.createElement(
|
|
7559
7560
|
'em',
|
|
7560
7561
|
null,
|
|
7561
7562
|
node.caption
|
|
@@ -7563,10 +7564,10 @@ var Audio = function Audio(_ref) {
|
|
|
7563
7564
|
)
|
|
7564
7565
|
);
|
|
7565
7566
|
}
|
|
7566
|
-
return
|
|
7567
|
+
return React.createElement(
|
|
7567
7568
|
'div',
|
|
7568
7569
|
{ className: 'audio' },
|
|
7569
|
-
|
|
7570
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7570
7571
|
onPlay: reportPlay,
|
|
7571
7572
|
onPause: reportPause,
|
|
7572
7573
|
onEnded: reportEnd,
|
|
@@ -7574,10 +7575,10 @@ var Audio = function Audio(_ref) {
|
|
|
7574
7575
|
width: '100%',
|
|
7575
7576
|
height: '100%'
|
|
7576
7577
|
}),
|
|
7577
|
-
node.caption &&
|
|
7578
|
+
node.caption && React.createElement(
|
|
7578
7579
|
'p',
|
|
7579
7580
|
{ style: { fontSize: '.9rem' } },
|
|
7580
|
-
|
|
7581
|
+
React.createElement(
|
|
7581
7582
|
'em',
|
|
7582
7583
|
null,
|
|
7583
7584
|
node.caption
|
|
@@ -7596,34 +7597,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7596
7597
|
var showAuthorDetails = arguments[7];
|
|
7597
7598
|
|
|
7598
7599
|
if (authorName && authorURL) {
|
|
7599
|
-
return
|
|
7600
|
+
return React.createElement(
|
|
7600
7601
|
'span',
|
|
7601
7602
|
null,
|
|
7602
|
-
|
|
7603
|
+
React.createElement(
|
|
7603
7604
|
'a',
|
|
7604
7605
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7605
7606
|
authorName
|
|
7606
7607
|
),
|
|
7607
|
-
showAuthorDetails &&
|
|
7608
|
+
showAuthorDetails && React.createElement(
|
|
7608
7609
|
Card,
|
|
7609
7610
|
{ className: 'author-details-card-' + index },
|
|
7610
|
-
|
|
7611
|
+
React.createElement(
|
|
7611
7612
|
Row,
|
|
7612
7613
|
null,
|
|
7613
|
-
profileImage &&
|
|
7614
|
+
profileImage && React.createElement(
|
|
7614
7615
|
Col,
|
|
7615
7616
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7616
|
-
|
|
7617
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7617
7618
|
),
|
|
7618
|
-
|
|
7619
|
+
React.createElement(
|
|
7619
7620
|
Col,
|
|
7620
7621
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7621
|
-
|
|
7622
|
+
React.createElement(
|
|
7622
7623
|
'div',
|
|
7623
7624
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7624
7625
|
authorName
|
|
7625
7626
|
),
|
|
7626
|
-
|
|
7627
|
+
React.createElement(
|
|
7627
7628
|
'p',
|
|
7628
7629
|
null,
|
|
7629
7630
|
biography
|
|
@@ -7631,7 +7632,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7631
7632
|
)
|
|
7632
7633
|
)
|
|
7633
7634
|
),
|
|
7634
|
-
|
|
7635
|
+
React.createElement(
|
|
7635
7636
|
'style',
|
|
7636
7637
|
{ jsx: 'true' },
|
|
7637
7638
|
'\n .author-details-card-' + index + ' {\n display: none;\n position: absolute;\n width: 90%;\n max-width: 450px;\n z-index: 9999;\n }\n .author-details-card-' + index + ' h5 {\n font-weight: 500;\n }\n .author-details-link-' + index + ':hover + .author-details-card-' + index + ', .author-details-card-' + index + ':hover {\n display: block;\n box-shadow: 0px 0px 5px #aaa;\n padding: 15px;\n border-radius: 5px;\n }\n '
|
|
@@ -7639,7 +7640,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7639
7640
|
length !== index + 1 && ', '
|
|
7640
7641
|
);
|
|
7641
7642
|
} else if (authorName) {
|
|
7642
|
-
return
|
|
7643
|
+
return React.createElement(
|
|
7643
7644
|
'span',
|
|
7644
7645
|
{ key: index },
|
|
7645
7646
|
authorName,
|
|
@@ -7795,7 +7796,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7795
7796
|
var queue = Math.floor(duration / 10);
|
|
7796
7797
|
var segment = Math.floor(current / queue);
|
|
7797
7798
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7798
|
-
Segment.report_video_event('Video Ready',
|
|
7799
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
7799
7800
|
//autoplay
|
|
7800
7801
|
|
|
7801
7802
|
//Small pause before starting next video
|
|
@@ -7816,7 +7817,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7816
7817
|
var segment = Math.floor(current / queue);
|
|
7817
7818
|
|
|
7818
7819
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7819
|
-
Segment.report_video_event('Video End',
|
|
7820
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
7820
7821
|
setEndReported(true);
|
|
7821
7822
|
clearInterval(intervalID);
|
|
7822
7823
|
}
|
|
@@ -7867,7 +7868,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7867
7868
|
var segment = Math.floor(current / queue);
|
|
7868
7869
|
if (!queueProgress.includes(segment)) {
|
|
7869
7870
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7870
|
-
Segment.report_video_event('Video Segment',
|
|
7871
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
7871
7872
|
queueProgress.push(segment);
|
|
7872
7873
|
}
|
|
7873
7874
|
};
|
|
@@ -7881,7 +7882,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7881
7882
|
var segment = Math.floor(current / queue);
|
|
7882
7883
|
|
|
7883
7884
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7884
|
-
Segment.report_video_event('Video Play',
|
|
7885
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
7885
7886
|
|
|
7886
7887
|
if (!playReported) {
|
|
7887
7888
|
setPlayReported(true);
|
|
@@ -7900,7 +7901,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7900
7901
|
var segment = Math.floor(current / queue);
|
|
7901
7902
|
|
|
7902
7903
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7903
|
-
Segment.report_video_event('Video Pause',
|
|
7904
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
7904
7905
|
};
|
|
7905
7906
|
|
|
7906
7907
|
// Youtube Options
|
|
@@ -7911,44 +7912,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7911
7912
|
}
|
|
7912
7913
|
};
|
|
7913
7914
|
|
|
7914
|
-
return
|
|
7915
|
+
return React.createElement(
|
|
7915
7916
|
'div',
|
|
7916
7917
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7917
|
-
|
|
7918
|
+
React.createElement(
|
|
7918
7919
|
'div',
|
|
7919
7920
|
{ className: 'mt-2 mb-5' },
|
|
7920
|
-
series &&
|
|
7921
|
+
series && React.createElement(
|
|
7921
7922
|
'div',
|
|
7922
7923
|
{ style: { fontSize: '0.9rem' } },
|
|
7923
7924
|
article.title,
|
|
7924
7925
|
' - Episode ',
|
|
7925
7926
|
series
|
|
7926
7927
|
),
|
|
7927
|
-
Videos[series - 1] &&
|
|
7928
|
+
Videos[series - 1] && React.createElement(
|
|
7928
7929
|
'h1',
|
|
7929
7930
|
{ className: 'mb-3' },
|
|
7930
7931
|
Videos[series - 1].title
|
|
7931
7932
|
),
|
|
7932
|
-
|
|
7933
|
+
React.createElement(
|
|
7933
7934
|
'div',
|
|
7934
7935
|
null,
|
|
7935
7936
|
moment(article.published).format('LL')
|
|
7936
7937
|
),
|
|
7937
|
-
|
|
7938
|
+
React.createElement(
|
|
7938
7939
|
'div',
|
|
7939
7940
|
{ className: 'mb-3' },
|
|
7940
7941
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7941
|
-
return
|
|
7942
|
+
return React.createElement(
|
|
7942
7943
|
'span',
|
|
7943
7944
|
{ key: index },
|
|
7944
7945
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7945
7946
|
);
|
|
7946
7947
|
})
|
|
7947
7948
|
),
|
|
7948
|
-
|
|
7949
|
+
React.createElement(
|
|
7949
7950
|
'p',
|
|
7950
7951
|
null,
|
|
7951
|
-
|
|
7952
|
+
React.createElement(SocialShare, {
|
|
7952
7953
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7953
7954
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7954
7955
|
shareVia: meta.shareVia,
|
|
@@ -7963,20 +7964,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7963
7964
|
hideFacebook: meta.hideFBShare
|
|
7964
7965
|
})
|
|
7965
7966
|
),
|
|
7966
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7967
|
+
Videos[series - 1] && Videos[series - 1].intro && React.createElement(
|
|
7967
7968
|
'p',
|
|
7968
7969
|
{ className: 'mb-3' },
|
|
7969
|
-
|
|
7970
|
+
React.createElement(
|
|
7970
7971
|
'em',
|
|
7971
7972
|
null,
|
|
7972
7973
|
Videos[series - 1].intro
|
|
7973
7974
|
)
|
|
7974
7975
|
)
|
|
7975
7976
|
),
|
|
7976
|
-
|
|
7977
|
+
React.createElement(
|
|
7977
7978
|
'div',
|
|
7978
7979
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7979
|
-
vidUrl && vidType == 'youtube' &&
|
|
7980
|
+
vidUrl && vidType == 'youtube' && React.createElement(YouTube, {
|
|
7980
7981
|
className: 'fluid-iframe',
|
|
7981
7982
|
videoId: getYoutubeId(vidUrl),
|
|
7982
7983
|
opts: opts,
|
|
@@ -7987,10 +7988,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7987
7988
|
return handleOnEnd(e);
|
|
7988
7989
|
}
|
|
7989
7990
|
}),
|
|
7990
|
-
vidUrl && vidType == 'mp4' &&
|
|
7991
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7992
|
-
|
|
7993
|
-
series &&
|
|
7991
|
+
vidUrl && vidType == 'mp4' && React.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7992
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7993
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7994
|
+
series && React.createElement(
|
|
7994
7995
|
'div',
|
|
7995
7996
|
{
|
|
7996
7997
|
className: 'vid-series',
|
|
@@ -8000,10 +8001,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8000
8001
|
maxHeight: '100%',
|
|
8001
8002
|
paddingBottom: '0'
|
|
8002
8003
|
} },
|
|
8003
|
-
|
|
8004
|
+
React.createElement(
|
|
8004
8005
|
'p',
|
|
8005
8006
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8006
|
-
|
|
8007
|
+
React.createElement(
|
|
8007
8008
|
'b',
|
|
8008
8009
|
{ style: { fontSize: '1.25em' } },
|
|
8009
8010
|
'Now Playing:'
|
|
@@ -8011,16 +8012,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8011
8012
|
' ',
|
|
8012
8013
|
seriesData[series ? series - 1 : 0].title
|
|
8013
8014
|
),
|
|
8014
|
-
vidUrl &&
|
|
8015
|
+
vidUrl && React.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8015
8016
|
)
|
|
8016
8017
|
),
|
|
8017
|
-
|
|
8018
|
-
|
|
8018
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8019
|
+
React.createElement(
|
|
8019
8020
|
'div',
|
|
8020
8021
|
{ className: 'vid-text' },
|
|
8021
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
8022
|
+
Videos[series - 1] && Videos[series - 1].text && React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8022
8023
|
),
|
|
8023
|
-
|
|
8024
|
+
React.createElement(
|
|
8024
8025
|
'style',
|
|
8025
8026
|
{ jsx: 'true' },
|
|
8026
8027
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8028,14 +8029,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8028
8029
|
);
|
|
8029
8030
|
};
|
|
8030
8031
|
|
|
8031
|
-
var Poll
|
|
8032
|
-
var node = _ref.node
|
|
8033
|
-
_ref.client
|
|
8034
|
-
_ref.pageview
|
|
8035
|
-
_ref.videoAccountIDs
|
|
8036
|
-
|
|
8037
|
-
_ref.showVotes
|
|
8038
|
-
|
|
8032
|
+
var Poll = function Poll(_ref) {
|
|
8033
|
+
var node = _ref.node,
|
|
8034
|
+
client = _ref.client,
|
|
8035
|
+
pageview = _ref.pageview,
|
|
8036
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8037
|
+
onVote = _ref.onVote,
|
|
8038
|
+
_ref$showVotes = _ref.showVotes,
|
|
8039
|
+
getSerializers = _ref.getSerializers;
|
|
8039
8040
|
|
|
8040
8041
|
var _useState = useState(null),
|
|
8041
8042
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8073,67 +8074,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8073
8074
|
return acc;
|
|
8074
8075
|
}
|
|
8075
8076
|
}, 0);
|
|
8076
|
-
return
|
|
8077
|
-
|
|
8077
|
+
return React.createElement(
|
|
8078
|
+
React.Fragment,
|
|
8078
8079
|
null,
|
|
8079
|
-
question &&
|
|
8080
|
+
question && React.createElement(
|
|
8080
8081
|
'p',
|
|
8081
8082
|
{ className: 'font-weight-bold' },
|
|
8082
8083
|
question
|
|
8083
8084
|
),
|
|
8084
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8085
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8085
8086
|
'form',
|
|
8086
8087
|
{ onSubmit: function onSubmit(e) {
|
|
8087
8088
|
return onSubmitPoll(e);
|
|
8088
8089
|
} },
|
|
8089
8090
|
choices && choices.map(function (choice) {
|
|
8090
|
-
return
|
|
8091
|
+
return React.createElement(
|
|
8091
8092
|
'div',
|
|
8092
8093
|
{ key: choice._key },
|
|
8093
|
-
|
|
8094
|
+
React.createElement(
|
|
8094
8095
|
'label',
|
|
8095
8096
|
{ className: 'pl-2' },
|
|
8096
|
-
|
|
8097
|
+
React.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8097
8098
|
return setSelectedChoice(e.target.value);
|
|
8098
8099
|
} }),
|
|
8099
8100
|
' ' + choice.choiceText
|
|
8100
8101
|
)
|
|
8101
8102
|
);
|
|
8102
8103
|
}),
|
|
8103
|
-
|
|
8104
|
+
React.createElement(
|
|
8104
8105
|
Button$1,
|
|
8105
8106
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8106
8107
|
'Vote'
|
|
8107
8108
|
)
|
|
8108
8109
|
),
|
|
8109
|
-
|
|
8110
|
+
React.createElement(
|
|
8110
8111
|
'div',
|
|
8111
8112
|
{ className: 'progress-container' },
|
|
8112
8113
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8113
8114
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8114
|
-
return
|
|
8115
|
+
return React.createElement(
|
|
8115
8116
|
'div',
|
|
8116
8117
|
{ key: choice._key, className: 'mb-3' },
|
|
8117
|
-
|
|
8118
|
+
React.createElement(
|
|
8118
8119
|
'div',
|
|
8119
8120
|
{ className: 'correct-answer' },
|
|
8120
|
-
|
|
8121
|
+
React.createElement(
|
|
8121
8122
|
'div',
|
|
8122
8123
|
null,
|
|
8123
8124
|
choice.choiceText
|
|
8124
8125
|
),
|
|
8125
|
-
choice.choiceAnswer === true &&
|
|
8126
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8126
8127
|
'div',
|
|
8127
8128
|
null,
|
|
8128
|
-
|
|
8129
|
+
React.createElement(
|
|
8129
8130
|
'span',
|
|
8130
8131
|
{ style: { color: 'limegreen' } },
|
|
8131
8132
|
'Correct!'
|
|
8132
8133
|
)
|
|
8133
8134
|
)
|
|
8134
8135
|
),
|
|
8135
|
-
|
|
8136
|
-
|
|
8136
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8137
|
+
React.createElement(
|
|
8137
8138
|
'span',
|
|
8138
8139
|
{ className: 'float-right' },
|
|
8139
8140
|
percentage,
|
|
@@ -8144,14 +8145,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8144
8145
|
);
|
|
8145
8146
|
})
|
|
8146
8147
|
),
|
|
8147
|
-
showAnswer &&
|
|
8148
|
+
showAnswer && React.createElement(
|
|
8148
8149
|
'h4',
|
|
8149
8150
|
{ className: 'text-center small p-3' },
|
|
8150
8151
|
'Total Votes: ',
|
|
8151
8152
|
choicesTotalCount
|
|
8152
8153
|
),
|
|
8153
|
-
showAnswer && response &&
|
|
8154
|
-
|
|
8154
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8155
|
+
React.createElement(
|
|
8155
8156
|
'style',
|
|
8156
8157
|
{ jsx: 'true' },
|
|
8157
8158
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8169,22 +8170,22 @@ _export(_export.S, 'Object', {
|
|
|
8169
8170
|
}
|
|
8170
8171
|
});
|
|
8171
8172
|
|
|
8172
|
-
var values
|
|
8173
|
+
var values = _core.Object.values;
|
|
8173
8174
|
|
|
8174
|
-
var values = createCommonjsModule(function (module) {
|
|
8175
|
-
module.exports = { "default": values
|
|
8175
|
+
var values$1 = createCommonjsModule(function (module) {
|
|
8176
|
+
module.exports = { "default": values, __esModule: true };
|
|
8176
8177
|
});
|
|
8177
8178
|
|
|
8178
|
-
var _Object$values = unwrapExports(values);
|
|
8179
|
+
var _Object$values = unwrapExports(values$1);
|
|
8179
8180
|
|
|
8180
|
-
var Poll = function Poll(_ref) {
|
|
8181
|
-
var node = _ref.node
|
|
8182
|
-
_ref.client
|
|
8183
|
-
_ref.pageview
|
|
8184
|
-
_ref.videoAccountIDs
|
|
8185
|
-
|
|
8186
|
-
_ref.showVotes
|
|
8187
|
-
|
|
8181
|
+
var Poll$1 = function Poll(_ref) {
|
|
8182
|
+
var node = _ref.node,
|
|
8183
|
+
client = _ref.client,
|
|
8184
|
+
pageview = _ref.pageview,
|
|
8185
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8186
|
+
onVote = _ref.onVote,
|
|
8187
|
+
_ref$showVotes = _ref.showVotes,
|
|
8188
|
+
getSerializers = _ref.getSerializers;
|
|
8188
8189
|
|
|
8189
8190
|
var _useState = useState(null),
|
|
8190
8191
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8250,67 +8251,67 @@ var Poll = function Poll(_ref) {
|
|
|
8250
8251
|
return acc;
|
|
8251
8252
|
}
|
|
8252
8253
|
}, 0);
|
|
8253
|
-
return
|
|
8254
|
-
|
|
8254
|
+
return React.createElement(
|
|
8255
|
+
React.Fragment,
|
|
8255
8256
|
null,
|
|
8256
|
-
question &&
|
|
8257
|
+
question && React.createElement(
|
|
8257
8258
|
'p',
|
|
8258
8259
|
{ className: 'font-weight-bold' },
|
|
8259
8260
|
question
|
|
8260
8261
|
),
|
|
8261
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8262
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8262
8263
|
'form',
|
|
8263
8264
|
{ onSubmit: function onSubmit(e) {
|
|
8264
8265
|
return onSubmitPoll(e);
|
|
8265
8266
|
} },
|
|
8266
8267
|
choices && choices.map(function (choice) {
|
|
8267
|
-
return
|
|
8268
|
+
return React.createElement(
|
|
8268
8269
|
'div',
|
|
8269
8270
|
{ key: choice._key },
|
|
8270
|
-
|
|
8271
|
+
React.createElement(
|
|
8271
8272
|
'label',
|
|
8272
8273
|
{ className: 'pl-2' },
|
|
8273
|
-
|
|
8274
|
+
React.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8274
8275
|
return setSelectedChoice(e.target.value);
|
|
8275
8276
|
} }),
|
|
8276
8277
|
' ' + choice.choiceText
|
|
8277
8278
|
)
|
|
8278
8279
|
);
|
|
8279
8280
|
}),
|
|
8280
|
-
|
|
8281
|
+
React.createElement(
|
|
8281
8282
|
Button$1,
|
|
8282
8283
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8283
8284
|
'Vote'
|
|
8284
8285
|
)
|
|
8285
8286
|
),
|
|
8286
|
-
|
|
8287
|
+
React.createElement(
|
|
8287
8288
|
'div',
|
|
8288
8289
|
{ className: 'progress-container' },
|
|
8289
8290
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8290
8291
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8291
|
-
return
|
|
8292
|
+
return React.createElement(
|
|
8292
8293
|
'div',
|
|
8293
8294
|
{ key: choice._key, className: 'mb-3' },
|
|
8294
|
-
|
|
8295
|
+
React.createElement(
|
|
8295
8296
|
'div',
|
|
8296
8297
|
{ className: 'correct-answer' },
|
|
8297
|
-
|
|
8298
|
+
React.createElement(
|
|
8298
8299
|
'div',
|
|
8299
8300
|
null,
|
|
8300
8301
|
choice.choiceText
|
|
8301
8302
|
),
|
|
8302
|
-
choice.choiceAnswer === true &&
|
|
8303
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8303
8304
|
'div',
|
|
8304
8305
|
null,
|
|
8305
|
-
|
|
8306
|
+
React.createElement(
|
|
8306
8307
|
'span',
|
|
8307
8308
|
{ style: { color: 'limegreen' } },
|
|
8308
8309
|
'Correct!'
|
|
8309
8310
|
)
|
|
8310
8311
|
)
|
|
8311
8312
|
),
|
|
8312
|
-
|
|
8313
|
-
|
|
8313
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8314
|
+
React.createElement(
|
|
8314
8315
|
'span',
|
|
8315
8316
|
{ className: 'float-right' },
|
|
8316
8317
|
percentage,
|
|
@@ -8321,14 +8322,14 @@ var Poll = function Poll(_ref) {
|
|
|
8321
8322
|
);
|
|
8322
8323
|
})
|
|
8323
8324
|
),
|
|
8324
|
-
showAnswer &&
|
|
8325
|
+
showAnswer && React.createElement(
|
|
8325
8326
|
'h4',
|
|
8326
8327
|
{ className: 'text-center small p-3' },
|
|
8327
8328
|
'Total Votes: ',
|
|
8328
8329
|
choicesTotalCount
|
|
8329
8330
|
),
|
|
8330
|
-
showAnswer && response &&
|
|
8331
|
-
|
|
8331
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8332
|
+
React.createElement(
|
|
8332
8333
|
'style',
|
|
8333
8334
|
{ jsx: 'true' },
|
|
8334
8335
|
'\n .correct-answer {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 0 0.5rem;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8336,7 +8337,7 @@ var Poll = function Poll(_ref) {
|
|
|
8336
8337
|
);
|
|
8337
8338
|
};
|
|
8338
8339
|
|
|
8339
|
-
var numberOfPaginations =
|
|
8340
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
8340
8341
|
|
|
8341
8342
|
var Quiz = function Quiz(_ref) {
|
|
8342
8343
|
var quizzes = _ref.quizzes,
|
|
@@ -8470,20 +8471,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8470
8471
|
};
|
|
8471
8472
|
|
|
8472
8473
|
var renderPagination = function renderPagination() {
|
|
8473
|
-
return
|
|
8474
|
+
return React.createElement(
|
|
8474
8475
|
Pagination,
|
|
8475
|
-
{ className: 'p-0 m-0', size:
|
|
8476
|
-
|
|
8476
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
8477
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
8477
8478
|
return changePage('first');
|
|
8478
8479
|
}, disabled: currentPage === 1 }),
|
|
8479
|
-
|
|
8480
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8480
8481
|
return changePage('prev');
|
|
8481
8482
|
}, disabled: currentPage === 1 }),
|
|
8482
|
-
|
|
8483
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8483
8484
|
return renderNewPages('prev');
|
|
8484
8485
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8485
8486
|
pages.map(function (page) {
|
|
8486
|
-
return
|
|
8487
|
+
return React.createElement(
|
|
8487
8488
|
Pagination.Item,
|
|
8488
8489
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8489
8490
|
return changePage(page);
|
|
@@ -8491,13 +8492,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8491
8492
|
page
|
|
8492
8493
|
);
|
|
8493
8494
|
}),
|
|
8494
|
-
|
|
8495
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8495
8496
|
return renderNewPages('next');
|
|
8496
8497
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8497
|
-
|
|
8498
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8498
8499
|
return changePage('next');
|
|
8499
8500
|
}, disabled: currentPage === pageCount }),
|
|
8500
|
-
|
|
8501
|
+
React.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8501
8502
|
return changePage('last');
|
|
8502
8503
|
}, disabled: currentPage === pageCount })
|
|
8503
8504
|
);
|
|
@@ -8608,49 +8609,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8608
8609
|
}
|
|
8609
8610
|
};
|
|
8610
8611
|
|
|
8611
|
-
return
|
|
8612
|
-
|
|
8612
|
+
return React.createElement(
|
|
8613
|
+
React.Fragment,
|
|
8613
8614
|
null,
|
|
8614
|
-
quizzes[currentPage - 1] &&
|
|
8615
|
-
|
|
8615
|
+
quizzes[currentPage - 1] && React.createElement(
|
|
8616
|
+
React.Fragment,
|
|
8616
8617
|
null,
|
|
8617
|
-
|
|
8618
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8618
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8619
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React.createElement(
|
|
8619
8620
|
'form',
|
|
8620
8621
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8621
8622
|
return e.preventDefault();
|
|
8622
8623
|
} },
|
|
8623
8624
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8624
|
-
return
|
|
8625
|
+
return React.createElement(
|
|
8625
8626
|
'div',
|
|
8626
8627
|
{ key: answer._key },
|
|
8627
|
-
|
|
8628
|
+
React.createElement(
|
|
8628
8629
|
'label',
|
|
8629
8630
|
{ className: 'pl-2' },
|
|
8630
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8631
|
+
quizzes[currentPage - 1].multiAnswer ? React.createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React.createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8631
8632
|
' ' + answer.answerText
|
|
8632
8633
|
)
|
|
8633
8634
|
);
|
|
8634
8635
|
})
|
|
8635
8636
|
)
|
|
8636
8637
|
),
|
|
8637
|
-
!showAnswer &&
|
|
8638
|
+
!showAnswer && React.createElement(
|
|
8638
8639
|
Button,
|
|
8639
8640
|
{ onClick: function onClick(e) {
|
|
8640
8641
|
return checkAnswers(e);
|
|
8641
8642
|
}, variant: 'info', block: true },
|
|
8642
8643
|
'Please click here for answer'
|
|
8643
8644
|
),
|
|
8644
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8645
|
-
|
|
8645
|
+
quizzes[currentPage - 1] && showAnswer && React.createElement(
|
|
8646
|
+
React.Fragment,
|
|
8646
8647
|
null,
|
|
8647
|
-
quizzes[currentPage - 1].answer &&
|
|
8648
|
+
quizzes[currentPage - 1].answer && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8648
8649
|
),
|
|
8649
|
-
|
|
8650
|
-
firstRender &&
|
|
8651
|
-
|
|
8650
|
+
React.createElement('br', null),
|
|
8651
|
+
firstRender && React.createElement(
|
|
8652
|
+
React.Fragment,
|
|
8652
8653
|
null,
|
|
8653
|
-
pageCount > 1 && currentPage &&
|
|
8654
|
+
pageCount > 1 && currentPage && React.createElement(
|
|
8654
8655
|
'div',
|
|
8655
8656
|
{ className: 'd-flex justify-content-center' },
|
|
8656
8657
|
renderPagination()
|
|
@@ -8662,19 +8663,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8662
8663
|
var Leads = function Leads(_ref) {
|
|
8663
8664
|
var url = _ref.url;
|
|
8664
8665
|
|
|
8665
|
-
return
|
|
8666
|
+
return React.createElement(
|
|
8666
8667
|
'div',
|
|
8667
8668
|
{ className: 'd-block text-center mb-3' },
|
|
8668
|
-
|
|
8669
|
+
React.createElement(
|
|
8669
8670
|
'style',
|
|
8670
8671
|
{ jsx: 'true' },
|
|
8671
8672
|
'\n @media screen and (max-width: 1190px) {\n .leads-block {\n min-height: 2000px;\n }\n }\n @media screen and (min-width: 1191px) {\n .leads-block {\n min-height: 1500px;\n }\n }\n '
|
|
8672
8673
|
),
|
|
8673
|
-
url &&
|
|
8674
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8674
8675
|
);
|
|
8675
8676
|
};
|
|
8676
8677
|
|
|
8677
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8678
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8678
8679
|
var slides = _ref.node.slides,
|
|
8679
8680
|
client = _ref.client,
|
|
8680
8681
|
pageview = _ref.pageview,
|
|
@@ -8712,49 +8713,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8712
8713
|
if (pageview) pageview(href);
|
|
8713
8714
|
};
|
|
8714
8715
|
|
|
8715
|
-
return
|
|
8716
|
+
return React.createElement(
|
|
8716
8717
|
'div',
|
|
8717
8718
|
{ className: 'mt-3 mb-4' },
|
|
8718
|
-
|
|
8719
|
+
React.createElement(
|
|
8719
8720
|
Carousel,
|
|
8720
8721
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8721
8722
|
slides && slides.map(function (slide) {
|
|
8722
8723
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8723
|
-
return
|
|
8724
|
+
return React.createElement(
|
|
8724
8725
|
Carousel.Item,
|
|
8725
8726
|
{ key: slide._key },
|
|
8726
|
-
|
|
8727
|
+
React.createElement(
|
|
8727
8728
|
'a',
|
|
8728
8729
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8729
|
-
|
|
8730
|
+
React.createElement(
|
|
8730
8731
|
'div',
|
|
8731
8732
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8732
|
-
|
|
8733
|
+
React.createElement(
|
|
8733
8734
|
'picture',
|
|
8734
8735
|
null,
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8736
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8737
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8738
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8739
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8739
8740
|
)
|
|
8740
8741
|
)
|
|
8741
8742
|
),
|
|
8742
|
-
|
|
8743
|
+
React.createElement(
|
|
8743
8744
|
'div',
|
|
8744
8745
|
{ className: 'p-2' },
|
|
8745
|
-
slide.slideshowImage.caption &&
|
|
8746
|
+
slide.slideshowImage.caption && React.createElement(
|
|
8746
8747
|
'h3',
|
|
8747
8748
|
{ style: { padding: '0px' } },
|
|
8748
8749
|
slide.slideshowImage.caption
|
|
8749
8750
|
),
|
|
8750
|
-
slide.description &&
|
|
8751
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8751
8752
|
)
|
|
8752
8753
|
);
|
|
8753
8754
|
}
|
|
8754
8755
|
return null;
|
|
8755
8756
|
})
|
|
8756
8757
|
),
|
|
8757
|
-
|
|
8758
|
+
React.createElement(
|
|
8758
8759
|
'style',
|
|
8759
8760
|
{ jsx: 'true' },
|
|
8760
8761
|
'\n .embed-item-img {\n max-width: 100%;\n max-height: 750px;\n }\n .carousel-indicators {\n bottom: -2.5rem !important;\n }\n .carousel-indicators li {\n width: 20px;\n height: 20px;\n border-radius: 50% !important;\n background-color: var(--secondary);\n }\n .carousel-control-prev {\n justify-content: flex-start;\n }\n .carousel-control-next {\n justify-content: flex-end;\n }\n '
|
|
@@ -8773,10 +8774,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8773
8774
|
sizes = _props$node.sizes,
|
|
8774
8775
|
sizeMapping = _props$node.sizeMapping;
|
|
8775
8776
|
|
|
8776
|
-
return
|
|
8777
|
+
return React.createElement(
|
|
8777
8778
|
'div',
|
|
8778
8779
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8779
|
-
|
|
8780
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8780
8781
|
);
|
|
8781
8782
|
};
|
|
8782
8783
|
|
|
@@ -8787,15 +8788,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8787
8788
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8788
8789
|
|
|
8789
8790
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8790
|
-
return
|
|
8791
|
+
return React.createElement(
|
|
8791
8792
|
'section',
|
|
8792
8793
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8793
|
-
Caption &&
|
|
8794
|
+
Caption && React.createElement(
|
|
8794
8795
|
'h4',
|
|
8795
8796
|
{ className: 'formstack-caption' },
|
|
8796
8797
|
Caption
|
|
8797
8798
|
),
|
|
8798
|
-
|
|
8799
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8799
8800
|
);
|
|
8800
8801
|
};
|
|
8801
8802
|
|
|
@@ -8811,36 +8812,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8811
8812
|
}
|
|
8812
8813
|
});
|
|
8813
8814
|
if (medias && medias.length > 0) {
|
|
8814
|
-
return
|
|
8815
|
+
return React.createElement(
|
|
8815
8816
|
'div',
|
|
8816
8817
|
{ className: 'multi-media-container' },
|
|
8817
|
-
|
|
8818
|
+
React.createElement(
|
|
8818
8819
|
Row$1,
|
|
8819
8820
|
{ noGutters: true },
|
|
8820
8821
|
medias.map(function (media) {
|
|
8821
|
-
return
|
|
8822
|
+
return React.createElement(
|
|
8822
8823
|
Col$1,
|
|
8823
8824
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8824
|
-
|
|
8825
|
+
React.createElement(
|
|
8825
8826
|
'a',
|
|
8826
8827
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8827
8828
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8828
|
-
|
|
8829
|
+
React.createElement(
|
|
8829
8830
|
'div',
|
|
8830
8831
|
{ className: 'multi-media-image-container' },
|
|
8831
|
-
imageBox &&
|
|
8832
|
+
imageBox && React.createElement(
|
|
8832
8833
|
LazyLoad,
|
|
8833
8834
|
{ once: true },
|
|
8834
|
-
|
|
8835
|
+
React.createElement(
|
|
8835
8836
|
'picture',
|
|
8836
8837
|
null,
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8838
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8839
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8840
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8841
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8841
8842
|
)
|
|
8842
8843
|
),
|
|
8843
|
-
media.caption &&
|
|
8844
|
+
media.caption && React.createElement(
|
|
8844
8845
|
'span',
|
|
8845
8846
|
{ className: 'multi-media-caption' },
|
|
8846
8847
|
media.caption
|
|
@@ -8850,7 +8851,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8850
8851
|
);
|
|
8851
8852
|
})
|
|
8852
8853
|
),
|
|
8853
|
-
|
|
8854
|
+
React.createElement(
|
|
8854
8855
|
'style',
|
|
8855
8856
|
{ jsx: 'true' },
|
|
8856
8857
|
'\n .multi-media-container {\n margin-bottom: 1rem;\n }\n .multi-media-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-media-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-media-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-media-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-media-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-media-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8897,7 +8898,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8897
8898
|
}
|
|
8898
8899
|
};
|
|
8899
8900
|
|
|
8900
|
-
_this.wraperRef =
|
|
8901
|
+
_this.wraperRef = React.createRef();
|
|
8901
8902
|
_this.visible = false;
|
|
8902
8903
|
return _this;
|
|
8903
8904
|
}
|
|
@@ -8925,7 +8926,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8925
8926
|
_props$id = _props.id,
|
|
8926
8927
|
id = _props$id === undefined ? '' : _props$id;
|
|
8927
8928
|
|
|
8928
|
-
return
|
|
8929
|
+
return React.createElement(
|
|
8929
8930
|
'div',
|
|
8930
8931
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8931
8932
|
this.props.children
|
|
@@ -8934,16 +8935,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8934
8935
|
}]);
|
|
8935
8936
|
|
|
8936
8937
|
return InscreenSensor;
|
|
8937
|
-
}(
|
|
8938
|
+
}(React.Component);
|
|
8938
8939
|
|
|
8939
8940
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8940
8941
|
var nodes = _ref.nodes,
|
|
8941
8942
|
client = _ref.client,
|
|
8942
8943
|
pageview = _ref.pageview,
|
|
8943
8944
|
getSerializers = _ref.getSerializers,
|
|
8944
|
-
accountIDs = _ref.accountIDs
|
|
8945
|
-
_ref.Ads
|
|
8946
|
-
|
|
8945
|
+
accountIDs = _ref.accountIDs,
|
|
8946
|
+
Ads = _ref.Ads,
|
|
8947
|
+
rootArticle = _ref.rootArticle;
|
|
8947
8948
|
|
|
8948
8949
|
if (!nodes || !nodes.articles) {
|
|
8949
8950
|
return null;
|
|
@@ -8957,7 +8958,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8957
8958
|
var router = useRouter();
|
|
8958
8959
|
|
|
8959
8960
|
var refArray = useRef([]);
|
|
8960
|
-
useRef([]);
|
|
8961
|
+
var adRefArray = useRef([]);
|
|
8961
8962
|
var articleContainerRef = useRef(null);
|
|
8962
8963
|
var arrowRef = useRef(null);
|
|
8963
8964
|
|
|
@@ -9045,33 +9046,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9045
9046
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9046
9047
|
var showReading = show ? 'showReading' : '';
|
|
9047
9048
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9048
|
-
return
|
|
9049
|
+
return React.createElement(
|
|
9049
9050
|
'div',
|
|
9050
9051
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9051
|
-
|
|
9052
|
+
React.createElement(
|
|
9052
9053
|
'a',
|
|
9053
9054
|
{ onClick: function onClick(e) {
|
|
9054
9055
|
return articleCardClickHandler(e);
|
|
9055
9056
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9056
|
-
|
|
9057
|
+
React.createElement(
|
|
9057
9058
|
'div',
|
|
9058
9059
|
{ className: 'prevNext-thumbnail' },
|
|
9059
|
-
|
|
9060
|
-
|
|
9060
|
+
React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9061
|
+
React.createElement(
|
|
9061
9062
|
'div',
|
|
9062
9063
|
{ className: 'prevNext-reading ' + showReading },
|
|
9063
9064
|
articleLabel
|
|
9064
9065
|
)
|
|
9065
9066
|
),
|
|
9066
|
-
|
|
9067
|
+
React.createElement(
|
|
9067
9068
|
'div',
|
|
9068
9069
|
{ className: 'prevNext-summary' },
|
|
9069
|
-
|
|
9070
|
+
React.createElement(
|
|
9070
9071
|
'div',
|
|
9071
9072
|
{ className: 'prevNext-publishDate' },
|
|
9072
9073
|
moment(article.published).format('LL')
|
|
9073
9074
|
),
|
|
9074
|
-
|
|
9075
|
+
React.createElement(
|
|
9075
9076
|
'h2',
|
|
9076
9077
|
{ className: 'prevNext-title' },
|
|
9077
9078
|
article.title
|
|
@@ -9120,7 +9121,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9120
9121
|
|
|
9121
9122
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9122
9123
|
if (biography) {
|
|
9123
|
-
return
|
|
9124
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9124
9125
|
}
|
|
9125
9126
|
};
|
|
9126
9127
|
|
|
@@ -9206,7 +9207,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9206
9207
|
//console.log('useLayoutEffect')
|
|
9207
9208
|
if (!firstLoad) {
|
|
9208
9209
|
setUpArrowClicked(false);
|
|
9209
|
-
if (
|
|
9210
|
+
if (main_40) {
|
|
9210
9211
|
grabLoadedAds();
|
|
9211
9212
|
} else {
|
|
9212
9213
|
scrollToArticle();
|
|
@@ -9230,7 +9231,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9230
9231
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9231
9232
|
if (pageview) pageview(path);
|
|
9232
9233
|
|
|
9233
|
-
if (!
|
|
9234
|
+
if (!main_40) {
|
|
9234
9235
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9235
9236
|
if (window.googletag && googletag.pubadsReady) {
|
|
9236
9237
|
lib_3.refresh();
|
|
@@ -9238,7 +9239,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9238
9239
|
});
|
|
9239
9240
|
}
|
|
9240
9241
|
//Refresh leaderboard ad on mobile
|
|
9241
|
-
if (
|
|
9242
|
+
if (main_40) {
|
|
9242
9243
|
var leaderboardSlotId = '';
|
|
9243
9244
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9244
9245
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9278,40 +9279,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9278
9279
|
setSensorVisible(false);
|
|
9279
9280
|
};
|
|
9280
9281
|
|
|
9281
|
-
return
|
|
9282
|
-
|
|
9282
|
+
return React.createElement(
|
|
9283
|
+
React.Fragment,
|
|
9283
9284
|
null,
|
|
9284
|
-
|
|
9285
|
+
React.createElement(
|
|
9285
9286
|
'div',
|
|
9286
9287
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9287
|
-
|
|
9288
|
+
React.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9288
9289
|
return handleArrowClick();
|
|
9289
9290
|
} })
|
|
9290
9291
|
),
|
|
9291
|
-
|
|
9292
|
-
|
|
9292
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9293
|
+
React.createElement(
|
|
9293
9294
|
'div',
|
|
9294
9295
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9295
|
-
|
|
9296
|
+
React.createElement(
|
|
9296
9297
|
'h5',
|
|
9297
9298
|
{ className: 'objective-title' },
|
|
9298
9299
|
nodes.seriesTitle
|
|
9299
9300
|
),
|
|
9300
|
-
|
|
9301
|
+
React.createElement(
|
|
9301
9302
|
'div',
|
|
9302
9303
|
{ className: 'prevNextWrapper' },
|
|
9303
9304
|
PrevNextCards(false, -1)
|
|
9304
9305
|
)
|
|
9305
9306
|
),
|
|
9306
|
-
|
|
9307
|
-
|
|
9307
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
9308
|
+
React.createElement(
|
|
9308
9309
|
'div',
|
|
9309
9310
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9310
9311
|
Articles.map(function (article, index) {
|
|
9311
|
-
return
|
|
9312
|
+
return React.createElement(
|
|
9312
9313
|
'div',
|
|
9313
9314
|
{ key: article.title },
|
|
9314
|
-
|
|
9315
|
+
React.createElement(
|
|
9315
9316
|
InscreenSensor,
|
|
9316
9317
|
{
|
|
9317
9318
|
visible: sensorVisible,
|
|
@@ -9329,82 +9330,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9329
9330
|
}
|
|
9330
9331
|
}
|
|
9331
9332
|
} },
|
|
9332
|
-
|
|
9333
|
+
React.createElement(
|
|
9333
9334
|
Head,
|
|
9334
9335
|
null,
|
|
9335
|
-
currentTitle !== null &&
|
|
9336
|
+
currentTitle !== null && React.createElement(
|
|
9336
9337
|
'title',
|
|
9337
9338
|
{ key: 'title' },
|
|
9338
9339
|
currentTitle
|
|
9339
9340
|
),
|
|
9340
|
-
currentSummary !== null &&
|
|
9341
|
-
currentURL !== null &&
|
|
9342
|
-
currentTitle !== null &&
|
|
9343
|
-
currentThumbnail !== null &&
|
|
9344
|
-
currentSummary !== null &&
|
|
9345
|
-
currentTitle !== null &&
|
|
9346
|
-
currentThumbnail !== null &&
|
|
9347
|
-
currentSummary !== null &&
|
|
9341
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9342
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9343
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9344
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9345
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9346
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9347
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9348
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9348
9349
|
),
|
|
9349
|
-
|
|
9350
|
+
React.createElement(
|
|
9350
9351
|
'article',
|
|
9351
9352
|
{ className: 'article-wrapper' },
|
|
9352
|
-
|
|
9353
|
+
React.createElement(
|
|
9353
9354
|
'div',
|
|
9354
9355
|
{ className: 'article-publishDate' },
|
|
9355
9356
|
moment(article.published).format('LL')
|
|
9356
9357
|
),
|
|
9357
|
-
|
|
9358
|
+
React.createElement(
|
|
9358
9359
|
'div',
|
|
9359
9360
|
{ className: 'author-details-wrapper' },
|
|
9360
9361
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9361
|
-
return
|
|
9362
|
+
return React.createElement(
|
|
9362
9363
|
'span',
|
|
9363
9364
|
{ key: index },
|
|
9364
9365
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9365
9366
|
);
|
|
9366
9367
|
})
|
|
9367
9368
|
),
|
|
9368
|
-
|
|
9369
|
+
React.createElement(
|
|
9369
9370
|
'h2',
|
|
9370
9371
|
{ className: 'article-title' },
|
|
9371
9372
|
article.title
|
|
9372
9373
|
),
|
|
9373
|
-
|
|
9374
|
+
React.createElement(
|
|
9374
9375
|
'div',
|
|
9375
9376
|
{ className: 'mt-2 mb-2' },
|
|
9376
|
-
|
|
9377
|
+
React.createElement(BlockContent, _extends({
|
|
9377
9378
|
serializers: getSerializers,
|
|
9378
9379
|
videoAccountIDs: accountIDs,
|
|
9379
9380
|
blocks: article.text,
|
|
9380
9381
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9381
9382
|
}, client.config())),
|
|
9382
|
-
|
|
9383
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
9383
9384
|
),
|
|
9384
|
-
Articles.length > 1 &&
|
|
9385
|
-
|
|
9385
|
+
Articles.length > 1 && React.createElement(
|
|
9386
|
+
React.Fragment,
|
|
9386
9387
|
null,
|
|
9387
|
-
|
|
9388
|
+
React.createElement(
|
|
9388
9389
|
'div',
|
|
9389
9390
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9390
|
-
|
|
9391
|
+
React.createElement(
|
|
9391
9392
|
'h5',
|
|
9392
9393
|
{ className: 'objective-title' },
|
|
9393
9394
|
nodes.seriesTitle
|
|
9394
9395
|
),
|
|
9395
|
-
|
|
9396
|
+
React.createElement(
|
|
9396
9397
|
'div',
|
|
9397
9398
|
{ className: 'prevNextWrapper' },
|
|
9398
9399
|
PrevNextCards(true, index)
|
|
9399
9400
|
)
|
|
9400
9401
|
),
|
|
9401
|
-
|
|
9402
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
9402
9403
|
)
|
|
9403
9404
|
)
|
|
9404
9405
|
)
|
|
9405
9406
|
);
|
|
9406
9407
|
}),
|
|
9407
|
-
|
|
9408
|
+
React.createElement(
|
|
9408
9409
|
'style',
|
|
9409
9410
|
{ jsx: 'true' },
|
|
9410
9411
|
'\n .scrollToTopArrow {\n position: fixed;\n top: 150px;\n display: flex;\n justify-content: center;\n width: ' + contentWidth + 'px;\n opacity: 1;\n z-index: 99999999999;\n visibility: hidden;\n }\n .scrollToTopArrow > svg {\n min-height: 50px;\n min-width: 50px;\n max-height: 50px;\n max-width: 50px;\n }\n .block-content > div p {\n padding: 0;\n }\n\n h2.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.prevNext-title {\n padding: 0;\n font-size: 1rem;\n font-weight: 500;\n }\n .article-wrapper {\n border: 1px solid #252525;\n border-radius: 5px;\n padding: 1rem 1rem 0 1rem;\n margin-bottom: 1rem;\n }\n .prevNext-reading {\n margin-top: -10px;\n width: 75%;\n text-align: center;\n background: white;\n border: 1px solid #252525;\n align-self: center;\n display: none;\n }\n .showReading {\n display: block;\n }\n .author-details-wrapper a {\n color: #252525;\n }\n .objective-prevNext-Wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .objective-title {\n padding: 0 !important;\n }\n .prevNext-thumbnail {\n display: flex;\n flex-direction: column;\n min-width: 225px;\n max-width: 225px;\n overflow: hidden;\n align-items: center;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-thumbnail img {\n height: 125px;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-summary {\n text-align: center;\n }\n .prevNext-publishDate {\n font-size: 0.75rem;\n margin-top: 0.5rem;\n }\n .prevNext-title {\n padding: 0 !important;\n line-height: 1 !important;\n font-weight: 500;\n }\n .prevNextWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n flex-wrap: wrap;\n }\n .prevNextWrapper a {\n display: flex;\n flex-direction: column;\n color: #252525;\n align-items: center;\n }\n .prevNextCards {\n max-width: 250px;\n margin-bottom: 1rem;\n }\n @media only screen and (max-width: 568px) {\n .prevNextWrapper {\n flex-direction: column;\n align-items: center;\n }\n .prevNextCards {\n margin-bottom: 2rem;\n }\n }\n @media only screen and (max-width: 568px) {\n }\n '
|
|
@@ -9434,11 +9435,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9434
9435
|
};
|
|
9435
9436
|
}, [handleClickOutside]);
|
|
9436
9437
|
|
|
9437
|
-
return
|
|
9438
|
+
return React.createElement(
|
|
9438
9439
|
'div',
|
|
9439
9440
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9440
|
-
|
|
9441
|
-
|
|
9441
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9442
|
+
React.createElement(
|
|
9442
9443
|
'style',
|
|
9443
9444
|
{ jsx: 'true' },
|
|
9444
9445
|
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9452,7 +9453,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9452
9453
|
}
|
|
9453
9454
|
};
|
|
9454
9455
|
|
|
9455
|
-
var FigureImage
|
|
9456
|
+
var FigureImage = React.memo(function (_ref2) {
|
|
9456
9457
|
var node = _ref2.node,
|
|
9457
9458
|
client = _ref2.client,
|
|
9458
9459
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9460,13 +9461,13 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
|
9460
9461
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9461
9462
|
|
|
9462
9463
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9463
|
-
return
|
|
9464
|
+
return React.createElement(
|
|
9464
9465
|
'picture',
|
|
9465
9466
|
null,
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9467
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9468
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9469
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9470
|
+
React.createElement('img', _extends({
|
|
9470
9471
|
style: figureImageStyle,
|
|
9471
9472
|
className: 'figure-image',
|
|
9472
9473
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9517,30 +9518,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9517
9518
|
|
|
9518
9519
|
var renderTooltip = function renderTooltip(props) {
|
|
9519
9520
|
if (infoBox[0].title) {
|
|
9520
|
-
return
|
|
9521
|
+
return React.createElement(
|
|
9521
9522
|
Popover,
|
|
9522
9523
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9523
|
-
|
|
9524
|
+
React.createElement(
|
|
9524
9525
|
Popover.Title,
|
|
9525
9526
|
{ as: 'h3' },
|
|
9526
9527
|
infoBox[0].title
|
|
9527
9528
|
),
|
|
9528
|
-
|
|
9529
|
+
React.createElement(
|
|
9529
9530
|
Popover.Content,
|
|
9530
9531
|
null,
|
|
9531
|
-
|
|
9532
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9532
9533
|
)
|
|
9533
9534
|
);
|
|
9534
9535
|
} else {
|
|
9535
|
-
return
|
|
9536
|
+
return React.createElement(
|
|
9536
9537
|
Tooltip,
|
|
9537
9538
|
_extends({ id: 'button-tooltip' }, props),
|
|
9538
|
-
|
|
9539
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9539
9540
|
);
|
|
9540
9541
|
}
|
|
9541
9542
|
};
|
|
9542
9543
|
|
|
9543
|
-
var FigureImageWOverLay =
|
|
9544
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9544
9545
|
var node = _ref3.node,
|
|
9545
9546
|
client = _ref3.client,
|
|
9546
9547
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9548,32 +9549,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9548
9549
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9549
9550
|
|
|
9550
9551
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9551
|
-
var triggerAction =
|
|
9552
|
-
var placementLocation =
|
|
9553
|
-
return
|
|
9552
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9553
|
+
var placementLocation = main_39 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9554
|
+
return React.createElement(
|
|
9554
9555
|
'picture',
|
|
9555
9556
|
null,
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9557
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9558
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9559
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9560
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9560
9561
|
style: figureImageStyle,
|
|
9561
9562
|
className: 'figure-image',
|
|
9562
9563
|
src: urlFor({ source: node, client: client }),
|
|
9563
9564
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9564
|
-
}, !link && !
|
|
9565
|
+
}, !link && !main_39 && {
|
|
9565
9566
|
onClick: function onClick() {
|
|
9566
9567
|
return handleClickFigure(node, client);
|
|
9567
9568
|
}
|
|
9568
|
-
})) :
|
|
9569
|
+
})) : React.createElement(
|
|
9569
9570
|
OverlayTrigger,
|
|
9570
9571
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9571
|
-
|
|
9572
|
+
React.createElement('img', _extends({
|
|
9572
9573
|
style: figureImageStyle,
|
|
9573
9574
|
className: 'figure-image',
|
|
9574
9575
|
src: urlFor({ source: node, client: client }),
|
|
9575
9576
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9576
|
-
}, !link && !
|
|
9577
|
+
}, !link && !main_39 && {
|
|
9577
9578
|
onClick: function onClick() {
|
|
9578
9579
|
return handleClickFigure(node, client);
|
|
9579
9580
|
}
|
|
@@ -9622,13 +9623,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9622
9623
|
|
|
9623
9624
|
var FigureCaption = useCallback(function () {
|
|
9624
9625
|
if (imgcaption && imgcaption.length > 0) {
|
|
9625
|
-
return
|
|
9626
|
+
return React.createElement(
|
|
9626
9627
|
'div',
|
|
9627
9628
|
{ className: 'figure-caption' },
|
|
9628
|
-
|
|
9629
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9629
9630
|
);
|
|
9630
9631
|
} else if (caption) {
|
|
9631
|
-
return
|
|
9632
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9632
9633
|
} else return null;
|
|
9633
9634
|
}, [caption, imgcaption]);
|
|
9634
9635
|
|
|
@@ -9645,24 +9646,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9645
9646
|
setShowLightbox(true);
|
|
9646
9647
|
}, [node, client]);
|
|
9647
9648
|
|
|
9648
|
-
return
|
|
9649
|
-
|
|
9649
|
+
return React.createElement(
|
|
9650
|
+
React.Fragment,
|
|
9650
9651
|
null,
|
|
9651
|
-
infoBox.length >= 1 ?
|
|
9652
|
+
infoBox.length >= 1 ? React.createElement(
|
|
9652
9653
|
Figure$2,
|
|
9653
9654
|
{ className: '' + class_name, style: figureStyle },
|
|
9654
|
-
link ?
|
|
9655
|
+
link ? React.createElement(
|
|
9655
9656
|
'a',
|
|
9656
9657
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
) :
|
|
9660
|
-
|
|
9658
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9659
|
+
React.createElement(FigureCaption, null)
|
|
9660
|
+
) : React.createElement(
|
|
9661
|
+
React.Fragment,
|
|
9661
9662
|
null,
|
|
9662
|
-
|
|
9663
|
-
|
|
9663
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9664
|
+
React.createElement(FigureCaption, null)
|
|
9664
9665
|
),
|
|
9665
|
-
|
|
9666
|
+
React.createElement(LightBox, {
|
|
9666
9667
|
showLightbox: showLightbox,
|
|
9667
9668
|
lightboxImgSrc: lightboxImgSrc,
|
|
9668
9669
|
closeLightbox: function closeLightbox() {
|
|
@@ -9670,21 +9671,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9670
9671
|
setShowLightbox(false);
|
|
9671
9672
|
}
|
|
9672
9673
|
})
|
|
9673
|
-
) :
|
|
9674
|
+
) : React.createElement(
|
|
9674
9675
|
Figure$2,
|
|
9675
9676
|
{ className: '' + class_name, style: figureStyle },
|
|
9676
|
-
link ?
|
|
9677
|
+
link ? React.createElement(
|
|
9677
9678
|
'a',
|
|
9678
9679
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
) :
|
|
9682
|
-
|
|
9680
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9681
|
+
React.createElement(FigureCaption, null)
|
|
9682
|
+
) : React.createElement(
|
|
9683
|
+
React.Fragment,
|
|
9683
9684
|
null,
|
|
9684
|
-
|
|
9685
|
-
|
|
9685
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9686
|
+
React.createElement(FigureCaption, null)
|
|
9686
9687
|
),
|
|
9687
|
-
|
|
9688
|
+
React.createElement(LightBox, {
|
|
9688
9689
|
showLightbox: showLightbox,
|
|
9689
9690
|
lightboxImgSrc: lightboxImgSrc,
|
|
9690
9691
|
closeLightbox: function closeLightbox() {
|
|
@@ -9693,7 +9694,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9693
9694
|
}
|
|
9694
9695
|
})
|
|
9695
9696
|
),
|
|
9696
|
-
|
|
9697
|
+
React.createElement(
|
|
9697
9698
|
'style',
|
|
9698
9699
|
{ jsx: 'true' },
|
|
9699
9700
|
'\n .figure-caption,\n .figure-caption h1,\n .figure-caption h2,\n .figure-caption h3,\n .figure-caption h4,\n .figure-caption h5,\n .figure-caption h6,\n .figure-caption p,\n .figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n '
|
|
@@ -9701,7 +9702,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9701
9702
|
);
|
|
9702
9703
|
};
|
|
9703
9704
|
|
|
9704
|
-
var Figure =
|
|
9705
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
9705
9706
|
|
|
9706
9707
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9707
9708
|
useEffect(function () {
|
|
@@ -9718,7 +9719,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9718
9719
|
}, [ref]);
|
|
9719
9720
|
}
|
|
9720
9721
|
|
|
9721
|
-
var FigureImage =
|
|
9722
|
+
var FigureImage$1 = React.memo(function (_ref) {
|
|
9722
9723
|
var imagesCount = _ref.imagesCount,
|
|
9723
9724
|
image = _ref.image,
|
|
9724
9725
|
client = _ref.client,
|
|
@@ -9726,13 +9727,13 @@ var FigureImage = React__default.memo(function (_ref) {
|
|
|
9726
9727
|
link = _ref.link,
|
|
9727
9728
|
handleClickFigure = _ref.handleClickFigure;
|
|
9728
9729
|
|
|
9729
|
-
return
|
|
9730
|
+
return React.createElement(
|
|
9730
9731
|
'picture',
|
|
9731
9732
|
null,
|
|
9732
|
-
|
|
9733
|
-
|
|
9734
|
-
|
|
9735
|
-
|
|
9733
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9734
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9735
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9736
|
+
React.createElement('img', _extends({
|
|
9736
9737
|
'images-count': imagesCount,
|
|
9737
9738
|
className: 'multi-figure-image',
|
|
9738
9739
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9769,13 +9770,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9769
9770
|
imgcaption = _ref2.imgcaption;
|
|
9770
9771
|
|
|
9771
9772
|
if (imgcaption && imgcaption.length > 0) {
|
|
9772
|
-
return
|
|
9773
|
+
return React.createElement(
|
|
9773
9774
|
'div',
|
|
9774
9775
|
{ className: 'multi-figure-caption' },
|
|
9775
|
-
|
|
9776
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9776
9777
|
);
|
|
9777
9778
|
} else if (caption) {
|
|
9778
|
-
return
|
|
9779
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9779
9780
|
} else return null;
|
|
9780
9781
|
};
|
|
9781
9782
|
|
|
@@ -9784,7 +9785,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9784
9785
|
setOpenImg(true);
|
|
9785
9786
|
}, [client]);
|
|
9786
9787
|
|
|
9787
|
-
var FigureImageWOverLay =
|
|
9788
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9788
9789
|
var imagesCount = _ref3.imagesCount,
|
|
9789
9790
|
image = _ref3.image,
|
|
9790
9791
|
client = _ref3.client,
|
|
@@ -9792,32 +9793,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9792
9793
|
link = _ref3.link,
|
|
9793
9794
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9794
9795
|
|
|
9795
|
-
var triggerAction =
|
|
9796
|
-
var placementLocation =
|
|
9797
|
-
return
|
|
9796
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9797
|
+
var placementLocation = main_39 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9798
|
+
return React.createElement(
|
|
9798
9799
|
'picture',
|
|
9799
9800
|
null,
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9801
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9802
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9803
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9804
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9804
9805
|
'images-count': imagesCount,
|
|
9805
9806
|
className: 'multi-figure-image',
|
|
9806
9807
|
src: urlFor({ source: image, client: client }),
|
|
9807
9808
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9808
|
-
}, !link && !
|
|
9809
|
+
}, !link && !main_39 && {
|
|
9809
9810
|
onClick: function onClick() {
|
|
9810
9811
|
return handleClickFigure(image, client);
|
|
9811
9812
|
}
|
|
9812
|
-
})) :
|
|
9813
|
+
})) : React.createElement(
|
|
9813
9814
|
OverlayTrigger,
|
|
9814
9815
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9815
|
-
|
|
9816
|
+
React.createElement('img', _extends({
|
|
9816
9817
|
'images-count': imagesCount,
|
|
9817
9818
|
className: 'multi-figure-image',
|
|
9818
9819
|
src: urlFor({ source: image, client: client }),
|
|
9819
9820
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9820
|
-
}, !link && !
|
|
9821
|
+
}, !link && !main_39 && {
|
|
9821
9822
|
onClick: function onClick() {
|
|
9822
9823
|
return handleClickFigure(image, client);
|
|
9823
9824
|
}
|
|
@@ -9828,102 +9829,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9828
9829
|
|
|
9829
9830
|
var renderTooltip = function renderTooltip(image) {
|
|
9830
9831
|
if (image.infoBox[0].title) {
|
|
9831
|
-
return
|
|
9832
|
+
return React.createElement(
|
|
9832
9833
|
Popover,
|
|
9833
9834
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9834
|
-
|
|
9835
|
+
React.createElement(
|
|
9835
9836
|
Popover.Title,
|
|
9836
9837
|
{ as: 'h3' },
|
|
9837
9838
|
image.infoBox[0].title
|
|
9838
9839
|
),
|
|
9839
|
-
|
|
9840
|
+
React.createElement(
|
|
9840
9841
|
Popover.Content,
|
|
9841
9842
|
null,
|
|
9842
|
-
|
|
9843
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9843
9844
|
)
|
|
9844
9845
|
);
|
|
9845
9846
|
} else {
|
|
9846
|
-
return
|
|
9847
|
+
return React.createElement(
|
|
9847
9848
|
Tooltip,
|
|
9848
9849
|
_extends({ id: 'button-tooltip' }, props),
|
|
9849
|
-
|
|
9850
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9850
9851
|
);
|
|
9851
9852
|
}
|
|
9852
9853
|
};
|
|
9853
9854
|
|
|
9854
9855
|
if (images && images.length > 0) {
|
|
9855
|
-
return
|
|
9856
|
+
return React.createElement(
|
|
9856
9857
|
'div',
|
|
9857
9858
|
{ className: 'multi-figure-container' },
|
|
9858
|
-
|
|
9859
|
+
React.createElement(
|
|
9859
9860
|
Row$1,
|
|
9860
9861
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9861
9862
|
images.map(function (image, index) {
|
|
9862
9863
|
if (image.infoBox) {
|
|
9863
|
-
return
|
|
9864
|
+
return React.createElement(
|
|
9864
9865
|
Col$1,
|
|
9865
9866
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9866
|
-
image.link ?
|
|
9867
|
+
image.link ? React.createElement(
|
|
9867
9868
|
'a',
|
|
9868
9869
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9869
|
-
|
|
9870
|
+
React.createElement(
|
|
9870
9871
|
'div',
|
|
9871
9872
|
{ className: 'multi-figure-image-container' },
|
|
9872
|
-
|
|
9873
|
+
React.createElement(
|
|
9873
9874
|
LazyLoad,
|
|
9874
9875
|
{ once: true },
|
|
9875
|
-
|
|
9876
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9876
9877
|
),
|
|
9877
|
-
|
|
9878
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9878
9879
|
)
|
|
9879
|
-
) :
|
|
9880
|
+
) : React.createElement(
|
|
9880
9881
|
'div',
|
|
9881
9882
|
{ className: 'multi-figure-image-container' },
|
|
9882
|
-
|
|
9883
|
+
React.createElement(
|
|
9883
9884
|
LazyLoad,
|
|
9884
9885
|
{ once: true },
|
|
9885
|
-
|
|
9886
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9886
9887
|
),
|
|
9887
|
-
|
|
9888
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9888
9889
|
)
|
|
9889
9890
|
);
|
|
9890
9891
|
} else {
|
|
9891
|
-
return
|
|
9892
|
+
return React.createElement(
|
|
9892
9893
|
Col$1,
|
|
9893
9894
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9894
|
-
image.link ?
|
|
9895
|
+
image.link ? React.createElement(
|
|
9895
9896
|
'a',
|
|
9896
9897
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9897
|
-
|
|
9898
|
+
React.createElement(
|
|
9898
9899
|
'div',
|
|
9899
9900
|
{ className: 'multi-figure-image-container' },
|
|
9900
|
-
|
|
9901
|
+
React.createElement(
|
|
9901
9902
|
LazyLoad,
|
|
9902
9903
|
{ once: true },
|
|
9903
|
-
|
|
9904
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9904
9905
|
),
|
|
9905
|
-
|
|
9906
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9906
9907
|
)
|
|
9907
|
-
) :
|
|
9908
|
+
) : React.createElement(
|
|
9908
9909
|
'div',
|
|
9909
9910
|
{ className: 'multi-figure-image-container' },
|
|
9910
|
-
|
|
9911
|
+
React.createElement(
|
|
9911
9912
|
LazyLoad,
|
|
9912
9913
|
{ once: true },
|
|
9913
|
-
|
|
9914
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9914
9915
|
),
|
|
9915
|
-
|
|
9916
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9916
9917
|
)
|
|
9917
9918
|
);
|
|
9918
9919
|
}
|
|
9919
9920
|
})
|
|
9920
9921
|
),
|
|
9921
|
-
|
|
9922
|
+
React.createElement(
|
|
9922
9923
|
'div',
|
|
9923
9924
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9924
|
-
|
|
9925
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9925
9926
|
),
|
|
9926
|
-
|
|
9927
|
+
React.createElement(
|
|
9927
9928
|
'style',
|
|
9928
9929
|
{ jsx: 'true' },
|
|
9929
9930
|
'\n .multi-figure-caption,\n .multi-figure-caption h1,\n .multi-figure-caption h2,\n .multi-figure-caption h3,\n .multi-figure-caption h4,\n .multi-figure-caption h5,\n .multi-figure-caption h6,\n .multi-figure-caption p,\n .multi-figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: contain;\n cursor: pointer;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 300px;\n }\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9972,23 +9973,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9972
9973
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9973
9974
|
}, []);
|
|
9974
9975
|
|
|
9975
|
-
return
|
|
9976
|
-
|
|
9976
|
+
return React.createElement(
|
|
9977
|
+
React.Fragment,
|
|
9977
9978
|
null,
|
|
9978
|
-
|
|
9979
|
+
React.createElement(
|
|
9979
9980
|
Head,
|
|
9980
9981
|
null,
|
|
9981
|
-
|
|
9982
|
+
React.createElement('script', {
|
|
9982
9983
|
dangerouslySetInnerHTML: {
|
|
9983
9984
|
__html: 'history.scrollRestoration = "manual"'
|
|
9984
9985
|
}
|
|
9985
9986
|
})
|
|
9986
9987
|
),
|
|
9987
|
-
|
|
9988
|
+
React.createElement(
|
|
9988
9989
|
'div',
|
|
9989
9990
|
{ id: elementId },
|
|
9990
|
-
|
|
9991
|
-
|
|
9991
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9992
|
+
React.createElement(
|
|
9992
9993
|
'style',
|
|
9993
9994
|
{ jsx: 'true' },
|
|
9994
9995
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -9997,258 +9998,6 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9997
9998
|
);
|
|
9998
9999
|
};
|
|
9999
10000
|
|
|
10000
|
-
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
10001
|
-
|
|
10002
|
-
exports.__esModule = true;
|
|
10003
|
-
|
|
10004
|
-
exports.default = function (obj, keys) {
|
|
10005
|
-
var target = {};
|
|
10006
|
-
|
|
10007
|
-
for (var i in obj) {
|
|
10008
|
-
if (keys.indexOf(i) >= 0) continue;
|
|
10009
|
-
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
10010
|
-
target[i] = obj[i];
|
|
10011
|
-
}
|
|
10012
|
-
|
|
10013
|
-
return target;
|
|
10014
|
-
};
|
|
10015
|
-
});
|
|
10016
|
-
|
|
10017
|
-
unwrapExports(objectWithoutProperties);
|
|
10018
|
-
|
|
10019
|
-
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
10020
|
-
|
|
10021
|
-
exports.__esModule = true;
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
var _extends3 = _interopRequireDefault(_extends$1);
|
|
10026
|
-
|
|
10027
|
-
|
|
10028
|
-
|
|
10029
|
-
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
var _inherits3 = _interopRequireDefault(inherits);
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
var _react2 = _interopRequireDefault(React__default);
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10050
|
-
|
|
10051
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10052
|
-
var noop = function noop() {};
|
|
10053
|
-
|
|
10054
|
-
var ScriptTag = function (_Component) {
|
|
10055
|
-
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10056
|
-
|
|
10057
|
-
ScriptTag.removeNode = function removeNode(node) {
|
|
10058
|
-
if (node) {
|
|
10059
|
-
node.parentNode.removeChild(node);
|
|
10060
|
-
}
|
|
10061
|
-
};
|
|
10062
|
-
|
|
10063
|
-
function ScriptTag(props, context) {
|
|
10064
|
-
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10065
|
-
|
|
10066
|
-
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10067
|
-
|
|
10068
|
-
_this.domRef = null;
|
|
10069
|
-
_this.state = {
|
|
10070
|
-
isHydrated: props.isHydrating,
|
|
10071
|
-
additionalNode: null,
|
|
10072
|
-
removeAdditionalNode: null
|
|
10073
|
-
};
|
|
10074
|
-
return _this;
|
|
10075
|
-
}
|
|
10076
|
-
|
|
10077
|
-
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10078
|
-
var _props = this.props,
|
|
10079
|
-
onError = _props.onError,
|
|
10080
|
-
onLoad = _props.onLoad,
|
|
10081
|
-
nonce = _props.nonce;
|
|
10082
|
-
|
|
10083
|
-
// Create a new HTML script element
|
|
10084
|
-
|
|
10085
|
-
var newElement = document.createElement("script");
|
|
10086
|
-
|
|
10087
|
-
// Copy all attribute values
|
|
10088
|
-
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10089
|
-
var attr = this.domRef.attributes[i];
|
|
10090
|
-
if (attr.nodeName === 'nonce') {
|
|
10091
|
-
// The browser clears the nonce value - grab from props
|
|
10092
|
-
newElement.setAttribute(attr.nodeName, nonce);
|
|
10093
|
-
} else {
|
|
10094
|
-
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10095
|
-
}
|
|
10096
|
-
}
|
|
10097
|
-
|
|
10098
|
-
// Copy the inner script
|
|
10099
|
-
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10100
|
-
newElement.innerHTML = this.domRef.innerHTML;
|
|
10101
|
-
}
|
|
10102
|
-
|
|
10103
|
-
// Bind event listeners
|
|
10104
|
-
newElement.addEventListener('load', onLoad);
|
|
10105
|
-
newElement.addEventListener('error', onError);
|
|
10106
|
-
|
|
10107
|
-
// Append the new script tag
|
|
10108
|
-
this.domRef.parentNode.appendChild(newElement);
|
|
10109
|
-
return newElement;
|
|
10110
|
-
};
|
|
10111
|
-
|
|
10112
|
-
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10113
|
-
var isHydrated = this.state.isHydrated;
|
|
10114
|
-
|
|
10115
|
-
if (isHydrated) {
|
|
10116
|
-
// was rendered on server, don't replace elements when hydrating
|
|
10117
|
-
return;
|
|
10118
|
-
}
|
|
10119
|
-
|
|
10120
|
-
this.setState({
|
|
10121
|
-
additionalNode: this.appendAdditionalElement(),
|
|
10122
|
-
removeAdditionalNode: null
|
|
10123
|
-
});
|
|
10124
|
-
};
|
|
10125
|
-
|
|
10126
|
-
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10127
|
-
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10128
|
-
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10129
|
-
|
|
10130
|
-
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10131
|
-
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10132
|
-
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10133
|
-
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10134
|
-
// This really complicates the component - for now we'll leave it as is.
|
|
10135
|
-
var _props2 = this.props,
|
|
10136
|
-
src = _props2.src,
|
|
10137
|
-
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10138
|
-
|
|
10139
|
-
if (src && src === nextProps.src) {
|
|
10140
|
-
// The 'src' attribute has not changed
|
|
10141
|
-
return;
|
|
10142
|
-
}
|
|
10143
|
-
|
|
10144
|
-
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10145
|
-
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10146
|
-
return;
|
|
10147
|
-
}
|
|
10148
|
-
|
|
10149
|
-
this.setState({
|
|
10150
|
-
removeAdditionalNode: this.state.additionalNode,
|
|
10151
|
-
additionalNode: null
|
|
10152
|
-
});
|
|
10153
|
-
};
|
|
10154
|
-
|
|
10155
|
-
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10156
|
-
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10157
|
-
};
|
|
10158
|
-
|
|
10159
|
-
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10160
|
-
var _state = this.state,
|
|
10161
|
-
additionalNode = _state.additionalNode,
|
|
10162
|
-
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10163
|
-
|
|
10164
|
-
if (additionalNode === null) {
|
|
10165
|
-
this.setState({
|
|
10166
|
-
additionalNode: this.appendAdditionalElement()
|
|
10167
|
-
});
|
|
10168
|
-
}
|
|
10169
|
-
|
|
10170
|
-
if (removeAdditionalNode !== null) {
|
|
10171
|
-
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10172
|
-
this.setState({
|
|
10173
|
-
removeAdditionalNode: null
|
|
10174
|
-
});
|
|
10175
|
-
}
|
|
10176
|
-
};
|
|
10177
|
-
|
|
10178
|
-
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10179
|
-
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10180
|
-
ScriptTag.removeNode(this.state.additionalNode);
|
|
10181
|
-
};
|
|
10182
|
-
|
|
10183
|
-
ScriptTag.prototype.render = function render() {
|
|
10184
|
-
var _this2 = this;
|
|
10185
|
-
|
|
10186
|
-
var additionalNode = this.state.additionalNode;
|
|
10187
|
-
|
|
10188
|
-
if (additionalNode !== null) {
|
|
10189
|
-
return null;
|
|
10190
|
-
}
|
|
10191
|
-
|
|
10192
|
-
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10193
|
-
// eslint-disable-next-line no-unused-vars
|
|
10194
|
-
var _props3 = this.props;
|
|
10195
|
-
_props3.isHydrating;
|
|
10196
|
-
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10197
|
-
|
|
10198
|
-
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10199
|
-
return _this2.domRef = tag;
|
|
10200
|
-
} }));
|
|
10201
|
-
};
|
|
10202
|
-
|
|
10203
|
-
return ScriptTag;
|
|
10204
|
-
}(React__default.Component);
|
|
10205
|
-
|
|
10206
|
-
ScriptTag.propTypes = {
|
|
10207
|
-
/**
|
|
10208
|
-
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10209
|
-
*/
|
|
10210
|
-
isHydrating: _propTypes2.default.bool,
|
|
10211
|
-
|
|
10212
|
-
// Standard <script> tag props
|
|
10213
|
-
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10214
|
-
crossOrigin: _propTypes2.default.string,
|
|
10215
|
-
defer: _propTypes2.default.bool,
|
|
10216
|
-
integrity: _propTypes2.default.string,
|
|
10217
|
-
nonce: _propTypes2.default.string,
|
|
10218
|
-
src: _propTypes2.default.string,
|
|
10219
|
-
text: _propTypes2.default.string,
|
|
10220
|
-
type: _propTypes2.default.string,
|
|
10221
|
-
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10222
|
-
|
|
10223
|
-
// globals
|
|
10224
|
-
onError: _propTypes2.default.func,
|
|
10225
|
-
onLoad: _propTypes2.default.func
|
|
10226
|
-
};
|
|
10227
|
-
ScriptTag.defaultProps = {
|
|
10228
|
-
isHydrating: false,
|
|
10229
|
-
onError: noop,
|
|
10230
|
-
onLoad: noop
|
|
10231
|
-
};
|
|
10232
|
-
exports.default = ScriptTag;
|
|
10233
|
-
});
|
|
10234
|
-
|
|
10235
|
-
unwrapExports(ScriptTag_1);
|
|
10236
|
-
|
|
10237
|
-
var lib = createCommonjsModule(function (module, exports) {
|
|
10238
|
-
|
|
10239
|
-
exports.__esModule = true;
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10244
|
-
|
|
10245
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10246
|
-
|
|
10247
|
-
exports.default = _ScriptTag2.default;
|
|
10248
|
-
});
|
|
10249
|
-
|
|
10250
|
-
var ScriptTag = unwrapExports(lib);
|
|
10251
|
-
|
|
10252
10001
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
10253
10002
|
|
|
10254
10003
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10293,11 +10042,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10293
10042
|
}, [anonymousID]);
|
|
10294
10043
|
|
|
10295
10044
|
if (iframeSrc) {
|
|
10296
|
-
return
|
|
10045
|
+
return React.createElement(
|
|
10297
10046
|
'section',
|
|
10298
10047
|
{ className: 'form-assembly' },
|
|
10299
|
-
iframeSrc &&
|
|
10300
|
-
|
|
10048
|
+
iframeSrc && React.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10049
|
+
React.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10301
10050
|
);
|
|
10302
10051
|
}
|
|
10303
10052
|
|
|
@@ -10334,27 +10083,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10334
10083
|
return window.removeEventListener('resize', handleResize);
|
|
10335
10084
|
};
|
|
10336
10085
|
}, []);
|
|
10337
|
-
return
|
|
10086
|
+
return React.createElement(
|
|
10338
10087
|
'div',
|
|
10339
10088
|
{ className: 'blockTableHolder', ref: holder },
|
|
10340
|
-
|
|
10089
|
+
React.createElement(
|
|
10341
10090
|
'div',
|
|
10342
10091
|
{ className: 'blockTable' },
|
|
10343
10092
|
rows && rows.map(function (row) {
|
|
10344
|
-
return
|
|
10093
|
+
return React.createElement(
|
|
10345
10094
|
'div',
|
|
10346
10095
|
{ className: 'blockTableRow' },
|
|
10347
10096
|
row.cells && row.cells.map(function (cell) {
|
|
10348
|
-
return
|
|
10097
|
+
return React.createElement(
|
|
10349
10098
|
'div',
|
|
10350
10099
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10351
|
-
|
|
10100
|
+
React.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10352
10101
|
);
|
|
10353
10102
|
})
|
|
10354
10103
|
);
|
|
10355
10104
|
})
|
|
10356
10105
|
),
|
|
10357
|
-
|
|
10106
|
+
React.createElement(
|
|
10358
10107
|
'style',
|
|
10359
10108
|
{ jsx: true },
|
|
10360
10109
|
'\n .blockTableRow {\n display: flex;\n ' + (showBorders && 'border-top: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\n .blockTableRow:last-of-type {\n ' + (showBorders && 'border-bottom: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell {\n padding: 0.5rem;\n ' + (showBorders && 'border-left: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell > div {\n width: 100%;\n }\n .blockTableCell > div p {\n margin: 0;\n }\n .blockTableCell > div figure {\n margin: 0 !important;\n }\n .blockTableCell > div figure img {\n margin: 0 !important;\n }\n .blockTableCell:last-of-type {\n ' + (showBorders && 'border-right: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -10364,11 +10113,11 @@ var BlockTable = function BlockTable(props) {
|
|
|
10364
10113
|
|
|
10365
10114
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10366
10115
|
var _props$node = props.node,
|
|
10367
|
-
FormID = _props$node.FormID
|
|
10368
|
-
_props$node.needSegmentSupport;
|
|
10116
|
+
FormID = _props$node.FormID,
|
|
10117
|
+
_props$node$needSegme = _props$node.needSegmentSupport;
|
|
10369
10118
|
|
|
10370
10119
|
|
|
10371
|
-
return
|
|
10120
|
+
return React.createElement('div', { id: FormID });
|
|
10372
10121
|
};
|
|
10373
10122
|
|
|
10374
10123
|
var ScrollToElement = function ScrollToElement(elementId) {
|
|
@@ -10450,12 +10199,12 @@ var getSerializers = function getSerializers() {
|
|
|
10450
10199
|
var node = _ref.node;
|
|
10451
10200
|
var url = node.url;
|
|
10452
10201
|
|
|
10453
|
-
return
|
|
10202
|
+
return React.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10454
10203
|
},
|
|
10455
10204
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10456
10205
|
var node = _ref2.node;
|
|
10457
10206
|
|
|
10458
|
-
return
|
|
10207
|
+
return React.createElement(YouTubeGallery, {
|
|
10459
10208
|
nodes: node,
|
|
10460
10209
|
article: article,
|
|
10461
10210
|
meta: meta,
|
|
@@ -10469,7 +10218,7 @@ var getSerializers = function getSerializers() {
|
|
|
10469
10218
|
articleSeries: function articleSeries(_ref3) {
|
|
10470
10219
|
var node = _ref3.node;
|
|
10471
10220
|
|
|
10472
|
-
return
|
|
10221
|
+
return React.createElement(ArticleSeries, {
|
|
10473
10222
|
nodes: node,
|
|
10474
10223
|
accountIDs: videoAccountIDs || {},
|
|
10475
10224
|
pageview: pageview,
|
|
@@ -10482,61 +10231,61 @@ var getSerializers = function getSerializers() {
|
|
|
10482
10231
|
figure: function figure(_ref4) {
|
|
10483
10232
|
var node = _ref4.node;
|
|
10484
10233
|
|
|
10485
|
-
return
|
|
10234
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10486
10235
|
},
|
|
10487
10236
|
multifigure: function multifigure(_ref5) {
|
|
10488
10237
|
var node = _ref5.node;
|
|
10489
10238
|
|
|
10490
|
-
return
|
|
10239
|
+
return React.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10491
10240
|
},
|
|
10492
10241
|
slideshow: function slideshow(_ref6) {
|
|
10493
10242
|
var node = _ref6.node;
|
|
10494
10243
|
var slides = node.slides;
|
|
10495
10244
|
|
|
10496
|
-
return
|
|
10245
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10497
10246
|
},
|
|
10498
10247
|
sidebar: function sidebar(_ref7) {
|
|
10499
10248
|
var node = _ref7.node;
|
|
10500
10249
|
var caption = node.caption,
|
|
10501
10250
|
content = node.content;
|
|
10502
10251
|
|
|
10503
|
-
return
|
|
10252
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10504
10253
|
},
|
|
10505
10254
|
datatable: function datatable(_ref8) {
|
|
10506
10255
|
var node = _ref8.node;
|
|
10507
10256
|
var table = node.table;
|
|
10508
10257
|
|
|
10509
|
-
return
|
|
10258
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
10510
10259
|
},
|
|
10511
10260
|
media: function media(_ref9) {
|
|
10512
10261
|
var node = _ref9.node;
|
|
10513
10262
|
|
|
10514
|
-
return
|
|
10263
|
+
return React.createElement(Media, { node: node, client: client });
|
|
10515
10264
|
},
|
|
10516
10265
|
iframe: function iframe(_ref10) {
|
|
10517
10266
|
var node = _ref10.node;
|
|
10518
10267
|
|
|
10519
|
-
return
|
|
10268
|
+
return React.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10520
10269
|
},
|
|
10521
10270
|
video: function video(_ref11) {
|
|
10522
10271
|
var node = _ref11.node;
|
|
10523
10272
|
|
|
10524
|
-
return
|
|
10273
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10525
10274
|
},
|
|
10526
10275
|
audio: function audio(_ref12) {
|
|
10527
10276
|
var node = _ref12.node;
|
|
10528
10277
|
|
|
10529
|
-
return
|
|
10278
|
+
return React.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10530
10279
|
},
|
|
10531
10280
|
poll: function poll(_ref13) {
|
|
10532
10281
|
var node = _ref13.node;
|
|
10533
10282
|
|
|
10534
|
-
return
|
|
10283
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10535
10284
|
},
|
|
10536
10285
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10537
10286
|
var node = _ref14.node;
|
|
10538
10287
|
|
|
10539
|
-
return
|
|
10288
|
+
return React.createElement(Poll$1, {
|
|
10540
10289
|
node: node,
|
|
10541
10290
|
client: client,
|
|
10542
10291
|
pageview: pageview,
|
|
@@ -10550,35 +10299,35 @@ var getSerializers = function getSerializers() {
|
|
|
10550
10299
|
var node = _ref15.node;
|
|
10551
10300
|
var quizzes = node.quizzes;
|
|
10552
10301
|
|
|
10553
|
-
return
|
|
10302
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10554
10303
|
},
|
|
10555
10304
|
leads: function leads(_ref16) {
|
|
10556
10305
|
var node = _ref16.node;
|
|
10557
10306
|
var leadID = node.leadID;
|
|
10558
10307
|
|
|
10559
10308
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10560
|
-
return
|
|
10309
|
+
return React.createElement(Leads, { url: url });
|
|
10561
10310
|
},
|
|
10562
10311
|
slideshows: function slideshows(_ref17) {
|
|
10563
10312
|
var node = _ref17.node;
|
|
10564
10313
|
|
|
10565
|
-
return
|
|
10314
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10566
10315
|
},
|
|
10567
10316
|
nativeAd: function nativeAd(_ref18) {
|
|
10568
10317
|
var node = _ref18.node;
|
|
10569
10318
|
|
|
10570
|
-
return
|
|
10319
|
+
return React.createElement(NativeAd, { node: node });
|
|
10571
10320
|
},
|
|
10572
10321
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10573
10322
|
var node = _ref19.node;
|
|
10574
10323
|
|
|
10575
|
-
return
|
|
10324
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10576
10325
|
},
|
|
10577
10326
|
hrtag: function hrtag() {
|
|
10578
|
-
return
|
|
10327
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10579
10328
|
},
|
|
10580
10329
|
brtag: function brtag() {
|
|
10581
|
-
return
|
|
10330
|
+
return React.createElement('br', { className: 'line-break' });
|
|
10582
10331
|
},
|
|
10583
10332
|
formstack: function formstack(_ref20) {
|
|
10584
10333
|
var node = _ref20.node;
|
|
@@ -10586,30 +10335,30 @@ var getSerializers = function getSerializers() {
|
|
|
10586
10335
|
Caption = node.Caption,
|
|
10587
10336
|
needSegmentSupport = node.needSegmentSupport;
|
|
10588
10337
|
|
|
10589
|
-
return
|
|
10338
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10590
10339
|
},
|
|
10591
10340
|
formassembly: FormAssembly,
|
|
10592
10341
|
digiohSmartTag: DigiohSmartTag,
|
|
10593
10342
|
multimedia: function multimedia(_ref21) {
|
|
10594
10343
|
var node = _ref21.node;
|
|
10595
10344
|
|
|
10596
|
-
return
|
|
10345
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
10597
10346
|
},
|
|
10598
10347
|
blockTable: function blockTable(_ref22) {
|
|
10599
10348
|
var node = _ref22.node;
|
|
10600
|
-
return
|
|
10349
|
+
return React.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10601
10350
|
}
|
|
10602
10351
|
},
|
|
10603
10352
|
marks: {
|
|
10604
10353
|
superscript: function superscript(props) {
|
|
10605
|
-
return
|
|
10354
|
+
return React.createElement(
|
|
10606
10355
|
'sup',
|
|
10607
10356
|
null,
|
|
10608
10357
|
props.children
|
|
10609
10358
|
);
|
|
10610
10359
|
},
|
|
10611
10360
|
subscript: function subscript(props) {
|
|
10612
|
-
return
|
|
10361
|
+
return React.createElement(
|
|
10613
10362
|
'sub',
|
|
10614
10363
|
null,
|
|
10615
10364
|
props.children
|
|
@@ -10626,7 +10375,7 @@ var getSerializers = function getSerializers() {
|
|
|
10626
10375
|
if (href && href.charAt(0) === '#') {
|
|
10627
10376
|
var elementId = href.slice(1);
|
|
10628
10377
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10629
|
-
return
|
|
10378
|
+
return React.createElement(
|
|
10630
10379
|
'a',
|
|
10631
10380
|
{ onClick: function onClick() {
|
|
10632
10381
|
return ScrollToElement(elementId);
|
|
@@ -10636,7 +10385,7 @@ var getSerializers = function getSerializers() {
|
|
|
10636
10385
|
}
|
|
10637
10386
|
|
|
10638
10387
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10639
|
-
return href ?
|
|
10388
|
+
return href ? React.createElement(
|
|
10640
10389
|
'a',
|
|
10641
10390
|
_extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10642
10391
|
children
|
|
@@ -10644,7 +10393,7 @@ var getSerializers = function getSerializers() {
|
|
|
10644
10393
|
},
|
|
10645
10394
|
alignleft: function alignleft(_ref23) {
|
|
10646
10395
|
var children = _ref23.children;
|
|
10647
|
-
return
|
|
10396
|
+
return React.createElement(
|
|
10648
10397
|
'div',
|
|
10649
10398
|
{ style: { textAlign: 'left' } },
|
|
10650
10399
|
children
|
|
@@ -10652,7 +10401,7 @@ var getSerializers = function getSerializers() {
|
|
|
10652
10401
|
},
|
|
10653
10402
|
alignright: function alignright(_ref24) {
|
|
10654
10403
|
var children = _ref24.children;
|
|
10655
|
-
return
|
|
10404
|
+
return React.createElement(
|
|
10656
10405
|
'div',
|
|
10657
10406
|
{ style: { textAlign: 'right' } },
|
|
10658
10407
|
children
|
|
@@ -10660,7 +10409,7 @@ var getSerializers = function getSerializers() {
|
|
|
10660
10409
|
},
|
|
10661
10410
|
aligncenter: function aligncenter(_ref25) {
|
|
10662
10411
|
var children = _ref25.children;
|
|
10663
|
-
return
|
|
10412
|
+
return React.createElement(
|
|
10664
10413
|
'div',
|
|
10665
10414
|
{ style: { textAlign: 'center' } },
|
|
10666
10415
|
children
|
|
@@ -10668,7 +10417,7 @@ var getSerializers = function getSerializers() {
|
|
|
10668
10417
|
},
|
|
10669
10418
|
alignjustify: function alignjustify(_ref26) {
|
|
10670
10419
|
var children = _ref26.children;
|
|
10671
|
-
return
|
|
10420
|
+
return React.createElement(
|
|
10672
10421
|
'div',
|
|
10673
10422
|
{ style: { textAlign: 'justify' } },
|
|
10674
10423
|
children
|
|
@@ -10678,7 +10427,7 @@ var getSerializers = function getSerializers() {
|
|
|
10678
10427
|
var children = props.children,
|
|
10679
10428
|
color = props.mark.color;
|
|
10680
10429
|
|
|
10681
|
-
return
|
|
10430
|
+
return React.createElement(
|
|
10682
10431
|
'span',
|
|
10683
10432
|
{ style: { color: color ? color.hex : null } },
|
|
10684
10433
|
children
|