@mjhls/mjh-framework 1.0.989-test → 1.0.989
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 -14302
- 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 +26 -26
- 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-79eac5e7.js → MediaSeriesCard-94c5bb79.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-ba942d9a.js → getTargeting-5eabd6e2.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-1d5a3c47.js → index-3c067d4f.js} +164 -414
- 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 -14327
- 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 +87 -87
- 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-7d1f45f9.js → MediaSeriesCard-4865e60f.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 +324 -328
- 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-9bd28724.js → getTargeting-eed01f73.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-03afef1c.js → index-25f93396.js} +574 -825
- 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-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 React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
2
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
4
|
-
import urlFor from './urlFor.js';
|
|
5
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
|
-
import Router, { useRouter } from 'next/router';
|
|
7
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
8
|
-
import PropTypes from 'prop-types';
|
|
9
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import {
|
|
11
|
-
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';
|
|
12
21
|
import Segment from './Segment.js';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
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
|
-
className: '
|
|
2222
|
-
|
|
2222
|
+
className: 'mb-3' },
|
|
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,31 +2364,31 @@ 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, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2367
2368
|
}
|
|
2368
2369
|
if (item.format === 'textInput') {
|
|
2369
|
-
pollArray.push(
|
|
2370
|
+
pollArray.push(React.createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2370
2371
|
}
|
|
2371
2372
|
});
|
|
2372
2373
|
|
|
2373
|
-
return
|
|
2374
|
+
return React.createElement(
|
|
2374
2375
|
'div',
|
|
2375
2376
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2376
|
-
|
|
2377
|
+
React.createElement(
|
|
2377
2378
|
Modal.Dialog,
|
|
2378
2379
|
null,
|
|
2379
|
-
|
|
2380
|
+
React.createElement(
|
|
2380
2381
|
Modal.Body,
|
|
2381
2382
|
null,
|
|
2382
|
-
|
|
2383
|
+
React.createElement(
|
|
2383
2384
|
Form,
|
|
2384
2385
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2385
2386
|
pollArray,
|
|
2386
|
-
textInputRender && !multiChoiceRender ?
|
|
2387
|
+
textInputRender && !multiChoiceRender ? React.createElement(
|
|
2387
2388
|
Button,
|
|
2388
2389
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2389
2390
|
'Submit'
|
|
2390
|
-
) :
|
|
2391
|
+
) : React.createElement(
|
|
2391
2392
|
Button,
|
|
2392
2393
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2393
2394
|
'Submit'
|
|
@@ -2468,7 +2469,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2468
2469
|
var queue = Math.floor(duration / 10);
|
|
2469
2470
|
var segment = Math.floor(current / queue);
|
|
2470
2471
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2471
|
-
Segment.report_video_event('Video Ready',
|
|
2472
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
|
|
2472
2473
|
};
|
|
2473
2474
|
|
|
2474
2475
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2478,7 +2479,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2478
2479
|
var segment = Math.floor(current / queue);
|
|
2479
2480
|
if (!queueProgress.includes(segment)) {
|
|
2480
2481
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2481
|
-
Segment.report_video_event('Video Segment',
|
|
2482
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
|
|
2482
2483
|
queueProgress.push(segment);
|
|
2483
2484
|
}
|
|
2484
2485
|
};
|
|
@@ -2491,7 +2492,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2491
2492
|
var queue = Math.floor(duration / 10);
|
|
2492
2493
|
var segment = Math.floor(current / queue);
|
|
2493
2494
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2494
|
-
Segment.report_video_event('Video Play',
|
|
2495
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
|
|
2495
2496
|
if (!playReported) {
|
|
2496
2497
|
event.persist();
|
|
2497
2498
|
setPlayReported(true);
|
|
@@ -2534,7 +2535,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2534
2535
|
var segment = Math.floor(current / queue);
|
|
2535
2536
|
clearInterval(intId);
|
|
2536
2537
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2537
|
-
Segment.report_video_event('Video End',
|
|
2538
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
|
|
2538
2539
|
setEndReported(true);
|
|
2539
2540
|
clearInterval(intervalID);
|
|
2540
2541
|
}
|
|
@@ -2548,13 +2549,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2548
2549
|
var segment = Math.floor(current / queue);
|
|
2549
2550
|
clearInterval(intId);
|
|
2550
2551
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2551
|
-
Segment.report_video_event('Video Pause',
|
|
2552
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
2552
2553
|
};
|
|
2553
2554
|
|
|
2554
|
-
return
|
|
2555
|
+
return React.createElement(
|
|
2555
2556
|
'div',
|
|
2556
2557
|
null,
|
|
2557
|
-
isPollingTime ?
|
|
2558
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2558
2559
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2559
2560
|
, { pollItems: pollItems
|
|
2560
2561
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2568,7 +2569,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2568
2569
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2569
2570
|
, multiChoiceRender: multiChoiceRender
|
|
2570
2571
|
}) : null,
|
|
2571
|
-
vidLoaded &&
|
|
2572
|
+
vidLoaded && React.createElement(
|
|
2572
2573
|
'video',
|
|
2573
2574
|
{
|
|
2574
2575
|
poster: thumbnail || '',
|
|
@@ -2586,7 +2587,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2586
2587
|
onPlay: function onPlay(e) {
|
|
2587
2588
|
return handleOnPlay(e);
|
|
2588
2589
|
} },
|
|
2589
|
-
|
|
2590
|
+
React.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2590
2591
|
'Your browser does not support the video tag.'
|
|
2591
2592
|
)
|
|
2592
2593
|
);
|
|
@@ -2737,7 +2738,7 @@ var Video = function Video(_ref) {
|
|
|
2737
2738
|
}
|
|
2738
2739
|
|
|
2739
2740
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2740
|
-
Segment.report_video_event('Video Ready',
|
|
2741
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2741
2742
|
});
|
|
2742
2743
|
// let intId
|
|
2743
2744
|
// const convertTime = (timeStr) => {
|
|
@@ -2772,7 +2773,7 @@ var Video = function Video(_ref) {
|
|
|
2772
2773
|
}, 1000);
|
|
2773
2774
|
}
|
|
2774
2775
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2775
|
-
Segment.report_video_event('Video Play',
|
|
2776
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2776
2777
|
});
|
|
2777
2778
|
|
|
2778
2779
|
// pause
|
|
@@ -2783,7 +2784,7 @@ var Video = function Video(_ref) {
|
|
|
2783
2784
|
var segment = Math.floor(current / queue);
|
|
2784
2785
|
clearInterval(intId);
|
|
2785
2786
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2786
|
-
Segment.report_video_event('Video Pause',
|
|
2787
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2787
2788
|
});
|
|
2788
2789
|
|
|
2789
2790
|
// end
|
|
@@ -2794,7 +2795,7 @@ var Video = function Video(_ref) {
|
|
|
2794
2795
|
var segment = Math.floor(current / queue);
|
|
2795
2796
|
clearInterval(intId);
|
|
2796
2797
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2797
|
-
Segment.report_video_event('Video End',
|
|
2798
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2798
2799
|
// This is for old series format
|
|
2799
2800
|
autoplayNextVideo(evt);
|
|
2800
2801
|
if (nextVideo) {
|
|
@@ -2810,7 +2811,7 @@ var Video = function Video(_ref) {
|
|
|
2810
2811
|
var segment = Math.floor(current / queue);
|
|
2811
2812
|
if (!queueProgress.includes(segment)) {
|
|
2812
2813
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2813
|
-
Segment.report_video_event('Video Segment',
|
|
2814
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2814
2815
|
queueProgress.push(segment);
|
|
2815
2816
|
}
|
|
2816
2817
|
});
|
|
@@ -2822,7 +2823,7 @@ var Video = function Video(_ref) {
|
|
|
2822
2823
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2823
2824
|
|
|
2824
2825
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2825
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2826
|
+
Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2826
2827
|
});
|
|
2827
2828
|
|
|
2828
2829
|
// ad ended
|
|
@@ -2831,16 +2832,16 @@ var Video = function Video(_ref) {
|
|
|
2831
2832
|
// const id = player.ads.ad.id
|
|
2832
2833
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2833
2834
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2834
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2835
|
+
Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2835
2836
|
});
|
|
2836
2837
|
};
|
|
2837
2838
|
|
|
2838
2839
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2839
2840
|
if (videoID) {
|
|
2840
|
-
return
|
|
2841
|
+
return React.createElement(
|
|
2841
2842
|
'div',
|
|
2842
2843
|
null,
|
|
2843
|
-
isPollingTime ?
|
|
2844
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2844
2845
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2845
2846
|
, { pollItems: pollItems
|
|
2846
2847
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2854,7 +2855,7 @@ var Video = function Video(_ref) {
|
|
|
2854
2855
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2855
2856
|
, multiChoiceRender: multiChoiceRender
|
|
2856
2857
|
}) : null,
|
|
2857
|
-
|
|
2858
|
+
React.createElement(ReactPlayerLoader, {
|
|
2858
2859
|
onSuccess: onVideoSuccess,
|
|
2859
2860
|
onFailure: onVideoFailure,
|
|
2860
2861
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2862,17 +2863,17 @@ var Video = function Video(_ref) {
|
|
|
2862
2863
|
playerId: accountIDs.brightcove.playerId,
|
|
2863
2864
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2864
2865
|
}),
|
|
2865
|
-
|
|
2866
|
+
React.createElement(
|
|
2866
2867
|
'style',
|
|
2867
2868
|
{ jsx: 'true' },
|
|
2868
2869
|
'\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 '
|
|
2869
2870
|
)
|
|
2870
2871
|
);
|
|
2871
2872
|
} else if (playlistID) {
|
|
2872
|
-
return
|
|
2873
|
+
return React.createElement(
|
|
2873
2874
|
'div',
|
|
2874
2875
|
null,
|
|
2875
|
-
isPollingTime ?
|
|
2876
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2876
2877
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2877
2878
|
, { pollItems: pollItems
|
|
2878
2879
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2886,7 +2887,7 @@ var Video = function Video(_ref) {
|
|
|
2886
2887
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2887
2888
|
, multiChoiceRender: multiChoiceRender
|
|
2888
2889
|
}) : null,
|
|
2889
|
-
|
|
2890
|
+
React.createElement(ReactPlayerLoader, {
|
|
2890
2891
|
accountId: accountIDs.brightcove.accountId,
|
|
2891
2892
|
playlistId: playlistID,
|
|
2892
2893
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2894,18 +2895,18 @@ var Video = function Video(_ref) {
|
|
|
2894
2895
|
onFailure: onVideoFailure,
|
|
2895
2896
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2896
2897
|
}),
|
|
2897
|
-
|
|
2898
|
+
React.createElement(
|
|
2898
2899
|
'style',
|
|
2899
2900
|
{ jsx: 'true' },
|
|
2900
2901
|
'\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 '
|
|
2901
2902
|
)
|
|
2902
2903
|
);
|
|
2903
2904
|
} else if (experienceID) {
|
|
2904
|
-
return
|
|
2905
|
+
return React.createElement(
|
|
2905
2906
|
'div',
|
|
2906
2907
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2907
|
-
|
|
2908
|
-
isPollingTime ?
|
|
2908
|
+
React.createElement('div', { 'data-experience': experienceID }),
|
|
2909
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2909
2910
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2910
2911
|
, { pollItems: pollItems
|
|
2911
2912
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2925,10 +2926,10 @@ var Video = function Video(_ref) {
|
|
|
2925
2926
|
}
|
|
2926
2927
|
|
|
2927
2928
|
if (source === 'mp4') {
|
|
2928
|
-
return
|
|
2929
|
+
return React.createElement(
|
|
2929
2930
|
'div',
|
|
2930
2931
|
null,
|
|
2931
|
-
|
|
2932
|
+
React.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2932
2933
|
);
|
|
2933
2934
|
}
|
|
2934
2935
|
|
|
@@ -3139,9 +3140,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3139
3140
|
});
|
|
3140
3141
|
|
|
3141
3142
|
unwrapExports(props);
|
|
3142
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3143
|
-
props.defaultProps;
|
|
3144
|
-
props.propTypes;
|
|
3143
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3144
|
+
var props_2 = props.defaultProps;
|
|
3145
|
+
var props_3 = props.propTypes;
|
|
3145
3146
|
|
|
3146
3147
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3147
3148
|
return isNonNullObject(value)
|
|
@@ -3533,7 +3534,7 @@ function isEqual(a, b) {
|
|
|
3533
3534
|
return true;
|
|
3534
3535
|
}
|
|
3535
3536
|
|
|
3536
|
-
if ((0,
|
|
3537
|
+
if ((0, React.isValidElement)(a) && (0, React.isValidElement)(b)) {
|
|
3537
3538
|
return true;
|
|
3538
3539
|
}
|
|
3539
3540
|
|
|
@@ -3576,17 +3577,17 @@ function isMediaStream(url) {
|
|
|
3576
3577
|
});
|
|
3577
3578
|
|
|
3578
3579
|
unwrapExports(utils);
|
|
3579
|
-
utils.parseStartTime;
|
|
3580
|
-
utils.parseEndTime;
|
|
3581
|
-
utils.randomString;
|
|
3582
|
-
utils.queryString;
|
|
3583
|
-
utils.getSDK;
|
|
3584
|
-
utils.getConfig;
|
|
3585
|
-
utils.omit;
|
|
3586
|
-
utils.callPlayer;
|
|
3587
|
-
utils.isObject;
|
|
3588
|
-
utils.isEqual;
|
|
3589
|
-
utils.isMediaStream;
|
|
3580
|
+
var utils_1 = utils.parseStartTime;
|
|
3581
|
+
var utils_2 = utils.parseEndTime;
|
|
3582
|
+
var utils_3 = utils.randomString;
|
|
3583
|
+
var utils_4 = utils.queryString;
|
|
3584
|
+
var utils_5 = utils.getSDK;
|
|
3585
|
+
var utils_6 = utils.getConfig;
|
|
3586
|
+
var utils_7 = utils.omit;
|
|
3587
|
+
var utils_8 = utils.callPlayer;
|
|
3588
|
+
var utils_9 = utils.isObject;
|
|
3589
|
+
var utils_10 = utils.isEqual;
|
|
3590
|
+
var utils_11 = utils.isMediaStream;
|
|
3590
3591
|
|
|
3591
3592
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3592
3593
|
|
|
@@ -3595,7 +3596,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3595
3596
|
});
|
|
3596
3597
|
exports["default"] = void 0;
|
|
3597
3598
|
|
|
3598
|
-
var _react = _interopRequireWildcard(
|
|
3599
|
+
var _react = _interopRequireWildcard(React);
|
|
3599
3600
|
|
|
3600
3601
|
|
|
3601
3602
|
|
|
@@ -4005,7 +4006,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4005
4006
|
});
|
|
4006
4007
|
exports["default"] = createSinglePlayer;
|
|
4007
4008
|
|
|
4008
|
-
var _react = _interopRequireWildcard(
|
|
4009
|
+
var _react = _interopRequireWildcard(React);
|
|
4009
4010
|
|
|
4010
4011
|
|
|
4011
4012
|
|
|
@@ -4163,7 +4164,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4163
4164
|
});
|
|
4164
4165
|
exports["default"] = exports.YouTube = void 0;
|
|
4165
4166
|
|
|
4166
|
-
var _react = _interopRequireWildcard(
|
|
4167
|
+
var _react = _interopRequireWildcard(React);
|
|
4167
4168
|
|
|
4168
4169
|
|
|
4169
4170
|
|
|
@@ -4463,7 +4464,7 @@ exports["default"] = _default;
|
|
|
4463
4464
|
});
|
|
4464
4465
|
|
|
4465
4466
|
unwrapExports(YouTube_1);
|
|
4466
|
-
YouTube_1.YouTube;
|
|
4467
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4467
4468
|
|
|
4468
4469
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4469
4470
|
|
|
@@ -4472,7 +4473,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4472
4473
|
});
|
|
4473
4474
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4474
4475
|
|
|
4475
|
-
var _react = _interopRequireWildcard(
|
|
4476
|
+
var _react = _interopRequireWildcard(React);
|
|
4476
4477
|
|
|
4477
4478
|
|
|
4478
4479
|
|
|
@@ -4680,7 +4681,7 @@ exports["default"] = _default;
|
|
|
4680
4681
|
});
|
|
4681
4682
|
|
|
4682
4683
|
unwrapExports(SoundCloud_1);
|
|
4683
|
-
SoundCloud_1.SoundCloud;
|
|
4684
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4684
4685
|
|
|
4685
4686
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4686
4687
|
|
|
@@ -4689,7 +4690,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4689
4690
|
});
|
|
4690
4691
|
exports["default"] = exports.Vimeo = void 0;
|
|
4691
4692
|
|
|
4692
|
-
var _react = _interopRequireWildcard(
|
|
4693
|
+
var _react = _interopRequireWildcard(React);
|
|
4693
4694
|
|
|
4694
4695
|
|
|
4695
4696
|
|
|
@@ -4936,7 +4937,7 @@ exports["default"] = _default;
|
|
|
4936
4937
|
});
|
|
4937
4938
|
|
|
4938
4939
|
unwrapExports(Vimeo_1);
|
|
4939
|
-
Vimeo_1.Vimeo;
|
|
4940
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4940
4941
|
|
|
4941
4942
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4942
4943
|
|
|
@@ -4945,7 +4946,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4945
4946
|
});
|
|
4946
4947
|
exports["default"] = exports.Facebook = void 0;
|
|
4947
4948
|
|
|
4948
|
-
var _react = _interopRequireWildcard(
|
|
4949
|
+
var _react = _interopRequireWildcard(React);
|
|
4949
4950
|
|
|
4950
4951
|
|
|
4951
4952
|
|
|
@@ -5148,7 +5149,7 @@ exports["default"] = _default;
|
|
|
5148
5149
|
});
|
|
5149
5150
|
|
|
5150
5151
|
unwrapExports(Facebook_1);
|
|
5151
|
-
Facebook_1.Facebook;
|
|
5152
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5152
5153
|
|
|
5153
5154
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5154
5155
|
|
|
@@ -5157,7 +5158,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5157
5158
|
});
|
|
5158
5159
|
exports["default"] = exports.Streamable = void 0;
|
|
5159
5160
|
|
|
5160
|
-
var _react = _interopRequireWildcard(
|
|
5161
|
+
var _react = _interopRequireWildcard(React);
|
|
5161
5162
|
|
|
5162
5163
|
|
|
5163
5164
|
|
|
@@ -5359,7 +5360,7 @@ exports["default"] = _default;
|
|
|
5359
5360
|
});
|
|
5360
5361
|
|
|
5361
5362
|
unwrapExports(Streamable_1);
|
|
5362
|
-
Streamable_1.Streamable;
|
|
5363
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5363
5364
|
|
|
5364
5365
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5365
5366
|
|
|
@@ -5368,7 +5369,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5368
5369
|
});
|
|
5369
5370
|
exports["default"] = exports.Wistia = void 0;
|
|
5370
5371
|
|
|
5371
|
-
var _react = _interopRequireWildcard(
|
|
5372
|
+
var _react = _interopRequireWildcard(React);
|
|
5372
5373
|
|
|
5373
5374
|
|
|
5374
5375
|
|
|
@@ -5602,7 +5603,7 @@ exports["default"] = _default;
|
|
|
5602
5603
|
});
|
|
5603
5604
|
|
|
5604
5605
|
unwrapExports(Wistia_1);
|
|
5605
|
-
Wistia_1.Wistia;
|
|
5606
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5606
5607
|
|
|
5607
5608
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5608
5609
|
|
|
@@ -5611,7 +5612,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5611
5612
|
});
|
|
5612
5613
|
exports["default"] = exports.Twitch = void 0;
|
|
5613
5614
|
|
|
5614
|
-
var _react = _interopRequireWildcard(
|
|
5615
|
+
var _react = _interopRequireWildcard(React);
|
|
5615
5616
|
|
|
5616
5617
|
|
|
5617
5618
|
|
|
@@ -5818,7 +5819,7 @@ exports["default"] = _default;
|
|
|
5818
5819
|
});
|
|
5819
5820
|
|
|
5820
5821
|
unwrapExports(Twitch_1);
|
|
5821
|
-
Twitch_1.Twitch;
|
|
5822
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5822
5823
|
|
|
5823
5824
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5824
5825
|
|
|
@@ -5827,7 +5828,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5827
5828
|
});
|
|
5828
5829
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5829
5830
|
|
|
5830
|
-
var _react = _interopRequireWildcard(
|
|
5831
|
+
var _react = _interopRequireWildcard(React);
|
|
5831
5832
|
|
|
5832
5833
|
|
|
5833
5834
|
|
|
@@ -6054,7 +6055,7 @@ exports["default"] = _default;
|
|
|
6054
6055
|
});
|
|
6055
6056
|
|
|
6056
6057
|
unwrapExports(DailyMotion_1);
|
|
6057
|
-
DailyMotion_1.DailyMotion;
|
|
6058
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6058
6059
|
|
|
6059
6060
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6060
6061
|
|
|
@@ -6063,7 +6064,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6063
6064
|
});
|
|
6064
6065
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6065
6066
|
|
|
6066
|
-
var _react = _interopRequireWildcard(
|
|
6067
|
+
var _react = _interopRequireWildcard(React);
|
|
6067
6068
|
|
|
6068
6069
|
|
|
6069
6070
|
|
|
@@ -6253,7 +6254,7 @@ exports["default"] = _default;
|
|
|
6253
6254
|
});
|
|
6254
6255
|
|
|
6255
6256
|
unwrapExports(Mixcloud_1);
|
|
6256
|
-
Mixcloud_1.Mixcloud;
|
|
6257
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6257
6258
|
|
|
6258
6259
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6259
6260
|
|
|
@@ -6262,7 +6263,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6262
6263
|
});
|
|
6263
6264
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6264
6265
|
|
|
6265
|
-
var _react = _interopRequireWildcard(
|
|
6266
|
+
var _react = _interopRequireWildcard(React);
|
|
6266
6267
|
|
|
6267
6268
|
|
|
6268
6269
|
|
|
@@ -6787,7 +6788,7 @@ exports["default"] = _default;
|
|
|
6787
6788
|
});
|
|
6788
6789
|
|
|
6789
6790
|
unwrapExports(FilePlayer_1);
|
|
6790
|
-
FilePlayer_1.FilePlayer;
|
|
6791
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6791
6792
|
|
|
6792
6793
|
var players = createCommonjsModule(function (module, exports) {
|
|
6793
6794
|
|
|
@@ -6829,7 +6830,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6829
6830
|
});
|
|
6830
6831
|
exports["default"] = void 0;
|
|
6831
6832
|
|
|
6832
|
-
var _react = _interopRequireWildcard(
|
|
6833
|
+
var _react = _interopRequireWildcard(React);
|
|
6833
6834
|
|
|
6834
6835
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6835
6836
|
|
|
@@ -7008,7 +7009,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7008
7009
|
});
|
|
7009
7010
|
exports["default"] = renderPreloadPlayers;
|
|
7010
7011
|
|
|
7011
|
-
var _react = _interopRequireDefault(
|
|
7012
|
+
var _react = _interopRequireDefault(React);
|
|
7012
7013
|
|
|
7013
7014
|
var _Player = _interopRequireDefault(Player_1);
|
|
7014
7015
|
|
|
@@ -7147,7 +7148,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7147
7148
|
});
|
|
7148
7149
|
exports["default"] = void 0;
|
|
7149
7150
|
|
|
7150
|
-
var _react = _interopRequireWildcard(
|
|
7151
|
+
var _react = _interopRequireWildcard(React);
|
|
7151
7152
|
|
|
7152
7153
|
|
|
7153
7154
|
|
|
@@ -7492,10 +7493,10 @@ var Audio = function Audio(_ref) {
|
|
|
7492
7493
|
}));
|
|
7493
7494
|
};
|
|
7494
7495
|
if (node.uploadAudio) {
|
|
7495
|
-
return
|
|
7496
|
+
return React.createElement(
|
|
7496
7497
|
'div',
|
|
7497
7498
|
{ className: 'audio d-block text-center mb-3' },
|
|
7498
|
-
|
|
7499
|
+
React.createElement(
|
|
7499
7500
|
'audio',
|
|
7500
7501
|
{
|
|
7501
7502
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7504,14 +7505,14 @@ var Audio = function Audio(_ref) {
|
|
|
7504
7505
|
onPause: reportPause,
|
|
7505
7506
|
onEnded: reportEnd
|
|
7506
7507
|
},
|
|
7507
|
-
|
|
7508
|
-
|
|
7508
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7509
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7509
7510
|
'Your browser does not support the audio element.'
|
|
7510
7511
|
),
|
|
7511
|
-
node.caption &&
|
|
7512
|
+
node.caption && React.createElement(
|
|
7512
7513
|
'p',
|
|
7513
7514
|
{ style: { fontSize: '.9rem' } },
|
|
7514
|
-
|
|
7515
|
+
React.createElement(
|
|
7515
7516
|
'em',
|
|
7516
7517
|
null,
|
|
7517
7518
|
node.caption
|
|
@@ -7521,15 +7522,15 @@ var Audio = function Audio(_ref) {
|
|
|
7521
7522
|
} else if (node.audioFilePth) {
|
|
7522
7523
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7523
7524
|
if (hostname === 'embeds.audioboom.com') {
|
|
7524
|
-
return
|
|
7525
|
+
return React.createElement(
|
|
7525
7526
|
'div',
|
|
7526
7527
|
null,
|
|
7527
|
-
|
|
7528
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7528
7529
|
' ',
|
|
7529
|
-
node.caption &&
|
|
7530
|
+
node.caption && React.createElement(
|
|
7530
7531
|
'p',
|
|
7531
7532
|
{ style: { fontSize: '.9rem' } },
|
|
7532
|
-
|
|
7533
|
+
React.createElement(
|
|
7533
7534
|
'em',
|
|
7534
7535
|
null,
|
|
7535
7536
|
node.caption
|
|
@@ -7537,10 +7538,10 @@ var Audio = function Audio(_ref) {
|
|
|
7537
7538
|
)
|
|
7538
7539
|
);
|
|
7539
7540
|
}
|
|
7540
|
-
return
|
|
7541
|
+
return React.createElement(
|
|
7541
7542
|
'div',
|
|
7542
7543
|
{ className: 'audio' },
|
|
7543
|
-
|
|
7544
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7544
7545
|
onPlay: reportPlay,
|
|
7545
7546
|
onPause: reportPause,
|
|
7546
7547
|
onEnded: reportEnd,
|
|
@@ -7548,10 +7549,10 @@ var Audio = function Audio(_ref) {
|
|
|
7548
7549
|
width: '100%',
|
|
7549
7550
|
height: '100%'
|
|
7550
7551
|
}),
|
|
7551
|
-
node.caption &&
|
|
7552
|
+
node.caption && React.createElement(
|
|
7552
7553
|
'p',
|
|
7553
7554
|
{ style: { fontSize: '.9rem' } },
|
|
7554
|
-
|
|
7555
|
+
React.createElement(
|
|
7555
7556
|
'em',
|
|
7556
7557
|
null,
|
|
7557
7558
|
node.caption
|
|
@@ -7570,34 +7571,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7570
7571
|
var showAuthorDetails = arguments[7];
|
|
7571
7572
|
|
|
7572
7573
|
if (authorName && authorURL) {
|
|
7573
|
-
return
|
|
7574
|
+
return React.createElement(
|
|
7574
7575
|
'span',
|
|
7575
7576
|
null,
|
|
7576
|
-
|
|
7577
|
+
React.createElement(
|
|
7577
7578
|
'a',
|
|
7578
7579
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7579
7580
|
authorName
|
|
7580
7581
|
),
|
|
7581
|
-
showAuthorDetails &&
|
|
7582
|
+
showAuthorDetails && React.createElement(
|
|
7582
7583
|
Card,
|
|
7583
7584
|
{ className: 'author-details-card-' + index },
|
|
7584
|
-
|
|
7585
|
+
React.createElement(
|
|
7585
7586
|
Row,
|
|
7586
7587
|
null,
|
|
7587
|
-
profileImage &&
|
|
7588
|
+
profileImage && React.createElement(
|
|
7588
7589
|
Col,
|
|
7589
7590
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7590
|
-
|
|
7591
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7591
7592
|
),
|
|
7592
|
-
|
|
7593
|
+
React.createElement(
|
|
7593
7594
|
Col,
|
|
7594
7595
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7595
|
-
|
|
7596
|
+
React.createElement(
|
|
7596
7597
|
'div',
|
|
7597
7598
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7598
7599
|
authorName
|
|
7599
7600
|
),
|
|
7600
|
-
|
|
7601
|
+
React.createElement(
|
|
7601
7602
|
'p',
|
|
7602
7603
|
null,
|
|
7603
7604
|
biography
|
|
@@ -7605,7 +7606,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7605
7606
|
)
|
|
7606
7607
|
)
|
|
7607
7608
|
),
|
|
7608
|
-
|
|
7609
|
+
React.createElement(
|
|
7609
7610
|
'style',
|
|
7610
7611
|
{ jsx: 'true' },
|
|
7611
7612
|
'\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 '
|
|
@@ -7613,7 +7614,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7613
7614
|
length !== index + 1 && ', '
|
|
7614
7615
|
);
|
|
7615
7616
|
} else if (authorName) {
|
|
7616
|
-
return
|
|
7617
|
+
return React.createElement(
|
|
7617
7618
|
'span',
|
|
7618
7619
|
{ key: index },
|
|
7619
7620
|
authorName,
|
|
@@ -7769,7 +7770,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7769
7770
|
var queue = Math.floor(duration / 10);
|
|
7770
7771
|
var segment = Math.floor(current / queue);
|
|
7771
7772
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7772
|
-
Segment.report_video_event('Video Ready',
|
|
7773
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
7773
7774
|
//autoplay
|
|
7774
7775
|
|
|
7775
7776
|
//Small pause before starting next video
|
|
@@ -7790,7 +7791,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7790
7791
|
var segment = Math.floor(current / queue);
|
|
7791
7792
|
|
|
7792
7793
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7793
|
-
Segment.report_video_event('Video End',
|
|
7794
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
7794
7795
|
setEndReported(true);
|
|
7795
7796
|
clearInterval(intervalID);
|
|
7796
7797
|
}
|
|
@@ -7841,7 +7842,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7841
7842
|
var segment = Math.floor(current / queue);
|
|
7842
7843
|
if (!queueProgress.includes(segment)) {
|
|
7843
7844
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7844
|
-
Segment.report_video_event('Video Segment',
|
|
7845
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
7845
7846
|
queueProgress.push(segment);
|
|
7846
7847
|
}
|
|
7847
7848
|
};
|
|
@@ -7855,7 +7856,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7855
7856
|
var segment = Math.floor(current / queue);
|
|
7856
7857
|
|
|
7857
7858
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7858
|
-
Segment.report_video_event('Video Play',
|
|
7859
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
7859
7860
|
|
|
7860
7861
|
if (!playReported) {
|
|
7861
7862
|
setPlayReported(true);
|
|
@@ -7874,7 +7875,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7874
7875
|
var segment = Math.floor(current / queue);
|
|
7875
7876
|
|
|
7876
7877
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7877
|
-
Segment.report_video_event('Video Pause',
|
|
7878
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
7878
7879
|
};
|
|
7879
7880
|
|
|
7880
7881
|
// Youtube Options
|
|
@@ -7885,44 +7886,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7885
7886
|
}
|
|
7886
7887
|
};
|
|
7887
7888
|
|
|
7888
|
-
return
|
|
7889
|
+
return React.createElement(
|
|
7889
7890
|
'div',
|
|
7890
7891
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7891
|
-
|
|
7892
|
+
React.createElement(
|
|
7892
7893
|
'div',
|
|
7893
7894
|
{ className: 'mt-2 mb-5' },
|
|
7894
|
-
series &&
|
|
7895
|
+
series && React.createElement(
|
|
7895
7896
|
'div',
|
|
7896
7897
|
{ style: { fontSize: '0.9rem' } },
|
|
7897
7898
|
article.title,
|
|
7898
7899
|
' - Episode ',
|
|
7899
7900
|
series
|
|
7900
7901
|
),
|
|
7901
|
-
Videos[series - 1] &&
|
|
7902
|
+
Videos[series - 1] && React.createElement(
|
|
7902
7903
|
'h1',
|
|
7903
7904
|
{ className: 'mb-3' },
|
|
7904
7905
|
Videos[series - 1].title
|
|
7905
7906
|
),
|
|
7906
|
-
|
|
7907
|
+
React.createElement(
|
|
7907
7908
|
'div',
|
|
7908
7909
|
null,
|
|
7909
7910
|
moment(article.published).format('LL')
|
|
7910
7911
|
),
|
|
7911
|
-
|
|
7912
|
+
React.createElement(
|
|
7912
7913
|
'div',
|
|
7913
7914
|
{ className: 'mb-3' },
|
|
7914
7915
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7915
|
-
return
|
|
7916
|
+
return React.createElement(
|
|
7916
7917
|
'span',
|
|
7917
7918
|
{ key: index },
|
|
7918
7919
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7919
7920
|
);
|
|
7920
7921
|
})
|
|
7921
7922
|
),
|
|
7922
|
-
|
|
7923
|
+
React.createElement(
|
|
7923
7924
|
'p',
|
|
7924
7925
|
null,
|
|
7925
|
-
|
|
7926
|
+
React.createElement(SocialShare, {
|
|
7926
7927
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7927
7928
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7928
7929
|
shareVia: meta.shareVia,
|
|
@@ -7937,20 +7938,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7937
7938
|
hideFacebook: meta.hideFBShare
|
|
7938
7939
|
})
|
|
7939
7940
|
),
|
|
7940
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7941
|
+
Videos[series - 1] && Videos[series - 1].intro && React.createElement(
|
|
7941
7942
|
'p',
|
|
7942
7943
|
{ className: 'mb-3' },
|
|
7943
|
-
|
|
7944
|
+
React.createElement(
|
|
7944
7945
|
'em',
|
|
7945
7946
|
null,
|
|
7946
7947
|
Videos[series - 1].intro
|
|
7947
7948
|
)
|
|
7948
7949
|
)
|
|
7949
7950
|
),
|
|
7950
|
-
|
|
7951
|
+
React.createElement(
|
|
7951
7952
|
'div',
|
|
7952
7953
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7953
|
-
vidUrl && vidType == 'youtube' &&
|
|
7954
|
+
vidUrl && vidType == 'youtube' && React.createElement(YouTube, {
|
|
7954
7955
|
className: 'fluid-iframe',
|
|
7955
7956
|
videoId: getYoutubeId(vidUrl),
|
|
7956
7957
|
opts: opts,
|
|
@@ -7961,10 +7962,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7961
7962
|
return handleOnEnd(e);
|
|
7962
7963
|
}
|
|
7963
7964
|
}),
|
|
7964
|
-
vidUrl && vidType == 'mp4' &&
|
|
7965
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7966
|
-
|
|
7967
|
-
series &&
|
|
7965
|
+
vidUrl && vidType == 'mp4' && React.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7966
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7967
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7968
|
+
series && React.createElement(
|
|
7968
7969
|
'div',
|
|
7969
7970
|
{
|
|
7970
7971
|
className: 'vid-series',
|
|
@@ -7974,10 +7975,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7974
7975
|
maxHeight: '100%',
|
|
7975
7976
|
paddingBottom: '0'
|
|
7976
7977
|
} },
|
|
7977
|
-
|
|
7978
|
+
React.createElement(
|
|
7978
7979
|
'p',
|
|
7979
7980
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7980
|
-
|
|
7981
|
+
React.createElement(
|
|
7981
7982
|
'b',
|
|
7982
7983
|
{ style: { fontSize: '1.25em' } },
|
|
7983
7984
|
'Now Playing:'
|
|
@@ -7985,16 +7986,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7985
7986
|
' ',
|
|
7986
7987
|
seriesData[series ? series - 1 : 0].title
|
|
7987
7988
|
),
|
|
7988
|
-
vidUrl &&
|
|
7989
|
+
vidUrl && React.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7989
7990
|
)
|
|
7990
7991
|
),
|
|
7991
|
-
|
|
7992
|
-
|
|
7992
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7993
|
+
React.createElement(
|
|
7993
7994
|
'div',
|
|
7994
7995
|
{ className: 'vid-text' },
|
|
7995
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
7996
|
+
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()))
|
|
7996
7997
|
),
|
|
7997
|
-
|
|
7998
|
+
React.createElement(
|
|
7998
7999
|
'style',
|
|
7999
8000
|
{ jsx: 'true' },
|
|
8000
8001
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8002,14 +8003,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8002
8003
|
);
|
|
8003
8004
|
};
|
|
8004
8005
|
|
|
8005
|
-
var Poll
|
|
8006
|
-
var node = _ref.node
|
|
8007
|
-
_ref.client
|
|
8008
|
-
_ref.pageview
|
|
8009
|
-
_ref.videoAccountIDs
|
|
8010
|
-
|
|
8011
|
-
_ref.showVotes
|
|
8012
|
-
|
|
8006
|
+
var Poll = function Poll(_ref) {
|
|
8007
|
+
var node = _ref.node,
|
|
8008
|
+
client = _ref.client,
|
|
8009
|
+
pageview = _ref.pageview,
|
|
8010
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8011
|
+
onVote = _ref.onVote,
|
|
8012
|
+
_ref$showVotes = _ref.showVotes,
|
|
8013
|
+
getSerializers = _ref.getSerializers;
|
|
8013
8014
|
|
|
8014
8015
|
var _useState = useState(null),
|
|
8015
8016
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8047,67 +8048,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8047
8048
|
return acc;
|
|
8048
8049
|
}
|
|
8049
8050
|
}, 0);
|
|
8050
|
-
return
|
|
8051
|
-
|
|
8051
|
+
return React.createElement(
|
|
8052
|
+
React.Fragment,
|
|
8052
8053
|
null,
|
|
8053
|
-
question &&
|
|
8054
|
+
question && React.createElement(
|
|
8054
8055
|
'p',
|
|
8055
8056
|
{ className: 'font-weight-bold' },
|
|
8056
8057
|
question
|
|
8057
8058
|
),
|
|
8058
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8059
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8059
8060
|
'form',
|
|
8060
8061
|
{ onSubmit: function onSubmit(e) {
|
|
8061
8062
|
return onSubmitPoll(e);
|
|
8062
8063
|
} },
|
|
8063
8064
|
choices && choices.map(function (choice) {
|
|
8064
|
-
return
|
|
8065
|
+
return React.createElement(
|
|
8065
8066
|
'div',
|
|
8066
8067
|
{ key: choice._key },
|
|
8067
|
-
|
|
8068
|
+
React.createElement(
|
|
8068
8069
|
'label',
|
|
8069
8070
|
{ className: 'pl-2' },
|
|
8070
|
-
|
|
8071
|
+
React.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8071
8072
|
return setSelectedChoice(e.target.value);
|
|
8072
8073
|
} }),
|
|
8073
8074
|
' ' + choice.choiceText
|
|
8074
8075
|
)
|
|
8075
8076
|
);
|
|
8076
8077
|
}),
|
|
8077
|
-
|
|
8078
|
+
React.createElement(
|
|
8078
8079
|
Button$1,
|
|
8079
8080
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8080
8081
|
'Vote'
|
|
8081
8082
|
)
|
|
8082
8083
|
),
|
|
8083
|
-
|
|
8084
|
+
React.createElement(
|
|
8084
8085
|
'div',
|
|
8085
8086
|
{ className: 'progress-container' },
|
|
8086
8087
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8087
8088
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8088
|
-
return
|
|
8089
|
+
return React.createElement(
|
|
8089
8090
|
'div',
|
|
8090
8091
|
{ key: choice._key, className: 'mb-3' },
|
|
8091
|
-
|
|
8092
|
+
React.createElement(
|
|
8092
8093
|
'div',
|
|
8093
8094
|
{ className: 'correct-answer' },
|
|
8094
|
-
|
|
8095
|
+
React.createElement(
|
|
8095
8096
|
'div',
|
|
8096
8097
|
null,
|
|
8097
8098
|
choice.choiceText
|
|
8098
8099
|
),
|
|
8099
|
-
choice.choiceAnswer === true &&
|
|
8100
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8100
8101
|
'div',
|
|
8101
8102
|
null,
|
|
8102
|
-
|
|
8103
|
+
React.createElement(
|
|
8103
8104
|
'span',
|
|
8104
8105
|
{ style: { color: 'limegreen' } },
|
|
8105
8106
|
'Correct!'
|
|
8106
8107
|
)
|
|
8107
8108
|
)
|
|
8108
8109
|
),
|
|
8109
|
-
|
|
8110
|
-
|
|
8110
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8111
|
+
React.createElement(
|
|
8111
8112
|
'span',
|
|
8112
8113
|
{ className: 'float-right' },
|
|
8113
8114
|
percentage,
|
|
@@ -8118,14 +8119,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8118
8119
|
);
|
|
8119
8120
|
})
|
|
8120
8121
|
),
|
|
8121
|
-
showAnswer &&
|
|
8122
|
+
showAnswer && React.createElement(
|
|
8122
8123
|
'h4',
|
|
8123
8124
|
{ className: 'text-center small p-3' },
|
|
8124
8125
|
'Total Votes: ',
|
|
8125
8126
|
choicesTotalCount
|
|
8126
8127
|
),
|
|
8127
|
-
showAnswer && response &&
|
|
8128
|
-
|
|
8128
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8129
|
+
React.createElement(
|
|
8129
8130
|
'style',
|
|
8130
8131
|
{ jsx: 'true' },
|
|
8131
8132
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8143,22 +8144,22 @@ _export(_export.S, 'Object', {
|
|
|
8143
8144
|
}
|
|
8144
8145
|
});
|
|
8145
8146
|
|
|
8146
|
-
var values
|
|
8147
|
+
var values = _core.Object.values;
|
|
8147
8148
|
|
|
8148
|
-
var values = createCommonjsModule(function (module) {
|
|
8149
|
-
module.exports = { "default": values
|
|
8149
|
+
var values$1 = createCommonjsModule(function (module) {
|
|
8150
|
+
module.exports = { "default": values, __esModule: true };
|
|
8150
8151
|
});
|
|
8151
8152
|
|
|
8152
|
-
var _Object$values = unwrapExports(values);
|
|
8153
|
+
var _Object$values = unwrapExports(values$1);
|
|
8153
8154
|
|
|
8154
|
-
var Poll = function Poll(_ref) {
|
|
8155
|
-
var node = _ref.node
|
|
8156
|
-
_ref.client
|
|
8157
|
-
_ref.pageview
|
|
8158
|
-
_ref.videoAccountIDs
|
|
8159
|
-
|
|
8160
|
-
_ref.showVotes
|
|
8161
|
-
|
|
8155
|
+
var Poll$1 = function Poll(_ref) {
|
|
8156
|
+
var node = _ref.node,
|
|
8157
|
+
client = _ref.client,
|
|
8158
|
+
pageview = _ref.pageview,
|
|
8159
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8160
|
+
onVote = _ref.onVote,
|
|
8161
|
+
_ref$showVotes = _ref.showVotes,
|
|
8162
|
+
getSerializers = _ref.getSerializers;
|
|
8162
8163
|
|
|
8163
8164
|
var _useState = useState(null),
|
|
8164
8165
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8224,67 +8225,67 @@ var Poll = function Poll(_ref) {
|
|
|
8224
8225
|
return acc;
|
|
8225
8226
|
}
|
|
8226
8227
|
}, 0);
|
|
8227
|
-
return
|
|
8228
|
-
|
|
8228
|
+
return React.createElement(
|
|
8229
|
+
React.Fragment,
|
|
8229
8230
|
null,
|
|
8230
|
-
question &&
|
|
8231
|
+
question && React.createElement(
|
|
8231
8232
|
'p',
|
|
8232
8233
|
{ className: 'font-weight-bold' },
|
|
8233
8234
|
question
|
|
8234
8235
|
),
|
|
8235
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8236
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8236
8237
|
'form',
|
|
8237
8238
|
{ onSubmit: function onSubmit(e) {
|
|
8238
8239
|
return onSubmitPoll(e);
|
|
8239
8240
|
} },
|
|
8240
8241
|
choices && choices.map(function (choice) {
|
|
8241
|
-
return
|
|
8242
|
+
return React.createElement(
|
|
8242
8243
|
'div',
|
|
8243
8244
|
{ key: choice._key },
|
|
8244
|
-
|
|
8245
|
+
React.createElement(
|
|
8245
8246
|
'label',
|
|
8246
8247
|
{ className: 'pl-2' },
|
|
8247
|
-
|
|
8248
|
+
React.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8248
8249
|
return setSelectedChoice(e.target.value);
|
|
8249
8250
|
} }),
|
|
8250
8251
|
' ' + choice.choiceText
|
|
8251
8252
|
)
|
|
8252
8253
|
);
|
|
8253
8254
|
}),
|
|
8254
|
-
|
|
8255
|
+
React.createElement(
|
|
8255
8256
|
Button$1,
|
|
8256
8257
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8257
8258
|
'Vote'
|
|
8258
8259
|
)
|
|
8259
8260
|
),
|
|
8260
|
-
|
|
8261
|
+
React.createElement(
|
|
8261
8262
|
'div',
|
|
8262
8263
|
{ className: 'progress-container' },
|
|
8263
8264
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8264
8265
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8265
|
-
return
|
|
8266
|
+
return React.createElement(
|
|
8266
8267
|
'div',
|
|
8267
8268
|
{ key: choice._key, className: 'mb-3' },
|
|
8268
|
-
|
|
8269
|
+
React.createElement(
|
|
8269
8270
|
'div',
|
|
8270
8271
|
{ className: 'correct-answer' },
|
|
8271
|
-
|
|
8272
|
+
React.createElement(
|
|
8272
8273
|
'div',
|
|
8273
8274
|
null,
|
|
8274
8275
|
choice.choiceText
|
|
8275
8276
|
),
|
|
8276
|
-
choice.choiceAnswer === true &&
|
|
8277
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8277
8278
|
'div',
|
|
8278
8279
|
null,
|
|
8279
|
-
|
|
8280
|
+
React.createElement(
|
|
8280
8281
|
'span',
|
|
8281
8282
|
{ style: { color: 'limegreen' } },
|
|
8282
8283
|
'Correct!'
|
|
8283
8284
|
)
|
|
8284
8285
|
)
|
|
8285
8286
|
),
|
|
8286
|
-
|
|
8287
|
-
|
|
8287
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8288
|
+
React.createElement(
|
|
8288
8289
|
'span',
|
|
8289
8290
|
{ className: 'float-right' },
|
|
8290
8291
|
percentage,
|
|
@@ -8295,14 +8296,14 @@ var Poll = function Poll(_ref) {
|
|
|
8295
8296
|
);
|
|
8296
8297
|
})
|
|
8297
8298
|
),
|
|
8298
|
-
showAnswer &&
|
|
8299
|
+
showAnswer && React.createElement(
|
|
8299
8300
|
'h4',
|
|
8300
8301
|
{ className: 'text-center small p-3' },
|
|
8301
8302
|
'Total Votes: ',
|
|
8302
8303
|
choicesTotalCount
|
|
8303
8304
|
),
|
|
8304
|
-
showAnswer && response &&
|
|
8305
|
-
|
|
8305
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8306
|
+
React.createElement(
|
|
8306
8307
|
'style',
|
|
8307
8308
|
{ jsx: 'true' },
|
|
8308
8309
|
'\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 '
|
|
@@ -8310,7 +8311,7 @@ var Poll = function Poll(_ref) {
|
|
|
8310
8311
|
);
|
|
8311
8312
|
};
|
|
8312
8313
|
|
|
8313
|
-
var numberOfPaginations =
|
|
8314
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
8314
8315
|
|
|
8315
8316
|
var Quiz = function Quiz(_ref) {
|
|
8316
8317
|
var quizzes = _ref.quizzes,
|
|
@@ -8446,20 +8447,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8446
8447
|
};
|
|
8447
8448
|
|
|
8448
8449
|
var renderPagination = function renderPagination() {
|
|
8449
|
-
return
|
|
8450
|
+
return React.createElement(
|
|
8450
8451
|
Pagination,
|
|
8451
|
-
{ className: 'p-0 m-0', size:
|
|
8452
|
-
|
|
8452
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
8453
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
8453
8454
|
return changePage('first');
|
|
8454
8455
|
}, disabled: currentPage === 1 }),
|
|
8455
|
-
|
|
8456
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8456
8457
|
return changePage('prev');
|
|
8457
8458
|
}, disabled: currentPage === 1 }),
|
|
8458
|
-
|
|
8459
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8459
8460
|
return renderNewPages('prev');
|
|
8460
8461
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8461
8462
|
pages.map(function (page) {
|
|
8462
|
-
return
|
|
8463
|
+
return React.createElement(
|
|
8463
8464
|
Pagination.Item,
|
|
8464
8465
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8465
8466
|
return changePage(page);
|
|
@@ -8467,13 +8468,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8467
8468
|
page
|
|
8468
8469
|
);
|
|
8469
8470
|
}),
|
|
8470
|
-
|
|
8471
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8471
8472
|
return renderNewPages('next');
|
|
8472
8473
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8473
|
-
|
|
8474
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8474
8475
|
return changePage('next');
|
|
8475
8476
|
}, disabled: currentPage === pageCount }),
|
|
8476
|
-
|
|
8477
|
+
React.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8477
8478
|
return changePage('last');
|
|
8478
8479
|
}, disabled: currentPage === pageCount })
|
|
8479
8480
|
);
|
|
@@ -8584,49 +8585,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8584
8585
|
}
|
|
8585
8586
|
};
|
|
8586
8587
|
|
|
8587
|
-
return
|
|
8588
|
-
|
|
8588
|
+
return React.createElement(
|
|
8589
|
+
React.Fragment,
|
|
8589
8590
|
null,
|
|
8590
|
-
quizzes[currentPage - 1] &&
|
|
8591
|
-
|
|
8591
|
+
quizzes[currentPage - 1] && React.createElement(
|
|
8592
|
+
React.Fragment,
|
|
8592
8593
|
null,
|
|
8593
|
-
|
|
8594
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8594
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8595
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React.createElement(
|
|
8595
8596
|
'form',
|
|
8596
8597
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8597
8598
|
return e.preventDefault();
|
|
8598
8599
|
} },
|
|
8599
8600
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8600
|
-
return
|
|
8601
|
+
return React.createElement(
|
|
8601
8602
|
'div',
|
|
8602
8603
|
{ key: answer._key },
|
|
8603
|
-
|
|
8604
|
+
React.createElement(
|
|
8604
8605
|
'label',
|
|
8605
8606
|
{ className: 'pl-2' },
|
|
8606
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8607
|
+
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 }),
|
|
8607
8608
|
' ' + answer.answerText
|
|
8608
8609
|
)
|
|
8609
8610
|
);
|
|
8610
8611
|
})
|
|
8611
8612
|
)
|
|
8612
8613
|
),
|
|
8613
|
-
!showAnswer &&
|
|
8614
|
+
!showAnswer && React.createElement(
|
|
8614
8615
|
Button,
|
|
8615
8616
|
{ onClick: function onClick(e) {
|
|
8616
8617
|
return checkAnswers(e);
|
|
8617
8618
|
}, variant: 'info', block: true },
|
|
8618
8619
|
'Please click here for answer'
|
|
8619
8620
|
),
|
|
8620
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8621
|
-
|
|
8621
|
+
quizzes[currentPage - 1] && showAnswer && React.createElement(
|
|
8622
|
+
React.Fragment,
|
|
8622
8623
|
null,
|
|
8623
|
-
quizzes[currentPage - 1].answer &&
|
|
8624
|
+
quizzes[currentPage - 1].answer && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8624
8625
|
),
|
|
8625
|
-
|
|
8626
|
-
firstRender &&
|
|
8627
|
-
|
|
8626
|
+
React.createElement('br', null),
|
|
8627
|
+
firstRender && React.createElement(
|
|
8628
|
+
React.Fragment,
|
|
8628
8629
|
null,
|
|
8629
|
-
pageCount > 1 && currentPage &&
|
|
8630
|
+
pageCount > 1 && currentPage && React.createElement(
|
|
8630
8631
|
'div',
|
|
8631
8632
|
{ className: 'd-flex justify-content-center' },
|
|
8632
8633
|
renderPagination()
|
|
@@ -8638,19 +8639,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8638
8639
|
var Leads = function Leads(_ref) {
|
|
8639
8640
|
var url = _ref.url;
|
|
8640
8641
|
|
|
8641
|
-
return
|
|
8642
|
+
return React.createElement(
|
|
8642
8643
|
'div',
|
|
8643
8644
|
{ className: 'd-block text-center mb-3' },
|
|
8644
|
-
|
|
8645
|
+
React.createElement(
|
|
8645
8646
|
'style',
|
|
8646
8647
|
{ jsx: 'true' },
|
|
8647
8648
|
'\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 '
|
|
8648
8649
|
),
|
|
8649
|
-
url &&
|
|
8650
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8650
8651
|
);
|
|
8651
8652
|
};
|
|
8652
8653
|
|
|
8653
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8654
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8654
8655
|
var slides = _ref.node.slides,
|
|
8655
8656
|
client = _ref.client,
|
|
8656
8657
|
pageview = _ref.pageview,
|
|
@@ -8688,49 +8689,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8688
8689
|
if (pageview) pageview(href);
|
|
8689
8690
|
};
|
|
8690
8691
|
|
|
8691
|
-
return
|
|
8692
|
+
return React.createElement(
|
|
8692
8693
|
'div',
|
|
8693
8694
|
{ className: 'mt-3 mb-4' },
|
|
8694
|
-
|
|
8695
|
+
React.createElement(
|
|
8695
8696
|
Carousel,
|
|
8696
8697
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8697
8698
|
slides && slides.map(function (slide) {
|
|
8698
8699
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8699
|
-
return
|
|
8700
|
+
return React.createElement(
|
|
8700
8701
|
Carousel.Item,
|
|
8701
8702
|
{ key: slide._key },
|
|
8702
|
-
|
|
8703
|
+
React.createElement(
|
|
8703
8704
|
'a',
|
|
8704
8705
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8705
|
-
|
|
8706
|
+
React.createElement(
|
|
8706
8707
|
'div',
|
|
8707
8708
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8708
|
-
|
|
8709
|
+
React.createElement(
|
|
8709
8710
|
'picture',
|
|
8710
8711
|
null,
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8714
|
-
|
|
8712
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8713
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8714
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8715
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8715
8716
|
)
|
|
8716
8717
|
)
|
|
8717
8718
|
),
|
|
8718
|
-
|
|
8719
|
+
React.createElement(
|
|
8719
8720
|
'div',
|
|
8720
8721
|
{ className: 'p-2' },
|
|
8721
|
-
slide.slideshowImage.caption &&
|
|
8722
|
+
slide.slideshowImage.caption && React.createElement(
|
|
8722
8723
|
'h3',
|
|
8723
8724
|
{ style: { padding: '0px' } },
|
|
8724
8725
|
slide.slideshowImage.caption
|
|
8725
8726
|
),
|
|
8726
|
-
slide.description &&
|
|
8727
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8727
8728
|
)
|
|
8728
8729
|
);
|
|
8729
8730
|
}
|
|
8730
8731
|
return null;
|
|
8731
8732
|
})
|
|
8732
8733
|
),
|
|
8733
|
-
|
|
8734
|
+
React.createElement(
|
|
8734
8735
|
'style',
|
|
8735
8736
|
{ jsx: 'true' },
|
|
8736
8737
|
'\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 '
|
|
@@ -8749,10 +8750,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8749
8750
|
sizes = _props$node.sizes,
|
|
8750
8751
|
sizeMapping = _props$node.sizeMapping;
|
|
8751
8752
|
|
|
8752
|
-
return
|
|
8753
|
+
return React.createElement(
|
|
8753
8754
|
'div',
|
|
8754
8755
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8755
|
-
|
|
8756
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8756
8757
|
);
|
|
8757
8758
|
};
|
|
8758
8759
|
|
|
@@ -8763,15 +8764,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8763
8764
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8764
8765
|
|
|
8765
8766
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8766
|
-
return
|
|
8767
|
+
return React.createElement(
|
|
8767
8768
|
'section',
|
|
8768
8769
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8769
|
-
Caption &&
|
|
8770
|
+
Caption && React.createElement(
|
|
8770
8771
|
'h4',
|
|
8771
8772
|
{ className: 'formstack-caption' },
|
|
8772
8773
|
Caption
|
|
8773
8774
|
),
|
|
8774
|
-
|
|
8775
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8775
8776
|
);
|
|
8776
8777
|
};
|
|
8777
8778
|
|
|
@@ -8787,36 +8788,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8787
8788
|
}
|
|
8788
8789
|
});
|
|
8789
8790
|
if (medias && medias.length > 0) {
|
|
8790
|
-
return
|
|
8791
|
+
return React.createElement(
|
|
8791
8792
|
'div',
|
|
8792
8793
|
{ className: 'multi-media-container' },
|
|
8793
|
-
|
|
8794
|
+
React.createElement(
|
|
8794
8795
|
Row$1,
|
|
8795
8796
|
{ noGutters: true },
|
|
8796
8797
|
medias.map(function (media) {
|
|
8797
|
-
return
|
|
8798
|
+
return React.createElement(
|
|
8798
8799
|
Col$1,
|
|
8799
8800
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8800
|
-
|
|
8801
|
+
React.createElement(
|
|
8801
8802
|
'a',
|
|
8802
8803
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8803
8804
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8804
|
-
|
|
8805
|
+
React.createElement(
|
|
8805
8806
|
'div',
|
|
8806
8807
|
{ className: 'multi-media-image-container' },
|
|
8807
|
-
imageBox &&
|
|
8808
|
+
imageBox && React.createElement(
|
|
8808
8809
|
LazyLoad,
|
|
8809
8810
|
{ once: true },
|
|
8810
|
-
|
|
8811
|
+
React.createElement(
|
|
8811
8812
|
'picture',
|
|
8812
8813
|
null,
|
|
8813
|
-
|
|
8814
|
-
|
|
8815
|
-
|
|
8816
|
-
|
|
8814
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8815
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8816
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8817
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8817
8818
|
)
|
|
8818
8819
|
),
|
|
8819
|
-
media.caption &&
|
|
8820
|
+
media.caption && React.createElement(
|
|
8820
8821
|
'span',
|
|
8821
8822
|
{ className: 'multi-media-caption' },
|
|
8822
8823
|
media.caption
|
|
@@ -8826,7 +8827,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8826
8827
|
);
|
|
8827
8828
|
})
|
|
8828
8829
|
),
|
|
8829
|
-
|
|
8830
|
+
React.createElement(
|
|
8830
8831
|
'style',
|
|
8831
8832
|
{ jsx: 'true' },
|
|
8832
8833
|
'\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 '
|
|
@@ -8873,7 +8874,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8873
8874
|
}
|
|
8874
8875
|
};
|
|
8875
8876
|
|
|
8876
|
-
_this.wraperRef =
|
|
8877
|
+
_this.wraperRef = React.createRef();
|
|
8877
8878
|
_this.visible = false;
|
|
8878
8879
|
return _this;
|
|
8879
8880
|
}
|
|
@@ -8901,7 +8902,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8901
8902
|
_props$id = _props.id,
|
|
8902
8903
|
id = _props$id === undefined ? '' : _props$id;
|
|
8903
8904
|
|
|
8904
|
-
return
|
|
8905
|
+
return React.createElement(
|
|
8905
8906
|
'div',
|
|
8906
8907
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8907
8908
|
this.props.children
|
|
@@ -8910,16 +8911,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8910
8911
|
}]);
|
|
8911
8912
|
|
|
8912
8913
|
return InscreenSensor;
|
|
8913
|
-
}(
|
|
8914
|
+
}(React.Component);
|
|
8914
8915
|
|
|
8915
8916
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8916
8917
|
var nodes = _ref.nodes,
|
|
8917
8918
|
client = _ref.client,
|
|
8918
8919
|
pageview = _ref.pageview,
|
|
8919
8920
|
getSerializers = _ref.getSerializers,
|
|
8920
|
-
accountIDs = _ref.accountIDs
|
|
8921
|
-
_ref.Ads
|
|
8922
|
-
|
|
8921
|
+
accountIDs = _ref.accountIDs,
|
|
8922
|
+
Ads = _ref.Ads,
|
|
8923
|
+
rootArticle = _ref.rootArticle;
|
|
8923
8924
|
|
|
8924
8925
|
if (!nodes || !nodes.articles) {
|
|
8925
8926
|
return null;
|
|
@@ -8933,7 +8934,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8933
8934
|
var router = useRouter();
|
|
8934
8935
|
|
|
8935
8936
|
var refArray = useRef([]);
|
|
8936
|
-
useRef([]);
|
|
8937
|
+
var adRefArray = useRef([]);
|
|
8937
8938
|
var articleContainerRef = useRef(null);
|
|
8938
8939
|
var arrowRef = useRef(null);
|
|
8939
8940
|
|
|
@@ -9021,33 +9022,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9021
9022
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9022
9023
|
var showReading = show ? 'showReading' : '';
|
|
9023
9024
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9024
|
-
return
|
|
9025
|
+
return React.createElement(
|
|
9025
9026
|
'div',
|
|
9026
9027
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9027
|
-
|
|
9028
|
+
React.createElement(
|
|
9028
9029
|
'a',
|
|
9029
9030
|
{ onClick: function onClick(e) {
|
|
9030
9031
|
return articleCardClickHandler(e);
|
|
9031
9032
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9032
|
-
|
|
9033
|
+
React.createElement(
|
|
9033
9034
|
'div',
|
|
9034
9035
|
{ className: 'prevNext-thumbnail' },
|
|
9035
|
-
|
|
9036
|
-
|
|
9036
|
+
React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9037
|
+
React.createElement(
|
|
9037
9038
|
'div',
|
|
9038
9039
|
{ className: 'prevNext-reading ' + showReading },
|
|
9039
9040
|
articleLabel
|
|
9040
9041
|
)
|
|
9041
9042
|
),
|
|
9042
|
-
|
|
9043
|
+
React.createElement(
|
|
9043
9044
|
'div',
|
|
9044
9045
|
{ className: 'prevNext-summary' },
|
|
9045
|
-
|
|
9046
|
+
React.createElement(
|
|
9046
9047
|
'div',
|
|
9047
9048
|
{ className: 'prevNext-publishDate' },
|
|
9048
9049
|
moment(article.published).format('LL')
|
|
9049
9050
|
),
|
|
9050
|
-
|
|
9051
|
+
React.createElement(
|
|
9051
9052
|
'h2',
|
|
9052
9053
|
{ className: 'prevNext-title' },
|
|
9053
9054
|
article.title
|
|
@@ -9096,7 +9097,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9096
9097
|
|
|
9097
9098
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9098
9099
|
if (biography) {
|
|
9099
|
-
return
|
|
9100
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9100
9101
|
}
|
|
9101
9102
|
};
|
|
9102
9103
|
|
|
@@ -9182,7 +9183,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9182
9183
|
//console.log('useLayoutEffect')
|
|
9183
9184
|
if (!firstLoad) {
|
|
9184
9185
|
setUpArrowClicked(false);
|
|
9185
|
-
if (
|
|
9186
|
+
if (main_40) {
|
|
9186
9187
|
grabLoadedAds();
|
|
9187
9188
|
} else {
|
|
9188
9189
|
scrollToArticle();
|
|
@@ -9206,7 +9207,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9206
9207
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9207
9208
|
if (pageview) pageview(path);
|
|
9208
9209
|
|
|
9209
|
-
if (!
|
|
9210
|
+
if (!main_40) {
|
|
9210
9211
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9211
9212
|
if (window.googletag && googletag.pubadsReady) {
|
|
9212
9213
|
lib_3.refresh();
|
|
@@ -9214,7 +9215,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9214
9215
|
});
|
|
9215
9216
|
}
|
|
9216
9217
|
//Refresh leaderboard ad on mobile
|
|
9217
|
-
if (
|
|
9218
|
+
if (main_40) {
|
|
9218
9219
|
var leaderboardSlotId = '';
|
|
9219
9220
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9220
9221
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9254,40 +9255,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9254
9255
|
setSensorVisible(false);
|
|
9255
9256
|
};
|
|
9256
9257
|
|
|
9257
|
-
return
|
|
9258
|
-
|
|
9258
|
+
return React.createElement(
|
|
9259
|
+
React.Fragment,
|
|
9259
9260
|
null,
|
|
9260
|
-
|
|
9261
|
+
React.createElement(
|
|
9261
9262
|
'div',
|
|
9262
9263
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9263
|
-
|
|
9264
|
+
React.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9264
9265
|
return handleArrowClick();
|
|
9265
9266
|
} })
|
|
9266
9267
|
),
|
|
9267
|
-
|
|
9268
|
-
|
|
9268
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9269
|
+
React.createElement(
|
|
9269
9270
|
'div',
|
|
9270
9271
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9271
|
-
|
|
9272
|
+
React.createElement(
|
|
9272
9273
|
'h5',
|
|
9273
9274
|
{ className: 'objective-title' },
|
|
9274
9275
|
nodes.seriesTitle
|
|
9275
9276
|
),
|
|
9276
|
-
|
|
9277
|
+
React.createElement(
|
|
9277
9278
|
'div',
|
|
9278
9279
|
{ className: 'prevNextWrapper' },
|
|
9279
9280
|
PrevNextCards(false, -1)
|
|
9280
9281
|
)
|
|
9281
9282
|
),
|
|
9282
|
-
|
|
9283
|
-
|
|
9283
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
9284
|
+
React.createElement(
|
|
9284
9285
|
'div',
|
|
9285
9286
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9286
9287
|
Articles.map(function (article, index) {
|
|
9287
|
-
return
|
|
9288
|
+
return React.createElement(
|
|
9288
9289
|
'div',
|
|
9289
9290
|
{ key: article.title },
|
|
9290
|
-
|
|
9291
|
+
React.createElement(
|
|
9291
9292
|
InscreenSensor,
|
|
9292
9293
|
{
|
|
9293
9294
|
visible: sensorVisible,
|
|
@@ -9305,82 +9306,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9305
9306
|
}
|
|
9306
9307
|
}
|
|
9307
9308
|
} },
|
|
9308
|
-
|
|
9309
|
+
React.createElement(
|
|
9309
9310
|
Head,
|
|
9310
9311
|
null,
|
|
9311
|
-
currentTitle !== null &&
|
|
9312
|
+
currentTitle !== null && React.createElement(
|
|
9312
9313
|
'title',
|
|
9313
9314
|
{ key: 'title' },
|
|
9314
9315
|
currentTitle
|
|
9315
9316
|
),
|
|
9316
|
-
currentSummary !== null &&
|
|
9317
|
-
currentURL !== null &&
|
|
9318
|
-
currentTitle !== null &&
|
|
9319
|
-
currentThumbnail !== null &&
|
|
9320
|
-
currentSummary !== null &&
|
|
9321
|
-
currentTitle !== null &&
|
|
9322
|
-
currentThumbnail !== null &&
|
|
9323
|
-
currentSummary !== null &&
|
|
9317
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9318
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9319
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9320
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9321
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9322
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9323
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9324
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9324
9325
|
),
|
|
9325
|
-
|
|
9326
|
+
React.createElement(
|
|
9326
9327
|
'article',
|
|
9327
9328
|
{ className: 'article-wrapper' },
|
|
9328
|
-
|
|
9329
|
+
React.createElement(
|
|
9329
9330
|
'div',
|
|
9330
9331
|
{ className: 'article-publishDate' },
|
|
9331
9332
|
moment(article.published).format('LL')
|
|
9332
9333
|
),
|
|
9333
|
-
|
|
9334
|
+
React.createElement(
|
|
9334
9335
|
'div',
|
|
9335
9336
|
{ className: 'author-details-wrapper' },
|
|
9336
9337
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9337
|
-
return
|
|
9338
|
+
return React.createElement(
|
|
9338
9339
|
'span',
|
|
9339
9340
|
{ key: index },
|
|
9340
9341
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9341
9342
|
);
|
|
9342
9343
|
})
|
|
9343
9344
|
),
|
|
9344
|
-
|
|
9345
|
+
React.createElement(
|
|
9345
9346
|
'h2',
|
|
9346
9347
|
{ className: 'article-title' },
|
|
9347
9348
|
article.title
|
|
9348
9349
|
),
|
|
9349
|
-
|
|
9350
|
+
React.createElement(
|
|
9350
9351
|
'div',
|
|
9351
9352
|
{ className: 'mt-2 mb-2' },
|
|
9352
|
-
|
|
9353
|
+
React.createElement(BlockContent, _extends({
|
|
9353
9354
|
serializers: getSerializers,
|
|
9354
9355
|
videoAccountIDs: accountIDs,
|
|
9355
9356
|
blocks: article.text,
|
|
9356
9357
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9357
9358
|
}, client.config())),
|
|
9358
|
-
|
|
9359
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
9359
9360
|
),
|
|
9360
|
-
Articles.length > 1 &&
|
|
9361
|
-
|
|
9361
|
+
Articles.length > 1 && React.createElement(
|
|
9362
|
+
React.Fragment,
|
|
9362
9363
|
null,
|
|
9363
|
-
|
|
9364
|
+
React.createElement(
|
|
9364
9365
|
'div',
|
|
9365
9366
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9366
|
-
|
|
9367
|
+
React.createElement(
|
|
9367
9368
|
'h5',
|
|
9368
9369
|
{ className: 'objective-title' },
|
|
9369
9370
|
nodes.seriesTitle
|
|
9370
9371
|
),
|
|
9371
|
-
|
|
9372
|
+
React.createElement(
|
|
9372
9373
|
'div',
|
|
9373
9374
|
{ className: 'prevNextWrapper' },
|
|
9374
9375
|
PrevNextCards(true, index)
|
|
9375
9376
|
)
|
|
9376
9377
|
),
|
|
9377
|
-
|
|
9378
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
9378
9379
|
)
|
|
9379
9380
|
)
|
|
9380
9381
|
)
|
|
9381
9382
|
);
|
|
9382
9383
|
}),
|
|
9383
|
-
|
|
9384
|
+
React.createElement(
|
|
9384
9385
|
'style',
|
|
9385
9386
|
{ jsx: 'true' },
|
|
9386
9387
|
'\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 '
|
|
@@ -9410,11 +9411,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9410
9411
|
};
|
|
9411
9412
|
}, [handleClickOutside]);
|
|
9412
9413
|
|
|
9413
|
-
return
|
|
9414
|
+
return React.createElement(
|
|
9414
9415
|
'div',
|
|
9415
9416
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9416
|
-
|
|
9417
|
-
|
|
9417
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9418
|
+
React.createElement(
|
|
9418
9419
|
'style',
|
|
9419
9420
|
{ jsx: 'true' },
|
|
9420
9421
|
'\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 '
|
|
@@ -9428,7 +9429,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9428
9429
|
}
|
|
9429
9430
|
};
|
|
9430
9431
|
|
|
9431
|
-
var FigureImage
|
|
9432
|
+
var FigureImage = React.memo(function (_ref2) {
|
|
9432
9433
|
var node = _ref2.node,
|
|
9433
9434
|
client = _ref2.client,
|
|
9434
9435
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9436,13 +9437,13 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
|
9436
9437
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9437
9438
|
|
|
9438
9439
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9439
|
-
return
|
|
9440
|
+
return React.createElement(
|
|
9440
9441
|
'picture',
|
|
9441
9442
|
null,
|
|
9442
|
-
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9443
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9444
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9445
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9446
|
+
React.createElement('img', _extends({
|
|
9446
9447
|
style: figureImageStyle,
|
|
9447
9448
|
className: 'figure-image',
|
|
9448
9449
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9493,30 +9494,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9493
9494
|
|
|
9494
9495
|
var renderTooltip = function renderTooltip(props) {
|
|
9495
9496
|
if (infoBox[0].title) {
|
|
9496
|
-
return
|
|
9497
|
+
return React.createElement(
|
|
9497
9498
|
Popover,
|
|
9498
9499
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9499
|
-
|
|
9500
|
+
React.createElement(
|
|
9500
9501
|
Popover.Title,
|
|
9501
9502
|
{ as: 'h3' },
|
|
9502
9503
|
infoBox[0].title
|
|
9503
9504
|
),
|
|
9504
|
-
|
|
9505
|
+
React.createElement(
|
|
9505
9506
|
Popover.Content,
|
|
9506
9507
|
null,
|
|
9507
|
-
|
|
9508
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9508
9509
|
)
|
|
9509
9510
|
);
|
|
9510
9511
|
} else {
|
|
9511
|
-
return
|
|
9512
|
+
return React.createElement(
|
|
9512
9513
|
Tooltip,
|
|
9513
9514
|
_extends({ id: 'button-tooltip' }, props),
|
|
9514
|
-
|
|
9515
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9515
9516
|
);
|
|
9516
9517
|
}
|
|
9517
9518
|
};
|
|
9518
9519
|
|
|
9519
|
-
var FigureImageWOverLay =
|
|
9520
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9520
9521
|
var node = _ref3.node,
|
|
9521
9522
|
client = _ref3.client,
|
|
9522
9523
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9524,32 +9525,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9524
9525
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9525
9526
|
|
|
9526
9527
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9527
|
-
var triggerAction =
|
|
9528
|
-
var placementLocation =
|
|
9529
|
-
return
|
|
9528
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9529
|
+
var placementLocation = main_39 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9530
|
+
return React.createElement(
|
|
9530
9531
|
'picture',
|
|
9531
9532
|
null,
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
|
|
9533
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9534
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9535
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9536
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9536
9537
|
style: figureImageStyle,
|
|
9537
9538
|
className: 'figure-image',
|
|
9538
9539
|
src: urlFor({ source: node, client: client }),
|
|
9539
9540
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9540
|
-
}, !link && !
|
|
9541
|
+
}, !link && !main_39 && {
|
|
9541
9542
|
onClick: function onClick() {
|
|
9542
9543
|
return handleClickFigure(node, client);
|
|
9543
9544
|
}
|
|
9544
|
-
})) :
|
|
9545
|
+
})) : React.createElement(
|
|
9545
9546
|
OverlayTrigger,
|
|
9546
9547
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9547
|
-
|
|
9548
|
+
React.createElement('img', _extends({
|
|
9548
9549
|
style: figureImageStyle,
|
|
9549
9550
|
className: 'figure-image',
|
|
9550
9551
|
src: urlFor({ source: node, client: client }),
|
|
9551
9552
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9552
|
-
}, !link && !
|
|
9553
|
+
}, !link && !main_39 && {
|
|
9553
9554
|
onClick: function onClick() {
|
|
9554
9555
|
return handleClickFigure(node, client);
|
|
9555
9556
|
}
|
|
@@ -9598,13 +9599,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9598
9599
|
|
|
9599
9600
|
var FigureCaption = useCallback(function () {
|
|
9600
9601
|
if (imgcaption && imgcaption.length > 0) {
|
|
9601
|
-
return
|
|
9602
|
+
return React.createElement(
|
|
9602
9603
|
'div',
|
|
9603
9604
|
{ className: 'figure-caption' },
|
|
9604
|
-
|
|
9605
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9605
9606
|
);
|
|
9606
9607
|
} else if (caption) {
|
|
9607
|
-
return
|
|
9608
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9608
9609
|
} else return null;
|
|
9609
9610
|
}, [caption, imgcaption]);
|
|
9610
9611
|
|
|
@@ -9621,24 +9622,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9621
9622
|
setShowLightbox(true);
|
|
9622
9623
|
}, [node, client]);
|
|
9623
9624
|
|
|
9624
|
-
return
|
|
9625
|
-
|
|
9625
|
+
return React.createElement(
|
|
9626
|
+
React.Fragment,
|
|
9626
9627
|
null,
|
|
9627
|
-
infoBox.length >= 1 ?
|
|
9628
|
+
infoBox.length >= 1 ? React.createElement(
|
|
9628
9629
|
Figure$2,
|
|
9629
9630
|
{ className: '' + class_name, style: figureStyle },
|
|
9630
|
-
link ?
|
|
9631
|
+
link ? React.createElement(
|
|
9631
9632
|
'a',
|
|
9632
9633
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
) :
|
|
9636
|
-
|
|
9634
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9635
|
+
React.createElement(FigureCaption, null)
|
|
9636
|
+
) : React.createElement(
|
|
9637
|
+
React.Fragment,
|
|
9637
9638
|
null,
|
|
9638
|
-
|
|
9639
|
-
|
|
9639
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9640
|
+
React.createElement(FigureCaption, null)
|
|
9640
9641
|
),
|
|
9641
|
-
|
|
9642
|
+
React.createElement(LightBox, {
|
|
9642
9643
|
showLightbox: showLightbox,
|
|
9643
9644
|
lightboxImgSrc: lightboxImgSrc,
|
|
9644
9645
|
closeLightbox: function closeLightbox() {
|
|
@@ -9646,21 +9647,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9646
9647
|
setShowLightbox(false);
|
|
9647
9648
|
}
|
|
9648
9649
|
})
|
|
9649
|
-
) :
|
|
9650
|
+
) : React.createElement(
|
|
9650
9651
|
Figure$2,
|
|
9651
9652
|
{ className: '' + class_name, style: figureStyle },
|
|
9652
|
-
link ?
|
|
9653
|
+
link ? React.createElement(
|
|
9653
9654
|
'a',
|
|
9654
9655
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
) :
|
|
9658
|
-
|
|
9656
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9657
|
+
React.createElement(FigureCaption, null)
|
|
9658
|
+
) : React.createElement(
|
|
9659
|
+
React.Fragment,
|
|
9659
9660
|
null,
|
|
9660
|
-
|
|
9661
|
-
|
|
9661
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9662
|
+
React.createElement(FigureCaption, null)
|
|
9662
9663
|
),
|
|
9663
|
-
|
|
9664
|
+
React.createElement(LightBox, {
|
|
9664
9665
|
showLightbox: showLightbox,
|
|
9665
9666
|
lightboxImgSrc: lightboxImgSrc,
|
|
9666
9667
|
closeLightbox: function closeLightbox() {
|
|
@@ -9669,7 +9670,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9669
9670
|
}
|
|
9670
9671
|
})
|
|
9671
9672
|
),
|
|
9672
|
-
|
|
9673
|
+
React.createElement(
|
|
9673
9674
|
'style',
|
|
9674
9675
|
{ jsx: 'true' },
|
|
9675
9676
|
'\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 '
|
|
@@ -9677,7 +9678,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9677
9678
|
);
|
|
9678
9679
|
};
|
|
9679
9680
|
|
|
9680
|
-
var Figure =
|
|
9681
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
9681
9682
|
|
|
9682
9683
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9683
9684
|
useEffect(function () {
|
|
@@ -9694,7 +9695,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9694
9695
|
}, [ref]);
|
|
9695
9696
|
}
|
|
9696
9697
|
|
|
9697
|
-
var FigureImage =
|
|
9698
|
+
var FigureImage$1 = React.memo(function (_ref) {
|
|
9698
9699
|
var imagesCount = _ref.imagesCount,
|
|
9699
9700
|
image = _ref.image,
|
|
9700
9701
|
client = _ref.client,
|
|
@@ -9702,13 +9703,13 @@ var FigureImage = React__default.memo(function (_ref) {
|
|
|
9702
9703
|
link = _ref.link,
|
|
9703
9704
|
handleClickFigure = _ref.handleClickFigure;
|
|
9704
9705
|
|
|
9705
|
-
return
|
|
9706
|
+
return React.createElement(
|
|
9706
9707
|
'picture',
|
|
9707
9708
|
null,
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9709
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9710
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9711
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9712
|
+
React.createElement('img', _extends({
|
|
9712
9713
|
'images-count': imagesCount,
|
|
9713
9714
|
className: 'multi-figure-image',
|
|
9714
9715
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9745,13 +9746,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9745
9746
|
imgcaption = _ref2.imgcaption;
|
|
9746
9747
|
|
|
9747
9748
|
if (imgcaption && imgcaption.length > 0) {
|
|
9748
|
-
return
|
|
9749
|
+
return React.createElement(
|
|
9749
9750
|
'div',
|
|
9750
9751
|
{ className: 'multi-figure-caption' },
|
|
9751
|
-
|
|
9752
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9752
9753
|
);
|
|
9753
9754
|
} else if (caption) {
|
|
9754
|
-
return
|
|
9755
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9755
9756
|
} else return null;
|
|
9756
9757
|
};
|
|
9757
9758
|
|
|
@@ -9760,7 +9761,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9760
9761
|
setOpenImg(true);
|
|
9761
9762
|
}, [client]);
|
|
9762
9763
|
|
|
9763
|
-
var FigureImageWOverLay =
|
|
9764
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9764
9765
|
var imagesCount = _ref3.imagesCount,
|
|
9765
9766
|
image = _ref3.image,
|
|
9766
9767
|
client = _ref3.client,
|
|
@@ -9768,32 +9769,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9768
9769
|
link = _ref3.link,
|
|
9769
9770
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9770
9771
|
|
|
9771
|
-
var triggerAction =
|
|
9772
|
-
var placementLocation =
|
|
9773
|
-
return
|
|
9772
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9773
|
+
var placementLocation = main_39 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9774
|
+
return React.createElement(
|
|
9774
9775
|
'picture',
|
|
9775
9776
|
null,
|
|
9776
|
-
|
|
9777
|
-
|
|
9778
|
-
|
|
9779
|
-
|
|
9777
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9778
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9779
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9780
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9780
9781
|
'images-count': imagesCount,
|
|
9781
9782
|
className: 'multi-figure-image',
|
|
9782
9783
|
src: urlFor({ source: image, client: client }),
|
|
9783
9784
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9784
|
-
}, !link && !
|
|
9785
|
+
}, !link && !main_39 && {
|
|
9785
9786
|
onClick: function onClick() {
|
|
9786
9787
|
return handleClickFigure(image, client);
|
|
9787
9788
|
}
|
|
9788
|
-
})) :
|
|
9789
|
+
})) : React.createElement(
|
|
9789
9790
|
OverlayTrigger,
|
|
9790
9791
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9791
|
-
|
|
9792
|
+
React.createElement('img', _extends({
|
|
9792
9793
|
'images-count': imagesCount,
|
|
9793
9794
|
className: 'multi-figure-image',
|
|
9794
9795
|
src: urlFor({ source: image, client: client }),
|
|
9795
9796
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9796
|
-
}, !link && !
|
|
9797
|
+
}, !link && !main_39 && {
|
|
9797
9798
|
onClick: function onClick() {
|
|
9798
9799
|
return handleClickFigure(image, client);
|
|
9799
9800
|
}
|
|
@@ -9804,102 +9805,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9804
9805
|
|
|
9805
9806
|
var renderTooltip = function renderTooltip(image) {
|
|
9806
9807
|
if (image.infoBox[0].title) {
|
|
9807
|
-
return
|
|
9808
|
+
return React.createElement(
|
|
9808
9809
|
Popover,
|
|
9809
9810
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9810
|
-
|
|
9811
|
+
React.createElement(
|
|
9811
9812
|
Popover.Title,
|
|
9812
9813
|
{ as: 'h3' },
|
|
9813
9814
|
image.infoBox[0].title
|
|
9814
9815
|
),
|
|
9815
|
-
|
|
9816
|
+
React.createElement(
|
|
9816
9817
|
Popover.Content,
|
|
9817
9818
|
null,
|
|
9818
|
-
|
|
9819
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9819
9820
|
)
|
|
9820
9821
|
);
|
|
9821
9822
|
} else {
|
|
9822
|
-
return
|
|
9823
|
+
return React.createElement(
|
|
9823
9824
|
Tooltip,
|
|
9824
9825
|
_extends({ id: 'button-tooltip' }, props),
|
|
9825
|
-
|
|
9826
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9826
9827
|
);
|
|
9827
9828
|
}
|
|
9828
9829
|
};
|
|
9829
9830
|
|
|
9830
9831
|
if (images && images.length > 0) {
|
|
9831
|
-
return
|
|
9832
|
+
return React.createElement(
|
|
9832
9833
|
'div',
|
|
9833
9834
|
{ className: 'multi-figure-container' },
|
|
9834
|
-
|
|
9835
|
+
React.createElement(
|
|
9835
9836
|
Row$1,
|
|
9836
9837
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9837
9838
|
images.map(function (image, index) {
|
|
9838
9839
|
if (image.infoBox) {
|
|
9839
|
-
return
|
|
9840
|
+
return React.createElement(
|
|
9840
9841
|
Col$1,
|
|
9841
9842
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9842
|
-
image.link ?
|
|
9843
|
+
image.link ? React.createElement(
|
|
9843
9844
|
'a',
|
|
9844
9845
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9845
|
-
|
|
9846
|
+
React.createElement(
|
|
9846
9847
|
'div',
|
|
9847
9848
|
{ className: 'multi-figure-image-container' },
|
|
9848
|
-
|
|
9849
|
+
React.createElement(
|
|
9849
9850
|
LazyLoad,
|
|
9850
9851
|
{ once: true },
|
|
9851
|
-
|
|
9852
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9852
9853
|
),
|
|
9853
|
-
|
|
9854
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9854
9855
|
)
|
|
9855
|
-
) :
|
|
9856
|
+
) : React.createElement(
|
|
9856
9857
|
'div',
|
|
9857
9858
|
{ className: 'multi-figure-image-container' },
|
|
9858
|
-
|
|
9859
|
+
React.createElement(
|
|
9859
9860
|
LazyLoad,
|
|
9860
9861
|
{ once: true },
|
|
9861
|
-
|
|
9862
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9862
9863
|
),
|
|
9863
|
-
|
|
9864
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9864
9865
|
)
|
|
9865
9866
|
);
|
|
9866
9867
|
} else {
|
|
9867
|
-
return
|
|
9868
|
+
return React.createElement(
|
|
9868
9869
|
Col$1,
|
|
9869
9870
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9870
|
-
image.link ?
|
|
9871
|
+
image.link ? React.createElement(
|
|
9871
9872
|
'a',
|
|
9872
9873
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9873
|
-
|
|
9874
|
+
React.createElement(
|
|
9874
9875
|
'div',
|
|
9875
9876
|
{ className: 'multi-figure-image-container' },
|
|
9876
|
-
|
|
9877
|
+
React.createElement(
|
|
9877
9878
|
LazyLoad,
|
|
9878
9879
|
{ once: true },
|
|
9879
|
-
|
|
9880
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9880
9881
|
),
|
|
9881
|
-
|
|
9882
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9882
9883
|
)
|
|
9883
|
-
) :
|
|
9884
|
+
) : React.createElement(
|
|
9884
9885
|
'div',
|
|
9885
9886
|
{ className: 'multi-figure-image-container' },
|
|
9886
|
-
|
|
9887
|
+
React.createElement(
|
|
9887
9888
|
LazyLoad,
|
|
9888
9889
|
{ once: true },
|
|
9889
|
-
|
|
9890
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9890
9891
|
),
|
|
9891
|
-
|
|
9892
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9892
9893
|
)
|
|
9893
9894
|
);
|
|
9894
9895
|
}
|
|
9895
9896
|
})
|
|
9896
9897
|
),
|
|
9897
|
-
|
|
9898
|
+
React.createElement(
|
|
9898
9899
|
'div',
|
|
9899
9900
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9900
|
-
|
|
9901
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9901
9902
|
),
|
|
9902
|
-
|
|
9903
|
+
React.createElement(
|
|
9903
9904
|
'style',
|
|
9904
9905
|
{ jsx: 'true' },
|
|
9905
9906
|
'\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 '
|
|
@@ -9948,23 +9949,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9948
9949
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9949
9950
|
}, []);
|
|
9950
9951
|
|
|
9951
|
-
return
|
|
9952
|
-
|
|
9952
|
+
return React.createElement(
|
|
9953
|
+
React.Fragment,
|
|
9953
9954
|
null,
|
|
9954
|
-
|
|
9955
|
+
React.createElement(
|
|
9955
9956
|
Head,
|
|
9956
9957
|
null,
|
|
9957
|
-
|
|
9958
|
+
React.createElement('script', {
|
|
9958
9959
|
dangerouslySetInnerHTML: {
|
|
9959
9960
|
__html: 'history.scrollRestoration = "manual"'
|
|
9960
9961
|
}
|
|
9961
9962
|
})
|
|
9962
9963
|
),
|
|
9963
|
-
|
|
9964
|
+
React.createElement(
|
|
9964
9965
|
'div',
|
|
9965
9966
|
{ id: elementId },
|
|
9966
|
-
|
|
9967
|
-
|
|
9967
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9968
|
+
React.createElement(
|
|
9968
9969
|
'style',
|
|
9969
9970
|
{ jsx: 'true' },
|
|
9970
9971
|
'\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 '
|
|
@@ -9973,258 +9974,6 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9973
9974
|
);
|
|
9974
9975
|
};
|
|
9975
9976
|
|
|
9976
|
-
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
9977
|
-
|
|
9978
|
-
exports.__esModule = true;
|
|
9979
|
-
|
|
9980
|
-
exports.default = function (obj, keys) {
|
|
9981
|
-
var target = {};
|
|
9982
|
-
|
|
9983
|
-
for (var i in obj) {
|
|
9984
|
-
if (keys.indexOf(i) >= 0) continue;
|
|
9985
|
-
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
9986
|
-
target[i] = obj[i];
|
|
9987
|
-
}
|
|
9988
|
-
|
|
9989
|
-
return target;
|
|
9990
|
-
};
|
|
9991
|
-
});
|
|
9992
|
-
|
|
9993
|
-
unwrapExports(objectWithoutProperties);
|
|
9994
|
-
|
|
9995
|
-
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
9996
|
-
|
|
9997
|
-
exports.__esModule = true;
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
var _extends3 = _interopRequireDefault(_extends$1);
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
var _inherits3 = _interopRequireDefault(inherits);
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
var _react2 = _interopRequireDefault(React__default);
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
10025
|
-
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10026
|
-
|
|
10027
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10028
|
-
var noop = function noop() {};
|
|
10029
|
-
|
|
10030
|
-
var ScriptTag = function (_Component) {
|
|
10031
|
-
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10032
|
-
|
|
10033
|
-
ScriptTag.removeNode = function removeNode(node) {
|
|
10034
|
-
if (node) {
|
|
10035
|
-
node.parentNode.removeChild(node);
|
|
10036
|
-
}
|
|
10037
|
-
};
|
|
10038
|
-
|
|
10039
|
-
function ScriptTag(props, context) {
|
|
10040
|
-
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10041
|
-
|
|
10042
|
-
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10043
|
-
|
|
10044
|
-
_this.domRef = null;
|
|
10045
|
-
_this.state = {
|
|
10046
|
-
isHydrated: props.isHydrating,
|
|
10047
|
-
additionalNode: null,
|
|
10048
|
-
removeAdditionalNode: null
|
|
10049
|
-
};
|
|
10050
|
-
return _this;
|
|
10051
|
-
}
|
|
10052
|
-
|
|
10053
|
-
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10054
|
-
var _props = this.props,
|
|
10055
|
-
onError = _props.onError,
|
|
10056
|
-
onLoad = _props.onLoad,
|
|
10057
|
-
nonce = _props.nonce;
|
|
10058
|
-
|
|
10059
|
-
// Create a new HTML script element
|
|
10060
|
-
|
|
10061
|
-
var newElement = document.createElement("script");
|
|
10062
|
-
|
|
10063
|
-
// Copy all attribute values
|
|
10064
|
-
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10065
|
-
var attr = this.domRef.attributes[i];
|
|
10066
|
-
if (attr.nodeName === 'nonce') {
|
|
10067
|
-
// The browser clears the nonce value - grab from props
|
|
10068
|
-
newElement.setAttribute(attr.nodeName, nonce);
|
|
10069
|
-
} else {
|
|
10070
|
-
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10071
|
-
}
|
|
10072
|
-
}
|
|
10073
|
-
|
|
10074
|
-
// Copy the inner script
|
|
10075
|
-
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10076
|
-
newElement.innerHTML = this.domRef.innerHTML;
|
|
10077
|
-
}
|
|
10078
|
-
|
|
10079
|
-
// Bind event listeners
|
|
10080
|
-
newElement.addEventListener('load', onLoad);
|
|
10081
|
-
newElement.addEventListener('error', onError);
|
|
10082
|
-
|
|
10083
|
-
// Append the new script tag
|
|
10084
|
-
this.domRef.parentNode.appendChild(newElement);
|
|
10085
|
-
return newElement;
|
|
10086
|
-
};
|
|
10087
|
-
|
|
10088
|
-
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10089
|
-
var isHydrated = this.state.isHydrated;
|
|
10090
|
-
|
|
10091
|
-
if (isHydrated) {
|
|
10092
|
-
// was rendered on server, don't replace elements when hydrating
|
|
10093
|
-
return;
|
|
10094
|
-
}
|
|
10095
|
-
|
|
10096
|
-
this.setState({
|
|
10097
|
-
additionalNode: this.appendAdditionalElement(),
|
|
10098
|
-
removeAdditionalNode: null
|
|
10099
|
-
});
|
|
10100
|
-
};
|
|
10101
|
-
|
|
10102
|
-
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10103
|
-
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10104
|
-
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10105
|
-
|
|
10106
|
-
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10107
|
-
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10108
|
-
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10109
|
-
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10110
|
-
// This really complicates the component - for now we'll leave it as is.
|
|
10111
|
-
var _props2 = this.props,
|
|
10112
|
-
src = _props2.src,
|
|
10113
|
-
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10114
|
-
|
|
10115
|
-
if (src && src === nextProps.src) {
|
|
10116
|
-
// The 'src' attribute has not changed
|
|
10117
|
-
return;
|
|
10118
|
-
}
|
|
10119
|
-
|
|
10120
|
-
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10121
|
-
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10122
|
-
return;
|
|
10123
|
-
}
|
|
10124
|
-
|
|
10125
|
-
this.setState({
|
|
10126
|
-
removeAdditionalNode: this.state.additionalNode,
|
|
10127
|
-
additionalNode: null
|
|
10128
|
-
});
|
|
10129
|
-
};
|
|
10130
|
-
|
|
10131
|
-
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10132
|
-
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10133
|
-
};
|
|
10134
|
-
|
|
10135
|
-
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10136
|
-
var _state = this.state,
|
|
10137
|
-
additionalNode = _state.additionalNode,
|
|
10138
|
-
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10139
|
-
|
|
10140
|
-
if (additionalNode === null) {
|
|
10141
|
-
this.setState({
|
|
10142
|
-
additionalNode: this.appendAdditionalElement()
|
|
10143
|
-
});
|
|
10144
|
-
}
|
|
10145
|
-
|
|
10146
|
-
if (removeAdditionalNode !== null) {
|
|
10147
|
-
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10148
|
-
this.setState({
|
|
10149
|
-
removeAdditionalNode: null
|
|
10150
|
-
});
|
|
10151
|
-
}
|
|
10152
|
-
};
|
|
10153
|
-
|
|
10154
|
-
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10155
|
-
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10156
|
-
ScriptTag.removeNode(this.state.additionalNode);
|
|
10157
|
-
};
|
|
10158
|
-
|
|
10159
|
-
ScriptTag.prototype.render = function render() {
|
|
10160
|
-
var _this2 = this;
|
|
10161
|
-
|
|
10162
|
-
var additionalNode = this.state.additionalNode;
|
|
10163
|
-
|
|
10164
|
-
if (additionalNode !== null) {
|
|
10165
|
-
return null;
|
|
10166
|
-
}
|
|
10167
|
-
|
|
10168
|
-
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10169
|
-
// eslint-disable-next-line no-unused-vars
|
|
10170
|
-
var _props3 = this.props;
|
|
10171
|
-
_props3.isHydrating;
|
|
10172
|
-
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10173
|
-
|
|
10174
|
-
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10175
|
-
return _this2.domRef = tag;
|
|
10176
|
-
} }));
|
|
10177
|
-
};
|
|
10178
|
-
|
|
10179
|
-
return ScriptTag;
|
|
10180
|
-
}(React__default.Component);
|
|
10181
|
-
|
|
10182
|
-
ScriptTag.propTypes = {
|
|
10183
|
-
/**
|
|
10184
|
-
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10185
|
-
*/
|
|
10186
|
-
isHydrating: _propTypes2.default.bool,
|
|
10187
|
-
|
|
10188
|
-
// Standard <script> tag props
|
|
10189
|
-
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10190
|
-
crossOrigin: _propTypes2.default.string,
|
|
10191
|
-
defer: _propTypes2.default.bool,
|
|
10192
|
-
integrity: _propTypes2.default.string,
|
|
10193
|
-
nonce: _propTypes2.default.string,
|
|
10194
|
-
src: _propTypes2.default.string,
|
|
10195
|
-
text: _propTypes2.default.string,
|
|
10196
|
-
type: _propTypes2.default.string,
|
|
10197
|
-
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10198
|
-
|
|
10199
|
-
// globals
|
|
10200
|
-
onError: _propTypes2.default.func,
|
|
10201
|
-
onLoad: _propTypes2.default.func
|
|
10202
|
-
};
|
|
10203
|
-
ScriptTag.defaultProps = {
|
|
10204
|
-
isHydrating: false,
|
|
10205
|
-
onError: noop,
|
|
10206
|
-
onLoad: noop
|
|
10207
|
-
};
|
|
10208
|
-
exports.default = ScriptTag;
|
|
10209
|
-
});
|
|
10210
|
-
|
|
10211
|
-
unwrapExports(ScriptTag_1);
|
|
10212
|
-
|
|
10213
|
-
var lib = createCommonjsModule(function (module, exports) {
|
|
10214
|
-
|
|
10215
|
-
exports.__esModule = true;
|
|
10216
|
-
|
|
10217
|
-
|
|
10218
|
-
|
|
10219
|
-
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10220
|
-
|
|
10221
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10222
|
-
|
|
10223
|
-
exports.default = _ScriptTag2.default;
|
|
10224
|
-
});
|
|
10225
|
-
|
|
10226
|
-
var ScriptTag = unwrapExports(lib);
|
|
10227
|
-
|
|
10228
9977
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
10229
9978
|
|
|
10230
9979
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10269,11 +10018,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10269
10018
|
}, [anonymousID]);
|
|
10270
10019
|
|
|
10271
10020
|
if (iframeSrc) {
|
|
10272
|
-
return
|
|
10021
|
+
return React.createElement(
|
|
10273
10022
|
'section',
|
|
10274
10023
|
{ className: 'form-assembly' },
|
|
10275
|
-
iframeSrc &&
|
|
10276
|
-
|
|
10024
|
+
iframeSrc && React.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10025
|
+
React.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10277
10026
|
);
|
|
10278
10027
|
}
|
|
10279
10028
|
|
|
@@ -10310,27 +10059,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10310
10059
|
return window.removeEventListener('resize', handleResize);
|
|
10311
10060
|
};
|
|
10312
10061
|
}, []);
|
|
10313
|
-
return
|
|
10062
|
+
return React.createElement(
|
|
10314
10063
|
'div',
|
|
10315
10064
|
{ className: 'blockTableHolder', ref: holder },
|
|
10316
|
-
|
|
10065
|
+
React.createElement(
|
|
10317
10066
|
'div',
|
|
10318
10067
|
{ className: 'blockTable' },
|
|
10319
10068
|
rows && rows.map(function (row) {
|
|
10320
|
-
return
|
|
10069
|
+
return React.createElement(
|
|
10321
10070
|
'div',
|
|
10322
10071
|
{ className: 'blockTableRow' },
|
|
10323
10072
|
row.cells && row.cells.map(function (cell) {
|
|
10324
|
-
return
|
|
10073
|
+
return React.createElement(
|
|
10325
10074
|
'div',
|
|
10326
10075
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10327
|
-
|
|
10076
|
+
React.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10328
10077
|
);
|
|
10329
10078
|
})
|
|
10330
10079
|
);
|
|
10331
10080
|
})
|
|
10332
10081
|
),
|
|
10333
|
-
|
|
10082
|
+
React.createElement(
|
|
10334
10083
|
'style',
|
|
10335
10084
|
{ jsx: true },
|
|
10336
10085
|
'\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 '
|
|
@@ -10340,11 +10089,11 @@ var BlockTable = function BlockTable(props) {
|
|
|
10340
10089
|
|
|
10341
10090
|
var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
10342
10091
|
var _props$node = props.node,
|
|
10343
|
-
FormID = _props$node.FormID
|
|
10344
|
-
_props$node.needSegmentSupport;
|
|
10092
|
+
FormID = _props$node.FormID,
|
|
10093
|
+
_props$node$needSegme = _props$node.needSegmentSupport;
|
|
10345
10094
|
|
|
10346
10095
|
|
|
10347
|
-
return
|
|
10096
|
+
return React.createElement('div', { id: FormID });
|
|
10348
10097
|
};
|
|
10349
10098
|
|
|
10350
10099
|
var siteArray = ['aestheticauthority.com', 'cannapatientcare.com', 'chiefhealthcareexecutive.com', 'genetherapylive.com', 'giantsofcancercare.com', 'medicalworldnews.com', 'pbmi.com', 'pharmacytimes.org', 'gotoper.com', 'education.gotoper.com', 'mjhlifesciences.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com'];
|
|
@@ -10413,7 +10162,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10413
10162
|
if (href && href.charAt(0) === '#') {
|
|
10414
10163
|
var elementId = href.slice(1);
|
|
10415
10164
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10416
|
-
return
|
|
10165
|
+
return React.createElement(
|
|
10417
10166
|
'a',
|
|
10418
10167
|
{ onClick: function onClick() {
|
|
10419
10168
|
return ScrollToElement(elementId);
|
|
@@ -10423,11 +10172,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10423
10172
|
}
|
|
10424
10173
|
|
|
10425
10174
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkBaseUrl(href) ? 'noreferrer noopener' : '');
|
|
10426
|
-
return href ? linkRel.trim().length > 0 ?
|
|
10175
|
+
return href ? linkRel.trim().length > 0 ? React.createElement(
|
|
10427
10176
|
'a',
|
|
10428
10177
|
_extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10429
10178
|
children
|
|
10430
|
-
) :
|
|
10179
|
+
) : React.createElement(
|
|
10431
10180
|
'a',
|
|
10432
10181
|
_extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10433
10182
|
children
|
|
@@ -10492,12 +10241,12 @@ var getSerializers = function getSerializers() {
|
|
|
10492
10241
|
var node = _ref.node;
|
|
10493
10242
|
var url = node.url;
|
|
10494
10243
|
|
|
10495
|
-
return
|
|
10244
|
+
return React.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10496
10245
|
},
|
|
10497
10246
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10498
10247
|
var node = _ref2.node;
|
|
10499
10248
|
|
|
10500
|
-
return
|
|
10249
|
+
return React.createElement(YouTubeGallery, {
|
|
10501
10250
|
nodes: node,
|
|
10502
10251
|
article: article,
|
|
10503
10252
|
meta: meta,
|
|
@@ -10511,7 +10260,7 @@ var getSerializers = function getSerializers() {
|
|
|
10511
10260
|
articleSeries: function articleSeries(_ref3) {
|
|
10512
10261
|
var node = _ref3.node;
|
|
10513
10262
|
|
|
10514
|
-
return
|
|
10263
|
+
return React.createElement(ArticleSeries, {
|
|
10515
10264
|
nodes: node,
|
|
10516
10265
|
accountIDs: videoAccountIDs || {},
|
|
10517
10266
|
pageview: pageview,
|
|
@@ -10524,61 +10273,61 @@ var getSerializers = function getSerializers() {
|
|
|
10524
10273
|
figure: function figure(_ref4) {
|
|
10525
10274
|
var node = _ref4.node;
|
|
10526
10275
|
|
|
10527
|
-
return
|
|
10276
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10528
10277
|
},
|
|
10529
10278
|
multifigure: function multifigure(_ref5) {
|
|
10530
10279
|
var node = _ref5.node;
|
|
10531
10280
|
|
|
10532
|
-
return
|
|
10281
|
+
return React.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10533
10282
|
},
|
|
10534
10283
|
slideshow: function slideshow(_ref6) {
|
|
10535
10284
|
var node = _ref6.node;
|
|
10536
10285
|
var slides = node.slides;
|
|
10537
10286
|
|
|
10538
|
-
return
|
|
10287
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10539
10288
|
},
|
|
10540
10289
|
sidebar: function sidebar(_ref7) {
|
|
10541
10290
|
var node = _ref7.node;
|
|
10542
10291
|
var caption = node.caption,
|
|
10543
10292
|
content = node.content;
|
|
10544
10293
|
|
|
10545
|
-
return
|
|
10294
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10546
10295
|
},
|
|
10547
10296
|
datatable: function datatable(_ref8) {
|
|
10548
10297
|
var node = _ref8.node;
|
|
10549
10298
|
var table = node.table;
|
|
10550
10299
|
|
|
10551
|
-
return
|
|
10300
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
10552
10301
|
},
|
|
10553
10302
|
media: function media(_ref9) {
|
|
10554
10303
|
var node = _ref9.node;
|
|
10555
10304
|
|
|
10556
|
-
return
|
|
10305
|
+
return React.createElement(Media, { node: node, client: client });
|
|
10557
10306
|
},
|
|
10558
10307
|
iframe: function iframe(_ref10) {
|
|
10559
10308
|
var node = _ref10.node;
|
|
10560
10309
|
|
|
10561
|
-
return
|
|
10310
|
+
return React.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10562
10311
|
},
|
|
10563
10312
|
video: function video(_ref11) {
|
|
10564
10313
|
var node = _ref11.node;
|
|
10565
10314
|
|
|
10566
|
-
return
|
|
10315
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10567
10316
|
},
|
|
10568
10317
|
audio: function audio(_ref12) {
|
|
10569
10318
|
var node = _ref12.node;
|
|
10570
10319
|
|
|
10571
|
-
return
|
|
10320
|
+
return React.createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10572
10321
|
},
|
|
10573
10322
|
poll: function poll(_ref13) {
|
|
10574
10323
|
var node = _ref13.node;
|
|
10575
10324
|
|
|
10576
|
-
return
|
|
10325
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10577
10326
|
},
|
|
10578
10327
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10579
10328
|
var node = _ref14.node;
|
|
10580
10329
|
|
|
10581
|
-
return
|
|
10330
|
+
return React.createElement(Poll$1, {
|
|
10582
10331
|
node: node,
|
|
10583
10332
|
client: client,
|
|
10584
10333
|
pageview: pageview,
|
|
@@ -10592,35 +10341,35 @@ var getSerializers = function getSerializers() {
|
|
|
10592
10341
|
var node = _ref15.node;
|
|
10593
10342
|
var quizzes = node.quizzes;
|
|
10594
10343
|
|
|
10595
|
-
return
|
|
10344
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10596
10345
|
},
|
|
10597
10346
|
leads: function leads(_ref16) {
|
|
10598
10347
|
var node = _ref16.node;
|
|
10599
10348
|
var leadID = node.leadID;
|
|
10600
10349
|
|
|
10601
10350
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10602
|
-
return
|
|
10351
|
+
return React.createElement(Leads, { url: url });
|
|
10603
10352
|
},
|
|
10604
10353
|
slideshows: function slideshows(_ref17) {
|
|
10605
10354
|
var node = _ref17.node;
|
|
10606
10355
|
|
|
10607
|
-
return
|
|
10356
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10608
10357
|
},
|
|
10609
10358
|
nativeAd: function nativeAd(_ref18) {
|
|
10610
10359
|
var node = _ref18.node;
|
|
10611
10360
|
|
|
10612
|
-
return
|
|
10361
|
+
return React.createElement(NativeAd, { node: node });
|
|
10613
10362
|
},
|
|
10614
10363
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10615
10364
|
var node = _ref19.node;
|
|
10616
10365
|
|
|
10617
|
-
return
|
|
10366
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10618
10367
|
},
|
|
10619
10368
|
hrtag: function hrtag() {
|
|
10620
|
-
return
|
|
10369
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10621
10370
|
},
|
|
10622
10371
|
brtag: function brtag() {
|
|
10623
|
-
return
|
|
10372
|
+
return React.createElement('br', { className: 'line-break' });
|
|
10624
10373
|
},
|
|
10625
10374
|
formstack: function formstack(_ref20) {
|
|
10626
10375
|
var node = _ref20.node;
|
|
@@ -10628,30 +10377,30 @@ var getSerializers = function getSerializers() {
|
|
|
10628
10377
|
Caption = node.Caption,
|
|
10629
10378
|
needSegmentSupport = node.needSegmentSupport;
|
|
10630
10379
|
|
|
10631
|
-
return
|
|
10380
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10632
10381
|
},
|
|
10633
10382
|
formassembly: FormAssembly,
|
|
10634
10383
|
digiohSmartTag: DigiohSmartTag,
|
|
10635
10384
|
multimedia: function multimedia(_ref21) {
|
|
10636
10385
|
var node = _ref21.node;
|
|
10637
10386
|
|
|
10638
|
-
return
|
|
10387
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
10639
10388
|
},
|
|
10640
10389
|
blockTable: function blockTable(_ref22) {
|
|
10641
10390
|
var node = _ref22.node;
|
|
10642
|
-
return
|
|
10391
|
+
return React.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10643
10392
|
}
|
|
10644
10393
|
},
|
|
10645
10394
|
marks: {
|
|
10646
10395
|
superscript: function superscript(props) {
|
|
10647
|
-
return
|
|
10396
|
+
return React.createElement(
|
|
10648
10397
|
'sup',
|
|
10649
10398
|
null,
|
|
10650
10399
|
props.children
|
|
10651
10400
|
);
|
|
10652
10401
|
},
|
|
10653
10402
|
subscript: function subscript(props) {
|
|
10654
|
-
return
|
|
10403
|
+
return React.createElement(
|
|
10655
10404
|
'sub',
|
|
10656
10405
|
null,
|
|
10657
10406
|
props.children
|
|
@@ -10661,11 +10410,11 @@ var getSerializers = function getSerializers() {
|
|
|
10661
10410
|
var children = props.children,
|
|
10662
10411
|
mark = props.mark;
|
|
10663
10412
|
|
|
10664
|
-
return
|
|
10413
|
+
return React.createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10665
10414
|
},
|
|
10666
10415
|
alignleft: function alignleft(_ref23) {
|
|
10667
10416
|
var children = _ref23.children;
|
|
10668
|
-
return
|
|
10417
|
+
return React.createElement(
|
|
10669
10418
|
'div',
|
|
10670
10419
|
{ style: { textAlign: 'left' } },
|
|
10671
10420
|
children
|
|
@@ -10673,7 +10422,7 @@ var getSerializers = function getSerializers() {
|
|
|
10673
10422
|
},
|
|
10674
10423
|
alignright: function alignright(_ref24) {
|
|
10675
10424
|
var children = _ref24.children;
|
|
10676
|
-
return
|
|
10425
|
+
return React.createElement(
|
|
10677
10426
|
'div',
|
|
10678
10427
|
{ style: { textAlign: 'right' } },
|
|
10679
10428
|
children
|
|
@@ -10681,7 +10430,7 @@ var getSerializers = function getSerializers() {
|
|
|
10681
10430
|
},
|
|
10682
10431
|
aligncenter: function aligncenter(_ref25) {
|
|
10683
10432
|
var children = _ref25.children;
|
|
10684
|
-
return
|
|
10433
|
+
return React.createElement(
|
|
10685
10434
|
'div',
|
|
10686
10435
|
{ style: { textAlign: 'center' } },
|
|
10687
10436
|
children
|
|
@@ -10689,7 +10438,7 @@ var getSerializers = function getSerializers() {
|
|
|
10689
10438
|
},
|
|
10690
10439
|
alignjustify: function alignjustify(_ref26) {
|
|
10691
10440
|
var children = _ref26.children;
|
|
10692
|
-
return
|
|
10441
|
+
return React.createElement(
|
|
10693
10442
|
'div',
|
|
10694
10443
|
{ style: { textAlign: 'justify' } },
|
|
10695
10444
|
children
|
|
@@ -10699,7 +10448,7 @@ var getSerializers = function getSerializers() {
|
|
|
10699
10448
|
var children = props.children,
|
|
10700
10449
|
color = props.mark.color;
|
|
10701
10450
|
|
|
10702
|
-
return
|
|
10451
|
+
return React.createElement(
|
|
10703
10452
|
'span',
|
|
10704
10453
|
{ style: { color: color ? color.hex : null } },
|
|
10705
10454
|
children
|