@mjhls/mjh-framework 1.0.817-image-crop-test-v4 → 1.0.817
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 +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +17 -14099
- package/dist/cjs/ArticleCarousel.js +1 -2
- package/dist/cjs/ArticleProgramLandingPage.js +5 -7
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -6
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +24 -19
- package/dist/cjs/DeckContent.js +25 -20
- package/dist/cjs/DeckQueue.js +17 -11
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-3f0ed4c8.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -7
- package/dist/cjs/Feature.js +10 -6
- package/dist/cjs/ForbesHero.js +14 -12
- package/dist/cjs/GridContent.js +29 -24
- package/dist/cjs/GridHero.js +19 -10
- package/dist/cjs/GroupDeck.js +8 -4
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +14 -3
- package/dist/cjs/HorizontalArticleListing.js +5 -7
- package/dist/cjs/HorizontalHero.js +8 -7
- package/dist/cjs/IssueContentDeck.js +27 -10
- package/dist/cjs/IssueDeck.js +12 -10
- package/dist/cjs/IssueLanding.js +36 -38
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +13 -14
- package/dist/cjs/MediaSeriesLanding.js +407 -307
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +7 -6
- package/dist/cjs/OncliveLargeHero.js +22 -21
- package/dist/cjs/PartnerDetailListing.js +16 -13
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -6
- package/dist/cjs/PublicationDeck.js +12 -10
- package/dist/cjs/PublicationLanding.js +29 -26
- package/dist/cjs/QueueDeckExpanded.js +72 -74
- package/dist/cjs/RecentNews.js +8 -5
- package/dist/cjs/RelatedContent.js +38 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -5
- package/dist/cjs/{SeriesSlider-d54fa925.js → SeriesSlider-2db54929.js} +12 -7
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +14 -11
- package/dist/cjs/TaxonomyDescription.js +5 -7
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/ThumbnailCard.js +10 -6
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +7 -3
- package/dist/cjs/VideoProgramLandingPage.js +5 -7
- package/dist/cjs/VideoSeriesCard.js +8 -9
- package/dist/cjs/VideoSeriesLandingPage.js +4 -6
- package/dist/cjs/VideoSeriesListing.js +5 -7
- package/dist/cjs/View.js +16 -17
- package/dist/cjs/YahooHero.js +13 -11
- package/dist/cjs/YoutubeGroup.js +13 -9
- package/dist/cjs/getSerializers.js +5 -7
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-a100d6e5.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-55c6de08.js → index-70971c54.js} +93 -49
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-9225638f.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +32 -19
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/cjs/urlFor.js +2 -34
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -7
- package/dist/esm/AD300x250x600.js +6 -7
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-7aaa47e1.js → ADInfeed-f7d00a9a.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +13 -14
- package/dist/esm/{ADlgInfeed-78f95e78.js → ADlgInfeed-db64f46d.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -6
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +41 -14123
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -7
- package/dist/esm/ArticleProgramLandingPage.js +17 -19
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -33
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -24
- package/dist/esm/ConferenceArticleCard.js +37 -32
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +68 -63
- package/dist/esm/DeckQueue.js +54 -48
- package/dist/esm/{Dfp-43f121ff.js → Dfp-be030f2a.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -37
- package/dist/esm/Feature.js +24 -20
- package/dist/esm/ForbesHero.js +34 -32
- package/dist/esm/GridContent.js +114 -109
- package/dist/esm/GridHero.js +40 -31
- package/dist/esm/GroupDeck.js +42 -38
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +19 -8
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -33
- package/dist/esm/HorizontalHero.js +26 -25
- package/dist/esm/IssueContentDeck.js +65 -48
- package/dist/esm/IssueDeck.js +45 -43
- package/dist/esm/IssueLanding.js +51 -53
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +47 -48
- package/dist/esm/MediaSeriesLanding.js +434 -334
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +19 -18
- package/dist/esm/OncliveLargeHero.js +59 -58
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +71 -68
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -16
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +45 -43
- package/dist/esm/PublicationLanding.js +78 -75
- package/dist/esm/QueueDeckExpanded.js +260 -262
- package/dist/esm/RecentNews.js +24 -21
- package/dist/esm/RelatedContent.js +49 -46
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +19 -21
- package/dist/esm/{SeriesSlider-8f2aca58.js → SeriesSlider-c8477bf3.js} +30 -25
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db963c3e.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +46 -43
- package/dist/esm/TaxonomyDescription.js +13 -15
- package/dist/esm/TemplateNormal.js +30 -31
- package/dist/esm/ThumbnailCard.js +15 -11
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +18 -14
- package/dist/esm/VideoProgramLandingPage.js +24 -26
- package/dist/esm/VideoSeriesCard.js +18 -19
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -14
- package/dist/esm/VideoSeriesListing.js +48 -50
- package/dist/esm/View.js +177 -178
- package/dist/esm/YahooHero.js +31 -29
- package/dist/esm/YoutubeGroup.js +40 -36
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getSerializers.js +8 -10
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-05c216d6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-2446af28.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index-e8c6a892.js → index-a30e3b71.js} +401 -357
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-e874e770.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +55 -43
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/urlFor.js +2 -34
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- /package/dist/cjs/{ADInfeed-1ac86856.js → ADInfeed-7cf51090.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2ee46b09.js → ADlgInfeed-bf24708d.js} +0 -0
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
|
-
import
|
|
3
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './index-0dbff1d1.js';
|
|
6
5
|
|
|
7
6
|
var VerticalHero = function VerticalHero(props) {
|
|
8
7
|
var client = props.client;
|
|
8
|
+
|
|
9
|
+
var builder = imageUrlBuilder(client);
|
|
10
|
+
function urlFor(source) {
|
|
11
|
+
return builder.image(source).auto('format');
|
|
12
|
+
}
|
|
9
13
|
var _props$heroTitle = props.heroTitle,
|
|
10
14
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
11
15
|
|
|
12
16
|
|
|
13
|
-
return
|
|
17
|
+
return React__default.createElement(
|
|
14
18
|
'div',
|
|
15
19
|
{ className: 'vertical-hero-container' },
|
|
16
|
-
|
|
20
|
+
React__default.createElement(
|
|
17
21
|
'div',
|
|
18
22
|
{ className: 'vertical-hero-inner' },
|
|
19
|
-
|
|
23
|
+
React__default.createElement(
|
|
20
24
|
'div',
|
|
21
25
|
{ className: 'hero-title' },
|
|
22
|
-
|
|
26
|
+
React__default.createElement(
|
|
23
27
|
'h2',
|
|
24
28
|
null,
|
|
25
29
|
heroTitle
|
|
@@ -29,24 +33,24 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
29
33
|
var articleThumbnail = '';
|
|
30
34
|
var articleAltText = article.title;
|
|
31
35
|
if (article.thumbnail && article.thumbnail.asset) {
|
|
32
|
-
articleThumbnail = urlFor(
|
|
36
|
+
articleThumbnail = urlFor(article.thumbnail.asset).width(500).url();
|
|
33
37
|
articleAltText = article.thumbnail.asset.originalFileName;
|
|
34
38
|
} else if (props.thumbnail) {
|
|
35
39
|
articleThumbnail = props.thumbnail;
|
|
36
40
|
}
|
|
37
|
-
return index === 0 ?
|
|
41
|
+
return index === 0 ? React__default.createElement(
|
|
38
42
|
'a',
|
|
39
43
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
45
|
+
React__default.createElement(
|
|
42
46
|
'h2',
|
|
43
47
|
null,
|
|
44
48
|
article.title
|
|
45
49
|
)
|
|
46
|
-
) :
|
|
50
|
+
) : React__default.createElement(
|
|
47
51
|
'a',
|
|
48
52
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
49
|
-
|
|
53
|
+
React__default.createElement(
|
|
50
54
|
'h2',
|
|
51
55
|
null,
|
|
52
56
|
article.title
|
|
@@ -54,7 +58,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
54
58
|
);
|
|
55
59
|
})
|
|
56
60
|
),
|
|
57
|
-
|
|
61
|
+
React__default.createElement(
|
|
58
62
|
'style',
|
|
59
63
|
{ jsx: 'true' },
|
|
60
64
|
'\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
-
import
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
3
|
+
import React__default from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-a30e3b71.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -19,21 +19,19 @@ import 'prop-types';
|
|
|
19
19
|
import './index-0dbff1d1.js';
|
|
20
20
|
import './slicedToArray-be2f7a22.js';
|
|
21
21
|
import 'react-bootstrap';
|
|
22
|
-
import './
|
|
23
|
-
import './index-2446af28.js';
|
|
24
|
-
import './events-6c3a7a63.js';
|
|
22
|
+
import './index-5cc7b406.js';
|
|
25
23
|
import 'next/router';
|
|
26
24
|
import './index-c7e2ac95.js';
|
|
27
25
|
import './util-3ab476bf.js';
|
|
28
26
|
import './Beam.js';
|
|
29
27
|
import './stringify-59c8f690.js';
|
|
30
28
|
import './Segment.js';
|
|
31
|
-
import './main-
|
|
32
|
-
import './index-
|
|
29
|
+
import './main-d4165069.js';
|
|
30
|
+
import './index-755f2cc2.js';
|
|
33
31
|
import 'react-dom';
|
|
34
32
|
import './typeof-a286cf0c.js';
|
|
35
33
|
import './_is-array-3e99e06e.js';
|
|
36
|
-
import './brightcove-react-player-loader.es-
|
|
34
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
37
35
|
import './GroupDeck.js';
|
|
38
36
|
import './smoothscroll-fa4e3f8c.js';
|
|
39
37
|
import './moment-bc12cb97.js';
|
|
@@ -52,13 +50,13 @@ import 'react-bootstrap/Row';
|
|
|
52
50
|
import './inherits-a41fe93f.js';
|
|
53
51
|
import './_object-sap-f353c2a9.js';
|
|
54
52
|
import './define-property-fe54dc9f.js';
|
|
55
|
-
import './index.esm-
|
|
56
|
-
import './iconBase-
|
|
53
|
+
import './index.esm-f6156a57.js';
|
|
54
|
+
import './iconBase-ccc56b97.js';
|
|
57
55
|
import 'react-bootstrap/Figure';
|
|
58
56
|
import 'react-bootstrap/Container';
|
|
59
|
-
import './visibility-sensor-
|
|
57
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
60
58
|
import './YoutubeGroup.js';
|
|
61
|
-
import './index.es-
|
|
59
|
+
import './index.es-a6137319.js';
|
|
62
60
|
|
|
63
61
|
var _this = undefined;
|
|
64
62
|
|
|
@@ -85,29 +83,29 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
85
83
|
defaultImage = props.defaultImage,
|
|
86
84
|
mapping = props.mapping;
|
|
87
85
|
|
|
88
|
-
return
|
|
86
|
+
return React__default.createElement(
|
|
89
87
|
'div',
|
|
90
88
|
null,
|
|
91
|
-
virtualBlock &&
|
|
92
|
-
|
|
89
|
+
virtualBlock && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
90
|
+
React__default.createElement(
|
|
93
91
|
'div',
|
|
94
92
|
{ className: 'peer-exchange-filter-container' },
|
|
95
|
-
|
|
93
|
+
React__default.createElement(
|
|
96
94
|
Form,
|
|
97
95
|
{ className: 'ml-3', method: 'post' },
|
|
98
|
-
|
|
96
|
+
React__default.createElement(
|
|
99
97
|
Form.Row,
|
|
100
98
|
null,
|
|
101
|
-
|
|
99
|
+
React__default.createElement(
|
|
102
100
|
Col,
|
|
103
101
|
null,
|
|
104
|
-
|
|
102
|
+
React__default.createElement(
|
|
105
103
|
Form.Group,
|
|
106
104
|
{ controlId: 'topic' },
|
|
107
|
-
|
|
105
|
+
React__default.createElement(
|
|
108
106
|
Form.Control,
|
|
109
107
|
{ as: 'select', name: 'topic_id', placeholder: 'Filter by Topic' },
|
|
110
|
-
|
|
108
|
+
React__default.createElement(
|
|
111
109
|
'option',
|
|
112
110
|
{ value: '' },
|
|
113
111
|
'All Topics'
|
|
@@ -116,7 +114,7 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
116
114
|
if (props.topic_id === topic._id || topic.name == 'Peer Exchange') {
|
|
117
115
|
return null;
|
|
118
116
|
} else {
|
|
119
|
-
return
|
|
117
|
+
return React__default.createElement(
|
|
120
118
|
'option',
|
|
121
119
|
{ value: topic._id },
|
|
122
120
|
topic.name
|
|
@@ -126,10 +124,10 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
126
124
|
)
|
|
127
125
|
)
|
|
128
126
|
),
|
|
129
|
-
|
|
127
|
+
React__default.createElement(
|
|
130
128
|
Col,
|
|
131
129
|
null,
|
|
132
|
-
|
|
130
|
+
React__default.createElement(
|
|
133
131
|
Button,
|
|
134
132
|
{ type: 'submit', variant: 'secondary' },
|
|
135
133
|
'Apply'
|
|
@@ -138,7 +136,7 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
138
136
|
)
|
|
139
137
|
)
|
|
140
138
|
),
|
|
141
|
-
posts &&
|
|
139
|
+
posts && React__default.createElement(VideoSeriesListing, {
|
|
142
140
|
client: client,
|
|
143
141
|
mapping: mapping,
|
|
144
142
|
dataRecord: posts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
|
-
import
|
|
3
|
-
import { L as LazyLoad } from './index-
|
|
4
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
@@ -13,9 +13,8 @@ import './_is-array-3e99e06e.js';
|
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import './index-0dbff1d1.js';
|
|
17
16
|
|
|
18
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
|
|
17
|
+
var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
|
|
19
18
|
var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
|
|
20
19
|
styleInject(css);
|
|
21
20
|
|
|
@@ -27,53 +26,53 @@ var VideoSeriesCard = function VideoSeriesCard(props) {
|
|
|
27
26
|
index = props.index;
|
|
28
27
|
|
|
29
28
|
var episode = parseInt(index) + 1;
|
|
30
|
-
|
|
31
|
-
return
|
|
29
|
+
var builder = imageUrlBuilder(client);
|
|
30
|
+
return React__default.createElement(
|
|
32
31
|
'div',
|
|
33
32
|
{ className: styles.article },
|
|
34
|
-
|
|
33
|
+
React__default.createElement(
|
|
35
34
|
'a',
|
|
36
35
|
{ href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
37
|
-
|
|
36
|
+
React__default.createElement(
|
|
38
37
|
'div',
|
|
39
38
|
{ className: styles.thumb },
|
|
40
|
-
|
|
39
|
+
React__default.createElement(
|
|
41
40
|
'figure',
|
|
42
41
|
null,
|
|
43
|
-
|
|
42
|
+
React__default.createElement(
|
|
44
43
|
LazyLoad,
|
|
45
44
|
null,
|
|
46
|
-
|
|
47
|
-
src: data.thumbnail && data.thumbnail.asset ?
|
|
45
|
+
React__default.createElement('img', {
|
|
46
|
+
src: data.thumbnail && data.thumbnail.asset ? builder.image(data.thumbnail).url() : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
|
|
48
47
|
})
|
|
49
48
|
)
|
|
50
49
|
)
|
|
51
50
|
),
|
|
52
|
-
|
|
51
|
+
React__default.createElement(
|
|
53
52
|
'div',
|
|
54
53
|
{ className: styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
|
|
55
|
-
|
|
54
|
+
React__default.createElement(
|
|
56
55
|
'div',
|
|
57
56
|
{ style: { fontSize: '1.3rem', fontWeight: 'bold' } },
|
|
58
57
|
episode && 'EP ' + episode + ': ',
|
|
59
58
|
data.title
|
|
60
59
|
),
|
|
61
|
-
data.published &&
|
|
60
|
+
data.published && React__default.createElement(
|
|
62
61
|
'p',
|
|
63
62
|
{ className: styles.published },
|
|
64
63
|
moment(data.published).format('MMMM Do YYYY')
|
|
65
64
|
),
|
|
66
|
-
data.authorMapping && data.authorMapping.displayName &&
|
|
65
|
+
data.authorMapping && data.authorMapping.displayName && React__default.createElement(
|
|
67
66
|
'p',
|
|
68
67
|
{ className: styles.author },
|
|
69
68
|
'By ',
|
|
70
|
-
|
|
69
|
+
React__default.createElement(
|
|
71
70
|
'span',
|
|
72
71
|
null,
|
|
73
72
|
data.authorMapping.displayName
|
|
74
73
|
)
|
|
75
74
|
),
|
|
76
|
-
data.intro &&
|
|
75
|
+
data.intro && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
|
|
77
76
|
)
|
|
78
77
|
)
|
|
79
78
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { withRouter } from 'next/router';
|
|
5
5
|
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -92,13 +92,13 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
}, [filter]);
|
|
95
|
-
return
|
|
96
|
-
|
|
95
|
+
return React__default.createElement(
|
|
96
|
+
React__default.Fragment,
|
|
97
97
|
null,
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
DropdownButton,
|
|
100
100
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
Dropdown.Item,
|
|
103
103
|
{ key: 'all', onClick: function onClick() {
|
|
104
104
|
return setFilter({ name: 'All Topics', id: '' });
|
|
@@ -107,7 +107,7 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
107
107
|
),
|
|
108
108
|
filterData && filterData.map(function (filterItem) {
|
|
109
109
|
if (filterItem.identifier !== exclude) {
|
|
110
|
-
return
|
|
110
|
+
return React__default.createElement(
|
|
111
111
|
Dropdown.Item,
|
|
112
112
|
{ key: filterItem._id, onClick: function onClick() {
|
|
113
113
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
-
import
|
|
3
|
+
import React__default from 'react';
|
|
4
4
|
import { m as moment } from './moment-bc12cb97.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
6
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
@@ -22,8 +22,7 @@ import './extends-60e0e1c6.js';
|
|
|
22
22
|
import './inherits-a41fe93f.js';
|
|
23
23
|
import './_object-sap-f353c2a9.js';
|
|
24
24
|
import './define-property-fe54dc9f.js';
|
|
25
|
-
import './index-
|
|
26
|
-
import './events-6c3a7a63.js';
|
|
25
|
+
import './index-5cc7b406.js';
|
|
27
26
|
import 'prop-types';
|
|
28
27
|
import 'react-bootstrap/Container';
|
|
29
28
|
import 'react-bootstrap/Row';
|
|
@@ -34,19 +33,18 @@ import './lodash-f97fd99a.js';
|
|
|
34
33
|
import './debounce-533d9748.js';
|
|
35
34
|
import './isSymbol-a7e9aafe.js';
|
|
36
35
|
import './toNumber-5aeba6e7.js';
|
|
37
|
-
import './index.es-
|
|
38
|
-
import './visibility-sensor-
|
|
36
|
+
import './index.es-a6137319.js';
|
|
37
|
+
import './visibility-sensor-72fd8f8b.js';
|
|
39
38
|
import 'react-dom';
|
|
40
39
|
import './index-0dbff1d1.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-db64f46d.js';
|
|
42
41
|
import './AdSlot.js';
|
|
43
42
|
import './Beam.js';
|
|
44
43
|
import './stringify-59c8f690.js';
|
|
45
44
|
import './Segment.js';
|
|
46
|
-
import './main-
|
|
47
|
-
import './ADInfeed-
|
|
48
|
-
import './index-
|
|
49
|
-
import './urlFor.js';
|
|
45
|
+
import './main-d4165069.js';
|
|
46
|
+
import './ADInfeed-f7d00a9a.js';
|
|
47
|
+
import './index-755f2cc2.js';
|
|
50
48
|
import './style-inject.es-1f59c1d0.js';
|
|
51
49
|
|
|
52
50
|
var _this = undefined;
|
|
@@ -74,16 +72,16 @@ var VideoSeriesLandingPage = function VideoSeriesLandingPage(props) {
|
|
|
74
72
|
_props$lgInfeedAd = props.lgInfeedAd,
|
|
75
73
|
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
76
74
|
|
|
77
|
-
return
|
|
75
|
+
return React__default.createElement(
|
|
78
76
|
'div',
|
|
79
77
|
null,
|
|
80
|
-
summary &&
|
|
78
|
+
summary && React__default.createElement(
|
|
81
79
|
'div',
|
|
82
80
|
{ style: { fontSize: '1rem' }, className: 'series-summary px-1 my-4' },
|
|
83
81
|
summary
|
|
84
82
|
),
|
|
85
|
-
|
|
86
|
-
posts &&
|
|
83
|
+
React__default.createElement(Breadcrumbs, null),
|
|
84
|
+
posts && React__default.createElement(MasterDeck, {
|
|
87
85
|
deck: VideoSeriesCard,
|
|
88
86
|
variant: variant,
|
|
89
87
|
client: client,
|