@mjhls/mjh-framework 1.0.448 → 1.0.449
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +6 -7
- package/dist/cjs/AD300x250x600.js +6 -7
- package/dist/cjs/AD728x90.js +8 -9
- package/dist/cjs/ADFloatingFooter.js +11 -12
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-7b80e936.js → ADInfeed-5c1d1425.js} +9 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-23bfb514.js → ADlgInfeed-ce35bd57.js} +6 -7
- package/dist/cjs/AccordionPanel.js +21 -23
- package/dist/cjs/AdSlot.js +13 -15
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleQueue.js +105 -108
- package/dist/cjs/Auth.js +84 -88
- package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
- package/dist/cjs/{BlockContent-80608595.js → BlockContent-77f81ffc.js} +24 -26
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +31 -34
- package/dist/cjs/ConferenceArticleCard.js +18 -19
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +72 -76
- package/dist/cjs/DeckQueue.js +68 -72
- package/dist/cjs/{Dfp-19f10ad4.js → Dfp-fcdeabc4.js} +20 -22
- package/dist/cjs/EventsDeck.js +72 -79
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/{Figure-ce37247b.js → Figure-eeac313a.js} +20 -21
- package/dist/cjs/ForbesHero.js +33 -34
- package/dist/cjs/GridContent.js +141 -145
- package/dist/cjs/GridHero.js +34 -35
- package/dist/cjs/GroupDeck.js +33 -34
- package/dist/cjs/HamMagazine.js +103 -108
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +10 -11
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalHero.js +24 -25
- package/dist/cjs/{InscreenSensor-04a70c60.js → InscreenSensor-bcdec6b0.js} +7 -8
- package/dist/cjs/IssueContentDeck.js +59 -64
- package/dist/cjs/IssueDeck.js +59 -64
- package/dist/cjs/IssueLanding.js +16 -17
- package/dist/cjs/LeftNav.js +16 -18
- package/dist/cjs/MasterDeck.js +43 -44
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +106 -111
- package/dist/cjs/NavNative.js +65 -70
- package/dist/cjs/NavNormal.js +36 -41
- package/dist/cjs/OncliveHero.js +17 -18
- package/dist/cjs/OncliveLargeHero.js +58 -59
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PublicationDeck.js +57 -62
- package/dist/cjs/PublicationLanding.js +44 -48
- package/dist/cjs/QueueDeckExpanded.js +104 -104
- package/dist/cjs/RelatedContent.js +18 -19
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SideFooter.js +17 -18
- package/dist/cjs/{SocialNavFooter-d9ab4d17.js → SocialNavFooter-9a07520f.js} +17 -18
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TemplateNormal.js +31 -32
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +18 -19
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +31 -32
- package/dist/cjs/View.js +148 -154
- package/dist/cjs/YahooHero.js +29 -30
- package/dist/cjs/YoutubeGroup.js +41 -42
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-156bd4d6.js} +5 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +209 -214
- package/dist/cjs/{getTargeting-3ced038f.js → getTargeting-37612527.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-637d3f1e.js +3 -0
- package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
- package/dist/cjs/{index-b2448ff6.js → index-fa3cec70.js} +8 -10
- package/dist/cjs/{index.es-44c8e726.js → index.es-9110add6.js} +7 -8
- package/dist/cjs/index.js +23 -23
- package/dist/cjs/{inherits-4a2f1cc3.js → inherits-93684212.js} +1 -1
- package/dist/cjs/{main-d76cde9c.js → main-88348b15.js} +16 -17
- package/dist/cjs/{moment-66a6a284.js → moment-575fe24c.js} +1 -1
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-cd0d9d3b.js} +11 -13
- package/dist/cjs/{typeof-583cdc4b.js → typeof-1869832c.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-a40ae0cd.js → visibility-sensor-0c45a583.js} +6 -8
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +4 -4
- package/dist/esm/AD300x250x600.js +4 -4
- package/dist/esm/AD728x90.js +6 -6
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-1d67a779.js → ADInfeed-24924eab.js} +5 -5
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-d5161b6e.js → ADlgInfeed-019d6cd9.js} +4 -4
- package/dist/esm/AccordionPanel.js +16 -16
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +92 -92
- package/dist/esm/Auth.js +71 -71
- package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
- package/dist/esm/{BlockContent-4af2feb9.js → BlockContent-e9b4ddcf.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -23
- package/dist/esm/ConferenceArticleCard.js +13 -13
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +52 -52
- package/dist/esm/DeckQueue.js +45 -45
- package/dist/esm/{Dfp-7addbfb1.js → Dfp-58cfc45a.js} +10 -10
- package/dist/esm/EventsDeck.js +44 -44
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/{Figure-408929f3.js → Figure-bc2b95d7.js} +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +102 -102
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +29 -29
- package/dist/esm/HamMagazine.js +74 -74
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +19 -19
- package/dist/esm/{InscreenSensor-b7f931bf.js → InscreenSensor-67905ed5.js} +5 -5
- package/dist/esm/IssueContentDeck.js +35 -35
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +14 -14
- package/dist/esm/LeftNav.js +12 -12
- package/dist/esm/MasterDeck.js +37 -37
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +79 -79
- package/dist/esm/NavNative.js +47 -47
- package/dist/esm/NavNormal.js +20 -20
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PdfDownload.js +5 -5
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +25 -25
- package/dist/esm/QueueDeckExpanded.js +90 -90
- package/dist/esm/RelatedContent.js +14 -14
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialNavFooter-1a531144.js → SocialNavFooter-4fb16720.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +25 -25
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +14 -14
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +26 -26
- package/dist/esm/View.js +122 -122
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -3
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +170 -170
- package/dist/esm/{index-fb49124c.js → index-3f4dd6f2.js} +3 -3
- package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
- package/dist/esm/{index.es-27d0bae9.js → index.es-29c1cef5.js} +5 -5
- package/dist/esm/index.js +18 -18
- package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
- package/dist/esm/{main-8c8784b8.js → main-d7ee6151.js} +16 -16
- package/dist/esm/{moment-12415288.js → moment-e2f9b20c.js} +1 -1
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{typeof-7e72fee0.js → typeof-5f046efd.js} +1 -1
- package/dist/esm/{visibility-sensor-87d6b78c.js → visibility-sensor-0baa4eea.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
require('./_to-object-329a650b.js');
|
|
5
7
|
require('./core.get-iterator-method-41e87ec1.js');
|
|
@@ -9,18 +11,20 @@ var from = require('./from-ea347372.js');
|
|
|
9
11
|
require('./_object-pie-68c5bcbc.js');
|
|
10
12
|
var _extends$1 = require('./extends-60837c34.js');
|
|
11
13
|
require('./web.dom.iterable-43c3e277.js');
|
|
12
|
-
require('./typeof-
|
|
14
|
+
require('./typeof-1869832c.js');
|
|
13
15
|
require('./_is-array-754e012d.js');
|
|
14
16
|
var React = require('react');
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
+
var React__default = _interopDefault(React);
|
|
18
|
+
var index = require('./index-fa3cec70.js');
|
|
19
|
+
var PropTypes = _interopDefault(require('prop-types'));
|
|
17
20
|
var Router = require('next/router');
|
|
21
|
+
var Router__default = _interopDefault(Router);
|
|
18
22
|
require('./isSymbol-488934a7.js');
|
|
19
23
|
require('./debounce-32e57002.js');
|
|
20
24
|
require('react-dom');
|
|
21
|
-
var index = require('./index-be0c82be.js');
|
|
22
|
-
var index$2 = require('./index-
|
|
23
|
-
var main = require('./main-
|
|
25
|
+
var index$1 = require('./index-be0c82be.js');
|
|
26
|
+
var index$2 = require('./index-fa0fb52c.js');
|
|
27
|
+
var main = require('./main-88348b15.js');
|
|
24
28
|
var entities = require('./entities-310b46ee.js');
|
|
25
29
|
var slicedToArray = require('./slicedToArray-8063ee51.js');
|
|
26
30
|
require('./stringify-7c5aff47.js');
|
|
@@ -30,24 +34,15 @@ require('./promise-074978a7.js');
|
|
|
30
34
|
var Beam = require('./Beam.js');
|
|
31
35
|
require('./Segment.js');
|
|
32
36
|
var AdSlot = require('./AdSlot.js');
|
|
33
|
-
var BlockContent = require('./BlockContent-
|
|
37
|
+
var BlockContent = require('./BlockContent-77f81ffc.js');
|
|
34
38
|
var smoothscroll = require('./smoothscroll-95231a70.js');
|
|
35
39
|
var GroupDeck = require('./GroupDeck.js');
|
|
36
40
|
var reactBootstrap = require('react-bootstrap');
|
|
37
|
-
var Button = require('react-bootstrap/Button');
|
|
38
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
41
|
+
var Button = _interopDefault(require('react-bootstrap/Button'));
|
|
42
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
39
43
|
var util = require('./util-f2c1b65b.js');
|
|
40
|
-
var Pagination = require('react-bootstrap/Pagination');
|
|
41
|
-
var dynamic = require('next/dynamic');
|
|
42
|
-
|
|
43
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
44
|
-
|
|
45
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
46
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
47
|
-
var Router__default = /*#__PURE__*/_interopDefaultLegacy(Router);
|
|
48
|
-
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
49
|
-
var Pagination__default = /*#__PURE__*/_interopDefaultLegacy(Pagination);
|
|
50
|
-
var dynamic__default = /*#__PURE__*/_interopDefaultLegacy(dynamic);
|
|
44
|
+
var Pagination = _interopDefault(require('react-bootstrap/Pagination'));
|
|
45
|
+
var dynamic = _interopDefault(require('next/dynamic'));
|
|
51
46
|
|
|
52
47
|
var urlFor = function urlFor(source, builder) {
|
|
53
48
|
return builder.image(source).auto('format');
|
|
@@ -56,7 +51,7 @@ var urlFor = function urlFor(source, builder) {
|
|
|
56
51
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
57
52
|
var pageNumber = selectedIndex + 1;
|
|
58
53
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
59
|
-
Router__default
|
|
54
|
+
Router__default.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
60
55
|
};
|
|
61
56
|
|
|
62
57
|
var Slideshow = function Slideshow(_ref) {
|
|
@@ -71,7 +66,7 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
71
66
|
carouselIndex = _useState2[0],
|
|
72
67
|
setCarouselIndex = _useState2[1];
|
|
73
68
|
|
|
74
|
-
var builder = index.imageUrlBuilder(client);
|
|
69
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
75
70
|
|
|
76
71
|
React.useEffect(function () {
|
|
77
72
|
var itemArr = router.asPath.split('?page=');
|
|
@@ -84,24 +79,24 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
84
79
|
}, [router]);
|
|
85
80
|
|
|
86
81
|
React.useEffect(function () {
|
|
87
|
-
index
|
|
82
|
+
index.lib_3.refresh();
|
|
88
83
|
if (pageview) pageview(router.asPath);
|
|
89
84
|
}, [router]);
|
|
90
85
|
|
|
91
|
-
return React__default
|
|
86
|
+
return React__default.createElement(
|
|
92
87
|
'div',
|
|
93
88
|
{ className: 'mt-3 mb-3' },
|
|
94
|
-
React__default
|
|
89
|
+
React__default.createElement(
|
|
95
90
|
reactBootstrap.Carousel,
|
|
96
91
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
97
92
|
return onChangeSlide(selectedIndex, router);
|
|
98
93
|
}, interval: null },
|
|
99
94
|
slides && slides.map(function (slide) {
|
|
100
|
-
return React__default
|
|
95
|
+
return React__default.createElement(
|
|
101
96
|
reactBootstrap.Carousel.Item,
|
|
102
97
|
{ key: slide._key },
|
|
103
|
-
React__default
|
|
104
|
-
slide.caption && React__default
|
|
98
|
+
React__default.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
|
|
99
|
+
slide.caption && React__default.createElement(
|
|
105
100
|
'p',
|
|
106
101
|
{ className: 'p-2' },
|
|
107
102
|
slide.caption
|
|
@@ -1873,40 +1868,40 @@ var YouTube = function (_React$Component) {
|
|
|
1873
1868
|
}, {
|
|
1874
1869
|
key: 'render',
|
|
1875
1870
|
value: function render() {
|
|
1876
|
-
return React__default
|
|
1871
|
+
return React__default.createElement(
|
|
1877
1872
|
'div',
|
|
1878
1873
|
{ className: this.props.containerClassName },
|
|
1879
|
-
React__default
|
|
1874
|
+
React__default.createElement('div', { id: this.props.id, className: this.props.className, ref: this.refContainer })
|
|
1880
1875
|
);
|
|
1881
1876
|
}
|
|
1882
1877
|
}]);
|
|
1883
1878
|
|
|
1884
1879
|
return YouTube;
|
|
1885
|
-
}(React__default
|
|
1880
|
+
}(React__default.Component);
|
|
1886
1881
|
|
|
1887
1882
|
YouTube.propTypes = {
|
|
1888
|
-
videoId:
|
|
1883
|
+
videoId: PropTypes.string,
|
|
1889
1884
|
|
|
1890
1885
|
// custom ID for player element
|
|
1891
|
-
id:
|
|
1886
|
+
id: PropTypes.string,
|
|
1892
1887
|
|
|
1893
1888
|
// custom class name for player element
|
|
1894
|
-
className:
|
|
1889
|
+
className: PropTypes.string,
|
|
1895
1890
|
// custom class name for player container element
|
|
1896
|
-
containerClassName:
|
|
1891
|
+
containerClassName: PropTypes.string,
|
|
1897
1892
|
|
|
1898
1893
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1899
|
-
opts:
|
|
1894
|
+
opts: PropTypes.objectOf(PropTypes.any),
|
|
1900
1895
|
|
|
1901
1896
|
// event subscriptions
|
|
1902
|
-
onReady:
|
|
1903
|
-
onError:
|
|
1904
|
-
onPlay:
|
|
1905
|
-
onPause:
|
|
1906
|
-
onEnd:
|
|
1907
|
-
onStateChange:
|
|
1908
|
-
onPlaybackRateChange:
|
|
1909
|
-
onPlaybackQualityChange:
|
|
1897
|
+
onReady: PropTypes.func,
|
|
1898
|
+
onError: PropTypes.func,
|
|
1899
|
+
onPlay: PropTypes.func,
|
|
1900
|
+
onPause: PropTypes.func,
|
|
1901
|
+
onEnd: PropTypes.func,
|
|
1902
|
+
onStateChange: PropTypes.func,
|
|
1903
|
+
onPlaybackRateChange: PropTypes.func,
|
|
1904
|
+
onPlaybackQualityChange: PropTypes.func
|
|
1910
1905
|
};
|
|
1911
1906
|
YouTube.defaultProps = {
|
|
1912
1907
|
id: null,
|
|
@@ -2024,11 +2019,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2024
2019
|
Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
2025
2020
|
};
|
|
2026
2021
|
|
|
2027
|
-
return React__default
|
|
2022
|
+
return React__default.createElement(
|
|
2028
2023
|
'div',
|
|
2029
2024
|
{ id: 'fluid-video-container' },
|
|
2030
|
-
React__default
|
|
2031
|
-
React__default
|
|
2025
|
+
React__default.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2026
|
+
React__default.createElement(
|
|
2032
2027
|
'style',
|
|
2033
2028
|
{ jsx: 'true' },
|
|
2034
2029
|
'\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 '
|
|
@@ -2041,20 +2036,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2041
2036
|
content = _ref.content,
|
|
2042
2037
|
getSerializers = _ref.getSerializers;
|
|
2043
2038
|
|
|
2044
|
-
return React__default
|
|
2039
|
+
return React__default.createElement(
|
|
2045
2040
|
'article',
|
|
2046
2041
|
{ className: 'sidebar' },
|
|
2047
|
-
React__default
|
|
2042
|
+
React__default.createElement(
|
|
2048
2043
|
'div',
|
|
2049
2044
|
null,
|
|
2050
|
-
React__default
|
|
2045
|
+
React__default.createElement(
|
|
2051
2046
|
'h3',
|
|
2052
2047
|
null,
|
|
2053
2048
|
caption
|
|
2054
2049
|
),
|
|
2055
|
-
React__default
|
|
2050
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2056
2051
|
),
|
|
2057
|
-
React__default
|
|
2052
|
+
React__default.createElement(
|
|
2058
2053
|
'style',
|
|
2059
2054
|
{ jsx: 'true' },
|
|
2060
2055
|
'\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 @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2065,18 +2060,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2065
2060
|
var TableShow = function TableShow(_ref) {
|
|
2066
2061
|
var rows = _ref.rows;
|
|
2067
2062
|
|
|
2068
|
-
return React__default
|
|
2063
|
+
return React__default.createElement(
|
|
2069
2064
|
reactBootstrap.Table,
|
|
2070
2065
|
{ bordered: true, hover: true, responsive: true },
|
|
2071
|
-
React__default
|
|
2066
|
+
React__default.createElement(
|
|
2072
2067
|
'tbody',
|
|
2073
2068
|
null,
|
|
2074
2069
|
rows && rows.map(function (row) {
|
|
2075
|
-
return React__default
|
|
2070
|
+
return React__default.createElement(
|
|
2076
2071
|
'tr',
|
|
2077
2072
|
{ key: row._key },
|
|
2078
2073
|
row.cells && row.cells.map(function (cell, index) {
|
|
2079
|
-
return cell && React__default
|
|
2074
|
+
return cell && React__default.createElement(
|
|
2080
2075
|
'td',
|
|
2081
2076
|
{ key: index },
|
|
2082
2077
|
cell
|
|
@@ -2104,7 +2099,7 @@ var Media = function Media(_ref) {
|
|
|
2104
2099
|
_node$disableTextWrap = node.disableTextWrap,
|
|
2105
2100
|
disableTextWrap = _node$disableTextWrap === undefined ? false : _node$disableTextWrap;
|
|
2106
2101
|
|
|
2107
|
-
var builder = index.imageUrlBuilder(client);
|
|
2102
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
2108
2103
|
|
|
2109
2104
|
var urlFor = function urlFor(source) {
|
|
2110
2105
|
return builder.image(source).auto('format');
|
|
@@ -2179,14 +2174,14 @@ var Media = function Media(_ref) {
|
|
|
2179
2174
|
margin: imageMargin
|
|
2180
2175
|
};
|
|
2181
2176
|
|
|
2182
|
-
return React__default
|
|
2177
|
+
return React__default.createElement(
|
|
2183
2178
|
reactBootstrap.Figure,
|
|
2184
2179
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2185
|
-
React__default
|
|
2180
|
+
React__default.createElement(
|
|
2186
2181
|
'a',
|
|
2187
2182
|
{ href: uploadDoc.asset.url, target: blank ? '_blank' : '_self' },
|
|
2188
|
-
React__default
|
|
2189
|
-
caption && React__default
|
|
2183
|
+
React__default.createElement(reactBootstrap.Figure.Image, _extends$1._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt })),
|
|
2184
|
+
caption && React__default.createElement(
|
|
2190
2185
|
reactBootstrap.Figure.Caption,
|
|
2191
2186
|
{ className: 'media-caption' },
|
|
2192
2187
|
caption
|
|
@@ -2194,7 +2189,7 @@ var Media = function Media(_ref) {
|
|
|
2194
2189
|
)
|
|
2195
2190
|
);
|
|
2196
2191
|
} else if (caption && caption !== '') {
|
|
2197
|
-
return React__default
|
|
2192
|
+
return React__default.createElement(
|
|
2198
2193
|
'a',
|
|
2199
2194
|
_extends$1._extends({}, uploadDoc.downloadMedia ? {
|
|
2200
2195
|
href: uploadDoc.asset.url + '?dl='
|
|
@@ -2211,10 +2206,10 @@ var Media = function Media(_ref) {
|
|
|
2211
2206
|
var IFrame = function IFrame(_ref) {
|
|
2212
2207
|
var url = _ref.url;
|
|
2213
2208
|
|
|
2214
|
-
return React__default
|
|
2209
|
+
return React__default.createElement(
|
|
2215
2210
|
'div',
|
|
2216
2211
|
{ className: 'd-block text-center mb-3' },
|
|
2217
|
-
React__default
|
|
2212
|
+
React__default.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2218
2213
|
);
|
|
2219
2214
|
};
|
|
2220
2215
|
|
|
@@ -2320,54 +2315,54 @@ var Video = function Video(_ref) {
|
|
|
2320
2315
|
|
|
2321
2316
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2322
2317
|
if (videoID) {
|
|
2323
|
-
return React__default
|
|
2318
|
+
return React__default.createElement(
|
|
2324
2319
|
'div',
|
|
2325
2320
|
null,
|
|
2326
|
-
React__default
|
|
2321
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2327
2322
|
onSuccess: onVideoSuccess,
|
|
2328
2323
|
accountId: accountIDs.brightcove.accountId,
|
|
2329
2324
|
videoId: videoID,
|
|
2330
2325
|
playerId: accountIDs.brightcove.playerId,
|
|
2331
2326
|
attrs: { className: 'brightcove', autoplay: 'muted' }
|
|
2332
2327
|
}),
|
|
2333
|
-
React__default
|
|
2328
|
+
React__default.createElement(
|
|
2334
2329
|
'style',
|
|
2335
2330
|
{ jsx: 'true' },
|
|
2336
2331
|
'\n .brightcove {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n }\n .brightcove .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 '
|
|
2337
2332
|
)
|
|
2338
2333
|
);
|
|
2339
2334
|
} else if (playlistID) {
|
|
2340
|
-
return React__default
|
|
2335
|
+
return React__default.createElement(
|
|
2341
2336
|
'div',
|
|
2342
2337
|
null,
|
|
2343
|
-
React__default
|
|
2338
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2344
2339
|
accountId: accountIDs.brightcove.accountId,
|
|
2345
2340
|
playlistId: playlistID,
|
|
2346
2341
|
playerId: accountIDs.brightcove.playerId,
|
|
2347
2342
|
onSuccess: onVideoSuccess,
|
|
2348
2343
|
attrs: { className: 'brightcove brightcove-playlist', autoplay: 'muted' }
|
|
2349
2344
|
}),
|
|
2350
|
-
React__default
|
|
2345
|
+
React__default.createElement(
|
|
2351
2346
|
'style',
|
|
2352
2347
|
{ jsx: 'true' },
|
|
2353
2348
|
'\n .brightcove {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n }\n .brightcove .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 '
|
|
2354
2349
|
)
|
|
2355
2350
|
);
|
|
2356
2351
|
} else if (experienceID) {
|
|
2357
|
-
return React__default
|
|
2352
|
+
return React__default.createElement(
|
|
2358
2353
|
'div',
|
|
2359
2354
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2360
|
-
React__default
|
|
2355
|
+
React__default.createElement(
|
|
2361
2356
|
'div',
|
|
2362
2357
|
{ style: { paddingTop: '56.25%' } },
|
|
2363
|
-
React__default
|
|
2358
|
+
React__default.createElement('iframe', {
|
|
2364
2359
|
src: 'https://players.brightcove.net/' + accountIDs.brightcove.accountId + '/experience_' + experienceID + '/index.html',
|
|
2365
2360
|
allowFullScreen: 'true',
|
|
2366
2361
|
webkitallowfullscreen: 'true',
|
|
2367
2362
|
mozallowfullscreen: 'true',
|
|
2368
2363
|
style: { border: 'none', position: 'absolute', top: '0px', right: '0px', bottom: '0px', left: '0px', width: '100%', height: '100%' }
|
|
2369
2364
|
}),
|
|
2370
|
-
React__default
|
|
2365
|
+
React__default.createElement(
|
|
2371
2366
|
'style',
|
|
2372
2367
|
{ jsx: 'true' },
|
|
2373
2368
|
'\n .brightcove-playlist iframe {\n height: 100% !important;\n }\n '
|
|
@@ -2389,7 +2384,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2389
2384
|
});
|
|
2390
2385
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2391
2386
|
|
|
2392
|
-
var _propTypes = _interopRequireDefault(
|
|
2387
|
+
var _propTypes = _interopRequireDefault(PropTypes);
|
|
2393
2388
|
|
|
2394
2389
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2395
2390
|
|
|
@@ -2982,7 +2977,7 @@ function isEqual(a, b) {
|
|
|
2982
2977
|
return true;
|
|
2983
2978
|
}
|
|
2984
2979
|
|
|
2985
|
-
if ((0, React__default
|
|
2980
|
+
if ((0, React__default.isValidElement)(a) && (0, React__default.isValidElement)(b)) {
|
|
2986
2981
|
return true;
|
|
2987
2982
|
}
|
|
2988
2983
|
|
|
@@ -3044,7 +3039,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3044
3039
|
});
|
|
3045
3040
|
exports["default"] = void 0;
|
|
3046
3041
|
|
|
3047
|
-
var _react = _interopRequireWildcard(React__default
|
|
3042
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3048
3043
|
|
|
3049
3044
|
|
|
3050
3045
|
|
|
@@ -3452,7 +3447,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3452
3447
|
});
|
|
3453
3448
|
exports["default"] = createSinglePlayer;
|
|
3454
3449
|
|
|
3455
|
-
var _react = _interopRequireWildcard(React__default
|
|
3450
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3456
3451
|
|
|
3457
3452
|
|
|
3458
3453
|
|
|
@@ -3608,7 +3603,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3608
3603
|
});
|
|
3609
3604
|
exports["default"] = exports.YouTube = void 0;
|
|
3610
3605
|
|
|
3611
|
-
var _react = _interopRequireWildcard(React__default
|
|
3606
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3612
3607
|
|
|
3613
3608
|
|
|
3614
3609
|
|
|
@@ -3911,7 +3906,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3911
3906
|
});
|
|
3912
3907
|
exports["default"] = exports.SoundCloud = void 0;
|
|
3913
3908
|
|
|
3914
|
-
var _react = _interopRequireWildcard(React__default
|
|
3909
|
+
var _react = _interopRequireWildcard(React__default);
|
|
3915
3910
|
|
|
3916
3911
|
|
|
3917
3912
|
|
|
@@ -4126,7 +4121,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4126
4121
|
});
|
|
4127
4122
|
exports["default"] = exports.Vimeo = void 0;
|
|
4128
4123
|
|
|
4129
|
-
var _react = _interopRequireWildcard(React__default
|
|
4124
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4130
4125
|
|
|
4131
4126
|
|
|
4132
4127
|
|
|
@@ -4380,7 +4375,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4380
4375
|
});
|
|
4381
4376
|
exports["default"] = exports.Facebook = void 0;
|
|
4382
4377
|
|
|
4383
|
-
var _react = _interopRequireWildcard(React__default
|
|
4378
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4384
4379
|
|
|
4385
4380
|
|
|
4386
4381
|
|
|
@@ -4590,7 +4585,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4590
4585
|
});
|
|
4591
4586
|
exports["default"] = exports.Streamable = void 0;
|
|
4592
4587
|
|
|
4593
|
-
var _react = _interopRequireWildcard(React__default
|
|
4588
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4594
4589
|
|
|
4595
4590
|
|
|
4596
4591
|
|
|
@@ -4799,7 +4794,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4799
4794
|
});
|
|
4800
4795
|
exports["default"] = exports.Wistia = void 0;
|
|
4801
4796
|
|
|
4802
|
-
var _react = _interopRequireWildcard(React__default
|
|
4797
|
+
var _react = _interopRequireWildcard(React__default);
|
|
4803
4798
|
|
|
4804
4799
|
|
|
4805
4800
|
|
|
@@ -5024,7 +5019,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5024
5019
|
});
|
|
5025
5020
|
exports["default"] = exports.Twitch = void 0;
|
|
5026
5021
|
|
|
5027
|
-
var _react = _interopRequireWildcard(React__default
|
|
5022
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5028
5023
|
|
|
5029
5024
|
|
|
5030
5025
|
|
|
@@ -5238,7 +5233,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5238
5233
|
});
|
|
5239
5234
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5240
5235
|
|
|
5241
|
-
var _react = _interopRequireWildcard(React__default
|
|
5236
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5242
5237
|
|
|
5243
5238
|
|
|
5244
5239
|
|
|
@@ -5468,7 +5463,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5468
5463
|
});
|
|
5469
5464
|
exports["default"] = exports.Mixcloud = void 0;
|
|
5470
5465
|
|
|
5471
|
-
var _react = _interopRequireWildcard(React__default
|
|
5466
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5472
5467
|
|
|
5473
5468
|
|
|
5474
5469
|
|
|
@@ -5665,7 +5660,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5665
5660
|
});
|
|
5666
5661
|
exports["default"] = exports.FilePlayer = void 0;
|
|
5667
5662
|
|
|
5668
|
-
var _react = _interopRequireWildcard(React__default
|
|
5663
|
+
var _react = _interopRequireWildcard(React__default);
|
|
5669
5664
|
|
|
5670
5665
|
|
|
5671
5666
|
|
|
@@ -6234,7 +6229,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6234
6229
|
});
|
|
6235
6230
|
exports["default"] = void 0;
|
|
6236
6231
|
|
|
6237
|
-
var _react = _interopRequireWildcard(React__default
|
|
6232
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6238
6233
|
|
|
6239
6234
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6240
6235
|
|
|
@@ -6411,7 +6406,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6411
6406
|
});
|
|
6412
6407
|
exports["default"] = renderPreloadPlayers;
|
|
6413
6408
|
|
|
6414
|
-
var _react = _interopRequireDefault(React__default
|
|
6409
|
+
var _react = _interopRequireDefault(React__default);
|
|
6415
6410
|
|
|
6416
6411
|
var _Player = _interopRequireDefault(Player_1);
|
|
6417
6412
|
|
|
@@ -6553,7 +6548,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
6553
6548
|
});
|
|
6554
6549
|
exports["default"] = void 0;
|
|
6555
6550
|
|
|
6556
|
-
var _react = _interopRequireWildcard(React__default
|
|
6551
|
+
var _react = _interopRequireWildcard(React__default);
|
|
6557
6552
|
|
|
6558
6553
|
|
|
6559
6554
|
|
|
@@ -6861,26 +6856,26 @@ var Audio = function Audio(_ref) {
|
|
|
6861
6856
|
var node = _ref.node;
|
|
6862
6857
|
|
|
6863
6858
|
if (node.uploadAudio) {
|
|
6864
|
-
return React__default
|
|
6859
|
+
return React__default.createElement(
|
|
6865
6860
|
'div',
|
|
6866
6861
|
{ className: 'audio d-block text-center mb-3' },
|
|
6867
|
-
React__default
|
|
6862
|
+
React__default.createElement(
|
|
6868
6863
|
'audio',
|
|
6869
6864
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
6870
|
-
React__default
|
|
6871
|
-
React__default
|
|
6865
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
6866
|
+
React__default.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
6872
6867
|
'Your browser does not support the audio element.'
|
|
6873
6868
|
)
|
|
6874
6869
|
);
|
|
6875
6870
|
} else if (node.audioFilePth) {
|
|
6876
6871
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
6877
6872
|
if (hostname === 'embeds.audioboom.com') {
|
|
6878
|
-
return React__default
|
|
6873
|
+
return React__default.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } });
|
|
6879
6874
|
}
|
|
6880
|
-
return React__default
|
|
6875
|
+
return React__default.createElement(
|
|
6881
6876
|
'div',
|
|
6882
6877
|
{ className: 'audio' },
|
|
6883
|
-
React__default
|
|
6878
|
+
React__default.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' })
|
|
6884
6879
|
);
|
|
6885
6880
|
}
|
|
6886
6881
|
|
|
@@ -6971,10 +6966,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6971
6966
|
Beam.report_beam_video('Pause', main.main_16, duration, current, segment);
|
|
6972
6967
|
};
|
|
6973
6968
|
|
|
6974
|
-
return React__default
|
|
6969
|
+
return React__default.createElement(
|
|
6975
6970
|
'div',
|
|
6976
6971
|
null,
|
|
6977
|
-
vidLoaded && React__default
|
|
6972
|
+
vidLoaded && React__default.createElement(
|
|
6978
6973
|
'video',
|
|
6979
6974
|
{
|
|
6980
6975
|
poster: thumbnail || '',
|
|
@@ -6992,7 +6987,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
6992
6987
|
onPlay: function onPlay(e) {
|
|
6993
6988
|
return handleOnPlay(e);
|
|
6994
6989
|
} },
|
|
6995
|
-
React__default
|
|
6990
|
+
React__default.createElement('source', { src: url, type: 'video/mp4' }),
|
|
6996
6991
|
'Your browser does not support the video tag.'
|
|
6997
6992
|
)
|
|
6998
6993
|
);
|
|
@@ -7004,7 +6999,7 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7004
6999
|
getSerializers = _ref.getSerializers,
|
|
7005
7000
|
accountIDs = _ref.accountIDs;
|
|
7006
7001
|
|
|
7007
|
-
var builder = index.imageUrlBuilder(client);
|
|
7002
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
7008
7003
|
function urlFor(source) {
|
|
7009
7004
|
return builder.image(source);
|
|
7010
7005
|
}
|
|
@@ -7248,13 +7243,13 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7248
7243
|
}
|
|
7249
7244
|
};
|
|
7250
7245
|
|
|
7251
|
-
return React__default
|
|
7246
|
+
return React__default.createElement(
|
|
7252
7247
|
'div',
|
|
7253
7248
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7254
|
-
React__default
|
|
7249
|
+
React__default.createElement(
|
|
7255
7250
|
'div',
|
|
7256
7251
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7257
|
-
vidUrl && vidType == 'youtube' && React__default
|
|
7252
|
+
vidUrl && vidType == 'youtube' && React__default.createElement(YouTube, {
|
|
7258
7253
|
className: 'fluid-iframe',
|
|
7259
7254
|
videoId: smoothscroll.getYoutubeId(vidUrl),
|
|
7260
7255
|
opts: opts,
|
|
@@ -7265,9 +7260,9 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7265
7260
|
return handleOnEnd(e);
|
|
7266
7261
|
}
|
|
7267
7262
|
}),
|
|
7268
|
-
vidUrl && vidType == 'mp4' && React__default
|
|
7269
|
-
vidUrl && vidType == 'brightcove' && React__default
|
|
7270
|
-
React__default
|
|
7263
|
+
vidUrl && vidType == 'mp4' && React__default.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7264
|
+
vidUrl && vidType == 'brightcove' && React__default.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7265
|
+
React__default.createElement(
|
|
7271
7266
|
'div',
|
|
7272
7267
|
{
|
|
7273
7268
|
className: 'vid-series',
|
|
@@ -7282,13 +7277,13 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7282
7277
|
padding: '0 1rem',
|
|
7283
7278
|
left: '0'
|
|
7284
7279
|
} },
|
|
7285
|
-
vidUrl && React__default
|
|
7280
|
+
vidUrl && React__default.createElement(GroupDeck, { dark: true, dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client })
|
|
7286
7281
|
)
|
|
7287
7282
|
),
|
|
7288
|
-
React__default
|
|
7283
|
+
React__default.createElement(
|
|
7289
7284
|
'div',
|
|
7290
7285
|
{ className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } },
|
|
7291
|
-
React__default
|
|
7286
|
+
React__default.createElement(
|
|
7292
7287
|
'button',
|
|
7293
7288
|
{
|
|
7294
7289
|
'aria-label': 'Toggles video series',
|
|
@@ -7299,23 +7294,23 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7299
7294
|
'View Series'
|
|
7300
7295
|
)
|
|
7301
7296
|
),
|
|
7302
|
-
React__default
|
|
7297
|
+
React__default.createElement(
|
|
7303
7298
|
'div',
|
|
7304
7299
|
{ className: 'my-5' },
|
|
7305
|
-
series && React__default
|
|
7300
|
+
series && React__default.createElement(
|
|
7306
7301
|
'h3',
|
|
7307
7302
|
null,
|
|
7308
7303
|
'Episode ',
|
|
7309
7304
|
series
|
|
7310
7305
|
),
|
|
7311
|
-
nodes.videos[series - 1] && React__default
|
|
7306
|
+
nodes.videos[series - 1] && React__default.createElement(
|
|
7312
7307
|
'h2',
|
|
7313
7308
|
{ className: 'mb-3' },
|
|
7314
7309
|
nodes.videos[series - 1].title
|
|
7315
7310
|
),
|
|
7316
|
-
nodes.videos[series - 1] && nodes.videos[series - 1].text && React__default
|
|
7311
|
+
nodes.videos[series - 1] && nodes.videos[series - 1].text && React__default.createElement(BlockContent.BlockContent, _extends$1._extends({ serializers: getSerializers, blocks: nodes.videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7317
7312
|
),
|
|
7318
|
-
React__default
|
|
7313
|
+
React__default.createElement(
|
|
7319
7314
|
'style',
|
|
7320
7315
|
{ jsx: 'true' },
|
|
7321
7316
|
'\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\n span.btn {\n margin: 0 1rem;\n }\n \n \n '
|
|
@@ -7362,54 +7357,54 @@ var Poll = function Poll(_ref) {
|
|
|
7362
7357
|
return acc;
|
|
7363
7358
|
}
|
|
7364
7359
|
}, 0);
|
|
7365
|
-
return React__default
|
|
7366
|
-
React__default
|
|
7360
|
+
return React__default.createElement(
|
|
7361
|
+
React__default.Fragment,
|
|
7367
7362
|
null,
|
|
7368
|
-
question && React__default
|
|
7363
|
+
question && React__default.createElement(
|
|
7369
7364
|
'p',
|
|
7370
7365
|
{ className: 'font-weight-bold' },
|
|
7371
7366
|
question
|
|
7372
7367
|
),
|
|
7373
|
-
!showAnswer && choices && choices.length > 0 && React__default
|
|
7368
|
+
!showAnswer && choices && choices.length > 0 && React__default.createElement(
|
|
7374
7369
|
'form',
|
|
7375
7370
|
{ onSubmit: function onSubmit(e) {
|
|
7376
7371
|
return onSubmitPoll(e, setShowAnswer);
|
|
7377
7372
|
} },
|
|
7378
7373
|
choices && choices.map(function (choice) {
|
|
7379
|
-
return React__default
|
|
7374
|
+
return React__default.createElement(
|
|
7380
7375
|
'div',
|
|
7381
7376
|
{ key: choice._key },
|
|
7382
|
-
React__default
|
|
7377
|
+
React__default.createElement(
|
|
7383
7378
|
'label',
|
|
7384
7379
|
{ className: 'pl-2' },
|
|
7385
|
-
React__default
|
|
7380
|
+
React__default.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7386
7381
|
return setSelectedChoice(e.target.value);
|
|
7387
7382
|
} }),
|
|
7388
7383
|
' ' + choice.choiceText
|
|
7389
7384
|
)
|
|
7390
7385
|
);
|
|
7391
7386
|
}),
|
|
7392
|
-
React__default
|
|
7387
|
+
React__default.createElement(
|
|
7393
7388
|
reactBootstrap.Button,
|
|
7394
7389
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7395
7390
|
'Vote'
|
|
7396
7391
|
)
|
|
7397
7392
|
),
|
|
7398
|
-
React__default
|
|
7393
|
+
React__default.createElement(
|
|
7399
7394
|
'div',
|
|
7400
7395
|
{ className: 'progress-container' },
|
|
7401
7396
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7402
7397
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7403
|
-
return React__default
|
|
7398
|
+
return React__default.createElement(
|
|
7404
7399
|
'div',
|
|
7405
7400
|
{ key: choice._key, className: 'mb-3' },
|
|
7406
|
-
React__default
|
|
7401
|
+
React__default.createElement(
|
|
7407
7402
|
'span',
|
|
7408
7403
|
null,
|
|
7409
7404
|
choice.choiceText
|
|
7410
7405
|
),
|
|
7411
|
-
React__default
|
|
7412
|
-
React__default
|
|
7406
|
+
React__default.createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
7407
|
+
React__default.createElement(
|
|
7413
7408
|
'span',
|
|
7414
7409
|
{ className: 'float-right' },
|
|
7415
7410
|
percentage,
|
|
@@ -7420,14 +7415,14 @@ var Poll = function Poll(_ref) {
|
|
|
7420
7415
|
);
|
|
7421
7416
|
})
|
|
7422
7417
|
),
|
|
7423
|
-
showAnswer && React__default
|
|
7418
|
+
showAnswer && React__default.createElement(
|
|
7424
7419
|
'h4',
|
|
7425
7420
|
{ className: 'text-center small p-3' },
|
|
7426
7421
|
'Total Votes: ',
|
|
7427
7422
|
choicesTotalCount
|
|
7428
7423
|
),
|
|
7429
|
-
showAnswer && response && React__default
|
|
7430
|
-
React__default
|
|
7424
|
+
showAnswer && response && React__default.createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7425
|
+
React__default.createElement(
|
|
7431
7426
|
'style',
|
|
7432
7427
|
{ jsx: 'true' },
|
|
7433
7428
|
'\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -7492,7 +7487,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
7492
7487
|
setEndIndex(numberOfPaginations - 1);
|
|
7493
7488
|
newPath = window.location.pathname;
|
|
7494
7489
|
window.history.pushState(null, null, newPath);
|
|
7495
|
-
index
|
|
7490
|
+
index.lib_3.refresh();
|
|
7496
7491
|
if (pageview) pageview(newPath);
|
|
7497
7492
|
break;
|
|
7498
7493
|
case 'last':
|
|
@@ -7501,7 +7496,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
7501
7496
|
setEndIndex(pageCount - pageCount % numberOfPaginations + numberOfPaginations - 1);
|
|
7502
7497
|
newPath = window.location.pathname + '?page=' + pageCount;
|
|
7503
7498
|
window.history.pushState(null, null, newPath);
|
|
7504
|
-
index
|
|
7499
|
+
index.lib_3.refresh();
|
|
7505
7500
|
if (pageview) pageview(newPath);
|
|
7506
7501
|
break;
|
|
7507
7502
|
case 'next':
|
|
@@ -7512,7 +7507,7 @@ var Quiz = function Quiz(_ref) {
|
|
|
7512
7507
|
}
|
|
7513
7508
|
newPath = window.location.pathname + '?page=' + (currentPage + 1);
|
|
7514
7509
|
window.history.pushState(null, null, newPath);
|
|
7515
|
-
index
|
|
7510
|
+
index.lib_3.refresh();
|
|
7516
7511
|
if (pageview) pageview(newPath);
|
|
7517
7512
|
break;
|
|
7518
7513
|
case 'prev':
|
|
@@ -7523,14 +7518,14 @@ var Quiz = function Quiz(_ref) {
|
|
|
7523
7518
|
}
|
|
7524
7519
|
newPath = window.location.pathname + '?page=' + (currentPage - 1);
|
|
7525
7520
|
window.history.pushState(null, null, newPath);
|
|
7526
|
-
index
|
|
7521
|
+
index.lib_3.refresh();
|
|
7527
7522
|
if (pageview) pageview(newPath);
|
|
7528
7523
|
break;
|
|
7529
7524
|
default:
|
|
7530
7525
|
setCurrentPage(control);
|
|
7531
7526
|
newPath = window.location.pathname + '?page=' + control;
|
|
7532
7527
|
window.history.pushState(null, null, newPath);
|
|
7533
|
-
index
|
|
7528
|
+
index.lib_3.refresh();
|
|
7534
7529
|
if (pageview) pageview(newPath);
|
|
7535
7530
|
}
|
|
7536
7531
|
};
|
|
@@ -7546,62 +7541,62 @@ var Quiz = function Quiz(_ref) {
|
|
|
7546
7541
|
};
|
|
7547
7542
|
|
|
7548
7543
|
var renderPagination = function renderPagination() {
|
|
7549
|
-
return React__default
|
|
7550
|
-
|
|
7544
|
+
return React__default.createElement(
|
|
7545
|
+
Pagination,
|
|
7551
7546
|
{ className: 'p-0 m-0', size: main.main_35 && 'sm' },
|
|
7552
|
-
React__default
|
|
7547
|
+
React__default.createElement(Pagination.First, { onClick: function onClick() {
|
|
7553
7548
|
return changePage('first');
|
|
7554
7549
|
}, disabled: currentPage === 1 }),
|
|
7555
|
-
React__default
|
|
7550
|
+
React__default.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
7556
7551
|
return changePage('prev');
|
|
7557
7552
|
}, disabled: currentPage === 1 }),
|
|
7558
|
-
React__default
|
|
7553
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7559
7554
|
return renderNewPages('prev');
|
|
7560
7555
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
7561
7556
|
pages.map(function (page) {
|
|
7562
|
-
return React__default
|
|
7563
|
-
|
|
7557
|
+
return React__default.createElement(
|
|
7558
|
+
Pagination.Item,
|
|
7564
7559
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
7565
7560
|
return changePage(page);
|
|
7566
7561
|
} },
|
|
7567
7562
|
page
|
|
7568
7563
|
);
|
|
7569
7564
|
}),
|
|
7570
|
-
React__default
|
|
7565
|
+
React__default.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7571
7566
|
return renderNewPages('next');
|
|
7572
7567
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
7573
|
-
React__default
|
|
7568
|
+
React__default.createElement(Pagination.Next, { onClick: function onClick() {
|
|
7574
7569
|
return changePage('next');
|
|
7575
7570
|
}, disabled: currentPage === pageCount }),
|
|
7576
|
-
React__default
|
|
7571
|
+
React__default.createElement(Pagination.Last, { onClick: function onClick() {
|
|
7577
7572
|
return changePage('last');
|
|
7578
7573
|
}, disabled: currentPage === pageCount })
|
|
7579
7574
|
);
|
|
7580
7575
|
};
|
|
7581
7576
|
|
|
7582
|
-
return React__default
|
|
7583
|
-
React__default
|
|
7577
|
+
return React__default.createElement(
|
|
7578
|
+
React__default.Fragment,
|
|
7584
7579
|
null,
|
|
7585
|
-
quizzes[currentPage - 1] && React__default
|
|
7586
|
-
!showAnswer && React__default
|
|
7587
|
-
|
|
7580
|
+
quizzes[currentPage - 1] && React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
7581
|
+
!showAnswer && React__default.createElement(
|
|
7582
|
+
Button,
|
|
7588
7583
|
{ onClick: function onClick() {
|
|
7589
7584
|
return setShowAnswer(true);
|
|
7590
7585
|
}, variant: 'info', block: true },
|
|
7591
7586
|
'Please click here for answer'
|
|
7592
7587
|
),
|
|
7593
|
-
quizzes[currentPage - 1] && showAnswer && React__default
|
|
7594
|
-
React__default
|
|
7588
|
+
quizzes[currentPage - 1] && showAnswer && React__default.createElement(
|
|
7589
|
+
React__default.Fragment,
|
|
7595
7590
|
null,
|
|
7596
|
-
React__default
|
|
7591
|
+
React__default.createElement(
|
|
7597
7592
|
'h4',
|
|
7598
7593
|
null,
|
|
7599
7594
|
'Answer:'
|
|
7600
7595
|
),
|
|
7601
|
-
React__default
|
|
7596
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
7602
7597
|
),
|
|
7603
|
-
React__default
|
|
7604
|
-
pageCount > 1 && React__default
|
|
7598
|
+
React__default.createElement('br', null),
|
|
7599
|
+
pageCount > 1 && React__default.createElement(
|
|
7605
7600
|
'div',
|
|
7606
7601
|
{ className: 'd-flex justify-content-center' },
|
|
7607
7602
|
renderPagination()
|
|
@@ -7612,15 +7607,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
7612
7607
|
var Leads = function Leads(_ref) {
|
|
7613
7608
|
var url = _ref.url;
|
|
7614
7609
|
|
|
7615
|
-
return React__default
|
|
7610
|
+
return React__default.createElement(
|
|
7616
7611
|
'div',
|
|
7617
7612
|
{ className: 'd-block text-center mb-3' },
|
|
7618
|
-
url && React__default
|
|
7613
|
+
url && React__default.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
7619
7614
|
);
|
|
7620
7615
|
};
|
|
7621
7616
|
|
|
7622
7617
|
var urlFor$1 = function urlFor(source, client) {
|
|
7623
|
-
var builder = index.imageUrlBuilder(client);
|
|
7618
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
7624
7619
|
return builder.image(source).auto('format');
|
|
7625
7620
|
};
|
|
7626
7621
|
|
|
@@ -7649,7 +7644,7 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
7649
7644
|
// }, [router])
|
|
7650
7645
|
|
|
7651
7646
|
React.useEffect(function () {
|
|
7652
|
-
index
|
|
7647
|
+
index.lib_3.refresh();
|
|
7653
7648
|
if (pageview) pageview(router.asPath);
|
|
7654
7649
|
}, [router]);
|
|
7655
7650
|
|
|
@@ -7659,42 +7654,42 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
7659
7654
|
router.push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
7660
7655
|
};
|
|
7661
7656
|
|
|
7662
|
-
return React__default
|
|
7657
|
+
return React__default.createElement(
|
|
7663
7658
|
'div',
|
|
7664
7659
|
{ className: 'mt-3 mb-4' },
|
|
7665
|
-
React__default
|
|
7660
|
+
React__default.createElement(
|
|
7666
7661
|
reactBootstrap.Carousel,
|
|
7667
7662
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
7668
7663
|
slides && slides.map(function (slide) {
|
|
7669
7664
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
7670
|
-
return React__default
|
|
7665
|
+
return React__default.createElement(
|
|
7671
7666
|
reactBootstrap.Carousel.Item,
|
|
7672
7667
|
{ key: slide._key },
|
|
7673
|
-
React__default
|
|
7668
|
+
React__default.createElement(
|
|
7674
7669
|
'a',
|
|
7675
7670
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
7676
|
-
React__default
|
|
7671
|
+
React__default.createElement(
|
|
7677
7672
|
index$2.LazyLoad,
|
|
7678
7673
|
null,
|
|
7679
|
-
React__default
|
|
7674
|
+
React__default.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
|
|
7680
7675
|
)
|
|
7681
7676
|
),
|
|
7682
|
-
React__default
|
|
7677
|
+
React__default.createElement(
|
|
7683
7678
|
'div',
|
|
7684
7679
|
{ className: 'p-2' },
|
|
7685
|
-
slide.slideshowImage.caption && React__default
|
|
7680
|
+
slide.slideshowImage.caption && React__default.createElement(
|
|
7686
7681
|
'h3',
|
|
7687
7682
|
{ style: { padding: '0px' } },
|
|
7688
7683
|
slide.slideshowImage.caption
|
|
7689
7684
|
),
|
|
7690
|
-
slide.description && React__default
|
|
7685
|
+
slide.description && React__default.createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
7691
7686
|
)
|
|
7692
7687
|
);
|
|
7693
7688
|
}
|
|
7694
7689
|
return null;
|
|
7695
7690
|
})
|
|
7696
7691
|
),
|
|
7697
|
-
React__default
|
|
7692
|
+
React__default.createElement(
|
|
7698
7693
|
'style',
|
|
7699
7694
|
{ jsx: 'true' },
|
|
7700
7695
|
'\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 '
|
|
@@ -7713,15 +7708,15 @@ var NativeAd = function NativeAd(props) {
|
|
|
7713
7708
|
sizes = _props$node.sizes,
|
|
7714
7709
|
sizeMapping = _props$node.sizeMapping;
|
|
7715
7710
|
|
|
7716
|
-
return React__default
|
|
7711
|
+
return React__default.createElement(
|
|
7717
7712
|
'div',
|
|
7718
7713
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
7719
|
-
React__default
|
|
7714
|
+
React__default.createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
7720
7715
|
);
|
|
7721
7716
|
};
|
|
7722
7717
|
|
|
7723
7718
|
var urlFor$2 = function urlFor(source, client) {
|
|
7724
|
-
var builder = index.imageUrlBuilder(client);
|
|
7719
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
7725
7720
|
return builder.image(source).auto('format');
|
|
7726
7721
|
};
|
|
7727
7722
|
|
|
@@ -7731,24 +7726,24 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
7731
7726
|
|
|
7732
7727
|
|
|
7733
7728
|
if (images && images.length > 0) {
|
|
7734
|
-
return React__default
|
|
7729
|
+
return React__default.createElement(
|
|
7735
7730
|
'div',
|
|
7736
7731
|
{ className: 'multi-figure-container' },
|
|
7737
|
-
React__default
|
|
7732
|
+
React__default.createElement(
|
|
7738
7733
|
reactBootstrap.Row,
|
|
7739
7734
|
{ noGutters: true },
|
|
7740
7735
|
images.map(function (image, index) {
|
|
7741
|
-
return React__default
|
|
7736
|
+
return React__default.createElement(
|
|
7742
7737
|
reactBootstrap.Col,
|
|
7743
7738
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
7744
|
-
React__default
|
|
7739
|
+
React__default.createElement(
|
|
7745
7740
|
'a',
|
|
7746
7741
|
_extends$1._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'text' } }),
|
|
7747
|
-
React__default
|
|
7742
|
+
React__default.createElement(
|
|
7748
7743
|
'div',
|
|
7749
7744
|
null,
|
|
7750
|
-
React__default
|
|
7751
|
-
image.caption && React__default
|
|
7745
|
+
React__default.createElement('img', { className: 'multi-figure-image', src: urlFor$2(image.asset, client).url(), alt: image.alt }),
|
|
7746
|
+
image.caption && React__default.createElement(
|
|
7752
7747
|
'p',
|
|
7753
7748
|
{ className: 'multi-figure-caption' },
|
|
7754
7749
|
image.caption
|
|
@@ -7758,7 +7753,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
7758
7753
|
);
|
|
7759
7754
|
})
|
|
7760
7755
|
),
|
|
7761
|
-
React__default
|
|
7756
|
+
React__default.createElement(
|
|
7762
7757
|
'style',
|
|
7763
7758
|
{ jsx: 'true' },
|
|
7764
7759
|
'\n .multi-figure-container {\n margin-bottom: 8px;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n max-height: 180px;\n min-height: 150px;\n object-fit: cover;\n }\n .multi-figure-caption {\n font-size: 90%;\n color: #6c757d;\n }\n\n @media only screen and (min-width: 768px) {\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 10px;\n }\n }\n '
|
|
@@ -7780,15 +7775,15 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
7780
7775
|
|
|
7781
7776
|
var elementId = articleId ? id + '-' + articleId : id;
|
|
7782
7777
|
|
|
7783
|
-
return React__default
|
|
7778
|
+
return React__default.createElement(
|
|
7784
7779
|
'div',
|
|
7785
7780
|
{ id: elementId },
|
|
7786
|
-
React__default
|
|
7781
|
+
React__default.createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
7787
7782
|
);
|
|
7788
7783
|
};
|
|
7789
7784
|
|
|
7790
|
-
var Figure =
|
|
7791
|
-
return Promise.resolve().then(function () { return require('./Figure-
|
|
7785
|
+
var Figure = dynamic(function () {
|
|
7786
|
+
return Promise.resolve().then(function () { return require('./Figure-eeac313a.js'); });
|
|
7792
7787
|
}, { ssr: false });
|
|
7793
7788
|
|
|
7794
7789
|
var ScrollToElement = function ScrollToElement(elementId) {
|
|
@@ -7856,112 +7851,112 @@ var getSerializers = function getSerializers() {
|
|
|
7856
7851
|
var node = _ref.node;
|
|
7857
7852
|
var url = node.url;
|
|
7858
7853
|
|
|
7859
|
-
return React__default
|
|
7854
|
+
return React__default.createElement(YouTubePlayer, { url: url });
|
|
7860
7855
|
},
|
|
7861
7856
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
7862
7857
|
var node = _ref2.node;
|
|
7863
7858
|
|
|
7864
|
-
return React__default
|
|
7859
|
+
return React__default.createElement(YouTubeGallery, { nodes: node, accountIDs: videoAccountIDs || {}, client: client, getSerializers: getSerializers(client) });
|
|
7865
7860
|
},
|
|
7866
7861
|
figure: function figure(_ref3) {
|
|
7867
7862
|
var node = _ref3.node;
|
|
7868
7863
|
|
|
7869
|
-
return React__default
|
|
7864
|
+
return React__default.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag });
|
|
7870
7865
|
},
|
|
7871
7866
|
multifigure: function multifigure(_ref4) {
|
|
7872
7867
|
var node = _ref4.node;
|
|
7873
7868
|
|
|
7874
|
-
return React__default
|
|
7869
|
+
return React__default.createElement(MultiFigure, { node: node, client: client });
|
|
7875
7870
|
},
|
|
7876
7871
|
slideshow: function slideshow(_ref5) {
|
|
7877
7872
|
var node = _ref5.node;
|
|
7878
7873
|
var slides = node.slides;
|
|
7879
7874
|
|
|
7880
|
-
return React__default
|
|
7875
|
+
return React__default.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
7881
7876
|
},
|
|
7882
7877
|
sidebar: function sidebar(_ref6) {
|
|
7883
7878
|
var node = _ref6.node;
|
|
7884
7879
|
var caption = node.caption,
|
|
7885
7880
|
content = node.content;
|
|
7886
7881
|
|
|
7887
|
-
return React__default
|
|
7882
|
+
return React__default.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers(props) });
|
|
7888
7883
|
},
|
|
7889
7884
|
datatable: function datatable(_ref7) {
|
|
7890
7885
|
var node = _ref7.node;
|
|
7891
7886
|
var table = node.table;
|
|
7892
7887
|
|
|
7893
|
-
return React__default
|
|
7888
|
+
return React__default.createElement(TableShow, { rows: table.rows });
|
|
7894
7889
|
},
|
|
7895
7890
|
media: function media(_ref8) {
|
|
7896
7891
|
var node = _ref8.node;
|
|
7897
7892
|
|
|
7898
|
-
return React__default
|
|
7893
|
+
return React__default.createElement(Media, { node: node, client: client });
|
|
7899
7894
|
},
|
|
7900
7895
|
iframe: function iframe(_ref9) {
|
|
7901
7896
|
var node = _ref9.node;
|
|
7902
7897
|
|
|
7903
|
-
return React__default
|
|
7898
|
+
return React__default.createElement(IFrame, { url: node.url });
|
|
7904
7899
|
},
|
|
7905
7900
|
video: function video(_ref10) {
|
|
7906
7901
|
var node = _ref10.node;
|
|
7907
7902
|
|
|
7908
|
-
return React__default
|
|
7903
|
+
return React__default.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {} });
|
|
7909
7904
|
},
|
|
7910
7905
|
audio: function audio(_ref11) {
|
|
7911
7906
|
var node = _ref11.node;
|
|
7912
7907
|
|
|
7913
|
-
return React__default
|
|
7908
|
+
return React__default.createElement(Audio, { node: node });
|
|
7914
7909
|
},
|
|
7915
7910
|
poll: function poll(_ref12) {
|
|
7916
7911
|
var node = _ref12.node;
|
|
7917
7912
|
|
|
7918
|
-
return React__default
|
|
7913
|
+
return React__default.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, onVote: onVote, showVotes: showVotes, getSerializers: getSerializers(props) });
|
|
7919
7914
|
},
|
|
7920
7915
|
quiz: function quiz(_ref13) {
|
|
7921
7916
|
var node = _ref13.node;
|
|
7922
7917
|
var quizzes = node.quizzes;
|
|
7923
7918
|
|
|
7924
|
-
return React__default
|
|
7919
|
+
return React__default.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers(props), pageview: pageview, currentPage: currentPage });
|
|
7925
7920
|
},
|
|
7926
7921
|
leads: function leads(_ref14) {
|
|
7927
7922
|
var node = _ref14.node;
|
|
7928
7923
|
var leadID = node.leadID;
|
|
7929
7924
|
|
|
7930
7925
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
7931
|
-
return React__default
|
|
7926
|
+
return React__default.createElement(Leads, { url: url });
|
|
7932
7927
|
},
|
|
7933
7928
|
slideshows: function slideshows(_ref15) {
|
|
7934
7929
|
var node = _ref15.node;
|
|
7935
7930
|
|
|
7936
|
-
return React__default
|
|
7931
|
+
return React__default.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
7937
7932
|
},
|
|
7938
7933
|
nativeAd: function nativeAd(_ref16) {
|
|
7939
7934
|
var node = _ref16.node;
|
|
7940
7935
|
|
|
7941
|
-
return React__default
|
|
7936
|
+
return React__default.createElement(NativeAd, { node: node });
|
|
7942
7937
|
},
|
|
7943
7938
|
html_anchor_links: function html_anchor_links(_ref17) {
|
|
7944
7939
|
var node = _ref17.node;
|
|
7945
7940
|
|
|
7946
|
-
return React__default
|
|
7941
|
+
return React__default.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
7947
7942
|
},
|
|
7948
7943
|
hrtag: function hrtag() {
|
|
7949
|
-
return React__default
|
|
7944
|
+
return React__default.createElement('hr', { className: 'horizontal-rule' });
|
|
7950
7945
|
},
|
|
7951
7946
|
brtag: function brtag() {
|
|
7952
|
-
return React__default
|
|
7947
|
+
return React__default.createElement('br', { className: 'line-break' });
|
|
7953
7948
|
}
|
|
7954
7949
|
},
|
|
7955
7950
|
marks: {
|
|
7956
7951
|
superscript: function superscript(props) {
|
|
7957
|
-
return React__default
|
|
7952
|
+
return React__default.createElement(
|
|
7958
7953
|
'sup',
|
|
7959
7954
|
null,
|
|
7960
7955
|
props.children
|
|
7961
7956
|
);
|
|
7962
7957
|
},
|
|
7963
7958
|
subscript: function subscript(props) {
|
|
7964
|
-
return React__default
|
|
7959
|
+
return React__default.createElement(
|
|
7965
7960
|
'sub',
|
|
7966
7961
|
null,
|
|
7967
7962
|
props.children
|
|
@@ -7977,7 +7972,7 @@ var getSerializers = function getSerializers() {
|
|
|
7977
7972
|
if (href && href.charAt(0) === '#') {
|
|
7978
7973
|
var elementId = href.slice(1);
|
|
7979
7974
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
7980
|
-
return React__default
|
|
7975
|
+
return React__default.createElement(
|
|
7981
7976
|
'a',
|
|
7982
7977
|
{ onClick: function onClick() {
|
|
7983
7978
|
return ScrollToElement(elementId);
|
|
@@ -7987,7 +7982,7 @@ var getSerializers = function getSerializers() {
|
|
|
7987
7982
|
}
|
|
7988
7983
|
|
|
7989
7984
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
7990
|
-
return React__default
|
|
7985
|
+
return React__default.createElement(
|
|
7991
7986
|
'a',
|
|
7992
7987
|
{ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' },
|
|
7993
7988
|
children
|
|
@@ -7995,7 +7990,7 @@ var getSerializers = function getSerializers() {
|
|
|
7995
7990
|
},
|
|
7996
7991
|
alignleft: function alignleft(_ref18) {
|
|
7997
7992
|
var children = _ref18.children;
|
|
7998
|
-
return React__default
|
|
7993
|
+
return React__default.createElement(
|
|
7999
7994
|
'div',
|
|
8000
7995
|
{ style: { textAlign: 'left' } },
|
|
8001
7996
|
children
|
|
@@ -8003,7 +7998,7 @@ var getSerializers = function getSerializers() {
|
|
|
8003
7998
|
},
|
|
8004
7999
|
alignright: function alignright(_ref19) {
|
|
8005
8000
|
var children = _ref19.children;
|
|
8006
|
-
return React__default
|
|
8001
|
+
return React__default.createElement(
|
|
8007
8002
|
'div',
|
|
8008
8003
|
{ style: { textAlign: 'right' } },
|
|
8009
8004
|
children
|
|
@@ -8011,7 +8006,7 @@ var getSerializers = function getSerializers() {
|
|
|
8011
8006
|
},
|
|
8012
8007
|
aligncenter: function aligncenter(_ref20) {
|
|
8013
8008
|
var children = _ref20.children;
|
|
8014
|
-
return React__default
|
|
8009
|
+
return React__default.createElement(
|
|
8015
8010
|
'div',
|
|
8016
8011
|
{ style: { textAlign: 'center' } },
|
|
8017
8012
|
children
|
|
@@ -8019,7 +8014,7 @@ var getSerializers = function getSerializers() {
|
|
|
8019
8014
|
},
|
|
8020
8015
|
alignjustify: function alignjustify(_ref21) {
|
|
8021
8016
|
var children = _ref21.children;
|
|
8022
|
-
return React__default
|
|
8017
|
+
return React__default.createElement(
|
|
8023
8018
|
'div',
|
|
8024
8019
|
{ style: { textAlign: 'justify' } },
|
|
8025
8020
|
children
|