@mjhls/mjh-framework 1.0.994-invalidelement-v2 → 1.0.994-pdlist-fix-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-f316b66a.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-2003306e.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +892 -1078
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +85 -114
- package/dist/cjs/AuthWrapper.js +30 -120
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +34 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +114 -114
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-6c00b878.js} +172 -212
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +48 -48
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{MediaSeriesCard-e93c0855.js → MediaSeriesCard-cf144b71.js} +556 -649
- package/dist/cjs/MediaSeriesLanding.js +41 -41
- package/dist/cjs/MediaSeriesLandingPaginated.js +40 -40
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-4799de4b.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +50 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +70 -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 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +52 -56
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-f5248377.js → SeriesSlider-594b19eb.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-d2ab3d62.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -11
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -28
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +224 -224
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/{index-64fe6bc7.js → index-e9d3f910.js} +481 -481
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-1461604c.js} +14 -14
- package/dist/cjs/index.js +105 -103
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +508 -694
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +11 -40
- package/dist/esm/AuthWrapper.js +3 -93
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueLanding.js +33 -33
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +12 -12
- package/dist/esm/{MediaSeriesCard-9a4cc6ac.js → MediaSeriesCard-2a65b9da.js} +259 -352
- package/dist/esm/MediaSeriesLanding.js +11 -11
- package/dist/esm/MediaSeriesLandingPaginated.js +12 -12
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -5
- package/dist/esm/PartnerDetailListingPaginated.js +36 -13
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +52 -56
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-4875823e.js → SeriesSlider-f771e20d.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-165b4ae7.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +6 -6
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/{getTargeting-c6884f34.js → getTargeting-9bd28724.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/{index-19ae7235.js → index-9a58ca55.js} +1 -1
- package/dist/esm/index.js +12 -10
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +114 -114
- /package/dist/esm/{ADInfeed-777bb0b3.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-e7fd1bb6.js → ADlgInfeed-5e36f317.js} +0 -0
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var reactBootstrap = require('react-bootstrap');
|
|
6
6
|
var urlFor = require('./urlFor.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-fc2f1ca2.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -12,14 +12,14 @@ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
|
12
12
|
var util = require('./util-93a37fd0.js');
|
|
13
13
|
require('./Beam.js');
|
|
14
14
|
var Segment = require('./Segment.js');
|
|
15
|
-
var main = require('./main-
|
|
16
|
-
var BlockContent = require('./BlockContent-
|
|
15
|
+
var main = require('./main-f1c77adb.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
17
17
|
var _extends = require('./extends-7c86182f.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-eadd5035.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var Modal = require('react-bootstrap/Modal');
|
|
25
25
|
var Button = require('react-bootstrap/Button');
|
|
@@ -66,7 +66,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
66
66
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
67
67
|
var pageNumber = selectedIndex + 1;
|
|
68
68
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
69
|
-
Router__default[
|
|
69
|
+
Router__default['default'].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -96,27 +96,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
96
96
|
if (pageview) pageview(router.asPath);
|
|
97
97
|
}, [router]);
|
|
98
98
|
|
|
99
|
-
return React__default[
|
|
99
|
+
return React__default['default'].createElement(
|
|
100
100
|
'div',
|
|
101
101
|
{ className: 'mt-3 mb-3' },
|
|
102
|
-
React__default[
|
|
102
|
+
React__default['default'].createElement(
|
|
103
103
|
reactBootstrap.Carousel,
|
|
104
104
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
105
105
|
return onChangeSlide(selectedIndex, router);
|
|
106
106
|
}, interval: null },
|
|
107
107
|
slides && slides.map(function (slide) {
|
|
108
|
-
return React__default[
|
|
108
|
+
return React__default['default'].createElement(
|
|
109
109
|
reactBootstrap.Carousel.Item,
|
|
110
110
|
{ key: slide._key },
|
|
111
|
-
React__default[
|
|
111
|
+
React__default['default'].createElement(
|
|
112
112
|
'picture',
|
|
113
113
|
null,
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
117
|
-
React__default[
|
|
114
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
115
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
116
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
117
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
118
118
|
),
|
|
119
|
-
slide.caption && React__default[
|
|
119
|
+
slide.caption && React__default['default'].createElement(
|
|
120
120
|
'p',
|
|
121
121
|
{ className: 'p-2' },
|
|
122
122
|
slide.caption
|
|
@@ -1858,9 +1858,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1858
1858
|
}, {
|
|
1859
1859
|
key: "render",
|
|
1860
1860
|
value: function render() {
|
|
1861
|
-
return /*#__PURE__*/React__default[
|
|
1861
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1862
1862
|
className: this.props.containerClassName
|
|
1863
|
-
}, /*#__PURE__*/React__default[
|
|
1863
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1864
1864
|
id: this.props.id,
|
|
1865
1865
|
className: this.props.className,
|
|
1866
1866
|
ref: this.refContainer
|
|
@@ -1869,7 +1869,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1869
1869
|
}]);
|
|
1870
1870
|
|
|
1871
1871
|
return YouTube;
|
|
1872
|
-
}(React__default[
|
|
1872
|
+
}(React__default['default'].Component);
|
|
1873
1873
|
|
|
1874
1874
|
_defineProperty(YouTube, "PlayerState", {
|
|
1875
1875
|
UNSTARTED: -1,
|
|
@@ -1881,24 +1881,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1881
1881
|
});
|
|
1882
1882
|
|
|
1883
1883
|
YouTube.propTypes = {
|
|
1884
|
-
videoId: PropTypes__default[
|
|
1884
|
+
videoId: PropTypes__default['default'].string,
|
|
1885
1885
|
// custom ID for player element
|
|
1886
|
-
id: PropTypes__default[
|
|
1886
|
+
id: PropTypes__default['default'].string,
|
|
1887
1887
|
// custom class name for player element
|
|
1888
|
-
className: PropTypes__default[
|
|
1888
|
+
className: PropTypes__default['default'].string,
|
|
1889
1889
|
// custom class name for player container element
|
|
1890
|
-
containerClassName: PropTypes__default[
|
|
1890
|
+
containerClassName: PropTypes__default['default'].string,
|
|
1891
1891
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1892
|
-
opts: PropTypes__default[
|
|
1892
|
+
opts: PropTypes__default['default'].objectOf(PropTypes__default['default'].any),
|
|
1893
1893
|
// event subscriptions
|
|
1894
|
-
onReady: PropTypes__default[
|
|
1895
|
-
onError: PropTypes__default[
|
|
1896
|
-
onPlay: PropTypes__default[
|
|
1897
|
-
onPause: PropTypes__default[
|
|
1898
|
-
onEnd: PropTypes__default[
|
|
1899
|
-
onStateChange: PropTypes__default[
|
|
1900
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1901
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
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
|
|
1902
1902
|
};
|
|
1903
1903
|
YouTube.defaultProps = {
|
|
1904
1904
|
videoId: null,
|
|
@@ -2016,11 +2016,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2016
2016
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2017
2017
|
};
|
|
2018
2018
|
|
|
2019
|
-
return React__default[
|
|
2019
|
+
return React__default['default'].createElement(
|
|
2020
2020
|
'div',
|
|
2021
2021
|
{ id: 'fluid-video-container' },
|
|
2022
|
-
React__default[
|
|
2023
|
-
React__default[
|
|
2022
|
+
React__default['default'].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2023
|
+
React__default['default'].createElement(
|
|
2024
2024
|
'style',
|
|
2025
2025
|
{ jsx: 'true' },
|
|
2026
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 '
|
|
@@ -2033,20 +2033,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2033
2033
|
content = _ref.content,
|
|
2034
2034
|
getSerializers = _ref.getSerializers;
|
|
2035
2035
|
|
|
2036
|
-
return React__default[
|
|
2036
|
+
return React__default['default'].createElement(
|
|
2037
2037
|
'article',
|
|
2038
2038
|
{ className: 'sidebar' },
|
|
2039
|
-
React__default[
|
|
2039
|
+
React__default['default'].createElement(
|
|
2040
2040
|
'div',
|
|
2041
2041
|
null,
|
|
2042
|
-
React__default[
|
|
2042
|
+
React__default['default'].createElement(
|
|
2043
2043
|
'h3',
|
|
2044
2044
|
null,
|
|
2045
2045
|
caption
|
|
2046
2046
|
),
|
|
2047
|
-
React__default[
|
|
2047
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2048
2048
|
),
|
|
2049
|
-
React__default[
|
|
2049
|
+
React__default['default'].createElement(
|
|
2050
2050
|
'style',
|
|
2051
2051
|
{ jsx: 'true' },
|
|
2052
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 '
|
|
@@ -2057,18 +2057,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2057
2057
|
var TableShow = function TableShow(_ref) {
|
|
2058
2058
|
var rows = _ref.rows;
|
|
2059
2059
|
|
|
2060
|
-
return React__default[
|
|
2060
|
+
return React__default['default'].createElement(
|
|
2061
2061
|
reactBootstrap.Table,
|
|
2062
2062
|
{ bordered: true, hover: true, responsive: true },
|
|
2063
|
-
React__default[
|
|
2063
|
+
React__default['default'].createElement(
|
|
2064
2064
|
'tbody',
|
|
2065
2065
|
null,
|
|
2066
2066
|
rows && rows.map(function (row) {
|
|
2067
|
-
return React__default[
|
|
2067
|
+
return React__default['default'].createElement(
|
|
2068
2068
|
'tr',
|
|
2069
2069
|
{ key: row._key },
|
|
2070
2070
|
row.cells && row.cells.map(function (cell, index) {
|
|
2071
|
-
return cell && React__default[
|
|
2071
|
+
return cell && React__default['default'].createElement(
|
|
2072
2072
|
'td',
|
|
2073
2073
|
{ key: index },
|
|
2074
2074
|
cell
|
|
@@ -2166,25 +2166,25 @@ var Media = function Media(_ref) {
|
|
|
2166
2166
|
margin: imageMargin
|
|
2167
2167
|
};
|
|
2168
2168
|
|
|
2169
|
-
return React__default[
|
|
2169
|
+
return React__default['default'].createElement(
|
|
2170
2170
|
reactBootstrap.Figure,
|
|
2171
2171
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2172
|
-
React__default[
|
|
2172
|
+
React__default['default'].createElement(
|
|
2173
2173
|
'a',
|
|
2174
2174
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2175
|
-
React__default[
|
|
2175
|
+
React__default['default'].createElement(
|
|
2176
2176
|
index$2.LazyLoad,
|
|
2177
2177
|
{ once: true },
|
|
2178
|
-
React__default[
|
|
2178
|
+
React__default['default'].createElement(
|
|
2179
2179
|
'picture',
|
|
2180
2180
|
null,
|
|
2181
|
-
React__default[
|
|
2182
|
-
React__default[
|
|
2183
|
-
React__default[
|
|
2184
|
-
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 }))
|
|
2185
2185
|
)
|
|
2186
2186
|
),
|
|
2187
|
-
caption && React__default[
|
|
2187
|
+
caption && React__default['default'].createElement(
|
|
2188
2188
|
reactBootstrap.Figure.Caption,
|
|
2189
2189
|
{ className: 'media-caption' },
|
|
2190
2190
|
caption
|
|
@@ -2192,7 +2192,7 @@ var Media = function Media(_ref) {
|
|
|
2192
2192
|
)
|
|
2193
2193
|
);
|
|
2194
2194
|
} else if (caption && caption !== '') {
|
|
2195
|
-
return React__default[
|
|
2195
|
+
return React__default['default'].createElement(
|
|
2196
2196
|
'a',
|
|
2197
2197
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2198
2198
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2212,10 +2212,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2212
2212
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2213
2213
|
|
|
2214
2214
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2215
|
-
return React__default[
|
|
2215
|
+
return React__default['default'].createElement(
|
|
2216
2216
|
'div',
|
|
2217
2217
|
{ className: 'd-block text-center mb-3' },
|
|
2218
|
-
React__default[
|
|
2218
|
+
React__default['default'].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2219
2219
|
);
|
|
2220
2220
|
};
|
|
2221
2221
|
|
|
@@ -2225,7 +2225,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2225
2225
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2226
2226
|
|
|
2227
2227
|
var choiceArray = choices.map(function (choice) {
|
|
2228
|
-
return React__default[
|
|
2228
|
+
return React__default['default'].createElement(Form__default['default'].Check, {
|
|
2229
2229
|
inline: true,
|
|
2230
2230
|
label: choice.choiceText,
|
|
2231
2231
|
value: choice.choiceText,
|
|
@@ -2235,19 +2235,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2235
2235
|
onClick: handlePollAnswer
|
|
2236
2236
|
});
|
|
2237
2237
|
});
|
|
2238
|
-
return React__default[
|
|
2238
|
+
return React__default['default'].createElement(
|
|
2239
2239
|
'div',
|
|
2240
2240
|
{
|
|
2241
2241
|
key: 'inline-radio',
|
|
2242
2242
|
className: 'radioContainer' },
|
|
2243
|
-
React__default[
|
|
2243
|
+
React__default['default'].createElement(
|
|
2244
2244
|
'h2',
|
|
2245
2245
|
{
|
|
2246
2246
|
className: 'radioLabelText'
|
|
2247
2247
|
},
|
|
2248
2248
|
question
|
|
2249
2249
|
),
|
|
2250
|
-
React__default[
|
|
2250
|
+
React__default['default'].createElement(
|
|
2251
2251
|
'div',
|
|
2252
2252
|
{
|
|
2253
2253
|
className: 'multiChoiceDiv'
|
|
@@ -2262,19 +2262,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2262
2262
|
textAnswer = _ref.textAnswer,
|
|
2263
2263
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2264
2264
|
|
|
2265
|
-
return React__default[
|
|
2265
|
+
return React__default['default'].createElement(
|
|
2266
2266
|
'div',
|
|
2267
2267
|
{
|
|
2268
2268
|
className: 'textInputDiv'
|
|
2269
2269
|
},
|
|
2270
|
-
React__default[
|
|
2270
|
+
React__default['default'].createElement(
|
|
2271
2271
|
'h2',
|
|
2272
2272
|
{
|
|
2273
2273
|
className: 'textInputQuestion'
|
|
2274
2274
|
},
|
|
2275
2275
|
textInputQuestion
|
|
2276
2276
|
),
|
|
2277
|
-
React__default[
|
|
2277
|
+
React__default['default'].createElement(Form__default['default'].Control, {
|
|
2278
2278
|
type: 'text',
|
|
2279
2279
|
className: 'textInput',
|
|
2280
2280
|
value: textAnswer,
|
|
@@ -2384,32 +2384,32 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2384
2384
|
var pollArray = [];
|
|
2385
2385
|
pollItems.forEach(function (item, ind) {
|
|
2386
2386
|
if (item.format === 'multiChoice') {
|
|
2387
|
-
pollArray.push(React__default[
|
|
2387
|
+
pollArray.push(React__default['default'].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2388
2388
|
}
|
|
2389
2389
|
if (item.format === 'textInput') {
|
|
2390
|
-
pollArray.push(React__default[
|
|
2390
|
+
pollArray.push(React__default['default'].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2391
2391
|
}
|
|
2392
2392
|
});
|
|
2393
2393
|
|
|
2394
|
-
return React__default[
|
|
2394
|
+
return React__default['default'].createElement(
|
|
2395
2395
|
'div',
|
|
2396
2396
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2397
|
-
React__default[
|
|
2398
|
-
Modal__default[
|
|
2397
|
+
React__default['default'].createElement(
|
|
2398
|
+
Modal__default['default'].Dialog,
|
|
2399
2399
|
null,
|
|
2400
|
-
React__default[
|
|
2401
|
-
Modal__default[
|
|
2400
|
+
React__default['default'].createElement(
|
|
2401
|
+
Modal__default['default'].Body,
|
|
2402
2402
|
null,
|
|
2403
|
-
React__default[
|
|
2404
|
-
Form__default[
|
|
2403
|
+
React__default['default'].createElement(
|
|
2404
|
+
Form__default['default'],
|
|
2405
2405
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2406
2406
|
pollArray,
|
|
2407
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2408
|
-
Button__default[
|
|
2407
|
+
textInputRender && !multiChoiceRender ? React__default['default'].createElement(
|
|
2408
|
+
Button__default['default'],
|
|
2409
2409
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2410
2410
|
'Submit'
|
|
2411
|
-
) : React__default[
|
|
2412
|
-
Button__default[
|
|
2411
|
+
) : React__default['default'].createElement(
|
|
2412
|
+
Button__default['default'],
|
|
2413
2413
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2414
2414
|
'Submit'
|
|
2415
2415
|
)
|
|
@@ -2572,10 +2572,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2572
2572
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2573
2573
|
};
|
|
2574
2574
|
|
|
2575
|
-
return React__default[
|
|
2575
|
+
return React__default['default'].createElement(
|
|
2576
2576
|
'div',
|
|
2577
2577
|
null,
|
|
2578
|
-
isPollingTime ? React__default[
|
|
2578
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2579
2579
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2580
2580
|
, { pollItems: pollItems
|
|
2581
2581
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2589,7 +2589,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2589
2589
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2590
2590
|
, multiChoiceRender: multiChoiceRender
|
|
2591
2591
|
}) : null,
|
|
2592
|
-
vidLoaded && React__default[
|
|
2592
|
+
vidLoaded && React__default['default'].createElement(
|
|
2593
2593
|
'video',
|
|
2594
2594
|
{
|
|
2595
2595
|
poster: thumbnail || '',
|
|
@@ -2607,7 +2607,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2607
2607
|
onPlay: function onPlay(e) {
|
|
2608
2608
|
return handleOnPlay(e);
|
|
2609
2609
|
} },
|
|
2610
|
-
React__default[
|
|
2610
|
+
React__default['default'].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2611
2611
|
'Your browser does not support the video tag.'
|
|
2612
2612
|
)
|
|
2613
2613
|
);
|
|
@@ -2858,10 +2858,10 @@ var Video = function Video(_ref) {
|
|
|
2858
2858
|
|
|
2859
2859
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2860
2860
|
if (videoID) {
|
|
2861
|
-
return React__default[
|
|
2861
|
+
return React__default['default'].createElement(
|
|
2862
2862
|
'div',
|
|
2863
2863
|
null,
|
|
2864
|
-
isPollingTime ? React__default[
|
|
2864
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2865
2865
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2866
2866
|
, { pollItems: pollItems
|
|
2867
2867
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2875,7 +2875,7 @@ var Video = function Video(_ref) {
|
|
|
2875
2875
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2876
2876
|
, multiChoiceRender: multiChoiceRender
|
|
2877
2877
|
}) : null,
|
|
2878
|
-
React__default[
|
|
2878
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2879
2879
|
onSuccess: onVideoSuccess,
|
|
2880
2880
|
onFailure: onVideoFailure,
|
|
2881
2881
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2883,17 +2883,17 @@ var Video = function Video(_ref) {
|
|
|
2883
2883
|
playerId: accountIDs.brightcove.playerId,
|
|
2884
2884
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2885
2885
|
}),
|
|
2886
|
-
React__default[
|
|
2886
|
+
React__default['default'].createElement(
|
|
2887
2887
|
'style',
|
|
2888
2888
|
{ jsx: 'true' },
|
|
2889
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 '
|
|
2890
2890
|
)
|
|
2891
2891
|
);
|
|
2892
2892
|
} else if (playlistID) {
|
|
2893
|
-
return React__default[
|
|
2893
|
+
return React__default['default'].createElement(
|
|
2894
2894
|
'div',
|
|
2895
2895
|
null,
|
|
2896
|
-
isPollingTime ? React__default[
|
|
2896
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2897
2897
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2898
2898
|
, { pollItems: pollItems
|
|
2899
2899
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2907,7 +2907,7 @@ var Video = function Video(_ref) {
|
|
|
2907
2907
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2908
2908
|
, multiChoiceRender: multiChoiceRender
|
|
2909
2909
|
}) : null,
|
|
2910
|
-
React__default[
|
|
2910
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2911
2911
|
accountId: accountIDs.brightcove.accountId,
|
|
2912
2912
|
playlistId: playlistID,
|
|
2913
2913
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2915,18 +2915,18 @@ var Video = function Video(_ref) {
|
|
|
2915
2915
|
onFailure: onVideoFailure,
|
|
2916
2916
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2917
2917
|
}),
|
|
2918
|
-
React__default[
|
|
2918
|
+
React__default['default'].createElement(
|
|
2919
2919
|
'style',
|
|
2920
2920
|
{ jsx: 'true' },
|
|
2921
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 '
|
|
2922
2922
|
)
|
|
2923
2923
|
);
|
|
2924
2924
|
} else if (experienceID) {
|
|
2925
|
-
return React__default[
|
|
2925
|
+
return React__default['default'].createElement(
|
|
2926
2926
|
'div',
|
|
2927
2927
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2928
|
-
React__default[
|
|
2929
|
-
isPollingTime ? React__default[
|
|
2928
|
+
React__default['default'].createElement('div', { 'data-experience': experienceID }),
|
|
2929
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2930
2930
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2931
2931
|
, { pollItems: pollItems
|
|
2932
2932
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2946,10 +2946,10 @@ var Video = function Video(_ref) {
|
|
|
2946
2946
|
}
|
|
2947
2947
|
|
|
2948
2948
|
if (source === 'mp4') {
|
|
2949
|
-
return React__default[
|
|
2949
|
+
return React__default['default'].createElement(
|
|
2950
2950
|
'div',
|
|
2951
2951
|
null,
|
|
2952
|
-
React__default[
|
|
2952
|
+
React__default['default'].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2953
2953
|
);
|
|
2954
2954
|
}
|
|
2955
2955
|
|
|
@@ -2964,7 +2964,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2964
2964
|
});
|
|
2965
2965
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2966
2966
|
|
|
2967
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
2967
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
2968
2968
|
|
|
2969
2969
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2970
2970
|
|
|
@@ -3554,7 +3554,7 @@ function isEqual(a, b) {
|
|
|
3554
3554
|
return true;
|
|
3555
3555
|
}
|
|
3556
3556
|
|
|
3557
|
-
if ((0, React__default[
|
|
3557
|
+
if ((0, React__default['default'].isValidElement)(a) && (0, React__default['default'].isValidElement)(b)) {
|
|
3558
3558
|
return true;
|
|
3559
3559
|
}
|
|
3560
3560
|
|
|
@@ -3616,7 +3616,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3616
3616
|
});
|
|
3617
3617
|
exports["default"] = void 0;
|
|
3618
3618
|
|
|
3619
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3619
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
3620
3620
|
|
|
3621
3621
|
|
|
3622
3622
|
|
|
@@ -4026,7 +4026,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4026
4026
|
});
|
|
4027
4027
|
exports["default"] = createSinglePlayer;
|
|
4028
4028
|
|
|
4029
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4029
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4030
4030
|
|
|
4031
4031
|
|
|
4032
4032
|
|
|
@@ -4184,7 +4184,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4184
4184
|
});
|
|
4185
4185
|
exports["default"] = exports.YouTube = void 0;
|
|
4186
4186
|
|
|
4187
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4187
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4188
4188
|
|
|
4189
4189
|
|
|
4190
4190
|
|
|
@@ -4493,7 +4493,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4493
4493
|
});
|
|
4494
4494
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4495
4495
|
|
|
4496
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4496
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4497
4497
|
|
|
4498
4498
|
|
|
4499
4499
|
|
|
@@ -4710,7 +4710,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4710
4710
|
});
|
|
4711
4711
|
exports["default"] = exports.Vimeo = void 0;
|
|
4712
4712
|
|
|
4713
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4713
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4714
4714
|
|
|
4715
4715
|
|
|
4716
4716
|
|
|
@@ -4966,7 +4966,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4966
4966
|
});
|
|
4967
4967
|
exports["default"] = exports.Facebook = void 0;
|
|
4968
4968
|
|
|
4969
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4969
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4970
4970
|
|
|
4971
4971
|
|
|
4972
4972
|
|
|
@@ -5178,7 +5178,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5178
5178
|
});
|
|
5179
5179
|
exports["default"] = exports.Streamable = void 0;
|
|
5180
5180
|
|
|
5181
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5181
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5182
5182
|
|
|
5183
5183
|
|
|
5184
5184
|
|
|
@@ -5389,7 +5389,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5389
5389
|
});
|
|
5390
5390
|
exports["default"] = exports.Wistia = void 0;
|
|
5391
5391
|
|
|
5392
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5392
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5393
5393
|
|
|
5394
5394
|
|
|
5395
5395
|
|
|
@@ -5632,7 +5632,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5632
5632
|
});
|
|
5633
5633
|
exports["default"] = exports.Twitch = void 0;
|
|
5634
5634
|
|
|
5635
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5635
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5636
5636
|
|
|
5637
5637
|
|
|
5638
5638
|
|
|
@@ -5848,7 +5848,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5848
5848
|
});
|
|
5849
5849
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5850
5850
|
|
|
5851
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5851
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5852
5852
|
|
|
5853
5853
|
|
|
5854
5854
|
|
|
@@ -6084,7 +6084,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6084
6084
|
});
|
|
6085
6085
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6086
6086
|
|
|
6087
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6087
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6088
6088
|
|
|
6089
6089
|
|
|
6090
6090
|
|
|
@@ -6283,7 +6283,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6283
6283
|
});
|
|
6284
6284
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6285
6285
|
|
|
6286
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6286
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6287
6287
|
|
|
6288
6288
|
|
|
6289
6289
|
|
|
@@ -6850,7 +6850,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6850
6850
|
});
|
|
6851
6851
|
exports["default"] = void 0;
|
|
6852
6852
|
|
|
6853
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6853
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6854
6854
|
|
|
6855
6855
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6856
6856
|
|
|
@@ -7029,7 +7029,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7029
7029
|
});
|
|
7030
7030
|
exports["default"] = renderPreloadPlayers;
|
|
7031
7031
|
|
|
7032
|
-
var _react = _interopRequireDefault(React__default[
|
|
7032
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
7033
7033
|
|
|
7034
7034
|
var _Player = _interopRequireDefault(Player_1);
|
|
7035
7035
|
|
|
@@ -7168,7 +7168,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7168
7168
|
});
|
|
7169
7169
|
exports["default"] = void 0;
|
|
7170
7170
|
|
|
7171
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7171
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
7172
7172
|
|
|
7173
7173
|
|
|
7174
7174
|
|
|
@@ -7484,7 +7484,7 @@ var Audio = function Audio(_ref) {
|
|
|
7484
7484
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7485
7485
|
var reportPlay = function reportPlay() {
|
|
7486
7486
|
console.log('Reporting audio playback play to GA');
|
|
7487
|
-
ReactGA__default[
|
|
7487
|
+
ReactGA__default['default'].event({
|
|
7488
7488
|
category: 'User',
|
|
7489
7489
|
action: 'Audio Play',
|
|
7490
7490
|
label: 'Play: ' + audioSource
|
|
@@ -7494,7 +7494,7 @@ var Audio = function Audio(_ref) {
|
|
|
7494
7494
|
};
|
|
7495
7495
|
var reportPause = function reportPause() {
|
|
7496
7496
|
console.log('Reporting audio playback pause to GA');
|
|
7497
|
-
ReactGA__default[
|
|
7497
|
+
ReactGA__default['default'].event({
|
|
7498
7498
|
category: 'User',
|
|
7499
7499
|
action: 'Audio Pause',
|
|
7500
7500
|
label: 'Pause: ' + audioSource
|
|
@@ -7504,7 +7504,7 @@ var Audio = function Audio(_ref) {
|
|
|
7504
7504
|
};
|
|
7505
7505
|
var reportEnd = function reportEnd() {
|
|
7506
7506
|
console.log('Reporting audio playback end to GA');
|
|
7507
|
-
ReactGA__default[
|
|
7507
|
+
ReactGA__default['default'].event({
|
|
7508
7508
|
category: 'User',
|
|
7509
7509
|
action: 'Audio Playback End',
|
|
7510
7510
|
label: 'Playback End: ' + audioSource
|
|
@@ -7513,10 +7513,10 @@ var Audio = function Audio(_ref) {
|
|
|
7513
7513
|
}));
|
|
7514
7514
|
};
|
|
7515
7515
|
if (node.uploadAudio) {
|
|
7516
|
-
return React__default[
|
|
7516
|
+
return React__default['default'].createElement(
|
|
7517
7517
|
'div',
|
|
7518
7518
|
{ className: 'audio d-block text-center mb-3' },
|
|
7519
|
-
React__default[
|
|
7519
|
+
React__default['default'].createElement(
|
|
7520
7520
|
'audio',
|
|
7521
7521
|
{
|
|
7522
7522
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7525,14 +7525,14 @@ var Audio = function Audio(_ref) {
|
|
|
7525
7525
|
onPause: reportPause,
|
|
7526
7526
|
onEnded: reportEnd
|
|
7527
7527
|
},
|
|
7528
|
-
React__default[
|
|
7529
|
-
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' }),
|
|
7530
7530
|
'Your browser does not support the audio element.'
|
|
7531
7531
|
),
|
|
7532
|
-
node.caption && React__default[
|
|
7532
|
+
node.caption && React__default['default'].createElement(
|
|
7533
7533
|
'p',
|
|
7534
7534
|
{ style: { fontSize: '.9rem' } },
|
|
7535
|
-
React__default[
|
|
7535
|
+
React__default['default'].createElement(
|
|
7536
7536
|
'em',
|
|
7537
7537
|
null,
|
|
7538
7538
|
node.caption
|
|
@@ -7542,15 +7542,15 @@ var Audio = function Audio(_ref) {
|
|
|
7542
7542
|
} else if (node.audioFilePth) {
|
|
7543
7543
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7544
7544
|
if (hostname === 'embeds.audioboom.com') {
|
|
7545
|
-
return React__default[
|
|
7545
|
+
return React__default['default'].createElement(
|
|
7546
7546
|
'div',
|
|
7547
7547
|
null,
|
|
7548
|
-
React__default[
|
|
7548
|
+
React__default['default'].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7549
7549
|
' ',
|
|
7550
|
-
node.caption && React__default[
|
|
7550
|
+
node.caption && React__default['default'].createElement(
|
|
7551
7551
|
'p',
|
|
7552
7552
|
{ style: { fontSize: '.9rem' } },
|
|
7553
|
-
React__default[
|
|
7553
|
+
React__default['default'].createElement(
|
|
7554
7554
|
'em',
|
|
7555
7555
|
null,
|
|
7556
7556
|
node.caption
|
|
@@ -7558,10 +7558,10 @@ var Audio = function Audio(_ref) {
|
|
|
7558
7558
|
)
|
|
7559
7559
|
);
|
|
7560
7560
|
}
|
|
7561
|
-
return React__default[
|
|
7561
|
+
return React__default['default'].createElement(
|
|
7562
7562
|
'div',
|
|
7563
7563
|
{ className: 'audio' },
|
|
7564
|
-
React__default[
|
|
7564
|
+
React__default['default'].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7565
7565
|
onPlay: reportPlay,
|
|
7566
7566
|
onPause: reportPause,
|
|
7567
7567
|
onEnded: reportEnd,
|
|
@@ -7569,10 +7569,10 @@ var Audio = function Audio(_ref) {
|
|
|
7569
7569
|
width: '100%',
|
|
7570
7570
|
height: '100%'
|
|
7571
7571
|
}),
|
|
7572
|
-
node.caption && React__default[
|
|
7572
|
+
node.caption && React__default['default'].createElement(
|
|
7573
7573
|
'p',
|
|
7574
7574
|
{ style: { fontSize: '.9rem' } },
|
|
7575
|
-
React__default[
|
|
7575
|
+
React__default['default'].createElement(
|
|
7576
7576
|
'em',
|
|
7577
7577
|
null,
|
|
7578
7578
|
node.caption
|
|
@@ -7591,34 +7591,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7591
7591
|
var showAuthorDetails = arguments[7];
|
|
7592
7592
|
|
|
7593
7593
|
if (authorName && authorURL) {
|
|
7594
|
-
return React__default[
|
|
7594
|
+
return React__default['default'].createElement(
|
|
7595
7595
|
'span',
|
|
7596
7596
|
null,
|
|
7597
|
-
React__default[
|
|
7597
|
+
React__default['default'].createElement(
|
|
7598
7598
|
'a',
|
|
7599
7599
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7600
7600
|
authorName
|
|
7601
7601
|
),
|
|
7602
|
-
showAuthorDetails && React__default[
|
|
7602
|
+
showAuthorDetails && React__default['default'].createElement(
|
|
7603
7603
|
reactBootstrap.Card,
|
|
7604
7604
|
{ className: 'author-details-card-' + index },
|
|
7605
|
-
React__default[
|
|
7605
|
+
React__default['default'].createElement(
|
|
7606
7606
|
reactBootstrap.Row,
|
|
7607
7607
|
null,
|
|
7608
|
-
profileImage && React__default[
|
|
7608
|
+
profileImage && React__default['default'].createElement(
|
|
7609
7609
|
reactBootstrap.Col,
|
|
7610
7610
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7611
|
-
React__default[
|
|
7611
|
+
React__default['default'].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7612
7612
|
),
|
|
7613
|
-
React__default[
|
|
7613
|
+
React__default['default'].createElement(
|
|
7614
7614
|
reactBootstrap.Col,
|
|
7615
7615
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7616
|
-
React__default[
|
|
7616
|
+
React__default['default'].createElement(
|
|
7617
7617
|
'div',
|
|
7618
7618
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7619
7619
|
authorName
|
|
7620
7620
|
),
|
|
7621
|
-
React__default[
|
|
7621
|
+
React__default['default'].createElement(
|
|
7622
7622
|
'p',
|
|
7623
7623
|
null,
|
|
7624
7624
|
biography
|
|
@@ -7626,7 +7626,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7626
7626
|
)
|
|
7627
7627
|
)
|
|
7628
7628
|
),
|
|
7629
|
-
React__default[
|
|
7629
|
+
React__default['default'].createElement(
|
|
7630
7630
|
'style',
|
|
7631
7631
|
{ jsx: 'true' },
|
|
7632
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 '
|
|
@@ -7634,7 +7634,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7634
7634
|
length !== index + 1 && ', '
|
|
7635
7635
|
);
|
|
7636
7636
|
} else if (authorName) {
|
|
7637
|
-
return React__default[
|
|
7637
|
+
return React__default['default'].createElement(
|
|
7638
7638
|
'span',
|
|
7639
7639
|
{ key: index },
|
|
7640
7640
|
authorName,
|
|
@@ -7906,44 +7906,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7906
7906
|
}
|
|
7907
7907
|
};
|
|
7908
7908
|
|
|
7909
|
-
return React__default[
|
|
7909
|
+
return React__default['default'].createElement(
|
|
7910
7910
|
'div',
|
|
7911
7911
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7912
|
-
React__default[
|
|
7912
|
+
React__default['default'].createElement(
|
|
7913
7913
|
'div',
|
|
7914
7914
|
{ className: 'mt-2 mb-5' },
|
|
7915
|
-
series && React__default[
|
|
7915
|
+
series && React__default['default'].createElement(
|
|
7916
7916
|
'div',
|
|
7917
7917
|
{ style: { fontSize: '0.9rem' } },
|
|
7918
7918
|
article.title,
|
|
7919
7919
|
' - Episode ',
|
|
7920
7920
|
series
|
|
7921
7921
|
),
|
|
7922
|
-
Videos[series - 1] && React__default[
|
|
7922
|
+
Videos[series - 1] && React__default['default'].createElement(
|
|
7923
7923
|
'h1',
|
|
7924
7924
|
{ className: 'mb-3' },
|
|
7925
7925
|
Videos[series - 1].title
|
|
7926
7926
|
),
|
|
7927
|
-
React__default[
|
|
7927
|
+
React__default['default'].createElement(
|
|
7928
7928
|
'div',
|
|
7929
7929
|
null,
|
|
7930
7930
|
moment.moment(article.published).format('LL')
|
|
7931
7931
|
),
|
|
7932
|
-
React__default[
|
|
7932
|
+
React__default['default'].createElement(
|
|
7933
7933
|
'div',
|
|
7934
7934
|
{ className: 'mb-3' },
|
|
7935
7935
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7936
|
-
return React__default[
|
|
7936
|
+
return React__default['default'].createElement(
|
|
7937
7937
|
'span',
|
|
7938
7938
|
{ key: index },
|
|
7939
7939
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7940
7940
|
);
|
|
7941
7941
|
})
|
|
7942
7942
|
),
|
|
7943
|
-
React__default[
|
|
7943
|
+
React__default['default'].createElement(
|
|
7944
7944
|
'p',
|
|
7945
7945
|
null,
|
|
7946
|
-
React__default[
|
|
7946
|
+
React__default['default'].createElement(SocialShare, {
|
|
7947
7947
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7948
7948
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7949
7949
|
shareVia: meta.shareVia,
|
|
@@ -7958,20 +7958,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7958
7958
|
hideFacebook: meta.hideFBShare
|
|
7959
7959
|
})
|
|
7960
7960
|
),
|
|
7961
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
7961
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default['default'].createElement(
|
|
7962
7962
|
'p',
|
|
7963
7963
|
{ className: 'mb-3' },
|
|
7964
|
-
React__default[
|
|
7964
|
+
React__default['default'].createElement(
|
|
7965
7965
|
'em',
|
|
7966
7966
|
null,
|
|
7967
7967
|
Videos[series - 1].intro
|
|
7968
7968
|
)
|
|
7969
7969
|
)
|
|
7970
7970
|
),
|
|
7971
|
-
React__default[
|
|
7971
|
+
React__default['default'].createElement(
|
|
7972
7972
|
'div',
|
|
7973
7973
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7974
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
7974
|
+
vidUrl && vidType == 'youtube' && React__default['default'].createElement(YouTube, {
|
|
7975
7975
|
className: 'fluid-iframe',
|
|
7976
7976
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
7977
7977
|
opts: opts,
|
|
@@ -7982,10 +7982,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7982
7982
|
return handleOnEnd(e);
|
|
7983
7983
|
}
|
|
7984
7984
|
}),
|
|
7985
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
7986
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
7987
|
-
React__default[
|
|
7988
|
-
series && React__default[
|
|
7985
|
+
vidUrl && vidType == 'mp4' && React__default['default'].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7986
|
+
vidUrl && vidType == 'brightcove' && React__default['default'].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7987
|
+
React__default['default'].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7988
|
+
series && React__default['default'].createElement(
|
|
7989
7989
|
'div',
|
|
7990
7990
|
{
|
|
7991
7991
|
className: 'vid-series',
|
|
@@ -7995,10 +7995,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7995
7995
|
maxHeight: '100%',
|
|
7996
7996
|
paddingBottom: '0'
|
|
7997
7997
|
} },
|
|
7998
|
-
React__default[
|
|
7998
|
+
React__default['default'].createElement(
|
|
7999
7999
|
'p',
|
|
8000
8000
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8001
|
-
React__default[
|
|
8001
|
+
React__default['default'].createElement(
|
|
8002
8002
|
'b',
|
|
8003
8003
|
{ style: { fontSize: '1.25em' } },
|
|
8004
8004
|
'Now Playing:'
|
|
@@ -8006,16 +8006,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8006
8006
|
' ',
|
|
8007
8007
|
seriesData[series ? series - 1 : 0].title
|
|
8008
8008
|
),
|
|
8009
|
-
vidUrl && React__default[
|
|
8009
|
+
vidUrl && React__default['default'].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8010
8010
|
)
|
|
8011
8011
|
),
|
|
8012
|
-
React__default[
|
|
8013
|
-
React__default[
|
|
8012
|
+
React__default['default'].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8013
|
+
React__default['default'].createElement(
|
|
8014
8014
|
'div',
|
|
8015
8015
|
{ className: 'vid-text' },
|
|
8016
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8016
|
+
Videos[series - 1] && Videos[series - 1].text && React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8017
8017
|
),
|
|
8018
|
-
React__default[
|
|
8018
|
+
React__default['default'].createElement(
|
|
8019
8019
|
'style',
|
|
8020
8020
|
{ jsx: 'true' },
|
|
8021
8021
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8068,67 +8068,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8068
8068
|
return acc;
|
|
8069
8069
|
}
|
|
8070
8070
|
}, 0);
|
|
8071
|
-
return React__default[
|
|
8072
|
-
React__default[
|
|
8071
|
+
return React__default['default'].createElement(
|
|
8072
|
+
React__default['default'].Fragment,
|
|
8073
8073
|
null,
|
|
8074
|
-
question && React__default[
|
|
8074
|
+
question && React__default['default'].createElement(
|
|
8075
8075
|
'p',
|
|
8076
8076
|
{ className: 'font-weight-bold' },
|
|
8077
8077
|
question
|
|
8078
8078
|
),
|
|
8079
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8079
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8080
8080
|
'form',
|
|
8081
8081
|
{ onSubmit: function onSubmit(e) {
|
|
8082
8082
|
return onSubmitPoll(e);
|
|
8083
8083
|
} },
|
|
8084
8084
|
choices && choices.map(function (choice) {
|
|
8085
|
-
return React__default[
|
|
8085
|
+
return React__default['default'].createElement(
|
|
8086
8086
|
'div',
|
|
8087
8087
|
{ key: choice._key },
|
|
8088
|
-
React__default[
|
|
8088
|
+
React__default['default'].createElement(
|
|
8089
8089
|
'label',
|
|
8090
8090
|
{ className: 'pl-2' },
|
|
8091
|
-
React__default[
|
|
8091
|
+
React__default['default'].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8092
8092
|
return setSelectedChoice(e.target.value);
|
|
8093
8093
|
} }),
|
|
8094
8094
|
' ' + choice.choiceText
|
|
8095
8095
|
)
|
|
8096
8096
|
);
|
|
8097
8097
|
}),
|
|
8098
|
-
React__default[
|
|
8098
|
+
React__default['default'].createElement(
|
|
8099
8099
|
reactBootstrap.Button,
|
|
8100
8100
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8101
8101
|
'Vote'
|
|
8102
8102
|
)
|
|
8103
8103
|
),
|
|
8104
|
-
React__default[
|
|
8104
|
+
React__default['default'].createElement(
|
|
8105
8105
|
'div',
|
|
8106
8106
|
{ className: 'progress-container' },
|
|
8107
8107
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8108
8108
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8109
|
-
return React__default[
|
|
8109
|
+
return React__default['default'].createElement(
|
|
8110
8110
|
'div',
|
|
8111
8111
|
{ key: choice._key, className: 'mb-3' },
|
|
8112
|
-
React__default[
|
|
8112
|
+
React__default['default'].createElement(
|
|
8113
8113
|
'div',
|
|
8114
8114
|
{ className: 'correct-answer' },
|
|
8115
|
-
React__default[
|
|
8115
|
+
React__default['default'].createElement(
|
|
8116
8116
|
'div',
|
|
8117
8117
|
null,
|
|
8118
8118
|
choice.choiceText
|
|
8119
8119
|
),
|
|
8120
|
-
choice.choiceAnswer === true && React__default[
|
|
8120
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8121
8121
|
'div',
|
|
8122
8122
|
null,
|
|
8123
|
-
React__default[
|
|
8123
|
+
React__default['default'].createElement(
|
|
8124
8124
|
'span',
|
|
8125
8125
|
{ style: { color: 'limegreen' } },
|
|
8126
8126
|
'Correct!'
|
|
8127
8127
|
)
|
|
8128
8128
|
)
|
|
8129
8129
|
),
|
|
8130
|
-
React__default[
|
|
8131
|
-
React__default[
|
|
8130
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8131
|
+
React__default['default'].createElement(
|
|
8132
8132
|
'span',
|
|
8133
8133
|
{ className: 'float-right' },
|
|
8134
8134
|
percentage,
|
|
@@ -8139,14 +8139,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8139
8139
|
);
|
|
8140
8140
|
})
|
|
8141
8141
|
),
|
|
8142
|
-
showAnswer && React__default[
|
|
8142
|
+
showAnswer && React__default['default'].createElement(
|
|
8143
8143
|
'h4',
|
|
8144
8144
|
{ className: 'text-center small p-3' },
|
|
8145
8145
|
'Total Votes: ',
|
|
8146
8146
|
choicesTotalCount
|
|
8147
8147
|
),
|
|
8148
|
-
showAnswer && response && React__default[
|
|
8149
|
-
React__default[
|
|
8148
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8149
|
+
React__default['default'].createElement(
|
|
8150
8150
|
'style',
|
|
8151
8151
|
{ jsx: 'true' },
|
|
8152
8152
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8245,67 +8245,67 @@ var Poll = function Poll(_ref) {
|
|
|
8245
8245
|
return acc;
|
|
8246
8246
|
}
|
|
8247
8247
|
}, 0);
|
|
8248
|
-
return React__default[
|
|
8249
|
-
React__default[
|
|
8248
|
+
return React__default['default'].createElement(
|
|
8249
|
+
React__default['default'].Fragment,
|
|
8250
8250
|
null,
|
|
8251
|
-
question && React__default[
|
|
8251
|
+
question && React__default['default'].createElement(
|
|
8252
8252
|
'p',
|
|
8253
8253
|
{ className: 'font-weight-bold' },
|
|
8254
8254
|
question
|
|
8255
8255
|
),
|
|
8256
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8256
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8257
8257
|
'form',
|
|
8258
8258
|
{ onSubmit: function onSubmit(e) {
|
|
8259
8259
|
return onSubmitPoll(e);
|
|
8260
8260
|
} },
|
|
8261
8261
|
choices && choices.map(function (choice) {
|
|
8262
|
-
return React__default[
|
|
8262
|
+
return React__default['default'].createElement(
|
|
8263
8263
|
'div',
|
|
8264
8264
|
{ key: choice._key },
|
|
8265
|
-
React__default[
|
|
8265
|
+
React__default['default'].createElement(
|
|
8266
8266
|
'label',
|
|
8267
8267
|
{ className: 'pl-2' },
|
|
8268
|
-
React__default[
|
|
8268
|
+
React__default['default'].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8269
8269
|
return setSelectedChoice(e.target.value);
|
|
8270
8270
|
} }),
|
|
8271
8271
|
' ' + choice.choiceText
|
|
8272
8272
|
)
|
|
8273
8273
|
);
|
|
8274
8274
|
}),
|
|
8275
|
-
React__default[
|
|
8275
|
+
React__default['default'].createElement(
|
|
8276
8276
|
reactBootstrap.Button,
|
|
8277
8277
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8278
8278
|
'Vote'
|
|
8279
8279
|
)
|
|
8280
8280
|
),
|
|
8281
|
-
React__default[
|
|
8281
|
+
React__default['default'].createElement(
|
|
8282
8282
|
'div',
|
|
8283
8283
|
{ className: 'progress-container' },
|
|
8284
8284
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8285
8285
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8286
|
-
return React__default[
|
|
8286
|
+
return React__default['default'].createElement(
|
|
8287
8287
|
'div',
|
|
8288
8288
|
{ key: choice._key, className: 'mb-3' },
|
|
8289
|
-
React__default[
|
|
8289
|
+
React__default['default'].createElement(
|
|
8290
8290
|
'div',
|
|
8291
8291
|
{ className: 'correct-answer' },
|
|
8292
|
-
React__default[
|
|
8292
|
+
React__default['default'].createElement(
|
|
8293
8293
|
'div',
|
|
8294
8294
|
null,
|
|
8295
8295
|
choice.choiceText
|
|
8296
8296
|
),
|
|
8297
|
-
choice.choiceAnswer === true && React__default[
|
|
8297
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8298
8298
|
'div',
|
|
8299
8299
|
null,
|
|
8300
|
-
React__default[
|
|
8300
|
+
React__default['default'].createElement(
|
|
8301
8301
|
'span',
|
|
8302
8302
|
{ style: { color: 'limegreen' } },
|
|
8303
8303
|
'Correct!'
|
|
8304
8304
|
)
|
|
8305
8305
|
)
|
|
8306
8306
|
),
|
|
8307
|
-
React__default[
|
|
8308
|
-
React__default[
|
|
8307
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8308
|
+
React__default['default'].createElement(
|
|
8309
8309
|
'span',
|
|
8310
8310
|
{ className: 'float-right' },
|
|
8311
8311
|
percentage,
|
|
@@ -8316,14 +8316,14 @@ var Poll = function Poll(_ref) {
|
|
|
8316
8316
|
);
|
|
8317
8317
|
})
|
|
8318
8318
|
),
|
|
8319
|
-
showAnswer && React__default[
|
|
8319
|
+
showAnswer && React__default['default'].createElement(
|
|
8320
8320
|
'h4',
|
|
8321
8321
|
{ className: 'text-center small p-3' },
|
|
8322
8322
|
'Total Votes: ',
|
|
8323
8323
|
choicesTotalCount
|
|
8324
8324
|
),
|
|
8325
|
-
showAnswer && response && React__default[
|
|
8326
|
-
React__default[
|
|
8325
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8326
|
+
React__default['default'].createElement(
|
|
8327
8327
|
'style',
|
|
8328
8328
|
{ jsx: 'true' },
|
|
8329
8329
|
'\n .correct-answer {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 0 0.5rem;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8467,34 +8467,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8467
8467
|
};
|
|
8468
8468
|
|
|
8469
8469
|
var renderPagination = function renderPagination() {
|
|
8470
|
-
return React__default[
|
|
8471
|
-
Pagination__default[
|
|
8470
|
+
return React__default['default'].createElement(
|
|
8471
|
+
Pagination__default['default'],
|
|
8472
8472
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8473
|
-
React__default[
|
|
8473
|
+
React__default['default'].createElement(Pagination__default['default'].First, { onClick: function onClick() {
|
|
8474
8474
|
return changePage('first');
|
|
8475
8475
|
}, disabled: currentPage === 1 }),
|
|
8476
|
-
React__default[
|
|
8476
|
+
React__default['default'].createElement(Pagination__default['default'].Prev, { onClick: function onClick() {
|
|
8477
8477
|
return changePage('prev');
|
|
8478
8478
|
}, disabled: currentPage === 1 }),
|
|
8479
|
-
React__default[
|
|
8479
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8480
8480
|
return renderNewPages('prev');
|
|
8481
8481
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8482
8482
|
pages.map(function (page) {
|
|
8483
|
-
return React__default[
|
|
8484
|
-
Pagination__default[
|
|
8483
|
+
return React__default['default'].createElement(
|
|
8484
|
+
Pagination__default['default'].Item,
|
|
8485
8485
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8486
8486
|
return changePage(page);
|
|
8487
8487
|
} },
|
|
8488
8488
|
page
|
|
8489
8489
|
);
|
|
8490
8490
|
}),
|
|
8491
|
-
React__default[
|
|
8491
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8492
8492
|
return renderNewPages('next');
|
|
8493
8493
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8494
|
-
React__default[
|
|
8494
|
+
React__default['default'].createElement(Pagination__default['default'].Next, { onClick: function onClick() {
|
|
8495
8495
|
return changePage('next');
|
|
8496
8496
|
}, disabled: currentPage === pageCount }),
|
|
8497
|
-
React__default[
|
|
8497
|
+
React__default['default'].createElement(Pagination__default['default'].Last, { onClick: function onClick() {
|
|
8498
8498
|
return changePage('last');
|
|
8499
8499
|
}, disabled: currentPage === pageCount })
|
|
8500
8500
|
);
|
|
@@ -8605,49 +8605,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8605
8605
|
}
|
|
8606
8606
|
};
|
|
8607
8607
|
|
|
8608
|
-
return React__default[
|
|
8609
|
-
React__default[
|
|
8608
|
+
return React__default['default'].createElement(
|
|
8609
|
+
React__default['default'].Fragment,
|
|
8610
8610
|
null,
|
|
8611
|
-
quizzes[currentPage - 1] && React__default[
|
|
8612
|
-
React__default[
|
|
8611
|
+
quizzes[currentPage - 1] && React__default['default'].createElement(
|
|
8612
|
+
React__default['default'].Fragment,
|
|
8613
8613
|
null,
|
|
8614
|
-
React__default[
|
|
8615
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8614
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8615
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default['default'].createElement(
|
|
8616
8616
|
'form',
|
|
8617
8617
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8618
8618
|
return e.preventDefault();
|
|
8619
8619
|
} },
|
|
8620
8620
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8621
|
-
return React__default[
|
|
8621
|
+
return React__default['default'].createElement(
|
|
8622
8622
|
'div',
|
|
8623
8623
|
{ key: answer._key },
|
|
8624
|
-
React__default[
|
|
8624
|
+
React__default['default'].createElement(
|
|
8625
8625
|
'label',
|
|
8626
8626
|
{ className: 'pl-2' },
|
|
8627
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8627
|
+
quizzes[currentPage - 1].multiAnswer ? React__default['default'].createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React__default['default'].createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8628
8628
|
' ' + answer.answerText
|
|
8629
8629
|
)
|
|
8630
8630
|
);
|
|
8631
8631
|
})
|
|
8632
8632
|
)
|
|
8633
8633
|
),
|
|
8634
|
-
!showAnswer && React__default[
|
|
8635
|
-
Button__default[
|
|
8634
|
+
!showAnswer && React__default['default'].createElement(
|
|
8635
|
+
Button__default['default'],
|
|
8636
8636
|
{ onClick: function onClick(e) {
|
|
8637
8637
|
return checkAnswers(e);
|
|
8638
8638
|
}, variant: 'info', block: true },
|
|
8639
8639
|
'Please click here for answer'
|
|
8640
8640
|
),
|
|
8641
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8642
|
-
React__default[
|
|
8641
|
+
quizzes[currentPage - 1] && showAnswer && React__default['default'].createElement(
|
|
8642
|
+
React__default['default'].Fragment,
|
|
8643
8643
|
null,
|
|
8644
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8644
|
+
quizzes[currentPage - 1].answer && React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8645
8645
|
),
|
|
8646
|
-
React__default[
|
|
8647
|
-
firstRender && React__default[
|
|
8648
|
-
React__default[
|
|
8646
|
+
React__default['default'].createElement('br', null),
|
|
8647
|
+
firstRender && React__default['default'].createElement(
|
|
8648
|
+
React__default['default'].Fragment,
|
|
8649
8649
|
null,
|
|
8650
|
-
pageCount > 1 && currentPage && React__default[
|
|
8650
|
+
pageCount > 1 && currentPage && React__default['default'].createElement(
|
|
8651
8651
|
'div',
|
|
8652
8652
|
{ className: 'd-flex justify-content-center' },
|
|
8653
8653
|
renderPagination()
|
|
@@ -8659,15 +8659,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8659
8659
|
var Leads = function Leads(_ref) {
|
|
8660
8660
|
var url = _ref.url;
|
|
8661
8661
|
|
|
8662
|
-
return React__default[
|
|
8662
|
+
return React__default['default'].createElement(
|
|
8663
8663
|
'div',
|
|
8664
8664
|
{ className: 'd-block text-center mb-3' },
|
|
8665
|
-
React__default[
|
|
8665
|
+
React__default['default'].createElement(
|
|
8666
8666
|
'style',
|
|
8667
8667
|
{ jsx: 'true' },
|
|
8668
8668
|
'\n @media screen and (max-width: 1190px) {\n .leads-block {\n min-height: 2000px;\n }\n }\n @media screen and (min-width: 1191px) {\n .leads-block {\n min-height: 1500px;\n }\n }\n '
|
|
8669
8669
|
),
|
|
8670
|
-
url && React__default[
|
|
8670
|
+
url && React__default['default'].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8671
8671
|
);
|
|
8672
8672
|
};
|
|
8673
8673
|
|
|
@@ -8709,49 +8709,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8709
8709
|
if (pageview) pageview(href);
|
|
8710
8710
|
};
|
|
8711
8711
|
|
|
8712
|
-
return React__default[
|
|
8712
|
+
return React__default['default'].createElement(
|
|
8713
8713
|
'div',
|
|
8714
8714
|
{ className: 'mt-3 mb-4' },
|
|
8715
|
-
React__default[
|
|
8715
|
+
React__default['default'].createElement(
|
|
8716
8716
|
reactBootstrap.Carousel,
|
|
8717
8717
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8718
8718
|
slides && slides.map(function (slide) {
|
|
8719
8719
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8720
|
-
return React__default[
|
|
8720
|
+
return React__default['default'].createElement(
|
|
8721
8721
|
reactBootstrap.Carousel.Item,
|
|
8722
8722
|
{ key: slide._key },
|
|
8723
|
-
React__default[
|
|
8723
|
+
React__default['default'].createElement(
|
|
8724
8724
|
'a',
|
|
8725
8725
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8726
|
-
React__default[
|
|
8726
|
+
React__default['default'].createElement(
|
|
8727
8727
|
'div',
|
|
8728
8728
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8729
|
-
React__default[
|
|
8729
|
+
React__default['default'].createElement(
|
|
8730
8730
|
'picture',
|
|
8731
8731
|
null,
|
|
8732
|
-
React__default[
|
|
8733
|
-
React__default[
|
|
8734
|
-
React__default[
|
|
8735
|
-
React__default[
|
|
8732
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8733
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8734
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8735
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8736
8736
|
)
|
|
8737
8737
|
)
|
|
8738
8738
|
),
|
|
8739
|
-
React__default[
|
|
8739
|
+
React__default['default'].createElement(
|
|
8740
8740
|
'div',
|
|
8741
8741
|
{ className: 'p-2' },
|
|
8742
|
-
slide.slideshowImage.caption && React__default[
|
|
8742
|
+
slide.slideshowImage.caption && React__default['default'].createElement(
|
|
8743
8743
|
'h3',
|
|
8744
8744
|
{ style: { padding: '0px' } },
|
|
8745
8745
|
slide.slideshowImage.caption
|
|
8746
8746
|
),
|
|
8747
|
-
slide.description && React__default[
|
|
8747
|
+
slide.description && React__default['default'].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8748
8748
|
)
|
|
8749
8749
|
);
|
|
8750
8750
|
}
|
|
8751
8751
|
return null;
|
|
8752
8752
|
})
|
|
8753
8753
|
),
|
|
8754
|
-
React__default[
|
|
8754
|
+
React__default['default'].createElement(
|
|
8755
8755
|
'style',
|
|
8756
8756
|
{ jsx: 'true' },
|
|
8757
8757
|
'\n .embed-item-img {\n max-width: 100%;\n max-height: 750px;\n }\n .carousel-indicators {\n bottom: -2.5rem !important;\n }\n .carousel-indicators li {\n width: 20px;\n height: 20px;\n border-radius: 50% !important;\n background-color: var(--secondary);\n }\n .carousel-control-prev {\n justify-content: flex-start;\n }\n .carousel-control-next {\n justify-content: flex-end;\n }\n '
|
|
@@ -8770,10 +8770,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8770
8770
|
sizes = _props$node.sizes,
|
|
8771
8771
|
sizeMapping = _props$node.sizeMapping;
|
|
8772
8772
|
|
|
8773
|
-
return React__default[
|
|
8773
|
+
return React__default['default'].createElement(
|
|
8774
8774
|
'div',
|
|
8775
8775
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8776
|
-
React__default[
|
|
8776
|
+
React__default['default'].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8777
8777
|
);
|
|
8778
8778
|
};
|
|
8779
8779
|
|
|
@@ -8784,15 +8784,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8784
8784
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8785
8785
|
|
|
8786
8786
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8787
|
-
return React__default[
|
|
8787
|
+
return React__default['default'].createElement(
|
|
8788
8788
|
'section',
|
|
8789
8789
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8790
|
-
Caption && React__default[
|
|
8790
|
+
Caption && React__default['default'].createElement(
|
|
8791
8791
|
'h4',
|
|
8792
8792
|
{ className: 'formstack-caption' },
|
|
8793
8793
|
Caption
|
|
8794
8794
|
),
|
|
8795
|
-
React__default[
|
|
8795
|
+
React__default['default'].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8796
8796
|
);
|
|
8797
8797
|
};
|
|
8798
8798
|
|
|
@@ -8808,36 +8808,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8808
8808
|
}
|
|
8809
8809
|
});
|
|
8810
8810
|
if (medias && medias.length > 0) {
|
|
8811
|
-
return React__default[
|
|
8811
|
+
return React__default['default'].createElement(
|
|
8812
8812
|
'div',
|
|
8813
8813
|
{ className: 'multi-media-container' },
|
|
8814
|
-
React__default[
|
|
8815
|
-
Row__default[
|
|
8814
|
+
React__default['default'].createElement(
|
|
8815
|
+
Row__default['default'],
|
|
8816
8816
|
{ noGutters: true },
|
|
8817
8817
|
medias.map(function (media) {
|
|
8818
|
-
return React__default[
|
|
8819
|
-
Col__default[
|
|
8818
|
+
return React__default['default'].createElement(
|
|
8819
|
+
Col__default['default'],
|
|
8820
8820
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8821
|
-
React__default[
|
|
8821
|
+
React__default['default'].createElement(
|
|
8822
8822
|
'a',
|
|
8823
8823
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8824
8824
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8825
|
-
React__default[
|
|
8825
|
+
React__default['default'].createElement(
|
|
8826
8826
|
'div',
|
|
8827
8827
|
{ className: 'multi-media-image-container' },
|
|
8828
|
-
imageBox && React__default[
|
|
8828
|
+
imageBox && React__default['default'].createElement(
|
|
8829
8829
|
index$2.LazyLoad,
|
|
8830
8830
|
{ once: true },
|
|
8831
|
-
React__default[
|
|
8831
|
+
React__default['default'].createElement(
|
|
8832
8832
|
'picture',
|
|
8833
8833
|
null,
|
|
8834
|
-
React__default[
|
|
8835
|
-
React__default[
|
|
8836
|
-
React__default[
|
|
8837
|
-
React__default[
|
|
8834
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8835
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8836
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8837
|
+
React__default['default'].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8838
8838
|
)
|
|
8839
8839
|
),
|
|
8840
|
-
media.caption && React__default[
|
|
8840
|
+
media.caption && React__default['default'].createElement(
|
|
8841
8841
|
'span',
|
|
8842
8842
|
{ className: 'multi-media-caption' },
|
|
8843
8843
|
media.caption
|
|
@@ -8847,7 +8847,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8847
8847
|
);
|
|
8848
8848
|
})
|
|
8849
8849
|
),
|
|
8850
|
-
React__default[
|
|
8850
|
+
React__default['default'].createElement(
|
|
8851
8851
|
'style',
|
|
8852
8852
|
{ jsx: 'true' },
|
|
8853
8853
|
'\n .multi-media-container {\n margin-bottom: 1rem;\n }\n .multi-media-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-media-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-media-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-media-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-media-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-media-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8894,7 +8894,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8894
8894
|
}
|
|
8895
8895
|
};
|
|
8896
8896
|
|
|
8897
|
-
_this.wraperRef = React__default[
|
|
8897
|
+
_this.wraperRef = React__default['default'].createRef();
|
|
8898
8898
|
_this.visible = false;
|
|
8899
8899
|
return _this;
|
|
8900
8900
|
}
|
|
@@ -8922,7 +8922,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8922
8922
|
_props$id = _props.id,
|
|
8923
8923
|
id = _props$id === undefined ? '' : _props$id;
|
|
8924
8924
|
|
|
8925
|
-
return React__default[
|
|
8925
|
+
return React__default['default'].createElement(
|
|
8926
8926
|
'div',
|
|
8927
8927
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8928
8928
|
this.props.children
|
|
@@ -8931,7 +8931,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8931
8931
|
}]);
|
|
8932
8932
|
|
|
8933
8933
|
return InscreenSensor;
|
|
8934
|
-
}(React__default[
|
|
8934
|
+
}(React__default['default'].Component);
|
|
8935
8935
|
|
|
8936
8936
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8937
8937
|
var nodes = _ref.nodes,
|
|
@@ -9042,33 +9042,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9042
9042
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9043
9043
|
var showReading = show ? 'showReading' : '';
|
|
9044
9044
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9045
|
-
return React__default[
|
|
9045
|
+
return React__default['default'].createElement(
|
|
9046
9046
|
'div',
|
|
9047
9047
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9048
|
-
React__default[
|
|
9048
|
+
React__default['default'].createElement(
|
|
9049
9049
|
'a',
|
|
9050
9050
|
{ onClick: function onClick(e) {
|
|
9051
9051
|
return articleCardClickHandler(e);
|
|
9052
9052
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9053
|
-
React__default[
|
|
9053
|
+
React__default['default'].createElement(
|
|
9054
9054
|
'div',
|
|
9055
9055
|
{ className: 'prevNext-thumbnail' },
|
|
9056
|
-
React__default[
|
|
9057
|
-
React__default[
|
|
9056
|
+
React__default['default'].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9057
|
+
React__default['default'].createElement(
|
|
9058
9058
|
'div',
|
|
9059
9059
|
{ className: 'prevNext-reading ' + showReading },
|
|
9060
9060
|
articleLabel
|
|
9061
9061
|
)
|
|
9062
9062
|
),
|
|
9063
|
-
React__default[
|
|
9063
|
+
React__default['default'].createElement(
|
|
9064
9064
|
'div',
|
|
9065
9065
|
{ className: 'prevNext-summary' },
|
|
9066
|
-
React__default[
|
|
9066
|
+
React__default['default'].createElement(
|
|
9067
9067
|
'div',
|
|
9068
9068
|
{ className: 'prevNext-publishDate' },
|
|
9069
9069
|
moment.moment(article.published).format('LL')
|
|
9070
9070
|
),
|
|
9071
|
-
React__default[
|
|
9071
|
+
React__default['default'].createElement(
|
|
9072
9072
|
'h2',
|
|
9073
9073
|
{ className: 'prevNext-title' },
|
|
9074
9074
|
article.title
|
|
@@ -9117,7 +9117,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9117
9117
|
|
|
9118
9118
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9119
9119
|
if (biography) {
|
|
9120
|
-
return React__default[
|
|
9120
|
+
return React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9121
9121
|
}
|
|
9122
9122
|
};
|
|
9123
9123
|
|
|
@@ -9275,40 +9275,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9275
9275
|
setSensorVisible(false);
|
|
9276
9276
|
};
|
|
9277
9277
|
|
|
9278
|
-
return React__default[
|
|
9279
|
-
React__default[
|
|
9278
|
+
return React__default['default'].createElement(
|
|
9279
|
+
React__default['default'].Fragment,
|
|
9280
9280
|
null,
|
|
9281
|
-
React__default[
|
|
9281
|
+
React__default['default'].createElement(
|
|
9282
9282
|
'div',
|
|
9283
9283
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9284
|
-
React__default[
|
|
9284
|
+
React__default['default'].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9285
9285
|
return handleArrowClick();
|
|
9286
9286
|
} })
|
|
9287
9287
|
),
|
|
9288
|
-
React__default[
|
|
9289
|
-
React__default[
|
|
9288
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9289
|
+
React__default['default'].createElement(
|
|
9290
9290
|
'div',
|
|
9291
9291
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9292
|
-
React__default[
|
|
9292
|
+
React__default['default'].createElement(
|
|
9293
9293
|
'h5',
|
|
9294
9294
|
{ className: 'objective-title' },
|
|
9295
9295
|
nodes.seriesTitle
|
|
9296
9296
|
),
|
|
9297
|
-
React__default[
|
|
9297
|
+
React__default['default'].createElement(
|
|
9298
9298
|
'div',
|
|
9299
9299
|
{ className: 'prevNextWrapper' },
|
|
9300
9300
|
PrevNextCards(false, -1)
|
|
9301
9301
|
)
|
|
9302
9302
|
),
|
|
9303
|
-
React__default[
|
|
9304
|
-
React__default[
|
|
9303
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' }),
|
|
9304
|
+
React__default['default'].createElement(
|
|
9305
9305
|
'div',
|
|
9306
9306
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9307
9307
|
Articles.map(function (article, index) {
|
|
9308
|
-
return React__default[
|
|
9308
|
+
return React__default['default'].createElement(
|
|
9309
9309
|
'div',
|
|
9310
9310
|
{ key: article.title },
|
|
9311
|
-
React__default[
|
|
9311
|
+
React__default['default'].createElement(
|
|
9312
9312
|
InscreenSensor,
|
|
9313
9313
|
{
|
|
9314
9314
|
visible: sensorVisible,
|
|
@@ -9326,82 +9326,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9326
9326
|
}
|
|
9327
9327
|
}
|
|
9328
9328
|
} },
|
|
9329
|
-
React__default[
|
|
9330
|
-
Head__default[
|
|
9329
|
+
React__default['default'].createElement(
|
|
9330
|
+
Head__default['default'],
|
|
9331
9331
|
null,
|
|
9332
|
-
currentTitle !== null && React__default[
|
|
9332
|
+
currentTitle !== null && React__default['default'].createElement(
|
|
9333
9333
|
'title',
|
|
9334
9334
|
{ key: 'title' },
|
|
9335
9335
|
currentTitle
|
|
9336
9336
|
),
|
|
9337
|
-
currentSummary !== null && React__default[
|
|
9338
|
-
currentURL !== null && React__default[
|
|
9339
|
-
currentTitle !== null && React__default[
|
|
9340
|
-
currentThumbnail !== null && React__default[
|
|
9341
|
-
currentSummary !== null && React__default[
|
|
9342
|
-
currentTitle !== null && React__default[
|
|
9343
|
-
currentThumbnail !== null && React__default[
|
|
9344
|
-
currentSummary !== null && React__default[
|
|
9337
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9338
|
+
currentURL !== null && React__default['default'].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9339
|
+
currentTitle !== null && React__default['default'].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9340
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9341
|
+
currentSummary !== null && React__default['default'].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9342
|
+
currentTitle !== null && React__default['default'].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9343
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9344
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9345
9345
|
),
|
|
9346
|
-
React__default[
|
|
9346
|
+
React__default['default'].createElement(
|
|
9347
9347
|
'article',
|
|
9348
9348
|
{ className: 'article-wrapper' },
|
|
9349
|
-
React__default[
|
|
9349
|
+
React__default['default'].createElement(
|
|
9350
9350
|
'div',
|
|
9351
9351
|
{ className: 'article-publishDate' },
|
|
9352
9352
|
moment.moment(article.published).format('LL')
|
|
9353
9353
|
),
|
|
9354
|
-
React__default[
|
|
9354
|
+
React__default['default'].createElement(
|
|
9355
9355
|
'div',
|
|
9356
9356
|
{ className: 'author-details-wrapper' },
|
|
9357
9357
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9358
|
-
return React__default[
|
|
9358
|
+
return React__default['default'].createElement(
|
|
9359
9359
|
'span',
|
|
9360
9360
|
{ key: index },
|
|
9361
9361
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9362
9362
|
);
|
|
9363
9363
|
})
|
|
9364
9364
|
),
|
|
9365
|
-
React__default[
|
|
9365
|
+
React__default['default'].createElement(
|
|
9366
9366
|
'h2',
|
|
9367
9367
|
{ className: 'article-title' },
|
|
9368
9368
|
article.title
|
|
9369
9369
|
),
|
|
9370
|
-
React__default[
|
|
9370
|
+
React__default['default'].createElement(
|
|
9371
9371
|
'div',
|
|
9372
9372
|
{ className: 'mt-2 mb-2' },
|
|
9373
|
-
React__default[
|
|
9373
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9374
9374
|
serializers: getSerializers,
|
|
9375
9375
|
videoAccountIDs: accountIDs,
|
|
9376
9376
|
blocks: article.text,
|
|
9377
9377
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9378
9378
|
}, client.config())),
|
|
9379
|
-
React__default[
|
|
9379
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' })
|
|
9380
9380
|
),
|
|
9381
|
-
Articles.length > 1 && React__default[
|
|
9382
|
-
React__default[
|
|
9381
|
+
Articles.length > 1 && React__default['default'].createElement(
|
|
9382
|
+
React__default['default'].Fragment,
|
|
9383
9383
|
null,
|
|
9384
|
-
React__default[
|
|
9384
|
+
React__default['default'].createElement(
|
|
9385
9385
|
'div',
|
|
9386
9386
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9387
|
-
React__default[
|
|
9387
|
+
React__default['default'].createElement(
|
|
9388
9388
|
'h5',
|
|
9389
9389
|
{ className: 'objective-title' },
|
|
9390
9390
|
nodes.seriesTitle
|
|
9391
9391
|
),
|
|
9392
|
-
React__default[
|
|
9392
|
+
React__default['default'].createElement(
|
|
9393
9393
|
'div',
|
|
9394
9394
|
{ className: 'prevNextWrapper' },
|
|
9395
9395
|
PrevNextCards(true, index)
|
|
9396
9396
|
)
|
|
9397
9397
|
),
|
|
9398
|
-
React__default[
|
|
9398
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' })
|
|
9399
9399
|
)
|
|
9400
9400
|
)
|
|
9401
9401
|
)
|
|
9402
9402
|
);
|
|
9403
9403
|
}),
|
|
9404
|
-
React__default[
|
|
9404
|
+
React__default['default'].createElement(
|
|
9405
9405
|
'style',
|
|
9406
9406
|
{ jsx: 'true' },
|
|
9407
9407
|
'\n .scrollToTopArrow {\n position: fixed;\n top: 150px;\n display: flex;\n justify-content: center;\n width: ' + contentWidth + 'px;\n opacity: 1;\n z-index: 99999999999;\n visibility: hidden;\n }\n .scrollToTopArrow > svg {\n min-height: 50px;\n min-width: 50px;\n max-height: 50px;\n max-width: 50px;\n }\n .block-content > div p {\n padding: 0;\n }\n\n h2.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.prevNext-title {\n padding: 0;\n font-size: 1rem;\n font-weight: 500;\n }\n .article-wrapper {\n border: 1px solid #252525;\n border-radius: 5px;\n padding: 1rem 1rem 0 1rem;\n margin-bottom: 1rem;\n }\n .prevNext-reading {\n margin-top: -10px;\n width: 75%;\n text-align: center;\n background: white;\n border: 1px solid #252525;\n align-self: center;\n display: none;\n }\n .showReading {\n display: block;\n }\n .author-details-wrapper a {\n color: #252525;\n }\n .objective-prevNext-Wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .objective-title {\n padding: 0 !important;\n }\n .prevNext-thumbnail {\n display: flex;\n flex-direction: column;\n min-width: 225px;\n max-width: 225px;\n overflow: hidden;\n align-items: center;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-thumbnail img {\n height: 125px;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-summary {\n text-align: center;\n }\n .prevNext-publishDate {\n font-size: 0.75rem;\n margin-top: 0.5rem;\n }\n .prevNext-title {\n padding: 0 !important;\n line-height: 1 !important;\n font-weight: 500;\n }\n .prevNextWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n flex-wrap: wrap;\n }\n .prevNextWrapper a {\n display: flex;\n flex-direction: column;\n color: #252525;\n align-items: center;\n }\n .prevNextCards {\n max-width: 250px;\n margin-bottom: 1rem;\n }\n @media only screen and (max-width: 568px) {\n .prevNextWrapper {\n flex-direction: column;\n align-items: center;\n }\n .prevNextCards {\n margin-bottom: 2rem;\n }\n }\n @media only screen and (max-width: 568px) {\n }\n '
|
|
@@ -9431,11 +9431,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9431
9431
|
};
|
|
9432
9432
|
}, [handleClickOutside]);
|
|
9433
9433
|
|
|
9434
|
-
return React__default[
|
|
9434
|
+
return React__default['default'].createElement(
|
|
9435
9435
|
'div',
|
|
9436
9436
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9437
|
-
React__default[
|
|
9438
|
-
React__default[
|
|
9437
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9438
|
+
React__default['default'].createElement(
|
|
9439
9439
|
'style',
|
|
9440
9440
|
{ jsx: 'true' },
|
|
9441
9441
|
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9449,7 +9449,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9449
9449
|
}
|
|
9450
9450
|
};
|
|
9451
9451
|
|
|
9452
|
-
var FigureImage$1 = React__default[
|
|
9452
|
+
var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
9453
9453
|
var node = _ref2.node,
|
|
9454
9454
|
client = _ref2.client,
|
|
9455
9455
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9457,13 +9457,13 @@ var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
|
9457
9457
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9458
9458
|
|
|
9459
9459
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9460
|
-
return React__default[
|
|
9460
|
+
return React__default['default'].createElement(
|
|
9461
9461
|
'picture',
|
|
9462
9462
|
null,
|
|
9463
|
-
React__default[
|
|
9464
|
-
React__default[
|
|
9465
|
-
React__default[
|
|
9466
|
-
React__default[
|
|
9463
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9464
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9465
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9466
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9467
9467
|
style: figureImageStyle,
|
|
9468
9468
|
className: 'figure-image',
|
|
9469
9469
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9514,30 +9514,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9514
9514
|
|
|
9515
9515
|
var renderTooltip = function renderTooltip(props) {
|
|
9516
9516
|
if (infoBox[0].title) {
|
|
9517
|
-
return React__default[
|
|
9518
|
-
Popover__default[
|
|
9517
|
+
return React__default['default'].createElement(
|
|
9518
|
+
Popover__default['default'],
|
|
9519
9519
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9520
|
-
React__default[
|
|
9521
|
-
Popover__default[
|
|
9520
|
+
React__default['default'].createElement(
|
|
9521
|
+
Popover__default['default'].Title,
|
|
9522
9522
|
{ as: 'h3' },
|
|
9523
9523
|
infoBox[0].title
|
|
9524
9524
|
),
|
|
9525
|
-
React__default[
|
|
9526
|
-
Popover__default[
|
|
9525
|
+
React__default['default'].createElement(
|
|
9526
|
+
Popover__default['default'].Content,
|
|
9527
9527
|
null,
|
|
9528
|
-
React__default[
|
|
9528
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9529
9529
|
)
|
|
9530
9530
|
);
|
|
9531
9531
|
} else {
|
|
9532
|
-
return React__default[
|
|
9533
|
-
Tooltip__default[
|
|
9532
|
+
return React__default['default'].createElement(
|
|
9533
|
+
Tooltip__default['default'],
|
|
9534
9534
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9535
|
-
React__default[
|
|
9535
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9536
9536
|
);
|
|
9537
9537
|
}
|
|
9538
9538
|
};
|
|
9539
9539
|
|
|
9540
|
-
var FigureImageWOverLay = React__default[
|
|
9540
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9541
9541
|
var node = _ref3.node,
|
|
9542
9542
|
client = _ref3.client,
|
|
9543
9543
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9547,13 +9547,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9547
9547
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9548
9548
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9549
9549
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9550
|
-
return React__default[
|
|
9550
|
+
return React__default['default'].createElement(
|
|
9551
9551
|
'picture',
|
|
9552
9552
|
null,
|
|
9553
|
-
React__default[
|
|
9554
|
-
React__default[
|
|
9555
|
-
React__default[
|
|
9556
|
-
main.main_42 && link ? React__default[
|
|
9553
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9554
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9555
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9556
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9557
9557
|
style: figureImageStyle,
|
|
9558
9558
|
className: 'figure-image',
|
|
9559
9559
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9562,10 +9562,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9562
9562
|
onClick: function onClick() {
|
|
9563
9563
|
return handleClickFigure(node, client);
|
|
9564
9564
|
}
|
|
9565
|
-
})) : React__default[
|
|
9566
|
-
OverlayTrigger__default[
|
|
9565
|
+
})) : React__default['default'].createElement(
|
|
9566
|
+
OverlayTrigger__default['default'],
|
|
9567
9567
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9568
|
-
React__default[
|
|
9568
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9569
9569
|
style: figureImageStyle,
|
|
9570
9570
|
className: 'figure-image',
|
|
9571
9571
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9619,13 +9619,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9619
9619
|
|
|
9620
9620
|
var FigureCaption = React.useCallback(function () {
|
|
9621
9621
|
if (imgcaption && imgcaption.length > 0) {
|
|
9622
|
-
return React__default[
|
|
9622
|
+
return React__default['default'].createElement(
|
|
9623
9623
|
'div',
|
|
9624
9624
|
{ className: 'figure-caption' },
|
|
9625
|
-
React__default[
|
|
9625
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9626
9626
|
);
|
|
9627
9627
|
} else if (caption) {
|
|
9628
|
-
return React__default[
|
|
9628
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9629
9629
|
} else return null;
|
|
9630
9630
|
}, [caption, imgcaption]);
|
|
9631
9631
|
|
|
@@ -9642,24 +9642,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9642
9642
|
setShowLightbox(true);
|
|
9643
9643
|
}, [node, client]);
|
|
9644
9644
|
|
|
9645
|
-
return React__default[
|
|
9646
|
-
React__default[
|
|
9645
|
+
return React__default['default'].createElement(
|
|
9646
|
+
React__default['default'].Fragment,
|
|
9647
9647
|
null,
|
|
9648
|
-
infoBox.length >= 1 ? React__default[
|
|
9649
|
-
Figure__default[
|
|
9648
|
+
infoBox.length >= 1 ? React__default['default'].createElement(
|
|
9649
|
+
Figure__default['default'],
|
|
9650
9650
|
{ className: '' + class_name, style: figureStyle },
|
|
9651
|
-
link ? React__default[
|
|
9651
|
+
link ? React__default['default'].createElement(
|
|
9652
9652
|
'a',
|
|
9653
9653
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9654
|
-
React__default[
|
|
9655
|
-
React__default[
|
|
9656
|
-
) : React__default[
|
|
9657
|
-
React__default[
|
|
9654
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9655
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9656
|
+
) : React__default['default'].createElement(
|
|
9657
|
+
React__default['default'].Fragment,
|
|
9658
9658
|
null,
|
|
9659
|
-
React__default[
|
|
9660
|
-
React__default[
|
|
9659
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9660
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9661
9661
|
),
|
|
9662
|
-
React__default[
|
|
9662
|
+
React__default['default'].createElement(LightBox, {
|
|
9663
9663
|
showLightbox: showLightbox,
|
|
9664
9664
|
lightboxImgSrc: lightboxImgSrc,
|
|
9665
9665
|
closeLightbox: function closeLightbox() {
|
|
@@ -9667,21 +9667,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9667
9667
|
setShowLightbox(false);
|
|
9668
9668
|
}
|
|
9669
9669
|
})
|
|
9670
|
-
) : React__default[
|
|
9671
|
-
Figure__default[
|
|
9670
|
+
) : React__default['default'].createElement(
|
|
9671
|
+
Figure__default['default'],
|
|
9672
9672
|
{ className: '' + class_name, style: figureStyle },
|
|
9673
|
-
link ? React__default[
|
|
9673
|
+
link ? React__default['default'].createElement(
|
|
9674
9674
|
'a',
|
|
9675
9675
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9676
|
-
React__default[
|
|
9677
|
-
React__default[
|
|
9678
|
-
) : React__default[
|
|
9679
|
-
React__default[
|
|
9676
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9677
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9678
|
+
) : React__default['default'].createElement(
|
|
9679
|
+
React__default['default'].Fragment,
|
|
9680
9680
|
null,
|
|
9681
|
-
React__default[
|
|
9682
|
-
React__default[
|
|
9681
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9682
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9683
9683
|
),
|
|
9684
|
-
React__default[
|
|
9684
|
+
React__default['default'].createElement(LightBox, {
|
|
9685
9685
|
showLightbox: showLightbox,
|
|
9686
9686
|
lightboxImgSrc: lightboxImgSrc,
|
|
9687
9687
|
closeLightbox: function closeLightbox() {
|
|
@@ -9690,7 +9690,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9690
9690
|
}
|
|
9691
9691
|
})
|
|
9692
9692
|
),
|
|
9693
|
-
React__default[
|
|
9693
|
+
React__default['default'].createElement(
|
|
9694
9694
|
'style',
|
|
9695
9695
|
{ jsx: 'true' },
|
|
9696
9696
|
'\n .figure-caption,\n .figure-caption h1,\n .figure-caption h2,\n .figure-caption h3,\n .figure-caption h4,\n .figure-caption h5,\n .figure-caption h6,\n .figure-caption p,\n .figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n '
|
|
@@ -9698,7 +9698,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9698
9698
|
);
|
|
9699
9699
|
};
|
|
9700
9700
|
|
|
9701
|
-
var Figure = React__default[
|
|
9701
|
+
var Figure = React__default['default'].memo(FigureComponent, compareProps);
|
|
9702
9702
|
|
|
9703
9703
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9704
9704
|
React.useEffect(function () {
|
|
@@ -9715,7 +9715,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9715
9715
|
}, [ref]);
|
|
9716
9716
|
}
|
|
9717
9717
|
|
|
9718
|
-
var FigureImage = React__default[
|
|
9718
|
+
var FigureImage = React__default['default'].memo(function (_ref) {
|
|
9719
9719
|
var imagesCount = _ref.imagesCount,
|
|
9720
9720
|
image = _ref.image,
|
|
9721
9721
|
client = _ref.client,
|
|
@@ -9723,13 +9723,13 @@ var FigureImage = React__default["default"].memo(function (_ref) {
|
|
|
9723
9723
|
link = _ref.link,
|
|
9724
9724
|
handleClickFigure = _ref.handleClickFigure;
|
|
9725
9725
|
|
|
9726
|
-
return React__default[
|
|
9726
|
+
return React__default['default'].createElement(
|
|
9727
9727
|
'picture',
|
|
9728
9728
|
null,
|
|
9729
|
-
React__default[
|
|
9730
|
-
React__default[
|
|
9731
|
-
React__default[
|
|
9732
|
-
React__default[
|
|
9729
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9730
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9731
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9732
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9733
9733
|
'images-count': imagesCount,
|
|
9734
9734
|
className: 'multi-figure-image',
|
|
9735
9735
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9766,13 +9766,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9766
9766
|
imgcaption = _ref2.imgcaption;
|
|
9767
9767
|
|
|
9768
9768
|
if (imgcaption && imgcaption.length > 0) {
|
|
9769
|
-
return React__default[
|
|
9769
|
+
return React__default['default'].createElement(
|
|
9770
9770
|
'div',
|
|
9771
9771
|
{ className: 'multi-figure-caption' },
|
|
9772
|
-
React__default[
|
|
9772
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9773
9773
|
);
|
|
9774
9774
|
} else if (caption) {
|
|
9775
|
-
return React__default[
|
|
9775
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9776
9776
|
} else return null;
|
|
9777
9777
|
};
|
|
9778
9778
|
|
|
@@ -9781,7 +9781,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9781
9781
|
setOpenImg(true);
|
|
9782
9782
|
}, [client]);
|
|
9783
9783
|
|
|
9784
|
-
var FigureImageWOverLay = React__default[
|
|
9784
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9785
9785
|
var imagesCount = _ref3.imagesCount,
|
|
9786
9786
|
image = _ref3.image,
|
|
9787
9787
|
client = _ref3.client,
|
|
@@ -9791,13 +9791,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9791
9791
|
|
|
9792
9792
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9793
9793
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9794
|
-
return React__default[
|
|
9794
|
+
return React__default['default'].createElement(
|
|
9795
9795
|
'picture',
|
|
9796
9796
|
null,
|
|
9797
|
-
React__default[
|
|
9798
|
-
React__default[
|
|
9799
|
-
React__default[
|
|
9800
|
-
main.main_42 && link ? React__default[
|
|
9797
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9798
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9799
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9800
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9801
9801
|
'images-count': imagesCount,
|
|
9802
9802
|
className: 'multi-figure-image',
|
|
9803
9803
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9806,10 +9806,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9806
9806
|
onClick: function onClick() {
|
|
9807
9807
|
return handleClickFigure(image, client);
|
|
9808
9808
|
}
|
|
9809
|
-
})) : React__default[
|
|
9810
|
-
OverlayTrigger__default[
|
|
9809
|
+
})) : React__default['default'].createElement(
|
|
9810
|
+
OverlayTrigger__default['default'],
|
|
9811
9811
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9812
|
-
React__default[
|
|
9812
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9813
9813
|
'images-count': imagesCount,
|
|
9814
9814
|
className: 'multi-figure-image',
|
|
9815
9815
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9825,102 +9825,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9825
9825
|
|
|
9826
9826
|
var renderTooltip = function renderTooltip(image) {
|
|
9827
9827
|
if (image.infoBox[0].title) {
|
|
9828
|
-
return React__default[
|
|
9829
|
-
Popover__default[
|
|
9828
|
+
return React__default['default'].createElement(
|
|
9829
|
+
Popover__default['default'],
|
|
9830
9830
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9831
|
-
React__default[
|
|
9832
|
-
Popover__default[
|
|
9831
|
+
React__default['default'].createElement(
|
|
9832
|
+
Popover__default['default'].Title,
|
|
9833
9833
|
{ as: 'h3' },
|
|
9834
9834
|
image.infoBox[0].title
|
|
9835
9835
|
),
|
|
9836
|
-
React__default[
|
|
9837
|
-
Popover__default[
|
|
9836
|
+
React__default['default'].createElement(
|
|
9837
|
+
Popover__default['default'].Content,
|
|
9838
9838
|
null,
|
|
9839
|
-
React__default[
|
|
9839
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9840
9840
|
)
|
|
9841
9841
|
);
|
|
9842
9842
|
} else {
|
|
9843
|
-
return React__default[
|
|
9844
|
-
Tooltip__default[
|
|
9843
|
+
return React__default['default'].createElement(
|
|
9844
|
+
Tooltip__default['default'],
|
|
9845
9845
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9846
|
-
React__default[
|
|
9846
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9847
9847
|
);
|
|
9848
9848
|
}
|
|
9849
9849
|
};
|
|
9850
9850
|
|
|
9851
9851
|
if (images && images.length > 0) {
|
|
9852
|
-
return React__default[
|
|
9852
|
+
return React__default['default'].createElement(
|
|
9853
9853
|
'div',
|
|
9854
9854
|
{ className: 'multi-figure-container' },
|
|
9855
|
-
React__default[
|
|
9856
|
-
Row__default[
|
|
9855
|
+
React__default['default'].createElement(
|
|
9856
|
+
Row__default['default'],
|
|
9857
9857
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9858
9858
|
images.map(function (image, index) {
|
|
9859
9859
|
if (image.infoBox) {
|
|
9860
|
-
return React__default[
|
|
9861
|
-
Col__default[
|
|
9860
|
+
return React__default['default'].createElement(
|
|
9861
|
+
Col__default['default'],
|
|
9862
9862
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9863
|
-
image.link ? React__default[
|
|
9863
|
+
image.link ? React__default['default'].createElement(
|
|
9864
9864
|
'a',
|
|
9865
9865
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9866
|
-
React__default[
|
|
9866
|
+
React__default['default'].createElement(
|
|
9867
9867
|
'div',
|
|
9868
9868
|
{ className: 'multi-figure-image-container' },
|
|
9869
|
-
React__default[
|
|
9869
|
+
React__default['default'].createElement(
|
|
9870
9870
|
index$2.LazyLoad,
|
|
9871
9871
|
{ once: true },
|
|
9872
|
-
React__default[
|
|
9872
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9873
9873
|
),
|
|
9874
|
-
React__default[
|
|
9874
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9875
9875
|
)
|
|
9876
|
-
) : React__default[
|
|
9876
|
+
) : React__default['default'].createElement(
|
|
9877
9877
|
'div',
|
|
9878
9878
|
{ className: 'multi-figure-image-container' },
|
|
9879
|
-
React__default[
|
|
9879
|
+
React__default['default'].createElement(
|
|
9880
9880
|
index$2.LazyLoad,
|
|
9881
9881
|
{ once: true },
|
|
9882
|
-
React__default[
|
|
9882
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9883
9883
|
),
|
|
9884
|
-
React__default[
|
|
9884
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9885
9885
|
)
|
|
9886
9886
|
);
|
|
9887
9887
|
} else {
|
|
9888
|
-
return React__default[
|
|
9889
|
-
Col__default[
|
|
9888
|
+
return React__default['default'].createElement(
|
|
9889
|
+
Col__default['default'],
|
|
9890
9890
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9891
|
-
image.link ? React__default[
|
|
9891
|
+
image.link ? React__default['default'].createElement(
|
|
9892
9892
|
'a',
|
|
9893
9893
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9894
|
-
React__default[
|
|
9894
|
+
React__default['default'].createElement(
|
|
9895
9895
|
'div',
|
|
9896
9896
|
{ className: 'multi-figure-image-container' },
|
|
9897
|
-
React__default[
|
|
9897
|
+
React__default['default'].createElement(
|
|
9898
9898
|
index$2.LazyLoad,
|
|
9899
9899
|
{ once: true },
|
|
9900
|
-
React__default[
|
|
9900
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9901
9901
|
),
|
|
9902
|
-
React__default[
|
|
9902
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9903
9903
|
)
|
|
9904
|
-
) : React__default[
|
|
9904
|
+
) : React__default['default'].createElement(
|
|
9905
9905
|
'div',
|
|
9906
9906
|
{ className: 'multi-figure-image-container' },
|
|
9907
|
-
React__default[
|
|
9907
|
+
React__default['default'].createElement(
|
|
9908
9908
|
index$2.LazyLoad,
|
|
9909
9909
|
{ once: true },
|
|
9910
|
-
React__default[
|
|
9910
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9911
9911
|
),
|
|
9912
|
-
React__default[
|
|
9912
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9913
9913
|
)
|
|
9914
9914
|
);
|
|
9915
9915
|
}
|
|
9916
9916
|
})
|
|
9917
9917
|
),
|
|
9918
|
-
React__default[
|
|
9918
|
+
React__default['default'].createElement(
|
|
9919
9919
|
'div',
|
|
9920
9920
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9921
|
-
React__default[
|
|
9921
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9922
9922
|
),
|
|
9923
|
-
React__default[
|
|
9923
|
+
React__default['default'].createElement(
|
|
9924
9924
|
'style',
|
|
9925
9925
|
{ jsx: 'true' },
|
|
9926
9926
|
'\n .multi-figure-caption,\n .multi-figure-caption h1,\n .multi-figure-caption h2,\n .multi-figure-caption h3,\n .multi-figure-caption h4,\n .multi-figure-caption h5,\n .multi-figure-caption h6,\n .multi-figure-caption p,\n .multi-figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: contain;\n cursor: pointer;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 300px;\n }\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9969,23 +9969,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9969
9969
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9970
9970
|
}, []);
|
|
9971
9971
|
|
|
9972
|
-
return React__default[
|
|
9973
|
-
React__default[
|
|
9972
|
+
return React__default['default'].createElement(
|
|
9973
|
+
React__default['default'].Fragment,
|
|
9974
9974
|
null,
|
|
9975
|
-
React__default[
|
|
9976
|
-
Head__default[
|
|
9975
|
+
React__default['default'].createElement(
|
|
9976
|
+
Head__default['default'],
|
|
9977
9977
|
null,
|
|
9978
|
-
React__default[
|
|
9978
|
+
React__default['default'].createElement('script', {
|
|
9979
9979
|
dangerouslySetInnerHTML: {
|
|
9980
9980
|
__html: 'history.scrollRestoration = "manual"'
|
|
9981
9981
|
}
|
|
9982
9982
|
})
|
|
9983
9983
|
),
|
|
9984
|
-
React__default[
|
|
9984
|
+
React__default['default'].createElement(
|
|
9985
9985
|
'div',
|
|
9986
9986
|
{ id: elementId },
|
|
9987
|
-
React__default[
|
|
9988
|
-
React__default[
|
|
9987
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9988
|
+
React__default['default'].createElement(
|
|
9989
9989
|
'style',
|
|
9990
9990
|
{ jsx: 'true' },
|
|
9991
9991
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -10039,11 +10039,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10039
10039
|
|
|
10040
10040
|
|
|
10041
10041
|
|
|
10042
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10042
|
+
var _react2 = _interopRequireDefault(React__default['default']);
|
|
10043
10043
|
|
|
10044
10044
|
|
|
10045
10045
|
|
|
10046
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10046
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
|
|
10047
10047
|
|
|
10048
10048
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10049
10049
|
var noop = function noop() {};
|
|
@@ -10198,7 +10198,7 @@ var ScriptTag = function (_Component) {
|
|
|
10198
10198
|
};
|
|
10199
10199
|
|
|
10200
10200
|
return ScriptTag;
|
|
10201
|
-
}(React__default[
|
|
10201
|
+
}(React__default['default'].Component);
|
|
10202
10202
|
|
|
10203
10203
|
ScriptTag.propTypes = {
|
|
10204
10204
|
/**
|
|
@@ -10290,11 +10290,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10290
10290
|
}, [anonymousID]);
|
|
10291
10291
|
|
|
10292
10292
|
if (iframeSrc) {
|
|
10293
|
-
return React__default[
|
|
10293
|
+
return React__default['default'].createElement(
|
|
10294
10294
|
'section',
|
|
10295
10295
|
{ className: 'form-assembly' },
|
|
10296
|
-
iframeSrc && React__default[
|
|
10297
|
-
React__default[
|
|
10296
|
+
iframeSrc && React__default['default'].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10297
|
+
React__default['default'].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10298
10298
|
);
|
|
10299
10299
|
}
|
|
10300
10300
|
|
|
@@ -10331,27 +10331,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10331
10331
|
return window.removeEventListener('resize', handleResize);
|
|
10332
10332
|
};
|
|
10333
10333
|
}, []);
|
|
10334
|
-
return React__default[
|
|
10334
|
+
return React__default['default'].createElement(
|
|
10335
10335
|
'div',
|
|
10336
10336
|
{ className: 'blockTableHolder', ref: holder },
|
|
10337
|
-
React__default[
|
|
10337
|
+
React__default['default'].createElement(
|
|
10338
10338
|
'div',
|
|
10339
10339
|
{ className: 'blockTable' },
|
|
10340
10340
|
rows && rows.map(function (row) {
|
|
10341
|
-
return React__default[
|
|
10341
|
+
return React__default['default'].createElement(
|
|
10342
10342
|
'div',
|
|
10343
10343
|
{ className: 'blockTableRow' },
|
|
10344
10344
|
row.cells && row.cells.map(function (cell) {
|
|
10345
|
-
return React__default[
|
|
10345
|
+
return React__default['default'].createElement(
|
|
10346
10346
|
'div',
|
|
10347
10347
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10348
|
-
React__default[
|
|
10348
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10349
10349
|
);
|
|
10350
10350
|
})
|
|
10351
10351
|
);
|
|
10352
10352
|
})
|
|
10353
10353
|
),
|
|
10354
|
-
React__default[
|
|
10354
|
+
React__default['default'].createElement(
|
|
10355
10355
|
'style',
|
|
10356
10356
|
{ jsx: true },
|
|
10357
10357
|
'\n .blockTableRow {\n display: flex;\n ' + (showBorders && 'border-top: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\n .blockTableRow:last-of-type {\n ' + (showBorders && 'border-bottom: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell {\n padding: 0.5rem;\n ' + (showBorders && 'border-left: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell > div {\n width: 100%;\n }\n .blockTableCell > div p {\n margin: 0;\n }\n .blockTableCell > div figure {\n margin: 0 !important;\n }\n .blockTableCell > div figure img {\n margin: 0 !important;\n }\n .blockTableCell:last-of-type {\n ' + (showBorders && 'border-right: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -10365,7 +10365,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10365
10365
|
_props$node.needSegmentSupport;
|
|
10366
10366
|
|
|
10367
10367
|
|
|
10368
|
-
return React__default[
|
|
10368
|
+
return React__default['default'].createElement('div', { id: FormID });
|
|
10369
10369
|
};
|
|
10370
10370
|
|
|
10371
10371
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -10425,7 +10425,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10425
10425
|
if (href && href.charAt(0) === '#') {
|
|
10426
10426
|
var elementId = href.slice(1);
|
|
10427
10427
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10428
|
-
return React__default[
|
|
10428
|
+
return React__default['default'].createElement(
|
|
10429
10429
|
'a',
|
|
10430
10430
|
{ onClick: function onClick() {
|
|
10431
10431
|
return ScrollToElement(elementId);
|
|
@@ -10435,11 +10435,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10435
10435
|
}
|
|
10436
10436
|
|
|
10437
10437
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkSisterSite.checkSisterSite(href) ? 'noreferrer noopener' : '');
|
|
10438
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10438
|
+
return href ? linkRel.trim().length > 0 ? React__default['default'].createElement(
|
|
10439
10439
|
'a',
|
|
10440
10440
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10441
10441
|
children
|
|
10442
|
-
) : React__default[
|
|
10442
|
+
) : React__default['default'].createElement(
|
|
10443
10443
|
'a',
|
|
10444
10444
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10445
10445
|
children
|
|
@@ -10504,12 +10504,12 @@ var getSerializers = function getSerializers() {
|
|
|
10504
10504
|
var node = _ref.node;
|
|
10505
10505
|
var url = node.url;
|
|
10506
10506
|
|
|
10507
|
-
return React__default[
|
|
10507
|
+
return React__default['default'].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10508
10508
|
},
|
|
10509
10509
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10510
10510
|
var node = _ref2.node;
|
|
10511
10511
|
|
|
10512
|
-
return React__default[
|
|
10512
|
+
return React__default['default'].createElement(YouTubeGallery, {
|
|
10513
10513
|
nodes: node,
|
|
10514
10514
|
article: article,
|
|
10515
10515
|
meta: meta,
|
|
@@ -10523,7 +10523,7 @@ var getSerializers = function getSerializers() {
|
|
|
10523
10523
|
articleSeries: function articleSeries(_ref3) {
|
|
10524
10524
|
var node = _ref3.node;
|
|
10525
10525
|
|
|
10526
|
-
return React__default[
|
|
10526
|
+
return React__default['default'].createElement(ArticleSeries, {
|
|
10527
10527
|
nodes: node,
|
|
10528
10528
|
accountIDs: videoAccountIDs || {},
|
|
10529
10529
|
pageview: pageview,
|
|
@@ -10536,61 +10536,61 @@ var getSerializers = function getSerializers() {
|
|
|
10536
10536
|
figure: function figure(_ref4) {
|
|
10537
10537
|
var node = _ref4.node;
|
|
10538
10538
|
|
|
10539
|
-
return React__default[
|
|
10539
|
+
return React__default['default'].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10540
10540
|
},
|
|
10541
10541
|
multifigure: function multifigure(_ref5) {
|
|
10542
10542
|
var node = _ref5.node;
|
|
10543
10543
|
|
|
10544
|
-
return React__default[
|
|
10544
|
+
return React__default['default'].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10545
10545
|
},
|
|
10546
10546
|
slideshow: function slideshow(_ref6) {
|
|
10547
10547
|
var node = _ref6.node;
|
|
10548
10548
|
var slides = node.slides;
|
|
10549
10549
|
|
|
10550
|
-
return React__default[
|
|
10550
|
+
return React__default['default'].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10551
10551
|
},
|
|
10552
10552
|
sidebar: function sidebar(_ref7) {
|
|
10553
10553
|
var node = _ref7.node;
|
|
10554
10554
|
var caption = node.caption,
|
|
10555
10555
|
content = node.content;
|
|
10556
10556
|
|
|
10557
|
-
return React__default[
|
|
10557
|
+
return React__default['default'].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10558
10558
|
},
|
|
10559
10559
|
datatable: function datatable(_ref8) {
|
|
10560
10560
|
var node = _ref8.node;
|
|
10561
10561
|
var table = node.table;
|
|
10562
10562
|
|
|
10563
|
-
return React__default[
|
|
10563
|
+
return React__default['default'].createElement(TableShow, { rows: table.rows });
|
|
10564
10564
|
},
|
|
10565
10565
|
media: function media(_ref9) {
|
|
10566
10566
|
var node = _ref9.node;
|
|
10567
10567
|
|
|
10568
|
-
return React__default[
|
|
10568
|
+
return React__default['default'].createElement(Media, { node: node, client: client });
|
|
10569
10569
|
},
|
|
10570
10570
|
iframe: function iframe(_ref10) {
|
|
10571
10571
|
var node = _ref10.node;
|
|
10572
10572
|
|
|
10573
|
-
return React__default[
|
|
10573
|
+
return React__default['default'].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10574
10574
|
},
|
|
10575
10575
|
video: function video(_ref11) {
|
|
10576
10576
|
var node = _ref11.node;
|
|
10577
10577
|
|
|
10578
|
-
return React__default[
|
|
10578
|
+
return React__default['default'].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10579
10579
|
},
|
|
10580
10580
|
audio: function audio(_ref12) {
|
|
10581
10581
|
var node = _ref12.node;
|
|
10582
10582
|
|
|
10583
|
-
return React__default[
|
|
10583
|
+
return React__default['default'].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10584
10584
|
},
|
|
10585
10585
|
poll: function poll(_ref13) {
|
|
10586
10586
|
var node = _ref13.node;
|
|
10587
10587
|
|
|
10588
|
-
return React__default[
|
|
10588
|
+
return React__default['default'].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10589
10589
|
},
|
|
10590
10590
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10591
10591
|
var node = _ref14.node;
|
|
10592
10592
|
|
|
10593
|
-
return React__default[
|
|
10593
|
+
return React__default['default'].createElement(Poll, {
|
|
10594
10594
|
node: node,
|
|
10595
10595
|
client: client,
|
|
10596
10596
|
pageview: pageview,
|
|
@@ -10604,35 +10604,35 @@ var getSerializers = function getSerializers() {
|
|
|
10604
10604
|
var node = _ref15.node;
|
|
10605
10605
|
var quizzes = node.quizzes;
|
|
10606
10606
|
|
|
10607
|
-
return React__default[
|
|
10607
|
+
return React__default['default'].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10608
10608
|
},
|
|
10609
10609
|
leads: function leads(_ref16) {
|
|
10610
10610
|
var node = _ref16.node;
|
|
10611
10611
|
var leadID = node.leadID;
|
|
10612
10612
|
|
|
10613
10613
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10614
|
-
return React__default[
|
|
10614
|
+
return React__default['default'].createElement(Leads, { url: url });
|
|
10615
10615
|
},
|
|
10616
10616
|
slideshows: function slideshows(_ref17) {
|
|
10617
10617
|
var node = _ref17.node;
|
|
10618
10618
|
|
|
10619
|
-
return React__default[
|
|
10619
|
+
return React__default['default'].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10620
10620
|
},
|
|
10621
10621
|
nativeAd: function nativeAd(_ref18) {
|
|
10622
10622
|
var node = _ref18.node;
|
|
10623
10623
|
|
|
10624
|
-
return React__default[
|
|
10624
|
+
return React__default['default'].createElement(NativeAd, { node: node });
|
|
10625
10625
|
},
|
|
10626
10626
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10627
10627
|
var node = _ref19.node;
|
|
10628
10628
|
|
|
10629
|
-
return React__default[
|
|
10629
|
+
return React__default['default'].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10630
10630
|
},
|
|
10631
10631
|
hrtag: function hrtag() {
|
|
10632
|
-
return React__default[
|
|
10632
|
+
return React__default['default'].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10633
10633
|
},
|
|
10634
10634
|
brtag: function brtag() {
|
|
10635
|
-
return React__default[
|
|
10635
|
+
return React__default['default'].createElement('br', { className: 'line-break' });
|
|
10636
10636
|
},
|
|
10637
10637
|
formstack: function formstack(_ref20) {
|
|
10638
10638
|
var node = _ref20.node;
|
|
@@ -10640,30 +10640,30 @@ var getSerializers = function getSerializers() {
|
|
|
10640
10640
|
Caption = node.Caption,
|
|
10641
10641
|
needSegmentSupport = node.needSegmentSupport;
|
|
10642
10642
|
|
|
10643
|
-
return React__default[
|
|
10643
|
+
return React__default['default'].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10644
10644
|
},
|
|
10645
10645
|
formassembly: FormAssembly,
|
|
10646
10646
|
digiohSmartTag: DigiohSmartTag,
|
|
10647
10647
|
multimedia: function multimedia(_ref21) {
|
|
10648
10648
|
var node = _ref21.node;
|
|
10649
10649
|
|
|
10650
|
-
return React__default[
|
|
10650
|
+
return React__default['default'].createElement(MultiMedia, { node: node, client: client });
|
|
10651
10651
|
},
|
|
10652
10652
|
blockTable: function blockTable(_ref22) {
|
|
10653
10653
|
var node = _ref22.node;
|
|
10654
|
-
return React__default[
|
|
10654
|
+
return React__default['default'].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10655
10655
|
}
|
|
10656
10656
|
},
|
|
10657
10657
|
marks: {
|
|
10658
10658
|
superscript: function superscript(props) {
|
|
10659
|
-
return React__default[
|
|
10659
|
+
return React__default['default'].createElement(
|
|
10660
10660
|
'sup',
|
|
10661
10661
|
null,
|
|
10662
10662
|
props.children
|
|
10663
10663
|
);
|
|
10664
10664
|
},
|
|
10665
10665
|
subscript: function subscript(props) {
|
|
10666
|
-
return React__default[
|
|
10666
|
+
return React__default['default'].createElement(
|
|
10667
10667
|
'sub',
|
|
10668
10668
|
null,
|
|
10669
10669
|
props.children
|
|
@@ -10673,11 +10673,11 @@ var getSerializers = function getSerializers() {
|
|
|
10673
10673
|
var children = props.children,
|
|
10674
10674
|
mark = props.mark;
|
|
10675
10675
|
|
|
10676
|
-
return React__default[
|
|
10676
|
+
return React__default['default'].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10677
10677
|
},
|
|
10678
10678
|
alignleft: function alignleft(_ref23) {
|
|
10679
10679
|
var children = _ref23.children;
|
|
10680
|
-
return React__default[
|
|
10680
|
+
return React__default['default'].createElement(
|
|
10681
10681
|
'div',
|
|
10682
10682
|
{ style: { textAlign: 'left' } },
|
|
10683
10683
|
children
|
|
@@ -10685,7 +10685,7 @@ var getSerializers = function getSerializers() {
|
|
|
10685
10685
|
},
|
|
10686
10686
|
alignright: function alignright(_ref24) {
|
|
10687
10687
|
var children = _ref24.children;
|
|
10688
|
-
return React__default[
|
|
10688
|
+
return React__default['default'].createElement(
|
|
10689
10689
|
'div',
|
|
10690
10690
|
{ style: { textAlign: 'right' } },
|
|
10691
10691
|
children
|
|
@@ -10693,7 +10693,7 @@ var getSerializers = function getSerializers() {
|
|
|
10693
10693
|
},
|
|
10694
10694
|
aligncenter: function aligncenter(_ref25) {
|
|
10695
10695
|
var children = _ref25.children;
|
|
10696
|
-
return React__default[
|
|
10696
|
+
return React__default['default'].createElement(
|
|
10697
10697
|
'div',
|
|
10698
10698
|
{ style: { textAlign: 'center' } },
|
|
10699
10699
|
children
|
|
@@ -10701,7 +10701,7 @@ var getSerializers = function getSerializers() {
|
|
|
10701
10701
|
},
|
|
10702
10702
|
alignjustify: function alignjustify(_ref26) {
|
|
10703
10703
|
var children = _ref26.children;
|
|
10704
|
-
return React__default[
|
|
10704
|
+
return React__default['default'].createElement(
|
|
10705
10705
|
'div',
|
|
10706
10706
|
{ style: { textAlign: 'justify' } },
|
|
10707
10707
|
children
|
|
@@ -10711,7 +10711,7 @@ var getSerializers = function getSerializers() {
|
|
|
10711
10711
|
var children = props.children,
|
|
10712
10712
|
color = props.mark.color;
|
|
10713
10713
|
|
|
10714
|
-
return React__default[
|
|
10714
|
+
return React__default['default'].createElement(
|
|
10715
10715
|
'span',
|
|
10716
10716
|
{ style: { color: color ? color.hex : null } },
|
|
10717
10717
|
children
|