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