@mjhls/mjh-framework 1.0.819-ad-refresh → 1.0.820
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 +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +6 -27
- package/dist/cjs/AlgoliaSearch.js +14099 -17
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +7 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +6 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +19 -24
- package/dist/cjs/DeckContent.js +20 -25
- package/dist/cjs/DeckQueue.js +11 -17
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-93399f8c.js} +2 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +7 -5
- package/dist/cjs/Feature.js +6 -10
- package/dist/cjs/ForbesHero.js +12 -14
- package/dist/cjs/GridContent.js +24 -29
- package/dist/cjs/GridHero.js +10 -19
- package/dist/cjs/GroupDeck.js +4 -8
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +3 -14
- package/dist/cjs/HorizontalArticleListing.js +7 -5
- package/dist/cjs/HorizontalHero.js +7 -8
- package/dist/cjs/IssueContentDeck.js +10 -27
- package/dist/cjs/IssueDeck.js +10 -12
- package/dist/cjs/IssueLanding.js +38 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +14 -13
- package/dist/cjs/MediaSeriesLanding.js +307 -407
- 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 +6 -7
- package/dist/cjs/OncliveLargeHero.js +21 -22
- package/dist/cjs/PartnerDetailListing.js +13 -16
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +6 -4
- package/dist/cjs/PublicationDeck.js +10 -12
- package/dist/cjs/PublicationLanding.js +26 -29
- package/dist/cjs/QueueDeckExpanded.js +74 -72
- package/dist/cjs/RecentNews.js +5 -8
- package/dist/cjs/RelatedContent.js +35 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +5 -3
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-d54fa925.js} +7 -12
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-ecb4f972.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +11 -14
- package/dist/cjs/TaxonomyDescription.js +7 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/ThumbnailCard.js +6 -10
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +3 -7
- package/dist/cjs/VideoProgramLandingPage.js +7 -5
- package/dist/cjs/VideoSeriesCard.js +9 -8
- package/dist/cjs/VideoSeriesLandingPage.js +6 -4
- package/dist/cjs/VideoSeriesListing.js +7 -5
- package/dist/cjs/View.js +17 -16
- package/dist/cjs/YahooHero.js +11 -13
- package/dist/cjs/YoutubeGroup.js +9 -13
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +7 -5
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-be6168ad.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-48bd6cd5.js → index-179d21a3.js} +49 -93
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +19 -32
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +34 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-4a09242b.js → ADInfeed-28b1e946.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-0bff9a62.js → ADlgInfeed-0b474b02.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +8 -28
- package/dist/esm/AlgoliaSearch.js +14123 -41
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +7 -6
- package/dist/esm/ArticleProgramLandingPage.js +19 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +33 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-5ae7409f.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +32 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +63 -68
- package/dist/esm/DeckQueue.js +48 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-43f121ff.js} +11 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +37 -35
- package/dist/esm/Feature.js +20 -24
- package/dist/esm/ForbesHero.js +32 -34
- package/dist/esm/GridContent.js +109 -114
- package/dist/esm/GridHero.js +31 -40
- package/dist/esm/GroupDeck.js +38 -42
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +8 -19
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +33 -31
- package/dist/esm/HorizontalHero.js +25 -26
- package/dist/esm/IssueContentDeck.js +48 -65
- package/dist/esm/IssueDeck.js +43 -45
- package/dist/esm/IssueLanding.js +53 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +48 -47
- package/dist/esm/MediaSeriesLanding.js +334 -434
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.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 +18 -19
- package/dist/esm/OncliveLargeHero.js +58 -59
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +68 -71
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +16 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +43 -45
- package/dist/esm/PublicationLanding.js +75 -78
- package/dist/esm/QueueDeckExpanded.js +262 -260
- package/dist/esm/RecentNews.js +21 -24
- package/dist/esm/RelatedContent.js +46 -49
- 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 +21 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-8f2aca58.js} +25 -30
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-cd38ae60.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +43 -46
- package/dist/esm/TaxonomyDescription.js +15 -13
- package/dist/esm/TemplateNormal.js +31 -30
- package/dist/esm/ThumbnailCard.js +11 -15
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +14 -18
- package/dist/esm/VideoProgramLandingPage.js +26 -24
- package/dist/esm/VideoSeriesCard.js +19 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +14 -12
- package/dist/esm/VideoSeriesListing.js +50 -48
- package/dist/esm/View.js +178 -177
- package/dist/esm/YahooHero.js +29 -31
- package/dist/esm/YoutubeGroup.js +36 -40
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +10 -8
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-68291ce9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-343d9c07.js → index-5cc7293b.js} +357 -401
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +43 -55
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/urlFor.js +34 -2
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-eb4ce360.js → ADInfeed-8b336c67.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8a05b63f.js → ADlgInfeed-aedd5e18.js} +0 -0
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import
|
|
3
|
-
import { B as BlockContent } from './BlockContent-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
10
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
8
|
+
import urlFor from './urlFor.js';
|
|
9
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './_to-object-b50e61c3.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
+
import './index-0dbff1d1.js';
|
|
15
16
|
import 'react-dom';
|
|
16
17
|
|
|
17
18
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
@@ -25,20 +26,16 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
25
26
|
client = props.client,
|
|
26
27
|
_props$imageHeight = props.imageHeight,
|
|
27
28
|
imageHeight = _props$imageHeight === undefined ? 270 : _props$imageHeight,
|
|
28
|
-
imageWidth = props.imageWidth,
|
|
29
|
+
_props$imageWidth = props.imageWidth,
|
|
30
|
+
imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
|
|
31
|
+
_props$imageFit = props.imageFit,
|
|
32
|
+
imageFit = _props$imageFit === undefined ? null : _props$imageFit,
|
|
29
33
|
getSerializers = props.getSerializers;
|
|
30
34
|
|
|
31
|
-
var builder = imageUrlBuilder(client);
|
|
32
|
-
|
|
33
|
-
var urlFor = function urlFor(source) {
|
|
34
|
-
return builder.image(source).auto('format');
|
|
35
|
-
};
|
|
36
35
|
|
|
37
36
|
var renderCardImage = function renderCardImage(row) {
|
|
38
|
-
var url = urlFor(row.thumbnail);
|
|
39
|
-
|
|
40
|
-
if (imageWidth) url = url.width(imageWidth);
|
|
41
|
-
return url.url();
|
|
37
|
+
var url = urlFor({ client: client, source: row.thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit });
|
|
38
|
+
return url;
|
|
42
39
|
};
|
|
43
40
|
|
|
44
41
|
var mode = variant && variant === 'bottom' ? 'column-reverse' : 'column';
|
|
@@ -46,13 +43,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
46
43
|
var itemCounter = 0;
|
|
47
44
|
var lgVar = 12;
|
|
48
45
|
|
|
49
|
-
return
|
|
46
|
+
return React.createElement(
|
|
50
47
|
'div',
|
|
51
48
|
{ className: 'contentDeck' },
|
|
52
|
-
|
|
49
|
+
React.createElement(
|
|
53
50
|
Container,
|
|
54
51
|
null,
|
|
55
|
-
|
|
52
|
+
React.createElement(
|
|
56
53
|
Row,
|
|
57
54
|
null,
|
|
58
55
|
data && data.map(function (row, index) {
|
|
@@ -92,33 +89,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
92
89
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
93
90
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
94
91
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
95
|
-
return
|
|
92
|
+
return React.createElement(
|
|
96
93
|
Col,
|
|
97
94
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
98
|
-
|
|
95
|
+
React.createElement(
|
|
99
96
|
Card,
|
|
100
97
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
101
|
-
|
|
98
|
+
React.createElement(
|
|
102
99
|
Card.Body,
|
|
103
100
|
null,
|
|
104
|
-
|
|
101
|
+
React.createElement(
|
|
105
102
|
Row,
|
|
106
103
|
null,
|
|
107
|
-
thumbnailURL &&
|
|
104
|
+
thumbnailURL && React.createElement(
|
|
108
105
|
Col,
|
|
109
106
|
null,
|
|
110
|
-
|
|
107
|
+
React.createElement(
|
|
111
108
|
LazyLoad,
|
|
112
109
|
{ height: imageHeight },
|
|
113
|
-
row && row.thumbnail &&
|
|
110
|
+
row && row.thumbnail && React.createElement(
|
|
114
111
|
'figure',
|
|
115
112
|
null,
|
|
116
|
-
row.thumbnail.link ?
|
|
113
|
+
row.thumbnail.link ? React.createElement(
|
|
117
114
|
'a',
|
|
118
115
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
119
|
-
|
|
120
|
-
) :
|
|
121
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
116
|
+
React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
117
|
+
) : React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
118
|
+
row && row.thumbnail && row.thumbnail.caption && React.createElement(
|
|
122
119
|
'figcaption',
|
|
123
120
|
null,
|
|
124
121
|
row.thumbnail.caption
|
|
@@ -126,30 +123,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
126
123
|
)
|
|
127
124
|
)
|
|
128
125
|
),
|
|
129
|
-
|
|
126
|
+
React.createElement(
|
|
130
127
|
Col,
|
|
131
128
|
null,
|
|
132
|
-
|
|
129
|
+
React.createElement(
|
|
133
130
|
Row,
|
|
134
131
|
{ className: 'details-content-wrapper' },
|
|
135
|
-
|
|
132
|
+
React.createElement(
|
|
136
133
|
'div',
|
|
137
134
|
{ className: 'details-content-inner-wrapper' },
|
|
138
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
135
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React.createElement(
|
|
139
136
|
'div',
|
|
140
137
|
{ className: 'details-wrapper' },
|
|
141
|
-
companyDetails && companyDetails.length > 0 &&
|
|
138
|
+
companyDetails && companyDetails.length > 0 && React.createElement(
|
|
142
139
|
'div',
|
|
143
140
|
{ className: 'company-wrapper' },
|
|
144
141
|
companyDetails.map(function (field, index) {
|
|
145
142
|
if (field.value && field.key === 'company') {
|
|
146
|
-
return
|
|
143
|
+
return React.createElement(
|
|
147
144
|
'p',
|
|
148
145
|
{ className: 'details-field', key: index },
|
|
149
146
|
field.value
|
|
150
147
|
);
|
|
151
148
|
} else if (field.value && field.key === 'url') {
|
|
152
|
-
return
|
|
149
|
+
return React.createElement(
|
|
153
150
|
'a',
|
|
154
151
|
{ className: 'details-field', href: field.value, key: index },
|
|
155
152
|
field.value
|
|
@@ -164,12 +161,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
164
161
|
// }
|
|
165
162
|
})
|
|
166
163
|
),
|
|
167
|
-
address && address.length > 0 &&
|
|
164
|
+
address && address.length > 0 && React.createElement(
|
|
168
165
|
'div',
|
|
169
166
|
{ className: 'address-wrapper' },
|
|
170
167
|
address.map(function (field, index) {
|
|
171
168
|
if (field) {
|
|
172
|
-
return
|
|
169
|
+
return React.createElement(
|
|
173
170
|
'p',
|
|
174
171
|
{ className: 'details-field', key: index },
|
|
175
172
|
field
|
|
@@ -177,18 +174,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
177
174
|
}
|
|
178
175
|
})
|
|
179
176
|
),
|
|
180
|
-
|
|
177
|
+
React.createElement(
|
|
181
178
|
'style',
|
|
182
179
|
{ jsx: 'true' },
|
|
183
180
|
'\n .details-content-wrapper,\n .details-content-inner-wrapper {\n width: 100%;\n }\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
184
181
|
)
|
|
185
182
|
),
|
|
186
|
-
socialLinks && socialLinks.length &&
|
|
183
|
+
socialLinks && socialLinks.length && React.createElement(
|
|
187
184
|
'div',
|
|
188
185
|
{ className: 'social-icons' },
|
|
189
186
|
socialLinks.map(function (url, index) {
|
|
190
187
|
if (url && url.length) {
|
|
191
|
-
return
|
|
188
|
+
return React.createElement(reactSocialIcons_1, {
|
|
192
189
|
target: '_blank',
|
|
193
190
|
rel: 'noopener noreferrer',
|
|
194
191
|
key: index,
|
|
@@ -198,22 +195,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
198
195
|
});
|
|
199
196
|
}
|
|
200
197
|
}),
|
|
201
|
-
|
|
198
|
+
React.createElement(
|
|
202
199
|
'style',
|
|
203
200
|
{ jsx: 'true' },
|
|
204
201
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
205
202
|
)
|
|
206
203
|
),
|
|
207
|
-
|
|
204
|
+
React.createElement(
|
|
208
205
|
Card.Text,
|
|
209
206
|
null,
|
|
210
|
-
|
|
207
|
+
React.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
211
208
|
)
|
|
212
209
|
)
|
|
213
210
|
)
|
|
214
211
|
)
|
|
215
212
|
),
|
|
216
|
-
icon &&
|
|
213
|
+
icon && React.createElement(
|
|
217
214
|
'span',
|
|
218
215
|
{
|
|
219
216
|
className: 'taxonomy-icon',
|
|
@@ -233,7 +230,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
233
230
|
})
|
|
234
231
|
)
|
|
235
232
|
),
|
|
236
|
-
icon &&
|
|
233
|
+
icon && React.createElement(
|
|
237
234
|
'style',
|
|
238
235
|
{ jsx: 'true' },
|
|
239
236
|
'\n .taxonomy-card:hover .taxonomy-icon {\n transform: translateY(-50%) scale(1.5) translateX(0) !important;\n }\n '
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
|
-
import { B as BlockContent } from './BlockContent-
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
7
|
+
import { g as getSerializers } from './index-5cc7293b.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
@@ -17,18 +17,20 @@ import 'prop-types';
|
|
|
17
17
|
import './index-0dbff1d1.js';
|
|
18
18
|
import './slicedToArray-be2f7a22.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
|
-
import './
|
|
20
|
+
import './urlFor.js';
|
|
21
|
+
import './index-2446af28.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
21
23
|
import './index-c7e2ac95.js';
|
|
22
24
|
import './util-3ab476bf.js';
|
|
23
25
|
import './Beam.js';
|
|
24
26
|
import './stringify-59c8f690.js';
|
|
25
27
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
27
|
-
import './index-
|
|
28
|
+
import './main-b5c5aac1.js';
|
|
29
|
+
import './index-35bdcc81.js';
|
|
28
30
|
import 'react-dom';
|
|
29
31
|
import './typeof-a286cf0c.js';
|
|
30
32
|
import './_is-array-3e99e06e.js';
|
|
31
|
-
import './brightcove-react-player-loader.es-
|
|
33
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
32
34
|
import './GroupDeck.js';
|
|
33
35
|
import './smoothscroll-fa4e3f8c.js';
|
|
34
36
|
import './moment-bc12cb97.js';
|
|
@@ -48,8 +50,8 @@ import 'react-bootstrap/Col';
|
|
|
48
50
|
import './inherits-a41fe93f.js';
|
|
49
51
|
import './_object-sap-f353c2a9.js';
|
|
50
52
|
import './define-property-fe54dc9f.js';
|
|
51
|
-
import './index.esm-
|
|
52
|
-
import './iconBase-
|
|
53
|
+
import './index.esm-3fdda599.js';
|
|
54
|
+
import './iconBase-602d52fe.js';
|
|
53
55
|
import 'react-bootstrap/Figure';
|
|
54
56
|
|
|
55
57
|
var _this = undefined;
|
|
@@ -89,10 +91,10 @@ var setMetaDescription = function setMetaDescription(data, router) {
|
|
|
89
91
|
}
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
|
-
return
|
|
94
|
+
return React.createElement(
|
|
93
95
|
Head,
|
|
94
96
|
null,
|
|
95
|
-
|
|
97
|
+
React.createElement('meta', { name: 'description', content: metaDescription, key: 'description' })
|
|
96
98
|
);
|
|
97
99
|
};
|
|
98
100
|
|
|
@@ -101,11 +103,11 @@ var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
|
101
103
|
client = _ref.client;
|
|
102
104
|
|
|
103
105
|
var router = useRouter();
|
|
104
|
-
return data && data.length > 0 &&
|
|
106
|
+
return data && data.length > 0 && React.createElement(
|
|
105
107
|
'section',
|
|
106
108
|
{ className: 'taxonomy-description' },
|
|
107
109
|
setMetaDescription(data, router),
|
|
108
|
-
|
|
110
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
109
111
|
);
|
|
110
112
|
};
|
|
111
113
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
-
import
|
|
2
|
+
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import { useRouter } from 'next/router';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import ADGutter from './ADGutter.js';
|
|
@@ -22,7 +22,8 @@ import './AdSlot.js';
|
|
|
22
22
|
import './extends-60e0e1c6.js';
|
|
23
23
|
import './_object-pie-133f504a.js';
|
|
24
24
|
import 'prop-types';
|
|
25
|
-
import './index-
|
|
25
|
+
import './index-2446af28.js';
|
|
26
|
+
import './events-6c3a7a63.js';
|
|
26
27
|
import './debounce-533d9748.js';
|
|
27
28
|
import './isSymbol-a7e9aafe.js';
|
|
28
29
|
import './toNumber-5aeba6e7.js';
|
|
@@ -32,17 +33,17 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
32
33
|
import './_library-528f1934.js';
|
|
33
34
|
import './_iter-detect-7e5e5ce2.js';
|
|
34
35
|
import './Segment.js';
|
|
35
|
-
import './main-
|
|
36
|
+
import './main-b5c5aac1.js';
|
|
36
37
|
import 'next/head';
|
|
37
38
|
import 'react-bootstrap/Row';
|
|
38
39
|
import 'react-bootstrap/Col';
|
|
39
40
|
import './SideFooter.js';
|
|
40
41
|
import './defineProperty-f5ff6f5a.js';
|
|
41
42
|
import './define-property-fe54dc9f.js';
|
|
42
|
-
import './react-social-icons-
|
|
43
|
+
import './react-social-icons-91f9716f.js';
|
|
43
44
|
import './get-3c308da4.js';
|
|
44
45
|
import './eq-bdcbf886.js';
|
|
45
|
-
import './ConferenceBanner-
|
|
46
|
+
import './ConferenceBanner-9162d0ca.js';
|
|
46
47
|
import './ADSponsoredResources.js';
|
|
47
48
|
import './LeftNav.js';
|
|
48
49
|
import 'react-bootstrap/ListGroup';
|
|
@@ -52,12 +53,12 @@ import 'react-bootstrap';
|
|
|
52
53
|
import 'react-bootstrap/Nav';
|
|
53
54
|
import 'react-bootstrap/Navbar';
|
|
54
55
|
import 'react-bootstrap/NavDropdown';
|
|
55
|
-
import './index.esm-
|
|
56
|
-
import './iconBase-
|
|
57
|
-
import './index.esm-
|
|
58
|
-
import './NavFooter-
|
|
59
|
-
import './index.esm-
|
|
60
|
-
import './SocialSearchComponent-
|
|
56
|
+
import './index.esm-d6f88d94.js';
|
|
57
|
+
import './iconBase-602d52fe.js';
|
|
58
|
+
import './index.esm-3fdda599.js';
|
|
59
|
+
import './NavFooter-c29526b7.js';
|
|
60
|
+
import './index.esm-8016b507.js';
|
|
61
|
+
import './SocialSearchComponent-cd38ae60.js';
|
|
61
62
|
import './SocialIcons.js';
|
|
62
63
|
import 'react-bootstrap/Form';
|
|
63
64
|
import 'react-bootstrap/FormControl';
|
|
@@ -100,15 +101,15 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
100
101
|
var navigation = function navigation() {
|
|
101
102
|
switch (config.navComponent) {
|
|
102
103
|
case 'normal':
|
|
103
|
-
return
|
|
104
|
+
return React.createElement(NavNormal, { logo: website.logo, dataObject: config.navItems });
|
|
104
105
|
case 'magazine':
|
|
105
|
-
return
|
|
106
|
+
return React.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
106
107
|
case 'native':
|
|
107
|
-
return
|
|
108
|
+
return React.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
108
109
|
case 'dvm':
|
|
109
|
-
return
|
|
110
|
+
return React.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
110
111
|
case 'hamburgerNav':
|
|
111
|
-
return
|
|
112
|
+
return React.createElement(HamMagazine, {
|
|
112
113
|
socialFooterNav: true,
|
|
113
114
|
logo: website.logo,
|
|
114
115
|
dataObject: config.navItems,
|
|
@@ -118,7 +119,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
118
119
|
showLogin: website.showLogin
|
|
119
120
|
});
|
|
120
121
|
default:
|
|
121
|
-
return
|
|
122
|
+
return React.createElement('noNav', null);
|
|
122
123
|
}
|
|
123
124
|
};
|
|
124
125
|
|
|
@@ -135,19 +136,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
135
136
|
function layout() {
|
|
136
137
|
switch (config.columns) {
|
|
137
138
|
case '1':
|
|
138
|
-
return
|
|
139
|
+
return React.createElement(
|
|
139
140
|
Column1,
|
|
140
141
|
{ title: title },
|
|
141
142
|
props.children
|
|
142
143
|
);
|
|
143
144
|
case '2':
|
|
144
|
-
return
|
|
145
|
+
return React.createElement(
|
|
145
146
|
Column2,
|
|
146
147
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
147
148
|
props.children
|
|
148
149
|
);
|
|
149
150
|
case '3':
|
|
150
|
-
return
|
|
151
|
+
return React.createElement(
|
|
151
152
|
Column3,
|
|
152
153
|
{
|
|
153
154
|
title: title,
|
|
@@ -163,35 +164,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
163
164
|
props.children
|
|
164
165
|
);
|
|
165
166
|
default:
|
|
166
|
-
return
|
|
167
|
+
return React.createElement('noLayout', null);
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
return
|
|
171
|
+
return React.createElement(
|
|
171
172
|
'section',
|
|
172
173
|
null,
|
|
173
|
-
noTitle ?
|
|
174
|
+
noTitle ? React.createElement(Header, {
|
|
174
175
|
isLiveSite: config.isLiveSite,
|
|
175
176
|
keyword: keywords,
|
|
176
177
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
177
|
-
}) :
|
|
178
|
+
}) : React.createElement(Header, {
|
|
178
179
|
title: title ? title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : '') + '| ' + website.title : website.title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : ''),
|
|
179
180
|
isLiveSite: config.isLiveSite,
|
|
180
181
|
keyword: keywords,
|
|
181
182
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
182
183
|
}),
|
|
183
184
|
navigation(),
|
|
184
|
-
sponsoredFlag ?
|
|
185
|
-
|
|
185
|
+
sponsoredFlag ? React.createElement('div', { style: { height: '50px' } }) : React.createElement(
|
|
186
|
+
React.Fragment,
|
|
186
187
|
null,
|
|
187
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
188
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React.createElement(
|
|
188
189
|
Container,
|
|
189
190
|
null,
|
|
190
|
-
|
|
191
|
+
React.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
191
192
|
)
|
|
192
193
|
),
|
|
193
|
-
website.gutterAd && !sponsoredFlag &&
|
|
194
|
-
|
|
194
|
+
website.gutterAd && !sponsoredFlag && React.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
195
|
+
React.createElement(
|
|
195
196
|
Container,
|
|
196
197
|
null,
|
|
197
198
|
layout()
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Media from 'react-bootstrap/Media';
|
|
3
|
-
import
|
|
4
|
-
import { L as LazyLoad } from './index-
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
5
5
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
6
|
+
import './index-0dbff1d1.js';
|
|
6
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
8
|
import 'react-dom';
|
|
8
9
|
import 'prop-types';
|
|
@@ -13,33 +14,28 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
13
14
|
client = _ref.client,
|
|
14
15
|
defaultImage = _ref.defaultImage;
|
|
15
16
|
|
|
16
|
-
var builder = imageUrlBuilder(client);
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
return builder.image(source).auto('format');
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
return React__default.createElement(
|
|
18
|
+
return React.createElement(
|
|
23
19
|
'div',
|
|
24
20
|
null,
|
|
25
21
|
mediaData && mediaData.map(function (item, index) {
|
|
26
|
-
return
|
|
22
|
+
return React.createElement(
|
|
27
23
|
Media,
|
|
28
24
|
{ className: 'mb-3 thumbnail-card' },
|
|
29
|
-
|
|
25
|
+
React.createElement(
|
|
30
26
|
LazyLoad,
|
|
31
27
|
{ height: size },
|
|
32
|
-
|
|
28
|
+
React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor({ client: client, source: item.thumbnail }) : defaultImage, alt: 'Generic placeholder' })
|
|
33
29
|
),
|
|
34
|
-
|
|
30
|
+
React.createElement(
|
|
35
31
|
Media.Body,
|
|
36
32
|
null,
|
|
37
|
-
|
|
33
|
+
React.createElement(
|
|
38
34
|
'h5',
|
|
39
35
|
null,
|
|
40
36
|
item.title
|
|
41
37
|
),
|
|
42
|
-
|
|
38
|
+
React.createElement(
|
|
43
39
|
'p',
|
|
44
40
|
null,
|
|
45
41
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import
|
|
4
|
-
import { c as IoIosOpen } from './index.esm-
|
|
5
|
-
import { F as FaRegWindowClose } from './index.esm-
|
|
6
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
4
|
+
import { c as IoIosOpen } from './index.esm-3fdda599.js';
|
|
5
|
+
import { F as FaRegWindowClose } from './index.esm-a8ff922c.js';
|
|
6
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './es6.string.iterator-bc33758b.js';
|
|
9
9
|
import './_to-object-b50e61c3.js';
|
|
@@ -11,7 +11,7 @@ import './web.dom.iterable-4109ff68.js';
|
|
|
11
11
|
import './_library-528f1934.js';
|
|
12
12
|
import './core.get-iterator-method-133dfacd.js';
|
|
13
13
|
import './_iter-detect-7e5e5ce2.js';
|
|
14
|
-
import './iconBase-
|
|
14
|
+
import './iconBase-602d52fe.js';
|
|
15
15
|
|
|
16
16
|
var _this = undefined;
|
|
17
17
|
|
|
@@ -122,33 +122,33 @@ var Ustream = function Ustream(_ref) {
|
|
|
122
122
|
if (main_43) {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
|
-
return
|
|
125
|
+
return React.createElement(
|
|
126
126
|
'div',
|
|
127
127
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
128
|
-
|
|
128
|
+
React.createElement(
|
|
129
129
|
'div',
|
|
130
130
|
{ style: { position: 'relative' } },
|
|
131
|
-
close ?
|
|
131
|
+
close ? React.createElement(
|
|
132
132
|
'div',
|
|
133
133
|
{ className: 'ustream-close' },
|
|
134
|
-
|
|
135
|
-
) :
|
|
136
|
-
|
|
134
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
135
|
+
) : React.createElement(
|
|
136
|
+
React.Fragment,
|
|
137
137
|
null,
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ className: 'ustream-minimize' },
|
|
141
|
-
|
|
141
|
+
React.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
142
142
|
),
|
|
143
|
-
|
|
143
|
+
React.createElement(
|
|
144
144
|
'div',
|
|
145
145
|
{ className: 'ustream-close' },
|
|
146
|
-
|
|
146
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
147
147
|
)
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
React.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
150
150
|
),
|
|
151
|
-
|
|
151
|
+
React.createElement(
|
|
152
152
|
'style',
|
|
153
153
|
{ jsx: 'true' },
|
|
154
154
|
'\n #ustream-container {\n position: fixed;\n bottom: 0;\n ' + (right ? 'right: 1rem;' : 'left: 1.5rem;') + '\n /* Updating z-index to fix gutter ad over ustream */\n z-index: 999999;\n max-width: 100%;\n }\n .ustream-minimize,\n .ustream-close {\n position: absolute;\n color: white;\n right: 0.5rem;\n top: 0.25rem;\n cursor: pointer;\n font-weight: bold;\n }\n .ustream-close {\n ' + (close ? 'display: block; right: .75rem; top: .5rem; ' : 'display: none; right: .5rem; top: .75rem;') + '\n }\n @media screen and (max-width: 768px) {\n #ustream-container:not(.closed) {\n width: 231px !important;\n height: 130px !important;\n }\n #ustream-container:not(.closed) iframe {\n height: 130px !important;\n }\n }\n '
|
|
@@ -156,6 +156,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
156
156
|
);
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
var Ustream$1 =
|
|
159
|
+
var Ustream$1 = React.memo(Ustream);
|
|
160
160
|
|
|
161
161
|
export default Ustream$1;
|