@mjhls/mjh-framework 1.0.877 → 1.0.878
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 +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +14098 -17
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +6 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +5 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +12 -11
- package/dist/cjs/DeckQueue.js +3 -2
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
- package/dist/cjs/EventsDeck.js +26 -20
- package/dist/cjs/ExternalResources.js +6 -5
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +5 -4
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +6 -5
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +37 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +13 -12
- package/dist/cjs/MediaSeriesLanding.js +306 -406
- 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 +8 -7
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +5 -4
- 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 +4 -3
- package/dist/cjs/{SeriesSlider-f9128638.js → SeriesSlider-ce3261cb.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +6 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +6 -5
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +5 -4
- package/dist/cjs/VideoSeriesListing.js +5 -4
- package/dist/cjs/View.js +10 -9
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +6 -5
- package/dist/cjs/{getTargeting-6d59cc5b.js → getTargeting-9d509319.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-2a2528f6.js → index-e2ec2eae.js} +3 -3
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +15 -14
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-c7b8f6be.js → ADInfeed-014c7bd1.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-1aea5403.js → ADlgInfeed-75e097f4.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +5 -4
- package/dist/esm/AlgoliaSearch.js +14121 -40
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +18 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +32 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-46a745ba.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +58 -57
- package/dist/esm/DeckQueue.js +43 -42
- package/dist/esm/{Dfp-4b99f79d.js → Dfp-4ca12f2e.js} +11 -10
- package/dist/esm/EventsDeck.js +89 -83
- package/dist/esm/ExternalResources.js +36 -35
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +125 -124
- 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 +32 -31
- 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 +52 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +47 -46
- package/dist/esm/MediaSeriesLanding.js +332 -432
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +67 -66
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +15 -14
- 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 +247 -246
- 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 +20 -19
- package/dist/esm/{SeriesSlider-98b7a870.js → SeriesSlider-7a6c45ce.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-9458fac6.js → SocialSearchComponent-bdecba55.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +14 -13
- package/dist/esm/TemplateNormal.js +30 -29
- 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 +25 -24
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +13 -12
- package/dist/esm/VideoSeriesListing.js +48 -47
- package/dist/esm/View.js +174 -173
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +9 -8
- package/dist/esm/{getTargeting-3792eba9.js → getTargeting-ff2c9409.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-1d312e35.js → index-f2783f14.js} +419 -419
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +40 -39
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +111 -111
- /package/dist/cjs/{ADInfeed-3c44e465.js → ADInfeed-f7e6956b.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0c03dac2.js → ADlgInfeed-4df6d147.js} +0 -0
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
5
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-2446af28.js';
|
|
5
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './web.dom.iterable-fdf034f5.js';
|
|
9
9
|
import './core.get-iterator-method-e903ff31.js';
|
|
10
|
+
import './events-6c3a7a63.js';
|
|
10
11
|
import 'react-dom';
|
|
11
12
|
import './isSymbol-a7e9aafe.js';
|
|
12
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -40,20 +41,20 @@ var AD = function AD(_ref) {
|
|
|
40
41
|
}
|
|
41
42
|
}, 500);
|
|
42
43
|
|
|
43
|
-
return
|
|
44
|
-
|
|
44
|
+
return React.createElement(
|
|
45
|
+
React.Fragment,
|
|
45
46
|
null,
|
|
46
|
-
!showPlaceholder &&
|
|
47
|
+
!showPlaceholder && React.createElement(
|
|
47
48
|
lib_1,
|
|
48
49
|
{
|
|
49
50
|
dfpNetworkId: networkID,
|
|
50
51
|
targetingArguments: targeting,
|
|
51
52
|
sizeMapping: sizeMapping,
|
|
52
53
|
lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
|
|
53
|
-
|
|
54
|
+
React.createElement(
|
|
54
55
|
'div',
|
|
55
56
|
{ className: className },
|
|
56
|
-
|
|
57
|
+
React.createElement(lib_2, {
|
|
57
58
|
slotId: slotId,
|
|
58
59
|
sizes: sizes,
|
|
59
60
|
adUnit: adUnit,
|
|
@@ -65,7 +66,7 @@ var AD = function AD(_ref) {
|
|
|
65
66
|
})
|
|
66
67
|
)
|
|
67
68
|
),
|
|
68
|
-
adRendered && showPlaceholder &&
|
|
69
|
+
adRendered && showPlaceholder && React.createElement(
|
|
69
70
|
VisibilitySensor,
|
|
70
71
|
{
|
|
71
72
|
partialVisibility: true,
|
|
@@ -74,7 +75,7 @@ var AD = function AD(_ref) {
|
|
|
74
75
|
setShowPlaceholder(false);
|
|
75
76
|
}
|
|
76
77
|
} },
|
|
77
|
-
|
|
78
|
+
React.createElement(
|
|
78
79
|
'div',
|
|
79
80
|
{ style: { height: 'auto' } },
|
|
80
81
|
'\xA0'
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -6,8 +6,8 @@ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d
|
|
|
6
6
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
7
7
|
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
8
8
|
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
9
|
-
import
|
|
10
|
-
import { I as InfiniteScroll } from './index.es-
|
|
9
|
+
import React, { useState, useEffect } from 'react';
|
|
10
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
11
11
|
import Container from 'react-bootstrap/Container';
|
|
12
12
|
import Spinner from 'react-bootstrap/Spinner';
|
|
13
13
|
import Row from 'react-bootstrap/Row';
|
|
@@ -15,7 +15,7 @@ import Col from 'react-bootstrap/Col';
|
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
16
|
import Form from 'react-bootstrap/Form';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './main-
|
|
18
|
+
import './main-4136096f.js';
|
|
19
19
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
@@ -243,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
243
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
244
244
|
setAccessToken(cventAccessToken);
|
|
245
245
|
} else {
|
|
246
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
fetch(url, {
|
|
250
|
-
headers: {
|
|
251
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
-
Authorization: `Basic ${encodedData}`
|
|
253
|
-
},
|
|
254
|
-
method: 'POST',
|
|
255
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
-
})
|
|
257
|
-
.then((response) => response.json())
|
|
258
|
-
.then((json) => {
|
|
259
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
-
setAccessToken(json.access_token)
|
|
262
|
-
})
|
|
246
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
247
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
248
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
fetch(url, {
|
|
250
|
+
headers: {
|
|
251
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
252
|
+
Authorization: `Basic ${encodedData}`
|
|
253
|
+
},
|
|
254
|
+
method: 'POST',
|
|
255
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
256
|
+
})
|
|
257
|
+
.then((response) => response.json())
|
|
258
|
+
.then((json) => {
|
|
259
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
260
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
261
|
+
setAccessToken(json.access_token)
|
|
262
|
+
})
|
|
263
263
|
.catch((e) => console.log(e))*/
|
|
264
264
|
// hello
|
|
265
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -287,10 +287,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
287
287
|
}, []);
|
|
288
288
|
|
|
289
289
|
var renderRegisterButton = function renderRegisterButton(links) {
|
|
290
|
-
|
|
290
|
+
var newLink = void 0;
|
|
291
|
+
var checkProtocol = links && links.summary && links.summary.href.includes('https');
|
|
292
|
+
if (!checkProtocol) newLink = links.summary.href.replace('http', 'https');
|
|
293
|
+
return React.createElement(
|
|
291
294
|
'a',
|
|
292
|
-
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
293
|
-
|
|
295
|
+
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
296
|
+
React.createElement(
|
|
294
297
|
Button,
|
|
295
298
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
296
299
|
cta
|
|
@@ -298,10 +301,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
298
301
|
);
|
|
299
302
|
};
|
|
300
303
|
var renderLearnMoreButton = function renderLearnMoreButton(links) {
|
|
301
|
-
|
|
304
|
+
var newLink = void 0;
|
|
305
|
+
var checkProtocol = links && links.summary && links.summary.href.includes('https');
|
|
306
|
+
if (!checkProtocol) newLink = links.summary.href.replace('http', 'https');
|
|
307
|
+
return React.createElement(
|
|
302
308
|
'a',
|
|
303
|
-
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
304
|
-
|
|
309
|
+
{ rel: 'noopener', href: newLink ? newLink : links.summary.href || '#', target: '_blank' },
|
|
310
|
+
React.createElement(
|
|
305
311
|
Button,
|
|
306
312
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
307
313
|
'Learn More'
|
|
@@ -375,15 +381,15 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
375
381
|
}
|
|
376
382
|
}
|
|
377
383
|
|
|
378
|
-
return valuesArray.length > 0 ?
|
|
379
|
-
|
|
384
|
+
return valuesArray.length > 0 ? React.createElement(
|
|
385
|
+
React.Fragment,
|
|
380
386
|
null,
|
|
381
|
-
|
|
387
|
+
React.createElement(
|
|
382
388
|
'h5',
|
|
383
389
|
{ className: 'filterTitle' },
|
|
384
390
|
'Filters:'
|
|
385
391
|
),
|
|
386
|
-
|
|
392
|
+
React.createElement(
|
|
387
393
|
Form,
|
|
388
394
|
null,
|
|
389
395
|
_Object$entries(deckAdvancedFilters).map(function (_ref8, index) {
|
|
@@ -391,36 +397,36 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
391
397
|
key = _ref9[0],
|
|
392
398
|
value = _ref9[1];
|
|
393
399
|
|
|
394
|
-
return
|
|
400
|
+
return React.createElement(
|
|
395
401
|
Form.Group,
|
|
396
402
|
null,
|
|
397
|
-
|
|
403
|
+
React.createElement(
|
|
398
404
|
Form.Label,
|
|
399
405
|
null,
|
|
400
406
|
key
|
|
401
407
|
),
|
|
402
|
-
|
|
408
|
+
React.createElement(
|
|
403
409
|
Form.Control,
|
|
404
410
|
{ as: 'select', 'data-filterName': key, onChange: function onChange(evt) {
|
|
405
411
|
return handleFilterSelected(evt);
|
|
406
412
|
} },
|
|
407
|
-
|
|
408
|
-
|
|
413
|
+
React.createElement(
|
|
414
|
+
React.Fragment,
|
|
409
415
|
null,
|
|
410
|
-
|
|
416
|
+
React.createElement(
|
|
411
417
|
'option',
|
|
412
418
|
null,
|
|
413
419
|
' '
|
|
414
420
|
),
|
|
415
421
|
valuesArray[index].map(function (text, index) {
|
|
416
422
|
if (value.value.toLowerCase() === text.toLowerCase()) {
|
|
417
|
-
return
|
|
423
|
+
return React.createElement(
|
|
418
424
|
'option',
|
|
419
425
|
{ selected: true },
|
|
420
426
|
text
|
|
421
427
|
);
|
|
422
428
|
}
|
|
423
|
-
return
|
|
429
|
+
return React.createElement(
|
|
424
430
|
'option',
|
|
425
431
|
null,
|
|
426
432
|
text
|
|
@@ -431,7 +437,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
431
437
|
);
|
|
432
438
|
})
|
|
433
439
|
),
|
|
434
|
-
|
|
440
|
+
React.createElement(
|
|
435
441
|
'style',
|
|
436
442
|
{ jsx: true },
|
|
437
443
|
'\n .filterTitle {\n font-weight: 400;\n }\n '
|
|
@@ -590,10 +596,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
590
596
|
var filteredData = localData;
|
|
591
597
|
|
|
592
598
|
if (filteredData.length <= 0) {
|
|
593
|
-
return
|
|
599
|
+
return React.createElement(
|
|
594
600
|
'div',
|
|
595
601
|
null,
|
|
596
|
-
|
|
602
|
+
React.createElement(
|
|
597
603
|
'div',
|
|
598
604
|
null,
|
|
599
605
|
'No events found '
|
|
@@ -601,7 +607,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
601
607
|
);
|
|
602
608
|
}
|
|
603
609
|
|
|
604
|
-
return
|
|
610
|
+
return React.createElement(
|
|
605
611
|
Container,
|
|
606
612
|
{ style: { padding: 1 } },
|
|
607
613
|
filteredData && filteredData.map(function (row, index) {
|
|
@@ -642,58 +648,58 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
642
648
|
var endDay = momentTimezone(end).tz(timezone).format();
|
|
643
649
|
var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
|
|
644
650
|
var isCompleted = row.status === 'Completed';
|
|
645
|
-
return
|
|
646
|
-
|
|
651
|
+
return React.createElement(
|
|
652
|
+
React.Fragment,
|
|
647
653
|
{ key: index },
|
|
648
|
-
|
|
654
|
+
React.createElement(
|
|
649
655
|
Card,
|
|
650
656
|
null,
|
|
651
|
-
isHardcoded ? _links &&
|
|
657
|
+
isHardcoded ? _links && React.createElement(
|
|
652
658
|
Row,
|
|
653
659
|
null,
|
|
654
|
-
|
|
660
|
+
React.createElement(
|
|
655
661
|
Col,
|
|
656
662
|
null,
|
|
657
663
|
renderLearnMoreButton(_links)
|
|
658
664
|
)
|
|
659
|
-
) : isRegister && _links &&
|
|
665
|
+
) : isRegister && _links && React.createElement(
|
|
660
666
|
Row,
|
|
661
667
|
null,
|
|
662
|
-
|
|
668
|
+
React.createElement(
|
|
663
669
|
Col,
|
|
664
670
|
null,
|
|
665
671
|
renderRegisterButton(_links)
|
|
666
672
|
)
|
|
667
673
|
),
|
|
668
|
-
isCompleted && _links &&
|
|
674
|
+
isCompleted && _links && React.createElement(
|
|
669
675
|
Row,
|
|
670
676
|
null,
|
|
671
|
-
|
|
677
|
+
React.createElement(
|
|
672
678
|
Col,
|
|
673
679
|
null,
|
|
674
680
|
renderLearnMoreButton(_links)
|
|
675
681
|
)
|
|
676
682
|
),
|
|
677
|
-
discussionTopic &&
|
|
683
|
+
discussionTopic && React.createElement(
|
|
678
684
|
Row,
|
|
679
685
|
null,
|
|
680
|
-
|
|
686
|
+
React.createElement(
|
|
681
687
|
Col,
|
|
682
688
|
null,
|
|
683
|
-
|
|
689
|
+
React.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
684
690
|
)
|
|
685
691
|
),
|
|
686
|
-
start && timezone &&
|
|
692
|
+
start && timezone && React.createElement(
|
|
687
693
|
Row,
|
|
688
694
|
null,
|
|
689
|
-
|
|
695
|
+
React.createElement(
|
|
690
696
|
Col,
|
|
691
697
|
null,
|
|
692
|
-
start.indexOf('TBD') >= 0 ?
|
|
698
|
+
start.indexOf('TBD') >= 0 ? React.createElement(
|
|
693
699
|
'p',
|
|
694
700
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
695
701
|
start
|
|
696
|
-
) :
|
|
702
|
+
) : React.createElement(
|
|
697
703
|
'p',
|
|
698
704
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
699
705
|
start.indexOf('T') >= 0 ? momentTimezone(start).tz(timezone).format('LLL zz') : momentTimezone(start).format('LL'),
|
|
@@ -701,47 +707,47 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
701
707
|
)
|
|
702
708
|
)
|
|
703
709
|
),
|
|
704
|
-
eventRegion &&
|
|
710
|
+
eventRegion && React.createElement(
|
|
705
711
|
Row,
|
|
706
712
|
null,
|
|
707
|
-
|
|
713
|
+
React.createElement(
|
|
708
714
|
Col,
|
|
709
715
|
null,
|
|
710
|
-
|
|
716
|
+
React.createElement(
|
|
711
717
|
'p',
|
|
712
718
|
{ className: 'event-region', style: { padding: 0, margin: 0 } },
|
|
713
719
|
eventRegion
|
|
714
720
|
)
|
|
715
721
|
)
|
|
716
722
|
),
|
|
717
|
-
venues && venues.length && venues[0].name &&
|
|
723
|
+
venues && venues.length && venues[0].name && React.createElement(
|
|
718
724
|
Row,
|
|
719
725
|
null,
|
|
720
|
-
|
|
726
|
+
React.createElement(
|
|
721
727
|
Col,
|
|
722
728
|
null,
|
|
723
|
-
|
|
729
|
+
React.createElement(
|
|
724
730
|
'p',
|
|
725
731
|
{ className: 'venue', style: { padding: 0, margin: 0 } },
|
|
726
732
|
venues[0].name
|
|
727
733
|
)
|
|
728
734
|
)
|
|
729
735
|
),
|
|
730
|
-
speakerInfo && speakerInfo.length > 0 &&
|
|
736
|
+
speakerInfo && speakerInfo.length > 0 && React.createElement(
|
|
731
737
|
Row,
|
|
732
738
|
null,
|
|
733
|
-
|
|
739
|
+
React.createElement(
|
|
734
740
|
Col,
|
|
735
741
|
null,
|
|
736
|
-
|
|
742
|
+
React.createElement(
|
|
737
743
|
'div',
|
|
738
744
|
{ className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
|
|
739
745
|
speakerInfo.map(function (info, index) {
|
|
740
|
-
return
|
|
746
|
+
return React.createElement(
|
|
741
747
|
'p',
|
|
742
748
|
{ key: index, style: { marginBottom: '0' } },
|
|
743
749
|
info.value.map(function (speaker, index) {
|
|
744
|
-
return
|
|
750
|
+
return React.createElement(
|
|
745
751
|
'b',
|
|
746
752
|
{ key: index, className: 'kol-speaker' },
|
|
747
753
|
speaker,
|
|
@@ -754,14 +760,14 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
754
760
|
)
|
|
755
761
|
)
|
|
756
762
|
),
|
|
757
|
-
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
763
|
+
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
758
764
|
'div',
|
|
759
765
|
{ style: { margin: '0 auto' } },
|
|
760
766
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
761
767
|
)
|
|
762
768
|
);
|
|
763
769
|
}),
|
|
764
|
-
|
|
770
|
+
React.createElement(
|
|
765
771
|
'style',
|
|
766
772
|
{ jsx: 'true' },
|
|
767
773
|
'\n .card {\n -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n box-shadow: 0 0 4px rgba(0, 0, 0, 0.45);\n border-radius: 8px;\n padding: 12px;\n }\n .row {\n margin-bottom: 8px;\n }\n '
|
|
@@ -771,7 +777,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
771
777
|
|
|
772
778
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
773
779
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
774
|
-
return
|
|
780
|
+
return React.createElement(
|
|
775
781
|
Col,
|
|
776
782
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
777
783
|
rightItems[i].component
|
|
@@ -779,13 +785,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
779
785
|
};
|
|
780
786
|
|
|
781
787
|
if (isLoading) {
|
|
782
|
-
return
|
|
788
|
+
return React.createElement(
|
|
783
789
|
'div',
|
|
784
790
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
785
|
-
|
|
791
|
+
React.createElement(
|
|
786
792
|
Spinner,
|
|
787
793
|
{ animation: 'border', role: 'status' },
|
|
788
|
-
|
|
794
|
+
React.createElement(
|
|
789
795
|
'span',
|
|
790
796
|
{ className: 'sr-only' },
|
|
791
797
|
'Loading...'
|
|
@@ -795,34 +801,34 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
795
801
|
}
|
|
796
802
|
|
|
797
803
|
if (data.length > 0) {
|
|
798
|
-
return
|
|
799
|
-
|
|
804
|
+
return React.createElement(
|
|
805
|
+
React.Fragment,
|
|
800
806
|
null,
|
|
801
|
-
data && advancedFilters &&
|
|
807
|
+
data && advancedFilters && React.createElement(
|
|
802
808
|
'div',
|
|
803
809
|
{ className: 'advancedFilters ' + (showFilters ? 'show' : 'hide') },
|
|
804
810
|
grabAdvancedFilters()
|
|
805
811
|
),
|
|
806
|
-
|
|
812
|
+
React.createElement(
|
|
807
813
|
'div',
|
|
808
814
|
{ className: 'cvent-events' },
|
|
809
|
-
|
|
815
|
+
React.createElement(
|
|
810
816
|
InfiniteScroll,
|
|
811
817
|
{ dataLength: data.length, next: loadMore, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
812
818
|
eventCards
|
|
813
819
|
)
|
|
814
820
|
),
|
|
815
|
-
|
|
821
|
+
React.createElement(
|
|
816
822
|
'style',
|
|
817
823
|
{ jsx: true },
|
|
818
824
|
'\n .advancedFilters {\n overflow: hidden;\n border-radius: 5px;\n padding: 1rem;\n margin-bottom: 1rem;\n box-shadow: #00000075 0 0 5px 2px;\n }\n .form-label {\n margin-bottom: 0;\n }\n .hide {\n opacity: 0;\n height: 0;\n display: none;\n }\n .show {\n opacity: 1;\n min-height: 50px;\n height: auto;\n display: block;\n }\n '
|
|
819
825
|
)
|
|
820
826
|
);
|
|
821
827
|
} else {
|
|
822
|
-
return
|
|
828
|
+
return React.createElement(
|
|
823
829
|
'div',
|
|
824
830
|
null,
|
|
825
|
-
|
|
831
|
+
React.createElement(
|
|
826
832
|
'div',
|
|
827
833
|
null,
|
|
828
834
|
'No events found '
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
-
import
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
|
+
import { g as getSerializers } from './index-f2783f14.js';
|
|
6
6
|
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -14,7 +14,8 @@ import 'prop-types';
|
|
|
14
14
|
import './index-0dbff1d1.js';
|
|
15
15
|
import 'react-bootstrap';
|
|
16
16
|
import './urlFor.js';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-2446af28.js';
|
|
18
|
+
import './events-6c3a7a63.js';
|
|
18
19
|
import './index-c7e2ac95.js';
|
|
19
20
|
import './util-3ab476bf.js';
|
|
20
21
|
import './Beam.js';
|
|
@@ -23,12 +24,12 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
23
24
|
import './_library-528f1934.js';
|
|
24
25
|
import './_iter-detect-f089461c.js';
|
|
25
26
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
27
|
-
import './index-
|
|
27
|
+
import './main-4136096f.js';
|
|
28
|
+
import './index-35bdcc81.js';
|
|
28
29
|
import 'react-dom';
|
|
29
30
|
import './typeof-83d9eb10.js';
|
|
30
31
|
import './_is-array-893ab020.js';
|
|
31
|
-
import './brightcove-react-player-loader.es-
|
|
32
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
32
33
|
import './GroupDeck.js';
|
|
33
34
|
import './smoothscroll-fa4e3f8c.js';
|
|
34
35
|
import './moment-bc12cb97.js';
|
|
@@ -48,8 +49,8 @@ import 'react-bootstrap/Col';
|
|
|
48
49
|
import './inherits-8a801a18.js';
|
|
49
50
|
import './_object-sap-169d6272.js';
|
|
50
51
|
import './define-property-99e66838.js';
|
|
51
|
-
import './index.esm-
|
|
52
|
-
import './iconBase-
|
|
52
|
+
import './index.esm-3fdda599.js';
|
|
53
|
+
import './iconBase-602d52fe.js';
|
|
53
54
|
import 'react-bootstrap/Figure';
|
|
54
55
|
import 'react-bootstrap/OverlayTrigger';
|
|
55
56
|
import 'react-bootstrap/Tooltip';
|
|
@@ -83,13 +84,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
83
84
|
useEffect(function () {
|
|
84
85
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
85
86
|
}, [active]);
|
|
86
|
-
return
|
|
87
|
+
return React.createElement(
|
|
87
88
|
'div',
|
|
88
89
|
{ id: 'resources' },
|
|
89
|
-
showToggles &&
|
|
90
|
+
showToggles && React.createElement(
|
|
90
91
|
'div',
|
|
91
92
|
{ id: 'toggles' },
|
|
92
|
-
|
|
93
|
+
React.createElement(
|
|
93
94
|
'div',
|
|
94
95
|
{ onClick: function onClick() {
|
|
95
96
|
return setActive(function () {
|
|
@@ -98,7 +99,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
98
99
|
}, className: active === 'recent' ? 'active' : '' },
|
|
99
100
|
recentTitle
|
|
100
101
|
),
|
|
101
|
-
|
|
102
|
+
React.createElement(
|
|
102
103
|
'div',
|
|
103
104
|
{ onClick: function onClick() {
|
|
104
105
|
return setActive(function () {
|
|
@@ -109,43 +110,43 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
109
110
|
)
|
|
110
111
|
),
|
|
111
112
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
112
|
-
return
|
|
113
|
+
return React.createElement(
|
|
113
114
|
'div',
|
|
114
115
|
{ key: r._id, className: 'resource' },
|
|
115
|
-
dispalyThumb &&
|
|
116
|
+
dispalyThumb && React.createElement(
|
|
116
117
|
'div',
|
|
117
118
|
{ id: 'thumb' },
|
|
118
|
-
|
|
119
|
+
React.createElement(
|
|
119
120
|
'a',
|
|
120
121
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
121
|
-
|
|
122
|
+
React.createElement('img', { src: r.thumbnail })
|
|
122
123
|
)
|
|
123
124
|
),
|
|
124
|
-
|
|
125
|
+
React.createElement(
|
|
125
126
|
'div',
|
|
126
127
|
{ id: 'details' },
|
|
127
|
-
|
|
128
|
+
React.createElement(
|
|
128
129
|
'a',
|
|
129
130
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
130
|
-
|
|
131
|
+
React.createElement(
|
|
131
132
|
'p',
|
|
132
133
|
{ id: 'title' },
|
|
133
134
|
r.title
|
|
134
135
|
),
|
|
135
|
-
r.intro &&
|
|
136
|
+
r.intro && React.createElement(
|
|
136
137
|
'div',
|
|
137
138
|
{ id: 'intro' },
|
|
138
|
-
|
|
139
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
139
140
|
),
|
|
140
|
-
|
|
141
|
+
React.createElement(
|
|
141
142
|
'div',
|
|
142
143
|
{ id: 'date' },
|
|
143
|
-
|
|
144
|
+
React.createElement(
|
|
144
145
|
'p',
|
|
145
146
|
{ style: { fontWeight: 'bold' } },
|
|
146
147
|
'Date:'
|
|
147
148
|
),
|
|
148
|
-
|
|
149
|
+
React.createElement(
|
|
149
150
|
'p',
|
|
150
151
|
null,
|
|
151
152
|
momentTimezone.tz(r.displayDate, 'America/New_York').format(dateFormat),
|
|
@@ -153,30 +154,30 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
153
154
|
r.endDate && '- ' + momentTimezone.tz(r.endDate, 'America/New_York').format(dateFormat)
|
|
154
155
|
)
|
|
155
156
|
),
|
|
156
|
-
r.speakers &&
|
|
157
|
+
r.speakers && React.createElement(
|
|
157
158
|
'div',
|
|
158
159
|
{ id: 'speakers' },
|
|
159
|
-
|
|
160
|
+
React.createElement(
|
|
160
161
|
'p',
|
|
161
162
|
{ style: { fontWeight: 'bold' } },
|
|
162
163
|
'Speakers:'
|
|
163
164
|
),
|
|
164
|
-
|
|
165
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
165
166
|
),
|
|
166
|
-
r.location &&
|
|
167
|
+
r.location && React.createElement(
|
|
167
168
|
'div',
|
|
168
169
|
{ id: 'location' },
|
|
169
|
-
|
|
170
|
+
React.createElement(
|
|
170
171
|
'p',
|
|
171
172
|
{ style: { fontWeight: 'bold' } },
|
|
172
173
|
'Location:'
|
|
173
174
|
),
|
|
174
175
|
r.location
|
|
175
176
|
),
|
|
176
|
-
r.sponsor &&
|
|
177
|
+
r.sponsor && React.createElement(
|
|
177
178
|
'div',
|
|
178
179
|
{ id: 'sponsor' },
|
|
179
|
-
|
|
180
|
+
React.createElement(
|
|
180
181
|
'p',
|
|
181
182
|
{ style: { fontWeight: 'bold' } },
|
|
182
183
|
'Sponsors:'
|
|
@@ -184,19 +185,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
184
185
|
r.sponsor
|
|
185
186
|
)
|
|
186
187
|
),
|
|
187
|
-
|
|
188
|
+
React.createElement(
|
|
188
189
|
Button,
|
|
189
190
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
190
191
|
cta
|
|
191
192
|
)
|
|
192
193
|
)
|
|
193
194
|
);
|
|
194
|
-
}) :
|
|
195
|
+
}) : React.createElement(
|
|
195
196
|
'p',
|
|
196
197
|
null,
|
|
197
198
|
'No content available.'
|
|
198
199
|
),
|
|
199
|
-
|
|
200
|
+
React.createElement(
|
|
200
201
|
'style',
|
|
201
202
|
{ jsx: true },
|
|
202
203
|
'\n .resource {\n display: flex;\n position: relative;\n margin: 0 0 1rem 0;\n }\n .resource #thumb {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 25%;\n }\n .resource #thumb img {\n width: 100%;\n }\n .resource #details {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 75%;\n }\n #resources .resource p {\n margin: 0;\n }\n #toggles {\n display: flex;\n margin: 0 0 1rem 0;\n }\n #toggles > div {\n padding: 0.5rem;\n cursor: pointer;\n }\n #toggles > div:hover {\n font-weight: bold;\n border-bottom: 2px solid #cecece;\n }\n #toggles > div.active {\n font-weight: bold;\n border-bottom: 2px solid var(--primary);\n }\n .resource #title {\n font-weight: bold;\n font-size: 1.25rem;\n }\n .resource #date,\n .resource #speakers,\n .resource #location,\n .resource #sponsor,\n .resource #cta {\n margin: 1rem 0 0 0;\n }\n '
|