@mjhls/mjh-framework 1.0.933 → 1.0.934
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-44d43b8a.js → ADInfeed-a4d973da.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-24d739f6.js → ADlgInfeed-def2c25d.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 -14178
- 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 +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- 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 -23
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- 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 +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- 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 +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-ebf0b083.js → MediaSeriesCard-2e1f34e6.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -58
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- 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-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -63
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- 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 -39
- 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-ba0c5d1a.js → SeriesSlider-88e59074.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 +94 -93
- 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/getQuery.js +2 -1
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-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-e6bae72c.js → index-cda68ef1.js} +159 -409
- 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 +145 -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} +4 -4
- 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 +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-f3a93040.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-c4814c4e.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-5b06f89b.js → MediaSeriesCard-4ba5bde7.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +76 -77
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -81
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +93 -94
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +250 -249
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.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-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-64812e90.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-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.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-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -1
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-2eb00bbf.js → index-85bb0372.js} +569 -820
- 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 +171 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- 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-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- 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-f8f967cd.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- 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/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/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,45 +1,46 @@
|
|
|
1
|
-
import { _ as _extends, b as _extends$1 } from './extends-6d8e3924.js';
|
|
2
|
-
import React__default, { useState, useEffect, useRef, useLayoutEffect, useCallback } from 'react';
|
|
3
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import { Carousel, Table, Figure as Figure$1, Card, Row, Col, Button as Button$1, ProgressBar } from 'react-bootstrap';
|
|
5
|
-
import urlFor from './urlFor.js';
|
|
6
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
|
-
import Router, { useRouter } from 'next/router';
|
|
8
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
9
|
-
import PropTypes from 'prop-types';
|
|
10
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
-
import {
|
|
12
|
-
import './
|
|
2
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-86d4db69.js';
|
|
3
|
+
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
4
|
+
import { _ as _extends } from './extends-a4230287.js';
|
|
5
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-91a2c374.js';
|
|
6
|
+
import { _ as _typeof$1 } from './typeof-f1b7564e.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-67a08c9c.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-70b72959.js';
|
|
20
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
13
21
|
import Segment from './Segment.js';
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
|
-
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
18
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
19
|
-
import { _ as _typeof$1 } from './typeof-e9fc0c5d.js';
|
|
20
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-57a70a56.js';
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
22
|
-
import Modal from 'react-bootstrap/Modal';
|
|
22
|
+
import './Beam.js';
|
|
23
|
+
import DFPAdSlot from './AdSlot.js';
|
|
23
24
|
import Button from 'react-bootstrap/Button';
|
|
24
|
-
import
|
|
25
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
26
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
25
27
|
import GroupDeck from './GroupDeck.js';
|
|
26
|
-
import {
|
|
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-d2a27665.js';
|
|
32
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-4abff0b1.js';
|
|
33
|
+
import Modal from 'react-bootstrap/Modal';
|
|
34
|
+
import Form from 'react-bootstrap/Form';
|
|
35
|
+
import Head from 'next/head';
|
|
27
36
|
import SocialShare from './SocialShare.js';
|
|
28
|
-
import { _ as
|
|
29
|
-
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
30
|
-
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
37
|
+
import { _ as _objectToArray } from './_object-to-array-c54dd835.js';
|
|
31
38
|
import Pagination from 'react-bootstrap/Pagination';
|
|
32
|
-
import { h as html_decode_1 } from './entities-6d9154b4.js';
|
|
33
|
-
import DFPAdSlot from './AdSlot.js';
|
|
34
|
-
import Row$1 from 'react-bootstrap/Row';
|
|
35
|
-
import Col$1 from 'react-bootstrap/Col';
|
|
36
|
-
import Head from 'next/head';
|
|
37
|
-
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';
|
|
38
|
-
import { c as IoIosArrowDropupCircle } from './index.esm-eb1e8e80.js';
|
|
39
39
|
import Figure$2 from 'react-bootstrap/Figure';
|
|
40
40
|
import OverlayTrigger from 'react-bootstrap/OverlayTrigger';
|
|
41
41
|
import Tooltip from 'react-bootstrap/Tooltip';
|
|
42
42
|
import Popover from 'react-bootstrap/Popover';
|
|
43
|
+
import ScriptTag from 'react-script-tag';
|
|
43
44
|
|
|
44
45
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
45
46
|
var pageNumber = selectedIndex + 1;
|
|
@@ -47,7 +48,7 @@ var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
|
47
48
|
Router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
48
49
|
};
|
|
49
50
|
|
|
50
|
-
var Slideshow
|
|
51
|
+
var Slideshow = function Slideshow(_ref) {
|
|
51
52
|
var slides = _ref.slides,
|
|
52
53
|
client = _ref.client,
|
|
53
54
|
pageview = _ref.pageview;
|
|
@@ -74,27 +75,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
74
75
|
if (pageview) pageview(router.asPath);
|
|
75
76
|
}, [router]);
|
|
76
77
|
|
|
77
|
-
return
|
|
78
|
+
return React.createElement(
|
|
78
79
|
'div',
|
|
79
80
|
{ className: 'mt-3 mb-3' },
|
|
80
|
-
|
|
81
|
+
React.createElement(
|
|
81
82
|
Carousel,
|
|
82
83
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
83
84
|
return onChangeSlide(selectedIndex, router);
|
|
84
85
|
}, interval: null },
|
|
85
86
|
slides && slides.map(function (slide) {
|
|
86
|
-
return
|
|
87
|
+
return React.createElement(
|
|
87
88
|
Carousel.Item,
|
|
88
89
|
{ key: slide._key },
|
|
89
|
-
|
|
90
|
+
React.createElement(
|
|
90
91
|
'picture',
|
|
91
92
|
null,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
94
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
95
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
96
|
+
React.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
96
97
|
),
|
|
97
|
-
slide.caption &&
|
|
98
|
+
slide.caption && React.createElement(
|
|
98
99
|
'p',
|
|
99
100
|
{ className: 'p-2' },
|
|
100
101
|
slide.caption
|
|
@@ -684,14 +685,14 @@ function coerce(val) {
|
|
|
684
685
|
return val;
|
|
685
686
|
}
|
|
686
687
|
});
|
|
687
|
-
debug.coerce;
|
|
688
|
-
debug.disable;
|
|
689
|
-
debug.enable;
|
|
690
|
-
debug.enabled;
|
|
691
|
-
debug.humanize;
|
|
692
|
-
debug.names;
|
|
693
|
-
debug.skips;
|
|
694
|
-
debug.formatters;
|
|
688
|
+
var debug_1 = debug.coerce;
|
|
689
|
+
var debug_2 = debug.disable;
|
|
690
|
+
var debug_3 = debug.enable;
|
|
691
|
+
var debug_4 = debug.enabled;
|
|
692
|
+
var debug_5 = debug.humanize;
|
|
693
|
+
var debug_6 = debug.names;
|
|
694
|
+
var debug_7 = debug.skips;
|
|
695
|
+
var debug_8 = debug.formatters;
|
|
695
696
|
|
|
696
697
|
var browser = createCommonjsModule(function (module, exports) {
|
|
697
698
|
/**
|
|
@@ -880,13 +881,13 @@ function localstorage() {
|
|
|
880
881
|
} catch (e) {}
|
|
881
882
|
}
|
|
882
883
|
});
|
|
883
|
-
browser.log;
|
|
884
|
-
browser.formatArgs;
|
|
885
|
-
browser.save;
|
|
886
|
-
browser.load;
|
|
887
|
-
browser.useColors;
|
|
888
|
-
browser.storage;
|
|
889
|
-
browser.colors;
|
|
884
|
+
var browser_1 = browser.log;
|
|
885
|
+
var browser_2 = browser.formatArgs;
|
|
886
|
+
var browser_3 = browser.save;
|
|
887
|
+
var browser_4 = browser.load;
|
|
888
|
+
var browser_5 = browser.useColors;
|
|
889
|
+
var browser_6 = browser.storage;
|
|
890
|
+
var browser_7 = browser.colors;
|
|
890
891
|
|
|
891
892
|
// MIT lisence
|
|
892
893
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1161,14 +1162,14 @@ function init (debug) {
|
|
|
1161
1162
|
|
|
1162
1163
|
exports.enable(load());
|
|
1163
1164
|
});
|
|
1164
|
-
node.init;
|
|
1165
|
-
node.log;
|
|
1166
|
-
node.formatArgs;
|
|
1167
|
-
node.save;
|
|
1168
|
-
node.load;
|
|
1169
|
-
node.useColors;
|
|
1170
|
-
node.colors;
|
|
1171
|
-
node.inspectOpts;
|
|
1165
|
+
var node_1 = node.init;
|
|
1166
|
+
var node_2 = node.log;
|
|
1167
|
+
var node_3 = node.formatArgs;
|
|
1168
|
+
var node_4 = node.save;
|
|
1169
|
+
var node_5 = node.load;
|
|
1170
|
+
var node_6 = node.useColors;
|
|
1171
|
+
var node_7 = node.colors;
|
|
1172
|
+
var node_8 = node.inspectOpts;
|
|
1172
1173
|
|
|
1173
1174
|
var src = createCommonjsModule(function (module) {
|
|
1174
1175
|
/**
|
|
@@ -1626,11 +1627,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1626
1627
|
|
|
1627
1628
|
function filterResetOptions(opts) {
|
|
1628
1629
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1629
|
-
playerVars: _objectSpread({
|
|
1630
|
+
playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
|
|
1630
1631
|
autoplay: 0,
|
|
1631
1632
|
start: 0,
|
|
1632
1633
|
end: 0
|
|
1633
|
-
}
|
|
1634
|
+
})
|
|
1634
1635
|
});
|
|
1635
1636
|
}
|
|
1636
1637
|
/**
|
|
@@ -1836,9 +1837,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1836
1837
|
}, {
|
|
1837
1838
|
key: "render",
|
|
1838
1839
|
value: function render() {
|
|
1839
|
-
return /*#__PURE__*/
|
|
1840
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1840
1841
|
className: this.props.containerClassName
|
|
1841
|
-
}, /*#__PURE__*/
|
|
1842
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1842
1843
|
id: this.props.id,
|
|
1843
1844
|
className: this.props.className,
|
|
1844
1845
|
ref: this.refContainer
|
|
@@ -1847,7 +1848,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1847
1848
|
}]);
|
|
1848
1849
|
|
|
1849
1850
|
return YouTube;
|
|
1850
|
-
}(
|
|
1851
|
+
}(React.Component);
|
|
1851
1852
|
|
|
1852
1853
|
_defineProperty(YouTube, "PlayerState", {
|
|
1853
1854
|
UNSTARTED: -1,
|
|
@@ -1932,7 +1933,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1932
1933
|
var queue = Math.floor(duration / 10);
|
|
1933
1934
|
var segment = Math.floor(current / queue);
|
|
1934
1935
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
1935
|
-
Segment.report_video_event('Video Ready',
|
|
1936
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
1936
1937
|
};
|
|
1937
1938
|
|
|
1938
1939
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -1943,7 +1944,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1943
1944
|
|
|
1944
1945
|
if (!queueProgress.includes(segment)) {
|
|
1945
1946
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
1946
|
-
Segment.report_video_event('Video Segment',
|
|
1947
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
1947
1948
|
queueProgress.push(segment);
|
|
1948
1949
|
}
|
|
1949
1950
|
};
|
|
@@ -1957,7 +1958,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1957
1958
|
var segment = Math.floor(current / queue);
|
|
1958
1959
|
|
|
1959
1960
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
1960
|
-
Segment.report_video_event('Video Play',
|
|
1961
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
1961
1962
|
|
|
1962
1963
|
if (!playReported) {
|
|
1963
1964
|
setPlayReported(true);
|
|
@@ -1977,7 +1978,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1977
1978
|
var segment = Math.floor(current / queue);
|
|
1978
1979
|
|
|
1979
1980
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
1980
|
-
Segment.report_video_event('Video End',
|
|
1981
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
1981
1982
|
setEndReported(true);
|
|
1982
1983
|
clearInterval(intervalID);
|
|
1983
1984
|
}
|
|
@@ -1991,14 +1992,14 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1991
1992
|
var segment = Math.floor(current / queue);
|
|
1992
1993
|
|
|
1993
1994
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
1994
|
-
Segment.report_video_event('Video Pause',
|
|
1995
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
1995
1996
|
};
|
|
1996
1997
|
|
|
1997
|
-
return
|
|
1998
|
+
return React.createElement(
|
|
1998
1999
|
'div',
|
|
1999
2000
|
{ id: 'fluid-video-container' },
|
|
2000
|
-
|
|
2001
|
-
|
|
2001
|
+
React.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2002
|
+
React.createElement(
|
|
2002
2003
|
'style',
|
|
2003
2004
|
{ jsx: 'true' },
|
|
2004
2005
|
'\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 '
|
|
@@ -2011,20 +2012,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2011
2012
|
content = _ref.content,
|
|
2012
2013
|
getSerializers = _ref.getSerializers;
|
|
2013
2014
|
|
|
2014
|
-
return
|
|
2015
|
+
return React.createElement(
|
|
2015
2016
|
'article',
|
|
2016
2017
|
{ className: 'sidebar' },
|
|
2017
|
-
|
|
2018
|
+
React.createElement(
|
|
2018
2019
|
'div',
|
|
2019
2020
|
null,
|
|
2020
|
-
|
|
2021
|
+
React.createElement(
|
|
2021
2022
|
'h3',
|
|
2022
2023
|
null,
|
|
2023
2024
|
caption
|
|
2024
2025
|
),
|
|
2025
|
-
|
|
2026
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2026
2027
|
),
|
|
2027
|
-
|
|
2028
|
+
React.createElement(
|
|
2028
2029
|
'style',
|
|
2029
2030
|
{ jsx: 'true' },
|
|
2030
2031
|
'\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 '
|
|
@@ -2035,18 +2036,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2035
2036
|
var TableShow = function TableShow(_ref) {
|
|
2036
2037
|
var rows = _ref.rows;
|
|
2037
2038
|
|
|
2038
|
-
return
|
|
2039
|
+
return React.createElement(
|
|
2039
2040
|
Table,
|
|
2040
2041
|
{ bordered: true, hover: true, responsive: true },
|
|
2041
|
-
|
|
2042
|
+
React.createElement(
|
|
2042
2043
|
'tbody',
|
|
2043
2044
|
null,
|
|
2044
2045
|
rows && rows.map(function (row) {
|
|
2045
|
-
return
|
|
2046
|
+
return React.createElement(
|
|
2046
2047
|
'tr',
|
|
2047
2048
|
{ key: row._key },
|
|
2048
2049
|
row.cells && row.cells.map(function (cell, index) {
|
|
2049
|
-
return cell &&
|
|
2050
|
+
return cell && React.createElement(
|
|
2050
2051
|
'td',
|
|
2051
2052
|
{ key: index },
|
|
2052
2053
|
cell
|
|
@@ -2144,25 +2145,25 @@ var Media = function Media(_ref) {
|
|
|
2144
2145
|
margin: imageMargin
|
|
2145
2146
|
};
|
|
2146
2147
|
|
|
2147
|
-
return
|
|
2148
|
+
return React.createElement(
|
|
2148
2149
|
Figure$1,
|
|
2149
2150
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2150
|
-
|
|
2151
|
+
React.createElement(
|
|
2151
2152
|
'a',
|
|
2152
2153
|
{ href: urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2153
|
-
|
|
2154
|
+
React.createElement(
|
|
2154
2155
|
LazyLoad,
|
|
2155
2156
|
{ once: true },
|
|
2156
|
-
|
|
2157
|
+
React.createElement(
|
|
2157
2158
|
'picture',
|
|
2158
2159
|
null,
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2160
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2161
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2162
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2163
|
+
React.createElement('img', _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2163
2164
|
)
|
|
2164
2165
|
),
|
|
2165
|
-
caption &&
|
|
2166
|
+
caption && React.createElement(
|
|
2166
2167
|
Figure$1.Caption,
|
|
2167
2168
|
{ className: 'media-caption' },
|
|
2168
2169
|
caption
|
|
@@ -2170,7 +2171,7 @@ var Media = function Media(_ref) {
|
|
|
2170
2171
|
)
|
|
2171
2172
|
);
|
|
2172
2173
|
} else if (caption && caption !== '') {
|
|
2173
|
-
return
|
|
2174
|
+
return React.createElement(
|
|
2174
2175
|
'a',
|
|
2175
2176
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2176
2177
|
href: urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2190,10 +2191,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2190
2191
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2191
2192
|
|
|
2192
2193
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2193
|
-
return
|
|
2194
|
+
return React.createElement(
|
|
2194
2195
|
'div',
|
|
2195
2196
|
{ className: 'd-block text-center mb-3' },
|
|
2196
|
-
|
|
2197
|
+
React.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2197
2198
|
);
|
|
2198
2199
|
};
|
|
2199
2200
|
|
|
@@ -2203,7 +2204,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2203
2204
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2204
2205
|
|
|
2205
2206
|
var choiceArray = choices.map(function (choice) {
|
|
2206
|
-
return
|
|
2207
|
+
return React.createElement(Form.Check, {
|
|
2207
2208
|
inline: true,
|
|
2208
2209
|
label: choice.choiceText,
|
|
2209
2210
|
value: choice.choiceText,
|
|
@@ -2213,19 +2214,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2213
2214
|
onClick: handlePollAnswer
|
|
2214
2215
|
});
|
|
2215
2216
|
});
|
|
2216
|
-
return
|
|
2217
|
+
return React.createElement(
|
|
2217
2218
|
'div',
|
|
2218
2219
|
{
|
|
2219
2220
|
key: 'inline-radio',
|
|
2220
2221
|
className: 'mb-3' },
|
|
2221
|
-
|
|
2222
|
+
React.createElement(
|
|
2222
2223
|
'h2',
|
|
2223
2224
|
{
|
|
2224
2225
|
className: 'radioLabelText'
|
|
2225
2226
|
},
|
|
2226
2227
|
question
|
|
2227
2228
|
),
|
|
2228
|
-
|
|
2229
|
+
React.createElement(
|
|
2229
2230
|
'div',
|
|
2230
2231
|
{
|
|
2231
2232
|
className: 'multiChoiceDiv'
|
|
@@ -2240,19 +2241,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2240
2241
|
textAnswer = _ref.textAnswer,
|
|
2241
2242
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2242
2243
|
|
|
2243
|
-
return
|
|
2244
|
+
return React.createElement(
|
|
2244
2245
|
'div',
|
|
2245
2246
|
{
|
|
2246
2247
|
className: 'textInputDiv'
|
|
2247
2248
|
},
|
|
2248
|
-
|
|
2249
|
+
React.createElement(
|
|
2249
2250
|
'h2',
|
|
2250
2251
|
{
|
|
2251
2252
|
className: 'textInputQuestion'
|
|
2252
2253
|
},
|
|
2253
2254
|
textInputQuestion
|
|
2254
2255
|
),
|
|
2255
|
-
|
|
2256
|
+
React.createElement(Form.Control, {
|
|
2256
2257
|
type: 'text',
|
|
2257
2258
|
className: 'textInput',
|
|
2258
2259
|
value: textAnswer,
|
|
@@ -2362,7 +2363,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2362
2363
|
var pollArray = [];
|
|
2363
2364
|
pollItems.forEach(function (item, ind) {
|
|
2364
2365
|
if (item.format === 'multiChoice') {
|
|
2365
|
-
pollArray.push(
|
|
2366
|
+
pollArray.push(React.createElement(PopupMultiChoice, {
|
|
2366
2367
|
question: item.question,
|
|
2367
2368
|
choices: item.choices,
|
|
2368
2369
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2370,7 +2371,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2370
2371
|
}));
|
|
2371
2372
|
}
|
|
2372
2373
|
if (item.format === 'textInput') {
|
|
2373
|
-
pollArray.push(
|
|
2374
|
+
pollArray.push(React.createElement(PopupPollTextInput, {
|
|
2374
2375
|
textInputQuestion: item.question,
|
|
2375
2376
|
textanswer: textAnswer,
|
|
2376
2377
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2379,26 +2380,26 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2379
2380
|
}
|
|
2380
2381
|
});
|
|
2381
2382
|
|
|
2382
|
-
return
|
|
2383
|
+
return React.createElement(
|
|
2383
2384
|
'div',
|
|
2384
2385
|
{
|
|
2385
2386
|
className: 'modalDiv',
|
|
2386
2387
|
id: 'modalDiv'
|
|
2387
2388
|
},
|
|
2388
|
-
|
|
2389
|
+
React.createElement(
|
|
2389
2390
|
Modal.Dialog,
|
|
2390
2391
|
null,
|
|
2391
|
-
|
|
2392
|
+
React.createElement(
|
|
2392
2393
|
Modal.Body,
|
|
2393
2394
|
null,
|
|
2394
|
-
|
|
2395
|
+
React.createElement(
|
|
2395
2396
|
Form,
|
|
2396
2397
|
{
|
|
2397
2398
|
onSubmit: handleSubmit,
|
|
2398
2399
|
className: 'modalForm'
|
|
2399
2400
|
},
|
|
2400
2401
|
pollArray,
|
|
2401
|
-
textInputRender && !multiChoiceRender ?
|
|
2402
|
+
textInputRender && !multiChoiceRender ? React.createElement(
|
|
2402
2403
|
Button,
|
|
2403
2404
|
{
|
|
2404
2405
|
className: 'submitButton',
|
|
@@ -2407,7 +2408,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2407
2408
|
disabled: !textAnswer
|
|
2408
2409
|
},
|
|
2409
2410
|
'Submit'
|
|
2410
|
-
) :
|
|
2411
|
+
) : React.createElement(
|
|
2411
2412
|
Button,
|
|
2412
2413
|
{
|
|
2413
2414
|
className: 'submitButton',
|
|
@@ -2493,7 +2494,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2493
2494
|
var queue = Math.floor(duration / 10);
|
|
2494
2495
|
var segment = Math.floor(current / queue);
|
|
2495
2496
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'MP4')
|
|
2496
|
-
Segment.report_video_event('Video Ready',
|
|
2497
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'MP4');
|
|
2497
2498
|
};
|
|
2498
2499
|
|
|
2499
2500
|
var handlePlayPercent = function handlePlayPercent(player) {
|
|
@@ -2503,7 +2504,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2503
2504
|
var segment = Math.floor(current / queue);
|
|
2504
2505
|
if (!queueProgress.includes(segment)) {
|
|
2505
2506
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'MP4')
|
|
2506
|
-
Segment.report_video_event('Video Segment',
|
|
2507
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'MP4');
|
|
2507
2508
|
queueProgress.push(segment);
|
|
2508
2509
|
}
|
|
2509
2510
|
};
|
|
@@ -2516,7 +2517,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2516
2517
|
var queue = Math.floor(duration / 10);
|
|
2517
2518
|
var segment = Math.floor(current / queue);
|
|
2518
2519
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'MP4')
|
|
2519
|
-
Segment.report_video_event('Video Play',
|
|
2520
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'MP4');
|
|
2520
2521
|
if (!playReported) {
|
|
2521
2522
|
event.persist();
|
|
2522
2523
|
setPlayReported(true);
|
|
@@ -2559,7 +2560,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2559
2560
|
var segment = Math.floor(current / queue);
|
|
2560
2561
|
clearInterval(intId);
|
|
2561
2562
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'MP4')
|
|
2562
|
-
Segment.report_video_event('Video End',
|
|
2563
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'MP4');
|
|
2563
2564
|
setEndReported(true);
|
|
2564
2565
|
clearInterval(intervalID);
|
|
2565
2566
|
}
|
|
@@ -2573,13 +2574,13 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2573
2574
|
var segment = Math.floor(current / queue);
|
|
2574
2575
|
clearInterval(intId);
|
|
2575
2576
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'MP4')
|
|
2576
|
-
Segment.report_video_event('Video Pause',
|
|
2577
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
2577
2578
|
};
|
|
2578
2579
|
|
|
2579
|
-
return
|
|
2580
|
+
return React.createElement(
|
|
2580
2581
|
'div',
|
|
2581
2582
|
null,
|
|
2582
|
-
isPollingTime ?
|
|
2583
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2583
2584
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2584
2585
|
, { pollItems: pollItems
|
|
2585
2586
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2593,7 +2594,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2593
2594
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2594
2595
|
, multiChoiceRender: multiChoiceRender
|
|
2595
2596
|
}) : null,
|
|
2596
|
-
vidLoaded &&
|
|
2597
|
+
vidLoaded && React.createElement(
|
|
2597
2598
|
'video',
|
|
2598
2599
|
{
|
|
2599
2600
|
poster: thumbnail || '',
|
|
@@ -2611,7 +2612,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2611
2612
|
onPlay: function onPlay(e) {
|
|
2612
2613
|
return handleOnPlay(e);
|
|
2613
2614
|
} },
|
|
2614
|
-
|
|
2615
|
+
React.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2615
2616
|
'Your browser does not support the video tag.'
|
|
2616
2617
|
)
|
|
2617
2618
|
);
|
|
@@ -2762,7 +2763,7 @@ var Video = function Video(_ref) {
|
|
|
2762
2763
|
}
|
|
2763
2764
|
|
|
2764
2765
|
// Beam.report_beam_video('Ready', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2765
|
-
Segment.report_video_event('Video Ready',
|
|
2766
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2766
2767
|
});
|
|
2767
2768
|
// let intId
|
|
2768
2769
|
// const convertTime = (timeStr) => {
|
|
@@ -2797,7 +2798,7 @@ var Video = function Video(_ref) {
|
|
|
2797
2798
|
}, 1000);
|
|
2798
2799
|
}
|
|
2799
2800
|
// Beam.report_beam_video('Play', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2800
|
-
Segment.report_video_event('Video Play',
|
|
2801
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2801
2802
|
});
|
|
2802
2803
|
|
|
2803
2804
|
// pause
|
|
@@ -2808,7 +2809,7 @@ var Video = function Video(_ref) {
|
|
|
2808
2809
|
var segment = Math.floor(current / queue);
|
|
2809
2810
|
clearInterval(intId);
|
|
2810
2811
|
// Beam.report_beam_video('Pause', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2811
|
-
Segment.report_video_event('Video Pause',
|
|
2812
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2812
2813
|
});
|
|
2813
2814
|
|
|
2814
2815
|
// end
|
|
@@ -2819,7 +2820,7 @@ var Video = function Video(_ref) {
|
|
|
2819
2820
|
var segment = Math.floor(current / queue);
|
|
2820
2821
|
clearInterval(intId);
|
|
2821
2822
|
// Beam.report_beam_video('End', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2822
|
-
Segment.report_video_event('Video End',
|
|
2823
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2823
2824
|
// This is for old series format
|
|
2824
2825
|
autoplayNextVideo(evt);
|
|
2825
2826
|
if (nextVideo) {
|
|
@@ -2835,7 +2836,7 @@ var Video = function Video(_ref) {
|
|
|
2835
2836
|
var segment = Math.floor(current / queue);
|
|
2836
2837
|
if (!queueProgress.includes(segment)) {
|
|
2837
2838
|
// Beam.report_beam_video('Segment', deviceType, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID)
|
|
2838
|
-
Segment.report_video_event('Video Segment',
|
|
2839
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment, 'BrightCove', accountIDs.brightcove.playerId, accountIDs.brightcove.accountId, videoID);
|
|
2839
2840
|
queueProgress.push(segment);
|
|
2840
2841
|
}
|
|
2841
2842
|
});
|
|
@@ -2847,7 +2848,7 @@ var Video = function Video(_ref) {
|
|
|
2847
2848
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2848
2849
|
|
|
2849
2850
|
// Beam.report_beam_ad('AD Started', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2850
|
-
Segment.report_ad_event('Video Ad Started',
|
|
2851
|
+
Segment.report_ad_event('Video Ad Started', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2851
2852
|
});
|
|
2852
2853
|
|
|
2853
2854
|
// ad ended
|
|
@@ -2856,16 +2857,16 @@ var Video = function Video(_ref) {
|
|
|
2856
2857
|
// const id = player.ads.ad.id
|
|
2857
2858
|
var adType = 'Bright Cove: ' + player.ads.ad.type;
|
|
2858
2859
|
// Beam.report_beam_ad('AD Ended', deviceType, '', '', '', '', '', adType, duration, id)
|
|
2859
|
-
Segment.report_ad_event('Video Ad Ended',
|
|
2860
|
+
Segment.report_ad_event('Video Ad Ended', main_16, duration, adType, accountIDs.brightcove.playerId, accountIDs.brightcove.accountId);
|
|
2860
2861
|
});
|
|
2861
2862
|
};
|
|
2862
2863
|
|
|
2863
2864
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2864
2865
|
if (videoID) {
|
|
2865
|
-
return
|
|
2866
|
+
return React.createElement(
|
|
2866
2867
|
'div',
|
|
2867
2868
|
null,
|
|
2868
|
-
isPollingTime ?
|
|
2869
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2869
2870
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2870
2871
|
, { pollItems: pollItems
|
|
2871
2872
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2879,7 +2880,7 @@ var Video = function Video(_ref) {
|
|
|
2879
2880
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2880
2881
|
, multiChoiceRender: multiChoiceRender
|
|
2881
2882
|
}) : null,
|
|
2882
|
-
|
|
2883
|
+
React.createElement(ReactPlayerLoader, {
|
|
2883
2884
|
onSuccess: onVideoSuccess,
|
|
2884
2885
|
onFailure: onVideoFailure,
|
|
2885
2886
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2887,17 +2888,17 @@ var Video = function Video(_ref) {
|
|
|
2887
2888
|
playerId: accountIDs.brightcove.playerId,
|
|
2888
2889
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2889
2890
|
}),
|
|
2890
|
-
|
|
2891
|
+
React.createElement(
|
|
2891
2892
|
'style',
|
|
2892
2893
|
{ jsx: 'true' },
|
|
2893
2894
|
'\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 '
|
|
2894
2895
|
)
|
|
2895
2896
|
);
|
|
2896
2897
|
} else if (playlistID) {
|
|
2897
|
-
return
|
|
2898
|
+
return React.createElement(
|
|
2898
2899
|
'div',
|
|
2899
2900
|
null,
|
|
2900
|
-
isPollingTime ?
|
|
2901
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2901
2902
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2902
2903
|
, { pollItems: pollItems
|
|
2903
2904
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2911,7 +2912,7 @@ var Video = function Video(_ref) {
|
|
|
2911
2912
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2912
2913
|
, multiChoiceRender: multiChoiceRender
|
|
2913
2914
|
}) : null,
|
|
2914
|
-
|
|
2915
|
+
React.createElement(ReactPlayerLoader, {
|
|
2915
2916
|
accountId: accountIDs.brightcove.accountId,
|
|
2916
2917
|
playlistId: playlistID,
|
|
2917
2918
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2919,17 +2920,17 @@ var Video = function Video(_ref) {
|
|
|
2919
2920
|
onFailure: onVideoFailure,
|
|
2920
2921
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2921
2922
|
}),
|
|
2922
|
-
|
|
2923
|
+
React.createElement(
|
|
2923
2924
|
'style',
|
|
2924
2925
|
{ jsx: 'true' },
|
|
2925
2926
|
'\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 '
|
|
2926
2927
|
)
|
|
2927
2928
|
);
|
|
2928
2929
|
} else if (experienceID) {
|
|
2929
|
-
return
|
|
2930
|
+
return React.createElement(
|
|
2930
2931
|
'div',
|
|
2931
2932
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2932
|
-
isPollingTime ?
|
|
2933
|
+
isPollingTime ? React.createElement(PopupPollModal
|
|
2933
2934
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2934
2935
|
, { pollItems: pollItems
|
|
2935
2936
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2949,10 +2950,10 @@ var Video = function Video(_ref) {
|
|
|
2949
2950
|
}
|
|
2950
2951
|
|
|
2951
2952
|
if (source === 'mp4') {
|
|
2952
|
-
return
|
|
2953
|
+
return React.createElement(
|
|
2953
2954
|
'div',
|
|
2954
2955
|
null,
|
|
2955
|
-
|
|
2956
|
+
React.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2956
2957
|
);
|
|
2957
2958
|
}
|
|
2958
2959
|
|
|
@@ -3163,9 +3164,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3163
3164
|
});
|
|
3164
3165
|
|
|
3165
3166
|
unwrapExports(props);
|
|
3166
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3167
|
-
props.defaultProps;
|
|
3168
|
-
props.propTypes;
|
|
3167
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3168
|
+
var props_2 = props.defaultProps;
|
|
3169
|
+
var props_3 = props.propTypes;
|
|
3169
3170
|
|
|
3170
3171
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3171
3172
|
return isNonNullObject(value)
|
|
@@ -3557,7 +3558,7 @@ function isEqual(a, b) {
|
|
|
3557
3558
|
return true;
|
|
3558
3559
|
}
|
|
3559
3560
|
|
|
3560
|
-
if ((0,
|
|
3561
|
+
if ((0, React.isValidElement)(a) && (0, React.isValidElement)(b)) {
|
|
3561
3562
|
return true;
|
|
3562
3563
|
}
|
|
3563
3564
|
|
|
@@ -3600,17 +3601,17 @@ function isMediaStream(url) {
|
|
|
3600
3601
|
});
|
|
3601
3602
|
|
|
3602
3603
|
unwrapExports(utils);
|
|
3603
|
-
utils.parseStartTime;
|
|
3604
|
-
utils.parseEndTime;
|
|
3605
|
-
utils.randomString;
|
|
3606
|
-
utils.queryString;
|
|
3607
|
-
utils.getSDK;
|
|
3608
|
-
utils.getConfig;
|
|
3609
|
-
utils.omit;
|
|
3610
|
-
utils.callPlayer;
|
|
3611
|
-
utils.isObject;
|
|
3612
|
-
utils.isEqual;
|
|
3613
|
-
utils.isMediaStream;
|
|
3604
|
+
var utils_1 = utils.parseStartTime;
|
|
3605
|
+
var utils_2 = utils.parseEndTime;
|
|
3606
|
+
var utils_3 = utils.randomString;
|
|
3607
|
+
var utils_4 = utils.queryString;
|
|
3608
|
+
var utils_5 = utils.getSDK;
|
|
3609
|
+
var utils_6 = utils.getConfig;
|
|
3610
|
+
var utils_7 = utils.omit;
|
|
3611
|
+
var utils_8 = utils.callPlayer;
|
|
3612
|
+
var utils_9 = utils.isObject;
|
|
3613
|
+
var utils_10 = utils.isEqual;
|
|
3614
|
+
var utils_11 = utils.isMediaStream;
|
|
3614
3615
|
|
|
3615
3616
|
var Player_1 = createCommonjsModule(function (module, exports) {
|
|
3616
3617
|
|
|
@@ -3619,7 +3620,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3619
3620
|
});
|
|
3620
3621
|
exports["default"] = void 0;
|
|
3621
3622
|
|
|
3622
|
-
var _react = _interopRequireWildcard(
|
|
3623
|
+
var _react = _interopRequireWildcard(React);
|
|
3623
3624
|
|
|
3624
3625
|
|
|
3625
3626
|
|
|
@@ -4029,7 +4030,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4029
4030
|
});
|
|
4030
4031
|
exports["default"] = createSinglePlayer;
|
|
4031
4032
|
|
|
4032
|
-
var _react = _interopRequireWildcard(
|
|
4033
|
+
var _react = _interopRequireWildcard(React);
|
|
4033
4034
|
|
|
4034
4035
|
|
|
4035
4036
|
|
|
@@ -4187,7 +4188,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4187
4188
|
});
|
|
4188
4189
|
exports["default"] = exports.YouTube = void 0;
|
|
4189
4190
|
|
|
4190
|
-
var _react = _interopRequireWildcard(
|
|
4191
|
+
var _react = _interopRequireWildcard(React);
|
|
4191
4192
|
|
|
4192
4193
|
|
|
4193
4194
|
|
|
@@ -4487,7 +4488,7 @@ exports["default"] = _default;
|
|
|
4487
4488
|
});
|
|
4488
4489
|
|
|
4489
4490
|
unwrapExports(YouTube_1);
|
|
4490
|
-
YouTube_1.YouTube;
|
|
4491
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4491
4492
|
|
|
4492
4493
|
var SoundCloud_1 = createCommonjsModule(function (module, exports) {
|
|
4493
4494
|
|
|
@@ -4496,7 +4497,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4496
4497
|
});
|
|
4497
4498
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4498
4499
|
|
|
4499
|
-
var _react = _interopRequireWildcard(
|
|
4500
|
+
var _react = _interopRequireWildcard(React);
|
|
4500
4501
|
|
|
4501
4502
|
|
|
4502
4503
|
|
|
@@ -4704,7 +4705,7 @@ exports["default"] = _default;
|
|
|
4704
4705
|
});
|
|
4705
4706
|
|
|
4706
4707
|
unwrapExports(SoundCloud_1);
|
|
4707
|
-
SoundCloud_1.SoundCloud;
|
|
4708
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4708
4709
|
|
|
4709
4710
|
var Vimeo_1 = createCommonjsModule(function (module, exports) {
|
|
4710
4711
|
|
|
@@ -4713,7 +4714,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4713
4714
|
});
|
|
4714
4715
|
exports["default"] = exports.Vimeo = void 0;
|
|
4715
4716
|
|
|
4716
|
-
var _react = _interopRequireWildcard(
|
|
4717
|
+
var _react = _interopRequireWildcard(React);
|
|
4717
4718
|
|
|
4718
4719
|
|
|
4719
4720
|
|
|
@@ -4960,7 +4961,7 @@ exports["default"] = _default;
|
|
|
4960
4961
|
});
|
|
4961
4962
|
|
|
4962
4963
|
unwrapExports(Vimeo_1);
|
|
4963
|
-
Vimeo_1.Vimeo;
|
|
4964
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4964
4965
|
|
|
4965
4966
|
var Facebook_1 = createCommonjsModule(function (module, exports) {
|
|
4966
4967
|
|
|
@@ -4969,7 +4970,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4969
4970
|
});
|
|
4970
4971
|
exports["default"] = exports.Facebook = void 0;
|
|
4971
4972
|
|
|
4972
|
-
var _react = _interopRequireWildcard(
|
|
4973
|
+
var _react = _interopRequireWildcard(React);
|
|
4973
4974
|
|
|
4974
4975
|
|
|
4975
4976
|
|
|
@@ -5172,7 +5173,7 @@ exports["default"] = _default;
|
|
|
5172
5173
|
});
|
|
5173
5174
|
|
|
5174
5175
|
unwrapExports(Facebook_1);
|
|
5175
|
-
Facebook_1.Facebook;
|
|
5176
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5176
5177
|
|
|
5177
5178
|
var Streamable_1 = createCommonjsModule(function (module, exports) {
|
|
5178
5179
|
|
|
@@ -5181,7 +5182,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5181
5182
|
});
|
|
5182
5183
|
exports["default"] = exports.Streamable = void 0;
|
|
5183
5184
|
|
|
5184
|
-
var _react = _interopRequireWildcard(
|
|
5185
|
+
var _react = _interopRequireWildcard(React);
|
|
5185
5186
|
|
|
5186
5187
|
|
|
5187
5188
|
|
|
@@ -5383,7 +5384,7 @@ exports["default"] = _default;
|
|
|
5383
5384
|
});
|
|
5384
5385
|
|
|
5385
5386
|
unwrapExports(Streamable_1);
|
|
5386
|
-
Streamable_1.Streamable;
|
|
5387
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5387
5388
|
|
|
5388
5389
|
var Wistia_1 = createCommonjsModule(function (module, exports) {
|
|
5389
5390
|
|
|
@@ -5392,7 +5393,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5392
5393
|
});
|
|
5393
5394
|
exports["default"] = exports.Wistia = void 0;
|
|
5394
5395
|
|
|
5395
|
-
var _react = _interopRequireWildcard(
|
|
5396
|
+
var _react = _interopRequireWildcard(React);
|
|
5396
5397
|
|
|
5397
5398
|
|
|
5398
5399
|
|
|
@@ -5626,7 +5627,7 @@ exports["default"] = _default;
|
|
|
5626
5627
|
});
|
|
5627
5628
|
|
|
5628
5629
|
unwrapExports(Wistia_1);
|
|
5629
|
-
Wistia_1.Wistia;
|
|
5630
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5630
5631
|
|
|
5631
5632
|
var Twitch_1 = createCommonjsModule(function (module, exports) {
|
|
5632
5633
|
|
|
@@ -5635,7 +5636,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5635
5636
|
});
|
|
5636
5637
|
exports["default"] = exports.Twitch = void 0;
|
|
5637
5638
|
|
|
5638
|
-
var _react = _interopRequireWildcard(
|
|
5639
|
+
var _react = _interopRequireWildcard(React);
|
|
5639
5640
|
|
|
5640
5641
|
|
|
5641
5642
|
|
|
@@ -5842,7 +5843,7 @@ exports["default"] = _default;
|
|
|
5842
5843
|
});
|
|
5843
5844
|
|
|
5844
5845
|
unwrapExports(Twitch_1);
|
|
5845
|
-
Twitch_1.Twitch;
|
|
5846
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5846
5847
|
|
|
5847
5848
|
var DailyMotion_1 = createCommonjsModule(function (module, exports) {
|
|
5848
5849
|
|
|
@@ -5851,7 +5852,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5851
5852
|
});
|
|
5852
5853
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5853
5854
|
|
|
5854
|
-
var _react = _interopRequireWildcard(
|
|
5855
|
+
var _react = _interopRequireWildcard(React);
|
|
5855
5856
|
|
|
5856
5857
|
|
|
5857
5858
|
|
|
@@ -6078,7 +6079,7 @@ exports["default"] = _default;
|
|
|
6078
6079
|
});
|
|
6079
6080
|
|
|
6080
6081
|
unwrapExports(DailyMotion_1);
|
|
6081
|
-
DailyMotion_1.DailyMotion;
|
|
6082
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6082
6083
|
|
|
6083
6084
|
var Mixcloud_1 = createCommonjsModule(function (module, exports) {
|
|
6084
6085
|
|
|
@@ -6087,7 +6088,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6087
6088
|
});
|
|
6088
6089
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6089
6090
|
|
|
6090
|
-
var _react = _interopRequireWildcard(
|
|
6091
|
+
var _react = _interopRequireWildcard(React);
|
|
6091
6092
|
|
|
6092
6093
|
|
|
6093
6094
|
|
|
@@ -6277,7 +6278,7 @@ exports["default"] = _default;
|
|
|
6277
6278
|
});
|
|
6278
6279
|
|
|
6279
6280
|
unwrapExports(Mixcloud_1);
|
|
6280
|
-
Mixcloud_1.Mixcloud;
|
|
6281
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6281
6282
|
|
|
6282
6283
|
var FilePlayer_1 = createCommonjsModule(function (module, exports) {
|
|
6283
6284
|
|
|
@@ -6286,7 +6287,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6286
6287
|
});
|
|
6287
6288
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6288
6289
|
|
|
6289
|
-
var _react = _interopRequireWildcard(
|
|
6290
|
+
var _react = _interopRequireWildcard(React);
|
|
6290
6291
|
|
|
6291
6292
|
|
|
6292
6293
|
|
|
@@ -6811,7 +6812,7 @@ exports["default"] = _default;
|
|
|
6811
6812
|
});
|
|
6812
6813
|
|
|
6813
6814
|
unwrapExports(FilePlayer_1);
|
|
6814
|
-
FilePlayer_1.FilePlayer;
|
|
6815
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6815
6816
|
|
|
6816
6817
|
var players = createCommonjsModule(function (module, exports) {
|
|
6817
6818
|
|
|
@@ -6853,7 +6854,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6853
6854
|
});
|
|
6854
6855
|
exports["default"] = void 0;
|
|
6855
6856
|
|
|
6856
|
-
var _react = _interopRequireWildcard(
|
|
6857
|
+
var _react = _interopRequireWildcard(React);
|
|
6857
6858
|
|
|
6858
6859
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6859
6860
|
|
|
@@ -7032,7 +7033,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7032
7033
|
});
|
|
7033
7034
|
exports["default"] = renderPreloadPlayers;
|
|
7034
7035
|
|
|
7035
|
-
var _react = _interopRequireDefault(
|
|
7036
|
+
var _react = _interopRequireDefault(React);
|
|
7036
7037
|
|
|
7037
7038
|
var _Player = _interopRequireDefault(Player_1);
|
|
7038
7039
|
|
|
@@ -7171,7 +7172,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7171
7172
|
});
|
|
7172
7173
|
exports["default"] = void 0;
|
|
7173
7174
|
|
|
7174
|
-
var _react = _interopRequireWildcard(
|
|
7175
|
+
var _react = _interopRequireWildcard(React);
|
|
7175
7176
|
|
|
7176
7177
|
|
|
7177
7178
|
|
|
@@ -7485,20 +7486,20 @@ var Audio = function Audio(_ref) {
|
|
|
7485
7486
|
var node = _ref.node;
|
|
7486
7487
|
|
|
7487
7488
|
if (node.uploadAudio) {
|
|
7488
|
-
return
|
|
7489
|
+
return React.createElement(
|
|
7489
7490
|
'div',
|
|
7490
7491
|
{ className: 'audio d-block text-center mb-3' },
|
|
7491
|
-
|
|
7492
|
+
React.createElement(
|
|
7492
7493
|
'audio',
|
|
7493
7494
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7494
|
-
|
|
7495
|
-
|
|
7495
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7496
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7496
7497
|
'Your browser does not support the audio element.'
|
|
7497
7498
|
),
|
|
7498
|
-
node.caption &&
|
|
7499
|
+
node.caption && React.createElement(
|
|
7499
7500
|
'p',
|
|
7500
7501
|
{ style: { fontSize: '.9rem' } },
|
|
7501
|
-
|
|
7502
|
+
React.createElement(
|
|
7502
7503
|
'em',
|
|
7503
7504
|
null,
|
|
7504
7505
|
node.caption
|
|
@@ -7508,15 +7509,15 @@ var Audio = function Audio(_ref) {
|
|
|
7508
7509
|
} else if (node.audioFilePth) {
|
|
7509
7510
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7510
7511
|
if (hostname === 'embeds.audioboom.com') {
|
|
7511
|
-
return
|
|
7512
|
+
return React.createElement(
|
|
7512
7513
|
'div',
|
|
7513
7514
|
null,
|
|
7514
|
-
|
|
7515
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7515
7516
|
' ',
|
|
7516
|
-
node.caption &&
|
|
7517
|
+
node.caption && React.createElement(
|
|
7517
7518
|
'p',
|
|
7518
7519
|
{ style: { fontSize: '.9rem' } },
|
|
7519
|
-
|
|
7520
|
+
React.createElement(
|
|
7520
7521
|
'em',
|
|
7521
7522
|
null,
|
|
7522
7523
|
node.caption
|
|
@@ -7524,14 +7525,14 @@ var Audio = function Audio(_ref) {
|
|
|
7524
7525
|
)
|
|
7525
7526
|
);
|
|
7526
7527
|
}
|
|
7527
|
-
return
|
|
7528
|
+
return React.createElement(
|
|
7528
7529
|
'div',
|
|
7529
7530
|
{ className: 'audio' },
|
|
7530
|
-
|
|
7531
|
-
node.caption &&
|
|
7531
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7532
|
+
node.caption && React.createElement(
|
|
7532
7533
|
'p',
|
|
7533
7534
|
{ style: { fontSize: '.9rem' } },
|
|
7534
|
-
|
|
7535
|
+
React.createElement(
|
|
7535
7536
|
'em',
|
|
7536
7537
|
null,
|
|
7537
7538
|
node.caption
|
|
@@ -7550,34 +7551,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7550
7551
|
var showAuthorDetails = arguments[7];
|
|
7551
7552
|
|
|
7552
7553
|
if (authorName && authorURL) {
|
|
7553
|
-
return
|
|
7554
|
+
return React.createElement(
|
|
7554
7555
|
'span',
|
|
7555
7556
|
null,
|
|
7556
|
-
|
|
7557
|
+
React.createElement(
|
|
7557
7558
|
'a',
|
|
7558
7559
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7559
7560
|
authorName
|
|
7560
7561
|
),
|
|
7561
|
-
showAuthorDetails &&
|
|
7562
|
+
showAuthorDetails && React.createElement(
|
|
7562
7563
|
Card,
|
|
7563
7564
|
{ className: 'author-details-card-' + index },
|
|
7564
|
-
|
|
7565
|
+
React.createElement(
|
|
7565
7566
|
Row,
|
|
7566
7567
|
null,
|
|
7567
|
-
profileImage &&
|
|
7568
|
+
profileImage && React.createElement(
|
|
7568
7569
|
Col,
|
|
7569
7570
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7570
|
-
|
|
7571
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7571
7572
|
),
|
|
7572
|
-
|
|
7573
|
+
React.createElement(
|
|
7573
7574
|
Col,
|
|
7574
7575
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7575
|
-
|
|
7576
|
+
React.createElement(
|
|
7576
7577
|
'div',
|
|
7577
7578
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7578
7579
|
authorName
|
|
7579
7580
|
),
|
|
7580
|
-
|
|
7581
|
+
React.createElement(
|
|
7581
7582
|
'p',
|
|
7582
7583
|
null,
|
|
7583
7584
|
biography
|
|
@@ -7585,7 +7586,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7585
7586
|
)
|
|
7586
7587
|
)
|
|
7587
7588
|
),
|
|
7588
|
-
|
|
7589
|
+
React.createElement(
|
|
7589
7590
|
'style',
|
|
7590
7591
|
{ jsx: 'true' },
|
|
7591
7592
|
'\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 '
|
|
@@ -7593,7 +7594,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7593
7594
|
length !== index + 1 && ', '
|
|
7594
7595
|
);
|
|
7595
7596
|
} else if (authorName) {
|
|
7596
|
-
return
|
|
7597
|
+
return React.createElement(
|
|
7597
7598
|
'span',
|
|
7598
7599
|
{ key: index },
|
|
7599
7600
|
authorName,
|
|
@@ -7749,7 +7750,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7749
7750
|
var queue = Math.floor(duration / 10);
|
|
7750
7751
|
var segment = Math.floor(current / queue);
|
|
7751
7752
|
//Beam.report_beam_video('Ready', deviceType, duration, current, segment)
|
|
7752
|
-
Segment.report_video_event('Video Ready',
|
|
7753
|
+
Segment.report_video_event('Video Ready', main_16, duration, current, segment);
|
|
7753
7754
|
//autoplay
|
|
7754
7755
|
|
|
7755
7756
|
//Small pause before starting next video
|
|
@@ -7770,7 +7771,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7770
7771
|
var segment = Math.floor(current / queue);
|
|
7771
7772
|
|
|
7772
7773
|
//Beam.report_beam_video('End', deviceType, duration, current, segment)
|
|
7773
|
-
Segment.report_video_event('Video End',
|
|
7774
|
+
Segment.report_video_event('Video End', main_16, duration, current, segment);
|
|
7774
7775
|
setEndReported(true);
|
|
7775
7776
|
clearInterval(intervalID);
|
|
7776
7777
|
}
|
|
@@ -7821,7 +7822,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7821
7822
|
var segment = Math.floor(current / queue);
|
|
7822
7823
|
if (!queueProgress.includes(segment)) {
|
|
7823
7824
|
//Beam.report_beam_video('Segment', deviceType, duration, current, segment)
|
|
7824
|
-
Segment.report_video_event('Video Segment',
|
|
7825
|
+
Segment.report_video_event('Video Segment', main_16, duration, current, segment);
|
|
7825
7826
|
queueProgress.push(segment);
|
|
7826
7827
|
}
|
|
7827
7828
|
};
|
|
@@ -7835,7 +7836,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7835
7836
|
var segment = Math.floor(current / queue);
|
|
7836
7837
|
|
|
7837
7838
|
//Beam.report_beam_video('Play', deviceType, duration, current, segment)
|
|
7838
|
-
Segment.report_video_event('Video Play',
|
|
7839
|
+
Segment.report_video_event('Video Play', main_16, duration, current, segment);
|
|
7839
7840
|
|
|
7840
7841
|
if (!playReported) {
|
|
7841
7842
|
setPlayReported(true);
|
|
@@ -7854,7 +7855,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7854
7855
|
var segment = Math.floor(current / queue);
|
|
7855
7856
|
|
|
7856
7857
|
//Beam.report_beam_video('Pause', deviceType, duration, current, segment)
|
|
7857
|
-
Segment.report_video_event('Video Pause',
|
|
7858
|
+
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
7858
7859
|
};
|
|
7859
7860
|
|
|
7860
7861
|
// Youtube Options
|
|
@@ -7865,44 +7866,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7865
7866
|
}
|
|
7866
7867
|
};
|
|
7867
7868
|
|
|
7868
|
-
return
|
|
7869
|
+
return React.createElement(
|
|
7869
7870
|
'div',
|
|
7870
7871
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7871
|
-
|
|
7872
|
+
React.createElement(
|
|
7872
7873
|
'div',
|
|
7873
7874
|
{ className: 'mt-2 mb-5' },
|
|
7874
|
-
series &&
|
|
7875
|
+
series && React.createElement(
|
|
7875
7876
|
'div',
|
|
7876
7877
|
{ style: { fontSize: '0.9rem' } },
|
|
7877
7878
|
article.title,
|
|
7878
7879
|
' - Episode ',
|
|
7879
7880
|
series
|
|
7880
7881
|
),
|
|
7881
|
-
Videos[series - 1] &&
|
|
7882
|
+
Videos[series - 1] && React.createElement(
|
|
7882
7883
|
'h1',
|
|
7883
7884
|
{ className: 'mb-3' },
|
|
7884
7885
|
Videos[series - 1].title
|
|
7885
7886
|
),
|
|
7886
|
-
|
|
7887
|
+
React.createElement(
|
|
7887
7888
|
'div',
|
|
7888
7889
|
null,
|
|
7889
7890
|
moment(article.published).format('LL')
|
|
7890
7891
|
),
|
|
7891
|
-
|
|
7892
|
+
React.createElement(
|
|
7892
7893
|
'div',
|
|
7893
7894
|
{ className: 'mb-3' },
|
|
7894
7895
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7895
|
-
return
|
|
7896
|
+
return React.createElement(
|
|
7896
7897
|
'span',
|
|
7897
7898
|
{ key: index },
|
|
7898
7899
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7899
7900
|
);
|
|
7900
7901
|
})
|
|
7901
7902
|
),
|
|
7902
|
-
|
|
7903
|
+
React.createElement(
|
|
7903
7904
|
'p',
|
|
7904
7905
|
null,
|
|
7905
|
-
|
|
7906
|
+
React.createElement(SocialShare, {
|
|
7906
7907
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7907
7908
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7908
7909
|
shareVia: meta.shareVia,
|
|
@@ -7917,20 +7918,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7917
7918
|
hideFacebook: meta.hideFBShare
|
|
7918
7919
|
})
|
|
7919
7920
|
),
|
|
7920
|
-
Videos[series - 1] && Videos[series - 1].intro &&
|
|
7921
|
+
Videos[series - 1] && Videos[series - 1].intro && React.createElement(
|
|
7921
7922
|
'p',
|
|
7922
7923
|
{ className: 'mb-3' },
|
|
7923
|
-
|
|
7924
|
+
React.createElement(
|
|
7924
7925
|
'em',
|
|
7925
7926
|
null,
|
|
7926
7927
|
Videos[series - 1].intro
|
|
7927
7928
|
)
|
|
7928
7929
|
)
|
|
7929
7930
|
),
|
|
7930
|
-
|
|
7931
|
+
React.createElement(
|
|
7931
7932
|
'div',
|
|
7932
7933
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7933
|
-
vidUrl && vidType == 'youtube' &&
|
|
7934
|
+
vidUrl && vidType == 'youtube' && React.createElement(YouTube, {
|
|
7934
7935
|
className: 'fluid-iframe',
|
|
7935
7936
|
videoId: getYoutubeId(vidUrl),
|
|
7936
7937
|
opts: opts,
|
|
@@ -7941,10 +7942,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7941
7942
|
return handleOnEnd(e);
|
|
7942
7943
|
}
|
|
7943
7944
|
}),
|
|
7944
|
-
vidUrl && vidType == 'mp4' &&
|
|
7945
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7946
|
-
|
|
7947
|
-
series &&
|
|
7945
|
+
vidUrl && vidType == 'mp4' && React.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7946
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7947
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7948
|
+
series && React.createElement(
|
|
7948
7949
|
'div',
|
|
7949
7950
|
{
|
|
7950
7951
|
className: 'vid-series',
|
|
@@ -7954,10 +7955,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7954
7955
|
maxHeight: '100%',
|
|
7955
7956
|
paddingBottom: '0'
|
|
7956
7957
|
} },
|
|
7957
|
-
|
|
7958
|
+
React.createElement(
|
|
7958
7959
|
'p',
|
|
7959
7960
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7960
|
-
|
|
7961
|
+
React.createElement(
|
|
7961
7962
|
'b',
|
|
7962
7963
|
{ style: { fontSize: '1.25em' } },
|
|
7963
7964
|
'Now Playing:'
|
|
@@ -7965,16 +7966,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7965
7966
|
' ',
|
|
7966
7967
|
seriesData[series ? series - 1 : 0].title
|
|
7967
7968
|
),
|
|
7968
|
-
vidUrl &&
|
|
7969
|
+
vidUrl && React.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7969
7970
|
)
|
|
7970
7971
|
),
|
|
7971
|
-
|
|
7972
|
-
|
|
7972
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7973
|
+
React.createElement(
|
|
7973
7974
|
'div',
|
|
7974
7975
|
{ className: 'vid-text' },
|
|
7975
|
-
Videos[series - 1] && Videos[series - 1].text &&
|
|
7976
|
+
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()))
|
|
7976
7977
|
),
|
|
7977
|
-
|
|
7978
|
+
React.createElement(
|
|
7978
7979
|
'style',
|
|
7979
7980
|
{ jsx: 'true' },
|
|
7980
7981
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -7982,14 +7983,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7982
7983
|
);
|
|
7983
7984
|
};
|
|
7984
7985
|
|
|
7985
|
-
var Poll
|
|
7986
|
-
var node = _ref.node
|
|
7987
|
-
_ref.client
|
|
7988
|
-
_ref.pageview
|
|
7989
|
-
_ref.videoAccountIDs
|
|
7990
|
-
|
|
7991
|
-
_ref.showVotes
|
|
7992
|
-
|
|
7986
|
+
var Poll = function Poll(_ref) {
|
|
7987
|
+
var node = _ref.node,
|
|
7988
|
+
client = _ref.client,
|
|
7989
|
+
pageview = _ref.pageview,
|
|
7990
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7991
|
+
onVote = _ref.onVote,
|
|
7992
|
+
_ref$showVotes = _ref.showVotes,
|
|
7993
|
+
getSerializers = _ref.getSerializers;
|
|
7993
7994
|
|
|
7994
7995
|
var _useState = useState(null),
|
|
7995
7996
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8027,67 +8028,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8027
8028
|
return acc;
|
|
8028
8029
|
}
|
|
8029
8030
|
}, 0);
|
|
8030
|
-
return
|
|
8031
|
-
|
|
8031
|
+
return React.createElement(
|
|
8032
|
+
React.Fragment,
|
|
8032
8033
|
null,
|
|
8033
|
-
question &&
|
|
8034
|
+
question && React.createElement(
|
|
8034
8035
|
'p',
|
|
8035
8036
|
{ className: 'font-weight-bold' },
|
|
8036
8037
|
question
|
|
8037
8038
|
),
|
|
8038
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8039
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8039
8040
|
'form',
|
|
8040
8041
|
{ onSubmit: function onSubmit(e) {
|
|
8041
8042
|
return onSubmitPoll(e);
|
|
8042
8043
|
} },
|
|
8043
8044
|
choices && choices.map(function (choice) {
|
|
8044
|
-
return
|
|
8045
|
+
return React.createElement(
|
|
8045
8046
|
'div',
|
|
8046
8047
|
{ key: choice._key },
|
|
8047
|
-
|
|
8048
|
+
React.createElement(
|
|
8048
8049
|
'label',
|
|
8049
8050
|
{ className: 'pl-2' },
|
|
8050
|
-
|
|
8051
|
+
React.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8051
8052
|
return setSelectedChoice(e.target.value);
|
|
8052
8053
|
} }),
|
|
8053
8054
|
' ' + choice.choiceText
|
|
8054
8055
|
)
|
|
8055
8056
|
);
|
|
8056
8057
|
}),
|
|
8057
|
-
|
|
8058
|
+
React.createElement(
|
|
8058
8059
|
Button$1,
|
|
8059
8060
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8060
8061
|
'Vote'
|
|
8061
8062
|
)
|
|
8062
8063
|
),
|
|
8063
|
-
|
|
8064
|
+
React.createElement(
|
|
8064
8065
|
'div',
|
|
8065
8066
|
{ className: 'progress-container' },
|
|
8066
8067
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8067
8068
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8068
|
-
return
|
|
8069
|
+
return React.createElement(
|
|
8069
8070
|
'div',
|
|
8070
8071
|
{ key: choice._key, className: 'mb-3' },
|
|
8071
|
-
|
|
8072
|
+
React.createElement(
|
|
8072
8073
|
'div',
|
|
8073
8074
|
{ className: 'correct-answer' },
|
|
8074
|
-
|
|
8075
|
+
React.createElement(
|
|
8075
8076
|
'div',
|
|
8076
8077
|
null,
|
|
8077
8078
|
choice.choiceText
|
|
8078
8079
|
),
|
|
8079
|
-
choice.choiceAnswer === true &&
|
|
8080
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8080
8081
|
'div',
|
|
8081
8082
|
null,
|
|
8082
|
-
|
|
8083
|
+
React.createElement(
|
|
8083
8084
|
'span',
|
|
8084
8085
|
{ style: { color: 'limegreen' } },
|
|
8085
8086
|
'Correct!'
|
|
8086
8087
|
)
|
|
8087
8088
|
)
|
|
8088
8089
|
),
|
|
8089
|
-
|
|
8090
|
-
|
|
8090
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8091
|
+
React.createElement(
|
|
8091
8092
|
'span',
|
|
8092
8093
|
{ className: 'float-right' },
|
|
8093
8094
|
percentage,
|
|
@@ -8098,14 +8099,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8098
8099
|
);
|
|
8099
8100
|
})
|
|
8100
8101
|
),
|
|
8101
|
-
showAnswer &&
|
|
8102
|
+
showAnswer && React.createElement(
|
|
8102
8103
|
'h4',
|
|
8103
8104
|
{ className: 'text-center small p-3' },
|
|
8104
8105
|
'Total Votes: ',
|
|
8105
8106
|
choicesTotalCount
|
|
8106
8107
|
),
|
|
8107
|
-
showAnswer && response &&
|
|
8108
|
-
|
|
8108
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8109
|
+
React.createElement(
|
|
8109
8110
|
'style',
|
|
8110
8111
|
{ jsx: 'true' },
|
|
8111
8112
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8123,22 +8124,22 @@ _export(_export.S, 'Object', {
|
|
|
8123
8124
|
}
|
|
8124
8125
|
});
|
|
8125
8126
|
|
|
8126
|
-
var values
|
|
8127
|
+
var values = _core.Object.values;
|
|
8127
8128
|
|
|
8128
|
-
var values = createCommonjsModule(function (module) {
|
|
8129
|
-
module.exports = { "default": values
|
|
8129
|
+
var values$1 = createCommonjsModule(function (module) {
|
|
8130
|
+
module.exports = { "default": values, __esModule: true };
|
|
8130
8131
|
});
|
|
8131
8132
|
|
|
8132
|
-
var _Object$values = unwrapExports(values);
|
|
8133
|
+
var _Object$values = unwrapExports(values$1);
|
|
8133
8134
|
|
|
8134
|
-
var Poll = function Poll(_ref) {
|
|
8135
|
-
var node = _ref.node
|
|
8136
|
-
_ref.client
|
|
8137
|
-
_ref.pageview
|
|
8138
|
-
_ref.videoAccountIDs
|
|
8139
|
-
|
|
8140
|
-
_ref.showVotes
|
|
8141
|
-
|
|
8135
|
+
var Poll$1 = function Poll(_ref) {
|
|
8136
|
+
var node = _ref.node,
|
|
8137
|
+
client = _ref.client,
|
|
8138
|
+
pageview = _ref.pageview,
|
|
8139
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8140
|
+
onVote = _ref.onVote,
|
|
8141
|
+
_ref$showVotes = _ref.showVotes,
|
|
8142
|
+
getSerializers = _ref.getSerializers;
|
|
8142
8143
|
|
|
8143
8144
|
var _useState = useState(null),
|
|
8144
8145
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8204,67 +8205,67 @@ var Poll = function Poll(_ref) {
|
|
|
8204
8205
|
return acc;
|
|
8205
8206
|
}
|
|
8206
8207
|
}, 0);
|
|
8207
|
-
return
|
|
8208
|
-
|
|
8208
|
+
return React.createElement(
|
|
8209
|
+
React.Fragment,
|
|
8209
8210
|
null,
|
|
8210
|
-
question &&
|
|
8211
|
+
question && React.createElement(
|
|
8211
8212
|
'p',
|
|
8212
8213
|
{ className: 'font-weight-bold' },
|
|
8213
8214
|
question
|
|
8214
8215
|
),
|
|
8215
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
8216
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
8216
8217
|
'form',
|
|
8217
8218
|
{ onSubmit: function onSubmit(e) {
|
|
8218
8219
|
return onSubmitPoll(e);
|
|
8219
8220
|
} },
|
|
8220
8221
|
choices && choices.map(function (choice) {
|
|
8221
|
-
return
|
|
8222
|
+
return React.createElement(
|
|
8222
8223
|
'div',
|
|
8223
8224
|
{ key: choice._key },
|
|
8224
|
-
|
|
8225
|
+
React.createElement(
|
|
8225
8226
|
'label',
|
|
8226
8227
|
{ className: 'pl-2' },
|
|
8227
|
-
|
|
8228
|
+
React.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8228
8229
|
return setSelectedChoice(e.target.value);
|
|
8229
8230
|
} }),
|
|
8230
8231
|
' ' + choice.choiceText
|
|
8231
8232
|
)
|
|
8232
8233
|
);
|
|
8233
8234
|
}),
|
|
8234
|
-
|
|
8235
|
+
React.createElement(
|
|
8235
8236
|
Button$1,
|
|
8236
8237
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8237
8238
|
'Vote'
|
|
8238
8239
|
)
|
|
8239
8240
|
),
|
|
8240
|
-
|
|
8241
|
+
React.createElement(
|
|
8241
8242
|
'div',
|
|
8242
8243
|
{ className: 'progress-container' },
|
|
8243
8244
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8244
8245
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8245
|
-
return
|
|
8246
|
+
return React.createElement(
|
|
8246
8247
|
'div',
|
|
8247
8248
|
{ key: choice._key, className: 'mb-3' },
|
|
8248
|
-
|
|
8249
|
+
React.createElement(
|
|
8249
8250
|
'div',
|
|
8250
8251
|
{ className: 'correct-answer' },
|
|
8251
|
-
|
|
8252
|
+
React.createElement(
|
|
8252
8253
|
'div',
|
|
8253
8254
|
null,
|
|
8254
8255
|
choice.choiceText
|
|
8255
8256
|
),
|
|
8256
|
-
choice.choiceAnswer === true &&
|
|
8257
|
+
choice.choiceAnswer === true && React.createElement(
|
|
8257
8258
|
'div',
|
|
8258
8259
|
null,
|
|
8259
|
-
|
|
8260
|
+
React.createElement(
|
|
8260
8261
|
'span',
|
|
8261
8262
|
{ style: { color: 'limegreen' } },
|
|
8262
8263
|
'Correct!'
|
|
8263
8264
|
)
|
|
8264
8265
|
)
|
|
8265
8266
|
),
|
|
8266
|
-
|
|
8267
|
-
|
|
8267
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
8268
|
+
React.createElement(
|
|
8268
8269
|
'span',
|
|
8269
8270
|
{ className: 'float-right' },
|
|
8270
8271
|
percentage,
|
|
@@ -8275,14 +8276,14 @@ var Poll = function Poll(_ref) {
|
|
|
8275
8276
|
);
|
|
8276
8277
|
})
|
|
8277
8278
|
),
|
|
8278
|
-
showAnswer &&
|
|
8279
|
+
showAnswer && React.createElement(
|
|
8279
8280
|
'h4',
|
|
8280
8281
|
{ className: 'text-center small p-3' },
|
|
8281
8282
|
'Total Votes: ',
|
|
8282
8283
|
choicesTotalCount
|
|
8283
8284
|
),
|
|
8284
|
-
showAnswer && response &&
|
|
8285
|
-
|
|
8285
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8286
|
+
React.createElement(
|
|
8286
8287
|
'style',
|
|
8287
8288
|
{ jsx: 'true' },
|
|
8288
8289
|
'\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 '
|
|
@@ -8290,7 +8291,7 @@ var Poll = function Poll(_ref) {
|
|
|
8290
8291
|
);
|
|
8291
8292
|
};
|
|
8292
8293
|
|
|
8293
|
-
var numberOfPaginations =
|
|
8294
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
8294
8295
|
|
|
8295
8296
|
var Quiz = function Quiz(_ref) {
|
|
8296
8297
|
var quizzes = _ref.quizzes,
|
|
@@ -8408,20 +8409,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
8408
8409
|
};
|
|
8409
8410
|
|
|
8410
8411
|
var renderPagination = function renderPagination() {
|
|
8411
|
-
return
|
|
8412
|
+
return React.createElement(
|
|
8412
8413
|
Pagination,
|
|
8413
|
-
{ className: 'p-0 m-0', size:
|
|
8414
|
-
|
|
8414
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
8415
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
8415
8416
|
return changePage('first');
|
|
8416
8417
|
}, disabled: currentPage === 1 }),
|
|
8417
|
-
|
|
8418
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8418
8419
|
return changePage('prev');
|
|
8419
8420
|
}, disabled: currentPage === 1 }),
|
|
8420
|
-
|
|
8421
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8421
8422
|
return renderNewPages('prev');
|
|
8422
8423
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8423
8424
|
pages.map(function (page) {
|
|
8424
|
-
return
|
|
8425
|
+
return React.createElement(
|
|
8425
8426
|
Pagination.Item,
|
|
8426
8427
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8427
8428
|
return changePage(page);
|
|
@@ -8429,13 +8430,13 @@ var Quiz = function Quiz(_ref) {
|
|
|
8429
8430
|
page
|
|
8430
8431
|
);
|
|
8431
8432
|
}),
|
|
8432
|
-
|
|
8433
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8433
8434
|
return renderNewPages('next');
|
|
8434
8435
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8435
|
-
|
|
8436
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8436
8437
|
return changePage('next');
|
|
8437
8438
|
}, disabled: currentPage === pageCount }),
|
|
8438
|
-
|
|
8439
|
+
React.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8439
8440
|
return changePage('last');
|
|
8440
8441
|
}, disabled: currentPage === pageCount })
|
|
8441
8442
|
);
|
|
@@ -8518,51 +8519,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8518
8519
|
}
|
|
8519
8520
|
};
|
|
8520
8521
|
|
|
8521
|
-
return
|
|
8522
|
-
|
|
8522
|
+
return React.createElement(
|
|
8523
|
+
React.Fragment,
|
|
8523
8524
|
null,
|
|
8524
|
-
quizzes[currentPage - 1] &&
|
|
8525
|
-
|
|
8525
|
+
quizzes[currentPage - 1] && React.createElement(
|
|
8526
|
+
React.Fragment,
|
|
8526
8527
|
null,
|
|
8527
|
-
|
|
8528
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 &&
|
|
8528
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8529
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React.createElement(
|
|
8529
8530
|
'form',
|
|
8530
8531
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8531
8532
|
return e.preventDefault();
|
|
8532
8533
|
} },
|
|
8533
8534
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8534
|
-
return
|
|
8535
|
+
return React.createElement(
|
|
8535
8536
|
'div',
|
|
8536
8537
|
{ key: answer._key },
|
|
8537
|
-
|
|
8538
|
+
React.createElement(
|
|
8538
8539
|
'label',
|
|
8539
8540
|
{ className: 'pl-2' },
|
|
8540
|
-
quizzes[currentPage - 1].multiAnswer ?
|
|
8541
|
+
quizzes[currentPage - 1].multiAnswer ? React.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React.createElement('input', { type: 'radio', id: 'male', name: answer._type, value: answer._key }),
|
|
8541
8542
|
' ' + answer.answerText
|
|
8542
8543
|
)
|
|
8543
8544
|
);
|
|
8544
8545
|
})
|
|
8545
8546
|
)
|
|
8546
8547
|
),
|
|
8547
|
-
!showAnswer &&
|
|
8548
|
+
!showAnswer && React.createElement(
|
|
8548
8549
|
Button,
|
|
8549
8550
|
{ onClick: function onClick() {
|
|
8550
8551
|
return checkAnswers();
|
|
8551
8552
|
}, variant: 'info', block: true },
|
|
8552
8553
|
'Please click here for answer'
|
|
8553
8554
|
),
|
|
8554
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
8555
|
-
|
|
8555
|
+
quizzes[currentPage - 1] && showAnswer && React.createElement(
|
|
8556
|
+
React.Fragment,
|
|
8556
8557
|
null,
|
|
8557
|
-
|
|
8558
|
+
React.createElement(
|
|
8558
8559
|
'h4',
|
|
8559
8560
|
null,
|
|
8560
8561
|
'Answer:'
|
|
8561
8562
|
),
|
|
8562
|
-
quizzes[currentPage - 1].answer &&
|
|
8563
|
+
quizzes[currentPage - 1].answer && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8563
8564
|
),
|
|
8564
|
-
|
|
8565
|
-
pageCount > 1 &&
|
|
8565
|
+
React.createElement('br', null),
|
|
8566
|
+
pageCount > 1 && React.createElement(
|
|
8566
8567
|
'div',
|
|
8567
8568
|
{ className: 'd-flex justify-content-center' },
|
|
8568
8569
|
renderPagination()
|
|
@@ -8573,19 +8574,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8573
8574
|
var Leads = function Leads(_ref) {
|
|
8574
8575
|
var url = _ref.url;
|
|
8575
8576
|
|
|
8576
|
-
return
|
|
8577
|
+
return React.createElement(
|
|
8577
8578
|
'div',
|
|
8578
8579
|
{ className: 'd-block text-center mb-3' },
|
|
8579
|
-
|
|
8580
|
+
React.createElement(
|
|
8580
8581
|
'style',
|
|
8581
8582
|
{ jsx: 'true' },
|
|
8582
8583
|
'\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 '
|
|
8583
8584
|
),
|
|
8584
|
-
url &&
|
|
8585
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8585
8586
|
);
|
|
8586
8587
|
};
|
|
8587
8588
|
|
|
8588
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8589
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8589
8590
|
var slides = _ref.node.slides,
|
|
8590
8591
|
client = _ref.client,
|
|
8591
8592
|
pageview = _ref.pageview,
|
|
@@ -8625,53 +8626,53 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8625
8626
|
if (pageview) pageview(href);
|
|
8626
8627
|
};
|
|
8627
8628
|
|
|
8628
|
-
return
|
|
8629
|
+
return React.createElement(
|
|
8629
8630
|
'div',
|
|
8630
8631
|
{ className: 'mt-3 mb-4' },
|
|
8631
|
-
|
|
8632
|
+
React.createElement(
|
|
8632
8633
|
Carousel,
|
|
8633
8634
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8634
8635
|
slides && slides.map(function (slide) {
|
|
8635
8636
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8636
|
-
return
|
|
8637
|
+
return React.createElement(
|
|
8637
8638
|
Carousel.Item,
|
|
8638
8639
|
{ key: slide._key },
|
|
8639
|
-
|
|
8640
|
+
React.createElement(
|
|
8640
8641
|
'a',
|
|
8641
8642
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8642
|
-
|
|
8643
|
+
React.createElement(
|
|
8643
8644
|
'div',
|
|
8644
8645
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8645
|
-
|
|
8646
|
+
React.createElement(
|
|
8646
8647
|
LazyLoad,
|
|
8647
8648
|
null,
|
|
8648
|
-
|
|
8649
|
+
React.createElement(
|
|
8649
8650
|
'picture',
|
|
8650
8651
|
null,
|
|
8651
|
-
|
|
8652
|
-
|
|
8653
|
-
|
|
8654
|
-
|
|
8652
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8653
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8654
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8655
|
+
React.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8655
8656
|
)
|
|
8656
8657
|
)
|
|
8657
8658
|
)
|
|
8658
8659
|
),
|
|
8659
|
-
|
|
8660
|
+
React.createElement(
|
|
8660
8661
|
'div',
|
|
8661
8662
|
{ className: 'p-2' },
|
|
8662
|
-
slide.slideshowImage.caption &&
|
|
8663
|
+
slide.slideshowImage.caption && React.createElement(
|
|
8663
8664
|
'h3',
|
|
8664
8665
|
{ style: { padding: '0px' } },
|
|
8665
8666
|
slide.slideshowImage.caption
|
|
8666
8667
|
),
|
|
8667
|
-
slide.description &&
|
|
8668
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8668
8669
|
)
|
|
8669
8670
|
);
|
|
8670
8671
|
}
|
|
8671
8672
|
return null;
|
|
8672
8673
|
})
|
|
8673
8674
|
),
|
|
8674
|
-
|
|
8675
|
+
React.createElement(
|
|
8675
8676
|
'style',
|
|
8676
8677
|
{ jsx: 'true' },
|
|
8677
8678
|
'\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 '
|
|
@@ -8690,10 +8691,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8690
8691
|
sizes = _props$node.sizes,
|
|
8691
8692
|
sizeMapping = _props$node.sizeMapping;
|
|
8692
8693
|
|
|
8693
|
-
return
|
|
8694
|
+
return React.createElement(
|
|
8694
8695
|
'div',
|
|
8695
8696
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8696
|
-
|
|
8697
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8697
8698
|
);
|
|
8698
8699
|
};
|
|
8699
8700
|
|
|
@@ -8704,15 +8705,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8704
8705
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8705
8706
|
|
|
8706
8707
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8707
|
-
return
|
|
8708
|
+
return React.createElement(
|
|
8708
8709
|
'section',
|
|
8709
8710
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8710
|
-
Caption &&
|
|
8711
|
+
Caption && React.createElement(
|
|
8711
8712
|
'h4',
|
|
8712
8713
|
{ className: 'formstack-caption' },
|
|
8713
8714
|
Caption
|
|
8714
8715
|
),
|
|
8715
|
-
|
|
8716
|
+
React.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8716
8717
|
);
|
|
8717
8718
|
};
|
|
8718
8719
|
|
|
@@ -8728,36 +8729,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8728
8729
|
}
|
|
8729
8730
|
});
|
|
8730
8731
|
if (medias && medias.length > 0) {
|
|
8731
|
-
return
|
|
8732
|
+
return React.createElement(
|
|
8732
8733
|
'div',
|
|
8733
8734
|
{ className: 'multi-media-container' },
|
|
8734
|
-
|
|
8735
|
+
React.createElement(
|
|
8735
8736
|
Row$1,
|
|
8736
8737
|
{ noGutters: true },
|
|
8737
8738
|
medias.map(function (media) {
|
|
8738
|
-
return
|
|
8739
|
+
return React.createElement(
|
|
8739
8740
|
Col$1,
|
|
8740
8741
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8741
|
-
|
|
8742
|
+
React.createElement(
|
|
8742
8743
|
'a',
|
|
8743
8744
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8744
8745
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8745
|
-
|
|
8746
|
+
React.createElement(
|
|
8746
8747
|
'div',
|
|
8747
8748
|
{ className: 'multi-media-image-container' },
|
|
8748
|
-
imageBox &&
|
|
8749
|
+
imageBox && React.createElement(
|
|
8749
8750
|
LazyLoad,
|
|
8750
8751
|
{ once: true },
|
|
8751
|
-
|
|
8752
|
+
React.createElement(
|
|
8752
8753
|
'picture',
|
|
8753
8754
|
null,
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8755
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8756
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8757
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8758
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8758
8759
|
)
|
|
8759
8760
|
),
|
|
8760
|
-
media.caption &&
|
|
8761
|
+
media.caption && React.createElement(
|
|
8761
8762
|
'span',
|
|
8762
8763
|
{ className: 'multi-media-caption' },
|
|
8763
8764
|
media.caption
|
|
@@ -8767,7 +8768,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8767
8768
|
);
|
|
8768
8769
|
})
|
|
8769
8770
|
),
|
|
8770
|
-
|
|
8771
|
+
React.createElement(
|
|
8771
8772
|
'style',
|
|
8772
8773
|
{ jsx: 'true' },
|
|
8773
8774
|
'\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 '
|
|
@@ -8814,7 +8815,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8814
8815
|
}
|
|
8815
8816
|
};
|
|
8816
8817
|
|
|
8817
|
-
_this.wraperRef =
|
|
8818
|
+
_this.wraperRef = React.createRef();
|
|
8818
8819
|
_this.visible = false;
|
|
8819
8820
|
return _this;
|
|
8820
8821
|
}
|
|
@@ -8842,7 +8843,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8842
8843
|
_props$id = _props.id,
|
|
8843
8844
|
id = _props$id === undefined ? '' : _props$id;
|
|
8844
8845
|
|
|
8845
|
-
return
|
|
8846
|
+
return React.createElement(
|
|
8846
8847
|
'div',
|
|
8847
8848
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8848
8849
|
this.props.children
|
|
@@ -8851,7 +8852,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8851
8852
|
}]);
|
|
8852
8853
|
|
|
8853
8854
|
return InscreenSensor;
|
|
8854
|
-
}(
|
|
8855
|
+
}(React.Component);
|
|
8855
8856
|
|
|
8856
8857
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8857
8858
|
var nodes = _ref.nodes,
|
|
@@ -8960,33 +8961,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8960
8961
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8961
8962
|
var showReading = show ? 'showReading' : '';
|
|
8962
8963
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8963
|
-
return
|
|
8964
|
+
return React.createElement(
|
|
8964
8965
|
'div',
|
|
8965
8966
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8966
|
-
|
|
8967
|
+
React.createElement(
|
|
8967
8968
|
'a',
|
|
8968
8969
|
{ onClick: function onClick(e) {
|
|
8969
8970
|
return articleCardClickHandler(e);
|
|
8970
8971
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleIndex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8971
|
-
|
|
8972
|
+
React.createElement(
|
|
8972
8973
|
'div',
|
|
8973
8974
|
{ className: 'prevNext-thumbnail' },
|
|
8974
|
-
|
|
8975
|
-
|
|
8975
|
+
React.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8976
|
+
React.createElement(
|
|
8976
8977
|
'div',
|
|
8977
8978
|
{ className: 'prevNext-reading ' + showReading },
|
|
8978
8979
|
articleLabel
|
|
8979
8980
|
)
|
|
8980
8981
|
),
|
|
8981
|
-
|
|
8982
|
+
React.createElement(
|
|
8982
8983
|
'div',
|
|
8983
8984
|
{ className: 'prevNext-summary' },
|
|
8984
|
-
|
|
8985
|
+
React.createElement(
|
|
8985
8986
|
'div',
|
|
8986
8987
|
{ className: 'prevNext-publishDate' },
|
|
8987
8988
|
moment(article.published).format('LL')
|
|
8988
8989
|
),
|
|
8989
|
-
|
|
8990
|
+
React.createElement(
|
|
8990
8991
|
'h2',
|
|
8991
8992
|
{ className: 'prevNext-title' },
|
|
8992
8993
|
article.title
|
|
@@ -9035,7 +9036,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9035
9036
|
|
|
9036
9037
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9037
9038
|
if (biography) {
|
|
9038
|
-
return
|
|
9039
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9039
9040
|
}
|
|
9040
9041
|
};
|
|
9041
9042
|
|
|
@@ -9121,7 +9122,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9121
9122
|
//console.log('useLayoutEffect')
|
|
9122
9123
|
if (!firstLoad) {
|
|
9123
9124
|
setUpArrowClicked(false);
|
|
9124
|
-
if (
|
|
9125
|
+
if (main_40) {
|
|
9125
9126
|
grabLoadedAds();
|
|
9126
9127
|
} else {
|
|
9127
9128
|
scrollToArticle();
|
|
@@ -9145,7 +9146,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9145
9146
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
9146
9147
|
if (pageview) pageview(path);
|
|
9147
9148
|
|
|
9148
|
-
if (!
|
|
9149
|
+
if (!main_40) {
|
|
9149
9150
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9150
9151
|
if (window.googletag && googletag.pubadsReady) {
|
|
9151
9152
|
lib_3.refresh();
|
|
@@ -9153,7 +9154,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9153
9154
|
});
|
|
9154
9155
|
}
|
|
9155
9156
|
//Refresh leaderboard ad on mobile
|
|
9156
|
-
if (
|
|
9157
|
+
if (main_40) {
|
|
9157
9158
|
var leaderboardSlotId = '';
|
|
9158
9159
|
lib_3.getGoogletag().then(function (googletag) {
|
|
9159
9160
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -9193,38 +9194,38 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9193
9194
|
setSensorVisible(false);
|
|
9194
9195
|
};
|
|
9195
9196
|
|
|
9196
|
-
return
|
|
9197
|
-
|
|
9197
|
+
return React.createElement(
|
|
9198
|
+
React.Fragment,
|
|
9198
9199
|
null,
|
|
9199
|
-
|
|
9200
|
+
React.createElement(
|
|
9200
9201
|
'div',
|
|
9201
9202
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9202
|
-
|
|
9203
|
+
React.createElement(IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9203
9204
|
return handleArrowClick();
|
|
9204
9205
|
} })
|
|
9205
9206
|
),
|
|
9206
|
-
|
|
9207
|
-
|
|
9207
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9208
|
+
React.createElement(
|
|
9208
9209
|
'div',
|
|
9209
9210
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9210
|
-
|
|
9211
|
+
React.createElement(
|
|
9211
9212
|
'h5',
|
|
9212
9213
|
{ className: 'objective-title' },
|
|
9213
9214
|
nodes.seriesTitle
|
|
9214
9215
|
),
|
|
9215
|
-
|
|
9216
|
+
React.createElement(
|
|
9216
9217
|
'div',
|
|
9217
9218
|
{ className: 'prevNextWrapper' },
|
|
9218
9219
|
PrevNextCards(false, -1)
|
|
9219
9220
|
)
|
|
9220
9221
|
),
|
|
9221
|
-
|
|
9222
|
-
|
|
9222
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
9223
|
+
React.createElement(
|
|
9223
9224
|
'div',
|
|
9224
9225
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9225
|
-
|
|
9226
|
+
main_40 && Ads.map(function (ad, index) {
|
|
9226
9227
|
if (index === 0) {
|
|
9227
|
-
return
|
|
9228
|
+
return React.createElement(
|
|
9228
9229
|
'div',
|
|
9229
9230
|
{
|
|
9230
9231
|
key: 'addid-1',
|
|
@@ -9244,14 +9245,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9244
9245
|
}
|
|
9245
9246
|
})
|
|
9246
9247
|
),
|
|
9247
|
-
|
|
9248
|
+
React.createElement(
|
|
9248
9249
|
'div',
|
|
9249
9250
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9250
9251
|
Articles.map(function (article, index) {
|
|
9251
|
-
return
|
|
9252
|
+
return React.createElement(
|
|
9252
9253
|
'div',
|
|
9253
9254
|
{ key: article.title },
|
|
9254
|
-
|
|
9255
|
+
React.createElement(
|
|
9255
9256
|
InscreenSensor,
|
|
9256
9257
|
{
|
|
9257
9258
|
visible: sensorVisible,
|
|
@@ -9269,84 +9270,84 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9269
9270
|
}
|
|
9270
9271
|
}
|
|
9271
9272
|
} },
|
|
9272
|
-
|
|
9273
|
+
React.createElement(
|
|
9273
9274
|
Head,
|
|
9274
9275
|
null,
|
|
9275
|
-
currentTitle !== null &&
|
|
9276
|
+
currentTitle !== null && React.createElement(
|
|
9276
9277
|
'title',
|
|
9277
9278
|
{ key: 'title' },
|
|
9278
9279
|
currentTitle
|
|
9279
9280
|
),
|
|
9280
|
-
currentSummary !== null &&
|
|
9281
|
-
currentURL !== null &&
|
|
9282
|
-
currentTitle !== null &&
|
|
9283
|
-
currentThumbnail !== null &&
|
|
9284
|
-
currentSummary !== null &&
|
|
9285
|
-
currentTitle !== null &&
|
|
9286
|
-
currentThumbnail !== null &&
|
|
9287
|
-
currentSummary !== null &&
|
|
9281
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9282
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9283
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9284
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9285
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9286
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9287
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9288
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9288
9289
|
),
|
|
9289
|
-
|
|
9290
|
+
React.createElement(
|
|
9290
9291
|
'article',
|
|
9291
9292
|
{ className: 'article-wrapper' },
|
|
9292
|
-
|
|
9293
|
+
React.createElement(
|
|
9293
9294
|
'div',
|
|
9294
9295
|
{ className: 'article-publishDate' },
|
|
9295
9296
|
moment(article.published).format('LL')
|
|
9296
9297
|
),
|
|
9297
|
-
|
|
9298
|
+
React.createElement(
|
|
9298
9299
|
'div',
|
|
9299
9300
|
{ className: 'author-details-wrapper' },
|
|
9300
9301
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9301
|
-
return
|
|
9302
|
+
return React.createElement(
|
|
9302
9303
|
'span',
|
|
9303
9304
|
{ key: index },
|
|
9304
9305
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9305
9306
|
);
|
|
9306
9307
|
})
|
|
9307
9308
|
),
|
|
9308
|
-
|
|
9309
|
+
React.createElement(
|
|
9309
9310
|
'h2',
|
|
9310
9311
|
{ className: 'article-title' },
|
|
9311
9312
|
article.title
|
|
9312
9313
|
),
|
|
9313
|
-
|
|
9314
|
+
React.createElement(
|
|
9314
9315
|
'div',
|
|
9315
9316
|
{ className: 'mt-2 mb-2' },
|
|
9316
|
-
|
|
9317
|
+
React.createElement(BlockContent, _extends({
|
|
9317
9318
|
serializers: getSerializers,
|
|
9318
9319
|
videoAccountIDs: accountIDs,
|
|
9319
9320
|
blocks: article.text,
|
|
9320
9321
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9321
9322
|
}, client.config())),
|
|
9322
|
-
|
|
9323
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
9323
9324
|
),
|
|
9324
|
-
Articles.length > 1 &&
|
|
9325
|
-
|
|
9325
|
+
Articles.length > 1 && React.createElement(
|
|
9326
|
+
React.Fragment,
|
|
9326
9327
|
null,
|
|
9327
|
-
|
|
9328
|
+
React.createElement(
|
|
9328
9329
|
'div',
|
|
9329
9330
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9330
|
-
|
|
9331
|
+
React.createElement(
|
|
9331
9332
|
'h5',
|
|
9332
9333
|
{ className: 'objective-title' },
|
|
9333
9334
|
nodes.seriesTitle
|
|
9334
9335
|
),
|
|
9335
|
-
|
|
9336
|
+
React.createElement(
|
|
9336
9337
|
'div',
|
|
9337
9338
|
{ className: 'prevNextWrapper' },
|
|
9338
9339
|
PrevNextCards(true, index)
|
|
9339
9340
|
)
|
|
9340
9341
|
),
|
|
9341
|
-
|
|
9342
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
9342
9343
|
)
|
|
9343
9344
|
),
|
|
9344
|
-
|
|
9345
|
+
React.createElement(
|
|
9345
9346
|
'div',
|
|
9346
9347
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
9347
|
-
|
|
9348
|
+
main_40 && Articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
9348
9349
|
if (innerIndex === 0) {
|
|
9349
|
-
return
|
|
9350
|
+
return React.createElement(
|
|
9350
9351
|
'div',
|
|
9351
9352
|
{
|
|
9352
9353
|
key: 'addid-' + (index + 2),
|
|
@@ -9369,7 +9370,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9369
9370
|
)
|
|
9370
9371
|
);
|
|
9371
9372
|
}),
|
|
9372
|
-
|
|
9373
|
+
React.createElement(
|
|
9373
9374
|
'style',
|
|
9374
9375
|
{ jsx: 'true' },
|
|
9375
9376
|
'\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 '
|
|
@@ -9399,11 +9400,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9399
9400
|
};
|
|
9400
9401
|
}, [handleClickOutside]);
|
|
9401
9402
|
|
|
9402
|
-
return
|
|
9403
|
+
return React.createElement(
|
|
9403
9404
|
'div',
|
|
9404
9405
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9405
|
-
|
|
9406
|
-
|
|
9406
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9407
|
+
React.createElement(
|
|
9407
9408
|
'style',
|
|
9408
9409
|
{ jsx: 'true' },
|
|
9409
9410
|
'\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 '
|
|
@@ -9417,7 +9418,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9417
9418
|
}
|
|
9418
9419
|
};
|
|
9419
9420
|
|
|
9420
|
-
var FigureImage
|
|
9421
|
+
var FigureImage = React.memo(function (_ref2) {
|
|
9421
9422
|
var node = _ref2.node,
|
|
9422
9423
|
client = _ref2.client,
|
|
9423
9424
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9425,13 +9426,13 @@ var FigureImage$1 = React__default.memo(function (_ref2) {
|
|
|
9425
9426
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9426
9427
|
|
|
9427
9428
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9428
|
-
return
|
|
9429
|
+
return React.createElement(
|
|
9429
9430
|
'picture',
|
|
9430
9431
|
null,
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
|
|
9434
|
-
|
|
9432
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9433
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9434
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9435
|
+
React.createElement('img', _extends({
|
|
9435
9436
|
style: figureImageStyle,
|
|
9436
9437
|
className: 'figure-image',
|
|
9437
9438
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9482,30 +9483,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9482
9483
|
|
|
9483
9484
|
var renderTooltip = function renderTooltip(props) {
|
|
9484
9485
|
if (infoBox[0].title) {
|
|
9485
|
-
return
|
|
9486
|
+
return React.createElement(
|
|
9486
9487
|
Popover,
|
|
9487
9488
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9488
|
-
|
|
9489
|
+
React.createElement(
|
|
9489
9490
|
Popover.Title,
|
|
9490
9491
|
{ as: 'h3' },
|
|
9491
9492
|
infoBox[0].title
|
|
9492
9493
|
),
|
|
9493
|
-
|
|
9494
|
+
React.createElement(
|
|
9494
9495
|
Popover.Content,
|
|
9495
9496
|
null,
|
|
9496
|
-
|
|
9497
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9497
9498
|
)
|
|
9498
9499
|
);
|
|
9499
9500
|
} else {
|
|
9500
|
-
return
|
|
9501
|
+
return React.createElement(
|
|
9501
9502
|
Tooltip,
|
|
9502
9503
|
_extends({ id: 'button-tooltip' }, props),
|
|
9503
|
-
|
|
9504
|
+
React.createElement(BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9504
9505
|
);
|
|
9505
9506
|
}
|
|
9506
9507
|
};
|
|
9507
9508
|
|
|
9508
|
-
var FigureImageWOverLay =
|
|
9509
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9509
9510
|
var node = _ref3.node,
|
|
9510
9511
|
client = _ref3.client,
|
|
9511
9512
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9513,32 +9514,32 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9513
9514
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9514
9515
|
|
|
9515
9516
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9516
|
-
var triggerAction =
|
|
9517
|
-
var placementLocation =
|
|
9518
|
-
return
|
|
9517
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9518
|
+
var placementLocation = main_39 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9519
|
+
return React.createElement(
|
|
9519
9520
|
'picture',
|
|
9520
9521
|
null,
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9522
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9523
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9524
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9525
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9525
9526
|
style: figureImageStyle,
|
|
9526
9527
|
className: 'figure-image',
|
|
9527
9528
|
src: urlFor({ source: node, client: client }),
|
|
9528
9529
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9529
|
-
}, !link && !
|
|
9530
|
+
}, !link && !main_39 && {
|
|
9530
9531
|
onClick: function onClick() {
|
|
9531
9532
|
return handleClickFigure(node, client);
|
|
9532
9533
|
}
|
|
9533
|
-
})) :
|
|
9534
|
+
})) : React.createElement(
|
|
9534
9535
|
OverlayTrigger,
|
|
9535
9536
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9536
|
-
|
|
9537
|
+
React.createElement('img', _extends({
|
|
9537
9538
|
style: figureImageStyle,
|
|
9538
9539
|
className: 'figure-image',
|
|
9539
9540
|
src: urlFor({ source: node, client: client }),
|
|
9540
9541
|
alt: imgAlt ? imgAlt : 'figure image'
|
|
9541
|
-
}, !link && !
|
|
9542
|
+
}, !link && !main_39 && {
|
|
9542
9543
|
onClick: function onClick() {
|
|
9543
9544
|
return handleClickFigure(node, client);
|
|
9544
9545
|
}
|
|
@@ -9587,13 +9588,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9587
9588
|
|
|
9588
9589
|
var FigureCaption = useCallback(function () {
|
|
9589
9590
|
if (imgcaption && imgcaption.length > 0) {
|
|
9590
|
-
return
|
|
9591
|
+
return React.createElement(
|
|
9591
9592
|
'div',
|
|
9592
9593
|
{ className: 'figure-caption' },
|
|
9593
|
-
|
|
9594
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9594
9595
|
);
|
|
9595
9596
|
} else if (caption) {
|
|
9596
|
-
return
|
|
9597
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9597
9598
|
} else return null;
|
|
9598
9599
|
}, [caption, imgcaption]);
|
|
9599
9600
|
|
|
@@ -9610,24 +9611,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9610
9611
|
setShowLightbox(true);
|
|
9611
9612
|
}, [node, client]);
|
|
9612
9613
|
|
|
9613
|
-
return
|
|
9614
|
-
|
|
9614
|
+
return React.createElement(
|
|
9615
|
+
React.Fragment,
|
|
9615
9616
|
null,
|
|
9616
|
-
infoBox.length >= 1 ?
|
|
9617
|
+
infoBox.length >= 1 ? React.createElement(
|
|
9617
9618
|
Figure$2,
|
|
9618
9619
|
{ className: '' + class_name, style: figureStyle },
|
|
9619
|
-
link ?
|
|
9620
|
+
link ? React.createElement(
|
|
9620
9621
|
'a',
|
|
9621
9622
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
) :
|
|
9625
|
-
|
|
9623
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9624
|
+
React.createElement(FigureCaption, null)
|
|
9625
|
+
) : React.createElement(
|
|
9626
|
+
React.Fragment,
|
|
9626
9627
|
null,
|
|
9627
|
-
|
|
9628
|
-
|
|
9628
|
+
React.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9629
|
+
React.createElement(FigureCaption, null)
|
|
9629
9630
|
),
|
|
9630
|
-
|
|
9631
|
+
React.createElement(LightBox, {
|
|
9631
9632
|
showLightbox: showLightbox,
|
|
9632
9633
|
lightboxImgSrc: lightboxImgSrc,
|
|
9633
9634
|
closeLightbox: function closeLightbox() {
|
|
@@ -9635,21 +9636,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9635
9636
|
setShowLightbox(false);
|
|
9636
9637
|
}
|
|
9637
9638
|
})
|
|
9638
|
-
) :
|
|
9639
|
+
) : React.createElement(
|
|
9639
9640
|
Figure$2,
|
|
9640
9641
|
{ className: '' + class_name, style: figureStyle },
|
|
9641
|
-
link ?
|
|
9642
|
+
link ? React.createElement(
|
|
9642
9643
|
'a',
|
|
9643
9644
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
) :
|
|
9647
|
-
|
|
9645
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9646
|
+
React.createElement(FigureCaption, null)
|
|
9647
|
+
) : React.createElement(
|
|
9648
|
+
React.Fragment,
|
|
9648
9649
|
null,
|
|
9649
|
-
|
|
9650
|
-
|
|
9650
|
+
React.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9651
|
+
React.createElement(FigureCaption, null)
|
|
9651
9652
|
),
|
|
9652
|
-
|
|
9653
|
+
React.createElement(LightBox, {
|
|
9653
9654
|
showLightbox: showLightbox,
|
|
9654
9655
|
lightboxImgSrc: lightboxImgSrc,
|
|
9655
9656
|
closeLightbox: function closeLightbox() {
|
|
@@ -9658,7 +9659,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9658
9659
|
}
|
|
9659
9660
|
})
|
|
9660
9661
|
),
|
|
9661
|
-
|
|
9662
|
+
React.createElement(
|
|
9662
9663
|
'style',
|
|
9663
9664
|
{ jsx: 'true' },
|
|
9664
9665
|
'\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 '
|
|
@@ -9666,7 +9667,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9666
9667
|
);
|
|
9667
9668
|
};
|
|
9668
9669
|
|
|
9669
|
-
var Figure =
|
|
9670
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
9670
9671
|
|
|
9671
9672
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9672
9673
|
useEffect(function () {
|
|
@@ -9683,7 +9684,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9683
9684
|
}, [ref]);
|
|
9684
9685
|
}
|
|
9685
9686
|
|
|
9686
|
-
var FigureImage =
|
|
9687
|
+
var FigureImage$1 = React.memo(function (_ref) {
|
|
9687
9688
|
var imagesCount = _ref.imagesCount,
|
|
9688
9689
|
image = _ref.image,
|
|
9689
9690
|
client = _ref.client,
|
|
@@ -9691,13 +9692,13 @@ var FigureImage = React__default.memo(function (_ref) {
|
|
|
9691
9692
|
link = _ref.link,
|
|
9692
9693
|
handleClickFigure = _ref.handleClickFigure;
|
|
9693
9694
|
|
|
9694
|
-
return
|
|
9695
|
+
return React.createElement(
|
|
9695
9696
|
'picture',
|
|
9696
9697
|
null,
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9698
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9699
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9700
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9701
|
+
React.createElement('img', _extends({
|
|
9701
9702
|
'images-count': imagesCount,
|
|
9702
9703
|
className: 'multi-figure-image',
|
|
9703
9704
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9734,13 +9735,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9734
9735
|
imgcaption = _ref2.imgcaption;
|
|
9735
9736
|
|
|
9736
9737
|
if (imgcaption && imgcaption.length > 0) {
|
|
9737
|
-
return
|
|
9738
|
+
return React.createElement(
|
|
9738
9739
|
'div',
|
|
9739
9740
|
{ className: 'multi-figure-caption' },
|
|
9740
|
-
|
|
9741
|
+
React.createElement(BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9741
9742
|
);
|
|
9742
9743
|
} else if (caption) {
|
|
9743
|
-
return
|
|
9744
|
+
return React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9744
9745
|
} else return null;
|
|
9745
9746
|
};
|
|
9746
9747
|
|
|
@@ -9749,7 +9750,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9749
9750
|
setOpenImg(true);
|
|
9750
9751
|
}, [client]);
|
|
9751
9752
|
|
|
9752
|
-
var FigureImageWOverLay =
|
|
9753
|
+
var FigureImageWOverLay = React.memo(function (_ref3) {
|
|
9753
9754
|
var imagesCount = _ref3.imagesCount,
|
|
9754
9755
|
image = _ref3.image,
|
|
9755
9756
|
client = _ref3.client,
|
|
@@ -9757,32 +9758,32 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9757
9758
|
link = _ref3.link,
|
|
9758
9759
|
handleClickFigure = _ref3.handleClickFigure;
|
|
9759
9760
|
|
|
9760
|
-
var triggerAction =
|
|
9761
|
-
var placementLocation =
|
|
9762
|
-
return
|
|
9761
|
+
var triggerAction = main_39 ? 'click' : 'hover';
|
|
9762
|
+
var placementLocation = main_39 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9763
|
+
return React.createElement(
|
|
9763
9764
|
'picture',
|
|
9764
9765
|
null,
|
|
9765
|
-
|
|
9766
|
-
|
|
9767
|
-
|
|
9768
|
-
|
|
9766
|
+
React.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9767
|
+
React.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9768
|
+
React.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9769
|
+
main_39 && link ? React.createElement('img', _extends({
|
|
9769
9770
|
'images-count': imagesCount,
|
|
9770
9771
|
className: 'multi-figure-image',
|
|
9771
9772
|
src: urlFor({ source: image, client: client }),
|
|
9772
9773
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9773
|
-
}, !link && !
|
|
9774
|
+
}, !link && !main_39 && {
|
|
9774
9775
|
onClick: function onClick() {
|
|
9775
9776
|
return handleClickFigure(image, client);
|
|
9776
9777
|
}
|
|
9777
|
-
})) :
|
|
9778
|
+
})) : React.createElement(
|
|
9778
9779
|
OverlayTrigger,
|
|
9779
9780
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9780
|
-
|
|
9781
|
+
React.createElement('img', _extends({
|
|
9781
9782
|
'images-count': imagesCount,
|
|
9782
9783
|
className: 'multi-figure-image',
|
|
9783
9784
|
src: urlFor({ source: image, client: client }),
|
|
9784
9785
|
alt: imgAlt ? imgAlt : 'multi figure'
|
|
9785
|
-
}, !link && !
|
|
9786
|
+
}, !link && !main_39 && {
|
|
9786
9787
|
onClick: function onClick() {
|
|
9787
9788
|
return handleClickFigure(image, client);
|
|
9788
9789
|
}
|
|
@@ -9793,102 +9794,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9793
9794
|
|
|
9794
9795
|
var renderTooltip = function renderTooltip(image) {
|
|
9795
9796
|
if (image.infoBox[0].title) {
|
|
9796
|
-
return
|
|
9797
|
+
return React.createElement(
|
|
9797
9798
|
Popover,
|
|
9798
9799
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9799
|
-
|
|
9800
|
+
React.createElement(
|
|
9800
9801
|
Popover.Title,
|
|
9801
9802
|
{ as: 'h3' },
|
|
9802
9803
|
image.infoBox[0].title
|
|
9803
9804
|
),
|
|
9804
|
-
|
|
9805
|
+
React.createElement(
|
|
9805
9806
|
Popover.Content,
|
|
9806
9807
|
null,
|
|
9807
|
-
|
|
9808
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9808
9809
|
)
|
|
9809
9810
|
);
|
|
9810
9811
|
} else {
|
|
9811
|
-
return
|
|
9812
|
+
return React.createElement(
|
|
9812
9813
|
Tooltip,
|
|
9813
9814
|
_extends({ id: 'button-tooltip' }, props),
|
|
9814
|
-
|
|
9815
|
+
React.createElement(BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9815
9816
|
);
|
|
9816
9817
|
}
|
|
9817
9818
|
};
|
|
9818
9819
|
|
|
9819
9820
|
if (images && images.length > 0) {
|
|
9820
|
-
return
|
|
9821
|
+
return React.createElement(
|
|
9821
9822
|
'div',
|
|
9822
9823
|
{ className: 'multi-figure-container' },
|
|
9823
|
-
|
|
9824
|
+
React.createElement(
|
|
9824
9825
|
Row$1,
|
|
9825
9826
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9826
9827
|
images.map(function (image, index) {
|
|
9827
9828
|
if (image.infoBox) {
|
|
9828
|
-
return
|
|
9829
|
+
return React.createElement(
|
|
9829
9830
|
Col$1,
|
|
9830
9831
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9831
|
-
image.link ?
|
|
9832
|
+
image.link ? React.createElement(
|
|
9832
9833
|
'a',
|
|
9833
9834
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9834
|
-
|
|
9835
|
+
React.createElement(
|
|
9835
9836
|
'div',
|
|
9836
9837
|
{ className: 'multi-figure-image-container' },
|
|
9837
|
-
|
|
9838
|
+
React.createElement(
|
|
9838
9839
|
LazyLoad,
|
|
9839
9840
|
{ once: true },
|
|
9840
|
-
|
|
9841
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9841
9842
|
),
|
|
9842
|
-
|
|
9843
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9843
9844
|
)
|
|
9844
|
-
) :
|
|
9845
|
+
) : React.createElement(
|
|
9845
9846
|
'div',
|
|
9846
9847
|
{ className: 'multi-figure-image-container' },
|
|
9847
|
-
|
|
9848
|
+
React.createElement(
|
|
9848
9849
|
LazyLoad,
|
|
9849
9850
|
{ once: true },
|
|
9850
|
-
|
|
9851
|
+
React.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9851
9852
|
),
|
|
9852
|
-
|
|
9853
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9853
9854
|
)
|
|
9854
9855
|
);
|
|
9855
9856
|
} else {
|
|
9856
|
-
return
|
|
9857
|
+
return React.createElement(
|
|
9857
9858
|
Col$1,
|
|
9858
9859
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9859
|
-
image.link ?
|
|
9860
|
+
image.link ? React.createElement(
|
|
9860
9861
|
'a',
|
|
9861
9862
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9862
|
-
|
|
9863
|
+
React.createElement(
|
|
9863
9864
|
'div',
|
|
9864
9865
|
{ className: 'multi-figure-image-container' },
|
|
9865
|
-
|
|
9866
|
+
React.createElement(
|
|
9866
9867
|
LazyLoad,
|
|
9867
9868
|
{ once: true },
|
|
9868
|
-
|
|
9869
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9869
9870
|
),
|
|
9870
|
-
|
|
9871
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9871
9872
|
)
|
|
9872
|
-
) :
|
|
9873
|
+
) : React.createElement(
|
|
9873
9874
|
'div',
|
|
9874
9875
|
{ className: 'multi-figure-image-container' },
|
|
9875
|
-
|
|
9876
|
+
React.createElement(
|
|
9876
9877
|
LazyLoad,
|
|
9877
9878
|
{ once: true },
|
|
9878
|
-
|
|
9879
|
+
React.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9879
9880
|
),
|
|
9880
|
-
|
|
9881
|
+
React.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9881
9882
|
)
|
|
9882
9883
|
);
|
|
9883
9884
|
}
|
|
9884
9885
|
})
|
|
9885
9886
|
),
|
|
9886
|
-
|
|
9887
|
+
React.createElement(
|
|
9887
9888
|
'div',
|
|
9888
9889
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9889
|
-
|
|
9890
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9890
9891
|
),
|
|
9891
|
-
|
|
9892
|
+
React.createElement(
|
|
9892
9893
|
'style',
|
|
9893
9894
|
{ jsx: 'true' },
|
|
9894
9895
|
'\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 '
|
|
@@ -9937,23 +9938,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9937
9938
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9938
9939
|
}, []);
|
|
9939
9940
|
|
|
9940
|
-
return
|
|
9941
|
-
|
|
9941
|
+
return React.createElement(
|
|
9942
|
+
React.Fragment,
|
|
9942
9943
|
null,
|
|
9943
|
-
|
|
9944
|
+
React.createElement(
|
|
9944
9945
|
Head,
|
|
9945
9946
|
null,
|
|
9946
|
-
|
|
9947
|
+
React.createElement('script', {
|
|
9947
9948
|
dangerouslySetInnerHTML: {
|
|
9948
9949
|
__html: 'history.scrollRestoration = "manual"'
|
|
9949
9950
|
}
|
|
9950
9951
|
})
|
|
9951
9952
|
),
|
|
9952
|
-
|
|
9953
|
+
React.createElement(
|
|
9953
9954
|
'div',
|
|
9954
9955
|
{ id: elementId },
|
|
9955
|
-
|
|
9956
|
-
|
|
9956
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9957
|
+
React.createElement(
|
|
9957
9958
|
'style',
|
|
9958
9959
|
{ jsx: 'true' },
|
|
9959
9960
|
'\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 '
|
|
@@ -9962,258 +9963,6 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9962
9963
|
);
|
|
9963
9964
|
};
|
|
9964
9965
|
|
|
9965
|
-
var objectWithoutProperties = createCommonjsModule(function (module, exports) {
|
|
9966
|
-
|
|
9967
|
-
exports.__esModule = true;
|
|
9968
|
-
|
|
9969
|
-
exports.default = function (obj, keys) {
|
|
9970
|
-
var target = {};
|
|
9971
|
-
|
|
9972
|
-
for (var i in obj) {
|
|
9973
|
-
if (keys.indexOf(i) >= 0) continue;
|
|
9974
|
-
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
9975
|
-
target[i] = obj[i];
|
|
9976
|
-
}
|
|
9977
|
-
|
|
9978
|
-
return target;
|
|
9979
|
-
};
|
|
9980
|
-
});
|
|
9981
|
-
|
|
9982
|
-
unwrapExports(objectWithoutProperties);
|
|
9983
|
-
|
|
9984
|
-
var ScriptTag_1 = createCommonjsModule(function (module, exports) {
|
|
9985
|
-
|
|
9986
|
-
exports.__esModule = true;
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
var _extends3 = _interopRequireDefault(_extends$1);
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
var _objectWithoutProperties3 = _interopRequireDefault(objectWithoutProperties);
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
var _classCallCheck3 = _interopRequireDefault(classCallCheck);
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(possibleConstructorReturn);
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
var _inherits3 = _interopRequireDefault(inherits);
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
var _react2 = _interopRequireDefault(React__default);
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
var _propTypes2 = _interopRequireDefault(PropTypes);
|
|
10015
|
-
|
|
10016
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10017
|
-
var noop = function noop() {};
|
|
10018
|
-
|
|
10019
|
-
var ScriptTag = function (_Component) {
|
|
10020
|
-
(0, _inherits3.default)(ScriptTag, _Component);
|
|
10021
|
-
|
|
10022
|
-
ScriptTag.removeNode = function removeNode(node) {
|
|
10023
|
-
if (node) {
|
|
10024
|
-
node.parentNode.removeChild(node);
|
|
10025
|
-
}
|
|
10026
|
-
};
|
|
10027
|
-
|
|
10028
|
-
function ScriptTag(props, context) {
|
|
10029
|
-
(0, _classCallCheck3.default)(this, ScriptTag);
|
|
10030
|
-
|
|
10031
|
-
var _this = (0, _possibleConstructorReturn3.default)(this, _Component.call(this, props, context));
|
|
10032
|
-
|
|
10033
|
-
_this.domRef = null;
|
|
10034
|
-
_this.state = {
|
|
10035
|
-
isHydrated: props.isHydrating,
|
|
10036
|
-
additionalNode: null,
|
|
10037
|
-
removeAdditionalNode: null
|
|
10038
|
-
};
|
|
10039
|
-
return _this;
|
|
10040
|
-
}
|
|
10041
|
-
|
|
10042
|
-
ScriptTag.prototype.appendAdditionalElement = function appendAdditionalElement() {
|
|
10043
|
-
var _props = this.props,
|
|
10044
|
-
onError = _props.onError,
|
|
10045
|
-
onLoad = _props.onLoad,
|
|
10046
|
-
nonce = _props.nonce;
|
|
10047
|
-
|
|
10048
|
-
// Create a new HTML script element
|
|
10049
|
-
|
|
10050
|
-
var newElement = document.createElement("script");
|
|
10051
|
-
|
|
10052
|
-
// Copy all attribute values
|
|
10053
|
-
for (var i = 0, len = this.domRef.attributes.length; i < len; i++) {
|
|
10054
|
-
var attr = this.domRef.attributes[i];
|
|
10055
|
-
if (attr.nodeName === 'nonce') {
|
|
10056
|
-
// The browser clears the nonce value - grab from props
|
|
10057
|
-
newElement.setAttribute(attr.nodeName, nonce);
|
|
10058
|
-
} else {
|
|
10059
|
-
newElement.setAttribute(attr.nodeName, attr.nodeValue);
|
|
10060
|
-
}
|
|
10061
|
-
}
|
|
10062
|
-
|
|
10063
|
-
// Copy the inner script
|
|
10064
|
-
if (this.domRef.src === '' && this.domRef.innerHTML && this.domRef.innerHTML !== '') {
|
|
10065
|
-
newElement.innerHTML = this.domRef.innerHTML;
|
|
10066
|
-
}
|
|
10067
|
-
|
|
10068
|
-
// Bind event listeners
|
|
10069
|
-
newElement.addEventListener('load', onLoad);
|
|
10070
|
-
newElement.addEventListener('error', onError);
|
|
10071
|
-
|
|
10072
|
-
// Append the new script tag
|
|
10073
|
-
this.domRef.parentNode.appendChild(newElement);
|
|
10074
|
-
return newElement;
|
|
10075
|
-
};
|
|
10076
|
-
|
|
10077
|
-
ScriptTag.prototype.componentDidMount = function componentDidMount() {
|
|
10078
|
-
var isHydrated = this.state.isHydrated;
|
|
10079
|
-
|
|
10080
|
-
if (isHydrated) {
|
|
10081
|
-
// was rendered on server, don't replace elements when hydrating
|
|
10082
|
-
return;
|
|
10083
|
-
}
|
|
10084
|
-
|
|
10085
|
-
this.setState({
|
|
10086
|
-
additionalNode: this.appendAdditionalElement(),
|
|
10087
|
-
removeAdditionalNode: null
|
|
10088
|
-
});
|
|
10089
|
-
};
|
|
10090
|
-
|
|
10091
|
-
ScriptTag.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) {
|
|
10092
|
-
// This logic assumes that the <script> only need to be updated if the 'src' or 'innerHTML' has changed
|
|
10093
|
-
// - this prevents the <script> from updating unnecessarily, which prevents additional 'onload' events
|
|
10094
|
-
|
|
10095
|
-
// This isn't perfect - but it keeps the component very simple, and should cover most use-cases
|
|
10096
|
-
// Other props SHOULD be assigned at the same time as either the 'src' or 'innerHTML' property
|
|
10097
|
-
// -> If this is to change and support updating on ANY prop change, the 'appendAdditionalElement()' method
|
|
10098
|
-
// and state management will need to be modified to manipulate the DOM script tag based on each prop change.
|
|
10099
|
-
// This really complicates the component - for now we'll leave it as is.
|
|
10100
|
-
var _props2 = this.props,
|
|
10101
|
-
src = _props2.src,
|
|
10102
|
-
dangerouslySetInnerHTML = _props2.dangerouslySetInnerHTML;
|
|
10103
|
-
|
|
10104
|
-
if (src && src === nextProps.src) {
|
|
10105
|
-
// The 'src' attribute has not changed
|
|
10106
|
-
return;
|
|
10107
|
-
}
|
|
10108
|
-
|
|
10109
|
-
if (dangerouslySetInnerHTML && dangerouslySetInnerHTML.__html === nextProps.dangerouslySetInnerHTML.__html) {
|
|
10110
|
-
// The 'dangerouslySetInnerHTML' attribute has not changed
|
|
10111
|
-
return;
|
|
10112
|
-
}
|
|
10113
|
-
|
|
10114
|
-
this.setState({
|
|
10115
|
-
removeAdditionalNode: this.state.additionalNode,
|
|
10116
|
-
additionalNode: null
|
|
10117
|
-
});
|
|
10118
|
-
};
|
|
10119
|
-
|
|
10120
|
-
ScriptTag.prototype.componentWillUpdate = function componentWillUpdate(nextProps, nextState) {
|
|
10121
|
-
ScriptTag.removeNode(nextState.removeAdditionalNode);
|
|
10122
|
-
};
|
|
10123
|
-
|
|
10124
|
-
ScriptTag.prototype.componentDidUpdate = function componentDidUpdate() {
|
|
10125
|
-
var _state = this.state,
|
|
10126
|
-
additionalNode = _state.additionalNode,
|
|
10127
|
-
removeAdditionalNode = _state.removeAdditionalNode;
|
|
10128
|
-
|
|
10129
|
-
if (additionalNode === null) {
|
|
10130
|
-
this.setState({
|
|
10131
|
-
additionalNode: this.appendAdditionalElement()
|
|
10132
|
-
});
|
|
10133
|
-
}
|
|
10134
|
-
|
|
10135
|
-
if (removeAdditionalNode !== null) {
|
|
10136
|
-
// Was removed in 'componentWillUpdate', but can not update state there
|
|
10137
|
-
this.setState({
|
|
10138
|
-
removeAdditionalNode: null
|
|
10139
|
-
});
|
|
10140
|
-
}
|
|
10141
|
-
};
|
|
10142
|
-
|
|
10143
|
-
ScriptTag.prototype.componentWillUnmount = function componentWillUnmount() {
|
|
10144
|
-
ScriptTag.removeNode(this.state.removeAdditionalNode);
|
|
10145
|
-
ScriptTag.removeNode(this.state.additionalNode);
|
|
10146
|
-
};
|
|
10147
|
-
|
|
10148
|
-
ScriptTag.prototype.render = function render() {
|
|
10149
|
-
var _this2 = this;
|
|
10150
|
-
|
|
10151
|
-
var additionalNode = this.state.additionalNode;
|
|
10152
|
-
|
|
10153
|
-
if (additionalNode !== null) {
|
|
10154
|
-
return null;
|
|
10155
|
-
}
|
|
10156
|
-
|
|
10157
|
-
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10158
|
-
// eslint-disable-next-line no-unused-vars
|
|
10159
|
-
var _props3 = this.props;
|
|
10160
|
-
_props3.isHydrating;
|
|
10161
|
-
var tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10162
|
-
|
|
10163
|
-
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10164
|
-
return _this2.domRef = tag;
|
|
10165
|
-
} }));
|
|
10166
|
-
};
|
|
10167
|
-
|
|
10168
|
-
return ScriptTag;
|
|
10169
|
-
}(React__default.Component);
|
|
10170
|
-
|
|
10171
|
-
ScriptTag.propTypes = {
|
|
10172
|
-
/**
|
|
10173
|
-
* True if the <ScriptTag> is being hydrated on the client, otherwise false.
|
|
10174
|
-
*/
|
|
10175
|
-
isHydrating: _propTypes2.default.bool,
|
|
10176
|
-
|
|
10177
|
-
// Standard <script> tag props
|
|
10178
|
-
async: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.number]),
|
|
10179
|
-
crossOrigin: _propTypes2.default.string,
|
|
10180
|
-
defer: _propTypes2.default.bool,
|
|
10181
|
-
integrity: _propTypes2.default.string,
|
|
10182
|
-
nonce: _propTypes2.default.string,
|
|
10183
|
-
src: _propTypes2.default.string,
|
|
10184
|
-
text: _propTypes2.default.string,
|
|
10185
|
-
type: _propTypes2.default.string,
|
|
10186
|
-
dangerouslySetInnerHTML: _propTypes2.default.object,
|
|
10187
|
-
|
|
10188
|
-
// globals
|
|
10189
|
-
onError: _propTypes2.default.func,
|
|
10190
|
-
onLoad: _propTypes2.default.func
|
|
10191
|
-
};
|
|
10192
|
-
ScriptTag.defaultProps = {
|
|
10193
|
-
isHydrating: false,
|
|
10194
|
-
onError: noop,
|
|
10195
|
-
onLoad: noop
|
|
10196
|
-
};
|
|
10197
|
-
exports.default = ScriptTag;
|
|
10198
|
-
});
|
|
10199
|
-
|
|
10200
|
-
unwrapExports(ScriptTag_1);
|
|
10201
|
-
|
|
10202
|
-
var lib = createCommonjsModule(function (module, exports) {
|
|
10203
|
-
|
|
10204
|
-
exports.__esModule = true;
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
var _ScriptTag2 = _interopRequireDefault(ScriptTag_1);
|
|
10209
|
-
|
|
10210
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10211
|
-
|
|
10212
|
-
exports.default = _ScriptTag2.default;
|
|
10213
|
-
});
|
|
10214
|
-
|
|
10215
|
-
var ScriptTag = unwrapExports(lib);
|
|
10216
|
-
|
|
10217
9966
|
var enterpriseDomainName = 'mjhlifesciences';
|
|
10218
9967
|
|
|
10219
9968
|
var FormAssembly = function FormAssembly(props) {
|
|
@@ -10245,11 +9994,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10245
9994
|
}, []);
|
|
10246
9995
|
|
|
10247
9996
|
if (iframeSrc) {
|
|
10248
|
-
return
|
|
9997
|
+
return React.createElement(
|
|
10249
9998
|
'section',
|
|
10250
9999
|
{ className: 'form-assembly' },
|
|
10251
|
-
|
|
10252
|
-
|
|
10000
|
+
React.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10001
|
+
React.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10253
10002
|
);
|
|
10254
10003
|
}
|
|
10255
10004
|
|
|
@@ -10286,27 +10035,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10286
10035
|
return window.removeEventListener('resize', handleResize);
|
|
10287
10036
|
};
|
|
10288
10037
|
}, []);
|
|
10289
|
-
return
|
|
10038
|
+
return React.createElement(
|
|
10290
10039
|
'div',
|
|
10291
10040
|
{ className: 'blockTableHolder', ref: holder },
|
|
10292
|
-
|
|
10041
|
+
React.createElement(
|
|
10293
10042
|
'div',
|
|
10294
10043
|
{ className: 'blockTable' },
|
|
10295
10044
|
rows && rows.map(function (row) {
|
|
10296
|
-
return
|
|
10045
|
+
return React.createElement(
|
|
10297
10046
|
'div',
|
|
10298
10047
|
{ className: 'blockTableRow' },
|
|
10299
10048
|
row.cells && row.cells.map(function (cell) {
|
|
10300
|
-
return
|
|
10049
|
+
return React.createElement(
|
|
10301
10050
|
'div',
|
|
10302
10051
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10303
|
-
|
|
10052
|
+
React.createElement(BlockContent, _extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10304
10053
|
);
|
|
10305
10054
|
})
|
|
10306
10055
|
);
|
|
10307
10056
|
})
|
|
10308
10057
|
),
|
|
10309
|
-
|
|
10058
|
+
React.createElement(
|
|
10310
10059
|
'style',
|
|
10311
10060
|
{ jsx: true },
|
|
10312
10061
|
'\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 '
|
|
@@ -10393,12 +10142,12 @@ var getSerializers = function getSerializers() {
|
|
|
10393
10142
|
var node = _ref.node;
|
|
10394
10143
|
var url = node.url;
|
|
10395
10144
|
|
|
10396
|
-
return
|
|
10145
|
+
return React.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10397
10146
|
},
|
|
10398
10147
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10399
10148
|
var node = _ref2.node;
|
|
10400
10149
|
|
|
10401
|
-
return
|
|
10150
|
+
return React.createElement(YouTubeGallery, {
|
|
10402
10151
|
nodes: node,
|
|
10403
10152
|
article: article,
|
|
10404
10153
|
meta: meta,
|
|
@@ -10412,7 +10161,7 @@ var getSerializers = function getSerializers() {
|
|
|
10412
10161
|
articleSeries: function articleSeries(_ref3) {
|
|
10413
10162
|
var node = _ref3.node;
|
|
10414
10163
|
|
|
10415
|
-
return
|
|
10164
|
+
return React.createElement(ArticleSeries, {
|
|
10416
10165
|
nodes: node,
|
|
10417
10166
|
accountIDs: videoAccountIDs || {},
|
|
10418
10167
|
pageview: pageview,
|
|
@@ -10425,61 +10174,61 @@ var getSerializers = function getSerializers() {
|
|
|
10425
10174
|
figure: function figure(_ref4) {
|
|
10426
10175
|
var node = _ref4.node;
|
|
10427
10176
|
|
|
10428
|
-
return
|
|
10177
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10429
10178
|
},
|
|
10430
10179
|
multifigure: function multifigure(_ref5) {
|
|
10431
10180
|
var node = _ref5.node;
|
|
10432
10181
|
|
|
10433
|
-
return
|
|
10182
|
+
return React.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10434
10183
|
},
|
|
10435
10184
|
slideshow: function slideshow(_ref6) {
|
|
10436
10185
|
var node = _ref6.node;
|
|
10437
10186
|
var slides = node.slides;
|
|
10438
10187
|
|
|
10439
|
-
return
|
|
10188
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10440
10189
|
},
|
|
10441
10190
|
sidebar: function sidebar(_ref7) {
|
|
10442
10191
|
var node = _ref7.node;
|
|
10443
10192
|
var caption = node.caption,
|
|
10444
10193
|
content = node.content;
|
|
10445
10194
|
|
|
10446
|
-
return
|
|
10195
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10447
10196
|
},
|
|
10448
10197
|
datatable: function datatable(_ref8) {
|
|
10449
10198
|
var node = _ref8.node;
|
|
10450
10199
|
var table = node.table;
|
|
10451
10200
|
|
|
10452
|
-
return
|
|
10201
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
10453
10202
|
},
|
|
10454
10203
|
media: function media(_ref9) {
|
|
10455
10204
|
var node = _ref9.node;
|
|
10456
10205
|
|
|
10457
|
-
return
|
|
10206
|
+
return React.createElement(Media, { node: node, client: client });
|
|
10458
10207
|
},
|
|
10459
10208
|
iframe: function iframe(_ref10) {
|
|
10460
10209
|
var node = _ref10.node;
|
|
10461
10210
|
|
|
10462
|
-
return
|
|
10211
|
+
return React.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10463
10212
|
},
|
|
10464
10213
|
video: function video(_ref11) {
|
|
10465
10214
|
var node = _ref11.node;
|
|
10466
10215
|
|
|
10467
|
-
return
|
|
10216
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10468
10217
|
},
|
|
10469
10218
|
audio: function audio(_ref12) {
|
|
10470
10219
|
var node = _ref12.node;
|
|
10471
10220
|
|
|
10472
|
-
return
|
|
10221
|
+
return React.createElement(Audio, { node: node });
|
|
10473
10222
|
},
|
|
10474
10223
|
poll: function poll(_ref13) {
|
|
10475
10224
|
var node = _ref13.node;
|
|
10476
10225
|
|
|
10477
|
-
return
|
|
10226
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10478
10227
|
},
|
|
10479
10228
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10480
10229
|
var node = _ref14.node;
|
|
10481
10230
|
|
|
10482
|
-
return
|
|
10231
|
+
return React.createElement(Poll$1, {
|
|
10483
10232
|
node: node,
|
|
10484
10233
|
client: client,
|
|
10485
10234
|
pageview: pageview,
|
|
@@ -10493,35 +10242,35 @@ var getSerializers = function getSerializers() {
|
|
|
10493
10242
|
var node = _ref15.node;
|
|
10494
10243
|
var quizzes = node.quizzes;
|
|
10495
10244
|
|
|
10496
|
-
return
|
|
10245
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10497
10246
|
},
|
|
10498
10247
|
leads: function leads(_ref16) {
|
|
10499
10248
|
var node = _ref16.node;
|
|
10500
10249
|
var leadID = node.leadID;
|
|
10501
10250
|
|
|
10502
10251
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10503
|
-
return
|
|
10252
|
+
return React.createElement(Leads, { url: url });
|
|
10504
10253
|
},
|
|
10505
10254
|
slideshows: function slideshows(_ref17) {
|
|
10506
10255
|
var node = _ref17.node;
|
|
10507
10256
|
|
|
10508
|
-
return
|
|
10257
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10509
10258
|
},
|
|
10510
10259
|
nativeAd: function nativeAd(_ref18) {
|
|
10511
10260
|
var node = _ref18.node;
|
|
10512
10261
|
|
|
10513
|
-
return
|
|
10262
|
+
return React.createElement(NativeAd, { node: node });
|
|
10514
10263
|
},
|
|
10515
10264
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10516
10265
|
var node = _ref19.node;
|
|
10517
10266
|
|
|
10518
|
-
return
|
|
10267
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10519
10268
|
},
|
|
10520
10269
|
hrtag: function hrtag() {
|
|
10521
|
-
return
|
|
10270
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10522
10271
|
},
|
|
10523
10272
|
brtag: function brtag() {
|
|
10524
|
-
return
|
|
10273
|
+
return React.createElement('br', { className: 'line-break' });
|
|
10525
10274
|
},
|
|
10526
10275
|
formstack: function formstack(_ref20) {
|
|
10527
10276
|
var node = _ref20.node;
|
|
@@ -10529,29 +10278,29 @@ var getSerializers = function getSerializers() {
|
|
|
10529
10278
|
Caption = node.Caption,
|
|
10530
10279
|
needSegmentSupport = node.needSegmentSupport;
|
|
10531
10280
|
|
|
10532
|
-
return
|
|
10281
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10533
10282
|
},
|
|
10534
10283
|
formassembly: FormAssembly,
|
|
10535
10284
|
multimedia: function multimedia(_ref21) {
|
|
10536
10285
|
var node = _ref21.node;
|
|
10537
10286
|
|
|
10538
|
-
return
|
|
10287
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
10539
10288
|
},
|
|
10540
10289
|
blockTable: function blockTable(_ref22) {
|
|
10541
10290
|
var node = _ref22.node;
|
|
10542
|
-
return
|
|
10291
|
+
return React.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10543
10292
|
}
|
|
10544
10293
|
},
|
|
10545
10294
|
marks: {
|
|
10546
10295
|
superscript: function superscript(props) {
|
|
10547
|
-
return
|
|
10296
|
+
return React.createElement(
|
|
10548
10297
|
'sup',
|
|
10549
10298
|
null,
|
|
10550
10299
|
props.children
|
|
10551
10300
|
);
|
|
10552
10301
|
},
|
|
10553
10302
|
subscript: function subscript(props) {
|
|
10554
|
-
return
|
|
10303
|
+
return React.createElement(
|
|
10555
10304
|
'sub',
|
|
10556
10305
|
null,
|
|
10557
10306
|
props.children
|
|
@@ -10568,7 +10317,7 @@ var getSerializers = function getSerializers() {
|
|
|
10568
10317
|
if (href && href.charAt(0) === '#') {
|
|
10569
10318
|
var elementId = href.slice(1);
|
|
10570
10319
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10571
|
-
return
|
|
10320
|
+
return React.createElement(
|
|
10572
10321
|
'a',
|
|
10573
10322
|
{ onClick: function onClick() {
|
|
10574
10323
|
return ScrollToElement(elementId);
|
|
@@ -10578,7 +10327,7 @@ var getSerializers = function getSerializers() {
|
|
|
10578
10327
|
}
|
|
10579
10328
|
|
|
10580
10329
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10581
|
-
return href ?
|
|
10330
|
+
return href ? React.createElement(
|
|
10582
10331
|
'a',
|
|
10583
10332
|
_extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10584
10333
|
children
|
|
@@ -10586,7 +10335,7 @@ var getSerializers = function getSerializers() {
|
|
|
10586
10335
|
},
|
|
10587
10336
|
alignleft: function alignleft(_ref23) {
|
|
10588
10337
|
var children = _ref23.children;
|
|
10589
|
-
return
|
|
10338
|
+
return React.createElement(
|
|
10590
10339
|
'div',
|
|
10591
10340
|
{ style: { textAlign: 'left' } },
|
|
10592
10341
|
children
|
|
@@ -10594,7 +10343,7 @@ var getSerializers = function getSerializers() {
|
|
|
10594
10343
|
},
|
|
10595
10344
|
alignright: function alignright(_ref24) {
|
|
10596
10345
|
var children = _ref24.children;
|
|
10597
|
-
return
|
|
10346
|
+
return React.createElement(
|
|
10598
10347
|
'div',
|
|
10599
10348
|
{ style: { textAlign: 'right' } },
|
|
10600
10349
|
children
|
|
@@ -10602,7 +10351,7 @@ var getSerializers = function getSerializers() {
|
|
|
10602
10351
|
},
|
|
10603
10352
|
aligncenter: function aligncenter(_ref25) {
|
|
10604
10353
|
var children = _ref25.children;
|
|
10605
|
-
return
|
|
10354
|
+
return React.createElement(
|
|
10606
10355
|
'div',
|
|
10607
10356
|
{ style: { textAlign: 'center' } },
|
|
10608
10357
|
children
|
|
@@ -10610,7 +10359,7 @@ var getSerializers = function getSerializers() {
|
|
|
10610
10359
|
},
|
|
10611
10360
|
alignjustify: function alignjustify(_ref26) {
|
|
10612
10361
|
var children = _ref26.children;
|
|
10613
|
-
return
|
|
10362
|
+
return React.createElement(
|
|
10614
10363
|
'div',
|
|
10615
10364
|
{ style: { textAlign: 'justify' } },
|
|
10616
10365
|
children
|
|
@@ -10620,7 +10369,7 @@ var getSerializers = function getSerializers() {
|
|
|
10620
10369
|
var children = props.children,
|
|
10621
10370
|
color = props.mark.color;
|
|
10622
10371
|
|
|
10623
|
-
return
|
|
10372
|
+
return React.createElement(
|
|
10624
10373
|
'span',
|
|
10625
10374
|
{ style: { color: color ? color.hex : null } },
|
|
10626
10375
|
children
|