@mjhls/mjh-framework 1.0.994-CypressV3 → 1.0.994-invalidelement-v2
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 +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-f316b66a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-2003306e.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +1078 -894
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +114 -85
- package/dist/cjs/AuthWrapper.js +120 -30
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +34 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +130 -130
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-1ec0408b.js} +212 -172
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +48 -48
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{Tooltip-f075b7ef.js → MediaSeriesCard-e93c0855.js} +705 -539
- package/dist/cjs/MediaSeriesLanding.js +54 -55
- package/dist/cjs/MediaSeriesLandingPaginated.js +52 -53
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +49 -50
- package/dist/cjs/PartnerDetailListingPaginated.js +47 -70
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +56 -52
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -11
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -28
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +259 -272
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-f95a3c0f.js → index-64fe6bc7.js} +487 -500
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
- package/dist/cjs/index.js +103 -105
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +694 -510
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +40 -11
- package/dist/esm/AuthWrapper.js +93 -3
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
- package/dist/esm/IssueLanding.js +33 -33
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +12 -12
- package/dist/esm/{Tooltip-95655b44.js → MediaSeriesCard-9a4cc6ac.js} +423 -258
- package/dist/esm/MediaSeriesLanding.js +16 -17
- package/dist/esm/MediaSeriesLandingPaginated.js +16 -17
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +5 -6
- package/dist/esm/PartnerDetailListingPaginated.js +13 -36
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +56 -52
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +43 -56
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-04817712.js → index-19ae7235.js} +8 -21
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/index.js +10 -12
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +115 -115
- package/dist/cjs/CypressTesting.js +0 -53
- package/dist/cjs/MediaSeriesCard-2e5cd247.js +0 -81
- package/dist/cjs/PodcastsLanding.js +0 -235
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/CypressTesting.js +0 -47
- package/dist/esm/MediaSeriesCard-afb517a5.js +0 -75
- package/dist/esm/PodcastsLanding.js +0 -228
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var reactBootstrap = require('react-bootstrap');
|
|
6
6
|
var urlFor = require('./urlFor.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-d2a6ef75.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -12,14 +12,14 @@ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
|
12
12
|
var util = require('./util-93a37fd0.js');
|
|
13
13
|
require('./Beam.js');
|
|
14
14
|
var Segment = require('./Segment.js');
|
|
15
|
-
var main = require('./main-
|
|
16
|
-
var BlockContent = require('./BlockContent-
|
|
15
|
+
var main = require('./main-6054981e.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-96b44364.js');
|
|
17
17
|
var _extends = require('./extends-7c86182f.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-65621b6c.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-4c7825a1.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var Modal = require('react-bootstrap/Modal');
|
|
25
25
|
var Button = require('react-bootstrap/Button');
|
|
@@ -66,7 +66,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
66
66
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
67
67
|
var pageNumber = selectedIndex + 1;
|
|
68
68
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
69
|
-
Router__default[
|
|
69
|
+
Router__default["default"].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -96,27 +96,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
96
96
|
if (pageview) pageview(router.asPath);
|
|
97
97
|
}, [router]);
|
|
98
98
|
|
|
99
|
-
return React__default[
|
|
99
|
+
return React__default["default"].createElement(
|
|
100
100
|
'div',
|
|
101
101
|
{ className: 'mt-3 mb-3' },
|
|
102
|
-
React__default[
|
|
102
|
+
React__default["default"].createElement(
|
|
103
103
|
reactBootstrap.Carousel,
|
|
104
104
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
105
105
|
return onChangeSlide(selectedIndex, router);
|
|
106
106
|
}, interval: null },
|
|
107
107
|
slides && slides.map(function (slide) {
|
|
108
|
-
return React__default[
|
|
108
|
+
return React__default["default"].createElement(
|
|
109
109
|
reactBootstrap.Carousel.Item,
|
|
110
110
|
{ key: slide._key },
|
|
111
|
-
React__default[
|
|
111
|
+
React__default["default"].createElement(
|
|
112
112
|
'picture',
|
|
113
113
|
null,
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
117
|
-
React__default[
|
|
114
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
115
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
116
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
117
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
118
118
|
),
|
|
119
|
-
slide.caption && React__default[
|
|
119
|
+
slide.caption && React__default["default"].createElement(
|
|
120
120
|
'p',
|
|
121
121
|
{ className: 'p-2' },
|
|
122
122
|
slide.caption
|
|
@@ -1648,13 +1648,11 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1648
1648
|
|
|
1649
1649
|
function filterResetOptions(opts) {
|
|
1650
1650
|
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1651
|
-
|
|
1652
|
-
width: 0,
|
|
1653
|
-
playerVars: _objectSpread(_objectSpread({}, opts.playerVars), {}, {
|
|
1651
|
+
playerVars: _objectSpread({
|
|
1654
1652
|
autoplay: 0,
|
|
1655
1653
|
start: 0,
|
|
1656
1654
|
end: 0
|
|
1657
|
-
})
|
|
1655
|
+
}, opts.playerVars)
|
|
1658
1656
|
});
|
|
1659
1657
|
}
|
|
1660
1658
|
/**
|
|
@@ -1669,7 +1667,7 @@ function filterResetOptions(opts) {
|
|
|
1669
1667
|
|
|
1670
1668
|
|
|
1671
1669
|
function shouldResetPlayer(prevProps, props) {
|
|
1672
|
-
return
|
|
1670
|
+
return !fastDeepEqual(filterResetOptions(prevProps.opts), filterResetOptions(props.opts));
|
|
1673
1671
|
}
|
|
1674
1672
|
/**
|
|
1675
1673
|
* Check whether a props change should result in an id or className update.
|
|
@@ -1680,7 +1678,7 @@ function shouldResetPlayer(prevProps, props) {
|
|
|
1680
1678
|
|
|
1681
1679
|
|
|
1682
1680
|
function shouldUpdatePlayer(prevProps, props) {
|
|
1683
|
-
return prevProps.id !== props.id || prevProps.className !== props.className
|
|
1681
|
+
return prevProps.id !== props.id || prevProps.className !== props.className;
|
|
1684
1682
|
}
|
|
1685
1683
|
|
|
1686
1684
|
var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
@@ -1767,9 +1765,6 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1767
1765
|
_this.internalPlayer.getIframe().then(function (iframe) {
|
|
1768
1766
|
if (_this.props.id) iframe.setAttribute('id', _this.props.id);else iframe.removeAttribute('id');
|
|
1769
1767
|
if (_this.props.className) iframe.setAttribute('class', _this.props.className);else iframe.removeAttribute('class');
|
|
1770
|
-
if (_this.props.opts && _this.props.opts.width) iframe.setAttribute('width', _this.props.opts.width);else iframe.removeAttribute('width');
|
|
1771
|
-
if (_this.props.opts && _this.props.opts.height) iframe.setAttribute('height', _this.props.opts.height);else iframe.removeAttribute('height');
|
|
1772
|
-
if (typeof _this.props.title === 'string') iframe.setAttribute('title', _this.props.title);else iframe.setAttribute('title', 'YouTube video player');
|
|
1773
1768
|
});
|
|
1774
1769
|
});
|
|
1775
1770
|
|
|
@@ -1863,19 +1858,18 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1863
1858
|
}, {
|
|
1864
1859
|
key: "render",
|
|
1865
1860
|
value: function render() {
|
|
1866
|
-
return /*#__PURE__*/React__default[
|
|
1861
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1867
1862
|
className: this.props.containerClassName
|
|
1868
|
-
}, /*#__PURE__*/React__default[
|
|
1863
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1869
1864
|
id: this.props.id,
|
|
1870
1865
|
className: this.props.className,
|
|
1871
|
-
ref: this.refContainer
|
|
1872
|
-
loading: this.props.loading
|
|
1866
|
+
ref: this.refContainer
|
|
1873
1867
|
}));
|
|
1874
1868
|
}
|
|
1875
1869
|
}]);
|
|
1876
1870
|
|
|
1877
1871
|
return YouTube;
|
|
1878
|
-
}(React__default[
|
|
1872
|
+
}(React__default["default"].Component);
|
|
1879
1873
|
|
|
1880
1874
|
_defineProperty(YouTube, "PlayerState", {
|
|
1881
1875
|
UNSTARTED: -1,
|
|
@@ -1887,34 +1881,29 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1887
1881
|
});
|
|
1888
1882
|
|
|
1889
1883
|
YouTube.propTypes = {
|
|
1890
|
-
videoId: PropTypes__default[
|
|
1884
|
+
videoId: PropTypes__default["default"].string,
|
|
1891
1885
|
// custom ID for player element
|
|
1892
|
-
id: PropTypes__default[
|
|
1886
|
+
id: PropTypes__default["default"].string,
|
|
1893
1887
|
// custom class name for player element
|
|
1894
|
-
className: PropTypes__default[
|
|
1888
|
+
className: PropTypes__default["default"].string,
|
|
1895
1889
|
// custom class name for player container element
|
|
1896
|
-
containerClassName: PropTypes__default[
|
|
1897
|
-
// custom title for the iFrame, see https://www.w3.org/TR/WCAG20-TECHS/H64.html
|
|
1898
|
-
title: PropTypes__default['default'].string,
|
|
1899
|
-
// custom loading for player element
|
|
1900
|
-
loading: PropTypes__default['default'].oneOf(['lazy', 'eager', 'auto']),
|
|
1890
|
+
containerClassName: PropTypes__default["default"].string,
|
|
1901
1891
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1902
|
-
opts: PropTypes__default[
|
|
1892
|
+
opts: PropTypes__default["default"].objectOf(PropTypes__default["default"].any),
|
|
1903
1893
|
// event subscriptions
|
|
1904
|
-
onReady: PropTypes__default[
|
|
1905
|
-
onError: PropTypes__default[
|
|
1906
|
-
onPlay: PropTypes__default[
|
|
1907
|
-
onPause: PropTypes__default[
|
|
1908
|
-
onEnd: PropTypes__default[
|
|
1909
|
-
onStateChange: PropTypes__default[
|
|
1910
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1911
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1894
|
+
onReady: PropTypes__default["default"].func,
|
|
1895
|
+
onError: PropTypes__default["default"].func,
|
|
1896
|
+
onPlay: PropTypes__default["default"].func,
|
|
1897
|
+
onPause: PropTypes__default["default"].func,
|
|
1898
|
+
onEnd: PropTypes__default["default"].func,
|
|
1899
|
+
onStateChange: PropTypes__default["default"].func,
|
|
1900
|
+
onPlaybackRateChange: PropTypes__default["default"].func,
|
|
1901
|
+
onPlaybackQualityChange: PropTypes__default["default"].func
|
|
1912
1902
|
};
|
|
1913
1903
|
YouTube.defaultProps = {
|
|
1914
1904
|
videoId: null,
|
|
1915
1905
|
id: null,
|
|
1916
1906
|
className: null,
|
|
1917
|
-
loading: null,
|
|
1918
1907
|
opts: {},
|
|
1919
1908
|
containerClassName: '',
|
|
1920
1909
|
onReady: function onReady() {},
|
|
@@ -1924,8 +1913,7 @@ YouTube.defaultProps = {
|
|
|
1924
1913
|
onEnd: function onEnd() {},
|
|
1925
1914
|
onStateChange: function onStateChange() {},
|
|
1926
1915
|
onPlaybackRateChange: function onPlaybackRateChange() {},
|
|
1927
|
-
onPlaybackQualityChange: function onPlaybackQualityChange() {}
|
|
1928
|
-
title: null
|
|
1916
|
+
onPlaybackQualityChange: function onPlaybackQualityChange() {}
|
|
1929
1917
|
};
|
|
1930
1918
|
|
|
1931
1919
|
var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
@@ -2028,11 +2016,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2028
2016
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2029
2017
|
};
|
|
2030
2018
|
|
|
2031
|
-
return React__default[
|
|
2019
|
+
return React__default["default"].createElement(
|
|
2032
2020
|
'div',
|
|
2033
2021
|
{ id: 'fluid-video-container' },
|
|
2034
|
-
React__default[
|
|
2035
|
-
React__default[
|
|
2022
|
+
React__default["default"].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2023
|
+
React__default["default"].createElement(
|
|
2036
2024
|
'style',
|
|
2037
2025
|
{ jsx: 'true' },
|
|
2038
2026
|
'\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 '
|
|
@@ -2045,20 +2033,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2045
2033
|
content = _ref.content,
|
|
2046
2034
|
getSerializers = _ref.getSerializers;
|
|
2047
2035
|
|
|
2048
|
-
return React__default[
|
|
2036
|
+
return React__default["default"].createElement(
|
|
2049
2037
|
'article',
|
|
2050
2038
|
{ className: 'sidebar' },
|
|
2051
|
-
React__default[
|
|
2039
|
+
React__default["default"].createElement(
|
|
2052
2040
|
'div',
|
|
2053
2041
|
null,
|
|
2054
|
-
React__default[
|
|
2042
|
+
React__default["default"].createElement(
|
|
2055
2043
|
'h3',
|
|
2056
2044
|
null,
|
|
2057
2045
|
caption
|
|
2058
2046
|
),
|
|
2059
|
-
React__default[
|
|
2047
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2060
2048
|
),
|
|
2061
|
-
React__default[
|
|
2049
|
+
React__default["default"].createElement(
|
|
2062
2050
|
'style',
|
|
2063
2051
|
{ jsx: 'true' },
|
|
2064
2052
|
'\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 '
|
|
@@ -2069,18 +2057,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2069
2057
|
var TableShow = function TableShow(_ref) {
|
|
2070
2058
|
var rows = _ref.rows;
|
|
2071
2059
|
|
|
2072
|
-
return React__default[
|
|
2060
|
+
return React__default["default"].createElement(
|
|
2073
2061
|
reactBootstrap.Table,
|
|
2074
2062
|
{ bordered: true, hover: true, responsive: true },
|
|
2075
|
-
React__default[
|
|
2063
|
+
React__default["default"].createElement(
|
|
2076
2064
|
'tbody',
|
|
2077
2065
|
null,
|
|
2078
2066
|
rows && rows.map(function (row) {
|
|
2079
|
-
return React__default[
|
|
2067
|
+
return React__default["default"].createElement(
|
|
2080
2068
|
'tr',
|
|
2081
2069
|
{ key: row._key },
|
|
2082
2070
|
row.cells && row.cells.map(function (cell, index) {
|
|
2083
|
-
return cell && React__default[
|
|
2071
|
+
return cell && React__default["default"].createElement(
|
|
2084
2072
|
'td',
|
|
2085
2073
|
{ key: index },
|
|
2086
2074
|
cell
|
|
@@ -2178,25 +2166,25 @@ var Media = function Media(_ref) {
|
|
|
2178
2166
|
margin: imageMargin
|
|
2179
2167
|
};
|
|
2180
2168
|
|
|
2181
|
-
return React__default[
|
|
2169
|
+
return React__default["default"].createElement(
|
|
2182
2170
|
reactBootstrap.Figure,
|
|
2183
2171
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2184
|
-
React__default[
|
|
2172
|
+
React__default["default"].createElement(
|
|
2185
2173
|
'a',
|
|
2186
2174
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2187
|
-
React__default[
|
|
2175
|
+
React__default["default"].createElement(
|
|
2188
2176
|
index$2.LazyLoad,
|
|
2189
2177
|
{ once: true },
|
|
2190
|
-
React__default[
|
|
2178
|
+
React__default["default"].createElement(
|
|
2191
2179
|
'picture',
|
|
2192
2180
|
null,
|
|
2193
|
-
React__default[
|
|
2194
|
-
React__default[
|
|
2195
|
-
React__default[
|
|
2196
|
-
React__default[
|
|
2181
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2182
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2183
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2184
|
+
React__default["default"].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2197
2185
|
)
|
|
2198
2186
|
),
|
|
2199
|
-
caption && React__default[
|
|
2187
|
+
caption && React__default["default"].createElement(
|
|
2200
2188
|
reactBootstrap.Figure.Caption,
|
|
2201
2189
|
{ className: 'media-caption' },
|
|
2202
2190
|
caption
|
|
@@ -2204,7 +2192,7 @@ var Media = function Media(_ref) {
|
|
|
2204
2192
|
)
|
|
2205
2193
|
);
|
|
2206
2194
|
} else if (caption && caption !== '') {
|
|
2207
|
-
return React__default[
|
|
2195
|
+
return React__default["default"].createElement(
|
|
2208
2196
|
'a',
|
|
2209
2197
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2210
2198
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2224,10 +2212,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2224
2212
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2225
2213
|
|
|
2226
2214
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2227
|
-
return React__default[
|
|
2215
|
+
return React__default["default"].createElement(
|
|
2228
2216
|
'div',
|
|
2229
2217
|
{ className: 'd-block text-center mb-3' },
|
|
2230
|
-
React__default[
|
|
2218
|
+
React__default["default"].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2231
2219
|
);
|
|
2232
2220
|
};
|
|
2233
2221
|
|
|
@@ -2237,7 +2225,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2237
2225
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2238
2226
|
|
|
2239
2227
|
var choiceArray = choices.map(function (choice) {
|
|
2240
|
-
return React__default[
|
|
2228
|
+
return React__default["default"].createElement(Form__default["default"].Check, {
|
|
2241
2229
|
inline: true,
|
|
2242
2230
|
label: choice.choiceText,
|
|
2243
2231
|
value: choice.choiceText,
|
|
@@ -2247,19 +2235,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2247
2235
|
onClick: handlePollAnswer
|
|
2248
2236
|
});
|
|
2249
2237
|
});
|
|
2250
|
-
return React__default[
|
|
2238
|
+
return React__default["default"].createElement(
|
|
2251
2239
|
'div',
|
|
2252
2240
|
{
|
|
2253
2241
|
key: 'inline-radio',
|
|
2254
2242
|
className: 'radioContainer' },
|
|
2255
|
-
React__default[
|
|
2243
|
+
React__default["default"].createElement(
|
|
2256
2244
|
'h2',
|
|
2257
2245
|
{
|
|
2258
2246
|
className: 'radioLabelText'
|
|
2259
2247
|
},
|
|
2260
2248
|
question
|
|
2261
2249
|
),
|
|
2262
|
-
React__default[
|
|
2250
|
+
React__default["default"].createElement(
|
|
2263
2251
|
'div',
|
|
2264
2252
|
{
|
|
2265
2253
|
className: 'multiChoiceDiv'
|
|
@@ -2274,19 +2262,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2274
2262
|
textAnswer = _ref.textAnswer,
|
|
2275
2263
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2276
2264
|
|
|
2277
|
-
return React__default[
|
|
2265
|
+
return React__default["default"].createElement(
|
|
2278
2266
|
'div',
|
|
2279
2267
|
{
|
|
2280
2268
|
className: 'textInputDiv'
|
|
2281
2269
|
},
|
|
2282
|
-
React__default[
|
|
2270
|
+
React__default["default"].createElement(
|
|
2283
2271
|
'h2',
|
|
2284
2272
|
{
|
|
2285
2273
|
className: 'textInputQuestion'
|
|
2286
2274
|
},
|
|
2287
2275
|
textInputQuestion
|
|
2288
2276
|
),
|
|
2289
|
-
React__default[
|
|
2277
|
+
React__default["default"].createElement(Form__default["default"].Control, {
|
|
2290
2278
|
type: 'text',
|
|
2291
2279
|
className: 'textInput',
|
|
2292
2280
|
value: textAnswer,
|
|
@@ -2396,32 +2384,32 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2396
2384
|
var pollArray = [];
|
|
2397
2385
|
pollItems.forEach(function (item, ind) {
|
|
2398
2386
|
if (item.format === 'multiChoice') {
|
|
2399
|
-
pollArray.push(React__default[
|
|
2387
|
+
pollArray.push(React__default["default"].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2400
2388
|
}
|
|
2401
2389
|
if (item.format === 'textInput') {
|
|
2402
|
-
pollArray.push(React__default[
|
|
2390
|
+
pollArray.push(React__default["default"].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2403
2391
|
}
|
|
2404
2392
|
});
|
|
2405
2393
|
|
|
2406
|
-
return React__default[
|
|
2394
|
+
return React__default["default"].createElement(
|
|
2407
2395
|
'div',
|
|
2408
2396
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2409
|
-
React__default[
|
|
2410
|
-
Modal__default[
|
|
2397
|
+
React__default["default"].createElement(
|
|
2398
|
+
Modal__default["default"].Dialog,
|
|
2411
2399
|
null,
|
|
2412
|
-
React__default[
|
|
2413
|
-
Modal__default[
|
|
2400
|
+
React__default["default"].createElement(
|
|
2401
|
+
Modal__default["default"].Body,
|
|
2414
2402
|
null,
|
|
2415
|
-
React__default[
|
|
2416
|
-
Form__default[
|
|
2403
|
+
React__default["default"].createElement(
|
|
2404
|
+
Form__default["default"],
|
|
2417
2405
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2418
2406
|
pollArray,
|
|
2419
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2420
|
-
Button__default[
|
|
2407
|
+
textInputRender && !multiChoiceRender ? React__default["default"].createElement(
|
|
2408
|
+
Button__default["default"],
|
|
2421
2409
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2422
2410
|
'Submit'
|
|
2423
|
-
) : React__default[
|
|
2424
|
-
Button__default[
|
|
2411
|
+
) : React__default["default"].createElement(
|
|
2412
|
+
Button__default["default"],
|
|
2425
2413
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2426
2414
|
'Submit'
|
|
2427
2415
|
)
|
|
@@ -2584,10 +2572,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2584
2572
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2585
2573
|
};
|
|
2586
2574
|
|
|
2587
|
-
return React__default[
|
|
2575
|
+
return React__default["default"].createElement(
|
|
2588
2576
|
'div',
|
|
2589
2577
|
null,
|
|
2590
|
-
isPollingTime ? React__default[
|
|
2578
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2591
2579
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2592
2580
|
, { pollItems: pollItems
|
|
2593
2581
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2601,7 +2589,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2601
2589
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2602
2590
|
, multiChoiceRender: multiChoiceRender
|
|
2603
2591
|
}) : null,
|
|
2604
|
-
vidLoaded && React__default[
|
|
2592
|
+
vidLoaded && React__default["default"].createElement(
|
|
2605
2593
|
'video',
|
|
2606
2594
|
{
|
|
2607
2595
|
poster: thumbnail || '',
|
|
@@ -2619,7 +2607,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2619
2607
|
onPlay: function onPlay(e) {
|
|
2620
2608
|
return handleOnPlay(e);
|
|
2621
2609
|
} },
|
|
2622
|
-
React__default[
|
|
2610
|
+
React__default["default"].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2623
2611
|
'Your browser does not support the video tag.'
|
|
2624
2612
|
)
|
|
2625
2613
|
);
|
|
@@ -2870,10 +2858,10 @@ var Video = function Video(_ref) {
|
|
|
2870
2858
|
|
|
2871
2859
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2872
2860
|
if (videoID) {
|
|
2873
|
-
return React__default[
|
|
2861
|
+
return React__default["default"].createElement(
|
|
2874
2862
|
'div',
|
|
2875
2863
|
null,
|
|
2876
|
-
isPollingTime ? React__default[
|
|
2864
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2877
2865
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2878
2866
|
, { pollItems: pollItems
|
|
2879
2867
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2887,7 +2875,7 @@ var Video = function Video(_ref) {
|
|
|
2887
2875
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2888
2876
|
, multiChoiceRender: multiChoiceRender
|
|
2889
2877
|
}) : null,
|
|
2890
|
-
React__default[
|
|
2878
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2891
2879
|
onSuccess: onVideoSuccess,
|
|
2892
2880
|
onFailure: onVideoFailure,
|
|
2893
2881
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2895,17 +2883,17 @@ var Video = function Video(_ref) {
|
|
|
2895
2883
|
playerId: accountIDs.brightcove.playerId,
|
|
2896
2884
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2897
2885
|
}),
|
|
2898
|
-
React__default[
|
|
2886
|
+
React__default["default"].createElement(
|
|
2899
2887
|
'style',
|
|
2900
2888
|
{ jsx: 'true' },
|
|
2901
2889
|
'\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 '
|
|
2902
2890
|
)
|
|
2903
2891
|
);
|
|
2904
2892
|
} else if (playlistID) {
|
|
2905
|
-
return React__default[
|
|
2893
|
+
return React__default["default"].createElement(
|
|
2906
2894
|
'div',
|
|
2907
2895
|
null,
|
|
2908
|
-
isPollingTime ? React__default[
|
|
2896
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2909
2897
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2910
2898
|
, { pollItems: pollItems
|
|
2911
2899
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2919,7 +2907,7 @@ var Video = function Video(_ref) {
|
|
|
2919
2907
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2920
2908
|
, multiChoiceRender: multiChoiceRender
|
|
2921
2909
|
}) : null,
|
|
2922
|
-
React__default[
|
|
2910
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2923
2911
|
accountId: accountIDs.brightcove.accountId,
|
|
2924
2912
|
playlistId: playlistID,
|
|
2925
2913
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2927,18 +2915,18 @@ var Video = function Video(_ref) {
|
|
|
2927
2915
|
onFailure: onVideoFailure,
|
|
2928
2916
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2929
2917
|
}),
|
|
2930
|
-
React__default[
|
|
2918
|
+
React__default["default"].createElement(
|
|
2931
2919
|
'style',
|
|
2932
2920
|
{ jsx: 'true' },
|
|
2933
2921
|
'\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 '
|
|
2934
2922
|
)
|
|
2935
2923
|
);
|
|
2936
2924
|
} else if (experienceID) {
|
|
2937
|
-
return React__default[
|
|
2925
|
+
return React__default["default"].createElement(
|
|
2938
2926
|
'div',
|
|
2939
2927
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2940
|
-
React__default[
|
|
2941
|
-
isPollingTime ? React__default[
|
|
2928
|
+
React__default["default"].createElement('div', { 'data-experience': experienceID }),
|
|
2929
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2942
2930
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2943
2931
|
, { pollItems: pollItems
|
|
2944
2932
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2958,10 +2946,10 @@ var Video = function Video(_ref) {
|
|
|
2958
2946
|
}
|
|
2959
2947
|
|
|
2960
2948
|
if (source === 'mp4') {
|
|
2961
|
-
return React__default[
|
|
2949
|
+
return React__default["default"].createElement(
|
|
2962
2950
|
'div',
|
|
2963
2951
|
null,
|
|
2964
|
-
React__default[
|
|
2952
|
+
React__default["default"].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2965
2953
|
);
|
|
2966
2954
|
}
|
|
2967
2955
|
|
|
@@ -2976,7 +2964,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2976
2964
|
});
|
|
2977
2965
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2978
2966
|
|
|
2979
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
2967
|
+
var _propTypes = _interopRequireDefault(PropTypes__default["default"]);
|
|
2980
2968
|
|
|
2981
2969
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2982
2970
|
|
|
@@ -3566,7 +3554,7 @@ function isEqual(a, b) {
|
|
|
3566
3554
|
return true;
|
|
3567
3555
|
}
|
|
3568
3556
|
|
|
3569
|
-
if ((0, React__default[
|
|
3557
|
+
if ((0, React__default["default"].isValidElement)(a) && (0, React__default["default"].isValidElement)(b)) {
|
|
3570
3558
|
return true;
|
|
3571
3559
|
}
|
|
3572
3560
|
|
|
@@ -3628,7 +3616,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3628
3616
|
});
|
|
3629
3617
|
exports["default"] = void 0;
|
|
3630
3618
|
|
|
3631
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3619
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
3632
3620
|
|
|
3633
3621
|
|
|
3634
3622
|
|
|
@@ -4038,7 +4026,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4038
4026
|
});
|
|
4039
4027
|
exports["default"] = createSinglePlayer;
|
|
4040
4028
|
|
|
4041
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4029
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4042
4030
|
|
|
4043
4031
|
|
|
4044
4032
|
|
|
@@ -4196,7 +4184,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4196
4184
|
});
|
|
4197
4185
|
exports["default"] = exports.YouTube = void 0;
|
|
4198
4186
|
|
|
4199
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4187
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4200
4188
|
|
|
4201
4189
|
|
|
4202
4190
|
|
|
@@ -4505,7 +4493,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4505
4493
|
});
|
|
4506
4494
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4507
4495
|
|
|
4508
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4496
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4509
4497
|
|
|
4510
4498
|
|
|
4511
4499
|
|
|
@@ -4722,7 +4710,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4722
4710
|
});
|
|
4723
4711
|
exports["default"] = exports.Vimeo = void 0;
|
|
4724
4712
|
|
|
4725
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4713
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4726
4714
|
|
|
4727
4715
|
|
|
4728
4716
|
|
|
@@ -4978,7 +4966,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4978
4966
|
});
|
|
4979
4967
|
exports["default"] = exports.Facebook = void 0;
|
|
4980
4968
|
|
|
4981
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4969
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4982
4970
|
|
|
4983
4971
|
|
|
4984
4972
|
|
|
@@ -5190,7 +5178,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5190
5178
|
});
|
|
5191
5179
|
exports["default"] = exports.Streamable = void 0;
|
|
5192
5180
|
|
|
5193
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5181
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5194
5182
|
|
|
5195
5183
|
|
|
5196
5184
|
|
|
@@ -5401,7 +5389,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5401
5389
|
});
|
|
5402
5390
|
exports["default"] = exports.Wistia = void 0;
|
|
5403
5391
|
|
|
5404
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5392
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5405
5393
|
|
|
5406
5394
|
|
|
5407
5395
|
|
|
@@ -5644,7 +5632,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5644
5632
|
});
|
|
5645
5633
|
exports["default"] = exports.Twitch = void 0;
|
|
5646
5634
|
|
|
5647
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5635
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5648
5636
|
|
|
5649
5637
|
|
|
5650
5638
|
|
|
@@ -5860,7 +5848,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5860
5848
|
});
|
|
5861
5849
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5862
5850
|
|
|
5863
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5851
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5864
5852
|
|
|
5865
5853
|
|
|
5866
5854
|
|
|
@@ -6096,7 +6084,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6096
6084
|
});
|
|
6097
6085
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6098
6086
|
|
|
6099
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6087
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6100
6088
|
|
|
6101
6089
|
|
|
6102
6090
|
|
|
@@ -6295,7 +6283,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6295
6283
|
});
|
|
6296
6284
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6297
6285
|
|
|
6298
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6286
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6299
6287
|
|
|
6300
6288
|
|
|
6301
6289
|
|
|
@@ -6862,7 +6850,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6862
6850
|
});
|
|
6863
6851
|
exports["default"] = void 0;
|
|
6864
6852
|
|
|
6865
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6853
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6866
6854
|
|
|
6867
6855
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6868
6856
|
|
|
@@ -7041,7 +7029,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7041
7029
|
});
|
|
7042
7030
|
exports["default"] = renderPreloadPlayers;
|
|
7043
7031
|
|
|
7044
|
-
var _react = _interopRequireDefault(React__default[
|
|
7032
|
+
var _react = _interopRequireDefault(React__default["default"]);
|
|
7045
7033
|
|
|
7046
7034
|
var _Player = _interopRequireDefault(Player_1);
|
|
7047
7035
|
|
|
@@ -7180,7 +7168,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7180
7168
|
});
|
|
7181
7169
|
exports["default"] = void 0;
|
|
7182
7170
|
|
|
7183
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7171
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
7184
7172
|
|
|
7185
7173
|
|
|
7186
7174
|
|
|
@@ -7496,7 +7484,7 @@ var Audio = function Audio(_ref) {
|
|
|
7496
7484
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7497
7485
|
var reportPlay = function reportPlay() {
|
|
7498
7486
|
console.log('Reporting audio playback play to GA');
|
|
7499
|
-
ReactGA__default[
|
|
7487
|
+
ReactGA__default["default"].event({
|
|
7500
7488
|
category: 'User',
|
|
7501
7489
|
action: 'Audio Play',
|
|
7502
7490
|
label: 'Play: ' + audioSource
|
|
@@ -7506,7 +7494,7 @@ var Audio = function Audio(_ref) {
|
|
|
7506
7494
|
};
|
|
7507
7495
|
var reportPause = function reportPause() {
|
|
7508
7496
|
console.log('Reporting audio playback pause to GA');
|
|
7509
|
-
ReactGA__default[
|
|
7497
|
+
ReactGA__default["default"].event({
|
|
7510
7498
|
category: 'User',
|
|
7511
7499
|
action: 'Audio Pause',
|
|
7512
7500
|
label: 'Pause: ' + audioSource
|
|
@@ -7516,7 +7504,7 @@ var Audio = function Audio(_ref) {
|
|
|
7516
7504
|
};
|
|
7517
7505
|
var reportEnd = function reportEnd() {
|
|
7518
7506
|
console.log('Reporting audio playback end to GA');
|
|
7519
|
-
ReactGA__default[
|
|
7507
|
+
ReactGA__default["default"].event({
|
|
7520
7508
|
category: 'User',
|
|
7521
7509
|
action: 'Audio Playback End',
|
|
7522
7510
|
label: 'Playback End: ' + audioSource
|
|
@@ -7525,10 +7513,10 @@ var Audio = function Audio(_ref) {
|
|
|
7525
7513
|
}));
|
|
7526
7514
|
};
|
|
7527
7515
|
if (node.uploadAudio) {
|
|
7528
|
-
return React__default[
|
|
7516
|
+
return React__default["default"].createElement(
|
|
7529
7517
|
'div',
|
|
7530
7518
|
{ className: 'audio d-block text-center mb-3' },
|
|
7531
|
-
React__default[
|
|
7519
|
+
React__default["default"].createElement(
|
|
7532
7520
|
'audio',
|
|
7533
7521
|
{
|
|
7534
7522
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7537,14 +7525,14 @@ var Audio = function Audio(_ref) {
|
|
|
7537
7525
|
onPause: reportPause,
|
|
7538
7526
|
onEnded: reportEnd
|
|
7539
7527
|
},
|
|
7540
|
-
React__default[
|
|
7541
|
-
React__default[
|
|
7528
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7529
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7542
7530
|
'Your browser does not support the audio element.'
|
|
7543
7531
|
),
|
|
7544
|
-
node.caption && React__default[
|
|
7532
|
+
node.caption && React__default["default"].createElement(
|
|
7545
7533
|
'p',
|
|
7546
7534
|
{ style: { fontSize: '.9rem' } },
|
|
7547
|
-
React__default[
|
|
7535
|
+
React__default["default"].createElement(
|
|
7548
7536
|
'em',
|
|
7549
7537
|
null,
|
|
7550
7538
|
node.caption
|
|
@@ -7554,15 +7542,15 @@ var Audio = function Audio(_ref) {
|
|
|
7554
7542
|
} else if (node.audioFilePth) {
|
|
7555
7543
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7556
7544
|
if (hostname === 'embeds.audioboom.com') {
|
|
7557
|
-
return React__default[
|
|
7545
|
+
return React__default["default"].createElement(
|
|
7558
7546
|
'div',
|
|
7559
7547
|
null,
|
|
7560
|
-
React__default[
|
|
7548
|
+
React__default["default"].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7561
7549
|
' ',
|
|
7562
|
-
node.caption && React__default[
|
|
7550
|
+
node.caption && React__default["default"].createElement(
|
|
7563
7551
|
'p',
|
|
7564
7552
|
{ style: { fontSize: '.9rem' } },
|
|
7565
|
-
React__default[
|
|
7553
|
+
React__default["default"].createElement(
|
|
7566
7554
|
'em',
|
|
7567
7555
|
null,
|
|
7568
7556
|
node.caption
|
|
@@ -7570,10 +7558,10 @@ var Audio = function Audio(_ref) {
|
|
|
7570
7558
|
)
|
|
7571
7559
|
);
|
|
7572
7560
|
}
|
|
7573
|
-
return React__default[
|
|
7561
|
+
return React__default["default"].createElement(
|
|
7574
7562
|
'div',
|
|
7575
7563
|
{ className: 'audio' },
|
|
7576
|
-
React__default[
|
|
7564
|
+
React__default["default"].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7577
7565
|
onPlay: reportPlay,
|
|
7578
7566
|
onPause: reportPause,
|
|
7579
7567
|
onEnded: reportEnd,
|
|
@@ -7581,10 +7569,10 @@ var Audio = function Audio(_ref) {
|
|
|
7581
7569
|
width: '100%',
|
|
7582
7570
|
height: '100%'
|
|
7583
7571
|
}),
|
|
7584
|
-
node.caption && React__default[
|
|
7572
|
+
node.caption && React__default["default"].createElement(
|
|
7585
7573
|
'p',
|
|
7586
7574
|
{ style: { fontSize: '.9rem' } },
|
|
7587
|
-
React__default[
|
|
7575
|
+
React__default["default"].createElement(
|
|
7588
7576
|
'em',
|
|
7589
7577
|
null,
|
|
7590
7578
|
node.caption
|
|
@@ -7603,34 +7591,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7603
7591
|
var showAuthorDetails = arguments[7];
|
|
7604
7592
|
|
|
7605
7593
|
if (authorName && authorURL) {
|
|
7606
|
-
return React__default[
|
|
7594
|
+
return React__default["default"].createElement(
|
|
7607
7595
|
'span',
|
|
7608
7596
|
null,
|
|
7609
|
-
React__default[
|
|
7597
|
+
React__default["default"].createElement(
|
|
7610
7598
|
'a',
|
|
7611
7599
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7612
7600
|
authorName
|
|
7613
7601
|
),
|
|
7614
|
-
showAuthorDetails && React__default[
|
|
7602
|
+
showAuthorDetails && React__default["default"].createElement(
|
|
7615
7603
|
reactBootstrap.Card,
|
|
7616
7604
|
{ className: 'author-details-card-' + index },
|
|
7617
|
-
React__default[
|
|
7605
|
+
React__default["default"].createElement(
|
|
7618
7606
|
reactBootstrap.Row,
|
|
7619
7607
|
null,
|
|
7620
|
-
profileImage && React__default[
|
|
7608
|
+
profileImage && React__default["default"].createElement(
|
|
7621
7609
|
reactBootstrap.Col,
|
|
7622
7610
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7623
|
-
React__default[
|
|
7611
|
+
React__default["default"].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7624
7612
|
),
|
|
7625
|
-
React__default[
|
|
7613
|
+
React__default["default"].createElement(
|
|
7626
7614
|
reactBootstrap.Col,
|
|
7627
7615
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7628
|
-
React__default[
|
|
7616
|
+
React__default["default"].createElement(
|
|
7629
7617
|
'div',
|
|
7630
7618
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7631
7619
|
authorName
|
|
7632
7620
|
),
|
|
7633
|
-
React__default[
|
|
7621
|
+
React__default["default"].createElement(
|
|
7634
7622
|
'p',
|
|
7635
7623
|
null,
|
|
7636
7624
|
biography
|
|
@@ -7638,7 +7626,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7638
7626
|
)
|
|
7639
7627
|
)
|
|
7640
7628
|
),
|
|
7641
|
-
React__default[
|
|
7629
|
+
React__default["default"].createElement(
|
|
7642
7630
|
'style',
|
|
7643
7631
|
{ jsx: 'true' },
|
|
7644
7632
|
'\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 '
|
|
@@ -7646,7 +7634,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7646
7634
|
length !== index + 1 && ', '
|
|
7647
7635
|
);
|
|
7648
7636
|
} else if (authorName) {
|
|
7649
|
-
return React__default[
|
|
7637
|
+
return React__default["default"].createElement(
|
|
7650
7638
|
'span',
|
|
7651
7639
|
{ key: index },
|
|
7652
7640
|
authorName,
|
|
@@ -7918,44 +7906,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7918
7906
|
}
|
|
7919
7907
|
};
|
|
7920
7908
|
|
|
7921
|
-
return React__default[
|
|
7909
|
+
return React__default["default"].createElement(
|
|
7922
7910
|
'div',
|
|
7923
7911
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7924
|
-
React__default[
|
|
7912
|
+
React__default["default"].createElement(
|
|
7925
7913
|
'div',
|
|
7926
7914
|
{ className: 'mt-2 mb-5' },
|
|
7927
|
-
series && React__default[
|
|
7915
|
+
series && React__default["default"].createElement(
|
|
7928
7916
|
'div',
|
|
7929
7917
|
{ style: { fontSize: '0.9rem' } },
|
|
7930
7918
|
article.title,
|
|
7931
7919
|
' - Episode ',
|
|
7932
7920
|
series
|
|
7933
7921
|
),
|
|
7934
|
-
Videos[series - 1] && React__default[
|
|
7922
|
+
Videos[series - 1] && React__default["default"].createElement(
|
|
7935
7923
|
'h1',
|
|
7936
7924
|
{ className: 'mb-3' },
|
|
7937
7925
|
Videos[series - 1].title
|
|
7938
7926
|
),
|
|
7939
|
-
React__default[
|
|
7927
|
+
React__default["default"].createElement(
|
|
7940
7928
|
'div',
|
|
7941
7929
|
null,
|
|
7942
7930
|
moment.moment(article.published).format('LL')
|
|
7943
7931
|
),
|
|
7944
|
-
React__default[
|
|
7932
|
+
React__default["default"].createElement(
|
|
7945
7933
|
'div',
|
|
7946
7934
|
{ className: 'mb-3' },
|
|
7947
7935
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7948
|
-
return React__default[
|
|
7936
|
+
return React__default["default"].createElement(
|
|
7949
7937
|
'span',
|
|
7950
7938
|
{ key: index },
|
|
7951
7939
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7952
7940
|
);
|
|
7953
7941
|
})
|
|
7954
7942
|
),
|
|
7955
|
-
React__default[
|
|
7943
|
+
React__default["default"].createElement(
|
|
7956
7944
|
'p',
|
|
7957
7945
|
null,
|
|
7958
|
-
React__default[
|
|
7946
|
+
React__default["default"].createElement(SocialShare, {
|
|
7959
7947
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7960
7948
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7961
7949
|
shareVia: meta.shareVia,
|
|
@@ -7970,22 +7958,21 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7970
7958
|
hideFacebook: meta.hideFBShare
|
|
7971
7959
|
})
|
|
7972
7960
|
),
|
|
7973
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
7961
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default["default"].createElement(
|
|
7974
7962
|
'p',
|
|
7975
7963
|
{ className: 'mb-3' },
|
|
7976
|
-
React__default[
|
|
7964
|
+
React__default["default"].createElement(
|
|
7977
7965
|
'em',
|
|
7978
7966
|
null,
|
|
7979
7967
|
Videos[series - 1].intro
|
|
7980
7968
|
)
|
|
7981
7969
|
)
|
|
7982
7970
|
),
|
|
7983
|
-
React__default[
|
|
7971
|
+
React__default["default"].createElement(
|
|
7984
7972
|
'div',
|
|
7985
7973
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7986
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
7974
|
+
vidUrl && vidType == 'youtube' && React__default["default"].createElement(YouTube, {
|
|
7987
7975
|
className: 'fluid-iframe',
|
|
7988
|
-
loading: 'lazy',
|
|
7989
7976
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
7990
7977
|
opts: opts,
|
|
7991
7978
|
onReady: handleOnReady,
|
|
@@ -7995,10 +7982,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7995
7982
|
return handleOnEnd(e);
|
|
7996
7983
|
}
|
|
7997
7984
|
}),
|
|
7998
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
7999
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
8000
|
-
React__default[
|
|
8001
|
-
series && React__default[
|
|
7985
|
+
vidUrl && vidType == 'mp4' && React__default["default"].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7986
|
+
vidUrl && vidType == 'brightcove' && React__default["default"].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7987
|
+
React__default["default"].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7988
|
+
series && React__default["default"].createElement(
|
|
8002
7989
|
'div',
|
|
8003
7990
|
{
|
|
8004
7991
|
className: 'vid-series',
|
|
@@ -8008,10 +7995,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8008
7995
|
maxHeight: '100%',
|
|
8009
7996
|
paddingBottom: '0'
|
|
8010
7997
|
} },
|
|
8011
|
-
React__default[
|
|
7998
|
+
React__default["default"].createElement(
|
|
8012
7999
|
'p',
|
|
8013
8000
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8014
|
-
React__default[
|
|
8001
|
+
React__default["default"].createElement(
|
|
8015
8002
|
'b',
|
|
8016
8003
|
{ style: { fontSize: '1.25em' } },
|
|
8017
8004
|
'Now Playing:'
|
|
@@ -8019,16 +8006,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8019
8006
|
' ',
|
|
8020
8007
|
seriesData[series ? series - 1 : 0].title
|
|
8021
8008
|
),
|
|
8022
|
-
vidUrl && React__default[
|
|
8009
|
+
vidUrl && React__default["default"].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8023
8010
|
)
|
|
8024
8011
|
),
|
|
8025
|
-
React__default[
|
|
8026
|
-
React__default[
|
|
8012
|
+
React__default["default"].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8013
|
+
React__default["default"].createElement(
|
|
8027
8014
|
'div',
|
|
8028
8015
|
{ className: 'vid-text' },
|
|
8029
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8016
|
+
Videos[series - 1] && Videos[series - 1].text && React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8030
8017
|
),
|
|
8031
|
-
React__default[
|
|
8018
|
+
React__default["default"].createElement(
|
|
8032
8019
|
'style',
|
|
8033
8020
|
{ jsx: 'true' },
|
|
8034
8021
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8081,67 +8068,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8081
8068
|
return acc;
|
|
8082
8069
|
}
|
|
8083
8070
|
}, 0);
|
|
8084
|
-
return React__default[
|
|
8085
|
-
React__default[
|
|
8071
|
+
return React__default["default"].createElement(
|
|
8072
|
+
React__default["default"].Fragment,
|
|
8086
8073
|
null,
|
|
8087
|
-
question && React__default[
|
|
8074
|
+
question && React__default["default"].createElement(
|
|
8088
8075
|
'p',
|
|
8089
8076
|
{ className: 'font-weight-bold' },
|
|
8090
8077
|
question
|
|
8091
8078
|
),
|
|
8092
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8079
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8093
8080
|
'form',
|
|
8094
8081
|
{ onSubmit: function onSubmit(e) {
|
|
8095
8082
|
return onSubmitPoll(e);
|
|
8096
8083
|
} },
|
|
8097
8084
|
choices && choices.map(function (choice) {
|
|
8098
|
-
return React__default[
|
|
8085
|
+
return React__default["default"].createElement(
|
|
8099
8086
|
'div',
|
|
8100
8087
|
{ key: choice._key },
|
|
8101
|
-
React__default[
|
|
8088
|
+
React__default["default"].createElement(
|
|
8102
8089
|
'label',
|
|
8103
8090
|
{ className: 'pl-2' },
|
|
8104
|
-
React__default[
|
|
8091
|
+
React__default["default"].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8105
8092
|
return setSelectedChoice(e.target.value);
|
|
8106
8093
|
} }),
|
|
8107
8094
|
' ' + choice.choiceText
|
|
8108
8095
|
)
|
|
8109
8096
|
);
|
|
8110
8097
|
}),
|
|
8111
|
-
React__default[
|
|
8098
|
+
React__default["default"].createElement(
|
|
8112
8099
|
reactBootstrap.Button,
|
|
8113
8100
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8114
8101
|
'Vote'
|
|
8115
8102
|
)
|
|
8116
8103
|
),
|
|
8117
|
-
React__default[
|
|
8104
|
+
React__default["default"].createElement(
|
|
8118
8105
|
'div',
|
|
8119
8106
|
{ className: 'progress-container' },
|
|
8120
8107
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8121
8108
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8122
|
-
return React__default[
|
|
8109
|
+
return React__default["default"].createElement(
|
|
8123
8110
|
'div',
|
|
8124
8111
|
{ key: choice._key, className: 'mb-3' },
|
|
8125
|
-
React__default[
|
|
8112
|
+
React__default["default"].createElement(
|
|
8126
8113
|
'div',
|
|
8127
8114
|
{ className: 'correct-answer' },
|
|
8128
|
-
React__default[
|
|
8115
|
+
React__default["default"].createElement(
|
|
8129
8116
|
'div',
|
|
8130
8117
|
null,
|
|
8131
8118
|
choice.choiceText
|
|
8132
8119
|
),
|
|
8133
|
-
choice.choiceAnswer === true && React__default[
|
|
8120
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8134
8121
|
'div',
|
|
8135
8122
|
null,
|
|
8136
|
-
React__default[
|
|
8123
|
+
React__default["default"].createElement(
|
|
8137
8124
|
'span',
|
|
8138
8125
|
{ style: { color: 'limegreen' } },
|
|
8139
8126
|
'Correct!'
|
|
8140
8127
|
)
|
|
8141
8128
|
)
|
|
8142
8129
|
),
|
|
8143
|
-
React__default[
|
|
8144
|
-
React__default[
|
|
8130
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8131
|
+
React__default["default"].createElement(
|
|
8145
8132
|
'span',
|
|
8146
8133
|
{ className: 'float-right' },
|
|
8147
8134
|
percentage,
|
|
@@ -8152,14 +8139,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8152
8139
|
);
|
|
8153
8140
|
})
|
|
8154
8141
|
),
|
|
8155
|
-
showAnswer && React__default[
|
|
8142
|
+
showAnswer && React__default["default"].createElement(
|
|
8156
8143
|
'h4',
|
|
8157
8144
|
{ className: 'text-center small p-3' },
|
|
8158
8145
|
'Total Votes: ',
|
|
8159
8146
|
choicesTotalCount
|
|
8160
8147
|
),
|
|
8161
|
-
showAnswer && response && React__default[
|
|
8162
|
-
React__default[
|
|
8148
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8149
|
+
React__default["default"].createElement(
|
|
8163
8150
|
'style',
|
|
8164
8151
|
{ jsx: 'true' },
|
|
8165
8152
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8258,67 +8245,67 @@ var Poll = function Poll(_ref) {
|
|
|
8258
8245
|
return acc;
|
|
8259
8246
|
}
|
|
8260
8247
|
}, 0);
|
|
8261
|
-
return React__default[
|
|
8262
|
-
React__default[
|
|
8248
|
+
return React__default["default"].createElement(
|
|
8249
|
+
React__default["default"].Fragment,
|
|
8263
8250
|
null,
|
|
8264
|
-
question && React__default[
|
|
8251
|
+
question && React__default["default"].createElement(
|
|
8265
8252
|
'p',
|
|
8266
8253
|
{ className: 'font-weight-bold' },
|
|
8267
8254
|
question
|
|
8268
8255
|
),
|
|
8269
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8256
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8270
8257
|
'form',
|
|
8271
8258
|
{ onSubmit: function onSubmit(e) {
|
|
8272
8259
|
return onSubmitPoll(e);
|
|
8273
8260
|
} },
|
|
8274
8261
|
choices && choices.map(function (choice) {
|
|
8275
|
-
return React__default[
|
|
8262
|
+
return React__default["default"].createElement(
|
|
8276
8263
|
'div',
|
|
8277
8264
|
{ key: choice._key },
|
|
8278
|
-
React__default[
|
|
8265
|
+
React__default["default"].createElement(
|
|
8279
8266
|
'label',
|
|
8280
8267
|
{ className: 'pl-2' },
|
|
8281
|
-
React__default[
|
|
8268
|
+
React__default["default"].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8282
8269
|
return setSelectedChoice(e.target.value);
|
|
8283
8270
|
} }),
|
|
8284
8271
|
' ' + choice.choiceText
|
|
8285
8272
|
)
|
|
8286
8273
|
);
|
|
8287
8274
|
}),
|
|
8288
|
-
React__default[
|
|
8275
|
+
React__default["default"].createElement(
|
|
8289
8276
|
reactBootstrap.Button,
|
|
8290
8277
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8291
8278
|
'Vote'
|
|
8292
8279
|
)
|
|
8293
8280
|
),
|
|
8294
|
-
React__default[
|
|
8281
|
+
React__default["default"].createElement(
|
|
8295
8282
|
'div',
|
|
8296
8283
|
{ className: 'progress-container' },
|
|
8297
8284
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8298
8285
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8299
|
-
return React__default[
|
|
8286
|
+
return React__default["default"].createElement(
|
|
8300
8287
|
'div',
|
|
8301
8288
|
{ key: choice._key, className: 'mb-3' },
|
|
8302
|
-
React__default[
|
|
8289
|
+
React__default["default"].createElement(
|
|
8303
8290
|
'div',
|
|
8304
8291
|
{ className: 'correct-answer' },
|
|
8305
|
-
React__default[
|
|
8292
|
+
React__default["default"].createElement(
|
|
8306
8293
|
'div',
|
|
8307
8294
|
null,
|
|
8308
8295
|
choice.choiceText
|
|
8309
8296
|
),
|
|
8310
|
-
choice.choiceAnswer === true && React__default[
|
|
8297
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8311
8298
|
'div',
|
|
8312
8299
|
null,
|
|
8313
|
-
React__default[
|
|
8300
|
+
React__default["default"].createElement(
|
|
8314
8301
|
'span',
|
|
8315
8302
|
{ style: { color: 'limegreen' } },
|
|
8316
8303
|
'Correct!'
|
|
8317
8304
|
)
|
|
8318
8305
|
)
|
|
8319
8306
|
),
|
|
8320
|
-
React__default[
|
|
8321
|
-
React__default[
|
|
8307
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8308
|
+
React__default["default"].createElement(
|
|
8322
8309
|
'span',
|
|
8323
8310
|
{ className: 'float-right' },
|
|
8324
8311
|
percentage,
|
|
@@ -8329,14 +8316,14 @@ var Poll = function Poll(_ref) {
|
|
|
8329
8316
|
);
|
|
8330
8317
|
})
|
|
8331
8318
|
),
|
|
8332
|
-
showAnswer && React__default[
|
|
8319
|
+
showAnswer && React__default["default"].createElement(
|
|
8333
8320
|
'h4',
|
|
8334
8321
|
{ className: 'text-center small p-3' },
|
|
8335
8322
|
'Total Votes: ',
|
|
8336
8323
|
choicesTotalCount
|
|
8337
8324
|
),
|
|
8338
|
-
showAnswer && response && React__default[
|
|
8339
|
-
React__default[
|
|
8325
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8326
|
+
React__default["default"].createElement(
|
|
8340
8327
|
'style',
|
|
8341
8328
|
{ jsx: 'true' },
|
|
8342
8329
|
'\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 '
|
|
@@ -8480,34 +8467,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8480
8467
|
};
|
|
8481
8468
|
|
|
8482
8469
|
var renderPagination = function renderPagination() {
|
|
8483
|
-
return React__default[
|
|
8484
|
-
Pagination__default[
|
|
8470
|
+
return React__default["default"].createElement(
|
|
8471
|
+
Pagination__default["default"],
|
|
8485
8472
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8486
|
-
React__default[
|
|
8473
|
+
React__default["default"].createElement(Pagination__default["default"].First, { onClick: function onClick() {
|
|
8487
8474
|
return changePage('first');
|
|
8488
8475
|
}, disabled: currentPage === 1 }),
|
|
8489
|
-
React__default[
|
|
8476
|
+
React__default["default"].createElement(Pagination__default["default"].Prev, { onClick: function onClick() {
|
|
8490
8477
|
return changePage('prev');
|
|
8491
8478
|
}, disabled: currentPage === 1 }),
|
|
8492
|
-
React__default[
|
|
8479
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8493
8480
|
return renderNewPages('prev');
|
|
8494
8481
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8495
8482
|
pages.map(function (page) {
|
|
8496
|
-
return React__default[
|
|
8497
|
-
Pagination__default[
|
|
8483
|
+
return React__default["default"].createElement(
|
|
8484
|
+
Pagination__default["default"].Item,
|
|
8498
8485
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8499
8486
|
return changePage(page);
|
|
8500
8487
|
} },
|
|
8501
8488
|
page
|
|
8502
8489
|
);
|
|
8503
8490
|
}),
|
|
8504
|
-
React__default[
|
|
8491
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8505
8492
|
return renderNewPages('next');
|
|
8506
8493
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8507
|
-
React__default[
|
|
8494
|
+
React__default["default"].createElement(Pagination__default["default"].Next, { onClick: function onClick() {
|
|
8508
8495
|
return changePage('next');
|
|
8509
8496
|
}, disabled: currentPage === pageCount }),
|
|
8510
|
-
React__default[
|
|
8497
|
+
React__default["default"].createElement(Pagination__default["default"].Last, { onClick: function onClick() {
|
|
8511
8498
|
return changePage('last');
|
|
8512
8499
|
}, disabled: currentPage === pageCount })
|
|
8513
8500
|
);
|
|
@@ -8618,49 +8605,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8618
8605
|
}
|
|
8619
8606
|
};
|
|
8620
8607
|
|
|
8621
|
-
return React__default[
|
|
8622
|
-
React__default[
|
|
8608
|
+
return React__default["default"].createElement(
|
|
8609
|
+
React__default["default"].Fragment,
|
|
8623
8610
|
null,
|
|
8624
|
-
quizzes[currentPage - 1] && React__default[
|
|
8625
|
-
React__default[
|
|
8611
|
+
quizzes[currentPage - 1] && React__default["default"].createElement(
|
|
8612
|
+
React__default["default"].Fragment,
|
|
8626
8613
|
null,
|
|
8627
|
-
React__default[
|
|
8628
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8614
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8615
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default["default"].createElement(
|
|
8629
8616
|
'form',
|
|
8630
8617
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8631
8618
|
return e.preventDefault();
|
|
8632
8619
|
} },
|
|
8633
8620
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8634
|
-
return React__default[
|
|
8621
|
+
return React__default["default"].createElement(
|
|
8635
8622
|
'div',
|
|
8636
8623
|
{ key: answer._key },
|
|
8637
|
-
React__default[
|
|
8624
|
+
React__default["default"].createElement(
|
|
8638
8625
|
'label',
|
|
8639
8626
|
{ className: 'pl-2' },
|
|
8640
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8627
|
+
quizzes[currentPage - 1].multiAnswer ? React__default["default"].createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React__default["default"].createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8641
8628
|
' ' + answer.answerText
|
|
8642
8629
|
)
|
|
8643
8630
|
);
|
|
8644
8631
|
})
|
|
8645
8632
|
)
|
|
8646
8633
|
),
|
|
8647
|
-
!showAnswer && React__default[
|
|
8648
|
-
Button__default[
|
|
8634
|
+
!showAnswer && React__default["default"].createElement(
|
|
8635
|
+
Button__default["default"],
|
|
8649
8636
|
{ onClick: function onClick(e) {
|
|
8650
8637
|
return checkAnswers(e);
|
|
8651
8638
|
}, variant: 'info', block: true },
|
|
8652
8639
|
'Please click here for answer'
|
|
8653
8640
|
),
|
|
8654
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8655
|
-
React__default[
|
|
8641
|
+
quizzes[currentPage - 1] && showAnswer && React__default["default"].createElement(
|
|
8642
|
+
React__default["default"].Fragment,
|
|
8656
8643
|
null,
|
|
8657
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8644
|
+
quizzes[currentPage - 1].answer && React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8658
8645
|
),
|
|
8659
|
-
React__default[
|
|
8660
|
-
firstRender && React__default[
|
|
8661
|
-
React__default[
|
|
8646
|
+
React__default["default"].createElement('br', null),
|
|
8647
|
+
firstRender && React__default["default"].createElement(
|
|
8648
|
+
React__default["default"].Fragment,
|
|
8662
8649
|
null,
|
|
8663
|
-
pageCount > 1 && currentPage && React__default[
|
|
8650
|
+
pageCount > 1 && currentPage && React__default["default"].createElement(
|
|
8664
8651
|
'div',
|
|
8665
8652
|
{ className: 'd-flex justify-content-center' },
|
|
8666
8653
|
renderPagination()
|
|
@@ -8672,15 +8659,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8672
8659
|
var Leads = function Leads(_ref) {
|
|
8673
8660
|
var url = _ref.url;
|
|
8674
8661
|
|
|
8675
|
-
return React__default[
|
|
8662
|
+
return React__default["default"].createElement(
|
|
8676
8663
|
'div',
|
|
8677
8664
|
{ className: 'd-block text-center mb-3' },
|
|
8678
|
-
React__default[
|
|
8665
|
+
React__default["default"].createElement(
|
|
8679
8666
|
'style',
|
|
8680
8667
|
{ jsx: 'true' },
|
|
8681
8668
|
'\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 '
|
|
8682
8669
|
),
|
|
8683
|
-
url && React__default[
|
|
8670
|
+
url && React__default["default"].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8684
8671
|
);
|
|
8685
8672
|
};
|
|
8686
8673
|
|
|
@@ -8722,49 +8709,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8722
8709
|
if (pageview) pageview(href);
|
|
8723
8710
|
};
|
|
8724
8711
|
|
|
8725
|
-
return React__default[
|
|
8712
|
+
return React__default["default"].createElement(
|
|
8726
8713
|
'div',
|
|
8727
8714
|
{ className: 'mt-3 mb-4' },
|
|
8728
|
-
React__default[
|
|
8715
|
+
React__default["default"].createElement(
|
|
8729
8716
|
reactBootstrap.Carousel,
|
|
8730
8717
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8731
8718
|
slides && slides.map(function (slide) {
|
|
8732
8719
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8733
|
-
return React__default[
|
|
8720
|
+
return React__default["default"].createElement(
|
|
8734
8721
|
reactBootstrap.Carousel.Item,
|
|
8735
8722
|
{ key: slide._key },
|
|
8736
|
-
React__default[
|
|
8723
|
+
React__default["default"].createElement(
|
|
8737
8724
|
'a',
|
|
8738
8725
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8739
|
-
React__default[
|
|
8726
|
+
React__default["default"].createElement(
|
|
8740
8727
|
'div',
|
|
8741
8728
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8742
|
-
React__default[
|
|
8729
|
+
React__default["default"].createElement(
|
|
8743
8730
|
'picture',
|
|
8744
8731
|
null,
|
|
8745
|
-
React__default[
|
|
8746
|
-
React__default[
|
|
8747
|
-
React__default[
|
|
8748
|
-
React__default[
|
|
8732
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8733
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8734
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8735
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8749
8736
|
)
|
|
8750
8737
|
)
|
|
8751
8738
|
),
|
|
8752
|
-
React__default[
|
|
8739
|
+
React__default["default"].createElement(
|
|
8753
8740
|
'div',
|
|
8754
8741
|
{ className: 'p-2' },
|
|
8755
|
-
slide.slideshowImage.caption && React__default[
|
|
8742
|
+
slide.slideshowImage.caption && React__default["default"].createElement(
|
|
8756
8743
|
'h3',
|
|
8757
8744
|
{ style: { padding: '0px' } },
|
|
8758
8745
|
slide.slideshowImage.caption
|
|
8759
8746
|
),
|
|
8760
|
-
slide.description && React__default[
|
|
8747
|
+
slide.description && React__default["default"].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8761
8748
|
)
|
|
8762
8749
|
);
|
|
8763
8750
|
}
|
|
8764
8751
|
return null;
|
|
8765
8752
|
})
|
|
8766
8753
|
),
|
|
8767
|
-
React__default[
|
|
8754
|
+
React__default["default"].createElement(
|
|
8768
8755
|
'style',
|
|
8769
8756
|
{ jsx: 'true' },
|
|
8770
8757
|
'\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 '
|
|
@@ -8783,10 +8770,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8783
8770
|
sizes = _props$node.sizes,
|
|
8784
8771
|
sizeMapping = _props$node.sizeMapping;
|
|
8785
8772
|
|
|
8786
|
-
return React__default[
|
|
8773
|
+
return React__default["default"].createElement(
|
|
8787
8774
|
'div',
|
|
8788
8775
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8789
|
-
React__default[
|
|
8776
|
+
React__default["default"].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8790
8777
|
);
|
|
8791
8778
|
};
|
|
8792
8779
|
|
|
@@ -8797,15 +8784,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8797
8784
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8798
8785
|
|
|
8799
8786
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8800
|
-
return React__default[
|
|
8787
|
+
return React__default["default"].createElement(
|
|
8801
8788
|
'section',
|
|
8802
8789
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8803
|
-
Caption && React__default[
|
|
8790
|
+
Caption && React__default["default"].createElement(
|
|
8804
8791
|
'h4',
|
|
8805
8792
|
{ className: 'formstack-caption' },
|
|
8806
8793
|
Caption
|
|
8807
8794
|
),
|
|
8808
|
-
React__default[
|
|
8795
|
+
React__default["default"].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8809
8796
|
);
|
|
8810
8797
|
};
|
|
8811
8798
|
|
|
@@ -8821,36 +8808,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8821
8808
|
}
|
|
8822
8809
|
});
|
|
8823
8810
|
if (medias && medias.length > 0) {
|
|
8824
|
-
return React__default[
|
|
8811
|
+
return React__default["default"].createElement(
|
|
8825
8812
|
'div',
|
|
8826
8813
|
{ className: 'multi-media-container' },
|
|
8827
|
-
React__default[
|
|
8828
|
-
Row__default[
|
|
8814
|
+
React__default["default"].createElement(
|
|
8815
|
+
Row__default["default"],
|
|
8829
8816
|
{ noGutters: true },
|
|
8830
8817
|
medias.map(function (media) {
|
|
8831
|
-
return React__default[
|
|
8832
|
-
Col__default[
|
|
8818
|
+
return React__default["default"].createElement(
|
|
8819
|
+
Col__default["default"],
|
|
8833
8820
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8834
|
-
React__default[
|
|
8821
|
+
React__default["default"].createElement(
|
|
8835
8822
|
'a',
|
|
8836
8823
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8837
8824
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8838
|
-
React__default[
|
|
8825
|
+
React__default["default"].createElement(
|
|
8839
8826
|
'div',
|
|
8840
8827
|
{ className: 'multi-media-image-container' },
|
|
8841
|
-
imageBox && React__default[
|
|
8828
|
+
imageBox && React__default["default"].createElement(
|
|
8842
8829
|
index$2.LazyLoad,
|
|
8843
8830
|
{ once: true },
|
|
8844
|
-
React__default[
|
|
8831
|
+
React__default["default"].createElement(
|
|
8845
8832
|
'picture',
|
|
8846
8833
|
null,
|
|
8847
|
-
React__default[
|
|
8848
|
-
React__default[
|
|
8849
|
-
React__default[
|
|
8850
|
-
React__default[
|
|
8834
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8835
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8836
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8837
|
+
React__default["default"].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8851
8838
|
)
|
|
8852
8839
|
),
|
|
8853
|
-
media.caption && React__default[
|
|
8840
|
+
media.caption && React__default["default"].createElement(
|
|
8854
8841
|
'span',
|
|
8855
8842
|
{ className: 'multi-media-caption' },
|
|
8856
8843
|
media.caption
|
|
@@ -8860,7 +8847,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8860
8847
|
);
|
|
8861
8848
|
})
|
|
8862
8849
|
),
|
|
8863
|
-
React__default[
|
|
8850
|
+
React__default["default"].createElement(
|
|
8864
8851
|
'style',
|
|
8865
8852
|
{ jsx: 'true' },
|
|
8866
8853
|
'\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 '
|
|
@@ -8907,7 +8894,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8907
8894
|
}
|
|
8908
8895
|
};
|
|
8909
8896
|
|
|
8910
|
-
_this.wraperRef = React__default[
|
|
8897
|
+
_this.wraperRef = React__default["default"].createRef();
|
|
8911
8898
|
_this.visible = false;
|
|
8912
8899
|
return _this;
|
|
8913
8900
|
}
|
|
@@ -8935,7 +8922,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8935
8922
|
_props$id = _props.id,
|
|
8936
8923
|
id = _props$id === undefined ? '' : _props$id;
|
|
8937
8924
|
|
|
8938
|
-
return React__default[
|
|
8925
|
+
return React__default["default"].createElement(
|
|
8939
8926
|
'div',
|
|
8940
8927
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8941
8928
|
this.props.children
|
|
@@ -8944,7 +8931,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8944
8931
|
}]);
|
|
8945
8932
|
|
|
8946
8933
|
return InscreenSensor;
|
|
8947
|
-
}(React__default[
|
|
8934
|
+
}(React__default["default"].Component);
|
|
8948
8935
|
|
|
8949
8936
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8950
8937
|
var nodes = _ref.nodes,
|
|
@@ -9055,33 +9042,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9055
9042
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9056
9043
|
var showReading = show ? 'showReading' : '';
|
|
9057
9044
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9058
|
-
return React__default[
|
|
9045
|
+
return React__default["default"].createElement(
|
|
9059
9046
|
'div',
|
|
9060
9047
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9061
|
-
React__default[
|
|
9048
|
+
React__default["default"].createElement(
|
|
9062
9049
|
'a',
|
|
9063
9050
|
{ onClick: function onClick(e) {
|
|
9064
9051
|
return articleCardClickHandler(e);
|
|
9065
9052
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9066
|
-
React__default[
|
|
9053
|
+
React__default["default"].createElement(
|
|
9067
9054
|
'div',
|
|
9068
9055
|
{ className: 'prevNext-thumbnail' },
|
|
9069
|
-
React__default[
|
|
9070
|
-
React__default[
|
|
9056
|
+
React__default["default"].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9057
|
+
React__default["default"].createElement(
|
|
9071
9058
|
'div',
|
|
9072
9059
|
{ className: 'prevNext-reading ' + showReading },
|
|
9073
9060
|
articleLabel
|
|
9074
9061
|
)
|
|
9075
9062
|
),
|
|
9076
|
-
React__default[
|
|
9063
|
+
React__default["default"].createElement(
|
|
9077
9064
|
'div',
|
|
9078
9065
|
{ className: 'prevNext-summary' },
|
|
9079
|
-
React__default[
|
|
9066
|
+
React__default["default"].createElement(
|
|
9080
9067
|
'div',
|
|
9081
9068
|
{ className: 'prevNext-publishDate' },
|
|
9082
9069
|
moment.moment(article.published).format('LL')
|
|
9083
9070
|
),
|
|
9084
|
-
React__default[
|
|
9071
|
+
React__default["default"].createElement(
|
|
9085
9072
|
'h2',
|
|
9086
9073
|
{ className: 'prevNext-title' },
|
|
9087
9074
|
article.title
|
|
@@ -9130,7 +9117,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9130
9117
|
|
|
9131
9118
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9132
9119
|
if (biography) {
|
|
9133
|
-
return React__default[
|
|
9120
|
+
return React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9134
9121
|
}
|
|
9135
9122
|
};
|
|
9136
9123
|
|
|
@@ -9288,40 +9275,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9288
9275
|
setSensorVisible(false);
|
|
9289
9276
|
};
|
|
9290
9277
|
|
|
9291
|
-
return React__default[
|
|
9292
|
-
React__default[
|
|
9278
|
+
return React__default["default"].createElement(
|
|
9279
|
+
React__default["default"].Fragment,
|
|
9293
9280
|
null,
|
|
9294
|
-
React__default[
|
|
9281
|
+
React__default["default"].createElement(
|
|
9295
9282
|
'div',
|
|
9296
9283
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9297
|
-
React__default[
|
|
9284
|
+
React__default["default"].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9298
9285
|
return handleArrowClick();
|
|
9299
9286
|
} })
|
|
9300
9287
|
),
|
|
9301
|
-
React__default[
|
|
9302
|
-
React__default[
|
|
9288
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9289
|
+
React__default["default"].createElement(
|
|
9303
9290
|
'div',
|
|
9304
9291
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9305
|
-
React__default[
|
|
9292
|
+
React__default["default"].createElement(
|
|
9306
9293
|
'h5',
|
|
9307
9294
|
{ className: 'objective-title' },
|
|
9308
9295
|
nodes.seriesTitle
|
|
9309
9296
|
),
|
|
9310
|
-
React__default[
|
|
9297
|
+
React__default["default"].createElement(
|
|
9311
9298
|
'div',
|
|
9312
9299
|
{ className: 'prevNextWrapper' },
|
|
9313
9300
|
PrevNextCards(false, -1)
|
|
9314
9301
|
)
|
|
9315
9302
|
),
|
|
9316
|
-
React__default[
|
|
9317
|
-
React__default[
|
|
9303
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' }),
|
|
9304
|
+
React__default["default"].createElement(
|
|
9318
9305
|
'div',
|
|
9319
9306
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9320
9307
|
Articles.map(function (article, index) {
|
|
9321
|
-
return React__default[
|
|
9308
|
+
return React__default["default"].createElement(
|
|
9322
9309
|
'div',
|
|
9323
9310
|
{ key: article.title },
|
|
9324
|
-
React__default[
|
|
9311
|
+
React__default["default"].createElement(
|
|
9325
9312
|
InscreenSensor,
|
|
9326
9313
|
{
|
|
9327
9314
|
visible: sensorVisible,
|
|
@@ -9339,82 +9326,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9339
9326
|
}
|
|
9340
9327
|
}
|
|
9341
9328
|
} },
|
|
9342
|
-
React__default[
|
|
9343
|
-
Head__default[
|
|
9329
|
+
React__default["default"].createElement(
|
|
9330
|
+
Head__default["default"],
|
|
9344
9331
|
null,
|
|
9345
|
-
currentTitle !== null && React__default[
|
|
9332
|
+
currentTitle !== null && React__default["default"].createElement(
|
|
9346
9333
|
'title',
|
|
9347
9334
|
{ key: 'title' },
|
|
9348
9335
|
currentTitle
|
|
9349
9336
|
),
|
|
9350
|
-
currentSummary !== null && React__default[
|
|
9351
|
-
currentURL !== null && React__default[
|
|
9352
|
-
currentTitle !== null && React__default[
|
|
9353
|
-
currentThumbnail !== null && React__default[
|
|
9354
|
-
currentSummary !== null && React__default[
|
|
9355
|
-
currentTitle !== null && React__default[
|
|
9356
|
-
currentThumbnail !== null && React__default[
|
|
9357
|
-
currentSummary !== null && React__default[
|
|
9337
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9338
|
+
currentURL !== null && React__default["default"].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9339
|
+
currentTitle !== null && React__default["default"].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9340
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9341
|
+
currentSummary !== null && React__default["default"].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9342
|
+
currentTitle !== null && React__default["default"].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9343
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9344
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9358
9345
|
),
|
|
9359
|
-
React__default[
|
|
9346
|
+
React__default["default"].createElement(
|
|
9360
9347
|
'article',
|
|
9361
9348
|
{ className: 'article-wrapper' },
|
|
9362
|
-
React__default[
|
|
9349
|
+
React__default["default"].createElement(
|
|
9363
9350
|
'div',
|
|
9364
9351
|
{ className: 'article-publishDate' },
|
|
9365
9352
|
moment.moment(article.published).format('LL')
|
|
9366
9353
|
),
|
|
9367
|
-
React__default[
|
|
9354
|
+
React__default["default"].createElement(
|
|
9368
9355
|
'div',
|
|
9369
9356
|
{ className: 'author-details-wrapper' },
|
|
9370
9357
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9371
|
-
return React__default[
|
|
9358
|
+
return React__default["default"].createElement(
|
|
9372
9359
|
'span',
|
|
9373
9360
|
{ key: index },
|
|
9374
9361
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9375
9362
|
);
|
|
9376
9363
|
})
|
|
9377
9364
|
),
|
|
9378
|
-
React__default[
|
|
9365
|
+
React__default["default"].createElement(
|
|
9379
9366
|
'h2',
|
|
9380
9367
|
{ className: 'article-title' },
|
|
9381
9368
|
article.title
|
|
9382
9369
|
),
|
|
9383
|
-
React__default[
|
|
9370
|
+
React__default["default"].createElement(
|
|
9384
9371
|
'div',
|
|
9385
9372
|
{ className: 'mt-2 mb-2' },
|
|
9386
|
-
React__default[
|
|
9373
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9387
9374
|
serializers: getSerializers,
|
|
9388
9375
|
videoAccountIDs: accountIDs,
|
|
9389
9376
|
blocks: article.text,
|
|
9390
9377
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9391
9378
|
}, client.config())),
|
|
9392
|
-
React__default[
|
|
9379
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' })
|
|
9393
9380
|
),
|
|
9394
|
-
Articles.length > 1 && React__default[
|
|
9395
|
-
React__default[
|
|
9381
|
+
Articles.length > 1 && React__default["default"].createElement(
|
|
9382
|
+
React__default["default"].Fragment,
|
|
9396
9383
|
null,
|
|
9397
|
-
React__default[
|
|
9384
|
+
React__default["default"].createElement(
|
|
9398
9385
|
'div',
|
|
9399
9386
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9400
|
-
React__default[
|
|
9387
|
+
React__default["default"].createElement(
|
|
9401
9388
|
'h5',
|
|
9402
9389
|
{ className: 'objective-title' },
|
|
9403
9390
|
nodes.seriesTitle
|
|
9404
9391
|
),
|
|
9405
|
-
React__default[
|
|
9392
|
+
React__default["default"].createElement(
|
|
9406
9393
|
'div',
|
|
9407
9394
|
{ className: 'prevNextWrapper' },
|
|
9408
9395
|
PrevNextCards(true, index)
|
|
9409
9396
|
)
|
|
9410
9397
|
),
|
|
9411
|
-
React__default[
|
|
9398
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' })
|
|
9412
9399
|
)
|
|
9413
9400
|
)
|
|
9414
9401
|
)
|
|
9415
9402
|
);
|
|
9416
9403
|
}),
|
|
9417
|
-
React__default[
|
|
9404
|
+
React__default["default"].createElement(
|
|
9418
9405
|
'style',
|
|
9419
9406
|
{ jsx: 'true' },
|
|
9420
9407
|
'\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 '
|
|
@@ -9444,11 +9431,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9444
9431
|
};
|
|
9445
9432
|
}, [handleClickOutside]);
|
|
9446
9433
|
|
|
9447
|
-
return React__default[
|
|
9434
|
+
return React__default["default"].createElement(
|
|
9448
9435
|
'div',
|
|
9449
9436
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9450
|
-
React__default[
|
|
9451
|
-
React__default[
|
|
9437
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9438
|
+
React__default["default"].createElement(
|
|
9452
9439
|
'style',
|
|
9453
9440
|
{ jsx: 'true' },
|
|
9454
9441
|
'\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 '
|
|
@@ -9462,7 +9449,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9462
9449
|
}
|
|
9463
9450
|
};
|
|
9464
9451
|
|
|
9465
|
-
var FigureImage$1 = React__default[
|
|
9452
|
+
var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
9466
9453
|
var node = _ref2.node,
|
|
9467
9454
|
client = _ref2.client,
|
|
9468
9455
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9470,13 +9457,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9470
9457
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9471
9458
|
|
|
9472
9459
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9473
|
-
return React__default[
|
|
9460
|
+
return React__default["default"].createElement(
|
|
9474
9461
|
'picture',
|
|
9475
9462
|
null,
|
|
9476
|
-
React__default[
|
|
9477
|
-
React__default[
|
|
9478
|
-
React__default[
|
|
9479
|
-
React__default[
|
|
9463
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9464
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9465
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9466
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9480
9467
|
style: figureImageStyle,
|
|
9481
9468
|
className: 'figure-image',
|
|
9482
9469
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9527,30 +9514,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9527
9514
|
|
|
9528
9515
|
var renderTooltip = function renderTooltip(props) {
|
|
9529
9516
|
if (infoBox[0].title) {
|
|
9530
|
-
return React__default[
|
|
9531
|
-
Popover__default[
|
|
9517
|
+
return React__default["default"].createElement(
|
|
9518
|
+
Popover__default["default"],
|
|
9532
9519
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9533
|
-
React__default[
|
|
9534
|
-
Popover__default[
|
|
9520
|
+
React__default["default"].createElement(
|
|
9521
|
+
Popover__default["default"].Title,
|
|
9535
9522
|
{ as: 'h3' },
|
|
9536
9523
|
infoBox[0].title
|
|
9537
9524
|
),
|
|
9538
|
-
React__default[
|
|
9539
|
-
Popover__default[
|
|
9525
|
+
React__default["default"].createElement(
|
|
9526
|
+
Popover__default["default"].Content,
|
|
9540
9527
|
null,
|
|
9541
|
-
React__default[
|
|
9528
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9542
9529
|
)
|
|
9543
9530
|
);
|
|
9544
9531
|
} else {
|
|
9545
|
-
return React__default[
|
|
9546
|
-
Tooltip__default[
|
|
9532
|
+
return React__default["default"].createElement(
|
|
9533
|
+
Tooltip__default["default"],
|
|
9547
9534
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9548
|
-
React__default[
|
|
9535
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9549
9536
|
);
|
|
9550
9537
|
}
|
|
9551
9538
|
};
|
|
9552
9539
|
|
|
9553
|
-
var FigureImageWOverLay = React__default[
|
|
9540
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9554
9541
|
var node = _ref3.node,
|
|
9555
9542
|
client = _ref3.client,
|
|
9556
9543
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9560,13 +9547,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9560
9547
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9561
9548
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9562
9549
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9563
|
-
return React__default[
|
|
9550
|
+
return React__default["default"].createElement(
|
|
9564
9551
|
'picture',
|
|
9565
9552
|
null,
|
|
9566
|
-
React__default[
|
|
9567
|
-
React__default[
|
|
9568
|
-
React__default[
|
|
9569
|
-
main.main_42 && link ? React__default[
|
|
9553
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9554
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9555
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9556
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9570
9557
|
style: figureImageStyle,
|
|
9571
9558
|
className: 'figure-image',
|
|
9572
9559
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9575,10 +9562,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9575
9562
|
onClick: function onClick() {
|
|
9576
9563
|
return handleClickFigure(node, client);
|
|
9577
9564
|
}
|
|
9578
|
-
})) : React__default[
|
|
9579
|
-
OverlayTrigger__default[
|
|
9565
|
+
})) : React__default["default"].createElement(
|
|
9566
|
+
OverlayTrigger__default["default"],
|
|
9580
9567
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9581
|
-
React__default[
|
|
9568
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9582
9569
|
style: figureImageStyle,
|
|
9583
9570
|
className: 'figure-image',
|
|
9584
9571
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9632,13 +9619,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9632
9619
|
|
|
9633
9620
|
var FigureCaption = React.useCallback(function () {
|
|
9634
9621
|
if (imgcaption && imgcaption.length > 0) {
|
|
9635
|
-
return React__default[
|
|
9622
|
+
return React__default["default"].createElement(
|
|
9636
9623
|
'div',
|
|
9637
9624
|
{ className: 'figure-caption' },
|
|
9638
|
-
React__default[
|
|
9625
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9639
9626
|
);
|
|
9640
9627
|
} else if (caption) {
|
|
9641
|
-
return React__default[
|
|
9628
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9642
9629
|
} else return null;
|
|
9643
9630
|
}, [caption, imgcaption]);
|
|
9644
9631
|
|
|
@@ -9655,24 +9642,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9655
9642
|
setShowLightbox(true);
|
|
9656
9643
|
}, [node, client]);
|
|
9657
9644
|
|
|
9658
|
-
return React__default[
|
|
9659
|
-
React__default[
|
|
9645
|
+
return React__default["default"].createElement(
|
|
9646
|
+
React__default["default"].Fragment,
|
|
9660
9647
|
null,
|
|
9661
|
-
infoBox.length >= 1 ? React__default[
|
|
9662
|
-
Figure__default[
|
|
9648
|
+
infoBox.length >= 1 ? React__default["default"].createElement(
|
|
9649
|
+
Figure__default["default"],
|
|
9663
9650
|
{ className: '' + class_name, style: figureStyle },
|
|
9664
|
-
link ? React__default[
|
|
9651
|
+
link ? React__default["default"].createElement(
|
|
9665
9652
|
'a',
|
|
9666
9653
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9667
|
-
React__default[
|
|
9668
|
-
React__default[
|
|
9669
|
-
) : React__default[
|
|
9670
|
-
React__default[
|
|
9654
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9655
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9656
|
+
) : React__default["default"].createElement(
|
|
9657
|
+
React__default["default"].Fragment,
|
|
9671
9658
|
null,
|
|
9672
|
-
React__default[
|
|
9673
|
-
React__default[
|
|
9659
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9660
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9674
9661
|
),
|
|
9675
|
-
React__default[
|
|
9662
|
+
React__default["default"].createElement(LightBox, {
|
|
9676
9663
|
showLightbox: showLightbox,
|
|
9677
9664
|
lightboxImgSrc: lightboxImgSrc,
|
|
9678
9665
|
closeLightbox: function closeLightbox() {
|
|
@@ -9680,21 +9667,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9680
9667
|
setShowLightbox(false);
|
|
9681
9668
|
}
|
|
9682
9669
|
})
|
|
9683
|
-
) : React__default[
|
|
9684
|
-
Figure__default[
|
|
9670
|
+
) : React__default["default"].createElement(
|
|
9671
|
+
Figure__default["default"],
|
|
9685
9672
|
{ className: '' + class_name, style: figureStyle },
|
|
9686
|
-
link ? React__default[
|
|
9673
|
+
link ? React__default["default"].createElement(
|
|
9687
9674
|
'a',
|
|
9688
9675
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9689
|
-
React__default[
|
|
9690
|
-
React__default[
|
|
9691
|
-
) : React__default[
|
|
9692
|
-
React__default[
|
|
9676
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9677
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9678
|
+
) : React__default["default"].createElement(
|
|
9679
|
+
React__default["default"].Fragment,
|
|
9693
9680
|
null,
|
|
9694
|
-
React__default[
|
|
9695
|
-
React__default[
|
|
9681
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9682
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9696
9683
|
),
|
|
9697
|
-
React__default[
|
|
9684
|
+
React__default["default"].createElement(LightBox, {
|
|
9698
9685
|
showLightbox: showLightbox,
|
|
9699
9686
|
lightboxImgSrc: lightboxImgSrc,
|
|
9700
9687
|
closeLightbox: function closeLightbox() {
|
|
@@ -9703,7 +9690,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9703
9690
|
}
|
|
9704
9691
|
})
|
|
9705
9692
|
),
|
|
9706
|
-
React__default[
|
|
9693
|
+
React__default["default"].createElement(
|
|
9707
9694
|
'style',
|
|
9708
9695
|
{ jsx: 'true' },
|
|
9709
9696
|
'\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 '
|
|
@@ -9711,7 +9698,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9711
9698
|
);
|
|
9712
9699
|
};
|
|
9713
9700
|
|
|
9714
|
-
var Figure = React__default[
|
|
9701
|
+
var Figure = React__default["default"].memo(FigureComponent, compareProps);
|
|
9715
9702
|
|
|
9716
9703
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9717
9704
|
React.useEffect(function () {
|
|
@@ -9728,7 +9715,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9728
9715
|
}, [ref]);
|
|
9729
9716
|
}
|
|
9730
9717
|
|
|
9731
|
-
var FigureImage = React__default[
|
|
9718
|
+
var FigureImage = React__default["default"].memo(function (_ref) {
|
|
9732
9719
|
var imagesCount = _ref.imagesCount,
|
|
9733
9720
|
image = _ref.image,
|
|
9734
9721
|
client = _ref.client,
|
|
@@ -9736,13 +9723,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9736
9723
|
link = _ref.link,
|
|
9737
9724
|
handleClickFigure = _ref.handleClickFigure;
|
|
9738
9725
|
|
|
9739
|
-
return React__default[
|
|
9726
|
+
return React__default["default"].createElement(
|
|
9740
9727
|
'picture',
|
|
9741
9728
|
null,
|
|
9742
|
-
React__default[
|
|
9743
|
-
React__default[
|
|
9744
|
-
React__default[
|
|
9745
|
-
React__default[
|
|
9729
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9730
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9731
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9732
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9746
9733
|
'images-count': imagesCount,
|
|
9747
9734
|
className: 'multi-figure-image',
|
|
9748
9735
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9779,13 +9766,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9779
9766
|
imgcaption = _ref2.imgcaption;
|
|
9780
9767
|
|
|
9781
9768
|
if (imgcaption && imgcaption.length > 0) {
|
|
9782
|
-
return React__default[
|
|
9769
|
+
return React__default["default"].createElement(
|
|
9783
9770
|
'div',
|
|
9784
9771
|
{ className: 'multi-figure-caption' },
|
|
9785
|
-
React__default[
|
|
9772
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9786
9773
|
);
|
|
9787
9774
|
} else if (caption) {
|
|
9788
|
-
return React__default[
|
|
9775
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9789
9776
|
} else return null;
|
|
9790
9777
|
};
|
|
9791
9778
|
|
|
@@ -9794,7 +9781,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9794
9781
|
setOpenImg(true);
|
|
9795
9782
|
}, [client]);
|
|
9796
9783
|
|
|
9797
|
-
var FigureImageWOverLay = React__default[
|
|
9784
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9798
9785
|
var imagesCount = _ref3.imagesCount,
|
|
9799
9786
|
image = _ref3.image,
|
|
9800
9787
|
client = _ref3.client,
|
|
@@ -9804,13 +9791,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9804
9791
|
|
|
9805
9792
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9806
9793
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9807
|
-
return React__default[
|
|
9794
|
+
return React__default["default"].createElement(
|
|
9808
9795
|
'picture',
|
|
9809
9796
|
null,
|
|
9810
|
-
React__default[
|
|
9811
|
-
React__default[
|
|
9812
|
-
React__default[
|
|
9813
|
-
main.main_42 && link ? React__default[
|
|
9797
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9798
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9799
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9800
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9814
9801
|
'images-count': imagesCount,
|
|
9815
9802
|
className: 'multi-figure-image',
|
|
9816
9803
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9819,10 +9806,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9819
9806
|
onClick: function onClick() {
|
|
9820
9807
|
return handleClickFigure(image, client);
|
|
9821
9808
|
}
|
|
9822
|
-
})) : React__default[
|
|
9823
|
-
OverlayTrigger__default[
|
|
9809
|
+
})) : React__default["default"].createElement(
|
|
9810
|
+
OverlayTrigger__default["default"],
|
|
9824
9811
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9825
|
-
React__default[
|
|
9812
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9826
9813
|
'images-count': imagesCount,
|
|
9827
9814
|
className: 'multi-figure-image',
|
|
9828
9815
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9838,102 +9825,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9838
9825
|
|
|
9839
9826
|
var renderTooltip = function renderTooltip(image) {
|
|
9840
9827
|
if (image.infoBox[0].title) {
|
|
9841
|
-
return React__default[
|
|
9842
|
-
Popover__default[
|
|
9828
|
+
return React__default["default"].createElement(
|
|
9829
|
+
Popover__default["default"],
|
|
9843
9830
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9844
|
-
React__default[
|
|
9845
|
-
Popover__default[
|
|
9831
|
+
React__default["default"].createElement(
|
|
9832
|
+
Popover__default["default"].Title,
|
|
9846
9833
|
{ as: 'h3' },
|
|
9847
9834
|
image.infoBox[0].title
|
|
9848
9835
|
),
|
|
9849
|
-
React__default[
|
|
9850
|
-
Popover__default[
|
|
9836
|
+
React__default["default"].createElement(
|
|
9837
|
+
Popover__default["default"].Content,
|
|
9851
9838
|
null,
|
|
9852
|
-
React__default[
|
|
9839
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9853
9840
|
)
|
|
9854
9841
|
);
|
|
9855
9842
|
} else {
|
|
9856
|
-
return React__default[
|
|
9857
|
-
Tooltip__default[
|
|
9843
|
+
return React__default["default"].createElement(
|
|
9844
|
+
Tooltip__default["default"],
|
|
9858
9845
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9859
|
-
React__default[
|
|
9846
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9860
9847
|
);
|
|
9861
9848
|
}
|
|
9862
9849
|
};
|
|
9863
9850
|
|
|
9864
9851
|
if (images && images.length > 0) {
|
|
9865
|
-
return React__default[
|
|
9852
|
+
return React__default["default"].createElement(
|
|
9866
9853
|
'div',
|
|
9867
9854
|
{ className: 'multi-figure-container' },
|
|
9868
|
-
React__default[
|
|
9869
|
-
Row__default[
|
|
9855
|
+
React__default["default"].createElement(
|
|
9856
|
+
Row__default["default"],
|
|
9870
9857
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9871
9858
|
images.map(function (image, index) {
|
|
9872
9859
|
if (image.infoBox) {
|
|
9873
|
-
return React__default[
|
|
9874
|
-
Col__default[
|
|
9860
|
+
return React__default["default"].createElement(
|
|
9861
|
+
Col__default["default"],
|
|
9875
9862
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9876
|
-
image.link ? React__default[
|
|
9863
|
+
image.link ? React__default["default"].createElement(
|
|
9877
9864
|
'a',
|
|
9878
9865
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9879
|
-
React__default[
|
|
9866
|
+
React__default["default"].createElement(
|
|
9880
9867
|
'div',
|
|
9881
9868
|
{ className: 'multi-figure-image-container' },
|
|
9882
|
-
React__default[
|
|
9869
|
+
React__default["default"].createElement(
|
|
9883
9870
|
index$2.LazyLoad,
|
|
9884
9871
|
{ once: true },
|
|
9885
|
-
React__default[
|
|
9872
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9886
9873
|
),
|
|
9887
|
-
React__default[
|
|
9874
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9888
9875
|
)
|
|
9889
|
-
) : React__default[
|
|
9876
|
+
) : React__default["default"].createElement(
|
|
9890
9877
|
'div',
|
|
9891
9878
|
{ className: 'multi-figure-image-container' },
|
|
9892
|
-
React__default[
|
|
9879
|
+
React__default["default"].createElement(
|
|
9893
9880
|
index$2.LazyLoad,
|
|
9894
9881
|
{ once: true },
|
|
9895
|
-
React__default[
|
|
9882
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9896
9883
|
),
|
|
9897
|
-
React__default[
|
|
9884
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9898
9885
|
)
|
|
9899
9886
|
);
|
|
9900
9887
|
} else {
|
|
9901
|
-
return React__default[
|
|
9902
|
-
Col__default[
|
|
9888
|
+
return React__default["default"].createElement(
|
|
9889
|
+
Col__default["default"],
|
|
9903
9890
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9904
|
-
image.link ? React__default[
|
|
9891
|
+
image.link ? React__default["default"].createElement(
|
|
9905
9892
|
'a',
|
|
9906
9893
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9907
|
-
React__default[
|
|
9894
|
+
React__default["default"].createElement(
|
|
9908
9895
|
'div',
|
|
9909
9896
|
{ className: 'multi-figure-image-container' },
|
|
9910
|
-
React__default[
|
|
9897
|
+
React__default["default"].createElement(
|
|
9911
9898
|
index$2.LazyLoad,
|
|
9912
9899
|
{ once: true },
|
|
9913
|
-
React__default[
|
|
9900
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9914
9901
|
),
|
|
9915
|
-
React__default[
|
|
9902
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9916
9903
|
)
|
|
9917
|
-
) : React__default[
|
|
9904
|
+
) : React__default["default"].createElement(
|
|
9918
9905
|
'div',
|
|
9919
9906
|
{ className: 'multi-figure-image-container' },
|
|
9920
|
-
React__default[
|
|
9907
|
+
React__default["default"].createElement(
|
|
9921
9908
|
index$2.LazyLoad,
|
|
9922
9909
|
{ once: true },
|
|
9923
|
-
React__default[
|
|
9910
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9924
9911
|
),
|
|
9925
|
-
React__default[
|
|
9912
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9926
9913
|
)
|
|
9927
9914
|
);
|
|
9928
9915
|
}
|
|
9929
9916
|
})
|
|
9930
9917
|
),
|
|
9931
|
-
React__default[
|
|
9918
|
+
React__default["default"].createElement(
|
|
9932
9919
|
'div',
|
|
9933
9920
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9934
|
-
React__default[
|
|
9921
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9935
9922
|
),
|
|
9936
|
-
React__default[
|
|
9923
|
+
React__default["default"].createElement(
|
|
9937
9924
|
'style',
|
|
9938
9925
|
{ jsx: 'true' },
|
|
9939
9926
|
'\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 '
|
|
@@ -9982,23 +9969,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9982
9969
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9983
9970
|
}, []);
|
|
9984
9971
|
|
|
9985
|
-
return React__default[
|
|
9986
|
-
React__default[
|
|
9972
|
+
return React__default["default"].createElement(
|
|
9973
|
+
React__default["default"].Fragment,
|
|
9987
9974
|
null,
|
|
9988
|
-
React__default[
|
|
9989
|
-
Head__default[
|
|
9975
|
+
React__default["default"].createElement(
|
|
9976
|
+
Head__default["default"],
|
|
9990
9977
|
null,
|
|
9991
|
-
React__default[
|
|
9978
|
+
React__default["default"].createElement('script', {
|
|
9992
9979
|
dangerouslySetInnerHTML: {
|
|
9993
9980
|
__html: 'history.scrollRestoration = "manual"'
|
|
9994
9981
|
}
|
|
9995
9982
|
})
|
|
9996
9983
|
),
|
|
9997
|
-
React__default[
|
|
9984
|
+
React__default["default"].createElement(
|
|
9998
9985
|
'div',
|
|
9999
9986
|
{ id: elementId },
|
|
10000
|
-
React__default[
|
|
10001
|
-
React__default[
|
|
9987
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9988
|
+
React__default["default"].createElement(
|
|
10002
9989
|
'style',
|
|
10003
9990
|
{ jsx: 'true' },
|
|
10004
9991
|
'\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 '
|
|
@@ -10052,11 +10039,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10052
10039
|
|
|
10053
10040
|
|
|
10054
10041
|
|
|
10055
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10042
|
+
var _react2 = _interopRequireDefault(React__default["default"]);
|
|
10056
10043
|
|
|
10057
10044
|
|
|
10058
10045
|
|
|
10059
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10046
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default["default"]);
|
|
10060
10047
|
|
|
10061
10048
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10062
10049
|
var noop = function noop() {};
|
|
@@ -10211,7 +10198,7 @@ var ScriptTag = function (_Component) {
|
|
|
10211
10198
|
};
|
|
10212
10199
|
|
|
10213
10200
|
return ScriptTag;
|
|
10214
|
-
}(React__default[
|
|
10201
|
+
}(React__default["default"].Component);
|
|
10215
10202
|
|
|
10216
10203
|
ScriptTag.propTypes = {
|
|
10217
10204
|
/**
|
|
@@ -10303,11 +10290,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10303
10290
|
}, [anonymousID]);
|
|
10304
10291
|
|
|
10305
10292
|
if (iframeSrc) {
|
|
10306
|
-
return React__default[
|
|
10293
|
+
return React__default["default"].createElement(
|
|
10307
10294
|
'section',
|
|
10308
10295
|
{ className: 'form-assembly' },
|
|
10309
|
-
iframeSrc && React__default[
|
|
10310
|
-
React__default[
|
|
10296
|
+
iframeSrc && React__default["default"].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10297
|
+
React__default["default"].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10311
10298
|
);
|
|
10312
10299
|
}
|
|
10313
10300
|
|
|
@@ -10344,27 +10331,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10344
10331
|
return window.removeEventListener('resize', handleResize);
|
|
10345
10332
|
};
|
|
10346
10333
|
}, []);
|
|
10347
|
-
return React__default[
|
|
10334
|
+
return React__default["default"].createElement(
|
|
10348
10335
|
'div',
|
|
10349
10336
|
{ className: 'blockTableHolder', ref: holder },
|
|
10350
|
-
React__default[
|
|
10337
|
+
React__default["default"].createElement(
|
|
10351
10338
|
'div',
|
|
10352
10339
|
{ className: 'blockTable' },
|
|
10353
10340
|
rows && rows.map(function (row) {
|
|
10354
|
-
return React__default[
|
|
10341
|
+
return React__default["default"].createElement(
|
|
10355
10342
|
'div',
|
|
10356
10343
|
{ className: 'blockTableRow' },
|
|
10357
10344
|
row.cells && row.cells.map(function (cell) {
|
|
10358
|
-
return React__default[
|
|
10345
|
+
return React__default["default"].createElement(
|
|
10359
10346
|
'div',
|
|
10360
10347
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10361
|
-
React__default[
|
|
10348
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10362
10349
|
);
|
|
10363
10350
|
})
|
|
10364
10351
|
);
|
|
10365
10352
|
})
|
|
10366
10353
|
),
|
|
10367
|
-
React__default[
|
|
10354
|
+
React__default["default"].createElement(
|
|
10368
10355
|
'style',
|
|
10369
10356
|
{ jsx: true },
|
|
10370
10357
|
'\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 '
|
|
@@ -10378,7 +10365,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10378
10365
|
_props$node.needSegmentSupport;
|
|
10379
10366
|
|
|
10380
10367
|
|
|
10381
|
-
return React__default[
|
|
10368
|
+
return React__default["default"].createElement('div', { id: FormID });
|
|
10382
10369
|
};
|
|
10383
10370
|
|
|
10384
10371
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -10438,7 +10425,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10438
10425
|
if (href && href.charAt(0) === '#') {
|
|
10439
10426
|
var elementId = href.slice(1);
|
|
10440
10427
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10441
|
-
return React__default[
|
|
10428
|
+
return React__default["default"].createElement(
|
|
10442
10429
|
'a',
|
|
10443
10430
|
{ onClick: function onClick() {
|
|
10444
10431
|
return ScrollToElement(elementId);
|
|
@@ -10448,11 +10435,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10448
10435
|
}
|
|
10449
10436
|
|
|
10450
10437
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkSisterSite.checkSisterSite(href) ? 'noreferrer noopener' : '');
|
|
10451
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10438
|
+
return href ? linkRel.trim().length > 0 ? React__default["default"].createElement(
|
|
10452
10439
|
'a',
|
|
10453
10440
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10454
10441
|
children
|
|
10455
|
-
) : React__default[
|
|
10442
|
+
) : React__default["default"].createElement(
|
|
10456
10443
|
'a',
|
|
10457
10444
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10458
10445
|
children
|
|
@@ -10517,12 +10504,12 @@ var getSerializers = function getSerializers() {
|
|
|
10517
10504
|
var node = _ref.node;
|
|
10518
10505
|
var url = node.url;
|
|
10519
10506
|
|
|
10520
|
-
return React__default[
|
|
10507
|
+
return React__default["default"].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10521
10508
|
},
|
|
10522
10509
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10523
10510
|
var node = _ref2.node;
|
|
10524
10511
|
|
|
10525
|
-
return React__default[
|
|
10512
|
+
return React__default["default"].createElement(YouTubeGallery, {
|
|
10526
10513
|
nodes: node,
|
|
10527
10514
|
article: article,
|
|
10528
10515
|
meta: meta,
|
|
@@ -10536,7 +10523,7 @@ var getSerializers = function getSerializers() {
|
|
|
10536
10523
|
articleSeries: function articleSeries(_ref3) {
|
|
10537
10524
|
var node = _ref3.node;
|
|
10538
10525
|
|
|
10539
|
-
return React__default[
|
|
10526
|
+
return React__default["default"].createElement(ArticleSeries, {
|
|
10540
10527
|
nodes: node,
|
|
10541
10528
|
accountIDs: videoAccountIDs || {},
|
|
10542
10529
|
pageview: pageview,
|
|
@@ -10549,61 +10536,61 @@ var getSerializers = function getSerializers() {
|
|
|
10549
10536
|
figure: function figure(_ref4) {
|
|
10550
10537
|
var node = _ref4.node;
|
|
10551
10538
|
|
|
10552
|
-
return React__default[
|
|
10539
|
+
return React__default["default"].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10553
10540
|
},
|
|
10554
10541
|
multifigure: function multifigure(_ref5) {
|
|
10555
10542
|
var node = _ref5.node;
|
|
10556
10543
|
|
|
10557
|
-
return React__default[
|
|
10544
|
+
return React__default["default"].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10558
10545
|
},
|
|
10559
10546
|
slideshow: function slideshow(_ref6) {
|
|
10560
10547
|
var node = _ref6.node;
|
|
10561
10548
|
var slides = node.slides;
|
|
10562
10549
|
|
|
10563
|
-
return React__default[
|
|
10550
|
+
return React__default["default"].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10564
10551
|
},
|
|
10565
10552
|
sidebar: function sidebar(_ref7) {
|
|
10566
10553
|
var node = _ref7.node;
|
|
10567
10554
|
var caption = node.caption,
|
|
10568
10555
|
content = node.content;
|
|
10569
10556
|
|
|
10570
|
-
return React__default[
|
|
10557
|
+
return React__default["default"].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10571
10558
|
},
|
|
10572
10559
|
datatable: function datatable(_ref8) {
|
|
10573
10560
|
var node = _ref8.node;
|
|
10574
10561
|
var table = node.table;
|
|
10575
10562
|
|
|
10576
|
-
return React__default[
|
|
10563
|
+
return React__default["default"].createElement(TableShow, { rows: table.rows });
|
|
10577
10564
|
},
|
|
10578
10565
|
media: function media(_ref9) {
|
|
10579
10566
|
var node = _ref9.node;
|
|
10580
10567
|
|
|
10581
|
-
return React__default[
|
|
10568
|
+
return React__default["default"].createElement(Media, { node: node, client: client });
|
|
10582
10569
|
},
|
|
10583
10570
|
iframe: function iframe(_ref10) {
|
|
10584
10571
|
var node = _ref10.node;
|
|
10585
10572
|
|
|
10586
|
-
return React__default[
|
|
10573
|
+
return React__default["default"].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10587
10574
|
},
|
|
10588
10575
|
video: function video(_ref11) {
|
|
10589
10576
|
var node = _ref11.node;
|
|
10590
10577
|
|
|
10591
|
-
return React__default[
|
|
10578
|
+
return React__default["default"].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10592
10579
|
},
|
|
10593
10580
|
audio: function audio(_ref12) {
|
|
10594
10581
|
var node = _ref12.node;
|
|
10595
10582
|
|
|
10596
|
-
return React__default[
|
|
10583
|
+
return React__default["default"].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10597
10584
|
},
|
|
10598
10585
|
poll: function poll(_ref13) {
|
|
10599
10586
|
var node = _ref13.node;
|
|
10600
10587
|
|
|
10601
|
-
return React__default[
|
|
10588
|
+
return React__default["default"].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10602
10589
|
},
|
|
10603
10590
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10604
10591
|
var node = _ref14.node;
|
|
10605
10592
|
|
|
10606
|
-
return React__default[
|
|
10593
|
+
return React__default["default"].createElement(Poll, {
|
|
10607
10594
|
node: node,
|
|
10608
10595
|
client: client,
|
|
10609
10596
|
pageview: pageview,
|
|
@@ -10617,35 +10604,35 @@ var getSerializers = function getSerializers() {
|
|
|
10617
10604
|
var node = _ref15.node;
|
|
10618
10605
|
var quizzes = node.quizzes;
|
|
10619
10606
|
|
|
10620
|
-
return React__default[
|
|
10607
|
+
return React__default["default"].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10621
10608
|
},
|
|
10622
10609
|
leads: function leads(_ref16) {
|
|
10623
10610
|
var node = _ref16.node;
|
|
10624
10611
|
var leadID = node.leadID;
|
|
10625
10612
|
|
|
10626
10613
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10627
|
-
return React__default[
|
|
10614
|
+
return React__default["default"].createElement(Leads, { url: url });
|
|
10628
10615
|
},
|
|
10629
10616
|
slideshows: function slideshows(_ref17) {
|
|
10630
10617
|
var node = _ref17.node;
|
|
10631
10618
|
|
|
10632
|
-
return React__default[
|
|
10619
|
+
return React__default["default"].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10633
10620
|
},
|
|
10634
10621
|
nativeAd: function nativeAd(_ref18) {
|
|
10635
10622
|
var node = _ref18.node;
|
|
10636
10623
|
|
|
10637
|
-
return React__default[
|
|
10624
|
+
return React__default["default"].createElement(NativeAd, { node: node });
|
|
10638
10625
|
},
|
|
10639
10626
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10640
10627
|
var node = _ref19.node;
|
|
10641
10628
|
|
|
10642
|
-
return React__default[
|
|
10629
|
+
return React__default["default"].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10643
10630
|
},
|
|
10644
10631
|
hrtag: function hrtag() {
|
|
10645
|
-
return React__default[
|
|
10632
|
+
return React__default["default"].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10646
10633
|
},
|
|
10647
10634
|
brtag: function brtag() {
|
|
10648
|
-
return React__default[
|
|
10635
|
+
return React__default["default"].createElement('br', { className: 'line-break' });
|
|
10649
10636
|
},
|
|
10650
10637
|
formstack: function formstack(_ref20) {
|
|
10651
10638
|
var node = _ref20.node;
|
|
@@ -10653,30 +10640,30 @@ var getSerializers = function getSerializers() {
|
|
|
10653
10640
|
Caption = node.Caption,
|
|
10654
10641
|
needSegmentSupport = node.needSegmentSupport;
|
|
10655
10642
|
|
|
10656
|
-
return React__default[
|
|
10643
|
+
return React__default["default"].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10657
10644
|
},
|
|
10658
10645
|
formassembly: FormAssembly,
|
|
10659
10646
|
digiohSmartTag: DigiohSmartTag,
|
|
10660
10647
|
multimedia: function multimedia(_ref21) {
|
|
10661
10648
|
var node = _ref21.node;
|
|
10662
10649
|
|
|
10663
|
-
return React__default[
|
|
10650
|
+
return React__default["default"].createElement(MultiMedia, { node: node, client: client });
|
|
10664
10651
|
},
|
|
10665
10652
|
blockTable: function blockTable(_ref22) {
|
|
10666
10653
|
var node = _ref22.node;
|
|
10667
|
-
return React__default[
|
|
10654
|
+
return React__default["default"].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10668
10655
|
}
|
|
10669
10656
|
},
|
|
10670
10657
|
marks: {
|
|
10671
10658
|
superscript: function superscript(props) {
|
|
10672
|
-
return React__default[
|
|
10659
|
+
return React__default["default"].createElement(
|
|
10673
10660
|
'sup',
|
|
10674
10661
|
null,
|
|
10675
10662
|
props.children
|
|
10676
10663
|
);
|
|
10677
10664
|
},
|
|
10678
10665
|
subscript: function subscript(props) {
|
|
10679
|
-
return React__default[
|
|
10666
|
+
return React__default["default"].createElement(
|
|
10680
10667
|
'sub',
|
|
10681
10668
|
null,
|
|
10682
10669
|
props.children
|
|
@@ -10686,11 +10673,11 @@ var getSerializers = function getSerializers() {
|
|
|
10686
10673
|
var children = props.children,
|
|
10687
10674
|
mark = props.mark;
|
|
10688
10675
|
|
|
10689
|
-
return React__default[
|
|
10676
|
+
return React__default["default"].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10690
10677
|
},
|
|
10691
10678
|
alignleft: function alignleft(_ref23) {
|
|
10692
10679
|
var children = _ref23.children;
|
|
10693
|
-
return React__default[
|
|
10680
|
+
return React__default["default"].createElement(
|
|
10694
10681
|
'div',
|
|
10695
10682
|
{ style: { textAlign: 'left' } },
|
|
10696
10683
|
children
|
|
@@ -10698,7 +10685,7 @@ var getSerializers = function getSerializers() {
|
|
|
10698
10685
|
},
|
|
10699
10686
|
alignright: function alignright(_ref24) {
|
|
10700
10687
|
var children = _ref24.children;
|
|
10701
|
-
return React__default[
|
|
10688
|
+
return React__default["default"].createElement(
|
|
10702
10689
|
'div',
|
|
10703
10690
|
{ style: { textAlign: 'right' } },
|
|
10704
10691
|
children
|
|
@@ -10706,7 +10693,7 @@ var getSerializers = function getSerializers() {
|
|
|
10706
10693
|
},
|
|
10707
10694
|
aligncenter: function aligncenter(_ref25) {
|
|
10708
10695
|
var children = _ref25.children;
|
|
10709
|
-
return React__default[
|
|
10696
|
+
return React__default["default"].createElement(
|
|
10710
10697
|
'div',
|
|
10711
10698
|
{ style: { textAlign: 'center' } },
|
|
10712
10699
|
children
|
|
@@ -10714,7 +10701,7 @@ var getSerializers = function getSerializers() {
|
|
|
10714
10701
|
},
|
|
10715
10702
|
alignjustify: function alignjustify(_ref26) {
|
|
10716
10703
|
var children = _ref26.children;
|
|
10717
|
-
return React__default[
|
|
10704
|
+
return React__default["default"].createElement(
|
|
10718
10705
|
'div',
|
|
10719
10706
|
{ style: { textAlign: 'justify' } },
|
|
10720
10707
|
children
|
|
@@ -10724,7 +10711,7 @@ var getSerializers = function getSerializers() {
|
|
|
10724
10711
|
var children = props.children,
|
|
10725
10712
|
color = props.mark.color;
|
|
10726
10713
|
|
|
10727
|
-
return React__default[
|
|
10714
|
+
return React__default["default"].createElement(
|
|
10728
10715
|
'span',
|
|
10729
10716
|
{ style: { color: color ? color.hex : null } },
|
|
10730
10717
|
children
|