@mjhls/mjh-framework 1.0.672 → 1.0.673-article-series
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 +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-9735aff2.js → ADInfeed-bc591de7.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-6bd11848.js → ADlgInfeed-4b713637.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +9 -8
- package/dist/cjs/ArticleSeriesListing.js +38 -37
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-fa2c6aad.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +44 -43
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +40 -39
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +18 -17
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +103 -95
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +1269 -71
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +52 -48
- package/dist/cjs/QueueDeckExpanded.js +219 -219
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-fde6c921.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +25 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +52 -51
- package/dist/cjs/View.js +183 -179
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +53 -52
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +9 -9
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-c190d704.js → index-06016cad.js} +361 -351
- package/dist/cjs/{index-2d0a4911.js → index-44481153.js} +9 -8
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-fe549f9c.js → index.esm-dd489d02.js} +20 -20
- package/dist/cjs/index.js +31 -32
- package/dist/cjs/{inherits-513d81cd.js → inherits-87492b40.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-9499b3ef.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- 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-9140aa7d.js → ADInfeed-d1777980.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-7656ecd1.js → ADlgInfeed-84282fe8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-d05b5b23.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 +24 -24
- package/dist/esm/ConferenceArticleCard.js +13 -13
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +53 -53
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-939e8fcf.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +37 -37
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +110 -110
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +35 -35
- package/dist/esm/HamMagazine.js +86 -86
- 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 +20 -20
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +70 -70
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +13 -14
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1263 -67
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +28 -28
- package/dist/esm/QueueDeckExpanded.js +199 -199
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +16 -16
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-a13fc98b.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesCard.js +16 -16
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +45 -45
- package/dist/esm/View.js +165 -165
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +9 -9
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-983cedab.js → index-45bca0c4.js} +303 -299
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-73e847d2.js → index.esm-902766e0.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +26 -27
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-edbd70ac.js} +48 -44
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import { a as _Array$from, _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
3
3
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
4
|
-
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-
|
|
5
|
-
import { _ as _typeof$1 } from './typeof-
|
|
6
|
-
import
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
4
|
+
import { _ as _inherits$1, a as _classCallCheck$1, b as _possibleConstructorReturn$1, c as _Object$getPrototypeOf, d as _createClass$1 } from './inherits-596840e8.js';
|
|
5
|
+
import { _ as _typeof$1 } from './typeof-ee095d0c.js';
|
|
6
|
+
import React, { useState, useEffect, useRef, useCallback } from 'react';
|
|
7
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import Row from 'react-bootstrap/Row';
|
|
10
10
|
import Col from 'react-bootstrap/Col';
|
|
11
|
-
import { m as moment } from './moment-
|
|
11
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
12
|
import Router, { useRouter } from 'next/router';
|
|
13
13
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
14
|
-
import { L as LazyLoad } from './index-
|
|
15
|
-
import { b as main_16, c as
|
|
14
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
15
|
+
import { b as main_16, c as main_39, m as main_40 } from './main-edbd70ac.js';
|
|
16
16
|
import { h as html_decode_1 } from './entities-7cc3bf45.js';
|
|
17
17
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
18
|
import { B as Beam, S as Segment } from './beam-681a9749.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { B as BlockContent } from './BlockContent-
|
|
20
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
21
21
|
import { g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
22
22
|
import GroupDeck from './GroupDeck.js';
|
|
23
23
|
import { Carousel, Table, Figure as Figure$1, Button, ProgressBar, Card, Row as Row$1, Col as Col$1 } from 'react-bootstrap';
|
|
24
24
|
import Button$1 from 'react-bootstrap/Button';
|
|
25
25
|
import { u as util } from './util-7700fc59.js';
|
|
26
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-
|
|
26
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-4abff0b1.js';
|
|
27
27
|
import Pagination from 'react-bootstrap/Pagination';
|
|
28
28
|
import Head from 'next/head';
|
|
29
29
|
|
|
@@ -66,20 +66,20 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
66
66
|
if (pageview) pageview(router.asPath);
|
|
67
67
|
}, [router]);
|
|
68
68
|
|
|
69
|
-
return
|
|
69
|
+
return React.createElement(
|
|
70
70
|
'div',
|
|
71
71
|
{ className: 'mt-3 mb-3' },
|
|
72
|
-
|
|
72
|
+
React.createElement(
|
|
73
73
|
Carousel,
|
|
74
74
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
75
75
|
return onChangeSlide(selectedIndex, router);
|
|
76
76
|
}, interval: null },
|
|
77
77
|
slides && slides.map(function (slide) {
|
|
78
|
-
return
|
|
78
|
+
return React.createElement(
|
|
79
79
|
Carousel.Item,
|
|
80
80
|
{ key: slide._key },
|
|
81
|
-
|
|
82
|
-
slide.caption &&
|
|
81
|
+
React.createElement('img', { src: slide.asset && urlFor(slide.asset, builder).url(), alt: slide.alt && slide.alt, style: { width: '100%' } }),
|
|
82
|
+
slide.caption && React.createElement(
|
|
83
83
|
'p',
|
|
84
84
|
{ className: 'p-2' },
|
|
85
85
|
slide.caption
|
|
@@ -1562,7 +1562,11 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
1562
1562
|
|
|
1563
1563
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
1564
1564
|
|
|
1565
|
-
function
|
|
1565
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1566
|
+
|
|
1567
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1568
|
+
|
|
1569
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
1566
1570
|
|
|
1567
1571
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
1568
1572
|
|
|
@@ -1572,10 +1576,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
1572
1576
|
|
|
1573
1577
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
1574
1578
|
|
|
1575
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
1576
|
-
|
|
1577
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
1578
|
-
|
|
1579
1579
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
1580
1580
|
|
|
1581
1581
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
@@ -1610,12 +1610,12 @@ function shouldUpdateVideo(prevProps, props) {
|
|
|
1610
1610
|
|
|
1611
1611
|
|
|
1612
1612
|
function filterResetOptions(opts) {
|
|
1613
|
-
return _objectSpread({}, opts, {
|
|
1614
|
-
playerVars: _objectSpread({
|
|
1613
|
+
return _objectSpread(_objectSpread({}, opts), {}, {
|
|
1614
|
+
playerVars: _objectSpread({
|
|
1615
1615
|
autoplay: 0,
|
|
1616
1616
|
start: 0,
|
|
1617
1617
|
end: 0
|
|
1618
|
-
})
|
|
1618
|
+
}, opts.playerVars)
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
/**
|
|
@@ -1702,7 +1702,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1702
1702
|
// do not attempt to create a player server-side, it won't work
|
|
1703
1703
|
if (typeof document === 'undefined') return; // create player
|
|
1704
1704
|
|
|
1705
|
-
var playerOpts = _objectSpread({}, _this.props.opts, {
|
|
1705
|
+
var playerOpts = _objectSpread(_objectSpread({}, _this.props.opts), {}, {
|
|
1706
1706
|
// preload the `videoId` video if one is already given
|
|
1707
1707
|
videoId: _this.props.videoId
|
|
1708
1708
|
});
|
|
@@ -1731,6 +1731,10 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1731
1731
|
});
|
|
1732
1732
|
});
|
|
1733
1733
|
|
|
1734
|
+
_defineProperty(_assertThisInitialized(_this), "getInternalPlayer", function () {
|
|
1735
|
+
return _this.internalPlayer;
|
|
1736
|
+
});
|
|
1737
|
+
|
|
1734
1738
|
_defineProperty(_assertThisInitialized(_this), "updateVideo", function () {
|
|
1735
1739
|
if (typeof _this.props.videoId === 'undefined' || _this.props.videoId === null) {
|
|
1736
1740
|
_this.internalPlayer.stopVideo();
|
|
@@ -1817,9 +1821,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1817
1821
|
}, {
|
|
1818
1822
|
key: "render",
|
|
1819
1823
|
value: function render() {
|
|
1820
|
-
return /*#__PURE__*/
|
|
1824
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1821
1825
|
className: this.props.containerClassName
|
|
1822
|
-
}, /*#__PURE__*/
|
|
1826
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
1823
1827
|
id: this.props.id,
|
|
1824
1828
|
className: this.props.className,
|
|
1825
1829
|
ref: this.refContainer
|
|
@@ -1828,7 +1832,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1828
1832
|
}]);
|
|
1829
1833
|
|
|
1830
1834
|
return YouTube;
|
|
1831
|
-
}(
|
|
1835
|
+
}(React.Component);
|
|
1832
1836
|
|
|
1833
1837
|
_defineProperty(YouTube, "PlayerState", {
|
|
1834
1838
|
UNSTARTED: -1,
|
|
@@ -1973,11 +1977,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
1973
1977
|
Segment.report_video_event('Video Pause', main_16, duration, current, segment);
|
|
1974
1978
|
};
|
|
1975
1979
|
|
|
1976
|
-
return
|
|
1980
|
+
return React.createElement(
|
|
1977
1981
|
'div',
|
|
1978
1982
|
{ id: 'fluid-video-container' },
|
|
1979
|
-
|
|
1980
|
-
|
|
1983
|
+
React.createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
1984
|
+
React.createElement(
|
|
1981
1985
|
'style',
|
|
1982
1986
|
{ jsx: 'true' },
|
|
1983
1987
|
'\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 '
|
|
@@ -1990,20 +1994,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
1990
1994
|
content = _ref.content,
|
|
1991
1995
|
getSerializers = _ref.getSerializers;
|
|
1992
1996
|
|
|
1993
|
-
return
|
|
1997
|
+
return React.createElement(
|
|
1994
1998
|
'article',
|
|
1995
1999
|
{ className: 'sidebar' },
|
|
1996
|
-
|
|
2000
|
+
React.createElement(
|
|
1997
2001
|
'div',
|
|
1998
2002
|
null,
|
|
1999
|
-
|
|
2003
|
+
React.createElement(
|
|
2000
2004
|
'h3',
|
|
2001
2005
|
null,
|
|
2002
2006
|
caption
|
|
2003
2007
|
),
|
|
2004
|
-
|
|
2008
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
2005
2009
|
),
|
|
2006
|
-
|
|
2010
|
+
React.createElement(
|
|
2007
2011
|
'style',
|
|
2008
2012
|
{ jsx: 'true' },
|
|
2009
2013
|
'\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 '
|
|
@@ -2014,18 +2018,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2014
2018
|
var TableShow = function TableShow(_ref) {
|
|
2015
2019
|
var rows = _ref.rows;
|
|
2016
2020
|
|
|
2017
|
-
return
|
|
2021
|
+
return React.createElement(
|
|
2018
2022
|
Table,
|
|
2019
2023
|
{ bordered: true, hover: true, responsive: true },
|
|
2020
|
-
|
|
2024
|
+
React.createElement(
|
|
2021
2025
|
'tbody',
|
|
2022
2026
|
null,
|
|
2023
2027
|
rows && rows.map(function (row) {
|
|
2024
|
-
return
|
|
2028
|
+
return React.createElement(
|
|
2025
2029
|
'tr',
|
|
2026
2030
|
{ key: row._key },
|
|
2027
2031
|
row.cells && row.cells.map(function (cell, index) {
|
|
2028
|
-
return cell &&
|
|
2032
|
+
return cell && React.createElement(
|
|
2029
2033
|
'td',
|
|
2030
2034
|
{ key: index },
|
|
2031
2035
|
cell
|
|
@@ -2128,18 +2132,18 @@ var Media = function Media(_ref) {
|
|
|
2128
2132
|
margin: imageMargin
|
|
2129
2133
|
};
|
|
2130
2134
|
|
|
2131
|
-
return
|
|
2135
|
+
return React.createElement(
|
|
2132
2136
|
Figure$1,
|
|
2133
2137
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2134
|
-
|
|
2138
|
+
React.createElement(
|
|
2135
2139
|
'a',
|
|
2136
2140
|
{ href: uploadDoc.asset.url, target: blank ? '_blank' : '_self' },
|
|
2137
|
-
|
|
2141
|
+
React.createElement(
|
|
2138
2142
|
LazyLoad,
|
|
2139
2143
|
{ once: true },
|
|
2140
|
-
|
|
2144
|
+
React.createElement(Figure$1.Image, _extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor(poster).url() }, alt && { alt: alt }))
|
|
2141
2145
|
),
|
|
2142
|
-
caption &&
|
|
2146
|
+
caption && React.createElement(
|
|
2143
2147
|
Figure$1.Caption,
|
|
2144
2148
|
{ className: 'media-caption' },
|
|
2145
2149
|
caption
|
|
@@ -2147,7 +2151,7 @@ var Media = function Media(_ref) {
|
|
|
2147
2151
|
)
|
|
2148
2152
|
);
|
|
2149
2153
|
} else if (caption && caption !== '') {
|
|
2150
|
-
return
|
|
2154
|
+
return React.createElement(
|
|
2151
2155
|
'a',
|
|
2152
2156
|
_extends({}, uploadDoc.downloadMedia ? {
|
|
2153
2157
|
href: uploadDoc.asset.url + '?dl='
|
|
@@ -2164,10 +2168,10 @@ var Media = function Media(_ref) {
|
|
|
2164
2168
|
var IFrame = function IFrame(_ref) {
|
|
2165
2169
|
var url = _ref.url;
|
|
2166
2170
|
|
|
2167
|
-
return
|
|
2171
|
+
return React.createElement(
|
|
2168
2172
|
'div',
|
|
2169
2173
|
{ className: 'd-block text-center mb-3' },
|
|
2170
|
-
|
|
2174
|
+
React.createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2171
2175
|
);
|
|
2172
2176
|
};
|
|
2173
2177
|
|
|
@@ -2300,44 +2304,44 @@ var Video = function Video(_ref) {
|
|
|
2300
2304
|
|
|
2301
2305
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2302
2306
|
if (videoID) {
|
|
2303
|
-
return
|
|
2307
|
+
return React.createElement(
|
|
2304
2308
|
'div',
|
|
2305
2309
|
null,
|
|
2306
|
-
|
|
2310
|
+
React.createElement(ReactPlayerLoader, {
|
|
2307
2311
|
onSuccess: onVideoSuccess,
|
|
2308
2312
|
accountId: accountIDs.brightcove.accountId,
|
|
2309
2313
|
videoId: videoID,
|
|
2310
2314
|
playerId: accountIDs.brightcove.playerId,
|
|
2311
2315
|
attrs: { className: 'brightcove', autoplay: 'muted' }
|
|
2312
2316
|
}),
|
|
2313
|
-
|
|
2317
|
+
React.createElement(
|
|
2314
2318
|
'style',
|
|
2315
2319
|
{ jsx: 'true' },
|
|
2316
2320
|
'\n .brightcove {\n position: relative;\n margin-bottom: 1rem;\n height: 100%;\n width: 100%;\n }\n .brightcove .video-js {\n height: 100%;\n width: 100%;\n position: relative;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n min-height: 411px;\n }\n '
|
|
2317
2321
|
)
|
|
2318
2322
|
);
|
|
2319
2323
|
} else if (playlistID) {
|
|
2320
|
-
return
|
|
2324
|
+
return React.createElement(
|
|
2321
2325
|
'div',
|
|
2322
2326
|
null,
|
|
2323
|
-
|
|
2327
|
+
React.createElement(ReactPlayerLoader, {
|
|
2324
2328
|
accountId: accountIDs.brightcove.accountId,
|
|
2325
2329
|
playlistId: playlistID,
|
|
2326
2330
|
playerId: accountIDs.brightcove.playerId,
|
|
2327
2331
|
onSuccess: onVideoSuccess,
|
|
2328
2332
|
attrs: { className: 'brightcove brightcove-playlist', autoplay: 'muted' }
|
|
2329
2333
|
}),
|
|
2330
|
-
|
|
2334
|
+
React.createElement(
|
|
2331
2335
|
'style',
|
|
2332
2336
|
{ jsx: 'true' },
|
|
2333
2337
|
'\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 '
|
|
2334
2338
|
)
|
|
2335
2339
|
);
|
|
2336
2340
|
} else if (experienceID) {
|
|
2337
|
-
return
|
|
2341
|
+
return React.createElement(
|
|
2338
2342
|
'div',
|
|
2339
2343
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2340
|
-
videoLoaded &&
|
|
2344
|
+
videoLoaded && React.createElement('div', { 'data-experience': experienceID })
|
|
2341
2345
|
);
|
|
2342
2346
|
}
|
|
2343
2347
|
return null;
|
|
@@ -2944,7 +2948,7 @@ function isEqual(a, b) {
|
|
|
2944
2948
|
return true;
|
|
2945
2949
|
}
|
|
2946
2950
|
|
|
2947
|
-
if ((0,
|
|
2951
|
+
if ((0, React.isValidElement)(a) && (0, React.isValidElement)(b)) {
|
|
2948
2952
|
return true;
|
|
2949
2953
|
}
|
|
2950
2954
|
|
|
@@ -3006,7 +3010,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3006
3010
|
});
|
|
3007
3011
|
exports["default"] = void 0;
|
|
3008
3012
|
|
|
3009
|
-
var _react = _interopRequireWildcard(
|
|
3013
|
+
var _react = _interopRequireWildcard(React);
|
|
3010
3014
|
|
|
3011
3015
|
|
|
3012
3016
|
|
|
@@ -3416,7 +3420,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3416
3420
|
});
|
|
3417
3421
|
exports["default"] = createSinglePlayer;
|
|
3418
3422
|
|
|
3419
|
-
var _react = _interopRequireWildcard(
|
|
3423
|
+
var _react = _interopRequireWildcard(React);
|
|
3420
3424
|
|
|
3421
3425
|
|
|
3422
3426
|
|
|
@@ -3574,7 +3578,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3574
3578
|
});
|
|
3575
3579
|
exports["default"] = exports.YouTube = void 0;
|
|
3576
3580
|
|
|
3577
|
-
var _react = _interopRequireWildcard(
|
|
3581
|
+
var _react = _interopRequireWildcard(React);
|
|
3578
3582
|
|
|
3579
3583
|
|
|
3580
3584
|
|
|
@@ -3883,7 +3887,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3883
3887
|
});
|
|
3884
3888
|
exports["default"] = exports.SoundCloud = void 0;
|
|
3885
3889
|
|
|
3886
|
-
var _react = _interopRequireWildcard(
|
|
3890
|
+
var _react = _interopRequireWildcard(React);
|
|
3887
3891
|
|
|
3888
3892
|
|
|
3889
3893
|
|
|
@@ -4100,7 +4104,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4100
4104
|
});
|
|
4101
4105
|
exports["default"] = exports.Vimeo = void 0;
|
|
4102
4106
|
|
|
4103
|
-
var _react = _interopRequireWildcard(
|
|
4107
|
+
var _react = _interopRequireWildcard(React);
|
|
4104
4108
|
|
|
4105
4109
|
|
|
4106
4110
|
|
|
@@ -4356,7 +4360,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4356
4360
|
});
|
|
4357
4361
|
exports["default"] = exports.Facebook = void 0;
|
|
4358
4362
|
|
|
4359
|
-
var _react = _interopRequireWildcard(
|
|
4363
|
+
var _react = _interopRequireWildcard(React);
|
|
4360
4364
|
|
|
4361
4365
|
|
|
4362
4366
|
|
|
@@ -4568,7 +4572,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4568
4572
|
});
|
|
4569
4573
|
exports["default"] = exports.Streamable = void 0;
|
|
4570
4574
|
|
|
4571
|
-
var _react = _interopRequireWildcard(
|
|
4575
|
+
var _react = _interopRequireWildcard(React);
|
|
4572
4576
|
|
|
4573
4577
|
|
|
4574
4578
|
|
|
@@ -4779,7 +4783,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4779
4783
|
});
|
|
4780
4784
|
exports["default"] = exports.Wistia = void 0;
|
|
4781
4785
|
|
|
4782
|
-
var _react = _interopRequireWildcard(
|
|
4786
|
+
var _react = _interopRequireWildcard(React);
|
|
4783
4787
|
|
|
4784
4788
|
|
|
4785
4789
|
|
|
@@ -5022,7 +5026,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5022
5026
|
});
|
|
5023
5027
|
exports["default"] = exports.Twitch = void 0;
|
|
5024
5028
|
|
|
5025
|
-
var _react = _interopRequireWildcard(
|
|
5029
|
+
var _react = _interopRequireWildcard(React);
|
|
5026
5030
|
|
|
5027
5031
|
|
|
5028
5032
|
|
|
@@ -5238,7 +5242,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5238
5242
|
});
|
|
5239
5243
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5240
5244
|
|
|
5241
|
-
var _react = _interopRequireWildcard(
|
|
5245
|
+
var _react = _interopRequireWildcard(React);
|
|
5242
5246
|
|
|
5243
5247
|
|
|
5244
5248
|
|
|
@@ -5474,7 +5478,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5474
5478
|
});
|
|
5475
5479
|
exports["default"] = exports.Mixcloud = void 0;
|
|
5476
5480
|
|
|
5477
|
-
var _react = _interopRequireWildcard(
|
|
5481
|
+
var _react = _interopRequireWildcard(React);
|
|
5478
5482
|
|
|
5479
5483
|
|
|
5480
5484
|
|
|
@@ -5673,7 +5677,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5673
5677
|
});
|
|
5674
5678
|
exports["default"] = exports.FilePlayer = void 0;
|
|
5675
5679
|
|
|
5676
|
-
var _react = _interopRequireWildcard(
|
|
5680
|
+
var _react = _interopRequireWildcard(React);
|
|
5677
5681
|
|
|
5678
5682
|
|
|
5679
5683
|
|
|
@@ -6240,7 +6244,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6240
6244
|
});
|
|
6241
6245
|
exports["default"] = void 0;
|
|
6242
6246
|
|
|
6243
|
-
var _react = _interopRequireWildcard(
|
|
6247
|
+
var _react = _interopRequireWildcard(React);
|
|
6244
6248
|
|
|
6245
6249
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6246
6250
|
|
|
@@ -6419,7 +6423,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6419
6423
|
});
|
|
6420
6424
|
exports["default"] = renderPreloadPlayers;
|
|
6421
6425
|
|
|
6422
|
-
var _react = _interopRequireDefault(
|
|
6426
|
+
var _react = _interopRequireDefault(React);
|
|
6423
6427
|
|
|
6424
6428
|
var _Player = _interopRequireDefault(Player_1);
|
|
6425
6429
|
|
|
@@ -6558,7 +6562,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
6558
6562
|
});
|
|
6559
6563
|
exports["default"] = void 0;
|
|
6560
6564
|
|
|
6561
|
-
var _react = _interopRequireWildcard(
|
|
6565
|
+
var _react = _interopRequireWildcard(React);
|
|
6562
6566
|
|
|
6563
6567
|
|
|
6564
6568
|
|
|
@@ -6872,20 +6876,20 @@ var Audio = function Audio(_ref) {
|
|
|
6872
6876
|
var node = _ref.node;
|
|
6873
6877
|
|
|
6874
6878
|
if (node.uploadAudio) {
|
|
6875
|
-
return
|
|
6879
|
+
return React.createElement(
|
|
6876
6880
|
'div',
|
|
6877
6881
|
{ className: 'audio d-block text-center mb-3' },
|
|
6878
|
-
|
|
6882
|
+
React.createElement(
|
|
6879
6883
|
'audio',
|
|
6880
6884
|
{ controls: true, controlsList: 'nodownload', className: 'audio' },
|
|
6881
|
-
|
|
6882
|
-
|
|
6885
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
6886
|
+
React.createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
6883
6887
|
'Your browser does not support the audio element.'
|
|
6884
6888
|
),
|
|
6885
|
-
node.caption &&
|
|
6889
|
+
node.caption && React.createElement(
|
|
6886
6890
|
'p',
|
|
6887
6891
|
{ style: { fontSize: '.9rem' } },
|
|
6888
|
-
|
|
6892
|
+
React.createElement(
|
|
6889
6893
|
'em',
|
|
6890
6894
|
null,
|
|
6891
6895
|
node.caption
|
|
@@ -6895,15 +6899,15 @@ var Audio = function Audio(_ref) {
|
|
|
6895
6899
|
} else if (node.audioFilePth) {
|
|
6896
6900
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
6897
6901
|
if (hostname === 'embeds.audioboom.com') {
|
|
6898
|
-
return
|
|
6902
|
+
return React.createElement(
|
|
6899
6903
|
'div',
|
|
6900
6904
|
null,
|
|
6901
|
-
|
|
6905
|
+
React.createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
6902
6906
|
' ',
|
|
6903
|
-
node.caption &&
|
|
6907
|
+
node.caption && React.createElement(
|
|
6904
6908
|
'p',
|
|
6905
6909
|
{ style: { fontSize: '.9rem' } },
|
|
6906
|
-
|
|
6910
|
+
React.createElement(
|
|
6907
6911
|
'em',
|
|
6908
6912
|
null,
|
|
6909
6913
|
node.caption
|
|
@@ -6911,14 +6915,14 @@ var Audio = function Audio(_ref) {
|
|
|
6911
6915
|
)
|
|
6912
6916
|
);
|
|
6913
6917
|
}
|
|
6914
|
-
return
|
|
6918
|
+
return React.createElement(
|
|
6915
6919
|
'div',
|
|
6916
6920
|
{ className: 'audio' },
|
|
6917
|
-
|
|
6918
|
-
node.caption &&
|
|
6921
|
+
React.createElement(ReactPlayer, { url: node.audioFilePth, controls: true, width: '100%', height: '100%' }),
|
|
6922
|
+
node.caption && React.createElement(
|
|
6919
6923
|
'p',
|
|
6920
6924
|
{ style: { fontSize: '.9rem' } },
|
|
6921
|
-
|
|
6925
|
+
React.createElement(
|
|
6922
6926
|
'em',
|
|
6923
6927
|
null,
|
|
6924
6928
|
node.caption
|
|
@@ -7019,10 +7023,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
7019
7023
|
Segment.report_video_event('Video Pause', main_16, duration, current, segment, 'MP4');
|
|
7020
7024
|
};
|
|
7021
7025
|
|
|
7022
|
-
return
|
|
7026
|
+
return React.createElement(
|
|
7023
7027
|
'div',
|
|
7024
7028
|
null,
|
|
7025
|
-
vidLoaded &&
|
|
7029
|
+
vidLoaded && React.createElement(
|
|
7026
7030
|
'video',
|
|
7027
7031
|
{
|
|
7028
7032
|
poster: thumbnail || '',
|
|
@@ -7040,7 +7044,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
7040
7044
|
onPlay: function onPlay(e) {
|
|
7041
7045
|
return handleOnPlay(e);
|
|
7042
7046
|
} },
|
|
7043
|
-
|
|
7047
|
+
React.createElement('source', { src: url, type: 'video/mp4' }),
|
|
7044
7048
|
'Your browser does not support the video tag.'
|
|
7045
7049
|
)
|
|
7046
7050
|
);
|
|
@@ -7301,13 +7305,13 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7301
7305
|
}
|
|
7302
7306
|
};
|
|
7303
7307
|
|
|
7304
|
-
return
|
|
7308
|
+
return React.createElement(
|
|
7305
7309
|
'div',
|
|
7306
7310
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7307
|
-
|
|
7311
|
+
React.createElement(
|
|
7308
7312
|
'div',
|
|
7309
7313
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7310
|
-
vidUrl && vidType == 'youtube' &&
|
|
7314
|
+
vidUrl && vidType == 'youtube' && React.createElement(YouTube, {
|
|
7311
7315
|
className: 'fluid-iframe',
|
|
7312
7316
|
videoId: getYoutubeId(vidUrl),
|
|
7313
7317
|
opts: opts,
|
|
@@ -7318,10 +7322,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7318
7322
|
return handleOnEnd(e);
|
|
7319
7323
|
}
|
|
7320
7324
|
}),
|
|
7321
|
-
vidUrl && vidType == 'mp4' &&
|
|
7322
|
-
vidUrl && vidType == 'brightcove' &&
|
|
7323
|
-
|
|
7324
|
-
series &&
|
|
7325
|
+
vidUrl && vidType == 'mp4' && React.createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7326
|
+
vidUrl && vidType == 'brightcove' && React.createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7327
|
+
React.createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7328
|
+
series && React.createElement(
|
|
7325
7329
|
'div',
|
|
7326
7330
|
{
|
|
7327
7331
|
className: 'vid-series',
|
|
@@ -7331,10 +7335,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7331
7335
|
maxHeight: '100%',
|
|
7332
7336
|
paddingBottom: '0'
|
|
7333
7337
|
} },
|
|
7334
|
-
|
|
7338
|
+
React.createElement(
|
|
7335
7339
|
'p',
|
|
7336
7340
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
7337
|
-
|
|
7341
|
+
React.createElement(
|
|
7338
7342
|
'b',
|
|
7339
7343
|
{ style: { fontSize: '1.25em' } },
|
|
7340
7344
|
'Now Playing:'
|
|
@@ -7342,36 +7346,36 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7342
7346
|
' ',
|
|
7343
7347
|
seriesData[series ? series - 1 : 0].title
|
|
7344
7348
|
),
|
|
7345
|
-
vidUrl &&
|
|
7349
|
+
vidUrl && React.createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
7346
7350
|
)
|
|
7347
7351
|
),
|
|
7348
|
-
|
|
7349
|
-
|
|
7352
|
+
React.createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
7353
|
+
React.createElement(
|
|
7350
7354
|
'div',
|
|
7351
7355
|
{ className: 'mt-2 mb-5' },
|
|
7352
|
-
series &&
|
|
7356
|
+
series && React.createElement(
|
|
7353
7357
|
'h3',
|
|
7354
7358
|
null,
|
|
7355
7359
|
'Episode ',
|
|
7356
7360
|
series
|
|
7357
7361
|
),
|
|
7358
|
-
nodes.videos[series - 1] &&
|
|
7362
|
+
nodes.videos[series - 1] && React.createElement(
|
|
7359
7363
|
'h2',
|
|
7360
7364
|
{ className: 'mb-3' },
|
|
7361
7365
|
nodes.videos[series - 1].title
|
|
7362
7366
|
),
|
|
7363
|
-
nodes.videos[series - 1] && nodes.videos[series - 1].intro &&
|
|
7367
|
+
nodes.videos[series - 1] && nodes.videos[series - 1].intro && React.createElement(
|
|
7364
7368
|
'p',
|
|
7365
7369
|
{ className: 'mb-3' },
|
|
7366
|
-
|
|
7370
|
+
React.createElement(
|
|
7367
7371
|
'em',
|
|
7368
7372
|
null,
|
|
7369
7373
|
nodes.videos[series - 1].intro
|
|
7370
7374
|
)
|
|
7371
7375
|
),
|
|
7372
|
-
nodes.videos[series - 1] && nodes.videos[series - 1].text &&
|
|
7376
|
+
nodes.videos[series - 1] && nodes.videos[series - 1].text && React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: nodes.videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
7373
7377
|
),
|
|
7374
|
-
|
|
7378
|
+
React.createElement(
|
|
7375
7379
|
'style',
|
|
7376
7380
|
{ jsx: 'true' },
|
|
7377
7381
|
'\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 '
|
|
@@ -7424,54 +7428,54 @@ var Poll = function Poll(_ref) {
|
|
|
7424
7428
|
return acc;
|
|
7425
7429
|
}
|
|
7426
7430
|
}, 0);
|
|
7427
|
-
return
|
|
7428
|
-
|
|
7431
|
+
return React.createElement(
|
|
7432
|
+
React.Fragment,
|
|
7429
7433
|
null,
|
|
7430
|
-
question &&
|
|
7434
|
+
question && React.createElement(
|
|
7431
7435
|
'p',
|
|
7432
7436
|
{ className: 'font-weight-bold' },
|
|
7433
7437
|
question
|
|
7434
7438
|
),
|
|
7435
|
-
!showAnswer && choices && choices.length > 0 &&
|
|
7439
|
+
!showAnswer && choices && choices.length > 0 && React.createElement(
|
|
7436
7440
|
'form',
|
|
7437
7441
|
{ onSubmit: function onSubmit(e) {
|
|
7438
7442
|
return onSubmitPoll(e);
|
|
7439
7443
|
} },
|
|
7440
7444
|
choices && choices.map(function (choice) {
|
|
7441
|
-
return
|
|
7445
|
+
return React.createElement(
|
|
7442
7446
|
'div',
|
|
7443
7447
|
{ key: choice._key },
|
|
7444
|
-
|
|
7448
|
+
React.createElement(
|
|
7445
7449
|
'label',
|
|
7446
7450
|
{ className: 'pl-2' },
|
|
7447
|
-
|
|
7451
|
+
React.createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
7448
7452
|
return setSelectedChoice(e.target.value);
|
|
7449
7453
|
} }),
|
|
7450
7454
|
' ' + choice.choiceText
|
|
7451
7455
|
)
|
|
7452
7456
|
);
|
|
7453
7457
|
}),
|
|
7454
|
-
|
|
7458
|
+
React.createElement(
|
|
7455
7459
|
Button,
|
|
7456
7460
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
7457
7461
|
'Vote'
|
|
7458
7462
|
)
|
|
7459
7463
|
),
|
|
7460
|
-
|
|
7464
|
+
React.createElement(
|
|
7461
7465
|
'div',
|
|
7462
7466
|
{ className: 'progress-container' },
|
|
7463
7467
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
7464
7468
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
7465
|
-
return
|
|
7469
|
+
return React.createElement(
|
|
7466
7470
|
'div',
|
|
7467
7471
|
{ key: choice._key, className: 'mb-3' },
|
|
7468
|
-
|
|
7472
|
+
React.createElement(
|
|
7469
7473
|
'span',
|
|
7470
7474
|
null,
|
|
7471
7475
|
choice.choiceText
|
|
7472
7476
|
),
|
|
7473
|
-
|
|
7474
|
-
|
|
7477
|
+
React.createElement(ProgressBar, { now: percentage }),
|
|
7478
|
+
React.createElement(
|
|
7475
7479
|
'span',
|
|
7476
7480
|
{ className: 'float-right' },
|
|
7477
7481
|
percentage,
|
|
@@ -7482,14 +7486,14 @@ var Poll = function Poll(_ref) {
|
|
|
7482
7486
|
);
|
|
7483
7487
|
})
|
|
7484
7488
|
),
|
|
7485
|
-
showAnswer &&
|
|
7489
|
+
showAnswer && React.createElement(
|
|
7486
7490
|
'h4',
|
|
7487
7491
|
{ className: 'text-center small p-3' },
|
|
7488
7492
|
'Total Votes: ',
|
|
7489
7493
|
choicesTotalCount
|
|
7490
7494
|
),
|
|
7491
|
-
showAnswer && response &&
|
|
7492
|
-
|
|
7495
|
+
showAnswer && response && React.createElement(BlockContent, { blocks: response, serializers: getSerializers }),
|
|
7496
|
+
React.createElement(
|
|
7493
7497
|
'style',
|
|
7494
7498
|
{ jsx: 'true' },
|
|
7495
7499
|
'\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -7497,7 +7501,7 @@ var Poll = function Poll(_ref) {
|
|
|
7497
7501
|
);
|
|
7498
7502
|
};
|
|
7499
7503
|
|
|
7500
|
-
var numberOfPaginations =
|
|
7504
|
+
var numberOfPaginations = main_39 ? 4 : 10;
|
|
7501
7505
|
|
|
7502
7506
|
var Quiz = function Quiz(_ref) {
|
|
7503
7507
|
var quizzes = _ref.quizzes,
|
|
@@ -7608,20 +7612,20 @@ var Quiz = function Quiz(_ref) {
|
|
|
7608
7612
|
};
|
|
7609
7613
|
|
|
7610
7614
|
var renderPagination = function renderPagination() {
|
|
7611
|
-
return
|
|
7615
|
+
return React.createElement(
|
|
7612
7616
|
Pagination,
|
|
7613
|
-
{ className: 'p-0 m-0', size:
|
|
7614
|
-
|
|
7617
|
+
{ className: 'p-0 m-0', size: main_39 && 'sm' },
|
|
7618
|
+
React.createElement(Pagination.First, { onClick: function onClick() {
|
|
7615
7619
|
return changePage('first');
|
|
7616
7620
|
}, disabled: currentPage === 1 }),
|
|
7617
|
-
|
|
7621
|
+
React.createElement(Pagination.Prev, { onClick: function onClick() {
|
|
7618
7622
|
return changePage('prev');
|
|
7619
7623
|
}, disabled: currentPage === 1 }),
|
|
7620
|
-
|
|
7624
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7621
7625
|
return renderNewPages('prev');
|
|
7622
7626
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
7623
7627
|
pages.map(function (page) {
|
|
7624
|
-
return
|
|
7628
|
+
return React.createElement(
|
|
7625
7629
|
Pagination.Item,
|
|
7626
7630
|
{ key: page, active: page === currentPage, onClick: function onClick() {
|
|
7627
7631
|
return changePage(page);
|
|
@@ -7629,41 +7633,41 @@ var Quiz = function Quiz(_ref) {
|
|
|
7629
7633
|
page
|
|
7630
7634
|
);
|
|
7631
7635
|
}),
|
|
7632
|
-
|
|
7636
|
+
React.createElement(Pagination.Ellipsis, { onClick: function onClick() {
|
|
7633
7637
|
return renderNewPages('next');
|
|
7634
7638
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
7635
|
-
|
|
7639
|
+
React.createElement(Pagination.Next, { onClick: function onClick() {
|
|
7636
7640
|
return changePage('next');
|
|
7637
7641
|
}, disabled: currentPage === pageCount }),
|
|
7638
|
-
|
|
7642
|
+
React.createElement(Pagination.Last, { onClick: function onClick() {
|
|
7639
7643
|
return changePage('last');
|
|
7640
7644
|
}, disabled: currentPage === pageCount })
|
|
7641
7645
|
);
|
|
7642
7646
|
};
|
|
7643
7647
|
|
|
7644
|
-
return
|
|
7645
|
-
|
|
7648
|
+
return React.createElement(
|
|
7649
|
+
React.Fragment,
|
|
7646
7650
|
null,
|
|
7647
|
-
quizzes[currentPage - 1] &&
|
|
7648
|
-
!showAnswer &&
|
|
7651
|
+
quizzes[currentPage - 1] && React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
7652
|
+
!showAnswer && React.createElement(
|
|
7649
7653
|
Button$1,
|
|
7650
7654
|
{ onClick: function onClick() {
|
|
7651
7655
|
return setShowAnswer(true);
|
|
7652
7656
|
}, variant: 'info', block: true },
|
|
7653
7657
|
'Please click here for answer'
|
|
7654
7658
|
),
|
|
7655
|
-
quizzes[currentPage - 1] && showAnswer &&
|
|
7656
|
-
|
|
7659
|
+
quizzes[currentPage - 1] && showAnswer && React.createElement(
|
|
7660
|
+
React.Fragment,
|
|
7657
7661
|
null,
|
|
7658
|
-
|
|
7662
|
+
React.createElement(
|
|
7659
7663
|
'h4',
|
|
7660
7664
|
null,
|
|
7661
7665
|
'Answer:'
|
|
7662
7666
|
),
|
|
7663
|
-
|
|
7667
|
+
React.createElement(BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
7664
7668
|
),
|
|
7665
|
-
|
|
7666
|
-
pageCount > 1 &&
|
|
7669
|
+
React.createElement('br', null),
|
|
7670
|
+
pageCount > 1 && React.createElement(
|
|
7667
7671
|
'div',
|
|
7668
7672
|
{ className: 'd-flex justify-content-center' },
|
|
7669
7673
|
renderPagination()
|
|
@@ -7674,10 +7678,10 @@ var Quiz = function Quiz(_ref) {
|
|
|
7674
7678
|
var Leads = function Leads(_ref) {
|
|
7675
7679
|
var url = _ref.url;
|
|
7676
7680
|
|
|
7677
|
-
return
|
|
7681
|
+
return React.createElement(
|
|
7678
7682
|
'div',
|
|
7679
7683
|
{ className: 'd-block text-center mb-3' },
|
|
7680
|
-
url &&
|
|
7684
|
+
url && React.createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
7681
7685
|
);
|
|
7682
7686
|
};
|
|
7683
7687
|
|
|
@@ -7725,42 +7729,42 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
7725
7729
|
}
|
|
7726
7730
|
};
|
|
7727
7731
|
|
|
7728
|
-
return
|
|
7732
|
+
return React.createElement(
|
|
7729
7733
|
'div',
|
|
7730
7734
|
{ ref: carouselRef, className: 'mt-3 mb-4' },
|
|
7731
|
-
|
|
7735
|
+
React.createElement(
|
|
7732
7736
|
Carousel,
|
|
7733
7737
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
7734
7738
|
slides && slides.map(function (slide) {
|
|
7735
7739
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
7736
|
-
return
|
|
7740
|
+
return React.createElement(
|
|
7737
7741
|
Carousel.Item,
|
|
7738
7742
|
{ key: slide._key },
|
|
7739
|
-
|
|
7743
|
+
React.createElement(
|
|
7740
7744
|
'a',
|
|
7741
7745
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
7742
|
-
|
|
7746
|
+
React.createElement(
|
|
7743
7747
|
LazyLoad,
|
|
7744
7748
|
null,
|
|
7745
|
-
|
|
7749
|
+
React.createElement('img', { src: urlFor$1(slide.slideshowImage, client).url(), alt: slide.slideshowImage.alt || 'slideshow image', style: { width: '100%' } })
|
|
7746
7750
|
)
|
|
7747
7751
|
),
|
|
7748
|
-
|
|
7752
|
+
React.createElement(
|
|
7749
7753
|
'div',
|
|
7750
7754
|
{ className: 'p-2' },
|
|
7751
|
-
slide.slideshowImage.caption &&
|
|
7755
|
+
slide.slideshowImage.caption && React.createElement(
|
|
7752
7756
|
'h3',
|
|
7753
7757
|
{ style: { padding: '0px' } },
|
|
7754
7758
|
slide.slideshowImage.caption
|
|
7755
7759
|
),
|
|
7756
|
-
slide.description &&
|
|
7760
|
+
slide.description && React.createElement(BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
7757
7761
|
)
|
|
7758
7762
|
);
|
|
7759
7763
|
}
|
|
7760
7764
|
return null;
|
|
7761
7765
|
})
|
|
7762
7766
|
),
|
|
7763
|
-
|
|
7767
|
+
React.createElement(
|
|
7764
7768
|
'style',
|
|
7765
7769
|
{ jsx: 'true' },
|
|
7766
7770
|
'\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 '
|
|
@@ -7779,10 +7783,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
7779
7783
|
sizes = _props$node.sizes,
|
|
7780
7784
|
sizeMapping = _props$node.sizeMapping;
|
|
7781
7785
|
|
|
7782
|
-
return
|
|
7786
|
+
return React.createElement(
|
|
7783
7787
|
'div',
|
|
7784
7788
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
7785
|
-
|
|
7789
|
+
React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
7786
7790
|
);
|
|
7787
7791
|
};
|
|
7788
7792
|
|
|
@@ -7804,15 +7808,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
7804
7808
|
|
|
7805
7809
|
var htmlContent = '\n <script needsegmentsupport="true" type="text/javascript" src="https://mjhlifesciences.formstack.com/forms/js.php/' + FormID + '"></script>\n <noscript><a href="https://mjhlifesciences.formstack.com/forms/' + FormID + '" title="Online Form">' + Caption + '</a></noscript>\n ';
|
|
7806
7810
|
|
|
7807
|
-
return
|
|
7811
|
+
return React.createElement(
|
|
7808
7812
|
'div',
|
|
7809
7813
|
{ ref: formstackRef },
|
|
7810
|
-
|
|
7814
|
+
React.createElement(
|
|
7811
7815
|
'h4',
|
|
7812
7816
|
{ className: 'formstack-caption' },
|
|
7813
7817
|
Caption
|
|
7814
7818
|
),
|
|
7815
|
-
|
|
7819
|
+
React.createElement('div', { dangerouslySetInnerHTML: createMarkup(htmlContent) })
|
|
7816
7820
|
);
|
|
7817
7821
|
};
|
|
7818
7822
|
|
|
@@ -7832,29 +7836,29 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
7832
7836
|
}
|
|
7833
7837
|
});
|
|
7834
7838
|
if (medias && medias.length > 0) {
|
|
7835
|
-
return
|
|
7839
|
+
return React.createElement(
|
|
7836
7840
|
'div',
|
|
7837
7841
|
{ className: 'multi-media-container' },
|
|
7838
|
-
|
|
7842
|
+
React.createElement(
|
|
7839
7843
|
Row,
|
|
7840
7844
|
{ noGutters: true },
|
|
7841
7845
|
medias.map(function (media) {
|
|
7842
|
-
return
|
|
7846
|
+
return React.createElement(
|
|
7843
7847
|
Col,
|
|
7844
7848
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
7845
|
-
|
|
7849
|
+
React.createElement(
|
|
7846
7850
|
'a',
|
|
7847
7851
|
_extends({}, media.upload_doc && media.upload_doc.asset && { href: media.upload_doc.asset.url, target: media.blank ? '_blank' : '_self' }, {
|
|
7848
7852
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
7849
|
-
|
|
7853
|
+
React.createElement(
|
|
7850
7854
|
'div',
|
|
7851
7855
|
{ className: 'multi-media-image-container' },
|
|
7852
|
-
imageBox &&
|
|
7856
|
+
imageBox && React.createElement(
|
|
7853
7857
|
LazyLoad,
|
|
7854
7858
|
{ once: true },
|
|
7855
|
-
|
|
7859
|
+
React.createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor$2(media.poster, client).url(), alt: media.alt })
|
|
7856
7860
|
),
|
|
7857
|
-
media.caption &&
|
|
7861
|
+
media.caption && React.createElement(
|
|
7858
7862
|
'span',
|
|
7859
7863
|
{ className: 'multi-media-caption' },
|
|
7860
7864
|
media.caption
|
|
@@ -7864,7 +7868,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
7864
7868
|
);
|
|
7865
7869
|
})
|
|
7866
7870
|
),
|
|
7867
|
-
|
|
7871
|
+
React.createElement(
|
|
7868
7872
|
'style',
|
|
7869
7873
|
{ jsx: 'true' },
|
|
7870
7874
|
'\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 '
|
|
@@ -7880,34 +7884,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7880
7884
|
var profileImage = arguments[6];
|
|
7881
7885
|
|
|
7882
7886
|
if (authorName && authorURL) {
|
|
7883
|
-
return
|
|
7887
|
+
return React.createElement(
|
|
7884
7888
|
'span',
|
|
7885
7889
|
null,
|
|
7886
|
-
|
|
7890
|
+
React.createElement(
|
|
7887
7891
|
'a',
|
|
7888
7892
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7889
7893
|
authorName
|
|
7890
7894
|
),
|
|
7891
|
-
|
|
7895
|
+
React.createElement(
|
|
7892
7896
|
Card,
|
|
7893
7897
|
{ className: 'author-details-card-' + index },
|
|
7894
|
-
|
|
7898
|
+
React.createElement(
|
|
7895
7899
|
Row$1,
|
|
7896
7900
|
null,
|
|
7897
|
-
profileImage &&
|
|
7901
|
+
profileImage && React.createElement(
|
|
7898
7902
|
Col$1,
|
|
7899
7903
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7900
|
-
|
|
7904
|
+
React.createElement(Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7901
7905
|
),
|
|
7902
|
-
|
|
7906
|
+
React.createElement(
|
|
7903
7907
|
Col$1,
|
|
7904
7908
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7905
|
-
|
|
7909
|
+
React.createElement(
|
|
7906
7910
|
'h5',
|
|
7907
7911
|
null,
|
|
7908
7912
|
authorName
|
|
7909
7913
|
),
|
|
7910
|
-
|
|
7914
|
+
React.createElement(
|
|
7911
7915
|
'p',
|
|
7912
7916
|
null,
|
|
7913
7917
|
biography
|
|
@@ -7915,7 +7919,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7915
7919
|
)
|
|
7916
7920
|
)
|
|
7917
7921
|
),
|
|
7918
|
-
|
|
7922
|
+
React.createElement(
|
|
7919
7923
|
'style',
|
|
7920
7924
|
{ jsx: 'true' },
|
|
7921
7925
|
'\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 '
|
|
@@ -7923,7 +7927,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7923
7927
|
length !== index + 1 && ' , '
|
|
7924
7928
|
);
|
|
7925
7929
|
} else if (authorName) {
|
|
7926
|
-
return
|
|
7930
|
+
return React.createElement(
|
|
7927
7931
|
'span',
|
|
7928
7932
|
{ key: index },
|
|
7929
7933
|
authorName,
|
|
@@ -7969,7 +7973,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
7969
7973
|
}
|
|
7970
7974
|
};
|
|
7971
7975
|
|
|
7972
|
-
_this.wraperRef =
|
|
7976
|
+
_this.wraperRef = React.createRef();
|
|
7973
7977
|
_this.visible = false;
|
|
7974
7978
|
return _this;
|
|
7975
7979
|
}
|
|
@@ -7997,7 +8001,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
7997
8001
|
_props$id = _props.id,
|
|
7998
8002
|
id = _props$id === undefined ? '' : _props$id;
|
|
7999
8003
|
|
|
8000
|
-
return
|
|
8004
|
+
return React.createElement(
|
|
8001
8005
|
'div',
|
|
8002
8006
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8003
8007
|
this.props.children
|
|
@@ -8006,7 +8010,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8006
8010
|
}]);
|
|
8007
8011
|
|
|
8008
8012
|
return InscreenSensor;
|
|
8009
|
-
}(
|
|
8013
|
+
}(React.Component);
|
|
8010
8014
|
|
|
8011
8015
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8012
8016
|
var nodes = _ref.nodes,
|
|
@@ -8030,7 +8034,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8030
8034
|
var refArray = useRef([]);
|
|
8031
8035
|
var adRefArray = useRef([]);
|
|
8032
8036
|
|
|
8033
|
-
var _ref2 =
|
|
8037
|
+
var _ref2 = main_40 ? useState(100) : useState(-25),
|
|
8034
8038
|
_ref3 = _slicedToArray(_ref2, 2),
|
|
8035
8039
|
NavoffsetTop = _ref3[0],
|
|
8036
8040
|
setNavoffsetTop = _ref3[1];
|
|
@@ -8052,33 +8056,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8052
8056
|
return articles.map(function (article, index) {
|
|
8053
8057
|
var showReading = show ? 'showReading' : '';
|
|
8054
8058
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
8055
|
-
return
|
|
8059
|
+
return React.createElement(
|
|
8056
8060
|
'div',
|
|
8057
8061
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
8058
|
-
|
|
8062
|
+
React.createElement(
|
|
8059
8063
|
'a',
|
|
8060
8064
|
{ onClick: function onClick(e) {
|
|
8061
8065
|
return articleCardClickHandler(e);
|
|
8062
8066
|
}, 'data-articleid': '' + article.param.current },
|
|
8063
|
-
|
|
8067
|
+
React.createElement(
|
|
8064
8068
|
'div',
|
|
8065
8069
|
{ className: 'prevNext-thumbnail' },
|
|
8066
|
-
|
|
8067
|
-
|
|
8070
|
+
React.createElement('img', { src: urlFor(article.thumbnail.asset).url() }),
|
|
8071
|
+
React.createElement(
|
|
8068
8072
|
'div',
|
|
8069
8073
|
{ className: 'prevNext-reading ' + showReading },
|
|
8070
8074
|
articleLabel
|
|
8071
8075
|
)
|
|
8072
8076
|
),
|
|
8073
|
-
|
|
8077
|
+
React.createElement(
|
|
8074
8078
|
'div',
|
|
8075
8079
|
{ className: 'prevNext-summary' },
|
|
8076
|
-
|
|
8080
|
+
React.createElement(
|
|
8077
8081
|
'div',
|
|
8078
8082
|
{ className: 'prevNext-publishDate' },
|
|
8079
8083
|
moment(article.published).format('LL')
|
|
8080
8084
|
),
|
|
8081
|
-
|
|
8085
|
+
React.createElement(
|
|
8082
8086
|
'h2',
|
|
8083
8087
|
{ className: 'prevNext-title' },
|
|
8084
8088
|
article.title
|
|
@@ -8128,7 +8132,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8128
8132
|
|
|
8129
8133
|
useEffect(function () {
|
|
8130
8134
|
try {
|
|
8131
|
-
if (
|
|
8135
|
+
if (main_40) {
|
|
8132
8136
|
setNavoffsetTop(document.getElementById('navbar-ham').offsetHeight - 15);
|
|
8133
8137
|
}
|
|
8134
8138
|
} catch (e) {}
|
|
@@ -8146,14 +8150,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8146
8150
|
|
|
8147
8151
|
if (indexOfRef >= 0) {
|
|
8148
8152
|
//refArray.current[indexOfRef].wraperRef.current.scrollIntoView({ behavior: 'smooth' })
|
|
8149
|
-
window.scrollTo({ top: refArray.current[indexOfRef].wraperRef.current.offsetTop - NavoffsetTop, behavior: '
|
|
8153
|
+
window.scrollTo({ top: refArray.current[indexOfRef].wraperRef.current.offsetTop - NavoffsetTop, behavior: 'auto' });
|
|
8150
8154
|
}
|
|
8151
8155
|
setFirstLoad(true);
|
|
8152
8156
|
};
|
|
8153
8157
|
|
|
8154
8158
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
8155
8159
|
if (biography) {
|
|
8156
|
-
return
|
|
8160
|
+
return React.createElement(BlockContent, _extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
8157
8161
|
}
|
|
8158
8162
|
};
|
|
8159
8163
|
|
|
@@ -8212,7 +8216,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8212
8216
|
|
|
8213
8217
|
useEffect(function () {
|
|
8214
8218
|
if (!firstLoad) {
|
|
8215
|
-
if (
|
|
8219
|
+
if (main_40) {
|
|
8216
8220
|
grabLoadedAds();
|
|
8217
8221
|
} else {
|
|
8218
8222
|
scrollToArticle();
|
|
@@ -8236,7 +8240,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8236
8240
|
//const activeArticle = path
|
|
8237
8241
|
//let targeting = getTargeting({ article: activeArticle, cpModificationRequired, position: props.position, prevUrl })
|
|
8238
8242
|
|
|
8239
|
-
if (!
|
|
8243
|
+
if (!main_40) {
|
|
8240
8244
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8241
8245
|
if (window.googletag && googletag.pubadsReady) {
|
|
8242
8246
|
lib_3.refresh();
|
|
@@ -8244,7 +8248,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8244
8248
|
});
|
|
8245
8249
|
}
|
|
8246
8250
|
//Refresh leaderboard ad on mobile
|
|
8247
|
-
if (
|
|
8251
|
+
if (main_40) {
|
|
8248
8252
|
var leaderboardSlotId = '';
|
|
8249
8253
|
lib_3.getGoogletag().then(function (googletag) {
|
|
8250
8254
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -8254,31 +8258,31 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8254
8258
|
}
|
|
8255
8259
|
};
|
|
8256
8260
|
|
|
8257
|
-
return
|
|
8258
|
-
|
|
8261
|
+
return React.createElement(
|
|
8262
|
+
React.Fragment,
|
|
8259
8263
|
null,
|
|
8260
|
-
|
|
8261
|
-
|
|
8264
|
+
React.createElement('hr', { className: 'article-seperater my-4' }),
|
|
8265
|
+
React.createElement(
|
|
8262
8266
|
'div',
|
|
8263
8267
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8264
|
-
|
|
8268
|
+
React.createElement(
|
|
8265
8269
|
'h5',
|
|
8266
8270
|
{ className: 'objective-title' },
|
|
8267
8271
|
nodes.seriesTitle
|
|
8268
8272
|
),
|
|
8269
|
-
|
|
8273
|
+
React.createElement(
|
|
8270
8274
|
'div',
|
|
8271
8275
|
{ className: 'prevNextWrapper' },
|
|
8272
8276
|
PrevNextCards(false, -1)
|
|
8273
8277
|
)
|
|
8274
8278
|
),
|
|
8275
|
-
|
|
8276
|
-
|
|
8279
|
+
React.createElement('hr', { className: 'article-seperater' }),
|
|
8280
|
+
React.createElement(
|
|
8277
8281
|
'div',
|
|
8278
8282
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8279
|
-
|
|
8283
|
+
main_40 && Ads.map(function (ad, index) {
|
|
8280
8284
|
if (index === 0) {
|
|
8281
|
-
return
|
|
8285
|
+
return React.createElement(
|
|
8282
8286
|
'div',
|
|
8283
8287
|
{
|
|
8284
8288
|
key: 'addid-1',
|
|
@@ -8298,14 +8302,14 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8298
8302
|
}
|
|
8299
8303
|
})
|
|
8300
8304
|
),
|
|
8301
|
-
|
|
8305
|
+
React.createElement(
|
|
8302
8306
|
'div',
|
|
8303
8307
|
{ className: 'article-container', style: { marginBottom: '2rem' } },
|
|
8304
8308
|
nodes.articles.map(function (article, index) {
|
|
8305
|
-
return
|
|
8309
|
+
return React.createElement(
|
|
8306
8310
|
'div',
|
|
8307
8311
|
{ key: article.title },
|
|
8308
|
-
|
|
8312
|
+
React.createElement(
|
|
8309
8313
|
InscreenSensor,
|
|
8310
8314
|
{
|
|
8311
8315
|
offSetTop: 120,
|
|
@@ -8320,80 +8324,80 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8320
8324
|
onChangeArticle(article.param.current, visible, article.title, article.summary, urlFor(article.thumbnail.asset).url());
|
|
8321
8325
|
}
|
|
8322
8326
|
} },
|
|
8323
|
-
|
|
8327
|
+
React.createElement(
|
|
8324
8328
|
Head,
|
|
8325
8329
|
null,
|
|
8326
|
-
currentTitle !== null &&
|
|
8330
|
+
currentTitle !== null && React.createElement(
|
|
8327
8331
|
'title',
|
|
8328
8332
|
{ key: 'title' },
|
|
8329
8333
|
currentTitle
|
|
8330
8334
|
),
|
|
8331
|
-
currentSummary !== null &&
|
|
8332
|
-
currentURL !== null &&
|
|
8333
|
-
currentTitle !== null &&
|
|
8334
|
-
currentThumbnail !== null &&
|
|
8335
|
-
currentSummary !== null &&
|
|
8336
|
-
currentTitle !== null &&
|
|
8337
|
-
currentThumbnail !== null &&
|
|
8338
|
-
currentSummary !== null &&
|
|
8335
|
+
currentSummary !== null && React.createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
8336
|
+
currentURL !== null && React.createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
8337
|
+
currentTitle !== null && React.createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
8338
|
+
currentThumbnail !== null && React.createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
8339
|
+
currentSummary !== null && React.createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
8340
|
+
currentTitle !== null && React.createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
8341
|
+
currentThumbnail !== null && React.createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
8342
|
+
currentSummary !== null && React.createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
8339
8343
|
),
|
|
8340
|
-
|
|
8344
|
+
React.createElement(
|
|
8341
8345
|
'article',
|
|
8342
8346
|
{ className: 'article-wrapper' },
|
|
8343
|
-
|
|
8347
|
+
React.createElement(
|
|
8344
8348
|
'div',
|
|
8345
8349
|
{ className: 'article-publishDate' },
|
|
8346
8350
|
moment(article.published).format('LL')
|
|
8347
8351
|
),
|
|
8348
|
-
|
|
8352
|
+
React.createElement(
|
|
8349
8353
|
'div',
|
|
8350
8354
|
{ className: 'author-details-wrapper' },
|
|
8351
8355
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8352
|
-
return
|
|
8356
|
+
return React.createElement(
|
|
8353
8357
|
'span',
|
|
8354
8358
|
{ key: index },
|
|
8355
8359
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor(client, authorDetail.profileImage).url())
|
|
8356
8360
|
);
|
|
8357
8361
|
})
|
|
8358
8362
|
),
|
|
8359
|
-
|
|
8363
|
+
React.createElement(
|
|
8360
8364
|
'h2',
|
|
8361
8365
|
{ className: 'article-title' },
|
|
8362
8366
|
article.title
|
|
8363
8367
|
),
|
|
8364
|
-
|
|
8368
|
+
React.createElement(
|
|
8365
8369
|
'div',
|
|
8366
8370
|
{ className: 'mt-2 mb-2' },
|
|
8367
|
-
|
|
8371
|
+
React.createElement(BlockContent, _extends({
|
|
8368
8372
|
serializers: getSerializers,
|
|
8369
8373
|
videoAccountIDs: accountIDs,
|
|
8370
8374
|
blocks: article.text,
|
|
8371
8375
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
8372
8376
|
}, client.config())),
|
|
8373
|
-
|
|
8377
|
+
React.createElement('hr', { className: 'article-seperater my-4' })
|
|
8374
8378
|
),
|
|
8375
|
-
|
|
8379
|
+
React.createElement(
|
|
8376
8380
|
'div',
|
|
8377
8381
|
{ className: 'objective-prevNext-Wrapper' },
|
|
8378
|
-
|
|
8382
|
+
React.createElement(
|
|
8379
8383
|
'h5',
|
|
8380
8384
|
{ className: 'objective-title' },
|
|
8381
8385
|
nodes.seriesTitle
|
|
8382
8386
|
),
|
|
8383
|
-
|
|
8387
|
+
React.createElement(
|
|
8384
8388
|
'div',
|
|
8385
8389
|
{ className: 'prevNextWrapper' },
|
|
8386
8390
|
PrevNextCards(true, index)
|
|
8387
8391
|
)
|
|
8388
8392
|
),
|
|
8389
|
-
|
|
8393
|
+
React.createElement('hr', { className: 'article-seperater' })
|
|
8390
8394
|
),
|
|
8391
|
-
|
|
8395
|
+
React.createElement(
|
|
8392
8396
|
'div',
|
|
8393
8397
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
8394
|
-
|
|
8398
|
+
main_40 && nodes.articles.length - 1 !== index && Ads.map(function (ad, innerIndex) {
|
|
8395
8399
|
if (innerIndex === 0) {
|
|
8396
|
-
return
|
|
8400
|
+
return React.createElement(
|
|
8397
8401
|
'div',
|
|
8398
8402
|
{
|
|
8399
8403
|
key: 'addid-' + (index + 2),
|
|
@@ -8416,7 +8420,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
8416
8420
|
)
|
|
8417
8421
|
);
|
|
8418
8422
|
}),
|
|
8419
|
-
|
|
8423
|
+
React.createElement(
|
|
8420
8424
|
'style',
|
|
8421
8425
|
{ jsx: 'true' },
|
|
8422
8426
|
'\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 '
|
|
@@ -8446,11 +8450,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
8446
8450
|
};
|
|
8447
8451
|
}, [handleClickOutside]);
|
|
8448
8452
|
|
|
8449
|
-
return
|
|
8453
|
+
return React.createElement(
|
|
8450
8454
|
'div',
|
|
8451
8455
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
8452
|
-
|
|
8453
|
-
|
|
8456
|
+
React.createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
8457
|
+
React.createElement(
|
|
8454
8458
|
'style',
|
|
8455
8459
|
{ jsx: 'true' },
|
|
8456
8460
|
'\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 '
|
|
@@ -8548,21 +8552,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
8548
8552
|
margin: figureMargin
|
|
8549
8553
|
};
|
|
8550
8554
|
|
|
8551
|
-
return
|
|
8552
|
-
|
|
8555
|
+
return React.createElement(
|
|
8556
|
+
React.Fragment,
|
|
8553
8557
|
null,
|
|
8554
|
-
|
|
8558
|
+
React.createElement(
|
|
8555
8559
|
Figure$1,
|
|
8556
8560
|
{ className: '' + class_name, style: figureStyle },
|
|
8557
|
-
link ?
|
|
8561
|
+
link ? React.createElement(
|
|
8558
8562
|
'a',
|
|
8559
8563
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
8560
|
-
|
|
8561
|
-
caption &&
|
|
8562
|
-
) :
|
|
8563
|
-
|
|
8564
|
+
React.createElement(Figure$1.Image, { style: { maxWidth: '100%' }, className: 'figure-image', src: urlFor$3(node, client).url(), alt: alt && alt }),
|
|
8565
|
+
caption && React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } })
|
|
8566
|
+
) : React.createElement(
|
|
8567
|
+
React.Fragment,
|
|
8564
8568
|
null,
|
|
8565
|
-
|
|
8569
|
+
React.createElement(Figure$1.Image, {
|
|
8566
8570
|
style: { maxWidth: '100%', cursor: 'pointer', width: 'auto' },
|
|
8567
8571
|
className: 'figure-image',
|
|
8568
8572
|
src: urlFor$3(node, client).url(),
|
|
@@ -8572,9 +8576,9 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
8572
8576
|
setShowLightbox(true);
|
|
8573
8577
|
}
|
|
8574
8578
|
}),
|
|
8575
|
-
caption &&
|
|
8579
|
+
caption && React.createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } })
|
|
8576
8580
|
),
|
|
8577
|
-
|
|
8581
|
+
React.createElement(LightBox, {
|
|
8578
8582
|
showLightbox: showLightbox,
|
|
8579
8583
|
lightboxImgSrc: lightboxImgSrc,
|
|
8580
8584
|
closeLightbox: function closeLightbox() {
|
|
@@ -8583,7 +8587,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
8583
8587
|
}
|
|
8584
8588
|
})
|
|
8585
8589
|
),
|
|
8586
|
-
|
|
8590
|
+
React.createElement(
|
|
8587
8591
|
'style',
|
|
8588
8592
|
{ jsx: 'true' },
|
|
8589
8593
|
'\n .figure-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8591,7 +8595,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
8591
8595
|
);
|
|
8592
8596
|
};
|
|
8593
8597
|
|
|
8594
|
-
var Figure =
|
|
8598
|
+
var Figure = React.memo(FigureComponent, compareProps);
|
|
8595
8599
|
|
|
8596
8600
|
var urlFor$4 = function urlFor(source, client) {
|
|
8597
8601
|
var builder = imageUrlBuilder(client);
|
|
@@ -8631,40 +8635,40 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
8631
8635
|
var lightboxContainer = useRef(null);
|
|
8632
8636
|
useOutsideAlerter(lightboxImage, lightboxContainer, setOpenImg, setOpenImgSrc);
|
|
8633
8637
|
if (images && images.length > 0) {
|
|
8634
|
-
return
|
|
8638
|
+
return React.createElement(
|
|
8635
8639
|
'div',
|
|
8636
8640
|
{ className: 'multi-figure-container' },
|
|
8637
|
-
|
|
8641
|
+
React.createElement(
|
|
8638
8642
|
Row$1,
|
|
8639
8643
|
{ noGutters: true },
|
|
8640
8644
|
images.map(function (image, index) {
|
|
8641
|
-
return
|
|
8645
|
+
return React.createElement(
|
|
8642
8646
|
Col$1,
|
|
8643
8647
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
8644
|
-
image.link ?
|
|
8648
|
+
image.link ? React.createElement(
|
|
8645
8649
|
'a',
|
|
8646
8650
|
_extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
8647
|
-
|
|
8651
|
+
React.createElement(
|
|
8648
8652
|
'div',
|
|
8649
8653
|
{ className: 'multi-figure-image-container' },
|
|
8650
|
-
|
|
8654
|
+
React.createElement(
|
|
8651
8655
|
LazyLoad,
|
|
8652
8656
|
{ once: true },
|
|
8653
|
-
|
|
8657
|
+
React.createElement('img', { 'images-count': images.length, className: 'multi-figure-image', src: urlFor$4(image.asset, client).url(), alt: image.alt })
|
|
8654
8658
|
),
|
|
8655
|
-
image.caption &&
|
|
8659
|
+
image.caption && React.createElement(
|
|
8656
8660
|
'span',
|
|
8657
8661
|
{ className: 'multi-figure-caption' },
|
|
8658
8662
|
image.caption
|
|
8659
8663
|
)
|
|
8660
8664
|
)
|
|
8661
|
-
) :
|
|
8665
|
+
) : React.createElement(
|
|
8662
8666
|
'div',
|
|
8663
8667
|
{ className: 'multi-figure-image-container' },
|
|
8664
|
-
|
|
8668
|
+
React.createElement(
|
|
8665
8669
|
LazyLoad,
|
|
8666
8670
|
{ once: true },
|
|
8667
|
-
|
|
8671
|
+
React.createElement('img', {
|
|
8668
8672
|
'images-count': images.length,
|
|
8669
8673
|
className: 'multi-figure-image',
|
|
8670
8674
|
src: urlFor$4(image.asset, client).url(),
|
|
@@ -8675,7 +8679,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
8675
8679
|
}
|
|
8676
8680
|
})
|
|
8677
8681
|
),
|
|
8678
|
-
image.caption &&
|
|
8682
|
+
image.caption && React.createElement(
|
|
8679
8683
|
'span',
|
|
8680
8684
|
{ className: 'multi-figure-caption' },
|
|
8681
8685
|
image.caption
|
|
@@ -8684,12 +8688,12 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
8684
8688
|
);
|
|
8685
8689
|
})
|
|
8686
8690
|
),
|
|
8687
|
-
|
|
8691
|
+
React.createElement(
|
|
8688
8692
|
'div',
|
|
8689
8693
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
8690
|
-
|
|
8694
|
+
React.createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
8691
8695
|
),
|
|
8692
|
-
|
|
8696
|
+
React.createElement(
|
|
8693
8697
|
'style',
|
|
8694
8698
|
{ jsx: 'true' },
|
|
8695
8699
|
'\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: cover;\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 height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n 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 height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-figure-caption {\n font-size: 90%;\n color: #6c757d;\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 '
|
|
@@ -8711,10 +8715,10 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
8711
8715
|
|
|
8712
8716
|
var elementId = articleId ? id + '-' + articleId : id;
|
|
8713
8717
|
|
|
8714
|
-
return
|
|
8718
|
+
return React.createElement(
|
|
8715
8719
|
'div',
|
|
8716
8720
|
{ id: elementId },
|
|
8717
|
-
|
|
8721
|
+
React.createElement(BlockContent, { blocks: content, serializers: getSerializers })
|
|
8718
8722
|
);
|
|
8719
8723
|
};
|
|
8720
8724
|
|
|
@@ -8785,129 +8789,129 @@ var getSerializers = function getSerializers() {
|
|
|
8785
8789
|
var node = _ref.node;
|
|
8786
8790
|
var url = node.url;
|
|
8787
8791
|
|
|
8788
|
-
return
|
|
8792
|
+
return React.createElement(YouTubePlayer, { url: url });
|
|
8789
8793
|
},
|
|
8790
8794
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
8791
8795
|
var node = _ref2.node;
|
|
8792
8796
|
|
|
8793
|
-
return
|
|
8797
|
+
return React.createElement(YouTubeGallery, { nodes: node, accountIDs: videoAccountIDs || {}, client: client, getSerializers: getSerializers(client) });
|
|
8794
8798
|
},
|
|
8795
8799
|
articleSeries: function articleSeries(_ref3) {
|
|
8796
8800
|
var node = _ref3.node;
|
|
8797
8801
|
|
|
8798
|
-
return
|
|
8802
|
+
return React.createElement(ArticleSeries, { nodes: node, accountIDs: videoAccountIDs || {}, client: client, getSerializers: getSerializers.apply(undefined, props), Ads: Ads || null });
|
|
8799
8803
|
},
|
|
8800
8804
|
figure: function figure(_ref4) {
|
|
8801
8805
|
var node = _ref4.node;
|
|
8802
8806
|
|
|
8803
|
-
return
|
|
8807
|
+
return React.createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag });
|
|
8804
8808
|
},
|
|
8805
8809
|
multifigure: function multifigure(_ref5) {
|
|
8806
8810
|
var node = _ref5.node;
|
|
8807
8811
|
|
|
8808
|
-
return
|
|
8812
|
+
return React.createElement(MultiFigure, { node: node, client: client });
|
|
8809
8813
|
},
|
|
8810
8814
|
slideshow: function slideshow(_ref6) {
|
|
8811
8815
|
var node = _ref6.node;
|
|
8812
8816
|
var slides = node.slides;
|
|
8813
8817
|
|
|
8814
|
-
return
|
|
8818
|
+
return React.createElement(Slideshow, { slides: slides, client: client, pageview: pageview });
|
|
8815
8819
|
},
|
|
8816
8820
|
sidebar: function sidebar(_ref7) {
|
|
8817
8821
|
var node = _ref7.node;
|
|
8818
8822
|
var caption = node.caption,
|
|
8819
8823
|
content = node.content;
|
|
8820
8824
|
|
|
8821
|
-
return
|
|
8825
|
+
return React.createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers(props) });
|
|
8822
8826
|
},
|
|
8823
8827
|
datatable: function datatable(_ref8) {
|
|
8824
8828
|
var node = _ref8.node;
|
|
8825
8829
|
var table = node.table;
|
|
8826
8830
|
|
|
8827
|
-
return
|
|
8831
|
+
return React.createElement(TableShow, { rows: table.rows });
|
|
8828
8832
|
},
|
|
8829
8833
|
media: function media(_ref9) {
|
|
8830
8834
|
var node = _ref9.node;
|
|
8831
8835
|
|
|
8832
|
-
return
|
|
8836
|
+
return React.createElement(Media, { node: node, client: client });
|
|
8833
8837
|
},
|
|
8834
8838
|
iframe: function iframe(_ref10) {
|
|
8835
8839
|
var node = _ref10.node;
|
|
8836
8840
|
|
|
8837
|
-
return
|
|
8841
|
+
return React.createElement(IFrame, { url: node.url });
|
|
8838
8842
|
},
|
|
8839
8843
|
video: function video(_ref11) {
|
|
8840
8844
|
var node = _ref11.node;
|
|
8841
8845
|
|
|
8842
|
-
return
|
|
8846
|
+
return React.createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting });
|
|
8843
8847
|
},
|
|
8844
8848
|
audio: function audio(_ref12) {
|
|
8845
8849
|
var node = _ref12.node;
|
|
8846
8850
|
|
|
8847
|
-
return
|
|
8851
|
+
return React.createElement(Audio, { node: node });
|
|
8848
8852
|
},
|
|
8849
8853
|
poll: function poll(_ref13) {
|
|
8850
8854
|
var node = _ref13.node;
|
|
8851
8855
|
|
|
8852
|
-
return
|
|
8856
|
+
return React.createElement(Poll, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers(props) });
|
|
8853
8857
|
},
|
|
8854
8858
|
quiz: function quiz(_ref14) {
|
|
8855
8859
|
var node = _ref14.node;
|
|
8856
8860
|
var quizzes = node.quizzes;
|
|
8857
8861
|
|
|
8858
|
-
return
|
|
8862
|
+
return React.createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers(props), pageview: pageview, currentPage: currentPage });
|
|
8859
8863
|
},
|
|
8860
8864
|
leads: function leads(_ref15) {
|
|
8861
8865
|
var node = _ref15.node;
|
|
8862
8866
|
var leadID = node.leadID;
|
|
8863
8867
|
|
|
8864
8868
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
8865
|
-
return
|
|
8869
|
+
return React.createElement(Leads, { url: url });
|
|
8866
8870
|
},
|
|
8867
8871
|
slideshows: function slideshows(_ref16) {
|
|
8868
8872
|
var node = _ref16.node;
|
|
8869
8873
|
|
|
8870
|
-
return
|
|
8874
|
+
return React.createElement(Slideshow$1, { node: node, client: client, pageview: pageview, getSerializers: getSerializers(props) });
|
|
8871
8875
|
},
|
|
8872
8876
|
nativeAd: function nativeAd(_ref17) {
|
|
8873
8877
|
var node = _ref17.node;
|
|
8874
8878
|
|
|
8875
|
-
return
|
|
8879
|
+
return React.createElement(NativeAd, { node: node });
|
|
8876
8880
|
},
|
|
8877
8881
|
html_anchor_links: function html_anchor_links(_ref18) {
|
|
8878
8882
|
var node = _ref18.node;
|
|
8879
8883
|
|
|
8880
|
-
return
|
|
8884
|
+
return React.createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
8881
8885
|
},
|
|
8882
8886
|
hrtag: function hrtag() {
|
|
8883
|
-
return
|
|
8887
|
+
return React.createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
8884
8888
|
},
|
|
8885
8889
|
brtag: function brtag() {
|
|
8886
|
-
return
|
|
8890
|
+
return React.createElement('br', { className: 'line-break' });
|
|
8887
8891
|
},
|
|
8888
8892
|
formstack: function formstack(_ref19) {
|
|
8889
8893
|
var node = _ref19.node;
|
|
8890
8894
|
var FormID = node.FormID,
|
|
8891
8895
|
Caption = node.Caption;
|
|
8892
8896
|
|
|
8893
|
-
return
|
|
8897
|
+
return React.createElement(Formstack, { FormID: FormID, Caption: Caption });
|
|
8894
8898
|
},
|
|
8895
8899
|
multimedia: function multimedia(_ref20) {
|
|
8896
8900
|
var node = _ref20.node;
|
|
8897
8901
|
|
|
8898
|
-
return
|
|
8902
|
+
return React.createElement(MultiMedia, { node: node, client: client });
|
|
8899
8903
|
}
|
|
8900
8904
|
},
|
|
8901
8905
|
marks: {
|
|
8902
8906
|
superscript: function superscript(props) {
|
|
8903
|
-
return
|
|
8907
|
+
return React.createElement(
|
|
8904
8908
|
'sup',
|
|
8905
8909
|
null,
|
|
8906
8910
|
props.children
|
|
8907
8911
|
);
|
|
8908
8912
|
},
|
|
8909
8913
|
subscript: function subscript(props) {
|
|
8910
|
-
return
|
|
8914
|
+
return React.createElement(
|
|
8911
8915
|
'sub',
|
|
8912
8916
|
null,
|
|
8913
8917
|
props.children
|
|
@@ -8923,7 +8927,7 @@ var getSerializers = function getSerializers() {
|
|
|
8923
8927
|
if (href && href.charAt(0) === '#') {
|
|
8924
8928
|
var elementId = href.slice(1);
|
|
8925
8929
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
8926
|
-
return
|
|
8930
|
+
return React.createElement(
|
|
8927
8931
|
'a',
|
|
8928
8932
|
{ onClick: function onClick() {
|
|
8929
8933
|
return ScrollToElement(elementId);
|
|
@@ -8933,7 +8937,7 @@ var getSerializers = function getSerializers() {
|
|
|
8933
8937
|
}
|
|
8934
8938
|
|
|
8935
8939
|
var isExernalUrl = checkUrlIsExternal(href);
|
|
8936
|
-
return
|
|
8940
|
+
return React.createElement(
|
|
8937
8941
|
'a',
|
|
8938
8942
|
{ rel: blank ? 'noopener' : '', href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' },
|
|
8939
8943
|
children
|
|
@@ -8941,7 +8945,7 @@ var getSerializers = function getSerializers() {
|
|
|
8941
8945
|
},
|
|
8942
8946
|
alignleft: function alignleft(_ref21) {
|
|
8943
8947
|
var children = _ref21.children;
|
|
8944
|
-
return
|
|
8948
|
+
return React.createElement(
|
|
8945
8949
|
'div',
|
|
8946
8950
|
{ style: { textAlign: 'left' } },
|
|
8947
8951
|
children
|
|
@@ -8949,7 +8953,7 @@ var getSerializers = function getSerializers() {
|
|
|
8949
8953
|
},
|
|
8950
8954
|
alignright: function alignright(_ref22) {
|
|
8951
8955
|
var children = _ref22.children;
|
|
8952
|
-
return
|
|
8956
|
+
return React.createElement(
|
|
8953
8957
|
'div',
|
|
8954
8958
|
{ style: { textAlign: 'right' } },
|
|
8955
8959
|
children
|
|
@@ -8957,7 +8961,7 @@ var getSerializers = function getSerializers() {
|
|
|
8957
8961
|
},
|
|
8958
8962
|
aligncenter: function aligncenter(_ref23) {
|
|
8959
8963
|
var children = _ref23.children;
|
|
8960
|
-
return
|
|
8964
|
+
return React.createElement(
|
|
8961
8965
|
'div',
|
|
8962
8966
|
{ style: { textAlign: 'center' } },
|
|
8963
8967
|
children
|
|
@@ -8965,7 +8969,7 @@ var getSerializers = function getSerializers() {
|
|
|
8965
8969
|
},
|
|
8966
8970
|
alignjustify: function alignjustify(_ref24) {
|
|
8967
8971
|
var children = _ref24.children;
|
|
8968
|
-
return
|
|
8972
|
+
return React.createElement(
|
|
8969
8973
|
'div',
|
|
8970
8974
|
{ style: { textAlign: 'justify' } },
|
|
8971
8975
|
children
|
|
@@ -8975,7 +8979,7 @@ var getSerializers = function getSerializers() {
|
|
|
8975
8979
|
var children = props.children,
|
|
8976
8980
|
color = props.mark.color;
|
|
8977
8981
|
|
|
8978
|
-
return
|
|
8982
|
+
return React.createElement(
|
|
8979
8983
|
'span',
|
|
8980
8984
|
{ style: { color: color ? color.hex : null } },
|
|
8981
8985
|
children
|