@mjhls/mjh-framework 1.0.577-native-nav-v4 → 1.0.577
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +227 -139
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-c2168db0.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +43 -42
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +148 -144
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +118 -113
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +122 -117
- package/dist/cjs/NavNative.js +115 -108
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +134 -132
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +216 -216
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +39 -38
- package/dist/cjs/View.js +165 -160
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +47 -46
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +9 -9
- package/dist/cjs/getSerializers.js +267 -257
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-fa3cec70.js → index-44481153.js} +14 -14
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-39beccb3.js → index-b5eb3ff8.js} +18 -18
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-89fabc47.js → index.esm-55da9104.js} +3 -6
- package/dist/cjs/{index.esm-fbd1f7e9.js → index.esm-99553d28.js} +6 -15
- package/dist/cjs/index.js +28 -28
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{main-88348b15.js → main-c50facd7.js} +89 -53
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-db7610fb.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-4bb11153.js → ADlgInfeed-dfde985e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +98 -98
- package/dist/esm/Auth.js +207 -123
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +29 -29
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-81a052c2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +92 -92
- package/dist/esm/NavNative.js +82 -83
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +72 -72
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +197 -197
- 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/SideFooter.js +17 -17
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +139 -139
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -2
- package/dist/esm/getSerializers.js +219 -215
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-3f4dd6f2.js → index-1819118a.js} +7 -9
- package/dist/esm/{index-3849e3fe.js → index-51a80699.js} +18 -18
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-4b1d94b7.js → index.esm-116f3274.js} +6 -15
- package/dist/esm/{index.esm-9a4c8813.js → index.esm-16e9450c.js} +3 -6
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +24 -24
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{main-d7ee6151.js → main-b722e2e2.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -2,17 +2,17 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './_object-pie-33c40e79.js';
|
|
4
4
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
10
10
|
import Card from 'react-bootstrap/Card';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
14
|
-
import { B as BlockContent } from './BlockContent-
|
|
15
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
13
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
15
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-3822f1ce.js';
|
|
16
16
|
|
|
17
17
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
18
18
|
var columns = props.columns,
|
|
@@ -44,13 +44,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
44
44
|
var itemCounter = 0;
|
|
45
45
|
var lgVar = 12;
|
|
46
46
|
|
|
47
|
-
return
|
|
47
|
+
return React.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'contentDeck' },
|
|
50
|
-
|
|
50
|
+
React.createElement(
|
|
51
51
|
Container,
|
|
52
52
|
null,
|
|
53
|
-
|
|
53
|
+
React.createElement(
|
|
54
54
|
Row,
|
|
55
55
|
null,
|
|
56
56
|
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.createElement(
|
|
93
93
|
Col,
|
|
94
94
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
95
|
-
|
|
95
|
+
React.createElement(
|
|
96
96
|
Card,
|
|
97
97
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
Card.Body,
|
|
100
100
|
null,
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
Row,
|
|
103
103
|
null,
|
|
104
|
-
thumbnailURL &&
|
|
104
|
+
thumbnailURL && React.createElement(
|
|
105
105
|
Col,
|
|
106
106
|
null,
|
|
107
|
-
|
|
107
|
+
React.createElement(
|
|
108
108
|
LazyLoad,
|
|
109
109
|
{ height: imageHeight },
|
|
110
|
-
row && row.thumbnail &&
|
|
110
|
+
row && row.thumbnail && React.createElement(
|
|
111
111
|
'figure',
|
|
112
112
|
null,
|
|
113
|
-
row.thumbnail.link ?
|
|
113
|
+
row.thumbnail.link ? React.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.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(
|
|
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.createElement(
|
|
127
127
|
Col,
|
|
128
128
|
null,
|
|
129
|
-
|
|
129
|
+
React.createElement(
|
|
130
130
|
Row,
|
|
131
131
|
{ className: 'details-content-wrapper' },
|
|
132
|
-
|
|
132
|
+
React.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.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ className: 'details-wrapper' },
|
|
138
|
-
companyDetails && companyDetails.length > 0 &&
|
|
138
|
+
companyDetails && companyDetails.length > 0 && React.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.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.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.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.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.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.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.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.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.createElement(
|
|
205
205
|
Card.Text,
|
|
206
206
|
null,
|
|
207
|
-
|
|
207
|
+
React.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.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.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 '
|
|
@@ -4,8 +4,8 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import './index-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import './index-1819118a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import Container from 'react-bootstrap/Container';
|
|
11
11
|
import 'react-bootstrap/Row';
|
|
@@ -13,7 +13,7 @@ import 'react-bootstrap/Col';
|
|
|
13
13
|
import { useRouter } from 'next/router';
|
|
14
14
|
import './isSymbol-b7b7434f.js';
|
|
15
15
|
import './debounce-048d9cb6.js';
|
|
16
|
-
import './main-
|
|
16
|
+
import './main-b722e2e2.js';
|
|
17
17
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
18
18
|
import './stringify-e30bc114.js';
|
|
19
19
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -22,14 +22,14 @@ import './beam-a25bd8fd.js';
|
|
|
22
22
|
import './AdSlot.js';
|
|
23
23
|
import './_arrayMap-64cbe0e4.js';
|
|
24
24
|
import './get-0eb56363.js';
|
|
25
|
-
import './react-social-icons-
|
|
25
|
+
import './react-social-icons-3822f1ce.js';
|
|
26
26
|
import 'react-bootstrap';
|
|
27
27
|
import './iconBase-602d52fe.js';
|
|
28
|
-
import './index.esm-
|
|
28
|
+
import './index.esm-116f3274.js';
|
|
29
29
|
import 'react-bootstrap/Button';
|
|
30
30
|
import { Column1 } from './Column1.js';
|
|
31
31
|
import './SideFooter.js';
|
|
32
|
-
import './ConferenceBanner-
|
|
32
|
+
import './ConferenceBanner-9162d0ca.js';
|
|
33
33
|
import { Column2 } from './Column2.js';
|
|
34
34
|
import './ADSponsoredResources.js';
|
|
35
35
|
import 'react-bootstrap/ListGroup';
|
|
@@ -42,12 +42,12 @@ import Header from './Header.js';
|
|
|
42
42
|
import 'react-bootstrap/Nav';
|
|
43
43
|
import 'react-bootstrap/Navbar';
|
|
44
44
|
import 'react-bootstrap/NavDropdown';
|
|
45
|
-
import './index.esm-
|
|
45
|
+
import './index.esm-d6f88d94.js';
|
|
46
46
|
import 'react-bootstrap/Form';
|
|
47
47
|
import 'react-bootstrap/FormControl';
|
|
48
48
|
import './Search.js';
|
|
49
|
-
import './NavFooter-
|
|
50
|
-
import './SocialNavFooter-
|
|
49
|
+
import './NavFooter-c29526b7.js';
|
|
50
|
+
import './SocialNavFooter-1a531144.js';
|
|
51
51
|
import MagazineNav from './NavMagazine.js';
|
|
52
52
|
import './SocialIcons.js';
|
|
53
53
|
import { NavNative } from './NavNative.js';
|
|
@@ -93,15 +93,15 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
93
93
|
var navigation = function navigation() {
|
|
94
94
|
switch (config.navComponent) {
|
|
95
95
|
case 'normal':
|
|
96
|
-
return
|
|
96
|
+
return React.createElement(NavNormal, { logo: website.logo, dataObject: config.navItems });
|
|
97
97
|
case 'magazine':
|
|
98
|
-
return
|
|
98
|
+
return React.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
99
99
|
case 'native':
|
|
100
|
-
return
|
|
100
|
+
return React.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
101
101
|
case 'dvm':
|
|
102
|
-
return
|
|
102
|
+
return React.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
103
103
|
case 'hamburgerNav':
|
|
104
|
-
return
|
|
104
|
+
return React.createElement(HamMagazine, {
|
|
105
105
|
socialFooterNav: true,
|
|
106
106
|
logo: website.logo,
|
|
107
107
|
dataObject: config.navItems,
|
|
@@ -111,7 +111,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
111
111
|
showLogin: website.showLogin
|
|
112
112
|
});
|
|
113
113
|
default:
|
|
114
|
-
return
|
|
114
|
+
return React.createElement('noNav', null);
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
|
|
@@ -128,19 +128,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
128
128
|
function layout() {
|
|
129
129
|
switch (config.columns) {
|
|
130
130
|
case '1':
|
|
131
|
-
return
|
|
131
|
+
return React.createElement(
|
|
132
132
|
Column1,
|
|
133
133
|
{ title: title },
|
|
134
134
|
props.children
|
|
135
135
|
);
|
|
136
136
|
case '2':
|
|
137
|
-
return
|
|
137
|
+
return React.createElement(
|
|
138
138
|
Column2,
|
|
139
139
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
140
140
|
props.children
|
|
141
141
|
);
|
|
142
142
|
case '3':
|
|
143
|
-
return
|
|
143
|
+
return React.createElement(
|
|
144
144
|
Column3,
|
|
145
145
|
{
|
|
146
146
|
title: title,
|
|
@@ -156,35 +156,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
156
156
|
props.children
|
|
157
157
|
);
|
|
158
158
|
default:
|
|
159
|
-
return
|
|
159
|
+
return React.createElement('noLayout', null);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
return
|
|
163
|
+
return React.createElement(
|
|
164
164
|
'section',
|
|
165
165
|
null,
|
|
166
|
-
noTitle ?
|
|
166
|
+
noTitle ? React.createElement(Header, {
|
|
167
167
|
isLiveSite: config.isLiveSite,
|
|
168
168
|
keyword: keywords,
|
|
169
169
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
170
|
-
}) :
|
|
170
|
+
}) : React.createElement(Header, {
|
|
171
171
|
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 + ' ' : ''),
|
|
172
172
|
isLiveSite: config.isLiveSite,
|
|
173
173
|
keyword: keywords,
|
|
174
174
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
175
175
|
}),
|
|
176
176
|
navigation(),
|
|
177
|
-
sponsoredFlag ?
|
|
178
|
-
|
|
177
|
+
sponsoredFlag ? React.createElement('div', { style: { height: '50px' } }) : React.createElement(
|
|
178
|
+
React.Fragment,
|
|
179
179
|
null,
|
|
180
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
180
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React.createElement(
|
|
181
181
|
Container,
|
|
182
182
|
null,
|
|
183
|
-
|
|
183
|
+
React.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
184
184
|
)
|
|
185
185
|
),
|
|
186
|
-
website.gutterAd && !sponsoredFlag &&
|
|
187
|
-
|
|
186
|
+
website.gutterAd && !sponsoredFlag && React.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
187
|
+
React.createElement(
|
|
188
188
|
Container,
|
|
189
189
|
null,
|
|
190
190
|
layout()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import 'prop-types';
|
|
4
4
|
import 'react-dom';
|
|
5
|
-
import { i as imageUrlBuilder } from './index-
|
|
6
|
-
import { L as LazyLoad } from './index-
|
|
5
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
6
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
7
7
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
8
8
|
import Media from 'react-bootstrap/Media';
|
|
9
9
|
|
|
@@ -19,27 +19,27 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
19
19
|
return builder.image(source).auto('format');
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
return
|
|
22
|
+
return React.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
null,
|
|
25
25
|
mediaData && mediaData.map(function (item, index) {
|
|
26
|
-
return
|
|
26
|
+
return React.createElement(
|
|
27
27
|
Media,
|
|
28
28
|
{ className: 'mb-3 thumbnail-card' },
|
|
29
|
-
|
|
29
|
+
React.createElement(
|
|
30
30
|
LazyLoad,
|
|
31
31
|
{ height: size },
|
|
32
|
-
|
|
32
|
+
React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor(item.thumbnail).url() : defaultImage, alt: 'Generic placeholder' })
|
|
33
33
|
),
|
|
34
|
-
|
|
34
|
+
React.createElement(
|
|
35
35
|
Media.Body,
|
|
36
36
|
null,
|
|
37
|
-
|
|
37
|
+
React.createElement(
|
|
38
38
|
'h5',
|
|
39
39
|
null,
|
|
40
40
|
item.title
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
'p',
|
|
44
44
|
null,
|
|
45
45
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,12 +2,12 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
6
|
-
import { m as
|
|
5
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
6
|
+
import { m as main_40 } from './main-b722e2e2.js';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
8
8
|
import './iconBase-602d52fe.js';
|
|
9
|
-
import { d as IoIosOpen } from './index.esm-
|
|
10
|
-
import { F as FaRegWindowClose } from './index.esm-
|
|
9
|
+
import { d as IoIosOpen } from './index.esm-116f3274.js';
|
|
10
|
+
import { F as FaRegWindowClose } from './index.esm-16e9450c.js';
|
|
11
11
|
|
|
12
12
|
var Ustream = function Ustream(_ref) {
|
|
13
13
|
var _ref$width = _ref.width,
|
|
@@ -64,36 +64,36 @@ var Ustream = function Ustream(_ref) {
|
|
|
64
64
|
} catch (err) {}
|
|
65
65
|
}, []);
|
|
66
66
|
//return nothing if mobile
|
|
67
|
-
if (
|
|
67
|
+
if (main_40) {
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
70
|
-
return
|
|
70
|
+
return React.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'div',
|
|
75
75
|
{ style: { position: 'relative' } },
|
|
76
|
-
close ?
|
|
76
|
+
close ? React.createElement(
|
|
77
77
|
'div',
|
|
78
78
|
{ className: 'ustream-close' },
|
|
79
|
-
|
|
80
|
-
) :
|
|
81
|
-
|
|
79
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
80
|
+
) : React.createElement(
|
|
81
|
+
React.Fragment,
|
|
82
82
|
null,
|
|
83
|
-
|
|
83
|
+
React.createElement(
|
|
84
84
|
'div',
|
|
85
85
|
{ className: 'ustream-minimize' },
|
|
86
|
-
|
|
86
|
+
React.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
87
87
|
),
|
|
88
|
-
|
|
88
|
+
React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ className: 'ustream-close' },
|
|
91
|
-
|
|
91
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
92
92
|
)
|
|
93
93
|
),
|
|
94
|
-
|
|
94
|
+
React.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
95
95
|
),
|
|
96
|
-
|
|
96
|
+
React.createElement(
|
|
97
97
|
'style',
|
|
98
98
|
{ jsx: 'true' },
|
|
99
99
|
'\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 '
|
|
@@ -101,6 +101,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
101
101
|
);
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
var Ustream$1 =
|
|
104
|
+
var Ustream$1 = React.memo(Ustream);
|
|
105
105
|
|
|
106
106
|
export default Ustream$1;
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './moment-b6f49411.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
|
|
6
6
|
var VerticalHero = function VerticalHero(props) {
|
|
7
7
|
var client = props.client;
|
|
@@ -14,16 +14,16 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
14
14
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
return
|
|
17
|
+
return React.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ className: 'vertical-hero-container' },
|
|
20
|
-
|
|
20
|
+
React.createElement(
|
|
21
21
|
'div',
|
|
22
22
|
{ className: 'vertical-hero-inner' },
|
|
23
|
-
|
|
23
|
+
React.createElement(
|
|
24
24
|
'div',
|
|
25
25
|
{ className: 'hero-title' },
|
|
26
|
-
|
|
26
|
+
React.createElement(
|
|
27
27
|
'h2',
|
|
28
28
|
null,
|
|
29
29
|
heroTitle
|
|
@@ -38,19 +38,19 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
38
38
|
} else if (props.thumbnail) {
|
|
39
39
|
articleThumbnail = props.thumbnail;
|
|
40
40
|
}
|
|
41
|
-
return index === 0 ?
|
|
41
|
+
return index === 0 ? React.createElement(
|
|
42
42
|
'a',
|
|
43
43
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
React.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
45
|
+
React.createElement(
|
|
46
46
|
'h2',
|
|
47
47
|
null,
|
|
48
48
|
article.title
|
|
49
49
|
)
|
|
50
|
-
) :
|
|
50
|
+
) : React.createElement(
|
|
51
51
|
'a',
|
|
52
52
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
53
|
-
|
|
53
|
+
React.createElement(
|
|
54
54
|
'h2',
|
|
55
55
|
null,
|
|
56
56
|
article.title
|
|
@@ -58,7 +58,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
58
58
|
);
|
|
59
59
|
})
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'style',
|
|
63
63
|
{ jsx: 'true' },
|
|
64
64
|
'\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
|
|
@@ -4,8 +4,8 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
|
-
import
|
|
8
|
-
import { m as moment } from './moment-
|
|
7
|
+
import React, { useState, useEffect } from 'react';
|
|
8
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
11
11
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-0379e924.js';
|
|
@@ -94,13 +94,13 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
}, [filter]);
|
|
97
|
-
return
|
|
98
|
-
|
|
97
|
+
return React.createElement(
|
|
98
|
+
React.Fragment,
|
|
99
99
|
null,
|
|
100
|
-
|
|
100
|
+
React.createElement(
|
|
101
101
|
DropdownButton,
|
|
102
102
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
103
|
-
|
|
103
|
+
React.createElement(
|
|
104
104
|
Dropdown.Item,
|
|
105
105
|
{ key: 'all', onClick: function onClick() {
|
|
106
106
|
return setFilter({ name: 'All Topics', id: '' });
|
|
@@ -109,7 +109,7 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
109
109
|
),
|
|
110
110
|
filterData && filterData.map(function (filterItem) {
|
|
111
111
|
if (filterItem.identifier !== exclude) {
|
|
112
|
-
return
|
|
112
|
+
return React.createElement(
|
|
113
113
|
Dropdown.Item,
|
|
114
114
|
{ key: filterItem._id, onClick: function onClick() {
|
|
115
115
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|