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