@mjhls/mjh-framework 1.0.866 → 1.0.868
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 +10 -11
- package/dist/cjs/AD300x250x600.js +10 -11
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +10 -11
- package/dist/cjs/ADFooter.js +3 -5
- package/dist/cjs/ADGutter.js +10 -11
- package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-b9e5ff3f.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +10 -11
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +10 -11
- package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-3cdefebd.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -7
- package/dist/cjs/AdSlot.js +10 -11
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlgoliaSearch.js +14105 -24
- package/dist/cjs/AlphabeticList.js +6 -8
- package/dist/cjs/ArticleCarousel.js +5 -7
- package/dist/cjs/ArticleProgramLandingPage.js +20 -21
- package/dist/cjs/ArticleSeriesLandingPage.js +18 -19
- package/dist/cjs/ArticleSeriesListing.js +14 -15
- package/dist/cjs/Auth.js +7 -9
- package/dist/cjs/AuthWrapper.js +4 -6
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-39b37d84.js} +1 -1
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/Breadcrumbs.js +3 -5
- package/dist/cjs/CMEDeck.js +10 -11
- package/dist/cjs/Column2.js +6 -8
- package/dist/cjs/Column3.js +12 -13
- package/dist/cjs/ConferenceArticleCard.js +18 -15
- package/dist/cjs/DeckContent.js +25 -26
- package/dist/cjs/DeckQueue.js +14 -14
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-9be904d5.js} +5 -6
- package/dist/cjs/EventsDeck.js +30 -32
- package/dist/cjs/ExternalResources.js +20 -21
- package/dist/cjs/Feature.js +5 -2
- package/dist/cjs/ForbesHero.js +4 -6
- package/dist/cjs/GridContent.js +19 -20
- package/dist/cjs/GridHero.js +4 -6
- package/dist/cjs/GroupDeck.js +5 -7
- package/dist/cjs/HamMagazine.js +20 -22
- package/dist/cjs/Hero.js +4 -1
- package/dist/cjs/HorizontalArticleListing.js +20 -21
- package/dist/cjs/HorizontalHero.js +5 -2
- package/dist/cjs/IssueContentDeck.js +4 -6
- package/dist/cjs/IssueDeck.js +6 -8
- package/dist/cjs/IssueLanding.js +52 -53
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +10 -11
- package/dist/cjs/MasterDeck.js +26 -27
- package/dist/cjs/MediaSeriesLanding.js +320 -422
- package/dist/cjs/NavDvm.js +5 -7
- package/dist/cjs/NavMagazine.js +21 -23
- package/dist/cjs/NavNative.js +17 -19
- package/dist/cjs/OncliveHero.js +5 -2
- package/dist/cjs/OncliveLargeHero.js +4 -6
- package/dist/cjs/PageFilter.js +3 -5
- package/dist/cjs/PartnerDetailListing.js +23 -24
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +3 -5
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +5 -7
- package/dist/cjs/PublicationDeck.js +3 -0
- package/dist/cjs/PublicationLanding.js +61 -63
- package/dist/cjs/QueueDeckExpanded.js +14 -15
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +31 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +3 -5
- package/dist/cjs/Segment.js +13 -27
- package/dist/cjs/SeriesListingDeck.js +10 -11
- package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-ce3261cb.js} +6 -6
- package/dist/cjs/SideFooter.js +8 -10
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-a4ae7b88.js} +4 -4
- package/dist/cjs/TaxonomyCard.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +20 -21
- package/dist/cjs/TemplateNormal.js +17 -18
- package/dist/cjs/ThumbnailCard.js +4 -1
- package/dist/cjs/Ustream.js +10 -12
- package/dist/cjs/VerticalHero.js +3 -0
- package/dist/cjs/VideoProgramLandingPage.js +20 -21
- package/dist/cjs/VideoSeriesCard.js +6 -6
- package/dist/cjs/VideoSeriesFilter.js +5 -7
- package/dist/cjs/VideoSeriesLandingPage.js +18 -19
- package/dist/cjs/VideoSeriesListing.js +14 -15
- package/dist/cjs/View.js +35 -30
- package/dist/cjs/YahooHero.js +4 -6
- package/dist/cjs/YoutubeGroup.js +8 -10
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-54228b29.js} +9 -9
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-b1df62f0.js} +6 -7
- package/dist/cjs/_object-sap-d1978572.js +16 -0
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-ce86cae7.js} +4 -4
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-77821af0.js} +65 -67
- package/dist/cjs/{_to-object-6de10e57.js → core.get-iterator-method-5643aa10.js} +248 -12
- package/dist/cjs/{define-property-c88be878.js → define-property-e8404b64.js} +3 -3
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-9673846a.js} +1 -1
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-29bdbc6d.js → extends-7c86182f.js} +8 -8
- package/dist/cjs/faundadb.js +4 -6
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +4 -6
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +20 -21
- package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-9d509319.js} +11 -11
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-32097c80.js → index-959201d6.js} +42 -21
- 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 +32 -33
- package/dist/cjs/{inherits-c2065b95.js → inherits-de66ea16.js} +13 -14
- package/dist/cjs/{keys-7f2c2108.js → keys-e982b3fa.js} +4 -4
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-067dd3bc.js} +7 -9
- package/dist/cjs/{stringify-c9ac1214.js → stringify-f7a37a8d.js} +2 -2
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-d7797c2b.js} +8 -10
- package/dist/cjs/{typeof-88a668c5.js → typeof-567e31ff.js} +73 -74
- package/dist/cjs/urlFor.js +18 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-3819e4aa.js} +4 -4
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-d98303e0.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -15
- package/dist/esm/AD300x250x600.js +14 -15
- package/dist/esm/AD728x90.js +15 -16
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-6c6093ae.js} +6 -6
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-5d7386e8.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -23
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +10 -11
- package/dist/esm/AlgoliaSearch.js +14127 -46
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +10 -12
- package/dist/esm/ArticleProgramLandingPage.js +32 -33
- package/dist/esm/ArticleSeriesLandingPage.js +26 -27
- package/dist/esm/ArticleSeriesListing.js +41 -42
- package/dist/esm/Auth.js +77 -79
- package/dist/esm/AuthWrapper.js +29 -31
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +69 -70
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -20
- package/dist/esm/Column3.js +33 -34
- package/dist/esm/ConferenceArticleCard.js +31 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +71 -72
- package/dist/esm/DeckQueue.js +54 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-4ca12f2e.js} +14 -15
- package/dist/esm/EventsDeck.js +91 -93
- package/dist/esm/ExternalResources.js +50 -51
- package/dist/esm/Feature.js +19 -16
- package/dist/esm/ForbesHero.js +29 -31
- package/dist/esm/GridContent.js +138 -139
- package/dist/esm/GridHero.js +30 -32
- package/dist/esm/GroupDeck.js +39 -41
- package/dist/esm/HamMagazine.js +100 -102
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -47
- package/dist/esm/HorizontalHero.js +23 -20
- package/dist/esm/IssueContentDeck.js +42 -44
- package/dist/esm/IssueDeck.js +39 -41
- package/dist/esm/IssueLanding.js +66 -67
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +60 -61
- package/dist/esm/MediaSeriesLanding.js +347 -449
- package/dist/esm/NavDvm.js +48 -50
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +104 -106
- package/dist/esm/NavNative.js +91 -93
- package/dist/esm/OncliveHero.js +17 -14
- package/dist/esm/OncliveLargeHero.js +53 -55
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +81 -82
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +23 -24
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +36 -33
- package/dist/esm/PublicationLanding.js +83 -85
- package/dist/esm/QueueDeckExpanded.js +255 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +46 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -10
- package/dist/esm/Segment.js +13 -27
- package/dist/esm/SeriesListingDeck.js +26 -27
- package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-485f514e.js} +24 -24
- package/dist/esm/SideFooter.js +27 -29
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-41b6b480.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +39 -37
- package/dist/esm/TaxonomyDescription.js +28 -29
- package/dist/esm/TemplateNormal.js +39 -40
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +14 -11
- package/dist/esm/VideoProgramLandingPage.js +39 -40
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +26 -27
- package/dist/esm/VideoSeriesListing.js +57 -58
- package/dist/esm/View.js +199 -194
- package/dist/esm/YahooHero.js +26 -28
- package/dist/esm/YoutubeGroup.js +35 -37
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-f089461c.js} +1 -2
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-b4dfe691.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{_to-object-b50e61c3.js → core.get-iterator-method-e903ff31.js} +239 -10
- package/dist/esm/{define-property-fe54dc9f.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-60e0e1c6.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -6
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +4 -6
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -24
- package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-ff2c9409.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- 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-5e84f9cd.js → index-e378ff44.js} +452 -431
- 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 +56 -57
- package/dist/esm/{inherits-a41fe93f.js → inherits-8a801a18.js} +4 -5
- package/dist/esm/{keys-7a3adabf.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-ca2c8b8d.js} +2 -4
- package/dist/esm/{stringify-59c8f690.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-7b1c0e23.js} +2 -4
- package/dist/esm/{typeof-a286cf0c.js → typeof-83d9eb10.js} +3 -4
- package/dist/esm/urlFor.js +18 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-fdf034f5.js} +1 -2
- package/package.json +111 -111
- package/dist/cjs/_object-sap-a175b4a9.js +0 -16
- package/dist/cjs/core.get-iterator-method-f474eacc.js +0 -39
- package/dist/cjs/es6.string.iterator-c2573ffd.js +0 -210
- package/dist/esm/core.get-iterator-method-133dfacd.js +0 -36
- package/dist/esm/es6.string.iterator-bc33758b.js +0 -201
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8fa0bc8d.js';
|
|
2
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { _ as _export, a as _core } from './
|
|
4
|
-
import { _ as _objectToArray } from './_object-to-array-
|
|
5
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
6
|
-
import { _ as _extends } from './extends-
|
|
7
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
8
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
9
|
-
import
|
|
10
|
-
import { I as InfiniteScroll } from './index.es-
|
|
3
|
+
import { _ as _export, a as _core } from './core.get-iterator-method-e903ff31.js';
|
|
4
|
+
import { _ as _objectToArray } from './_object-to-array-50a6b9a3.js';
|
|
5
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d.js';
|
|
6
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
7
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
8
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
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,16 +15,14 @@ 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-b5c5aac1.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';
|
|
22
|
-
import './define-property-
|
|
22
|
+
import './define-property-99e66838.js';
|
|
23
23
|
import './_object-pie-133f504a.js';
|
|
24
|
-
import './web.dom.iterable-
|
|
25
|
-
import './
|
|
26
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
27
|
-
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
25
|
+
import './_iter-detect-f089461c.js';
|
|
28
26
|
import './moment-bc12cb97.js';
|
|
29
27
|
|
|
30
28
|
// https://github.com/tc39/proposal-object-values-entries
|
|
@@ -245,23 +243,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
245
243
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
246
244
|
setAccessToken(cventAccessToken);
|
|
247
245
|
} else {
|
|
248
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
249
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
251
|
-
fetch(url, {
|
|
252
|
-
headers: {
|
|
253
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
254
|
-
Authorization: `Basic ${encodedData}`
|
|
255
|
-
},
|
|
256
|
-
method: 'POST',
|
|
257
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
258
|
-
})
|
|
259
|
-
.then((response) => response.json())
|
|
260
|
-
.then((json) => {
|
|
261
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
262
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
263
|
-
setAccessToken(json.access_token)
|
|
264
|
-
})
|
|
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
|
+
})
|
|
265
263
|
.catch((e) => console.log(e))*/
|
|
266
264
|
// hello
|
|
267
265
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -289,10 +287,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
289
287
|
}, []);
|
|
290
288
|
|
|
291
289
|
var renderRegisterButton = function renderRegisterButton(links) {
|
|
292
|
-
return
|
|
290
|
+
return React.createElement(
|
|
293
291
|
'a',
|
|
294
292
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
295
|
-
|
|
293
|
+
React.createElement(
|
|
296
294
|
Button,
|
|
297
295
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
298
296
|
cta
|
|
@@ -300,10 +298,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
300
298
|
);
|
|
301
299
|
};
|
|
302
300
|
var renderLearnMoreButton = function renderLearnMoreButton(links) {
|
|
303
|
-
return
|
|
301
|
+
return React.createElement(
|
|
304
302
|
'a',
|
|
305
303
|
{ rel: 'noopener', href: links.summary.href || '#', target: '_blank' },
|
|
306
|
-
|
|
304
|
+
React.createElement(
|
|
307
305
|
Button,
|
|
308
306
|
{ size: 'sm', className: 'registration-button', style: { borderRadius: '8px' } },
|
|
309
307
|
'Learn More'
|
|
@@ -377,15 +375,15 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
377
375
|
}
|
|
378
376
|
}
|
|
379
377
|
|
|
380
|
-
return valuesArray.length > 0 ?
|
|
381
|
-
|
|
378
|
+
return valuesArray.length > 0 ? React.createElement(
|
|
379
|
+
React.Fragment,
|
|
382
380
|
null,
|
|
383
|
-
|
|
381
|
+
React.createElement(
|
|
384
382
|
'h5',
|
|
385
383
|
{ className: 'filterTitle' },
|
|
386
384
|
'Filters:'
|
|
387
385
|
),
|
|
388
|
-
|
|
386
|
+
React.createElement(
|
|
389
387
|
Form,
|
|
390
388
|
null,
|
|
391
389
|
_Object$entries(deckAdvancedFilters).map(function (_ref8, index) {
|
|
@@ -393,36 +391,36 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
393
391
|
key = _ref9[0],
|
|
394
392
|
value = _ref9[1];
|
|
395
393
|
|
|
396
|
-
return
|
|
394
|
+
return React.createElement(
|
|
397
395
|
Form.Group,
|
|
398
396
|
null,
|
|
399
|
-
|
|
397
|
+
React.createElement(
|
|
400
398
|
Form.Label,
|
|
401
399
|
null,
|
|
402
400
|
key
|
|
403
401
|
),
|
|
404
|
-
|
|
402
|
+
React.createElement(
|
|
405
403
|
Form.Control,
|
|
406
404
|
{ as: 'select', 'data-filterName': key, onChange: function onChange(evt) {
|
|
407
405
|
return handleFilterSelected(evt);
|
|
408
406
|
} },
|
|
409
|
-
|
|
410
|
-
|
|
407
|
+
React.createElement(
|
|
408
|
+
React.Fragment,
|
|
411
409
|
null,
|
|
412
|
-
|
|
410
|
+
React.createElement(
|
|
413
411
|
'option',
|
|
414
412
|
null,
|
|
415
413
|
' '
|
|
416
414
|
),
|
|
417
415
|
valuesArray[index].map(function (text, index) {
|
|
418
416
|
if (value.value.toLowerCase() === text.toLowerCase()) {
|
|
419
|
-
return
|
|
417
|
+
return React.createElement(
|
|
420
418
|
'option',
|
|
421
419
|
{ selected: true },
|
|
422
420
|
text
|
|
423
421
|
);
|
|
424
422
|
}
|
|
425
|
-
return
|
|
423
|
+
return React.createElement(
|
|
426
424
|
'option',
|
|
427
425
|
null,
|
|
428
426
|
text
|
|
@@ -433,7 +431,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
433
431
|
);
|
|
434
432
|
})
|
|
435
433
|
),
|
|
436
|
-
|
|
434
|
+
React.createElement(
|
|
437
435
|
'style',
|
|
438
436
|
{ jsx: true },
|
|
439
437
|
'\n .filterTitle {\n font-weight: 400;\n }\n '
|
|
@@ -592,10 +590,10 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
592
590
|
var filteredData = localData;
|
|
593
591
|
|
|
594
592
|
if (filteredData.length <= 0) {
|
|
595
|
-
return
|
|
593
|
+
return React.createElement(
|
|
596
594
|
'div',
|
|
597
595
|
null,
|
|
598
|
-
|
|
596
|
+
React.createElement(
|
|
599
597
|
'div',
|
|
600
598
|
null,
|
|
601
599
|
'No events found '
|
|
@@ -603,7 +601,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
603
601
|
);
|
|
604
602
|
}
|
|
605
603
|
|
|
606
|
-
return
|
|
604
|
+
return React.createElement(
|
|
607
605
|
Container,
|
|
608
606
|
{ style: { padding: 1 } },
|
|
609
607
|
filteredData && filteredData.map(function (row, index) {
|
|
@@ -644,58 +642,58 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
644
642
|
var endDay = momentTimezone(end).tz(timezone).format();
|
|
645
643
|
var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
|
|
646
644
|
var isCompleted = row.status === 'Completed';
|
|
647
|
-
return
|
|
648
|
-
|
|
645
|
+
return React.createElement(
|
|
646
|
+
React.Fragment,
|
|
649
647
|
{ key: index },
|
|
650
|
-
|
|
648
|
+
React.createElement(
|
|
651
649
|
Card,
|
|
652
650
|
null,
|
|
653
|
-
isHardcoded ? _links &&
|
|
651
|
+
isHardcoded ? _links && React.createElement(
|
|
654
652
|
Row,
|
|
655
653
|
null,
|
|
656
|
-
|
|
654
|
+
React.createElement(
|
|
657
655
|
Col,
|
|
658
656
|
null,
|
|
659
657
|
renderLearnMoreButton(_links)
|
|
660
658
|
)
|
|
661
|
-
) : isRegister && _links &&
|
|
659
|
+
) : isRegister && _links && React.createElement(
|
|
662
660
|
Row,
|
|
663
661
|
null,
|
|
664
|
-
|
|
662
|
+
React.createElement(
|
|
665
663
|
Col,
|
|
666
664
|
null,
|
|
667
665
|
renderRegisterButton(_links)
|
|
668
666
|
)
|
|
669
667
|
),
|
|
670
|
-
isCompleted && _links &&
|
|
668
|
+
isCompleted && _links && React.createElement(
|
|
671
669
|
Row,
|
|
672
670
|
null,
|
|
673
|
-
|
|
671
|
+
React.createElement(
|
|
674
672
|
Col,
|
|
675
673
|
null,
|
|
676
674
|
renderLearnMoreButton(_links)
|
|
677
675
|
)
|
|
678
676
|
),
|
|
679
|
-
discussionTopic &&
|
|
677
|
+
discussionTopic && React.createElement(
|
|
680
678
|
Row,
|
|
681
679
|
null,
|
|
682
|
-
|
|
680
|
+
React.createElement(
|
|
683
681
|
Col,
|
|
684
682
|
null,
|
|
685
|
-
|
|
683
|
+
React.createElement('h5', { className: 'topic', style: { fontWeight: '500', marginBottom: 0 }, dangerouslySetInnerHTML: { __html: discussionTopic } })
|
|
686
684
|
)
|
|
687
685
|
),
|
|
688
|
-
start && timezone &&
|
|
686
|
+
start && timezone && React.createElement(
|
|
689
687
|
Row,
|
|
690
688
|
null,
|
|
691
|
-
|
|
689
|
+
React.createElement(
|
|
692
690
|
Col,
|
|
693
691
|
null,
|
|
694
|
-
start.indexOf('TBD') >= 0 ?
|
|
692
|
+
start.indexOf('TBD') >= 0 ? React.createElement(
|
|
695
693
|
'p',
|
|
696
694
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
697
695
|
start
|
|
698
|
-
) :
|
|
696
|
+
) : React.createElement(
|
|
699
697
|
'p',
|
|
700
698
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
701
699
|
start.indexOf('T') >= 0 ? momentTimezone(start).tz(timezone).format('LLL zz') : momentTimezone(start).format('LL'),
|
|
@@ -703,47 +701,47 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
703
701
|
)
|
|
704
702
|
)
|
|
705
703
|
),
|
|
706
|
-
eventRegion &&
|
|
704
|
+
eventRegion && React.createElement(
|
|
707
705
|
Row,
|
|
708
706
|
null,
|
|
709
|
-
|
|
707
|
+
React.createElement(
|
|
710
708
|
Col,
|
|
711
709
|
null,
|
|
712
|
-
|
|
710
|
+
React.createElement(
|
|
713
711
|
'p',
|
|
714
712
|
{ className: 'event-region', style: { padding: 0, margin: 0 } },
|
|
715
713
|
eventRegion
|
|
716
714
|
)
|
|
717
715
|
)
|
|
718
716
|
),
|
|
719
|
-
venues && venues.length && venues[0].name &&
|
|
717
|
+
venues && venues.length && venues[0].name && React.createElement(
|
|
720
718
|
Row,
|
|
721
719
|
null,
|
|
722
|
-
|
|
720
|
+
React.createElement(
|
|
723
721
|
Col,
|
|
724
722
|
null,
|
|
725
|
-
|
|
723
|
+
React.createElement(
|
|
726
724
|
'p',
|
|
727
725
|
{ className: 'venue', style: { padding: 0, margin: 0 } },
|
|
728
726
|
venues[0].name
|
|
729
727
|
)
|
|
730
728
|
)
|
|
731
729
|
),
|
|
732
|
-
speakerInfo && speakerInfo.length > 0 &&
|
|
730
|
+
speakerInfo && speakerInfo.length > 0 && React.createElement(
|
|
733
731
|
Row,
|
|
734
732
|
null,
|
|
735
|
-
|
|
733
|
+
React.createElement(
|
|
736
734
|
Col,
|
|
737
735
|
null,
|
|
738
|
-
|
|
736
|
+
React.createElement(
|
|
739
737
|
'div',
|
|
740
738
|
{ className: 'speaker-section', style: { border: '1px solid', borderRadius: '8px', padding: '8px' } },
|
|
741
739
|
speakerInfo.map(function (info, index) {
|
|
742
|
-
return
|
|
740
|
+
return React.createElement(
|
|
743
741
|
'p',
|
|
744
742
|
{ key: index, style: { marginBottom: '0' } },
|
|
745
743
|
info.value.map(function (speaker, index) {
|
|
746
|
-
return
|
|
744
|
+
return React.createElement(
|
|
747
745
|
'b',
|
|
748
746
|
{ key: index, className: 'kol-speaker' },
|
|
749
747
|
speaker,
|
|
@@ -756,14 +754,14 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
756
754
|
)
|
|
757
755
|
)
|
|
758
756
|
),
|
|
759
|
-
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
757
|
+
mobileView && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.createElement(
|
|
760
758
|
'div',
|
|
761
759
|
{ style: { margin: '0 auto' } },
|
|
762
760
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
763
761
|
)
|
|
764
762
|
);
|
|
765
763
|
}),
|
|
766
|
-
|
|
764
|
+
React.createElement(
|
|
767
765
|
'style',
|
|
768
766
|
{ jsx: 'true' },
|
|
769
767
|
'\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 '
|
|
@@ -773,7 +771,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
773
771
|
|
|
774
772
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
775
773
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
776
|
-
return
|
|
774
|
+
return React.createElement(
|
|
777
775
|
Col,
|
|
778
776
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
779
777
|
rightItems[i].component
|
|
@@ -781,13 +779,13 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
781
779
|
};
|
|
782
780
|
|
|
783
781
|
if (isLoading) {
|
|
784
|
-
return
|
|
782
|
+
return React.createElement(
|
|
785
783
|
'div',
|
|
786
784
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
787
|
-
|
|
785
|
+
React.createElement(
|
|
788
786
|
Spinner,
|
|
789
787
|
{ animation: 'border', role: 'status' },
|
|
790
|
-
|
|
788
|
+
React.createElement(
|
|
791
789
|
'span',
|
|
792
790
|
{ className: 'sr-only' },
|
|
793
791
|
'Loading...'
|
|
@@ -797,34 +795,34 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
797
795
|
}
|
|
798
796
|
|
|
799
797
|
if (data.length > 0) {
|
|
800
|
-
return
|
|
801
|
-
|
|
798
|
+
return React.createElement(
|
|
799
|
+
React.Fragment,
|
|
802
800
|
null,
|
|
803
|
-
data && advancedFilters &&
|
|
801
|
+
data && advancedFilters && React.createElement(
|
|
804
802
|
'div',
|
|
805
803
|
{ className: 'advancedFilters ' + (showFilters ? 'show' : 'hide') },
|
|
806
804
|
grabAdvancedFilters()
|
|
807
805
|
),
|
|
808
|
-
|
|
806
|
+
React.createElement(
|
|
809
807
|
'div',
|
|
810
808
|
{ className: 'cvent-events' },
|
|
811
|
-
|
|
809
|
+
React.createElement(
|
|
812
810
|
InfiniteScroll,
|
|
813
811
|
{ dataLength: data.length, next: loadMore, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
814
812
|
eventCards
|
|
815
813
|
)
|
|
816
814
|
),
|
|
817
|
-
|
|
815
|
+
React.createElement(
|
|
818
816
|
'style',
|
|
819
817
|
{ jsx: true },
|
|
820
818
|
'\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 '
|
|
821
819
|
)
|
|
822
820
|
);
|
|
823
821
|
} else {
|
|
824
|
-
return
|
|
822
|
+
return React.createElement(
|
|
825
823
|
'div',
|
|
826
824
|
null,
|
|
827
|
-
|
|
825
|
+
React.createElement(
|
|
828
826
|
'div',
|
|
829
827
|
null,
|
|
830
828
|
'No events found '
|
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
-
import
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
1
|
+
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
|
+
import { g as getSerializers } from './index-e378ff44.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';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './
|
|
10
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
12
|
-
import './web.dom.iterable-
|
|
13
|
-
import './es6.string.iterator-bc33758b.js';
|
|
14
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
15
13
|
import 'prop-types';
|
|
16
14
|
import './index-0dbff1d1.js';
|
|
17
15
|
import 'react-bootstrap';
|
|
18
16
|
import './urlFor.js';
|
|
19
|
-
import './index-
|
|
17
|
+
import './index-2446af28.js';
|
|
18
|
+
import './events-6c3a7a63.js';
|
|
20
19
|
import './index-c7e2ac95.js';
|
|
21
20
|
import './util-3ab476bf.js';
|
|
22
21
|
import './Beam.js';
|
|
23
|
-
import './stringify-
|
|
24
|
-
import './asyncToGenerator-
|
|
22
|
+
import './stringify-c21932b3.js';
|
|
23
|
+
import './asyncToGenerator-b4dfe691.js';
|
|
25
24
|
import './_library-528f1934.js';
|
|
26
|
-
import './_iter-detect-
|
|
25
|
+
import './_iter-detect-f089461c.js';
|
|
27
26
|
import './Segment.js';
|
|
28
|
-
import './main-
|
|
29
|
-
import './index-
|
|
27
|
+
import './main-b5c5aac1.js';
|
|
28
|
+
import './index-35bdcc81.js';
|
|
30
29
|
import 'react-dom';
|
|
31
|
-
import './typeof-
|
|
32
|
-
import './_is-array-
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
30
|
+
import './typeof-83d9eb10.js';
|
|
31
|
+
import './_is-array-893ab020.js';
|
|
32
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
34
33
|
import './GroupDeck.js';
|
|
35
34
|
import './smoothscroll-fa4e3f8c.js';
|
|
36
35
|
import './moment-bc12cb97.js';
|
|
37
36
|
import './SocialShare.js';
|
|
38
37
|
import 'next/head';
|
|
39
38
|
import 'react-share';
|
|
40
|
-
import './_object-to-array-
|
|
41
|
-
import './toConsumableArray-
|
|
39
|
+
import './_object-to-array-50a6b9a3.js';
|
|
40
|
+
import './toConsumableArray-7b1c0e23.js';
|
|
42
41
|
import 'react-bootstrap/Pagination';
|
|
43
42
|
import './entities-932b50cf.js';
|
|
44
43
|
import './AdSlot.js';
|
|
@@ -47,11 +46,11 @@ import './isSymbol-a7e9aafe.js';
|
|
|
47
46
|
import './toNumber-5aeba6e7.js';
|
|
48
47
|
import 'react-bootstrap/Row';
|
|
49
48
|
import 'react-bootstrap/Col';
|
|
50
|
-
import './inherits-
|
|
51
|
-
import './_object-sap-
|
|
52
|
-
import './define-property-
|
|
53
|
-
import './index.esm-
|
|
54
|
-
import './iconBase-
|
|
49
|
+
import './inherits-8a801a18.js';
|
|
50
|
+
import './_object-sap-169d6272.js';
|
|
51
|
+
import './define-property-99e66838.js';
|
|
52
|
+
import './index.esm-3fdda599.js';
|
|
53
|
+
import './iconBase-602d52fe.js';
|
|
55
54
|
import 'react-bootstrap/Figure';
|
|
56
55
|
import 'react-bootstrap/OverlayTrigger';
|
|
57
56
|
import 'react-bootstrap/Tooltip';
|
|
@@ -85,13 +84,13 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
85
84
|
useEffect(function () {
|
|
86
85
|
router.push(router.pathname, '/' + url + '?display=' + active, { shallow: true });
|
|
87
86
|
}, [active]);
|
|
88
|
-
return
|
|
87
|
+
return React.createElement(
|
|
89
88
|
'div',
|
|
90
89
|
{ id: 'resources' },
|
|
91
|
-
showToggles &&
|
|
90
|
+
showToggles && React.createElement(
|
|
92
91
|
'div',
|
|
93
92
|
{ id: 'toggles' },
|
|
94
|
-
|
|
93
|
+
React.createElement(
|
|
95
94
|
'div',
|
|
96
95
|
{ onClick: function onClick() {
|
|
97
96
|
return setActive(function () {
|
|
@@ -100,7 +99,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
100
99
|
}, className: active === 'recent' ? 'active' : '' },
|
|
101
100
|
recentTitle
|
|
102
101
|
),
|
|
103
|
-
|
|
102
|
+
React.createElement(
|
|
104
103
|
'div',
|
|
105
104
|
{ onClick: function onClick() {
|
|
106
105
|
return setActive(function () {
|
|
@@ -111,43 +110,43 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
111
110
|
)
|
|
112
111
|
),
|
|
113
112
|
resources[active].length > 0 ? resources[active].map(function (r) {
|
|
114
|
-
return
|
|
113
|
+
return React.createElement(
|
|
115
114
|
'div',
|
|
116
115
|
{ key: r._id, className: 'resource' },
|
|
117
|
-
dispalyThumb &&
|
|
116
|
+
dispalyThumb && React.createElement(
|
|
118
117
|
'div',
|
|
119
118
|
{ id: 'thumb' },
|
|
120
|
-
|
|
119
|
+
React.createElement(
|
|
121
120
|
'a',
|
|
122
121
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
123
|
-
|
|
122
|
+
React.createElement('img', { src: r.thumbnail })
|
|
124
123
|
)
|
|
125
124
|
),
|
|
126
|
-
|
|
125
|
+
React.createElement(
|
|
127
126
|
'div',
|
|
128
127
|
{ id: 'details' },
|
|
129
|
-
|
|
128
|
+
React.createElement(
|
|
130
129
|
'a',
|
|
131
130
|
{ href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
132
|
-
|
|
131
|
+
React.createElement(
|
|
133
132
|
'p',
|
|
134
133
|
{ id: 'title' },
|
|
135
134
|
r.title
|
|
136
135
|
),
|
|
137
|
-
r.intro &&
|
|
136
|
+
r.intro && React.createElement(
|
|
138
137
|
'div',
|
|
139
138
|
{ id: 'intro' },
|
|
140
|
-
|
|
139
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.intro }, client.config()))
|
|
141
140
|
),
|
|
142
|
-
|
|
141
|
+
React.createElement(
|
|
143
142
|
'div',
|
|
144
143
|
{ id: 'date' },
|
|
145
|
-
|
|
144
|
+
React.createElement(
|
|
146
145
|
'p',
|
|
147
146
|
{ style: { fontWeight: 'bold' } },
|
|
148
147
|
'Date:'
|
|
149
148
|
),
|
|
150
|
-
|
|
149
|
+
React.createElement(
|
|
151
150
|
'p',
|
|
152
151
|
null,
|
|
153
152
|
momentTimezone.tz(r.displayDate, 'America/New_York').format(dateFormat),
|
|
@@ -155,30 +154,30 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
155
154
|
r.endDate && '- ' + momentTimezone.tz(r.endDate, 'America/New_York').format(dateFormat)
|
|
156
155
|
)
|
|
157
156
|
),
|
|
158
|
-
r.speakers &&
|
|
157
|
+
r.speakers && React.createElement(
|
|
159
158
|
'div',
|
|
160
159
|
{ id: 'speakers' },
|
|
161
|
-
|
|
160
|
+
React.createElement(
|
|
162
161
|
'p',
|
|
163
162
|
{ style: { fontWeight: 'bold' } },
|
|
164
163
|
'Speakers:'
|
|
165
164
|
),
|
|
166
|
-
|
|
165
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: r.speakers }, client.config()))
|
|
167
166
|
),
|
|
168
|
-
r.location &&
|
|
167
|
+
r.location && React.createElement(
|
|
169
168
|
'div',
|
|
170
169
|
{ id: 'location' },
|
|
171
|
-
|
|
170
|
+
React.createElement(
|
|
172
171
|
'p',
|
|
173
172
|
{ style: { fontWeight: 'bold' } },
|
|
174
173
|
'Location:'
|
|
175
174
|
),
|
|
176
175
|
r.location
|
|
177
176
|
),
|
|
178
|
-
r.sponsor &&
|
|
177
|
+
r.sponsor && React.createElement(
|
|
179
178
|
'div',
|
|
180
179
|
{ id: 'sponsor' },
|
|
181
|
-
|
|
180
|
+
React.createElement(
|
|
182
181
|
'p',
|
|
183
182
|
{ style: { fontWeight: 'bold' } },
|
|
184
183
|
'Sponsors:'
|
|
@@ -186,19 +185,19 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
186
185
|
r.sponsor
|
|
187
186
|
)
|
|
188
187
|
),
|
|
189
|
-
|
|
188
|
+
React.createElement(
|
|
190
189
|
Button,
|
|
191
190
|
{ id: 'cta', variant: 'secondary', href: r.destination, target: '_blank', rel: 'noopener noreferrer' },
|
|
192
191
|
cta
|
|
193
192
|
)
|
|
194
193
|
)
|
|
195
194
|
);
|
|
196
|
-
}) :
|
|
195
|
+
}) : React.createElement(
|
|
197
196
|
'p',
|
|
198
197
|
null,
|
|
199
198
|
'No content available.'
|
|
200
199
|
),
|
|
201
|
-
|
|
200
|
+
React.createElement(
|
|
202
201
|
'style',
|
|
203
202
|
{ jsx: true },
|
|
204
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 '
|