@mjhls/mjh-framework 1.0.949-series-slider-nojs-v1 → 1.0.949
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/README.md +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +26 -28
- package/dist/cjs/AD300x250x600.js +26 -28
- package/dist/cjs/AD728x90.js +29 -31
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +29 -31
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a3fa4967.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +29 -31
- package/dist/cjs/ADSponsoredResources.js +29 -31
- package/dist/cjs/ADWebcast.js +29 -31
- package/dist/cjs/ADWelcome.js +30 -32
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-79ce7a02.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +30 -32
- package/dist/cjs/AdSlotsProvider.js +15 -18
- package/dist/cjs/AlgoliaSearch.js +67 -14331
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +58 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +38 -40
- package/dist/cjs/ArticleSeriesListing.js +59 -61
- package/dist/cjs/Auth.js +283 -287
- package/dist/cjs/AuthWrapper.js +150 -61
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-421d5ec1.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-bac780ac.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -82
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +39 -40
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/ContentCardPaginated.js +87 -92
- package/dist/cjs/DeckContent.js +100 -105
- package/dist/cjs/DeckQueue.js +89 -94
- package/dist/cjs/DeckQueuePaginated.js +81 -86
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-52a869e5.js} +32 -34
- package/dist/cjs/EventsDeck.js +150 -157
- package/dist/cjs/ExternalResources.js +79 -81
- package/dist/cjs/Feature.js +26 -28
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +185 -190
- package/dist/cjs/GridContentPaginated.js +173 -178
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +137 -142
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +72 -74
- package/dist/cjs/HorizontalHero.js +28 -29
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-5d7082b9.js} +283 -182
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +93 -95
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +77 -79
- package/dist/cjs/MasterDeckPaginated.js +68 -70
- package/dist/cjs/{MediaSeriesCard-8f00e7a4.js → MediaSeriesCard-98ef5652.js} +997 -903
- package/dist/cjs/MediaSeriesLanding.js +85 -89
- package/dist/cjs/MediaSeriesLandingPaginated.js +100 -103
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +144 -149
- package/dist/cjs/NavNative.js +135 -143
- package/dist/cjs/OncliveHero.js +21 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/Pagination-df492888.js +87 -0
- package/dist/cjs/PartnerDetailListing.js +96 -99
- package/dist/cjs/PartnerDetailListingPaginated.js +96 -98
- package/dist/cjs/PdfDownload.js +9 -10
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +40 -42
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a54b1d9d.js} +36 -40
- package/dist/cjs/PublicationLanding.js +134 -142
- package/dist/cjs/QueueDeckExpanded.js +308 -309
- package/dist/cjs/QueueDeckExpandedPaginated.js +270 -270
- package/dist/cjs/RecentNews.js +22 -23
- package/dist/cjs/RelatedContent.js +55 -56
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Schema.js +14 -15
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +34 -35
- package/dist/cjs/{SeriesSlider-2a9b1ea0.js → SeriesSlider-372e418f.js} +38 -65
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-e5196fc1.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +54 -56
- package/dist/cjs/TemplateNormal.js +71 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +73 -78
- package/dist/cjs/VideoSeriesCard.js +33 -34
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +48 -50
- package/dist/cjs/VideoSeriesListing.js +76 -78
- package/dist/cjs/View.js +314 -323
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +62 -63
- package/dist/cjs/{_is-array-54228b29.js → _is-array-bd978497.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-ee3d4802.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-fee50a62.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-18379aba.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-15014394.js} +30 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-5cb3af28.js} +33 -33
- package/dist/cjs/{debounce-d4a2369b.js → debounce-6191c8ee.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-530a5e9e.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-5ca424cd.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-fb0c6568.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-1d905ddb.js} +7 -7
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +16 -16
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +45 -46
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-091ec6c8.js} +11 -11
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +8 -2
- package/dist/cjs/{index-f86bb269.js → index-79eed652.js} +6 -6
- package/dist/cjs/{index-fc2f1ca2.js → index-8bf6c863.js} +476 -12
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-45a704a9.js → index-b7f1158b.js} +591 -603
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- 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-2bb721c8.js → index.esm-bf016399.js} +18 -19
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +231 -237
- package/dist/cjs/{inherits-de66ea16.js → inherits-07da6623.js} +21 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-91f31941.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-b5e0d5f6.js} +1 -1
- package/dist/cjs/{main-f1c77adb.js → main-bc7d4bf8.js} +69 -70
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-067dd3bc.js → slicedToArray-0a78cdf3.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-13405ce2.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-39fd0757.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-f2f8744b.js} +1 -1
- package/dist/cjs/{typeof-567e31ff.js → typeof-3dd6d3df.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-0e7175d9.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-5619c1fa.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-a9359910.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +20 -21
- package/dist/esm/AD300x250x600.js +20 -21
- package/dist/esm/AD728x90.js +22 -23
- package/dist/esm/ADFloatingFooter.js +20 -21
- package/dist/esm/ADFooter.js +4 -4
- package/dist/esm/ADGutter.js +20 -21
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-8153cd02.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -21
- package/dist/esm/ADSponsoredResources.js +20 -21
- package/dist/esm/ADWebcast.js +20 -21
- package/dist/esm/ADWelcome.js +17 -18
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-72aadf98.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -20
- package/dist/esm/AdSlotsProvider.js +9 -10
- package/dist/esm/AlgoliaSearch.js +24 -14287
- package/dist/esm/AlphabeticList.js +8 -8
- package/dist/esm/ArticleCarousel.js +13 -13
- package/dist/esm/ArticleProgramLandingPage.js +49 -50
- package/dist/esm/ArticleSeriesLandingPage.js +29 -30
- package/dist/esm/ArticleSeriesListing.js +30 -31
- package/dist/esm/Auth.js +199 -199
- package/dist/esm/AuthWrapper.js +120 -30
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-2277b67c.js} +1 -1
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-ea93e8f7.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +21 -22
- package/dist/esm/Column2.js +14 -14
- package/dist/esm/Column3.js +28 -29
- package/dist/esm/ConferenceArticleCard.js +25 -25
- package/dist/esm/ContentCardPaginated.js +35 -35
- package/dist/esm/DeckContent.js +38 -39
- package/dist/esm/DeckQueue.js +28 -29
- package/dist/esm/DeckQueuePaginated.js +31 -31
- package/dist/esm/{Dfp-102f0beb.js → Dfp-8ff435f8.js} +12 -13
- package/dist/esm/EventsDeck.js +41 -41
- package/dist/esm/ExternalResources.js +46 -47
- package/dist/esm/Feature.js +6 -6
- package/dist/esm/ForbesHero.js +10 -10
- package/dist/esm/GridContent.js +42 -43
- package/dist/esm/GridContentPaginated.js +43 -43
- package/dist/esm/GridHero.js +11 -11
- package/dist/esm/GroupDeck.js +12 -12
- package/dist/esm/HamMagazine.js +32 -32
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -48
- package/dist/esm/HorizontalHero.js +8 -8
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-f34519d8.js} +134 -32
- package/dist/esm/IssueContentDeck.js +11 -11
- package/dist/esm/IssueDeck.js +13 -13
- package/dist/esm/IssueLanding.js +84 -85
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -20
- package/dist/esm/MasterDeck.js +38 -39
- package/dist/esm/MasterDeckPaginated.js +40 -40
- package/dist/esm/{MediaSeriesCard-a545b490.js → MediaSeriesCard-226746ca.js} +374 -278
- package/dist/esm/MediaSeriesLanding.js +55 -57
- package/dist/esm/MediaSeriesLandingPaginated.js +61 -62
- package/dist/esm/NavDvm.js +11 -11
- package/dist/esm/NavMagazine.js +37 -37
- package/dist/esm/NavNative.js +35 -35
- package/dist/esm/OncliveHero.js +7 -7
- package/dist/esm/OncliveLargeHero.js +11 -11
- package/dist/esm/PageFilter.js +4 -4
- package/dist/esm/Pagination-4c847101.js +82 -0
- package/dist/esm/PartnerDetailListing.js +58 -60
- package/dist/esm/PartnerDetailListingPaginated.js +58 -59
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +4 -4
- package/dist/esm/PubSection.js +32 -33
- package/dist/esm/PubToc.js +6 -6
- package/dist/esm/PublicationDeck.js +10 -10
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-99f26b5e.js} +2 -2
- package/dist/esm/PublicationLanding.js +53 -57
- package/dist/esm/QueueDeckExpanded.js +33 -34
- package/dist/esm/QueueDeckExpandedPaginated.js +35 -35
- package/dist/esm/RecentNews.js +4 -4
- package/dist/esm/RelatedContent.js +38 -38
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +17 -18
- package/dist/esm/{SeriesSlider-fc7c6d3b.js → SeriesSlider-88c4133d.js} +13 -39
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-1a2b7ff8.js} +6 -6
- package/dist/esm/TaxonomyCard.js +12 -12
- package/dist/esm/TaxonomyDescription.js +45 -46
- package/dist/esm/TemplateNormal.js +45 -46
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +50 -51
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesLandingPage.js +35 -36
- package/dist/esm/VideoSeriesListing.js +30 -31
- package/dist/esm/View.js +109 -114
- package/dist/esm/YahooHero.js +13 -13
- package/dist/esm/YoutubeGroup.js +16 -16
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-8914b83f.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-13e31915.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-fc9da7e8.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-ee8f6d98.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-ff459dfa.js} +30 -30
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-0fb60d94.js} +34 -34
- package/dist/esm/{debounce-533d9748.js → debounce-89969f66.js} +2 -2
- package/dist/esm/define-property-73034847.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-e66a2c7c.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-731f3fdb.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-9a61581c.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +11 -11
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +45 -46
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-c43ad0eb.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-79cfd25c.js → index-511bdaa5.js} +6 -6
- package/dist/esm/{index-755f2cc2.js → index-5f7e79e7.js} +6 -6
- package/dist/esm/{index-497db308.js → index-5fdafd5b.js} +120 -120
- package/dist/esm/{index-f0fc23eb.js → index-a9e53f80.js} +469 -4
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- 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.esm-37268dca.js → index.esm-ed50151c.js} +2 -2
- package/dist/esm/index.js +123 -125
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-eeaf6740.js} +18 -18
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-a5ffafe7.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-a818d390.js} +1 -1
- package/dist/esm/{main-1894c974.js → main-ede573ee.js} +53 -53
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-a7d5c5c7.js} +16 -16
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-9c3bb613.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-ebc16384.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-e333293f.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-e3dcad26.js} +1 -1
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-938ae770.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-f1fe0b74.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-d325d196.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-6b037ff9.js} +2 -2
- package/package.json +115 -115
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/Pagination-42f92f7c.js +0 -97
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/Pagination-484b86c5.js +0 -90
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e761d404.js} +1 -1
|
@@ -1,72 +1,60 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
|
+
var core_getIteratorMethod = require('./core.get-iterator-method-5cb3af28.js');
|
|
7
|
+
var toConsumableArray = require('./toConsumableArray-39fd0757.js');
|
|
8
|
+
var _extends = require('./extends-1d905ddb.js');
|
|
9
|
+
var inherits = require('./inherits-07da6623.js');
|
|
10
|
+
var _typeof$1 = require('./typeof-3dd6d3df.js');
|
|
4
11
|
var React = require('react');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var urlFor = require('./urlFor.js');
|
|
8
|
-
var index = require('./index-fc2f1ca2.js');
|
|
9
|
-
var Router = require('next/router');
|
|
10
|
-
var index$1 = require('./index-187c967e.js');
|
|
12
|
+
var React__default = _interopDefault(React);
|
|
13
|
+
var index = require('./index-8bf6c863.js');
|
|
11
14
|
var PropTypes = require('prop-types');
|
|
12
|
-
var
|
|
13
|
-
var
|
|
14
|
-
require('
|
|
15
|
+
var PropTypes__default = _interopDefault(PropTypes);
|
|
16
|
+
var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
17
|
+
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
18
|
+
var moment = require('./moment-ca3bd9fb.js');
|
|
19
|
+
var Router = require('next/router');
|
|
20
|
+
var Router__default = _interopDefault(Router);
|
|
21
|
+
var slicedToArray = require('./slicedToArray-0a78cdf3.js');
|
|
22
|
+
var urlFor = require('./urlFor.js');
|
|
23
|
+
var index$2 = require('./index-96b3db50.js');
|
|
24
|
+
var main = require('./main-bc7d4bf8.js');
|
|
25
|
+
var entities = require('./entities-fb0c6568.js');
|
|
26
|
+
var stringify = require('./stringify-13405ce2.js');
|
|
27
|
+
var asyncToGenerator = require('./asyncToGenerator-15014394.js');
|
|
15
28
|
var Segment = require('./Segment.js');
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
23
|
-
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
|
-
var Modal = require('react-bootstrap/Modal');
|
|
25
|
-
var Button = require('react-bootstrap/Button');
|
|
26
|
-
var Form = require('react-bootstrap/Form');
|
|
29
|
+
require('./Beam.js');
|
|
30
|
+
var AdSlot = require('./AdSlot.js');
|
|
31
|
+
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
32
|
+
var BlockContent = require('./BlockContent-bac780ac.js');
|
|
33
|
+
var index$3 = require('./index-187c967e.js');
|
|
27
34
|
var GroupDeck = require('./GroupDeck.js');
|
|
28
|
-
var
|
|
35
|
+
var reactBootstrap = require('react-bootstrap');
|
|
36
|
+
var index_esm = require('./index.esm-48e0f0d8.js');
|
|
37
|
+
var util = require('./util-f2c1b65b.js');
|
|
38
|
+
var urlForFile = require('./urlForFile-0e7175d9.js');
|
|
39
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-05029198.js');
|
|
40
|
+
var Modal = _interopDefault(require('react-bootstrap/Modal'));
|
|
41
|
+
var Form = _interopDefault(require('react-bootstrap/Form'));
|
|
42
|
+
var Head = _interopDefault(require('next/head'));
|
|
29
43
|
var SocialShare = require('./SocialShare.js');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var Row = require('react-bootstrap/Row');
|
|
37
|
-
var Col = require('react-bootstrap/Col');
|
|
38
|
-
var Head = require('next/head');
|
|
39
|
-
var inherits = require('./inherits-de66ea16.js');
|
|
40
|
-
var index_esm = require('./index.esm-d81454e7.js');
|
|
41
|
-
var Figure$1 = require('react-bootstrap/Figure');
|
|
42
|
-
var OverlayTrigger = require('react-bootstrap/OverlayTrigger');
|
|
43
|
-
var Tooltip = require('react-bootstrap/Tooltip');
|
|
44
|
-
var Popover = require('react-bootstrap/Popover');
|
|
45
|
-
|
|
46
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
47
|
-
|
|
48
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
49
|
-
var Router__default = /*#__PURE__*/_interopDefaultLegacy(Router);
|
|
50
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
51
|
-
var Modal__default = /*#__PURE__*/_interopDefaultLegacy(Modal);
|
|
52
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
53
|
-
var Form__default = /*#__PURE__*/_interopDefaultLegacy(Form);
|
|
54
|
-
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
55
|
-
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
56
|
-
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
57
|
-
var Head__default = /*#__PURE__*/_interopDefaultLegacy(Head);
|
|
58
|
-
var Figure__default = /*#__PURE__*/_interopDefaultLegacy(Figure$1);
|
|
59
|
-
var OverlayTrigger__default = /*#__PURE__*/_interopDefaultLegacy(OverlayTrigger);
|
|
60
|
-
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip);
|
|
61
|
-
var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
44
|
+
var _objectToArray = require('./_object-to-array-18379aba.js');
|
|
45
|
+
var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
|
|
46
|
+
var Figure$1 = _interopDefault(require('react-bootstrap/Figure'));
|
|
47
|
+
var OverlayTrigger = _interopDefault(require('react-bootstrap/OverlayTrigger'));
|
|
48
|
+
var Tooltip = _interopDefault(require('react-bootstrap/Tooltip'));
|
|
49
|
+
var Popover = _interopDefault(require('react-bootstrap/Popover'));
|
|
62
50
|
|
|
63
51
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
64
52
|
var pageNumber = selectedIndex + 1;
|
|
65
53
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
66
|
-
Router__default
|
|
54
|
+
Router__default.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
67
55
|
};
|
|
68
56
|
|
|
69
|
-
var Slideshow
|
|
57
|
+
var Slideshow = function Slideshow(_ref) {
|
|
70
58
|
var slides = _ref.slides,
|
|
71
59
|
client = _ref.client,
|
|
72
60
|
pageview = _ref.pageview;
|
|
@@ -93,27 +81,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
93
81
|
if (pageview) pageview(router.asPath);
|
|
94
82
|
}, [router]);
|
|
95
83
|
|
|
96
|
-
return React__default
|
|
84
|
+
return React__default.createElement(
|
|
97
85
|
'div',
|
|
98
86
|
{ className: 'mt-3 mb-3' },
|
|
99
|
-
React__default
|
|
87
|
+
React__default.createElement(
|
|
100
88
|
reactBootstrap.Carousel,
|
|
101
89
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
102
90
|
return onChangeSlide(selectedIndex, router);
|
|
103
91
|
}, interval: null },
|
|
104
92
|
slides && slides.map(function (slide) {
|
|
105
|
-
return React__default
|
|
93
|
+
return React__default.createElement(
|
|
106
94
|
reactBootstrap.Carousel.Item,
|
|
107
95
|
{ key: slide._key },
|
|
108
|
-
React__default
|
|
96
|
+
React__default.createElement(
|
|
109
97
|
'picture',
|
|
110
98
|
null,
|
|
111
|
-
React__default
|
|
112
|
-
React__default
|
|
113
|
-
React__default
|
|
114
|
-
React__default
|
|
99
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
100
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
101
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
102
|
+
React__default.createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
115
103
|
),
|
|
116
|
-
slide.caption && React__default
|
|
104
|
+
slide.caption && React__default.createElement(
|
|
117
105
|
'p',
|
|
118
106
|
{ className: 'p-2' },
|
|
119
107
|
slide.caption
|
|
@@ -703,14 +691,14 @@ function coerce(val) {
|
|
|
703
691
|
return val;
|
|
704
692
|
}
|
|
705
693
|
});
|
|
706
|
-
debug.coerce;
|
|
707
|
-
debug.disable;
|
|
708
|
-
debug.enable;
|
|
709
|
-
debug.enabled;
|
|
710
|
-
debug.humanize;
|
|
711
|
-
debug.names;
|
|
712
|
-
debug.skips;
|
|
713
|
-
debug.formatters;
|
|
694
|
+
var debug_1 = debug.coerce;
|
|
695
|
+
var debug_2 = debug.disable;
|
|
696
|
+
var debug_3 = debug.enable;
|
|
697
|
+
var debug_4 = debug.enabled;
|
|
698
|
+
var debug_5 = debug.humanize;
|
|
699
|
+
var debug_6 = debug.names;
|
|
700
|
+
var debug_7 = debug.skips;
|
|
701
|
+
var debug_8 = debug.formatters;
|
|
714
702
|
|
|
715
703
|
var browser = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
716
704
|
/**
|
|
@@ -899,13 +887,13 @@ function localstorage() {
|
|
|
899
887
|
} catch (e) {}
|
|
900
888
|
}
|
|
901
889
|
});
|
|
902
|
-
browser.log;
|
|
903
|
-
browser.formatArgs;
|
|
904
|
-
browser.save;
|
|
905
|
-
browser.load;
|
|
906
|
-
browser.useColors;
|
|
907
|
-
browser.storage;
|
|
908
|
-
browser.colors;
|
|
890
|
+
var browser_1 = browser.log;
|
|
891
|
+
var browser_2 = browser.formatArgs;
|
|
892
|
+
var browser_3 = browser.save;
|
|
893
|
+
var browser_4 = browser.load;
|
|
894
|
+
var browser_5 = browser.useColors;
|
|
895
|
+
var browser_6 = browser.storage;
|
|
896
|
+
var browser_7 = browser.colors;
|
|
909
897
|
|
|
910
898
|
// MIT lisence
|
|
911
899
|
// from https://github.com/substack/tty-browserify/blob/1ba769a6429d242f36226538835b4034bf6b7886/index.js
|
|
@@ -1180,14 +1168,14 @@ function init (debug) {
|
|
|
1180
1168
|
|
|
1181
1169
|
exports.enable(load());
|
|
1182
1170
|
});
|
|
1183
|
-
node.init;
|
|
1184
|
-
node.log;
|
|
1185
|
-
node.formatArgs;
|
|
1186
|
-
node.save;
|
|
1187
|
-
node.load;
|
|
1188
|
-
node.useColors;
|
|
1189
|
-
node.colors;
|
|
1190
|
-
node.inspectOpts;
|
|
1171
|
+
var node_1 = node.init;
|
|
1172
|
+
var node_2 = node.log;
|
|
1173
|
+
var node_3 = node.formatArgs;
|
|
1174
|
+
var node_4 = node.save;
|
|
1175
|
+
var node_5 = node.load;
|
|
1176
|
+
var node_6 = node.useColors;
|
|
1177
|
+
var node_7 = node.colors;
|
|
1178
|
+
var node_8 = node.inspectOpts;
|
|
1191
1179
|
|
|
1192
1180
|
var src = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
1193
1181
|
/**
|
|
@@ -1855,9 +1843,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1855
1843
|
}, {
|
|
1856
1844
|
key: "render",
|
|
1857
1845
|
value: function render() {
|
|
1858
|
-
return /*#__PURE__*/React__default
|
|
1846
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1859
1847
|
className: this.props.containerClassName
|
|
1860
|
-
}, /*#__PURE__*/React__default
|
|
1848
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
1861
1849
|
id: this.props.id,
|
|
1862
1850
|
className: this.props.className,
|
|
1863
1851
|
ref: this.refContainer
|
|
@@ -1866,7 +1854,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1866
1854
|
}]);
|
|
1867
1855
|
|
|
1868
1856
|
return YouTube;
|
|
1869
|
-
}(React__default
|
|
1857
|
+
}(React__default.Component);
|
|
1870
1858
|
|
|
1871
1859
|
_defineProperty(YouTube, "PlayerState", {
|
|
1872
1860
|
UNSTARTED: -1,
|
|
@@ -1878,24 +1866,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1878
1866
|
});
|
|
1879
1867
|
|
|
1880
1868
|
YouTube.propTypes = {
|
|
1881
|
-
videoId: PropTypes__default
|
|
1869
|
+
videoId: PropTypes__default.string,
|
|
1882
1870
|
// custom ID for player element
|
|
1883
|
-
id: PropTypes__default
|
|
1871
|
+
id: PropTypes__default.string,
|
|
1884
1872
|
// custom class name for player element
|
|
1885
|
-
className: PropTypes__default
|
|
1873
|
+
className: PropTypes__default.string,
|
|
1886
1874
|
// custom class name for player container element
|
|
1887
|
-
containerClassName: PropTypes__default
|
|
1875
|
+
containerClassName: PropTypes__default.string,
|
|
1888
1876
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1889
|
-
opts: PropTypes__default
|
|
1877
|
+
opts: PropTypes__default.objectOf(PropTypes__default.any),
|
|
1890
1878
|
// event subscriptions
|
|
1891
|
-
onReady: PropTypes__default
|
|
1892
|
-
onError: PropTypes__default
|
|
1893
|
-
onPlay: PropTypes__default
|
|
1894
|
-
onPause: PropTypes__default
|
|
1895
|
-
onEnd: PropTypes__default
|
|
1896
|
-
onStateChange: PropTypes__default
|
|
1897
|
-
onPlaybackRateChange: PropTypes__default
|
|
1898
|
-
onPlaybackQualityChange: PropTypes__default
|
|
1879
|
+
onReady: PropTypes__default.func,
|
|
1880
|
+
onError: PropTypes__default.func,
|
|
1881
|
+
onPlay: PropTypes__default.func,
|
|
1882
|
+
onPause: PropTypes__default.func,
|
|
1883
|
+
onEnd: PropTypes__default.func,
|
|
1884
|
+
onStateChange: PropTypes__default.func,
|
|
1885
|
+
onPlaybackRateChange: PropTypes__default.func,
|
|
1886
|
+
onPlaybackQualityChange: PropTypes__default.func
|
|
1899
1887
|
};
|
|
1900
1888
|
YouTube.defaultProps = {
|
|
1901
1889
|
videoId: null,
|
|
@@ -1917,7 +1905,7 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1917
1905
|
var url = _ref.url,
|
|
1918
1906
|
autoplay = _ref.autoplay;
|
|
1919
1907
|
|
|
1920
|
-
var id = index$
|
|
1908
|
+
var id = index$3.getYoutubeId(url);
|
|
1921
1909
|
|
|
1922
1910
|
var _useState = React.useState(false),
|
|
1923
1911
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -2013,11 +2001,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2013
2001
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2014
2002
|
};
|
|
2015
2003
|
|
|
2016
|
-
return React__default
|
|
2004
|
+
return React__default.createElement(
|
|
2017
2005
|
'div',
|
|
2018
2006
|
{ id: 'fluid-video-container' },
|
|
2019
|
-
React__default
|
|
2020
|
-
React__default
|
|
2007
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2008
|
+
React__default.createElement(
|
|
2021
2009
|
'style',
|
|
2022
2010
|
{ jsx: 'true' },
|
|
2023
2011
|
'\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 '
|
|
@@ -2030,20 +2018,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2030
2018
|
content = _ref.content,
|
|
2031
2019
|
getSerializers = _ref.getSerializers;
|
|
2032
2020
|
|
|
2033
|
-
return React__default
|
|
2021
|
+
return React__default.createElement(
|
|
2034
2022
|
'article',
|
|
2035
2023
|
{ className: 'sidebar' },
|
|
2036
|
-
React__default
|
|
2024
|
+
React__default.createElement(
|
|
2037
2025
|
'div',
|
|
2038
2026
|
null,
|
|
2039
|
-
React__default
|
|
2027
|
+
React__default.createElement(
|
|
2040
2028
|
'h3',
|
|
2041
2029
|
null,
|
|
2042
2030
|
caption
|
|
2043
2031
|
),
|
|
2044
|
-
React__default
|
|
2032
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2045
2033
|
),
|
|
2046
|
-
React__default
|
|
2034
|
+
React__default.createElement(
|
|
2047
2035
|
'style',
|
|
2048
2036
|
{ jsx: 'true' },
|
|
2049
2037
|
'\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 '
|
|
@@ -2054,18 +2042,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2054
2042
|
var TableShow = function TableShow(_ref) {
|
|
2055
2043
|
var rows = _ref.rows;
|
|
2056
2044
|
|
|
2057
|
-
return React__default
|
|
2045
|
+
return React__default.createElement(
|
|
2058
2046
|
reactBootstrap.Table,
|
|
2059
2047
|
{ bordered: true, hover: true, responsive: true },
|
|
2060
|
-
React__default
|
|
2048
|
+
React__default.createElement(
|
|
2061
2049
|
'tbody',
|
|
2062
2050
|
null,
|
|
2063
2051
|
rows && rows.map(function (row) {
|
|
2064
|
-
return React__default
|
|
2052
|
+
return React__default.createElement(
|
|
2065
2053
|
'tr',
|
|
2066
2054
|
{ key: row._key },
|
|
2067
2055
|
row.cells && row.cells.map(function (cell, index) {
|
|
2068
|
-
return cell && React__default
|
|
2056
|
+
return cell && React__default.createElement(
|
|
2069
2057
|
'td',
|
|
2070
2058
|
{ key: index },
|
|
2071
2059
|
cell
|
|
@@ -2163,25 +2151,25 @@ var Media = function Media(_ref) {
|
|
|
2163
2151
|
margin: imageMargin
|
|
2164
2152
|
};
|
|
2165
2153
|
|
|
2166
|
-
return React__default
|
|
2154
|
+
return React__default.createElement(
|
|
2167
2155
|
reactBootstrap.Figure,
|
|
2168
2156
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2169
|
-
React__default
|
|
2157
|
+
React__default.createElement(
|
|
2170
2158
|
'a',
|
|
2171
2159
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2172
|
-
React__default
|
|
2160
|
+
React__default.createElement(
|
|
2173
2161
|
index$2.LazyLoad,
|
|
2174
2162
|
{ once: true },
|
|
2175
|
-
React__default
|
|
2163
|
+
React__default.createElement(
|
|
2176
2164
|
'picture',
|
|
2177
2165
|
null,
|
|
2178
|
-
React__default
|
|
2179
|
-
React__default
|
|
2180
|
-
React__default
|
|
2181
|
-
React__default
|
|
2166
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2167
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2168
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2169
|
+
React__default.createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2182
2170
|
)
|
|
2183
2171
|
),
|
|
2184
|
-
caption && React__default
|
|
2172
|
+
caption && React__default.createElement(
|
|
2185
2173
|
reactBootstrap.Figure.Caption,
|
|
2186
2174
|
{ className: 'media-caption' },
|
|
2187
2175
|
caption
|
|
@@ -2189,7 +2177,7 @@ var Media = function Media(_ref) {
|
|
|
2189
2177
|
)
|
|
2190
2178
|
);
|
|
2191
2179
|
} else if (caption && caption !== '') {
|
|
2192
|
-
return React__default
|
|
2180
|
+
return React__default.createElement(
|
|
2193
2181
|
'a',
|
|
2194
2182
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2195
2183
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2209,10 +2197,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2209
2197
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2210
2198
|
|
|
2211
2199
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2212
|
-
return React__default
|
|
2200
|
+
return React__default.createElement(
|
|
2213
2201
|
'div',
|
|
2214
2202
|
{ className: 'd-block text-center mb-3' },
|
|
2215
|
-
React__default
|
|
2203
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2216
2204
|
);
|
|
2217
2205
|
};
|
|
2218
2206
|
|
|
@@ -2222,7 +2210,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2222
2210
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2223
2211
|
|
|
2224
2212
|
var choiceArray = choices.map(function (choice) {
|
|
2225
|
-
return React__default
|
|
2213
|
+
return React__default.createElement(Form.Check, {
|
|
2226
2214
|
inline: true,
|
|
2227
2215
|
label: choice.choiceText,
|
|
2228
2216
|
value: choice.choiceText,
|
|
@@ -2232,19 +2220,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2232
2220
|
onClick: handlePollAnswer
|
|
2233
2221
|
});
|
|
2234
2222
|
});
|
|
2235
|
-
return React__default
|
|
2223
|
+
return React__default.createElement(
|
|
2236
2224
|
'div',
|
|
2237
2225
|
{
|
|
2238
2226
|
key: 'inline-radio',
|
|
2239
2227
|
className: 'mb-3' },
|
|
2240
|
-
React__default
|
|
2228
|
+
React__default.createElement(
|
|
2241
2229
|
'h2',
|
|
2242
2230
|
{
|
|
2243
2231
|
className: 'radioLabelText'
|
|
2244
2232
|
},
|
|
2245
2233
|
question
|
|
2246
2234
|
),
|
|
2247
|
-
React__default
|
|
2235
|
+
React__default.createElement(
|
|
2248
2236
|
'div',
|
|
2249
2237
|
{
|
|
2250
2238
|
className: 'multiChoiceDiv'
|
|
@@ -2259,19 +2247,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2259
2247
|
textAnswer = _ref.textAnswer,
|
|
2260
2248
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2261
2249
|
|
|
2262
|
-
return React__default
|
|
2250
|
+
return React__default.createElement(
|
|
2263
2251
|
'div',
|
|
2264
2252
|
{
|
|
2265
2253
|
className: 'textInputDiv'
|
|
2266
2254
|
},
|
|
2267
|
-
React__default
|
|
2255
|
+
React__default.createElement(
|
|
2268
2256
|
'h2',
|
|
2269
2257
|
{
|
|
2270
2258
|
className: 'textInputQuestion'
|
|
2271
2259
|
},
|
|
2272
2260
|
textInputQuestion
|
|
2273
2261
|
),
|
|
2274
|
-
React__default
|
|
2262
|
+
React__default.createElement(Form.Control, {
|
|
2275
2263
|
type: 'text',
|
|
2276
2264
|
className: 'textInput',
|
|
2277
2265
|
value: textAnswer,
|
|
@@ -2381,7 +2369,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2381
2369
|
var pollArray = [];
|
|
2382
2370
|
pollItems.forEach(function (item, ind) {
|
|
2383
2371
|
if (item.format === 'multiChoice') {
|
|
2384
|
-
pollArray.push(React__default
|
|
2372
|
+
pollArray.push(React__default.createElement(PopupMultiChoice, {
|
|
2385
2373
|
question: item.question,
|
|
2386
2374
|
choices: item.choices,
|
|
2387
2375
|
handlePollAnswer: handlePollAnswer,
|
|
@@ -2389,7 +2377,7 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2389
2377
|
}));
|
|
2390
2378
|
}
|
|
2391
2379
|
if (item.format === 'textInput') {
|
|
2392
|
-
pollArray.push(React__default
|
|
2380
|
+
pollArray.push(React__default.createElement(PopupPollTextInput, {
|
|
2393
2381
|
textInputQuestion: item.question,
|
|
2394
2382
|
textanswer: textAnswer,
|
|
2395
2383
|
handleTextAnswer: handleTextAnswer,
|
|
@@ -2398,27 +2386,27 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2398
2386
|
}
|
|
2399
2387
|
});
|
|
2400
2388
|
|
|
2401
|
-
return React__default
|
|
2389
|
+
return React__default.createElement(
|
|
2402
2390
|
'div',
|
|
2403
2391
|
{
|
|
2404
2392
|
className: 'modalDiv',
|
|
2405
2393
|
id: 'modalDiv'
|
|
2406
2394
|
},
|
|
2407
|
-
React__default
|
|
2408
|
-
|
|
2395
|
+
React__default.createElement(
|
|
2396
|
+
Modal.Dialog,
|
|
2409
2397
|
null,
|
|
2410
|
-
React__default
|
|
2411
|
-
|
|
2398
|
+
React__default.createElement(
|
|
2399
|
+
Modal.Body,
|
|
2412
2400
|
null,
|
|
2413
|
-
React__default
|
|
2414
|
-
|
|
2401
|
+
React__default.createElement(
|
|
2402
|
+
Form,
|
|
2415
2403
|
{
|
|
2416
2404
|
onSubmit: handleSubmit,
|
|
2417
2405
|
className: 'modalForm'
|
|
2418
2406
|
},
|
|
2419
2407
|
pollArray,
|
|
2420
|
-
textInputRender && !multiChoiceRender ? React__default
|
|
2421
|
-
|
|
2408
|
+
textInputRender && !multiChoiceRender ? React__default.createElement(
|
|
2409
|
+
Button,
|
|
2422
2410
|
{
|
|
2423
2411
|
className: 'submitButton',
|
|
2424
2412
|
type: 'submit',
|
|
@@ -2426,8 +2414,8 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2426
2414
|
disabled: !textAnswer
|
|
2427
2415
|
},
|
|
2428
2416
|
'Submit'
|
|
2429
|
-
) : React__default
|
|
2430
|
-
|
|
2417
|
+
) : React__default.createElement(
|
|
2418
|
+
Button,
|
|
2431
2419
|
{
|
|
2432
2420
|
className: 'submitButton',
|
|
2433
2421
|
type: 'submit',
|
|
@@ -2595,10 +2583,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2595
2583
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2596
2584
|
};
|
|
2597
2585
|
|
|
2598
|
-
return React__default
|
|
2586
|
+
return React__default.createElement(
|
|
2599
2587
|
'div',
|
|
2600
2588
|
null,
|
|
2601
|
-
isPollingTime ? React__default
|
|
2589
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2602
2590
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2603
2591
|
, { pollItems: pollItems
|
|
2604
2592
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2612,7 +2600,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2612
2600
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2613
2601
|
, multiChoiceRender: multiChoiceRender
|
|
2614
2602
|
}) : null,
|
|
2615
|
-
vidLoaded && React__default
|
|
2603
|
+
vidLoaded && React__default.createElement(
|
|
2616
2604
|
'video',
|
|
2617
2605
|
{
|
|
2618
2606
|
poster: thumbnail || '',
|
|
@@ -2630,7 +2618,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2630
2618
|
onPlay: function onPlay(e) {
|
|
2631
2619
|
return handleOnPlay(e);
|
|
2632
2620
|
} },
|
|
2633
|
-
React__default
|
|
2621
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
2634
2622
|
'Your browser does not support the video tag.'
|
|
2635
2623
|
)
|
|
2636
2624
|
);
|
|
@@ -2881,10 +2869,10 @@ var Video = function Video(_ref) {
|
|
|
2881
2869
|
|
|
2882
2870
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2883
2871
|
if (videoID) {
|
|
2884
|
-
return React__default
|
|
2872
|
+
return React__default.createElement(
|
|
2885
2873
|
'div',
|
|
2886
2874
|
null,
|
|
2887
|
-
isPollingTime ? React__default
|
|
2875
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2888
2876
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2889
2877
|
, { pollItems: pollItems
|
|
2890
2878
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2898,7 +2886,7 @@ var Video = function Video(_ref) {
|
|
|
2898
2886
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2899
2887
|
, multiChoiceRender: multiChoiceRender
|
|
2900
2888
|
}) : null,
|
|
2901
|
-
React__default
|
|
2889
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2902
2890
|
onSuccess: onVideoSuccess,
|
|
2903
2891
|
onFailure: onVideoFailure,
|
|
2904
2892
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2906,17 +2894,17 @@ var Video = function Video(_ref) {
|
|
|
2906
2894
|
playerId: accountIDs.brightcove.playerId,
|
|
2907
2895
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2908
2896
|
}),
|
|
2909
|
-
React__default
|
|
2897
|
+
React__default.createElement(
|
|
2910
2898
|
'style',
|
|
2911
2899
|
{ jsx: 'true' },
|
|
2912
2900
|
'\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 '
|
|
2913
2901
|
)
|
|
2914
2902
|
);
|
|
2915
2903
|
} else if (playlistID) {
|
|
2916
|
-
return React__default
|
|
2904
|
+
return React__default.createElement(
|
|
2917
2905
|
'div',
|
|
2918
2906
|
null,
|
|
2919
|
-
isPollingTime ? React__default
|
|
2907
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2920
2908
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2921
2909
|
, { pollItems: pollItems
|
|
2922
2910
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2930,7 +2918,7 @@ var Video = function Video(_ref) {
|
|
|
2930
2918
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2931
2919
|
, multiChoiceRender: multiChoiceRender
|
|
2932
2920
|
}) : null,
|
|
2933
|
-
React__default
|
|
2921
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2934
2922
|
accountId: accountIDs.brightcove.accountId,
|
|
2935
2923
|
playlistId: playlistID,
|
|
2936
2924
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2938,18 +2926,18 @@ var Video = function Video(_ref) {
|
|
|
2938
2926
|
onFailure: onVideoFailure,
|
|
2939
2927
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2940
2928
|
}),
|
|
2941
|
-
React__default
|
|
2929
|
+
React__default.createElement(
|
|
2942
2930
|
'style',
|
|
2943
2931
|
{ jsx: 'true' },
|
|
2944
2932
|
'\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 '
|
|
2945
2933
|
)
|
|
2946
2934
|
);
|
|
2947
2935
|
} else if (experienceID) {
|
|
2948
|
-
return React__default
|
|
2936
|
+
return React__default.createElement(
|
|
2949
2937
|
'div',
|
|
2950
2938
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2951
|
-
React__default
|
|
2952
|
-
isPollingTime ? React__default
|
|
2939
|
+
React__default.createElement('div', { 'data-experience': experienceID }),
|
|
2940
|
+
isPollingTime ? React__default.createElement(PopupPollModal
|
|
2953
2941
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2954
2942
|
, { pollItems: pollItems
|
|
2955
2943
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2969,10 +2957,10 @@ var Video = function Video(_ref) {
|
|
|
2969
2957
|
}
|
|
2970
2958
|
|
|
2971
2959
|
if (source === 'mp4') {
|
|
2972
|
-
return React__default
|
|
2960
|
+
return React__default.createElement(
|
|
2973
2961
|
'div',
|
|
2974
2962
|
null,
|
|
2975
|
-
React__default
|
|
2963
|
+
React__default.createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2976
2964
|
);
|
|
2977
2965
|
}
|
|
2978
2966
|
|
|
@@ -2987,7 +2975,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2987
2975
|
});
|
|
2988
2976
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2989
2977
|
|
|
2990
|
-
var _propTypes = _interopRequireDefault(PropTypes__default
|
|
2978
|
+
var _propTypes = _interopRequireDefault(PropTypes__default);
|
|
2991
2979
|
|
|
2992
2980
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2993
2981
|
|
|
@@ -3183,9 +3171,9 @@ exports.DEPRECATED_CONFIG_PROPS = DEPRECATED_CONFIG_PROPS;
|
|
|
3183
3171
|
});
|
|
3184
3172
|
|
|
3185
3173
|
_commonjsHelpers.unwrapExports(props);
|
|
3186
|
-
props.DEPRECATED_CONFIG_PROPS;
|
|
3187
|
-
props.defaultProps;
|
|
3188
|
-
props.propTypes;
|
|
3174
|
+
var props_1 = props.DEPRECATED_CONFIG_PROPS;
|
|
3175
|
+
var props_2 = props.defaultProps;
|
|
3176
|
+
var props_3 = props.propTypes;
|
|
3189
3177
|
|
|
3190
3178
|
var isMergeableObject = function isMergeableObject(value) {
|
|
3191
3179
|
return isNonNullObject(value)
|
|
@@ -3577,7 +3565,7 @@ function isEqual(a, b) {
|
|
|
3577
3565
|
return true;
|
|
3578
3566
|
}
|
|
3579
3567
|
|
|
3580
|
-
if ((0, React__default
|
|
3568
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
3581
3569
|
return true;
|
|
3582
3570
|
}
|
|
3583
3571
|
|
|
@@ -3620,17 +3608,17 @@ function isMediaStream(url) {
|
|
|
3620
3608
|
});
|
|
3621
3609
|
|
|
3622
3610
|
_commonjsHelpers.unwrapExports(utils);
|
|
3623
|
-
utils.parseStartTime;
|
|
3624
|
-
utils.parseEndTime;
|
|
3625
|
-
utils.randomString;
|
|
3626
|
-
utils.queryString;
|
|
3627
|
-
utils.getSDK;
|
|
3628
|
-
utils.getConfig;
|
|
3629
|
-
utils.omit;
|
|
3630
|
-
utils.callPlayer;
|
|
3631
|
-
utils.isObject;
|
|
3632
|
-
utils.isEqual;
|
|
3633
|
-
utils.isMediaStream;
|
|
3611
|
+
var utils_1 = utils.parseStartTime;
|
|
3612
|
+
var utils_2 = utils.parseEndTime;
|
|
3613
|
+
var utils_3 = utils.randomString;
|
|
3614
|
+
var utils_4 = utils.queryString;
|
|
3615
|
+
var utils_5 = utils.getSDK;
|
|
3616
|
+
var utils_6 = utils.getConfig;
|
|
3617
|
+
var utils_7 = utils.omit;
|
|
3618
|
+
var utils_8 = utils.callPlayer;
|
|
3619
|
+
var utils_9 = utils.isObject;
|
|
3620
|
+
var utils_10 = utils.isEqual;
|
|
3621
|
+
var utils_11 = utils.isMediaStream;
|
|
3634
3622
|
|
|
3635
3623
|
var Player_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
3636
3624
|
|
|
@@ -3639,7 +3627,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3639
3627
|
});
|
|
3640
3628
|
exports["default"] = void 0;
|
|
3641
3629
|
|
|
3642
|
-
var _react = _interopRequireWildcard(React__default
|
|
3630
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3643
3631
|
|
|
3644
3632
|
|
|
3645
3633
|
|
|
@@ -4049,7 +4037,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4049
4037
|
});
|
|
4050
4038
|
exports["default"] = createSinglePlayer;
|
|
4051
4039
|
|
|
4052
|
-
var _react = _interopRequireWildcard(React__default
|
|
4040
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4053
4041
|
|
|
4054
4042
|
|
|
4055
4043
|
|
|
@@ -4207,7 +4195,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4207
4195
|
});
|
|
4208
4196
|
exports["default"] = exports.YouTube = void 0;
|
|
4209
4197
|
|
|
4210
|
-
var _react = _interopRequireWildcard(React__default
|
|
4198
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4211
4199
|
|
|
4212
4200
|
|
|
4213
4201
|
|
|
@@ -4507,7 +4495,7 @@ exports["default"] = _default;
|
|
|
4507
4495
|
});
|
|
4508
4496
|
|
|
4509
4497
|
_commonjsHelpers.unwrapExports(YouTube_1);
|
|
4510
|
-
YouTube_1.YouTube;
|
|
4498
|
+
var YouTube_2 = YouTube_1.YouTube;
|
|
4511
4499
|
|
|
4512
4500
|
var SoundCloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4513
4501
|
|
|
@@ -4516,7 +4504,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4516
4504
|
});
|
|
4517
4505
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4518
4506
|
|
|
4519
|
-
var _react = _interopRequireWildcard(React__default
|
|
4507
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4520
4508
|
|
|
4521
4509
|
|
|
4522
4510
|
|
|
@@ -4724,7 +4712,7 @@ exports["default"] = _default;
|
|
|
4724
4712
|
});
|
|
4725
4713
|
|
|
4726
4714
|
_commonjsHelpers.unwrapExports(SoundCloud_1);
|
|
4727
|
-
SoundCloud_1.SoundCloud;
|
|
4715
|
+
var SoundCloud_2 = SoundCloud_1.SoundCloud;
|
|
4728
4716
|
|
|
4729
4717
|
var Vimeo_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4730
4718
|
|
|
@@ -4733,7 +4721,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4733
4721
|
});
|
|
4734
4722
|
exports["default"] = exports.Vimeo = void 0;
|
|
4735
4723
|
|
|
4736
|
-
var _react = _interopRequireWildcard(React__default
|
|
4724
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4737
4725
|
|
|
4738
4726
|
|
|
4739
4727
|
|
|
@@ -4980,7 +4968,7 @@ exports["default"] = _default;
|
|
|
4980
4968
|
});
|
|
4981
4969
|
|
|
4982
4970
|
_commonjsHelpers.unwrapExports(Vimeo_1);
|
|
4983
|
-
Vimeo_1.Vimeo;
|
|
4971
|
+
var Vimeo_2 = Vimeo_1.Vimeo;
|
|
4984
4972
|
|
|
4985
4973
|
var Facebook_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
4986
4974
|
|
|
@@ -4989,7 +4977,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4989
4977
|
});
|
|
4990
4978
|
exports["default"] = exports.Facebook = void 0;
|
|
4991
4979
|
|
|
4992
|
-
var _react = _interopRequireWildcard(React__default
|
|
4980
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4993
4981
|
|
|
4994
4982
|
|
|
4995
4983
|
|
|
@@ -5192,7 +5180,7 @@ exports["default"] = _default;
|
|
|
5192
5180
|
});
|
|
5193
5181
|
|
|
5194
5182
|
_commonjsHelpers.unwrapExports(Facebook_1);
|
|
5195
|
-
Facebook_1.Facebook;
|
|
5183
|
+
var Facebook_2 = Facebook_1.Facebook;
|
|
5196
5184
|
|
|
5197
5185
|
var Streamable_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5198
5186
|
|
|
@@ -5201,7 +5189,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5201
5189
|
});
|
|
5202
5190
|
exports["default"] = exports.Streamable = void 0;
|
|
5203
5191
|
|
|
5204
|
-
var _react = _interopRequireWildcard(React__default
|
|
5192
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5205
5193
|
|
|
5206
5194
|
|
|
5207
5195
|
|
|
@@ -5403,7 +5391,7 @@ exports["default"] = _default;
|
|
|
5403
5391
|
});
|
|
5404
5392
|
|
|
5405
5393
|
_commonjsHelpers.unwrapExports(Streamable_1);
|
|
5406
|
-
Streamable_1.Streamable;
|
|
5394
|
+
var Streamable_2 = Streamable_1.Streamable;
|
|
5407
5395
|
|
|
5408
5396
|
var Wistia_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5409
5397
|
|
|
@@ -5412,7 +5400,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5412
5400
|
});
|
|
5413
5401
|
exports["default"] = exports.Wistia = void 0;
|
|
5414
5402
|
|
|
5415
|
-
var _react = _interopRequireWildcard(React__default
|
|
5403
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5416
5404
|
|
|
5417
5405
|
|
|
5418
5406
|
|
|
@@ -5646,7 +5634,7 @@ exports["default"] = _default;
|
|
|
5646
5634
|
});
|
|
5647
5635
|
|
|
5648
5636
|
_commonjsHelpers.unwrapExports(Wistia_1);
|
|
5649
|
-
Wistia_1.Wistia;
|
|
5637
|
+
var Wistia_2 = Wistia_1.Wistia;
|
|
5650
5638
|
|
|
5651
5639
|
var Twitch_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5652
5640
|
|
|
@@ -5655,7 +5643,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5655
5643
|
});
|
|
5656
5644
|
exports["default"] = exports.Twitch = void 0;
|
|
5657
5645
|
|
|
5658
|
-
var _react = _interopRequireWildcard(React__default
|
|
5646
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5659
5647
|
|
|
5660
5648
|
|
|
5661
5649
|
|
|
@@ -5862,7 +5850,7 @@ exports["default"] = _default;
|
|
|
5862
5850
|
});
|
|
5863
5851
|
|
|
5864
5852
|
_commonjsHelpers.unwrapExports(Twitch_1);
|
|
5865
|
-
Twitch_1.Twitch;
|
|
5853
|
+
var Twitch_2 = Twitch_1.Twitch;
|
|
5866
5854
|
|
|
5867
5855
|
var DailyMotion_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
5868
5856
|
|
|
@@ -5871,7 +5859,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5871
5859
|
});
|
|
5872
5860
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5873
5861
|
|
|
5874
|
-
var _react = _interopRequireWildcard(React__default
|
|
5862
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5875
5863
|
|
|
5876
5864
|
|
|
5877
5865
|
|
|
@@ -6098,7 +6086,7 @@ exports["default"] = _default;
|
|
|
6098
6086
|
});
|
|
6099
6087
|
|
|
6100
6088
|
_commonjsHelpers.unwrapExports(DailyMotion_1);
|
|
6101
|
-
DailyMotion_1.DailyMotion;
|
|
6089
|
+
var DailyMotion_2 = DailyMotion_1.DailyMotion;
|
|
6102
6090
|
|
|
6103
6091
|
var Mixcloud_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6104
6092
|
|
|
@@ -6107,7 +6095,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6107
6095
|
});
|
|
6108
6096
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6109
6097
|
|
|
6110
|
-
var _react = _interopRequireWildcard(React__default
|
|
6098
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6111
6099
|
|
|
6112
6100
|
|
|
6113
6101
|
|
|
@@ -6297,7 +6285,7 @@ exports["default"] = _default;
|
|
|
6297
6285
|
});
|
|
6298
6286
|
|
|
6299
6287
|
_commonjsHelpers.unwrapExports(Mixcloud_1);
|
|
6300
|
-
Mixcloud_1.Mixcloud;
|
|
6288
|
+
var Mixcloud_2 = Mixcloud_1.Mixcloud;
|
|
6301
6289
|
|
|
6302
6290
|
var FilePlayer_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6303
6291
|
|
|
@@ -6306,7 +6294,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6306
6294
|
});
|
|
6307
6295
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6308
6296
|
|
|
6309
|
-
var _react = _interopRequireWildcard(React__default
|
|
6297
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6310
6298
|
|
|
6311
6299
|
|
|
6312
6300
|
|
|
@@ -6831,7 +6819,7 @@ exports["default"] = _default;
|
|
|
6831
6819
|
});
|
|
6832
6820
|
|
|
6833
6821
|
_commonjsHelpers.unwrapExports(FilePlayer_1);
|
|
6834
|
-
FilePlayer_1.FilePlayer;
|
|
6822
|
+
var FilePlayer_2 = FilePlayer_1.FilePlayer;
|
|
6835
6823
|
|
|
6836
6824
|
var players = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
6837
6825
|
|
|
@@ -6873,7 +6861,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6873
6861
|
});
|
|
6874
6862
|
exports["default"] = void 0;
|
|
6875
6863
|
|
|
6876
|
-
var _react = _interopRequireWildcard(React__default
|
|
6864
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6877
6865
|
|
|
6878
6866
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6879
6867
|
|
|
@@ -7052,7 +7040,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7052
7040
|
});
|
|
7053
7041
|
exports["default"] = renderPreloadPlayers;
|
|
7054
7042
|
|
|
7055
|
-
var _react = _interopRequireDefault(React__default
|
|
7043
|
+
var _react = _interopRequireDefault(React__default);
|
|
7056
7044
|
|
|
7057
7045
|
var _Player = _interopRequireDefault(Player_1);
|
|
7058
7046
|
|
|
@@ -7191,7 +7179,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7191
7179
|
});
|
|
7192
7180
|
exports["default"] = void 0;
|
|
7193
7181
|
|
|
7194
|
-
var _react = _interopRequireWildcard(React__default
|
|
7182
|
+
var _react = _interopRequireWildcard(React__default);
|
|
7195
7183
|
|
|
7196
7184
|
|
|
7197
7185
|
|
|
@@ -7505,20 +7493,20 @@ var Audio = function Audio(_ref) {
|
|
|
7505
7493
|
var node = _ref.node;
|
|
7506
7494
|
|
|
7507
7495
|
if (node.uploadAudio) {
|
|
7508
|
-
return React__default
|
|
7496
|
+
return React__default.createElement(
|
|
7509
7497
|
'div',
|
|
7510
7498
|
{ className: 'audio d-block text-center mb-3' },
|
|
7511
|
-
React__default
|
|
7499
|
+
React__default.createElement(
|
|
7512
7500
|
'audio',
|
|
7513
7501
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
7514
|
-
React__default
|
|
7515
|
-
React__default
|
|
7502
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7503
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7516
7504
|
'Your browser does not support the audio element.'
|
|
7517
7505
|
),
|
|
7518
|
-
node.caption && React__default
|
|
7506
|
+
node.caption && React__default.createElement(
|
|
7519
7507
|
'p',
|
|
7520
7508
|
{ style: { fontSize: '.9rem' } },
|
|
7521
|
-
React__default
|
|
7509
|
+
React__default.createElement(
|
|
7522
7510
|
'em',
|
|
7523
7511
|
null,
|
|
7524
7512
|
node.caption
|
|
@@ -7528,15 +7516,15 @@ var Audio = function Audio(_ref) {
|
|
|
7528
7516
|
} else if (node.audioFilePth) {
|
|
7529
7517
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7530
7518
|
if (hostname === 'embeds.audioboom.com') {
|
|
7531
|
-
return React__default
|
|
7519
|
+
return React__default.createElement(
|
|
7532
7520
|
'div',
|
|
7533
7521
|
null,
|
|
7534
|
-
React__default
|
|
7522
|
+
React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7535
7523
|
' ',
|
|
7536
|
-
node.caption && React__default
|
|
7524
|
+
node.caption && React__default.createElement(
|
|
7537
7525
|
'p',
|
|
7538
7526
|
{ style: { fontSize: '.9rem' } },
|
|
7539
|
-
React__default
|
|
7527
|
+
React__default.createElement(
|
|
7540
7528
|
'em',
|
|
7541
7529
|
null,
|
|
7542
7530
|
node.caption
|
|
@@ -7544,14 +7532,14 @@ var Audio = function Audio(_ref) {
|
|
|
7544
7532
|
)
|
|
7545
7533
|
);
|
|
7546
7534
|
}
|
|
7547
|
-
return React__default
|
|
7535
|
+
return React__default.createElement(
|
|
7548
7536
|
'div',
|
|
7549
7537
|
{ className: 'audio' },
|
|
7550
|
-
React__default
|
|
7551
|
-
node.caption && React__default
|
|
7538
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
7539
|
+
node.caption && React__default.createElement(
|
|
7552
7540
|
'p',
|
|
7553
7541
|
{ style: { fontSize: '.9rem' } },
|
|
7554
|
-
React__default
|
|
7542
|
+
React__default.createElement(
|
|
7555
7543
|
'em',
|
|
7556
7544
|
null,
|
|
7557
7545
|
node.caption
|
|
@@ -7570,34 +7558,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7570
7558
|
var showAuthorDetails = arguments[7];
|
|
7571
7559
|
|
|
7572
7560
|
if (authorName && authorURL) {
|
|
7573
|
-
return React__default
|
|
7561
|
+
return React__default.createElement(
|
|
7574
7562
|
'span',
|
|
7575
7563
|
null,
|
|
7576
|
-
React__default
|
|
7564
|
+
React__default.createElement(
|
|
7577
7565
|
'a',
|
|
7578
7566
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7579
7567
|
authorName
|
|
7580
7568
|
),
|
|
7581
|
-
showAuthorDetails && React__default
|
|
7569
|
+
showAuthorDetails && React__default.createElement(
|
|
7582
7570
|
reactBootstrap.Card,
|
|
7583
7571
|
{ className: 'author-details-card-' + index },
|
|
7584
|
-
React__default
|
|
7572
|
+
React__default.createElement(
|
|
7585
7573
|
reactBootstrap.Row,
|
|
7586
7574
|
null,
|
|
7587
|
-
profileImage && React__default
|
|
7575
|
+
profileImage && React__default.createElement(
|
|
7588
7576
|
reactBootstrap.Col,
|
|
7589
7577
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7590
|
-
React__default
|
|
7578
|
+
React__default.createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7591
7579
|
),
|
|
7592
|
-
React__default
|
|
7580
|
+
React__default.createElement(
|
|
7593
7581
|
reactBootstrap.Col,
|
|
7594
7582
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7595
|
-
React__default
|
|
7583
|
+
React__default.createElement(
|
|
7596
7584
|
'div',
|
|
7597
7585
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7598
7586
|
authorName
|
|
7599
7587
|
),
|
|
7600
|
-
React__default
|
|
7588
|
+
React__default.createElement(
|
|
7601
7589
|
'p',
|
|
7602
7590
|
null,
|
|
7603
7591
|
biography
|
|
@@ -7605,7 +7593,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7605
7593
|
)
|
|
7606
7594
|
)
|
|
7607
7595
|
),
|
|
7608
|
-
React__default
|
|
7596
|
+
React__default.createElement(
|
|
7609
7597
|
'style',
|
|
7610
7598
|
{ jsx: 'true' },
|
|
7611
7599
|
'\n .author-details-card-' + index + ' {\n display: none;\n position: absolute;\n width: 90%;\n max-width: 450px;\n z-index: 9999;\n }\n .author-details-card-' + index + ' h5 {\n font-weight: 500;\n }\n .author-details-link-' + index + ':hover + .author-details-card-' + index + ', .author-details-card-' + index + ':hover {\n display: block;\n box-shadow: 0px 0px 5px #aaa;\n padding: 15px;\n border-radius: 5px;\n }\n '
|
|
@@ -7613,7 +7601,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7613
7601
|
length !== index + 1 && ', '
|
|
7614
7602
|
);
|
|
7615
7603
|
} else if (authorName) {
|
|
7616
|
-
return React__default
|
|
7604
|
+
return React__default.createElement(
|
|
7617
7605
|
'span',
|
|
7618
7606
|
{ key: index },
|
|
7619
7607
|
authorName,
|
|
@@ -7715,7 +7703,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7715
7703
|
if (vid.thumbnail && vid.thumbnail.asset) {
|
|
7716
7704
|
data.push({ title: vid.title, thumbnail: urlFor({ client: client, source: vid.thumbnail.asset }), url: vid.url });
|
|
7717
7705
|
} else {
|
|
7718
|
-
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$
|
|
7706
|
+
data.push({ title: vid.title, thumbnail: 'https://img.youtube.com/vi/' + index$3.getYoutubeId(vid.url) + '/hqdefault.jpg', url: vid.url });
|
|
7719
7707
|
}
|
|
7720
7708
|
}
|
|
7721
7709
|
});
|
|
@@ -7775,7 +7763,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7775
7763
|
//Small pause before starting next video
|
|
7776
7764
|
setTimeout(function () {
|
|
7777
7765
|
//Youtube API to start video playing automatically
|
|
7778
|
-
var id = index$
|
|
7766
|
+
var id = index$3.getYoutubeId(vidUrl);
|
|
7779
7767
|
event.target.loadVideoById(id);
|
|
7780
7768
|
}, 1500);
|
|
7781
7769
|
};
|
|
@@ -7885,44 +7873,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7885
7873
|
}
|
|
7886
7874
|
};
|
|
7887
7875
|
|
|
7888
|
-
return React__default
|
|
7876
|
+
return React__default.createElement(
|
|
7889
7877
|
'div',
|
|
7890
7878
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7891
|
-
React__default
|
|
7879
|
+
React__default.createElement(
|
|
7892
7880
|
'div',
|
|
7893
7881
|
{ className: 'mt-2 mb-5' },
|
|
7894
|
-
series && React__default
|
|
7882
|
+
series && React__default.createElement(
|
|
7895
7883
|
'div',
|
|
7896
7884
|
{ style: { fontSize: '0.9rem' } },
|
|
7897
7885
|
article.title,
|
|
7898
7886
|
' - Episode ',
|
|
7899
7887
|
series
|
|
7900
7888
|
),
|
|
7901
|
-
Videos[series - 1] && React__default
|
|
7889
|
+
Videos[series - 1] && React__default.createElement(
|
|
7902
7890
|
'h1',
|
|
7903
7891
|
{ className: 'mb-3' },
|
|
7904
7892
|
Videos[series - 1].title
|
|
7905
7893
|
),
|
|
7906
|
-
React__default
|
|
7894
|
+
React__default.createElement(
|
|
7907
7895
|
'div',
|
|
7908
7896
|
null,
|
|
7909
7897
|
moment.moment(article.published).format('LL')
|
|
7910
7898
|
),
|
|
7911
|
-
React__default
|
|
7899
|
+
React__default.createElement(
|
|
7912
7900
|
'div',
|
|
7913
7901
|
{ className: 'mb-3' },
|
|
7914
7902
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7915
|
-
return React__default
|
|
7903
|
+
return React__default.createElement(
|
|
7916
7904
|
'span',
|
|
7917
7905
|
{ key: index },
|
|
7918
7906
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7919
7907
|
);
|
|
7920
7908
|
})
|
|
7921
7909
|
),
|
|
7922
|
-
React__default
|
|
7910
|
+
React__default.createElement(
|
|
7923
7911
|
'p',
|
|
7924
7912
|
null,
|
|
7925
|
-
React__default
|
|
7913
|
+
React__default.createElement(SocialShare, {
|
|
7926
7914
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7927
7915
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7928
7916
|
shareVia: meta.shareVia,
|
|
@@ -7937,22 +7925,22 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7937
7925
|
hideFacebook: meta.hideFBShare
|
|
7938
7926
|
})
|
|
7939
7927
|
),
|
|
7940
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default
|
|
7928
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default.createElement(
|
|
7941
7929
|
'p',
|
|
7942
7930
|
{ className: 'mb-3' },
|
|
7943
|
-
React__default
|
|
7931
|
+
React__default.createElement(
|
|
7944
7932
|
'em',
|
|
7945
7933
|
null,
|
|
7946
7934
|
Videos[series - 1].intro
|
|
7947
7935
|
)
|
|
7948
7936
|
)
|
|
7949
7937
|
),
|
|
7950
|
-
React__default
|
|
7938
|
+
React__default.createElement(
|
|
7951
7939
|
'div',
|
|
7952
7940
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7953
|
-
vidUrl && vidType == 'youtube' && React__default
|
|
7941
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7954
7942
|
className: 'fluid-iframe',
|
|
7955
|
-
videoId: index$
|
|
7943
|
+
videoId: index$3.getYoutubeId(vidUrl),
|
|
7956
7944
|
opts: opts,
|
|
7957
7945
|
onReady: handleOnReady,
|
|
7958
7946
|
onPlay: handleOnPlay,
|
|
@@ -7961,10 +7949,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7961
7949
|
return handleOnEnd(e);
|
|
7962
7950
|
}
|
|
7963
7951
|
}),
|
|
7964
|
-
vidUrl && vidType == 'mp4' && React__default
|
|
7965
|
-
vidUrl && vidType == 'brightcove' && React__default
|
|
7966
|
-
React__default
|
|
7967
|
-
series && React__default
|
|
7952
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7953
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7954
|
+
React__default.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7955
|
+
series && React__default.createElement(
|
|
7968
7956
|
'div',
|
|
7969
7957
|
{
|
|
7970
7958
|
className: 'vid-series',
|
|
@@ -7974,10 +7962,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7974
7962
|
maxHeight: '100%',
|
|
7975
7963
|
paddingBottom: '0'
|
|
7976
7964
|
} },
|
|
7977
|
-
React__default
|
|
7965
|
+
React__default.createElement(
|
|
7978
7966
|
'p',
|
|
7979
7967
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7980
|
-
React__default
|
|
7968
|
+
React__default.createElement(
|
|
7981
7969
|
'b',
|
|
7982
7970
|
{ style: { fontSize: '1.25em' } },
|
|
7983
7971
|
'Now Playing:'
|
|
@@ -7985,16 +7973,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7985
7973
|
' ',
|
|
7986
7974
|
seriesData[series ? series - 1 : 0].title
|
|
7987
7975
|
),
|
|
7988
|
-
vidUrl && React__default
|
|
7976
|
+
vidUrl && React__default.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7989
7977
|
)
|
|
7990
7978
|
),
|
|
7991
|
-
React__default
|
|
7992
|
-
React__default
|
|
7979
|
+
React__default.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7980
|
+
React__default.createElement(
|
|
7993
7981
|
'div',
|
|
7994
7982
|
{ className: 'vid-text' },
|
|
7995
|
-
Videos[series - 1] && Videos[series - 1].text && React__default
|
|
7983
|
+
Videos[series - 1] && Videos[series - 1].text && React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7996
7984
|
),
|
|
7997
|
-
React__default
|
|
7985
|
+
React__default.createElement(
|
|
7998
7986
|
'style',
|
|
7999
7987
|
{ jsx: 'true' },
|
|
8000
7988
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8002,14 +7990,14 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8002
7990
|
);
|
|
8003
7991
|
};
|
|
8004
7992
|
|
|
8005
|
-
var Poll
|
|
8006
|
-
var node = _ref.node
|
|
8007
|
-
_ref.client
|
|
8008
|
-
_ref.pageview
|
|
8009
|
-
_ref.videoAccountIDs
|
|
8010
|
-
|
|
8011
|
-
_ref.showVotes
|
|
8012
|
-
|
|
7993
|
+
var Poll = function Poll(_ref) {
|
|
7994
|
+
var node = _ref.node,
|
|
7995
|
+
client = _ref.client,
|
|
7996
|
+
pageview = _ref.pageview,
|
|
7997
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
7998
|
+
onVote = _ref.onVote,
|
|
7999
|
+
_ref$showVotes = _ref.showVotes,
|
|
8000
|
+
getSerializers = _ref.getSerializers;
|
|
8013
8001
|
|
|
8014
8002
|
var _useState = React.useState(null),
|
|
8015
8003
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8047,67 +8035,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8047
8035
|
return acc;
|
|
8048
8036
|
}
|
|
8049
8037
|
}, 0);
|
|
8050
|
-
return React__default
|
|
8051
|
-
React__default
|
|
8038
|
+
return React__default.createElement(
|
|
8039
|
+
React__default.Fragment,
|
|
8052
8040
|
null,
|
|
8053
|
-
question && React__default
|
|
8041
|
+
question && React__default.createElement(
|
|
8054
8042
|
'p',
|
|
8055
8043
|
{ className: 'font-weight-bold' },
|
|
8056
8044
|
question
|
|
8057
8045
|
),
|
|
8058
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
8046
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8059
8047
|
'form',
|
|
8060
8048
|
{ onSubmit: function onSubmit(e) {
|
|
8061
8049
|
return onSubmitPoll(e);
|
|
8062
8050
|
} },
|
|
8063
8051
|
choices && choices.map(function (choice) {
|
|
8064
|
-
return React__default
|
|
8052
|
+
return React__default.createElement(
|
|
8065
8053
|
'div',
|
|
8066
8054
|
{ key: choice._key },
|
|
8067
|
-
React__default
|
|
8055
|
+
React__default.createElement(
|
|
8068
8056
|
'label',
|
|
8069
8057
|
{ className: 'pl-2' },
|
|
8070
|
-
React__default
|
|
8058
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8071
8059
|
return setSelectedChoice(e.target.value);
|
|
8072
8060
|
} }),
|
|
8073
8061
|
' ' + choice.choiceText
|
|
8074
8062
|
)
|
|
8075
8063
|
);
|
|
8076
8064
|
}),
|
|
8077
|
-
React__default
|
|
8065
|
+
React__default.createElement(
|
|
8078
8066
|
reactBootstrap.Button,
|
|
8079
8067
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8080
8068
|
'Vote'
|
|
8081
8069
|
)
|
|
8082
8070
|
),
|
|
8083
|
-
React__default
|
|
8071
|
+
React__default.createElement(
|
|
8084
8072
|
'div',
|
|
8085
8073
|
{ className: 'progress-container' },
|
|
8086
8074
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8087
8075
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8088
|
-
return React__default
|
|
8076
|
+
return React__default.createElement(
|
|
8089
8077
|
'div',
|
|
8090
8078
|
{ key: choice._key, className: 'mb-3' },
|
|
8091
|
-
React__default
|
|
8079
|
+
React__default.createElement(
|
|
8092
8080
|
'div',
|
|
8093
8081
|
{ className: 'correct-answer' },
|
|
8094
|
-
React__default
|
|
8082
|
+
React__default.createElement(
|
|
8095
8083
|
'div',
|
|
8096
8084
|
null,
|
|
8097
8085
|
choice.choiceText
|
|
8098
8086
|
),
|
|
8099
|
-
choice.choiceAnswer === true && React__default
|
|
8087
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8100
8088
|
'div',
|
|
8101
8089
|
null,
|
|
8102
|
-
React__default
|
|
8090
|
+
React__default.createElement(
|
|
8103
8091
|
'span',
|
|
8104
8092
|
{ style: { color: 'limegreen' } },
|
|
8105
8093
|
'Correct!'
|
|
8106
8094
|
)
|
|
8107
8095
|
)
|
|
8108
8096
|
),
|
|
8109
|
-
React__default
|
|
8110
|
-
React__default
|
|
8097
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8098
|
+
React__default.createElement(
|
|
8111
8099
|
'span',
|
|
8112
8100
|
{ className: 'float-right' },
|
|
8113
8101
|
percentage,
|
|
@@ -8118,14 +8106,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8118
8106
|
);
|
|
8119
8107
|
})
|
|
8120
8108
|
),
|
|
8121
|
-
showAnswer && React__default
|
|
8109
|
+
showAnswer && React__default.createElement(
|
|
8122
8110
|
'h4',
|
|
8123
8111
|
{ className: 'text-center small p-3' },
|
|
8124
8112
|
'Total Votes: ',
|
|
8125
8113
|
choicesTotalCount
|
|
8126
8114
|
),
|
|
8127
|
-
showAnswer && response && React__default
|
|
8128
|
-
React__default
|
|
8115
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8116
|
+
React__default.createElement(
|
|
8129
8117
|
'style',
|
|
8130
8118
|
{ jsx: 'true' },
|
|
8131
8119
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8143,22 +8131,22 @@ core_getIteratorMethod._export(core_getIteratorMethod._export.S, 'Object', {
|
|
|
8143
8131
|
}
|
|
8144
8132
|
});
|
|
8145
8133
|
|
|
8146
|
-
var values
|
|
8134
|
+
var values = core_getIteratorMethod._core.Object.values;
|
|
8147
8135
|
|
|
8148
|
-
var values = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
8149
|
-
module.exports = { "default": values
|
|
8136
|
+
var values$1 = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
8137
|
+
module.exports = { "default": values, __esModule: true };
|
|
8150
8138
|
});
|
|
8151
8139
|
|
|
8152
|
-
var _Object$values = _commonjsHelpers.unwrapExports(values);
|
|
8140
|
+
var _Object$values = _commonjsHelpers.unwrapExports(values$1);
|
|
8153
8141
|
|
|
8154
|
-
var Poll = function Poll(_ref) {
|
|
8155
|
-
var node = _ref.node
|
|
8156
|
-
_ref.client
|
|
8157
|
-
_ref.pageview
|
|
8158
|
-
_ref.videoAccountIDs
|
|
8159
|
-
|
|
8160
|
-
_ref.showVotes
|
|
8161
|
-
|
|
8142
|
+
var Poll$1 = function Poll(_ref) {
|
|
8143
|
+
var node = _ref.node,
|
|
8144
|
+
client = _ref.client,
|
|
8145
|
+
pageview = _ref.pageview,
|
|
8146
|
+
videoAccountIDs = _ref.videoAccountIDs,
|
|
8147
|
+
onVote = _ref.onVote,
|
|
8148
|
+
_ref$showVotes = _ref.showVotes,
|
|
8149
|
+
getSerializers = _ref.getSerializers;
|
|
8162
8150
|
|
|
8163
8151
|
var _useState = React.useState(null),
|
|
8164
8152
|
_useState2 = slicedToArray._slicedToArray(_useState, 2),
|
|
@@ -8224,67 +8212,67 @@ var Poll = function Poll(_ref) {
|
|
|
8224
8212
|
return acc;
|
|
8225
8213
|
}
|
|
8226
8214
|
}, 0);
|
|
8227
|
-
return React__default
|
|
8228
|
-
React__default
|
|
8215
|
+
return React__default.createElement(
|
|
8216
|
+
React__default.Fragment,
|
|
8229
8217
|
null,
|
|
8230
|
-
question && React__default
|
|
8218
|
+
question && React__default.createElement(
|
|
8231
8219
|
'p',
|
|
8232
8220
|
{ className: 'font-weight-bold' },
|
|
8233
8221
|
question
|
|
8234
8222
|
),
|
|
8235
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
8223
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
8236
8224
|
'form',
|
|
8237
8225
|
{ onSubmit: function onSubmit(e) {
|
|
8238
8226
|
return onSubmitPoll(e);
|
|
8239
8227
|
} },
|
|
8240
8228
|
choices && choices.map(function (choice) {
|
|
8241
|
-
return React__default
|
|
8229
|
+
return React__default.createElement(
|
|
8242
8230
|
'div',
|
|
8243
8231
|
{ key: choice._key },
|
|
8244
|
-
React__default
|
|
8232
|
+
React__default.createElement(
|
|
8245
8233
|
'label',
|
|
8246
8234
|
{ className: 'pl-2' },
|
|
8247
|
-
React__default
|
|
8235
|
+
React__default.createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8248
8236
|
return setSelectedChoice(e.target.value);
|
|
8249
8237
|
} }),
|
|
8250
8238
|
' ' + choice.choiceText
|
|
8251
8239
|
)
|
|
8252
8240
|
);
|
|
8253
8241
|
}),
|
|
8254
|
-
React__default
|
|
8242
|
+
React__default.createElement(
|
|
8255
8243
|
reactBootstrap.Button,
|
|
8256
8244
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8257
8245
|
'Vote'
|
|
8258
8246
|
)
|
|
8259
8247
|
),
|
|
8260
|
-
React__default
|
|
8248
|
+
React__default.createElement(
|
|
8261
8249
|
'div',
|
|
8262
8250
|
{ className: 'progress-container' },
|
|
8263
8251
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8264
8252
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8265
|
-
return React__default
|
|
8253
|
+
return React__default.createElement(
|
|
8266
8254
|
'div',
|
|
8267
8255
|
{ key: choice._key, className: 'mb-3' },
|
|
8268
|
-
React__default
|
|
8256
|
+
React__default.createElement(
|
|
8269
8257
|
'div',
|
|
8270
8258
|
{ className: 'correct-answer' },
|
|
8271
|
-
React__default
|
|
8259
|
+
React__default.createElement(
|
|
8272
8260
|
'div',
|
|
8273
8261
|
null,
|
|
8274
8262
|
choice.choiceText
|
|
8275
8263
|
),
|
|
8276
|
-
choice.choiceAnswer === true && React__default
|
|
8264
|
+
choice.choiceAnswer === true && React__default.createElement(
|
|
8277
8265
|
'div',
|
|
8278
8266
|
null,
|
|
8279
|
-
React__default
|
|
8267
|
+
React__default.createElement(
|
|
8280
8268
|
'span',
|
|
8281
8269
|
{ style: { color: 'limegreen' } },
|
|
8282
8270
|
'Correct!'
|
|
8283
8271
|
)
|
|
8284
8272
|
)
|
|
8285
8273
|
),
|
|
8286
|
-
React__default
|
|
8287
|
-
React__default
|
|
8274
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8275
|
+
React__default.createElement(
|
|
8288
8276
|
'span',
|
|
8289
8277
|
{ className: 'float-right' },
|
|
8290
8278
|
percentage,
|
|
@@ -8295,14 +8283,14 @@ var Poll = function Poll(_ref) {
|
|
|
8295
8283
|
);
|
|
8296
8284
|
})
|
|
8297
8285
|
),
|
|
8298
|
-
showAnswer && React__default
|
|
8286
|
+
showAnswer && React__default.createElement(
|
|
8299
8287
|
'h4',
|
|
8300
8288
|
{ className: 'text-center small p-3' },
|
|
8301
8289
|
'Total Votes: ',
|
|
8302
8290
|
choicesTotalCount
|
|
8303
8291
|
),
|
|
8304
|
-
showAnswer && response && React__default
|
|
8305
|
-
React__default
|
|
8292
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8293
|
+
React__default.createElement(
|
|
8306
8294
|
'style',
|
|
8307
8295
|
{ jsx: 'true' },
|
|
8308
8296
|
'\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 '
|
|
@@ -8428,34 +8416,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8428
8416
|
};
|
|
8429
8417
|
|
|
8430
8418
|
var renderPagination = function renderPagination() {
|
|
8431
|
-
return React__default
|
|
8432
|
-
|
|
8419
|
+
return React__default.createElement(
|
|
8420
|
+
Pagination,
|
|
8433
8421
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8434
|
-
React__default
|
|
8422
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
8435
8423
|
return changePage('first');
|
|
8436
8424
|
}, disabled: currentPage === 1 }),
|
|
8437
|
-
React__default
|
|
8425
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
8438
8426
|
return changePage('prev');
|
|
8439
8427
|
}, disabled: currentPage === 1 }),
|
|
8440
|
-
React__default
|
|
8428
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8441
8429
|
return renderNewPages('prev');
|
|
8442
8430
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8443
8431
|
pages.map(function (page) {
|
|
8444
|
-
return React__default
|
|
8445
|
-
|
|
8432
|
+
return React__default.createElement(
|
|
8433
|
+
Pagination.Item,
|
|
8446
8434
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
8447
8435
|
return changePage(page);
|
|
8448
8436
|
} },
|
|
8449
8437
|
page
|
|
8450
8438
|
);
|
|
8451
8439
|
}),
|
|
8452
|
-
React__default
|
|
8440
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
8453
8441
|
return renderNewPages('next');
|
|
8454
8442
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8455
|
-
React__default
|
|
8443
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
8456
8444
|
return changePage('next');
|
|
8457
8445
|
}, disabled: currentPage === pageCount }),
|
|
8458
|
-
React__default
|
|
8446
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
8459
8447
|
return changePage('last');
|
|
8460
8448
|
}, disabled: currentPage === pageCount })
|
|
8461
8449
|
);
|
|
@@ -8538,51 +8526,51 @@ var Quiz = function Quiz(_ref) {
|
|
|
8538
8526
|
}
|
|
8539
8527
|
};
|
|
8540
8528
|
|
|
8541
|
-
return React__default
|
|
8542
|
-
React__default
|
|
8529
|
+
return React__default.createElement(
|
|
8530
|
+
React__default.Fragment,
|
|
8543
8531
|
null,
|
|
8544
|
-
quizzes[currentPage - 1] && React__default
|
|
8545
|
-
React__default
|
|
8532
|
+
quizzes[currentPage - 1] && React__default.createElement(
|
|
8533
|
+
React__default.Fragment,
|
|
8546
8534
|
null,
|
|
8547
|
-
React__default
|
|
8548
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default
|
|
8535
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8536
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default.createElement(
|
|
8549
8537
|
'form',
|
|
8550
8538
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8551
8539
|
return e.preventDefault();
|
|
8552
8540
|
} },
|
|
8553
8541
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8554
|
-
return React__default
|
|
8542
|
+
return React__default.createElement(
|
|
8555
8543
|
'div',
|
|
8556
8544
|
{ key: answer._key },
|
|
8557
|
-
React__default
|
|
8545
|
+
React__default.createElement(
|
|
8558
8546
|
'label',
|
|
8559
8547
|
{ className: 'pl-2' },
|
|
8560
|
-
quizzes[currentPage - 1].multiAnswer ? React__default
|
|
8548
|
+
quizzes[currentPage - 1].multiAnswer ? React__default.createElement('input', { type: 'checkbox', id: 'male', disabled: isDisabled, name: answer._type, value: answer._key }) : React__default.createElement('input', { type: 'radio', id: 'male', name: answer._type, value: answer._key }),
|
|
8561
8549
|
' ' + answer.answerText
|
|
8562
8550
|
)
|
|
8563
8551
|
);
|
|
8564
8552
|
})
|
|
8565
8553
|
)
|
|
8566
8554
|
),
|
|
8567
|
-
!showAnswer && React__default
|
|
8568
|
-
|
|
8555
|
+
!showAnswer && React__default.createElement(
|
|
8556
|
+
Button,
|
|
8569
8557
|
{ onClick: function onClick() {
|
|
8570
8558
|
return checkAnswers();
|
|
8571
8559
|
}, variant: 'info', block: true },
|
|
8572
8560
|
'Please click here for answer'
|
|
8573
8561
|
),
|
|
8574
|
-
quizzes[currentPage - 1] && showAnswer && React__default
|
|
8575
|
-
React__default
|
|
8562
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
8563
|
+
React__default.Fragment,
|
|
8576
8564
|
null,
|
|
8577
|
-
React__default
|
|
8565
|
+
React__default.createElement(
|
|
8578
8566
|
'h4',
|
|
8579
8567
|
null,
|
|
8580
8568
|
'Answer:'
|
|
8581
8569
|
),
|
|
8582
|
-
quizzes[currentPage - 1].answer && React__default
|
|
8570
|
+
quizzes[currentPage - 1].answer && React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8583
8571
|
),
|
|
8584
|
-
React__default
|
|
8585
|
-
pageCount > 1 && React__default
|
|
8572
|
+
React__default.createElement('br', null),
|
|
8573
|
+
pageCount > 1 && React__default.createElement(
|
|
8586
8574
|
'div',
|
|
8587
8575
|
{ className: 'd-flex justify-content-center' },
|
|
8588
8576
|
renderPagination()
|
|
@@ -8593,19 +8581,19 @@ var Quiz = function Quiz(_ref) {
|
|
|
8593
8581
|
var Leads = function Leads(_ref) {
|
|
8594
8582
|
var url = _ref.url;
|
|
8595
8583
|
|
|
8596
|
-
return React__default
|
|
8584
|
+
return React__default.createElement(
|
|
8597
8585
|
'div',
|
|
8598
8586
|
{ className: 'd-block text-center mb-3' },
|
|
8599
|
-
React__default
|
|
8587
|
+
React__default.createElement(
|
|
8600
8588
|
'style',
|
|
8601
8589
|
{ jsx: 'true' },
|
|
8602
8590
|
'\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 '
|
|
8603
8591
|
),
|
|
8604
|
-
url && React__default
|
|
8592
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8605
8593
|
);
|
|
8606
8594
|
};
|
|
8607
8595
|
|
|
8608
|
-
var Slideshow = function Slideshow(_ref) {
|
|
8596
|
+
var Slideshow$1 = function Slideshow(_ref) {
|
|
8609
8597
|
var slides = _ref.node.slides,
|
|
8610
8598
|
client = _ref.client,
|
|
8611
8599
|
pageview = _ref.pageview,
|
|
@@ -8643,49 +8631,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8643
8631
|
if (pageview) pageview(href);
|
|
8644
8632
|
};
|
|
8645
8633
|
|
|
8646
|
-
return React__default
|
|
8634
|
+
return React__default.createElement(
|
|
8647
8635
|
'div',
|
|
8648
8636
|
{ className: 'mt-3 mb-4' },
|
|
8649
|
-
React__default
|
|
8637
|
+
React__default.createElement(
|
|
8650
8638
|
reactBootstrap.Carousel,
|
|
8651
8639
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8652
8640
|
slides && slides.map(function (slide) {
|
|
8653
8641
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8654
|
-
return React__default
|
|
8642
|
+
return React__default.createElement(
|
|
8655
8643
|
reactBootstrap.Carousel.Item,
|
|
8656
8644
|
{ key: slide._key },
|
|
8657
|
-
React__default
|
|
8645
|
+
React__default.createElement(
|
|
8658
8646
|
'a',
|
|
8659
8647
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8660
|
-
React__default
|
|
8648
|
+
React__default.createElement(
|
|
8661
8649
|
'div',
|
|
8662
8650
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8663
|
-
React__default
|
|
8651
|
+
React__default.createElement(
|
|
8664
8652
|
'picture',
|
|
8665
8653
|
null,
|
|
8666
|
-
React__default
|
|
8667
|
-
React__default
|
|
8668
|
-
React__default
|
|
8669
|
-
React__default
|
|
8654
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8655
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8656
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8657
|
+
React__default.createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8670
8658
|
)
|
|
8671
8659
|
)
|
|
8672
8660
|
),
|
|
8673
|
-
React__default
|
|
8661
|
+
React__default.createElement(
|
|
8674
8662
|
'div',
|
|
8675
8663
|
{ className: 'p-2' },
|
|
8676
|
-
slide.slideshowImage.caption && React__default
|
|
8664
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
8677
8665
|
'h3',
|
|
8678
8666
|
{ style: { padding: '0px' } },
|
|
8679
8667
|
slide.slideshowImage.caption
|
|
8680
8668
|
),
|
|
8681
|
-
slide.description && React__default
|
|
8669
|
+
slide.description && React__default.createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8682
8670
|
)
|
|
8683
8671
|
);
|
|
8684
8672
|
}
|
|
8685
8673
|
return null;
|
|
8686
8674
|
})
|
|
8687
8675
|
),
|
|
8688
|
-
React__default
|
|
8676
|
+
React__default.createElement(
|
|
8689
8677
|
'style',
|
|
8690
8678
|
{ jsx: 'true' },
|
|
8691
8679
|
'\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 '
|
|
@@ -8704,10 +8692,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8704
8692
|
sizes = _props$node.sizes,
|
|
8705
8693
|
sizeMapping = _props$node.sizeMapping;
|
|
8706
8694
|
|
|
8707
|
-
return React__default
|
|
8695
|
+
return React__default.createElement(
|
|
8708
8696
|
'div',
|
|
8709
8697
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8710
|
-
React__default
|
|
8698
|
+
React__default.createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8711
8699
|
);
|
|
8712
8700
|
};
|
|
8713
8701
|
|
|
@@ -8718,15 +8706,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8718
8706
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8719
8707
|
|
|
8720
8708
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8721
|
-
return React__default
|
|
8709
|
+
return React__default.createElement(
|
|
8722
8710
|
'section',
|
|
8723
8711
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8724
|
-
Caption && React__default
|
|
8712
|
+
Caption && React__default.createElement(
|
|
8725
8713
|
'h4',
|
|
8726
8714
|
{ className: 'formstack-caption' },
|
|
8727
8715
|
Caption
|
|
8728
8716
|
),
|
|
8729
|
-
React__default
|
|
8717
|
+
React__default.createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8730
8718
|
);
|
|
8731
8719
|
};
|
|
8732
8720
|
|
|
@@ -8742,36 +8730,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8742
8730
|
}
|
|
8743
8731
|
});
|
|
8744
8732
|
if (medias && medias.length > 0) {
|
|
8745
|
-
return React__default
|
|
8733
|
+
return React__default.createElement(
|
|
8746
8734
|
'div',
|
|
8747
8735
|
{ className: 'multi-media-container' },
|
|
8748
|
-
React__default
|
|
8749
|
-
|
|
8736
|
+
React__default.createElement(
|
|
8737
|
+
Row,
|
|
8750
8738
|
{ noGutters: true },
|
|
8751
8739
|
medias.map(function (media) {
|
|
8752
|
-
return React__default
|
|
8753
|
-
|
|
8740
|
+
return React__default.createElement(
|
|
8741
|
+
Col,
|
|
8754
8742
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8755
|
-
React__default
|
|
8743
|
+
React__default.createElement(
|
|
8756
8744
|
'a',
|
|
8757
8745
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8758
8746
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8759
|
-
React__default
|
|
8747
|
+
React__default.createElement(
|
|
8760
8748
|
'div',
|
|
8761
8749
|
{ className: 'multi-media-image-container' },
|
|
8762
|
-
imageBox && React__default
|
|
8750
|
+
imageBox && React__default.createElement(
|
|
8763
8751
|
index$2.LazyLoad,
|
|
8764
8752
|
{ once: true },
|
|
8765
|
-
React__default
|
|
8753
|
+
React__default.createElement(
|
|
8766
8754
|
'picture',
|
|
8767
8755
|
null,
|
|
8768
|
-
React__default
|
|
8769
|
-
React__default
|
|
8770
|
-
React__default
|
|
8771
|
-
React__default
|
|
8756
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8757
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8758
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8759
|
+
React__default.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8772
8760
|
)
|
|
8773
8761
|
),
|
|
8774
|
-
media.caption && React__default
|
|
8762
|
+
media.caption && React__default.createElement(
|
|
8775
8763
|
'span',
|
|
8776
8764
|
{ className: 'multi-media-caption' },
|
|
8777
8765
|
media.caption
|
|
@@ -8781,7 +8769,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8781
8769
|
);
|
|
8782
8770
|
})
|
|
8783
8771
|
),
|
|
8784
|
-
React__default
|
|
8772
|
+
React__default.createElement(
|
|
8785
8773
|
'style',
|
|
8786
8774
|
{ jsx: 'true' },
|
|
8787
8775
|
'\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 '
|
|
@@ -8828,7 +8816,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8828
8816
|
}
|
|
8829
8817
|
};
|
|
8830
8818
|
|
|
8831
|
-
_this.wraperRef = React__default
|
|
8819
|
+
_this.wraperRef = React__default.createRef();
|
|
8832
8820
|
_this.visible = false;
|
|
8833
8821
|
return _this;
|
|
8834
8822
|
}
|
|
@@ -8856,7 +8844,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8856
8844
|
_props$id = _props.id,
|
|
8857
8845
|
id = _props$id === undefined ? '' : _props$id;
|
|
8858
8846
|
|
|
8859
|
-
return React__default
|
|
8847
|
+
return React__default.createElement(
|
|
8860
8848
|
'div',
|
|
8861
8849
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8862
8850
|
this.props.children
|
|
@@ -8865,16 +8853,16 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8865
8853
|
}]);
|
|
8866
8854
|
|
|
8867
8855
|
return InscreenSensor;
|
|
8868
|
-
}(React__default
|
|
8856
|
+
}(React__default.Component);
|
|
8869
8857
|
|
|
8870
8858
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8871
8859
|
var nodes = _ref.nodes,
|
|
8872
8860
|
client = _ref.client,
|
|
8873
8861
|
pageview = _ref.pageview,
|
|
8874
8862
|
getSerializers = _ref.getSerializers,
|
|
8875
|
-
accountIDs = _ref.accountIDs
|
|
8876
|
-
_ref.Ads
|
|
8877
|
-
|
|
8863
|
+
accountIDs = _ref.accountIDs,
|
|
8864
|
+
Ads = _ref.Ads,
|
|
8865
|
+
rootArticle = _ref.rootArticle;
|
|
8878
8866
|
|
|
8879
8867
|
if (!nodes || !nodes.articles) {
|
|
8880
8868
|
return null;
|
|
@@ -8888,7 +8876,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8888
8876
|
var router = Router.useRouter();
|
|
8889
8877
|
|
|
8890
8878
|
var refArray = React.useRef([]);
|
|
8891
|
-
React.useRef([]);
|
|
8879
|
+
var adRefArray = React.useRef([]);
|
|
8892
8880
|
var articleContainerRef = React.useRef(null);
|
|
8893
8881
|
var arrowRef = React.useRef(null);
|
|
8894
8882
|
|
|
@@ -8976,33 +8964,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8976
8964
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
8977
8965
|
var showReading = show ? 'showReading' : '';
|
|
8978
8966
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8979
|
-
return React__default
|
|
8967
|
+
return React__default.createElement(
|
|
8980
8968
|
'div',
|
|
8981
8969
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8982
|
-
React__default
|
|
8970
|
+
React__default.createElement(
|
|
8983
8971
|
'a',
|
|
8984
8972
|
{ onClick: function onClick(e) {
|
|
8985
8973
|
return articleCardClickHandler(e);
|
|
8986
8974
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
8987
|
-
React__default
|
|
8975
|
+
React__default.createElement(
|
|
8988
8976
|
'div',
|
|
8989
8977
|
{ className: 'prevNext-thumbnail' },
|
|
8990
|
-
React__default
|
|
8991
|
-
React__default
|
|
8978
|
+
React__default.createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
8979
|
+
React__default.createElement(
|
|
8992
8980
|
'div',
|
|
8993
8981
|
{ className: 'prevNext-reading ' + showReading },
|
|
8994
8982
|
articleLabel
|
|
8995
8983
|
)
|
|
8996
8984
|
),
|
|
8997
|
-
React__default
|
|
8985
|
+
React__default.createElement(
|
|
8998
8986
|
'div',
|
|
8999
8987
|
{ className: 'prevNext-summary' },
|
|
9000
|
-
React__default
|
|
8988
|
+
React__default.createElement(
|
|
9001
8989
|
'div',
|
|
9002
8990
|
{ className: 'prevNext-publishDate' },
|
|
9003
8991
|
moment.moment(article.published).format('LL')
|
|
9004
8992
|
),
|
|
9005
|
-
React__default
|
|
8993
|
+
React__default.createElement(
|
|
9006
8994
|
'h2',
|
|
9007
8995
|
{ className: 'prevNext-title' },
|
|
9008
8996
|
article.title
|
|
@@ -9051,7 +9039,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9051
9039
|
|
|
9052
9040
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9053
9041
|
if (biography) {
|
|
9054
|
-
return React__default
|
|
9042
|
+
return React__default.createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9055
9043
|
}
|
|
9056
9044
|
};
|
|
9057
9045
|
|
|
@@ -9209,40 +9197,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9209
9197
|
setSensorVisible(false);
|
|
9210
9198
|
};
|
|
9211
9199
|
|
|
9212
|
-
return React__default
|
|
9213
|
-
React__default
|
|
9200
|
+
return React__default.createElement(
|
|
9201
|
+
React__default.Fragment,
|
|
9214
9202
|
null,
|
|
9215
|
-
React__default
|
|
9203
|
+
React__default.createElement(
|
|
9216
9204
|
'div',
|
|
9217
9205
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9218
|
-
React__default
|
|
9206
|
+
React__default.createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9219
9207
|
return handleArrowClick();
|
|
9220
9208
|
} })
|
|
9221
9209
|
),
|
|
9222
|
-
React__default
|
|
9223
|
-
React__default
|
|
9210
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' }),
|
|
9211
|
+
React__default.createElement(
|
|
9224
9212
|
'div',
|
|
9225
9213
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9226
|
-
React__default
|
|
9214
|
+
React__default.createElement(
|
|
9227
9215
|
'h5',
|
|
9228
9216
|
{ className: 'objective-title' },
|
|
9229
9217
|
nodes.seriesTitle
|
|
9230
9218
|
),
|
|
9231
|
-
React__default
|
|
9219
|
+
React__default.createElement(
|
|
9232
9220
|
'div',
|
|
9233
9221
|
{ className: 'prevNextWrapper' },
|
|
9234
9222
|
PrevNextCards(false, -1)
|
|
9235
9223
|
)
|
|
9236
9224
|
),
|
|
9237
|
-
React__default
|
|
9238
|
-
React__default
|
|
9225
|
+
React__default.createElement('hr', { className: 'article-seperater' }),
|
|
9226
|
+
React__default.createElement(
|
|
9239
9227
|
'div',
|
|
9240
9228
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9241
9229
|
Articles.map(function (article, index) {
|
|
9242
|
-
return React__default
|
|
9230
|
+
return React__default.createElement(
|
|
9243
9231
|
'div',
|
|
9244
9232
|
{ key: article.title },
|
|
9245
|
-
React__default
|
|
9233
|
+
React__default.createElement(
|
|
9246
9234
|
InscreenSensor,
|
|
9247
9235
|
{
|
|
9248
9236
|
visible: sensorVisible,
|
|
@@ -9260,82 +9248,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9260
9248
|
}
|
|
9261
9249
|
}
|
|
9262
9250
|
} },
|
|
9263
|
-
React__default
|
|
9264
|
-
|
|
9251
|
+
React__default.createElement(
|
|
9252
|
+
Head,
|
|
9265
9253
|
null,
|
|
9266
|
-
currentTitle !== null && React__default
|
|
9254
|
+
currentTitle !== null && React__default.createElement(
|
|
9267
9255
|
'title',
|
|
9268
9256
|
{ key: 'title' },
|
|
9269
9257
|
currentTitle
|
|
9270
9258
|
),
|
|
9271
|
-
currentSummary !== null && React__default
|
|
9272
|
-
currentURL !== null && React__default
|
|
9273
|
-
currentTitle !== null && React__default
|
|
9274
|
-
currentThumbnail !== null && React__default
|
|
9275
|
-
currentSummary !== null && React__default
|
|
9276
|
-
currentTitle !== null && React__default
|
|
9277
|
-
currentThumbnail !== null && React__default
|
|
9278
|
-
currentSummary !== null && React__default
|
|
9259
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9260
|
+
currentURL !== null && React__default.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9261
|
+
currentTitle !== null && React__default.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9262
|
+
currentThumbnail !== null && React__default.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9263
|
+
currentSummary !== null && React__default.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9264
|
+
currentTitle !== null && React__default.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9265
|
+
currentThumbnail !== null && React__default.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9266
|
+
currentSummary !== null && React__default.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9279
9267
|
),
|
|
9280
|
-
React__default
|
|
9268
|
+
React__default.createElement(
|
|
9281
9269
|
'article',
|
|
9282
9270
|
{ className: 'article-wrapper' },
|
|
9283
|
-
React__default
|
|
9271
|
+
React__default.createElement(
|
|
9284
9272
|
'div',
|
|
9285
9273
|
{ className: 'article-publishDate' },
|
|
9286
9274
|
moment.moment(article.published).format('LL')
|
|
9287
9275
|
),
|
|
9288
|
-
React__default
|
|
9276
|
+
React__default.createElement(
|
|
9289
9277
|
'div',
|
|
9290
9278
|
{ className: 'author-details-wrapper' },
|
|
9291
9279
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9292
|
-
return React__default
|
|
9280
|
+
return React__default.createElement(
|
|
9293
9281
|
'span',
|
|
9294
9282
|
{ key: index },
|
|
9295
9283
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9296
9284
|
);
|
|
9297
9285
|
})
|
|
9298
9286
|
),
|
|
9299
|
-
React__default
|
|
9287
|
+
React__default.createElement(
|
|
9300
9288
|
'h2',
|
|
9301
9289
|
{ className: 'article-title' },
|
|
9302
9290
|
article.title
|
|
9303
9291
|
),
|
|
9304
|
-
React__default
|
|
9292
|
+
React__default.createElement(
|
|
9305
9293
|
'div',
|
|
9306
9294
|
{ className: 'mt-2 mb-2' },
|
|
9307
|
-
React__default
|
|
9295
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({
|
|
9308
9296
|
serializers: getSerializers,
|
|
9309
9297
|
videoAccountIDs: accountIDs,
|
|
9310
9298
|
blocks: article.text,
|
|
9311
9299
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9312
9300
|
}, client.config())),
|
|
9313
|
-
React__default
|
|
9301
|
+
React__default.createElement('hr', { className: 'article-seperater my-4' })
|
|
9314
9302
|
),
|
|
9315
|
-
Articles.length > 1 && React__default
|
|
9316
|
-
React__default
|
|
9303
|
+
Articles.length > 1 && React__default.createElement(
|
|
9304
|
+
React__default.Fragment,
|
|
9317
9305
|
null,
|
|
9318
|
-
React__default
|
|
9306
|
+
React__default.createElement(
|
|
9319
9307
|
'div',
|
|
9320
9308
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9321
|
-
React__default
|
|
9309
|
+
React__default.createElement(
|
|
9322
9310
|
'h5',
|
|
9323
9311
|
{ className: 'objective-title' },
|
|
9324
9312
|
nodes.seriesTitle
|
|
9325
9313
|
),
|
|
9326
|
-
React__default
|
|
9314
|
+
React__default.createElement(
|
|
9327
9315
|
'div',
|
|
9328
9316
|
{ className: 'prevNextWrapper' },
|
|
9329
9317
|
PrevNextCards(true, index)
|
|
9330
9318
|
)
|
|
9331
9319
|
),
|
|
9332
|
-
React__default
|
|
9320
|
+
React__default.createElement('hr', { className: 'article-seperater' })
|
|
9333
9321
|
)
|
|
9334
9322
|
)
|
|
9335
9323
|
)
|
|
9336
9324
|
);
|
|
9337
9325
|
}),
|
|
9338
|
-
React__default
|
|
9326
|
+
React__default.createElement(
|
|
9339
9327
|
'style',
|
|
9340
9328
|
{ jsx: 'true' },
|
|
9341
9329
|
'\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 '
|
|
@@ -9365,11 +9353,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9365
9353
|
};
|
|
9366
9354
|
}, [handleClickOutside]);
|
|
9367
9355
|
|
|
9368
|
-
return React__default
|
|
9356
|
+
return React__default.createElement(
|
|
9369
9357
|
'div',
|
|
9370
9358
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9371
|
-
React__default
|
|
9372
|
-
React__default
|
|
9359
|
+
React__default.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9360
|
+
React__default.createElement(
|
|
9373
9361
|
'style',
|
|
9374
9362
|
{ jsx: 'true' },
|
|
9375
9363
|
'\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 '
|
|
@@ -9383,7 +9371,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9383
9371
|
}
|
|
9384
9372
|
};
|
|
9385
9373
|
|
|
9386
|
-
var FigureImage
|
|
9374
|
+
var FigureImage = React__default.memo(function (_ref2) {
|
|
9387
9375
|
var node = _ref2.node,
|
|
9388
9376
|
client = _ref2.client,
|
|
9389
9377
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9391,13 +9379,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9391
9379
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9392
9380
|
|
|
9393
9381
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9394
|
-
return React__default
|
|
9382
|
+
return React__default.createElement(
|
|
9395
9383
|
'picture',
|
|
9396
9384
|
null,
|
|
9397
|
-
React__default
|
|
9398
|
-
React__default
|
|
9399
|
-
React__default
|
|
9400
|
-
React__default
|
|
9385
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9386
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9387
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9388
|
+
React__default.createElement('img', _extends._extends({
|
|
9401
9389
|
style: figureImageStyle,
|
|
9402
9390
|
className: 'figure-image',
|
|
9403
9391
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9448,30 +9436,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9448
9436
|
|
|
9449
9437
|
var renderTooltip = function renderTooltip(props) {
|
|
9450
9438
|
if (infoBox[0].title) {
|
|
9451
|
-
return React__default
|
|
9452
|
-
|
|
9439
|
+
return React__default.createElement(
|
|
9440
|
+
Popover,
|
|
9453
9441
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9454
|
-
React__default
|
|
9455
|
-
|
|
9442
|
+
React__default.createElement(
|
|
9443
|
+
Popover.Title,
|
|
9456
9444
|
{ as: 'h3' },
|
|
9457
9445
|
infoBox[0].title
|
|
9458
9446
|
),
|
|
9459
|
-
React__default
|
|
9460
|
-
|
|
9447
|
+
React__default.createElement(
|
|
9448
|
+
Popover.Content,
|
|
9461
9449
|
null,
|
|
9462
|
-
React__default
|
|
9450
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9463
9451
|
)
|
|
9464
9452
|
);
|
|
9465
9453
|
} else {
|
|
9466
|
-
return React__default
|
|
9467
|
-
|
|
9454
|
+
return React__default.createElement(
|
|
9455
|
+
Tooltip,
|
|
9468
9456
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9469
|
-
React__default
|
|
9457
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9470
9458
|
);
|
|
9471
9459
|
}
|
|
9472
9460
|
};
|
|
9473
9461
|
|
|
9474
|
-
var FigureImageWOverLay = React__default
|
|
9462
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9475
9463
|
var node = _ref3.node,
|
|
9476
9464
|
client = _ref3.client,
|
|
9477
9465
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9481,13 +9469,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9481
9469
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9482
9470
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9483
9471
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9484
|
-
return React__default
|
|
9472
|
+
return React__default.createElement(
|
|
9485
9473
|
'picture',
|
|
9486
9474
|
null,
|
|
9487
|
-
React__default
|
|
9488
|
-
React__default
|
|
9489
|
-
React__default
|
|
9490
|
-
main.main_42 && link ? React__default
|
|
9475
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9476
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9477
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9478
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9491
9479
|
style: figureImageStyle,
|
|
9492
9480
|
className: 'figure-image',
|
|
9493
9481
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9496,10 +9484,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9496
9484
|
onClick: function onClick() {
|
|
9497
9485
|
return handleClickFigure(node, client);
|
|
9498
9486
|
}
|
|
9499
|
-
})) : React__default
|
|
9500
|
-
|
|
9487
|
+
})) : React__default.createElement(
|
|
9488
|
+
OverlayTrigger,
|
|
9501
9489
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9502
|
-
React__default
|
|
9490
|
+
React__default.createElement('img', _extends._extends({
|
|
9503
9491
|
style: figureImageStyle,
|
|
9504
9492
|
className: 'figure-image',
|
|
9505
9493
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9553,13 +9541,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9553
9541
|
|
|
9554
9542
|
var FigureCaption = React.useCallback(function () {
|
|
9555
9543
|
if (imgcaption && imgcaption.length > 0) {
|
|
9556
|
-
return React__default
|
|
9544
|
+
return React__default.createElement(
|
|
9557
9545
|
'div',
|
|
9558
9546
|
{ className: 'figure-caption' },
|
|
9559
|
-
React__default
|
|
9547
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9560
9548
|
);
|
|
9561
9549
|
} else if (caption) {
|
|
9562
|
-
return React__default
|
|
9550
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9563
9551
|
} else return null;
|
|
9564
9552
|
}, [caption, imgcaption]);
|
|
9565
9553
|
|
|
@@ -9576,24 +9564,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9576
9564
|
setShowLightbox(true);
|
|
9577
9565
|
}, [node, client]);
|
|
9578
9566
|
|
|
9579
|
-
return React__default
|
|
9580
|
-
React__default
|
|
9567
|
+
return React__default.createElement(
|
|
9568
|
+
React__default.Fragment,
|
|
9581
9569
|
null,
|
|
9582
|
-
infoBox.length >= 1 ? React__default
|
|
9583
|
-
|
|
9570
|
+
infoBox.length >= 1 ? React__default.createElement(
|
|
9571
|
+
Figure$1,
|
|
9584
9572
|
{ className: '' + class_name, style: figureStyle },
|
|
9585
|
-
link ? React__default
|
|
9573
|
+
link ? React__default.createElement(
|
|
9586
9574
|
'a',
|
|
9587
9575
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9588
|
-
React__default
|
|
9589
|
-
React__default
|
|
9590
|
-
) : React__default
|
|
9591
|
-
React__default
|
|
9576
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9577
|
+
React__default.createElement(FigureCaption, null)
|
|
9578
|
+
) : React__default.createElement(
|
|
9579
|
+
React__default.Fragment,
|
|
9592
9580
|
null,
|
|
9593
|
-
React__default
|
|
9594
|
-
React__default
|
|
9581
|
+
React__default.createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9582
|
+
React__default.createElement(FigureCaption, null)
|
|
9595
9583
|
),
|
|
9596
|
-
React__default
|
|
9584
|
+
React__default.createElement(LightBox, {
|
|
9597
9585
|
showLightbox: showLightbox,
|
|
9598
9586
|
lightboxImgSrc: lightboxImgSrc,
|
|
9599
9587
|
closeLightbox: function closeLightbox() {
|
|
@@ -9601,21 +9589,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9601
9589
|
setShowLightbox(false);
|
|
9602
9590
|
}
|
|
9603
9591
|
})
|
|
9604
|
-
) : React__default
|
|
9605
|
-
|
|
9592
|
+
) : React__default.createElement(
|
|
9593
|
+
Figure$1,
|
|
9606
9594
|
{ className: '' + class_name, style: figureStyle },
|
|
9607
|
-
link ? React__default
|
|
9595
|
+
link ? React__default.createElement(
|
|
9608
9596
|
'a',
|
|
9609
9597
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9610
|
-
React__default
|
|
9611
|
-
React__default
|
|
9612
|
-
) : React__default
|
|
9613
|
-
React__default
|
|
9598
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9599
|
+
React__default.createElement(FigureCaption, null)
|
|
9600
|
+
) : React__default.createElement(
|
|
9601
|
+
React__default.Fragment,
|
|
9614
9602
|
null,
|
|
9615
|
-
React__default
|
|
9616
|
-
React__default
|
|
9603
|
+
React__default.createElement(FigureImage, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9604
|
+
React__default.createElement(FigureCaption, null)
|
|
9617
9605
|
),
|
|
9618
|
-
React__default
|
|
9606
|
+
React__default.createElement(LightBox, {
|
|
9619
9607
|
showLightbox: showLightbox,
|
|
9620
9608
|
lightboxImgSrc: lightboxImgSrc,
|
|
9621
9609
|
closeLightbox: function closeLightbox() {
|
|
@@ -9624,7 +9612,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9624
9612
|
}
|
|
9625
9613
|
})
|
|
9626
9614
|
),
|
|
9627
|
-
React__default
|
|
9615
|
+
React__default.createElement(
|
|
9628
9616
|
'style',
|
|
9629
9617
|
{ jsx: 'true' },
|
|
9630
9618
|
'\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 '
|
|
@@ -9632,7 +9620,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9632
9620
|
);
|
|
9633
9621
|
};
|
|
9634
9622
|
|
|
9635
|
-
var Figure = React__default
|
|
9623
|
+
var Figure = React__default.memo(FigureComponent, compareProps);
|
|
9636
9624
|
|
|
9637
9625
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9638
9626
|
React.useEffect(function () {
|
|
@@ -9649,7 +9637,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9649
9637
|
}, [ref]);
|
|
9650
9638
|
}
|
|
9651
9639
|
|
|
9652
|
-
var FigureImage = React__default
|
|
9640
|
+
var FigureImage$1 = React__default.memo(function (_ref) {
|
|
9653
9641
|
var imagesCount = _ref.imagesCount,
|
|
9654
9642
|
image = _ref.image,
|
|
9655
9643
|
client = _ref.client,
|
|
@@ -9657,13 +9645,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9657
9645
|
link = _ref.link,
|
|
9658
9646
|
handleClickFigure = _ref.handleClickFigure;
|
|
9659
9647
|
|
|
9660
|
-
return React__default
|
|
9648
|
+
return React__default.createElement(
|
|
9661
9649
|
'picture',
|
|
9662
9650
|
null,
|
|
9663
|
-
React__default
|
|
9664
|
-
React__default
|
|
9665
|
-
React__default
|
|
9666
|
-
React__default
|
|
9651
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9652
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9653
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9654
|
+
React__default.createElement('img', _extends._extends({
|
|
9667
9655
|
'images-count': imagesCount,
|
|
9668
9656
|
className: 'multi-figure-image',
|
|
9669
9657
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9700,13 +9688,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9700
9688
|
imgcaption = _ref2.imgcaption;
|
|
9701
9689
|
|
|
9702
9690
|
if (imgcaption && imgcaption.length > 0) {
|
|
9703
|
-
return React__default
|
|
9691
|
+
return React__default.createElement(
|
|
9704
9692
|
'div',
|
|
9705
9693
|
{ className: 'multi-figure-caption' },
|
|
9706
|
-
React__default
|
|
9694
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9707
9695
|
);
|
|
9708
9696
|
} else if (caption) {
|
|
9709
|
-
return React__default
|
|
9697
|
+
return React__default.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9710
9698
|
} else return null;
|
|
9711
9699
|
};
|
|
9712
9700
|
|
|
@@ -9715,7 +9703,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9715
9703
|
setOpenImg(true);
|
|
9716
9704
|
}, [client]);
|
|
9717
9705
|
|
|
9718
|
-
var FigureImageWOverLay = React__default
|
|
9706
|
+
var FigureImageWOverLay = React__default.memo(function (_ref3) {
|
|
9719
9707
|
var imagesCount = _ref3.imagesCount,
|
|
9720
9708
|
image = _ref3.image,
|
|
9721
9709
|
client = _ref3.client,
|
|
@@ -9725,13 +9713,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9725
9713
|
|
|
9726
9714
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9727
9715
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9728
|
-
return React__default
|
|
9716
|
+
return React__default.createElement(
|
|
9729
9717
|
'picture',
|
|
9730
9718
|
null,
|
|
9731
|
-
React__default
|
|
9732
|
-
React__default
|
|
9733
|
-
React__default
|
|
9734
|
-
main.main_42 && link ? React__default
|
|
9719
|
+
React__default.createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9720
|
+
React__default.createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9721
|
+
React__default.createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9722
|
+
main.main_42 && link ? React__default.createElement('img', _extends._extends({
|
|
9735
9723
|
'images-count': imagesCount,
|
|
9736
9724
|
className: 'multi-figure-image',
|
|
9737
9725
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9740,10 +9728,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9740
9728
|
onClick: function onClick() {
|
|
9741
9729
|
return handleClickFigure(image, client);
|
|
9742
9730
|
}
|
|
9743
|
-
})) : React__default
|
|
9744
|
-
|
|
9731
|
+
})) : React__default.createElement(
|
|
9732
|
+
OverlayTrigger,
|
|
9745
9733
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9746
|
-
React__default
|
|
9734
|
+
React__default.createElement('img', _extends._extends({
|
|
9747
9735
|
'images-count': imagesCount,
|
|
9748
9736
|
className: 'multi-figure-image',
|
|
9749
9737
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9759,102 +9747,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9759
9747
|
|
|
9760
9748
|
var renderTooltip = function renderTooltip(image) {
|
|
9761
9749
|
if (image.infoBox[0].title) {
|
|
9762
|
-
return React__default
|
|
9763
|
-
|
|
9750
|
+
return React__default.createElement(
|
|
9751
|
+
Popover,
|
|
9764
9752
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9765
|
-
React__default
|
|
9766
|
-
|
|
9753
|
+
React__default.createElement(
|
|
9754
|
+
Popover.Title,
|
|
9767
9755
|
{ as: 'h3' },
|
|
9768
9756
|
image.infoBox[0].title
|
|
9769
9757
|
),
|
|
9770
|
-
React__default
|
|
9771
|
-
|
|
9758
|
+
React__default.createElement(
|
|
9759
|
+
Popover.Content,
|
|
9772
9760
|
null,
|
|
9773
|
-
React__default
|
|
9761
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9774
9762
|
)
|
|
9775
9763
|
);
|
|
9776
9764
|
} else {
|
|
9777
|
-
return React__default
|
|
9778
|
-
|
|
9765
|
+
return React__default.createElement(
|
|
9766
|
+
Tooltip,
|
|
9779
9767
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9780
|
-
React__default
|
|
9768
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9781
9769
|
);
|
|
9782
9770
|
}
|
|
9783
9771
|
};
|
|
9784
9772
|
|
|
9785
9773
|
if (images && images.length > 0) {
|
|
9786
|
-
return React__default
|
|
9774
|
+
return React__default.createElement(
|
|
9787
9775
|
'div',
|
|
9788
9776
|
{ className: 'multi-figure-container' },
|
|
9789
|
-
React__default
|
|
9790
|
-
|
|
9777
|
+
React__default.createElement(
|
|
9778
|
+
Row,
|
|
9791
9779
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9792
9780
|
images.map(function (image, index) {
|
|
9793
9781
|
if (image.infoBox) {
|
|
9794
|
-
return React__default
|
|
9795
|
-
|
|
9782
|
+
return React__default.createElement(
|
|
9783
|
+
Col,
|
|
9796
9784
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9797
|
-
image.link ? React__default
|
|
9785
|
+
image.link ? React__default.createElement(
|
|
9798
9786
|
'a',
|
|
9799
9787
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9800
|
-
React__default
|
|
9788
|
+
React__default.createElement(
|
|
9801
9789
|
'div',
|
|
9802
9790
|
{ className: 'multi-figure-image-container' },
|
|
9803
|
-
React__default
|
|
9791
|
+
React__default.createElement(
|
|
9804
9792
|
index$2.LazyLoad,
|
|
9805
9793
|
{ once: true },
|
|
9806
|
-
React__default
|
|
9794
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9807
9795
|
),
|
|
9808
|
-
React__default
|
|
9796
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9809
9797
|
)
|
|
9810
|
-
) : React__default
|
|
9798
|
+
) : React__default.createElement(
|
|
9811
9799
|
'div',
|
|
9812
9800
|
{ className: 'multi-figure-image-container' },
|
|
9813
|
-
React__default
|
|
9801
|
+
React__default.createElement(
|
|
9814
9802
|
index$2.LazyLoad,
|
|
9815
9803
|
{ once: true },
|
|
9816
|
-
React__default
|
|
9804
|
+
React__default.createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9817
9805
|
),
|
|
9818
|
-
React__default
|
|
9806
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9819
9807
|
)
|
|
9820
9808
|
);
|
|
9821
9809
|
} else {
|
|
9822
|
-
return React__default
|
|
9823
|
-
|
|
9810
|
+
return React__default.createElement(
|
|
9811
|
+
Col,
|
|
9824
9812
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9825
|
-
image.link ? React__default
|
|
9813
|
+
image.link ? React__default.createElement(
|
|
9826
9814
|
'a',
|
|
9827
9815
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9828
|
-
React__default
|
|
9816
|
+
React__default.createElement(
|
|
9829
9817
|
'div',
|
|
9830
9818
|
{ className: 'multi-figure-image-container' },
|
|
9831
|
-
React__default
|
|
9819
|
+
React__default.createElement(
|
|
9832
9820
|
index$2.LazyLoad,
|
|
9833
9821
|
{ once: true },
|
|
9834
|
-
React__default
|
|
9822
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9835
9823
|
),
|
|
9836
|
-
React__default
|
|
9824
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9837
9825
|
)
|
|
9838
|
-
) : React__default
|
|
9826
|
+
) : React__default.createElement(
|
|
9839
9827
|
'div',
|
|
9840
9828
|
{ className: 'multi-figure-image-container' },
|
|
9841
|
-
React__default
|
|
9829
|
+
React__default.createElement(
|
|
9842
9830
|
index$2.LazyLoad,
|
|
9843
9831
|
{ once: true },
|
|
9844
|
-
React__default
|
|
9832
|
+
React__default.createElement(FigureImage$1, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9845
9833
|
),
|
|
9846
|
-
React__default
|
|
9834
|
+
React__default.createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9847
9835
|
)
|
|
9848
9836
|
);
|
|
9849
9837
|
}
|
|
9850
9838
|
})
|
|
9851
9839
|
),
|
|
9852
|
-
React__default
|
|
9840
|
+
React__default.createElement(
|
|
9853
9841
|
'div',
|
|
9854
9842
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9855
|
-
React__default
|
|
9843
|
+
React__default.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9856
9844
|
),
|
|
9857
|
-
React__default
|
|
9845
|
+
React__default.createElement(
|
|
9858
9846
|
'style',
|
|
9859
9847
|
{ jsx: 'true' },
|
|
9860
9848
|
'\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 '
|
|
@@ -9903,23 +9891,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9903
9891
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9904
9892
|
}, []);
|
|
9905
9893
|
|
|
9906
|
-
return React__default
|
|
9907
|
-
React__default
|
|
9894
|
+
return React__default.createElement(
|
|
9895
|
+
React__default.Fragment,
|
|
9908
9896
|
null,
|
|
9909
|
-
React__default
|
|
9910
|
-
|
|
9897
|
+
React__default.createElement(
|
|
9898
|
+
Head,
|
|
9911
9899
|
null,
|
|
9912
|
-
React__default
|
|
9900
|
+
React__default.createElement('script', {
|
|
9913
9901
|
dangerouslySetInnerHTML: {
|
|
9914
9902
|
__html: 'history.scrollRestoration = "manual"'
|
|
9915
9903
|
}
|
|
9916
9904
|
})
|
|
9917
9905
|
),
|
|
9918
|
-
React__default
|
|
9906
|
+
React__default.createElement(
|
|
9919
9907
|
'div',
|
|
9920
9908
|
{ id: elementId },
|
|
9921
|
-
React__default
|
|
9922
|
-
React__default
|
|
9909
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9910
|
+
React__default.createElement(
|
|
9923
9911
|
'style',
|
|
9924
9912
|
{ jsx: 'true' },
|
|
9925
9913
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -9973,11 +9961,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
9973
9961
|
|
|
9974
9962
|
|
|
9975
9963
|
|
|
9976
|
-
var _react2 = _interopRequireDefault(React__default
|
|
9964
|
+
var _react2 = _interopRequireDefault(React__default);
|
|
9977
9965
|
|
|
9978
9966
|
|
|
9979
9967
|
|
|
9980
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default
|
|
9968
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default);
|
|
9981
9969
|
|
|
9982
9970
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9983
9971
|
var noop = function noop() {};
|
|
@@ -10122,9 +10110,9 @@ var ScriptTag = function (_Component) {
|
|
|
10122
10110
|
|
|
10123
10111
|
// The 'isHydrating' prop must NOT be passed to the script tag
|
|
10124
10112
|
// eslint-disable-next-line no-unused-vars
|
|
10125
|
-
var _props3 = this.props
|
|
10126
|
-
_props3.isHydrating
|
|
10127
|
-
|
|
10113
|
+
var _props3 = this.props,
|
|
10114
|
+
isHydrating = _props3.isHydrating,
|
|
10115
|
+
tagProps = (0, _objectWithoutProperties3.default)(_props3, ['isHydrating']);
|
|
10128
10116
|
|
|
10129
10117
|
return _react2.default.createElement('script', (0, _extends3.default)({}, tagProps, { ref: function ref(tag) {
|
|
10130
10118
|
return _this2.domRef = tag;
|
|
@@ -10132,7 +10120,7 @@ var ScriptTag = function (_Component) {
|
|
|
10132
10120
|
};
|
|
10133
10121
|
|
|
10134
10122
|
return ScriptTag;
|
|
10135
|
-
}(React__default
|
|
10123
|
+
}(React__default.Component);
|
|
10136
10124
|
|
|
10137
10125
|
ScriptTag.propTypes = {
|
|
10138
10126
|
/**
|
|
@@ -10224,11 +10212,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10224
10212
|
}, [anonymousID]);
|
|
10225
10213
|
|
|
10226
10214
|
if (iframeSrc) {
|
|
10227
|
-
return React__default
|
|
10215
|
+
return React__default.createElement(
|
|
10228
10216
|
'section',
|
|
10229
10217
|
{ className: 'form-assembly' },
|
|
10230
|
-
iframeSrc && React__default
|
|
10231
|
-
React__default
|
|
10218
|
+
iframeSrc && React__default.createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10219
|
+
React__default.createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10232
10220
|
);
|
|
10233
10221
|
}
|
|
10234
10222
|
|
|
@@ -10265,27 +10253,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10265
10253
|
return window.removeEventListener('resize', handleResize);
|
|
10266
10254
|
};
|
|
10267
10255
|
}, []);
|
|
10268
|
-
return React__default
|
|
10256
|
+
return React__default.createElement(
|
|
10269
10257
|
'div',
|
|
10270
10258
|
{ className: 'blockTableHolder', ref: holder },
|
|
10271
|
-
React__default
|
|
10259
|
+
React__default.createElement(
|
|
10272
10260
|
'div',
|
|
10273
10261
|
{ className: 'blockTable' },
|
|
10274
10262
|
rows && rows.map(function (row) {
|
|
10275
|
-
return React__default
|
|
10263
|
+
return React__default.createElement(
|
|
10276
10264
|
'div',
|
|
10277
10265
|
{ className: 'blockTableRow' },
|
|
10278
10266
|
row.cells && row.cells.map(function (cell) {
|
|
10279
|
-
return React__default
|
|
10267
|
+
return React__default.createElement(
|
|
10280
10268
|
'div',
|
|
10281
10269
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10282
|
-
React__default
|
|
10270
|
+
React__default.createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10283
10271
|
);
|
|
10284
10272
|
})
|
|
10285
10273
|
);
|
|
10286
10274
|
})
|
|
10287
10275
|
),
|
|
10288
|
-
React__default
|
|
10276
|
+
React__default.createElement(
|
|
10289
10277
|
'style',
|
|
10290
10278
|
{ jsx: true },
|
|
10291
10279
|
'\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 '
|
|
@@ -10372,12 +10360,12 @@ var getSerializers = function getSerializers() {
|
|
|
10372
10360
|
var node = _ref.node;
|
|
10373
10361
|
var url = node.url;
|
|
10374
10362
|
|
|
10375
|
-
return React__default
|
|
10363
|
+
return React__default.createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10376
10364
|
},
|
|
10377
10365
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10378
10366
|
var node = _ref2.node;
|
|
10379
10367
|
|
|
10380
|
-
return React__default
|
|
10368
|
+
return React__default.createElement(YouTubeGallery, {
|
|
10381
10369
|
nodes: node,
|
|
10382
10370
|
article: article,
|
|
10383
10371
|
meta: meta,
|
|
@@ -10391,7 +10379,7 @@ var getSerializers = function getSerializers() {
|
|
|
10391
10379
|
articleSeries: function articleSeries(_ref3) {
|
|
10392
10380
|
var node = _ref3.node;
|
|
10393
10381
|
|
|
10394
|
-
return React__default
|
|
10382
|
+
return React__default.createElement(ArticleSeries, {
|
|
10395
10383
|
nodes: node,
|
|
10396
10384
|
accountIDs: videoAccountIDs || {},
|
|
10397
10385
|
pageview: pageview,
|
|
@@ -10404,61 +10392,61 @@ var getSerializers = function getSerializers() {
|
|
|
10404
10392
|
figure: function figure(_ref4) {
|
|
10405
10393
|
var node = _ref4.node;
|
|
10406
10394
|
|
|
10407
|
-
return React__default
|
|
10395
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10408
10396
|
},
|
|
10409
10397
|
multifigure: function multifigure(_ref5) {
|
|
10410
10398
|
var node = _ref5.node;
|
|
10411
10399
|
|
|
10412
|
-
return React__default
|
|
10400
|
+
return React__default.createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10413
10401
|
},
|
|
10414
10402
|
slideshow: function slideshow(_ref6) {
|
|
10415
10403
|
var node = _ref6.node;
|
|
10416
10404
|
var slides = node.slides;
|
|
10417
10405
|
|
|
10418
|
-
return React__default
|
|
10406
|
+
return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
10419
10407
|
},
|
|
10420
10408
|
sidebar: function sidebar(_ref7) {
|
|
10421
10409
|
var node = _ref7.node;
|
|
10422
10410
|
var caption = node.caption,
|
|
10423
10411
|
content = node.content;
|
|
10424
10412
|
|
|
10425
|
-
return React__default
|
|
10413
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10426
10414
|
},
|
|
10427
10415
|
datatable: function datatable(_ref8) {
|
|
10428
10416
|
var node = _ref8.node;
|
|
10429
10417
|
var table = node.table;
|
|
10430
10418
|
|
|
10431
|
-
return React__default
|
|
10419
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
10432
10420
|
},
|
|
10433
10421
|
media: function media(_ref9) {
|
|
10434
10422
|
var node = _ref9.node;
|
|
10435
10423
|
|
|
10436
|
-
return React__default
|
|
10424
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
10437
10425
|
},
|
|
10438
10426
|
iframe: function iframe(_ref10) {
|
|
10439
10427
|
var node = _ref10.node;
|
|
10440
10428
|
|
|
10441
|
-
return React__default
|
|
10429
|
+
return React__default.createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10442
10430
|
},
|
|
10443
10431
|
video: function video(_ref11) {
|
|
10444
10432
|
var node = _ref11.node;
|
|
10445
10433
|
|
|
10446
|
-
return React__default
|
|
10434
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10447
10435
|
},
|
|
10448
10436
|
audio: function audio(_ref12) {
|
|
10449
10437
|
var node = _ref12.node;
|
|
10450
10438
|
|
|
10451
|
-
return React__default
|
|
10439
|
+
return React__default.createElement(Audio, { node: node });
|
|
10452
10440
|
},
|
|
10453
10441
|
poll: function poll(_ref13) {
|
|
10454
10442
|
var node = _ref13.node;
|
|
10455
10443
|
|
|
10456
|
-
return React__default
|
|
10444
|
+
return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10457
10445
|
},
|
|
10458
10446
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10459
10447
|
var node = _ref14.node;
|
|
10460
10448
|
|
|
10461
|
-
return React__default
|
|
10449
|
+
return React__default.createElement(Poll$1, {
|
|
10462
10450
|
node: node,
|
|
10463
10451
|
client: client,
|
|
10464
10452
|
pageview: pageview,
|
|
@@ -10472,35 +10460,35 @@ var getSerializers = function getSerializers() {
|
|
|
10472
10460
|
var node = _ref15.node;
|
|
10473
10461
|
var quizzes = node.quizzes;
|
|
10474
10462
|
|
|
10475
|
-
return React__default
|
|
10463
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10476
10464
|
},
|
|
10477
10465
|
leads: function leads(_ref16) {
|
|
10478
10466
|
var node = _ref16.node;
|
|
10479
10467
|
var leadID = node.leadID;
|
|
10480
10468
|
|
|
10481
10469
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10482
|
-
return React__default
|
|
10470
|
+
return React__default.createElement(Leads, { url: url });
|
|
10483
10471
|
},
|
|
10484
10472
|
slideshows: function slideshows(_ref17) {
|
|
10485
10473
|
var node = _ref17.node;
|
|
10486
10474
|
|
|
10487
|
-
return React__default
|
|
10475
|
+
return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10488
10476
|
},
|
|
10489
10477
|
nativeAd: function nativeAd(_ref18) {
|
|
10490
10478
|
var node = _ref18.node;
|
|
10491
10479
|
|
|
10492
|
-
return React__default
|
|
10480
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
10493
10481
|
},
|
|
10494
10482
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10495
10483
|
var node = _ref19.node;
|
|
10496
10484
|
|
|
10497
|
-
return React__default
|
|
10485
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10498
10486
|
},
|
|
10499
10487
|
hrtag: function hrtag() {
|
|
10500
|
-
return React__default
|
|
10488
|
+
return React__default.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10501
10489
|
},
|
|
10502
10490
|
brtag: function brtag() {
|
|
10503
|
-
return React__default
|
|
10491
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
10504
10492
|
},
|
|
10505
10493
|
formstack: function formstack(_ref20) {
|
|
10506
10494
|
var node = _ref20.node;
|
|
@@ -10508,29 +10496,29 @@ var getSerializers = function getSerializers() {
|
|
|
10508
10496
|
Caption = node.Caption,
|
|
10509
10497
|
needSegmentSupport = node.needSegmentSupport;
|
|
10510
10498
|
|
|
10511
|
-
return React__default
|
|
10499
|
+
return React__default.createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10512
10500
|
},
|
|
10513
10501
|
formassembly: FormAssembly,
|
|
10514
10502
|
multimedia: function multimedia(_ref21) {
|
|
10515
10503
|
var node = _ref21.node;
|
|
10516
10504
|
|
|
10517
|
-
return React__default
|
|
10505
|
+
return React__default.createElement(MultiMedia, { node: node, client: client });
|
|
10518
10506
|
},
|
|
10519
10507
|
blockTable: function blockTable(_ref22) {
|
|
10520
10508
|
var node = _ref22.node;
|
|
10521
|
-
return React__default
|
|
10509
|
+
return React__default.createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10522
10510
|
}
|
|
10523
10511
|
},
|
|
10524
10512
|
marks: {
|
|
10525
10513
|
superscript: function superscript(props) {
|
|
10526
|
-
return React__default
|
|
10514
|
+
return React__default.createElement(
|
|
10527
10515
|
'sup',
|
|
10528
10516
|
null,
|
|
10529
10517
|
props.children
|
|
10530
10518
|
);
|
|
10531
10519
|
},
|
|
10532
10520
|
subscript: function subscript(props) {
|
|
10533
|
-
return React__default
|
|
10521
|
+
return React__default.createElement(
|
|
10534
10522
|
'sub',
|
|
10535
10523
|
null,
|
|
10536
10524
|
props.children
|
|
@@ -10547,7 +10535,7 @@ var getSerializers = function getSerializers() {
|
|
|
10547
10535
|
if (href && href.charAt(0) === '#') {
|
|
10548
10536
|
var elementId = href.slice(1);
|
|
10549
10537
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10550
|
-
return React__default
|
|
10538
|
+
return React__default.createElement(
|
|
10551
10539
|
'a',
|
|
10552
10540
|
{ onClick: function onClick() {
|
|
10553
10541
|
return ScrollToElement(elementId);
|
|
@@ -10557,7 +10545,7 @@ var getSerializers = function getSerializers() {
|
|
|
10557
10545
|
}
|
|
10558
10546
|
|
|
10559
10547
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
10560
|
-
return href ? React__default
|
|
10548
|
+
return href ? React__default.createElement(
|
|
10561
10549
|
'a',
|
|
10562
10550
|
_extends._extends({ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10563
10551
|
children
|
|
@@ -10565,7 +10553,7 @@ var getSerializers = function getSerializers() {
|
|
|
10565
10553
|
},
|
|
10566
10554
|
alignleft: function alignleft(_ref23) {
|
|
10567
10555
|
var children = _ref23.children;
|
|
10568
|
-
return React__default
|
|
10556
|
+
return React__default.createElement(
|
|
10569
10557
|
'div',
|
|
10570
10558
|
{ style: { textAlign: 'left' } },
|
|
10571
10559
|
children
|
|
@@ -10573,7 +10561,7 @@ var getSerializers = function getSerializers() {
|
|
|
10573
10561
|
},
|
|
10574
10562
|
alignright: function alignright(_ref24) {
|
|
10575
10563
|
var children = _ref24.children;
|
|
10576
|
-
return React__default
|
|
10564
|
+
return React__default.createElement(
|
|
10577
10565
|
'div',
|
|
10578
10566
|
{ style: { textAlign: 'right' } },
|
|
10579
10567
|
children
|
|
@@ -10581,7 +10569,7 @@ var getSerializers = function getSerializers() {
|
|
|
10581
10569
|
},
|
|
10582
10570
|
aligncenter: function aligncenter(_ref25) {
|
|
10583
10571
|
var children = _ref25.children;
|
|
10584
|
-
return React__default
|
|
10572
|
+
return React__default.createElement(
|
|
10585
10573
|
'div',
|
|
10586
10574
|
{ style: { textAlign: 'center' } },
|
|
10587
10575
|
children
|
|
@@ -10589,7 +10577,7 @@ var getSerializers = function getSerializers() {
|
|
|
10589
10577
|
},
|
|
10590
10578
|
alignjustify: function alignjustify(_ref26) {
|
|
10591
10579
|
var children = _ref26.children;
|
|
10592
|
-
return React__default
|
|
10580
|
+
return React__default.createElement(
|
|
10593
10581
|
'div',
|
|
10594
10582
|
{ style: { textAlign: 'justify' } },
|
|
10595
10583
|
children
|
|
@@ -10599,7 +10587,7 @@ var getSerializers = function getSerializers() {
|
|
|
10599
10587
|
var children = props.children,
|
|
10600
10588
|
color = props.mark.color;
|
|
10601
10589
|
|
|
10602
|
-
return React__default
|
|
10590
|
+
return React__default.createElement(
|
|
10603
10591
|
'span',
|
|
10604
10592
|
{ style: { color: color ? color.hex : null } },
|
|
10605
10593
|
children
|