@mjhls/mjh-framework 1.0.876 → 1.0.877
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +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 +5 -6
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +17 -14098
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -5
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/Beam.js +2 -2
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +11 -12
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-94f8ccdf.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +5 -6
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +36 -37
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +12 -13
- package/dist/cjs/MediaSeriesLanding.js +406 -306
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -8
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Segment.js +0 -1
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-f9128638.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-4942ddfc.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +5 -6
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +4 -5
- package/dist/cjs/View.js +9 -10
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getSerializers.js +5 -6
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-6d59cc5b.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-6a2a3e03.js → index-2a2528f6.js} +28 -28
- 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-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +14 -15
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- 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-6c6093ae.js → ADInfeed-c7b8f6be.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-5d7386e8.js → ADlgInfeed-1aea5403.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +8 -9
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +40 -14121
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -18
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -32
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-46a745ba.js → AuthorComponent-defe68b6.js} +10 -10
- package/dist/esm/Beam.js +2 -2
- 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 +28 -28
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +57 -58
- package/dist/esm/DeckQueue.js +42 -43
- package/dist/esm/{Dfp-4ca12f2e.js → Dfp-4b99f79d.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -36
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +124 -125
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -32
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +51 -52
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +46 -47
- package/dist/esm/MediaSeriesLanding.js +432 -332
- 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/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +66 -67
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -15
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +246 -247
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +0 -1
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-485f514e.js → SeriesSlider-98b7a870.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a5b11613.js → SocialSearchComponent-9458fac6.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +13 -14
- package/dist/esm/TemplateNormal.js +29 -30
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +24 -25
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -13
- package/dist/esm/VideoSeriesListing.js +47 -48
- package/dist/esm/View.js +173 -174
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +38 -38
- 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 -9
- package/dist/esm/{getTargeting-ff2c9409.js → getTargeting-3792eba9.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-5bbd1562.js → index-1d312e35.js} +444 -444
- 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.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-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +39 -40
- package/dist/esm/{main-b5c5aac1.js → main-1894c974.js} +20 -20
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -111
- 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-b9e5ff3f.js → ADInfeed-3c44e465.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-3cdefebd.js → ADlgInfeed-0c03dac2.js} +0 -0
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
-
import
|
|
3
|
-
import { B as BlockContent } from './BlockContent-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.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
8
|
import urlFor from './urlFor.js';
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
10
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
9
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './core.get-iterator-method-e903ff31.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
@@ -45,13 +45,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
45
45
|
var itemCounter = 0;
|
|
46
46
|
var lgVar = 12;
|
|
47
47
|
|
|
48
|
-
return
|
|
48
|
+
return React__default.createElement(
|
|
49
49
|
'div',
|
|
50
50
|
{ className: 'contentDeck' },
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
Container,
|
|
53
53
|
null,
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
Row,
|
|
56
56
|
null,
|
|
57
57
|
data && data.map(function (row, index) {
|
|
@@ -91,33 +91,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
91
91
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
92
92
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
93
93
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
94
|
-
return
|
|
94
|
+
return React__default.createElement(
|
|
95
95
|
Col,
|
|
96
96
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
97
|
-
|
|
97
|
+
React__default.createElement(
|
|
98
98
|
Card,
|
|
99
99
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
100
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
101
|
Card.Body,
|
|
102
102
|
null,
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
Row,
|
|
105
105
|
null,
|
|
106
|
-
thumbnailURL &&
|
|
106
|
+
thumbnailURL && React__default.createElement(
|
|
107
107
|
Col,
|
|
108
108
|
null,
|
|
109
|
-
|
|
109
|
+
React__default.createElement(
|
|
110
110
|
LazyLoad,
|
|
111
111
|
{ height: imageHeight },
|
|
112
|
-
row && row.thumbnail &&
|
|
112
|
+
row && row.thumbnail && React__default.createElement(
|
|
113
113
|
'figure',
|
|
114
114
|
null,
|
|
115
|
-
row.thumbnail.link ?
|
|
115
|
+
row.thumbnail.link ? React__default.createElement(
|
|
116
116
|
'a',
|
|
117
117
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
118
|
-
|
|
119
|
-
) :
|
|
120
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
118
|
+
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
119
|
+
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
120
|
+
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
121
121
|
'figcaption',
|
|
122
122
|
null,
|
|
123
123
|
row.thumbnail.caption
|
|
@@ -125,30 +125,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
125
125
|
)
|
|
126
126
|
)
|
|
127
127
|
),
|
|
128
|
-
|
|
128
|
+
React__default.createElement(
|
|
129
129
|
Col,
|
|
130
130
|
null,
|
|
131
|
-
|
|
131
|
+
React__default.createElement(
|
|
132
132
|
Row,
|
|
133
133
|
{ className: 'details-content-wrapper' },
|
|
134
|
-
|
|
134
|
+
React__default.createElement(
|
|
135
135
|
'div',
|
|
136
136
|
{ className: 'details-content-inner-wrapper' },
|
|
137
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
137
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React__default.createElement(
|
|
138
138
|
'div',
|
|
139
139
|
{ className: 'details-wrapper' },
|
|
140
|
-
companyDetails && companyDetails.length > 0 &&
|
|
140
|
+
companyDetails && companyDetails.length > 0 && React__default.createElement(
|
|
141
141
|
'div',
|
|
142
142
|
{ className: 'company-wrapper' },
|
|
143
143
|
companyDetails.map(function (field, index) {
|
|
144
144
|
if (field.value && field.key === 'company') {
|
|
145
|
-
return
|
|
145
|
+
return React__default.createElement(
|
|
146
146
|
'p',
|
|
147
147
|
{ className: 'details-field', key: index },
|
|
148
148
|
field.value
|
|
149
149
|
);
|
|
150
150
|
} else if (field.value && field.key === 'url') {
|
|
151
|
-
return
|
|
151
|
+
return React__default.createElement(
|
|
152
152
|
'a',
|
|
153
153
|
{ className: 'details-field', href: field.value, key: index },
|
|
154
154
|
field.value
|
|
@@ -163,12 +163,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
163
163
|
// }
|
|
164
164
|
})
|
|
165
165
|
),
|
|
166
|
-
address && address.length > 0 &&
|
|
166
|
+
address && address.length > 0 && React__default.createElement(
|
|
167
167
|
'div',
|
|
168
168
|
{ className: 'address-wrapper' },
|
|
169
169
|
address.map(function (field, index) {
|
|
170
170
|
if (field) {
|
|
171
|
-
return
|
|
171
|
+
return React__default.createElement(
|
|
172
172
|
'p',
|
|
173
173
|
{ className: 'details-field', key: index },
|
|
174
174
|
field
|
|
@@ -176,18 +176,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
176
176
|
}
|
|
177
177
|
})
|
|
178
178
|
),
|
|
179
|
-
|
|
179
|
+
React__default.createElement(
|
|
180
180
|
'style',
|
|
181
181
|
{ jsx: 'true' },
|
|
182
182
|
'\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 '
|
|
183
183
|
)
|
|
184
184
|
),
|
|
185
|
-
socialLinks && socialLinks.length &&
|
|
185
|
+
socialLinks && socialLinks.length && React__default.createElement(
|
|
186
186
|
'div',
|
|
187
187
|
{ className: 'social-icons' },
|
|
188
188
|
socialLinks.map(function (url, index) {
|
|
189
189
|
if (url && url.length) {
|
|
190
|
-
return
|
|
190
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
191
191
|
target: '_blank',
|
|
192
192
|
rel: 'noopener noreferrer',
|
|
193
193
|
key: index,
|
|
@@ -197,22 +197,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
}),
|
|
200
|
-
|
|
200
|
+
React__default.createElement(
|
|
201
201
|
'style',
|
|
202
202
|
{ jsx: 'true' },
|
|
203
203
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
204
204
|
)
|
|
205
205
|
),
|
|
206
|
-
|
|
206
|
+
React__default.createElement(
|
|
207
207
|
Card.Text,
|
|
208
208
|
null,
|
|
209
|
-
|
|
209
|
+
React__default.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
)
|
|
213
213
|
)
|
|
214
214
|
),
|
|
215
|
-
icon &&
|
|
215
|
+
icon && React__default.createElement(
|
|
216
216
|
'span',
|
|
217
217
|
{
|
|
218
218
|
className: 'taxonomy-icon',
|
|
@@ -232,7 +232,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
232
232
|
})
|
|
233
233
|
)
|
|
234
234
|
),
|
|
235
|
-
icon &&
|
|
235
|
+
icon && React__default.createElement(
|
|
236
236
|
'style',
|
|
237
237
|
{ jsx: 'true' },
|
|
238
238
|
'\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-b4dfe691.js';
|
|
2
2
|
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
-
import
|
|
3
|
+
import React__default 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-c99c9a8d.js';
|
|
7
|
+
import { g as getSerializers } from './index-1d312e35.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-e903ff31.js';
|
|
10
10
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -16,19 +16,18 @@ import './index-0dbff1d1.js';
|
|
|
16
16
|
import './slicedToArray-ca2c8b8d.js';
|
|
17
17
|
import 'react-bootstrap';
|
|
18
18
|
import './urlFor.js';
|
|
19
|
-
import './index-
|
|
20
|
-
import './events-6c3a7a63.js';
|
|
19
|
+
import './index-5cc7b406.js';
|
|
21
20
|
import './index-c7e2ac95.js';
|
|
22
21
|
import './util-3ab476bf.js';
|
|
23
22
|
import './Beam.js';
|
|
24
23
|
import './stringify-c21932b3.js';
|
|
25
24
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
27
|
-
import './index-
|
|
25
|
+
import './main-1894c974.js';
|
|
26
|
+
import './index-755f2cc2.js';
|
|
28
27
|
import 'react-dom';
|
|
29
28
|
import './typeof-83d9eb10.js';
|
|
30
29
|
import './_is-array-893ab020.js';
|
|
31
|
-
import './brightcove-react-player-loader.es-
|
|
30
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
32
31
|
import './GroupDeck.js';
|
|
33
32
|
import './smoothscroll-fa4e3f8c.js';
|
|
34
33
|
import './moment-bc12cb97.js';
|
|
@@ -48,8 +47,8 @@ import 'react-bootstrap/Col';
|
|
|
48
47
|
import './inherits-8a801a18.js';
|
|
49
48
|
import './_object-sap-169d6272.js';
|
|
50
49
|
import './define-property-99e66838.js';
|
|
51
|
-
import './index.esm-
|
|
52
|
-
import './iconBase-
|
|
50
|
+
import './index.esm-f6156a57.js';
|
|
51
|
+
import './iconBase-ccc56b97.js';
|
|
53
52
|
import 'react-bootstrap/Figure';
|
|
54
53
|
import 'react-bootstrap/OverlayTrigger';
|
|
55
54
|
import 'react-bootstrap/Tooltip';
|
|
@@ -92,10 +91,10 @@ var setMetaDescription = function setMetaDescription(data, router) {
|
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
|
-
return
|
|
94
|
+
return React__default.createElement(
|
|
96
95
|
Head,
|
|
97
96
|
null,
|
|
98
|
-
|
|
97
|
+
React__default.createElement('meta', { name: 'description', content: metaDescription, key: 'description' })
|
|
99
98
|
);
|
|
100
99
|
};
|
|
101
100
|
|
|
@@ -104,11 +103,11 @@ var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
|
104
103
|
client = _ref.client;
|
|
105
104
|
|
|
106
105
|
var router = useRouter();
|
|
107
|
-
return data && data.length > 0 &&
|
|
106
|
+
return data && data.length > 0 && React__default.createElement(
|
|
108
107
|
'section',
|
|
109
108
|
{ className: 'taxonomy-description' },
|
|
110
109
|
setMetaDescription(data, router),
|
|
111
|
-
|
|
110
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
112
111
|
);
|
|
113
112
|
};
|
|
114
113
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { 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';
|
|
@@ -19,8 +19,7 @@ import './AdSlot.js';
|
|
|
19
19
|
import './extends-dc6a71fd.js';
|
|
20
20
|
import './_object-pie-133f504a.js';
|
|
21
21
|
import 'prop-types';
|
|
22
|
-
import './index-
|
|
23
|
-
import './events-6c3a7a63.js';
|
|
22
|
+
import './index-5cc7b406.js';
|
|
24
23
|
import './debounce-533d9748.js';
|
|
25
24
|
import './isSymbol-a7e9aafe.js';
|
|
26
25
|
import './toNumber-5aeba6e7.js';
|
|
@@ -30,17 +29,17 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
30
29
|
import './_library-528f1934.js';
|
|
31
30
|
import './_iter-detect-f089461c.js';
|
|
32
31
|
import './Segment.js';
|
|
33
|
-
import './main-
|
|
32
|
+
import './main-1894c974.js';
|
|
34
33
|
import 'next/head';
|
|
35
34
|
import 'react-bootstrap/Row';
|
|
36
35
|
import 'react-bootstrap/Col';
|
|
37
36
|
import './SideFooter.js';
|
|
38
37
|
import './defineProperty-8fa0bc8d.js';
|
|
39
38
|
import './define-property-99e66838.js';
|
|
40
|
-
import './react-social-icons-
|
|
39
|
+
import './react-social-icons-9be47857.js';
|
|
41
40
|
import './get-3c308da4.js';
|
|
42
41
|
import './eq-bdcbf886.js';
|
|
43
|
-
import './ConferenceBanner-
|
|
42
|
+
import './ConferenceBanner-8792ebd2.js';
|
|
44
43
|
import './ADSponsoredResources.js';
|
|
45
44
|
import './LeftNav.js';
|
|
46
45
|
import 'react-bootstrap/ListGroup';
|
|
@@ -50,12 +49,12 @@ import 'react-bootstrap';
|
|
|
50
49
|
import 'react-bootstrap/Nav';
|
|
51
50
|
import 'react-bootstrap/Navbar';
|
|
52
51
|
import 'react-bootstrap/NavDropdown';
|
|
53
|
-
import './index.esm-
|
|
54
|
-
import './iconBase-
|
|
55
|
-
import './index.esm-
|
|
56
|
-
import './NavFooter-
|
|
57
|
-
import './index.esm-
|
|
58
|
-
import './SocialSearchComponent-
|
|
52
|
+
import './index.esm-9b042655.js';
|
|
53
|
+
import './iconBase-ccc56b97.js';
|
|
54
|
+
import './index.esm-f6156a57.js';
|
|
55
|
+
import './NavFooter-e27bd93b.js';
|
|
56
|
+
import './index.esm-37268dca.js';
|
|
57
|
+
import './SocialSearchComponent-9458fac6.js';
|
|
59
58
|
import './SocialIcons.js';
|
|
60
59
|
import 'react-bootstrap/Form';
|
|
61
60
|
import 'react-bootstrap/FormControl';
|
|
@@ -98,13 +97,13 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
98
97
|
var navigation = function navigation() {
|
|
99
98
|
switch (config.navComponent) {
|
|
100
99
|
case 'magazine':
|
|
101
|
-
return
|
|
100
|
+
return React__default.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
102
101
|
case 'native':
|
|
103
|
-
return
|
|
102
|
+
return React__default.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
104
103
|
case 'dvm':
|
|
105
|
-
return
|
|
104
|
+
return React__default.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
106
105
|
case 'hamburgerNav':
|
|
107
|
-
return
|
|
106
|
+
return React__default.createElement(HamMagazine, {
|
|
108
107
|
socialFooterNav: true,
|
|
109
108
|
logo: website.logo,
|
|
110
109
|
dataObject: config.navItems,
|
|
@@ -114,7 +113,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
114
113
|
showLogin: website.showLogin
|
|
115
114
|
});
|
|
116
115
|
default:
|
|
117
|
-
return
|
|
116
|
+
return React__default.createElement('noNav', null);
|
|
118
117
|
}
|
|
119
118
|
};
|
|
120
119
|
|
|
@@ -131,19 +130,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
131
130
|
function layout() {
|
|
132
131
|
switch (config.columns) {
|
|
133
132
|
case '1':
|
|
134
|
-
return
|
|
133
|
+
return React__default.createElement(
|
|
135
134
|
Column1,
|
|
136
135
|
{ title: title },
|
|
137
136
|
props.children
|
|
138
137
|
);
|
|
139
138
|
case '2':
|
|
140
|
-
return
|
|
139
|
+
return React__default.createElement(
|
|
141
140
|
Column2,
|
|
142
141
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
143
142
|
props.children
|
|
144
143
|
);
|
|
145
144
|
case '3':
|
|
146
|
-
return
|
|
145
|
+
return React__default.createElement(
|
|
147
146
|
Column3,
|
|
148
147
|
{
|
|
149
148
|
title: title,
|
|
@@ -159,35 +158,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
159
158
|
props.children
|
|
160
159
|
);
|
|
161
160
|
default:
|
|
162
|
-
return
|
|
161
|
+
return React__default.createElement('noLayout', null);
|
|
163
162
|
}
|
|
164
163
|
}
|
|
165
164
|
|
|
166
|
-
return
|
|
165
|
+
return React__default.createElement(
|
|
167
166
|
'section',
|
|
168
167
|
null,
|
|
169
|
-
noTitle ?
|
|
168
|
+
noTitle ? React__default.createElement(Header, {
|
|
170
169
|
isLiveSite: config.isLiveSite,
|
|
171
170
|
keyword: keywords,
|
|
172
171
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
173
|
-
}) :
|
|
172
|
+
}) : React__default.createElement(Header, {
|
|
174
173
|
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 + ' ' : ''),
|
|
175
174
|
isLiveSite: config.isLiveSite,
|
|
176
175
|
keyword: keywords,
|
|
177
176
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
178
177
|
}),
|
|
179
178
|
navigation(),
|
|
180
|
-
sponsoredFlag ?
|
|
181
|
-
|
|
179
|
+
sponsoredFlag ? React__default.createElement('div', { style: { height: '50px' } }) : React__default.createElement(
|
|
180
|
+
React__default.Fragment,
|
|
182
181
|
null,
|
|
183
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
182
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React__default.createElement(
|
|
184
183
|
Container,
|
|
185
184
|
null,
|
|
186
|
-
|
|
185
|
+
React__default.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
187
186
|
)
|
|
188
187
|
),
|
|
189
|
-
website.gutterAd && !sponsoredFlag &&
|
|
190
|
-
|
|
188
|
+
website.gutterAd && !sponsoredFlag && React__default.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
189
|
+
React__default.createElement(
|
|
191
190
|
Container,
|
|
192
191
|
null,
|
|
193
192
|
layout()
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Media from 'react-bootstrap/Media';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { L as LazyLoad } from './index-
|
|
4
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
6
6
|
import './slicedToArray-ca2c8b8d.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -18,27 +18,27 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
18
18
|
defaultImage = _ref.defaultImage;
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
return
|
|
21
|
+
return React__default.createElement(
|
|
22
22
|
'div',
|
|
23
23
|
null,
|
|
24
24
|
mediaData && mediaData.map(function (item, index) {
|
|
25
|
-
return
|
|
25
|
+
return React__default.createElement(
|
|
26
26
|
Media,
|
|
27
27
|
{ className: 'mb-3 thumbnail-card' },
|
|
28
|
-
|
|
28
|
+
React__default.createElement(
|
|
29
29
|
LazyLoad,
|
|
30
30
|
{ height: size },
|
|
31
|
-
|
|
31
|
+
React__default.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor({ client: client, source: item.thumbnail }) : defaultImage, alt: 'Generic placeholder' })
|
|
32
32
|
),
|
|
33
|
-
|
|
33
|
+
React__default.createElement(
|
|
34
34
|
Media.Body,
|
|
35
35
|
null,
|
|
36
|
-
|
|
36
|
+
React__default.createElement(
|
|
37
37
|
'h5',
|
|
38
38
|
null,
|
|
39
39
|
item.title
|
|
40
40
|
),
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'p',
|
|
43
43
|
null,
|
|
44
44
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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__default, { useState, useRef, useEffect } from 'react';
|
|
4
|
+
import { c as IoIosOpen } from './index.esm-f6156a57.js';
|
|
5
|
+
import { F as FaRegWindowClose } from './index.esm-d4932dea.js';
|
|
6
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
9
|
import './web.dom.iterable-fdf034f5.js';
|
|
10
10
|
import './_library-528f1934.js';
|
|
11
11
|
import './_iter-detect-f089461c.js';
|
|
12
|
-
import './iconBase-
|
|
12
|
+
import './iconBase-ccc56b97.js';
|
|
13
13
|
|
|
14
14
|
var _this = undefined;
|
|
15
15
|
|
|
@@ -120,33 +120,33 @@ var Ustream = function Ustream(_ref) {
|
|
|
120
120
|
if (main_43) {
|
|
121
121
|
return null;
|
|
122
122
|
}
|
|
123
|
-
return
|
|
123
|
+
return React__default.createElement(
|
|
124
124
|
'div',
|
|
125
125
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
126
|
-
|
|
126
|
+
React__default.createElement(
|
|
127
127
|
'div',
|
|
128
128
|
{ style: { position: 'relative' } },
|
|
129
|
-
close ?
|
|
129
|
+
close ? React__default.createElement(
|
|
130
130
|
'div',
|
|
131
131
|
{ className: 'ustream-close' },
|
|
132
|
-
|
|
133
|
-
) :
|
|
134
|
-
|
|
132
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
133
|
+
) : React__default.createElement(
|
|
134
|
+
React__default.Fragment,
|
|
135
135
|
null,
|
|
136
|
-
|
|
136
|
+
React__default.createElement(
|
|
137
137
|
'div',
|
|
138
138
|
{ className: 'ustream-minimize' },
|
|
139
|
-
|
|
139
|
+
React__default.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
140
140
|
),
|
|
141
|
-
|
|
141
|
+
React__default.createElement(
|
|
142
142
|
'div',
|
|
143
143
|
{ className: 'ustream-close' },
|
|
144
|
-
|
|
144
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
145
145
|
)
|
|
146
146
|
),
|
|
147
|
-
|
|
147
|
+
React__default.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
React__default.createElement(
|
|
150
150
|
'style',
|
|
151
151
|
{ jsx: 'true' },
|
|
152
152
|
'\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 '
|
|
@@ -154,6 +154,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
154
154
|
);
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
var Ustream$1 =
|
|
157
|
+
var Ustream$1 = React__default.memo(Ustream);
|
|
158
158
|
|
|
159
159
|
export default Ustream$1;
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -13,16 +13,16 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
13
13
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
return
|
|
16
|
+
return React__default.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
{ className: 'vertical-hero-container' },
|
|
19
|
-
|
|
19
|
+
React__default.createElement(
|
|
20
20
|
'div',
|
|
21
21
|
{ className: 'vertical-hero-inner' },
|
|
22
|
-
|
|
22
|
+
React__default.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
{ className: 'hero-title' },
|
|
25
|
-
|
|
25
|
+
React__default.createElement(
|
|
26
26
|
'h2',
|
|
27
27
|
null,
|
|
28
28
|
heroTitle
|
|
@@ -37,19 +37,19 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
37
37
|
} else if (props.thumbnail) {
|
|
38
38
|
articleThumbnail = props.thumbnail;
|
|
39
39
|
}
|
|
40
|
-
return index === 0 ?
|
|
40
|
+
return index === 0 ? React__default.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
44
|
+
React__default.createElement(
|
|
45
45
|
'h2',
|
|
46
46
|
null,
|
|
47
47
|
article.title
|
|
48
48
|
)
|
|
49
|
-
) :
|
|
49
|
+
) : React__default.createElement(
|
|
50
50
|
'a',
|
|
51
51
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
'h2',
|
|
54
54
|
null,
|
|
55
55
|
article.title
|
|
@@ -57,7 +57,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
57
57
|
);
|
|
58
58
|
})
|
|
59
59
|
),
|
|
60
|
-
|
|
60
|
+
React__default.createElement(
|
|
61
61
|
'style',
|
|
62
62
|
{ jsx: 'true' },
|
|
63
63
|
'\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 '
|