@mjhls/mjh-framework 1.0.837 → 1.0.838
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 +2 -3
- 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/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-93399f8c.js → Dfp-3f0ed4c8.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 +408 -307
- 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/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-e3e8ead7.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.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-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-0a582ba9.js → index-55dd328c.js} +3 -3
- 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-28b1e946.js → ADInfeed-4a09242b.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-0b474b02.js → ADlgInfeed-0bff9a62.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 +39 -14120
- 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-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 +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-43f121ff.js → Dfp-be030f2a.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 +433 -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 +62 -63
- 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/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-ae17159f.js} +23 -23
- 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 +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 +170 -171
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +32 -32
- 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-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-66ffc224.js → index-490e778a.js} +365 -365
- 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-d4165069.js} +19 -19
- 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 +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-8b336c67.js → ADInfeed-eb4ce360.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-aedd5e18.js → ADlgInfeed-8a05b63f.js} +0 -0
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.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 './_to-object-b50e61c3.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
@@ -43,13 +43,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
43
43
|
var itemCounter = 0;
|
|
44
44
|
var lgVar = 12;
|
|
45
45
|
|
|
46
|
-
return
|
|
46
|
+
return React__default.createElement(
|
|
47
47
|
'div',
|
|
48
48
|
{ className: 'contentDeck' },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
Container,
|
|
51
51
|
null,
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
Row,
|
|
54
54
|
null,
|
|
55
55
|
data && data.map(function (row, index) {
|
|
@@ -89,33 +89,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
89
89
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
90
90
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
91
91
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
92
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
93
93
|
Col,
|
|
94
94
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
Card,
|
|
97
97
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
Card.Body,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
Row,
|
|
103
103
|
null,
|
|
104
|
-
thumbnailURL &&
|
|
104
|
+
thumbnailURL && React__default.createElement(
|
|
105
105
|
Col,
|
|
106
106
|
null,
|
|
107
|
-
|
|
107
|
+
React__default.createElement(
|
|
108
108
|
LazyLoad,
|
|
109
109
|
{ height: imageHeight },
|
|
110
|
-
row && row.thumbnail &&
|
|
110
|
+
row && row.thumbnail && React__default.createElement(
|
|
111
111
|
'figure',
|
|
112
112
|
null,
|
|
113
|
-
row.thumbnail.link ?
|
|
113
|
+
row.thumbnail.link ? React__default.createElement(
|
|
114
114
|
'a',
|
|
115
115
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
116
|
-
|
|
117
|
-
) :
|
|
118
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
116
|
+
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
117
|
+
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
118
|
+
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
119
119
|
'figcaption',
|
|
120
120
|
null,
|
|
121
121
|
row.thumbnail.caption
|
|
@@ -123,30 +123,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
123
123
|
)
|
|
124
124
|
)
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React__default.createElement(
|
|
127
127
|
Col,
|
|
128
128
|
null,
|
|
129
|
-
|
|
129
|
+
React__default.createElement(
|
|
130
130
|
Row,
|
|
131
131
|
{ className: 'details-content-wrapper' },
|
|
132
|
-
|
|
132
|
+
React__default.createElement(
|
|
133
133
|
'div',
|
|
134
134
|
{ className: 'details-content-inner-wrapper' },
|
|
135
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
135
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React__default.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ className: 'details-wrapper' },
|
|
138
|
-
companyDetails && companyDetails.length > 0 &&
|
|
138
|
+
companyDetails && companyDetails.length > 0 && React__default.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ className: 'company-wrapper' },
|
|
141
141
|
companyDetails.map(function (field, index) {
|
|
142
142
|
if (field.value && field.key === 'company') {
|
|
143
|
-
return
|
|
143
|
+
return React__default.createElement(
|
|
144
144
|
'p',
|
|
145
145
|
{ className: 'details-field', key: index },
|
|
146
146
|
field.value
|
|
147
147
|
);
|
|
148
148
|
} else if (field.value && field.key === 'url') {
|
|
149
|
-
return
|
|
149
|
+
return React__default.createElement(
|
|
150
150
|
'a',
|
|
151
151
|
{ className: 'details-field', href: field.value, key: index },
|
|
152
152
|
field.value
|
|
@@ -161,12 +161,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
161
161
|
// }
|
|
162
162
|
})
|
|
163
163
|
),
|
|
164
|
-
address && address.length > 0 &&
|
|
164
|
+
address && address.length > 0 && React__default.createElement(
|
|
165
165
|
'div',
|
|
166
166
|
{ className: 'address-wrapper' },
|
|
167
167
|
address.map(function (field, index) {
|
|
168
168
|
if (field) {
|
|
169
|
-
return
|
|
169
|
+
return React__default.createElement(
|
|
170
170
|
'p',
|
|
171
171
|
{ className: 'details-field', key: index },
|
|
172
172
|
field
|
|
@@ -174,18 +174,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React__default.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
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 '
|
|
181
181
|
)
|
|
182
182
|
),
|
|
183
|
-
socialLinks && socialLinks.length &&
|
|
183
|
+
socialLinks && socialLinks.length && React__default.createElement(
|
|
184
184
|
'div',
|
|
185
185
|
{ className: 'social-icons' },
|
|
186
186
|
socialLinks.map(function (url, index) {
|
|
187
187
|
if (url && url.length) {
|
|
188
|
-
return
|
|
188
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
189
189
|
target: '_blank',
|
|
190
190
|
rel: 'noopener noreferrer',
|
|
191
191
|
key: index,
|
|
@@ -195,22 +195,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
}),
|
|
198
|
-
|
|
198
|
+
React__default.createElement(
|
|
199
199
|
'style',
|
|
200
200
|
{ jsx: 'true' },
|
|
201
201
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
202
202
|
)
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React__default.createElement(
|
|
205
205
|
Card.Text,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
React__default.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
208
208
|
)
|
|
209
209
|
)
|
|
210
210
|
)
|
|
211
211
|
)
|
|
212
212
|
),
|
|
213
|
-
icon &&
|
|
213
|
+
icon && React__default.createElement(
|
|
214
214
|
'span',
|
|
215
215
|
{
|
|
216
216
|
className: 'taxonomy-icon',
|
|
@@ -230,7 +230,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
230
230
|
})
|
|
231
231
|
)
|
|
232
232
|
),
|
|
233
|
-
icon &&
|
|
233
|
+
icon && React__default.createElement(
|
|
234
234
|
'style',
|
|
235
235
|
{ jsx: 'true' },
|
|
236
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__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-490e778a.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
@@ -18,19 +18,18 @@ import './index-0dbff1d1.js';
|
|
|
18
18
|
import './slicedToArray-be2f7a22.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
20
|
import './urlFor.js';
|
|
21
|
-
import './index-
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
21
|
+
import './index-5cc7b406.js';
|
|
23
22
|
import './index-c7e2ac95.js';
|
|
24
23
|
import './util-3ab476bf.js';
|
|
25
24
|
import './Beam.js';
|
|
26
25
|
import './stringify-59c8f690.js';
|
|
27
26
|
import './Segment.js';
|
|
28
|
-
import './main-
|
|
29
|
-
import './index-
|
|
27
|
+
import './main-d4165069.js';
|
|
28
|
+
import './index-755f2cc2.js';
|
|
30
29
|
import 'react-dom';
|
|
31
30
|
import './typeof-a286cf0c.js';
|
|
32
31
|
import './_is-array-3e99e06e.js';
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
32
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
33
|
import './GroupDeck.js';
|
|
35
34
|
import './smoothscroll-fa4e3f8c.js';
|
|
36
35
|
import './moment-bc12cb97.js';
|
|
@@ -50,8 +49,8 @@ import 'react-bootstrap/Col';
|
|
|
50
49
|
import './inherits-a41fe93f.js';
|
|
51
50
|
import './_object-sap-f353c2a9.js';
|
|
52
51
|
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-
|
|
54
|
-
import './iconBase-
|
|
52
|
+
import './index.esm-f6156a57.js';
|
|
53
|
+
import './iconBase-ccc56b97.js';
|
|
55
54
|
import 'react-bootstrap/Figure';
|
|
56
55
|
|
|
57
56
|
var _this = undefined;
|
|
@@ -91,10 +90,10 @@ var setMetaDescription = function setMetaDescription(data, router) {
|
|
|
91
90
|
}
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
|
-
return
|
|
93
|
+
return React__default.createElement(
|
|
95
94
|
Head,
|
|
96
95
|
null,
|
|
97
|
-
|
|
96
|
+
React__default.createElement('meta', { name: 'description', content: metaDescription, key: 'description' })
|
|
98
97
|
);
|
|
99
98
|
};
|
|
100
99
|
|
|
@@ -103,11 +102,11 @@ var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
|
103
102
|
client = _ref.client;
|
|
104
103
|
|
|
105
104
|
var router = useRouter();
|
|
106
|
-
return data && data.length > 0 &&
|
|
105
|
+
return data && data.length > 0 && React__default.createElement(
|
|
107
106
|
'section',
|
|
108
107
|
{ className: 'taxonomy-description' },
|
|
109
108
|
setMetaDescription(data, router),
|
|
110
|
-
|
|
109
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
111
110
|
);
|
|
112
111
|
};
|
|
113
112
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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';
|
|
@@ -21,8 +21,7 @@ import './AdSlot.js';
|
|
|
21
21
|
import './extends-60e0e1c6.js';
|
|
22
22
|
import './_object-pie-133f504a.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import './index-
|
|
25
|
-
import './events-6c3a7a63.js';
|
|
24
|
+
import './index-5cc7b406.js';
|
|
26
25
|
import './debounce-533d9748.js';
|
|
27
26
|
import './isSymbol-a7e9aafe.js';
|
|
28
27
|
import './toNumber-5aeba6e7.js';
|
|
@@ -32,17 +31,17 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
32
31
|
import './_library-528f1934.js';
|
|
33
32
|
import './_iter-detect-7e5e5ce2.js';
|
|
34
33
|
import './Segment.js';
|
|
35
|
-
import './main-
|
|
34
|
+
import './main-d4165069.js';
|
|
36
35
|
import 'next/head';
|
|
37
36
|
import 'react-bootstrap/Row';
|
|
38
37
|
import 'react-bootstrap/Col';
|
|
39
38
|
import './SideFooter.js';
|
|
40
39
|
import './defineProperty-f5ff6f5a.js';
|
|
41
40
|
import './define-property-fe54dc9f.js';
|
|
42
|
-
import './react-social-icons-
|
|
41
|
+
import './react-social-icons-9be47857.js';
|
|
43
42
|
import './get-3c308da4.js';
|
|
44
43
|
import './eq-bdcbf886.js';
|
|
45
|
-
import './ConferenceBanner-
|
|
44
|
+
import './ConferenceBanner-8792ebd2.js';
|
|
46
45
|
import './ADSponsoredResources.js';
|
|
47
46
|
import './LeftNav.js';
|
|
48
47
|
import 'react-bootstrap/ListGroup';
|
|
@@ -52,12 +51,12 @@ import 'react-bootstrap';
|
|
|
52
51
|
import 'react-bootstrap/Nav';
|
|
53
52
|
import 'react-bootstrap/Navbar';
|
|
54
53
|
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-
|
|
54
|
+
import './index.esm-9b042655.js';
|
|
55
|
+
import './iconBase-ccc56b97.js';
|
|
56
|
+
import './index.esm-f6156a57.js';
|
|
57
|
+
import './NavFooter-e27bd93b.js';
|
|
58
|
+
import './index.esm-37268dca.js';
|
|
59
|
+
import './SocialSearchComponent-db963c3e.js';
|
|
61
60
|
import './SocialIcons.js';
|
|
62
61
|
import 'react-bootstrap/Form';
|
|
63
62
|
import 'react-bootstrap/FormControl';
|
|
@@ -100,13 +99,13 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
100
99
|
var navigation = function navigation() {
|
|
101
100
|
switch (config.navComponent) {
|
|
102
101
|
case 'magazine':
|
|
103
|
-
return
|
|
102
|
+
return React__default.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
104
103
|
case 'native':
|
|
105
|
-
return
|
|
104
|
+
return React__default.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
106
105
|
case 'dvm':
|
|
107
|
-
return
|
|
106
|
+
return React__default.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
108
107
|
case 'hamburgerNav':
|
|
109
|
-
return
|
|
108
|
+
return React__default.createElement(HamMagazine, {
|
|
110
109
|
socialFooterNav: true,
|
|
111
110
|
logo: website.logo,
|
|
112
111
|
dataObject: config.navItems,
|
|
@@ -116,7 +115,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
116
115
|
showLogin: website.showLogin
|
|
117
116
|
});
|
|
118
117
|
default:
|
|
119
|
-
return
|
|
118
|
+
return React__default.createElement('noNav', null);
|
|
120
119
|
}
|
|
121
120
|
};
|
|
122
121
|
|
|
@@ -133,19 +132,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
133
132
|
function layout() {
|
|
134
133
|
switch (config.columns) {
|
|
135
134
|
case '1':
|
|
136
|
-
return
|
|
135
|
+
return React__default.createElement(
|
|
137
136
|
Column1,
|
|
138
137
|
{ title: title },
|
|
139
138
|
props.children
|
|
140
139
|
);
|
|
141
140
|
case '2':
|
|
142
|
-
return
|
|
141
|
+
return React__default.createElement(
|
|
143
142
|
Column2,
|
|
144
143
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
145
144
|
props.children
|
|
146
145
|
);
|
|
147
146
|
case '3':
|
|
148
|
-
return
|
|
147
|
+
return React__default.createElement(
|
|
149
148
|
Column3,
|
|
150
149
|
{
|
|
151
150
|
title: title,
|
|
@@ -161,35 +160,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
161
160
|
props.children
|
|
162
161
|
);
|
|
163
162
|
default:
|
|
164
|
-
return
|
|
163
|
+
return React__default.createElement('noLayout', null);
|
|
165
164
|
}
|
|
166
165
|
}
|
|
167
166
|
|
|
168
|
-
return
|
|
167
|
+
return React__default.createElement(
|
|
169
168
|
'section',
|
|
170
169
|
null,
|
|
171
|
-
noTitle ?
|
|
170
|
+
noTitle ? React__default.createElement(Header, {
|
|
172
171
|
isLiveSite: config.isLiveSite,
|
|
173
172
|
keyword: keywords,
|
|
174
173
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
175
|
-
}) :
|
|
174
|
+
}) : React__default.createElement(Header, {
|
|
176
175
|
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 + ' ' : ''),
|
|
177
176
|
isLiveSite: config.isLiveSite,
|
|
178
177
|
keyword: keywords,
|
|
179
178
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
180
179
|
}),
|
|
181
180
|
navigation(),
|
|
182
|
-
sponsoredFlag ?
|
|
183
|
-
|
|
181
|
+
sponsoredFlag ? React__default.createElement('div', { style: { height: '50px' } }) : React__default.createElement(
|
|
182
|
+
React__default.Fragment,
|
|
184
183
|
null,
|
|
185
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
184
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React__default.createElement(
|
|
186
185
|
Container,
|
|
187
186
|
null,
|
|
188
|
-
|
|
187
|
+
React__default.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
189
188
|
)
|
|
190
189
|
),
|
|
191
|
-
website.gutterAd && !sponsoredFlag &&
|
|
192
|
-
|
|
190
|
+
website.gutterAd && !sponsoredFlag && React__default.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
191
|
+
React__default.createElement(
|
|
193
192
|
Container,
|
|
194
193
|
null,
|
|
195
194
|
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 './index-0dbff1d1.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -15,27 +15,27 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
15
15
|
defaultImage = _ref.defaultImage;
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
return
|
|
18
|
+
return React__default.createElement(
|
|
19
19
|
'div',
|
|
20
20
|
null,
|
|
21
21
|
mediaData && mediaData.map(function (item, index) {
|
|
22
|
-
return
|
|
22
|
+
return React__default.createElement(
|
|
23
23
|
Media,
|
|
24
24
|
{ className: 'mb-3 thumbnail-card' },
|
|
25
|
-
|
|
25
|
+
React__default.createElement(
|
|
26
26
|
LazyLoad,
|
|
27
27
|
{ height: size },
|
|
28
|
-
|
|
28
|
+
React__default.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor({ client: client, source: item.thumbnail }) : defaultImage, alt: 'Generic placeholder' })
|
|
29
29
|
),
|
|
30
|
-
|
|
30
|
+
React__default.createElement(
|
|
31
31
|
Media.Body,
|
|
32
32
|
null,
|
|
33
|
-
|
|
33
|
+
React__default.createElement(
|
|
34
34
|
'h5',
|
|
35
35
|
null,
|
|
36
36
|
item.title
|
|
37
37
|
),
|
|
38
|
-
|
|
38
|
+
React__default.createElement(
|
|
39
39
|
'p',
|
|
40
40
|
null,
|
|
41
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__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-d4165069.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-ccc56b97.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__default.createElement(
|
|
126
126
|
'div',
|
|
127
127
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
128
|
-
|
|
128
|
+
React__default.createElement(
|
|
129
129
|
'div',
|
|
130
130
|
{ style: { position: 'relative' } },
|
|
131
|
-
close ?
|
|
131
|
+
close ? React__default.createElement(
|
|
132
132
|
'div',
|
|
133
133
|
{ className: 'ustream-close' },
|
|
134
|
-
|
|
135
|
-
) :
|
|
136
|
-
|
|
134
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
135
|
+
) : React__default.createElement(
|
|
136
|
+
React__default.Fragment,
|
|
137
137
|
null,
|
|
138
|
-
|
|
138
|
+
React__default.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ className: 'ustream-minimize' },
|
|
141
|
-
|
|
141
|
+
React__default.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
142
142
|
),
|
|
143
|
-
|
|
143
|
+
React__default.createElement(
|
|
144
144
|
'div',
|
|
145
145
|
{ className: 'ustream-close' },
|
|
146
|
-
|
|
146
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
147
147
|
)
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
React__default.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
150
150
|
),
|
|
151
|
-
|
|
151
|
+
React__default.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__default.memo(Ustream);
|
|
160
160
|
|
|
161
161
|
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';
|
|
@@ -10,16 +10,16 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
10
10
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
return
|
|
13
|
+
return React__default.createElement(
|
|
14
14
|
'div',
|
|
15
15
|
{ className: 'vertical-hero-container' },
|
|
16
|
-
|
|
16
|
+
React__default.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
{ className: 'vertical-hero-inner' },
|
|
19
|
-
|
|
19
|
+
React__default.createElement(
|
|
20
20
|
'div',
|
|
21
21
|
{ className: 'hero-title' },
|
|
22
|
-
|
|
22
|
+
React__default.createElement(
|
|
23
23
|
'h2',
|
|
24
24
|
null,
|
|
25
25
|
heroTitle
|
|
@@ -34,19 +34,19 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
34
34
|
} else if (props.thumbnail) {
|
|
35
35
|
articleThumbnail = props.thumbnail;
|
|
36
36
|
}
|
|
37
|
-
return index === 0 ?
|
|
37
|
+
return index === 0 ? React__default.createElement(
|
|
38
38
|
'a',
|
|
39
39
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
React__default.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'h2',
|
|
43
43
|
null,
|
|
44
44
|
article.title
|
|
45
45
|
)
|
|
46
|
-
) :
|
|
46
|
+
) : React__default.createElement(
|
|
47
47
|
'a',
|
|
48
48
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'h2',
|
|
51
51
|
null,
|
|
52
52
|
article.title
|
|
@@ -54,7 +54,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
54
54
|
);
|
|
55
55
|
})
|
|
56
56
|
),
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
'style',
|
|
59
59
|
{ jsx: 'true' },
|
|
60
60
|
'\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 '
|