@mjhls/mjh-framework 1.0.775 → 1.0.776-block-table
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 +170 -169
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +21 -21
- package/dist/cjs/AD300x250x600.js +21 -21
- package/dist/cjs/AD728x90.js +24 -24
- package/dist/cjs/ADFloatingFooter.js +20 -20
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +20 -20
- package/dist/cjs/{ADInfeed-d1eceaf2.js → ADInfeed-de972407.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -20
- package/dist/cjs/ADSponsoredResources.js +20 -20
- package/dist/cjs/ADWebcast.js +20 -20
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-24c693d8.js → ADlgInfeed-6ab92047.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +21 -21
- package/dist/cjs/AdSlotsProvider.js +12 -12
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +47 -47
- package/dist/cjs/ArticleSeriesLandingPage.js +30 -30
- package/dist/cjs/ArticleSeriesListing.js +31 -31
- package/dist/cjs/Auth.js +214 -647
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-8b494587.js} +1 -1
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -24
- package/dist/cjs/Column2.js +17 -17
- package/dist/cjs/Column3.js +31 -31
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +41 -41
- package/dist/cjs/DeckQueue.js +28 -28
- package/dist/cjs/{Dfp-a17e00fa.js → Dfp-c226037e.js} +13 -13
- package/dist/cjs/EventsDeck.js +41 -41
- package/dist/cjs/ExternalResources.js +46 -46
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +11 -11
- package/dist/cjs/GridContent.js +45 -45
- package/dist/cjs/GridHero.js +12 -12
- package/dist/cjs/GroupDeck.js +13 -13
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +3 -3
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +45 -45
- package/dist/cjs/HorizontalHero.js +4 -4
- package/dist/cjs/IssueContentDeck.js +12 -12
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +62 -62
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +19 -19
- package/dist/cjs/MasterDeck.js +40 -40
- package/dist/cjs/MediaSeriesLanding.js +25 -25
- package/dist/cjs/NavDvm.js +14 -14
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +38 -38
- package/dist/cjs/NavNormal.js +15 -15
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +12 -12
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +54 -54
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +31 -31
- package/dist/cjs/PubToc.js +9 -9
- package/dist/cjs/PublicationDeck.js +7 -7
- package/dist/cjs/PublicationLanding.js +50 -50
- package/dist/cjs/QueueDeckExpanded.js +35 -35
- package/dist/cjs/RecentNews.js +5 -5
- package/dist/cjs/RelatedContent.js +34 -34
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +19 -19
- package/dist/cjs/{SeriesSlider-193a2958.js → SeriesSlider-5e6108e0.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +16 -16
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-fb784cc3.js} +8 -8
- package/dist/cjs/TaxonomyCard.js +9 -9
- package/dist/cjs/TaxonomyDescription.js +44 -44
- package/dist/cjs/TemplateNormal.js +45 -45
- package/dist/cjs/ThumbnailCard.js +6 -6
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +50 -50
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesLandingPage.js +35 -35
- package/dist/cjs/VideoSeriesListing.js +33 -33
- package/dist/cjs/View.js +169 -171
- package/dist/cjs/YahooHero.js +14 -14
- package/dist/cjs/YoutubeGroup.js +29 -29
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-5762f850.js} +1 -1
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4ba0d3d5.js} +4 -5
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +16 -14
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +44 -44
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-7c425fbf.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/{index-654bd07a.js → index-12bc7e08.js} +152 -111
- package/dist/cjs/{index-4d74ffd6.js → index-5be2866f.js} +41 -40
- package/dist/cjs/{index-80f57cff.js → index-8a3fb0bc.js} +7 -7
- package/dist/cjs/{index-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index-0e4427c8.js → index-e08f00ce.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
- package/dist/cjs/index.js +135 -135
- package/dist/cjs/{inherits-2eb23889.js → inherits-87492b40.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-dc082238.js → main-11ec04d2.js} +63 -67
- package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-9d7f610f.js} +6 -6
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +24 -24
- package/dist/esm/ADFloatingFooter.js +20 -20
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +20 -20
- package/dist/esm/{ADInfeed-c12cd1ce.js → ADInfeed-1cba8312.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -20
- package/dist/esm/ADSponsoredResources.js +20 -20
- package/dist/esm/ADWebcast.js +20 -20
- package/dist/esm/ADWelcome.js +17 -17
- package/dist/esm/{ADlgInfeed-246a8787.js → ADlgInfeed-fe7ad144.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +21 -21
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +47 -47
- package/dist/esm/ArticleSeriesLandingPage.js +30 -30
- package/dist/esm/ArticleSeriesListing.js +31 -31
- package/dist/esm/Auth.js +214 -647
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-8ffd4679.js} +1 -1
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-d05b5b23.js} +1 -1
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +31 -31
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +41 -41
- package/dist/esm/DeckQueue.js +28 -28
- package/dist/esm/{Dfp-988dbcaa.js → Dfp-c06b41fc.js} +13 -13
- package/dist/esm/EventsDeck.js +39 -39
- package/dist/esm/ExternalResources.js +46 -46
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +11 -11
- package/dist/esm/GridContent.js +45 -45
- package/dist/esm/GridHero.js +12 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +36 -36
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +45 -45
- package/dist/esm/HorizontalHero.js +4 -4
- package/dist/esm/IssueContentDeck.js +12 -12
- package/dist/esm/IssueDeck.js +15 -15
- package/dist/esm/IssueLanding.js +62 -62
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +19 -19
- package/dist/esm/MasterDeck.js +40 -40
- package/dist/esm/MediaSeriesLanding.js +25 -25
- package/dist/esm/NavDvm.js +14 -14
- package/dist/esm/NavMagazine.js +41 -41
- package/dist/esm/NavNative.js +36 -36
- package/dist/esm/NavNormal.js +15 -15
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +12 -12
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +54 -54
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +31 -31
- package/dist/esm/PubToc.js +9 -9
- package/dist/esm/PublicationDeck.js +6 -6
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +35 -35
- package/dist/esm/RecentNews.js +5 -5
- package/dist/esm/RelatedContent.js +34 -34
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +19 -19
- package/dist/esm/{SeriesSlider-6a1081ff.js → SeriesSlider-19a24623.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +16 -16
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-2a4a7398.js} +7 -7
- package/dist/esm/TaxonomyCard.js +9 -9
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +45 -45
- package/dist/esm/ThumbnailCard.js +6 -6
- package/dist/esm/Ustream.js +9 -9
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +49 -49
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +10 -10
- package/dist/esm/VideoSeriesLandingPage.js +35 -35
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +168 -170
- package/dist/esm/YahooHero.js +14 -14
- package/dist/esm/YoutubeGroup.js +29 -29
- package/dist/esm/{_is-array-674f71ec.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-5d49a330.js} +2 -2
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-7e804fce.js} +1 -1
- package/dist/esm/{_set-species-494ed292.js → _set-species-3f8319f5.js} +4 -4
- package/dist/esm/{_to-object-97770c52.js → _to-object-a4107da3.js} +5 -5
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-502f13b4.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-e1c6b0f2.js} +4 -5
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-8af5f002.js} +1 -1
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-c990c18c.js} +3 -3
- package/dist/esm/{extends-31d65aba.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/getRelatedArticle.js +16 -14
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +44 -44
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-f22b76f5.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-928f03b5.js → index-236123b3.js} +150 -108
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-888f9253.js → index-acfb8079.js} +3 -3
- package/dist/esm/{index-752d1dae.js → index-c5fd0af5.js} +6 -6
- package/dist/esm/{index-ccb770c7.js → index-d2f90501.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-7dda2f0a.js} +4 -20
- package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
- package/dist/esm/index.js +115 -115
- package/dist/esm/{inherits-5906fbea.js → inherits-0d8cda6e.js} +5 -5
- package/dist/esm/{keys-a0b0c7a4.js → keys-8eda7a5c.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-1450d277.js → main-aef58dbc.js} +63 -67
- package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-3822f1ce.js} +16 -16
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-641f241f.js} +4 -4
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/{stringify-d4839bab.js → stringify-4330ccdc.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-43aa614d.js} +4 -4
- package/dist/esm/{typeof-e9cea9e8.js → typeof-af9c50d8.js} +6 -6
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +107 -107
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-ea516b15.js';
|
|
2
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { _ as _export, a as _core } from './_to-object-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
2
|
+
import { _ as _export, a as _core } from './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_iter-detect-5d49a330.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './_object-pie-33c40e79.js';
|
|
8
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
9
|
+
import './define-property-8af5f002.js';
|
|
10
|
+
import './web.dom.iterable-4439f05a.js';
|
|
9
11
|
import React, { useState, useEffect } from 'react';
|
|
10
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
11
12
|
import Container from 'react-bootstrap/Container';
|
|
12
|
-
import Spinner from 'react-bootstrap/Spinner';
|
|
13
13
|
import Row from 'react-bootstrap/Row';
|
|
14
14
|
import Col from 'react-bootstrap/Col';
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
|
-
import
|
|
16
|
+
import './moment-12415288.js';
|
|
17
|
+
import { useRouter } from 'next/router';
|
|
18
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
19
|
+
import './main-aef58dbc.js';
|
|
20
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
|
|
21
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
22
|
+
import { _ as _objectToArray } from './_object-to-array-7e804fce.js';
|
|
17
23
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './
|
|
19
|
-
import
|
|
24
|
+
import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
|
|
25
|
+
import Spinner from 'react-bootstrap/Spinner';
|
|
26
|
+
import Form from 'react-bootstrap/Form';
|
|
27
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
20
28
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
|
-
import { useRouter } from 'next/router';
|
|
22
|
-
import './define-property-ec6d528d.js';
|
|
23
|
-
import './_object-pie-33c40e79.js';
|
|
24
|
-
import './web.dom.iterable-035980f3.js';
|
|
25
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
26
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
27
|
-
import './_iter-detect-48516cd3.js';
|
|
28
|
-
import './moment-bc12cb97.js';
|
|
29
29
|
|
|
30
30
|
// https://github.com/tc39/proposal-object-values-entries
|
|
31
31
|
|
|
@@ -245,23 +245,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
245
245
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
246
246
|
setAccessToken(cventAccessToken);
|
|
247
247
|
} 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
|
-
})
|
|
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
|
+
})
|
|
265
265
|
.catch((e) => console.log(e))*/
|
|
266
266
|
// hello
|
|
267
267
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -333,8 +333,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
333
333
|
|
|
334
334
|
var valuesArray = _Object$entries(deckAdvancedFilters).map(function (_ref6, index) {
|
|
335
335
|
var _ref7 = _slicedToArray(_ref6, 2),
|
|
336
|
-
key = _ref7[0]
|
|
337
|
-
_ref7[1];
|
|
336
|
+
key = _ref7[0],
|
|
337
|
+
value = _ref7[1];
|
|
338
338
|
|
|
339
339
|
var temp = [];
|
|
340
340
|
for (var evt in data) {
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-31d65aba.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
5
|
-
import { g as getSerializers } from './index-928f03b5.js';
|
|
6
|
-
import { m as momentTimezone } from './index-ccb770c7.js';
|
|
7
|
-
import { useRouter } from 'next/router';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './_to-object-
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
11
8
|
import './_object-pie-33c40e79.js';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React, { useState, useEffect } from 'react';
|
|
17
|
+
import './index-acfb8079.js';
|
|
15
18
|
import 'prop-types';
|
|
16
|
-
import '
|
|
17
|
-
import 'react-bootstrap';
|
|
18
|
-
import './
|
|
19
|
-
import '
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './asyncToGenerator-2bd4099a.js';
|
|
24
|
-
import './_library-528f1934.js';
|
|
25
|
-
import './_set-species-494ed292.js';
|
|
26
|
-
import './_iter-detect-48516cd3.js';
|
|
27
|
-
import './Segment.js';
|
|
28
|
-
import './main-1450d277.js';
|
|
29
|
-
import './index-752d1dae.js';
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
21
|
+
import './moment-12415288.js';
|
|
22
|
+
import { useRouter } from 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
30
26
|
import 'react-dom';
|
|
31
|
-
import './
|
|
32
|
-
import './
|
|
33
|
-
import './
|
|
27
|
+
import './index-51a80699.js';
|
|
28
|
+
import './index-c5fd0af5.js';
|
|
29
|
+
import './main-aef58dbc.js';
|
|
30
|
+
import './entities-7cc3bf45.js';
|
|
31
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
32
|
+
import './stringify-4330ccdc.js';
|
|
33
|
+
import './asyncToGenerator-502f13b4.js';
|
|
34
|
+
import './_set-species-3f8319f5.js';
|
|
35
|
+
import './Segment.js';
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import './AdSlot.js';
|
|
38
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
39
|
+
import './index-c7e2ac95.js';
|
|
40
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
34
41
|
import './GroupDeck.js';
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
42
|
+
import 'react-bootstrap';
|
|
43
|
+
import './iconBase-602d52fe.js';
|
|
44
|
+
import './index.esm-3fdda599.js';
|
|
45
|
+
import { g as getSerializers } from './index-236123b3.js';
|
|
46
|
+
import './util-7700fc59.js';
|
|
47
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
38
48
|
import 'next/head';
|
|
39
49
|
import 'react-share';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
50
|
+
import './SocialShare.js';
|
|
51
|
+
import './_object-to-array-7e804fce.js';
|
|
42
52
|
import 'react-bootstrap/Pagination';
|
|
43
|
-
import '
|
|
44
|
-
import './AdSlot.js';
|
|
45
|
-
import './debounce-9207d8ee.js';
|
|
46
|
-
import './isSymbol-1981418f.js';
|
|
47
|
-
import './toNumber-2f7a84cd.js';
|
|
48
|
-
import 'react-bootstrap/Row';
|
|
49
|
-
import 'react-bootstrap/Col';
|
|
50
|
-
import './inherits-5906fbea.js';
|
|
51
|
-
import './_object-sap-fd3054d0.js';
|
|
52
|
-
import './define-property-ec6d528d.js';
|
|
53
|
-
import './index.esm-3fdda599.js';
|
|
54
|
-
import './iconBase-602d52fe.js';
|
|
53
|
+
import Button from 'react-bootstrap/Button';
|
|
55
54
|
import 'react-bootstrap/Figure';
|
|
55
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
56
56
|
|
|
57
57
|
var ExternalResources = function ExternalResources(props) {
|
|
58
58
|
var resources = props.resources,
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
-
import { m as
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
|
+
import { m as main_39 } from './main-aef58dbc.js';
|
|
4
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
|
|
7
7
|
//Feature query to be used
|
|
8
8
|
// const featureQuery = `*[_type == 'feature' && is_active == true && feature_url == "/"] | order(_updatedAt asc)[0..5]{
|
|
@@ -34,7 +34,7 @@ var Feature = function Feature(props) {
|
|
|
34
34
|
};
|
|
35
35
|
//image width updated.
|
|
36
36
|
var imageWidth = 450;
|
|
37
|
-
if (
|
|
37
|
+
if (main_39) {
|
|
38
38
|
imageWidth = 225;
|
|
39
39
|
}
|
|
40
40
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
|
-
import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
|
|
5
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import 'react-dom';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
|
+
import React from 'react';
|
|
13
7
|
import 'prop-types';
|
|
8
|
+
import { m as moment } from './moment-12415288.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
11
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
12
|
+
import './slicedToArray-641f241f.js';
|
|
13
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
14
14
|
|
|
15
15
|
var fbsHero = function fbsHero(props) {
|
|
16
16
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
4
16
|
import React from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-acfb8079.js';
|
|
18
|
+
import 'prop-types';
|
|
6
19
|
import Container from 'react-bootstrap/Container';
|
|
7
20
|
import Row from 'react-bootstrap/Row';
|
|
8
21
|
import Col from 'react-bootstrap/Col';
|
|
9
22
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import {
|
|
11
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
23
|
+
import { m as moment } from './moment-12415288.js';
|
|
12
24
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-c12cd1ce.js';
|
|
16
|
-
import { l as lodash } from './lodash-ad27652f.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-246a8787.js';
|
|
18
|
-
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
|
-
import { g as get_1 } from './get-1e515072.js';
|
|
25
|
+
import './isSymbol-1981418f.js';
|
|
20
26
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import { m as main_40 } from './main-1450d277.js';
|
|
24
|
-
import './AD.js';
|
|
25
|
-
import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
|
|
26
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
27
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
28
|
-
import './_to-object-97770c52.js';
|
|
29
|
-
import './_iter-detect-48516cd3.js';
|
|
30
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
31
|
-
import './_object-pie-33c40e79.js';
|
|
32
|
-
import './_object-sap-fd3054d0.js';
|
|
33
|
-
import './define-property-ec6d528d.js';
|
|
34
|
-
import './typeof-e9cea9e8.js';
|
|
35
|
-
import './web.dom.iterable-035980f3.js';
|
|
36
|
-
import './_is-array-674f71ec.js';
|
|
37
|
-
import './_library-528f1934.js';
|
|
38
|
-
import 'prop-types';
|
|
27
|
+
import './toNumber-2f7a84cd.js';
|
|
28
|
+
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
39
29
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
30
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
31
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
32
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
33
|
+
import { m as main_39 } from './main-aef58dbc.js';
|
|
34
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
35
|
+
import './slicedToArray-641f241f.js';
|
|
36
|
+
import './stringify-4330ccdc.js';
|
|
37
|
+
import './asyncToGenerator-502f13b4.js';
|
|
38
|
+
import './_set-species-3f8319f5.js';
|
|
46
39
|
import './Segment.js';
|
|
47
|
-
import './
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './AdSlot.js';
|
|
42
|
+
import { A as ADInfeed } from './ADInfeed-1cba8312.js';
|
|
43
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
44
|
+
import { A as ADlgInfeed } from './ADlgInfeed-fe7ad144.js';
|
|
45
|
+
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
46
|
+
import { g as get_1 } from './get-1e515072.js';
|
|
48
47
|
import './eq-b470f743.js';
|
|
49
|
-
import './
|
|
48
|
+
import './AD.js';
|
|
49
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
50
50
|
|
|
51
51
|
var GridContent = function (_React$Component) {
|
|
52
52
|
_inherits(GridContent, _React$Component);
|
|
@@ -165,9 +165,9 @@ var GridContent = function (_React$Component) {
|
|
|
165
165
|
}
|
|
166
166
|
}, _this.changePageNumber = function (pageNumber, itemsPerPage, itemIndex) {
|
|
167
167
|
var _this$props2 = _this.props,
|
|
168
|
-
seoPaginate = _this$props2.seoPaginate
|
|
169
|
-
_this$props2.pageview
|
|
170
|
-
|
|
168
|
+
seoPaginate = _this$props2.seoPaginate,
|
|
169
|
+
pageview = _this$props2.pageview,
|
|
170
|
+
router = _this$props2.router;
|
|
171
171
|
var currentPage = _this.state.currentPage;
|
|
172
172
|
|
|
173
173
|
if (seoPaginate) {
|
|
@@ -535,7 +535,7 @@ var GridContent = function (_React$Component) {
|
|
|
535
535
|
)
|
|
536
536
|
),
|
|
537
537
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
538
|
-
|
|
538
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
539
539
|
);
|
|
540
540
|
} else {
|
|
541
541
|
return React.createElement(
|
|
@@ -599,7 +599,7 @@ var GridContent = function (_React$Component) {
|
|
|
599
599
|
)
|
|
600
600
|
),
|
|
601
601
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
602
|
-
|
|
602
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
603
603
|
);
|
|
604
604
|
}
|
|
605
605
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -687,7 +687,7 @@ var GridContent = function (_React$Component) {
|
|
|
687
687
|
)
|
|
688
688
|
),
|
|
689
689
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React.createElement(VideoPlayer, null),
|
|
690
|
-
|
|
690
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
691
691
|
);
|
|
692
692
|
} else return null;
|
|
693
693
|
}) : React.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
6
|
-
import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import '
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
|
+
import React from 'react';
|
|
9
7
|
import 'prop-types';
|
|
10
|
-
import './
|
|
11
|
-
import '
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
8
|
+
import { m as moment } from './moment-12415288.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
11
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
12
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
|
+
import './slicedToArray-641f241f.js';
|
|
14
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
15
15
|
|
|
16
16
|
var GridHero = function GridHero(props) {
|
|
17
17
|
var topArticle = props.dataRecord[0];
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
|
-
import React, { useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
5
|
-
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './web.dom.iterable-035980f3.js';
|
|
11
|
-
import './_is-array-674f71ec.js';
|
|
12
|
-
import './_object-pie-33c40e79.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
13
4
|
import './_library-528f1934.js';
|
|
14
|
-
import './core.get-iterator-method-
|
|
5
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
8
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
9
|
+
import './_is-array-58e95429.js';
|
|
10
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
11
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
13
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
14
|
+
import { s as smoothscroll } from './smoothscroll-0cd4c7a6.js';
|
|
15
15
|
|
|
16
16
|
var GroupDeck = function GroupDeck(props) {
|
|
17
17
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -86,7 +86,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
-
props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
89
|
+
var get2 = props.get2 ? '/' + props.get2 + '/' : '/view/';
|
|
90
90
|
|
|
91
91
|
var variant = props.dark ? 'white' : '#383838';
|
|
92
92
|
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
+
import './web.dom.iterable-4439f05a.js';
|
|
2
8
|
import React, { useRef, useState, useEffect } from 'react';
|
|
3
|
-
import
|
|
4
|
-
import { S as SocialNavFooter } from './index.esm-8016b507.js';
|
|
5
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-c3216d1a.js';
|
|
6
|
-
import 'react-bootstrap/Form';
|
|
7
|
-
import 'react-bootstrap/FormControl';
|
|
8
|
-
import 'react-bootstrap/Button';
|
|
9
|
-
import Segment from './Segment.js';
|
|
9
|
+
import 'prop-types';
|
|
10
10
|
import Container from 'react-bootstrap/Container';
|
|
11
|
+
import { m as main_39, c as main_40 } from './main-aef58dbc.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
13
|
+
import './asyncToGenerator-502f13b4.js';
|
|
14
|
+
import './_set-species-3f8319f5.js';
|
|
15
|
+
import Segment from './Segment.js';
|
|
16
|
+
import './react-social-icons-3822f1ce.js';
|
|
17
|
+
import './iconBase-602d52fe.js';
|
|
18
|
+
import { b as IoMdLogIn } from './index.esm-3fdda599.js';
|
|
19
|
+
import 'react-bootstrap/Button';
|
|
20
|
+
import 'react-bootstrap/Form';
|
|
11
21
|
import Nav from 'react-bootstrap/Nav';
|
|
12
22
|
import Navbar from 'react-bootstrap/Navbar';
|
|
13
23
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
14
24
|
import { M as MdEmail } from './index.esm-d6f88d94.js';
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
18
|
-
import './web.dom.iterable-035980f3.js';
|
|
19
|
-
import './es6.string.iterator-aa6068a3.js';
|
|
20
|
-
import './_to-object-97770c52.js';
|
|
21
|
-
import './core.get-iterator-method-d1d5ed02.js';
|
|
22
|
-
import './react-social-icons-91f9716f.js';
|
|
23
|
-
import 'prop-types';
|
|
24
|
-
import './iconBase-602d52fe.js';
|
|
25
|
+
import { N as NavFooter } from './NavFooter-c29526b7.js';
|
|
26
|
+
import { S as SocialNavFooter } from './index.esm-8ee5ff72.js';
|
|
25
27
|
import './SocialIcons.js';
|
|
26
|
-
import '
|
|
27
|
-
import './
|
|
28
|
-
import './_set-species-494ed292.js';
|
|
29
|
-
import './_iter-detect-48516cd3.js';
|
|
28
|
+
import 'react-bootstrap/FormControl';
|
|
29
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-2a4a7398.js';
|
|
30
30
|
|
|
31
31
|
var HamMagazine = function HamMagazine(props) {
|
|
32
|
-
/*
|
|
33
|
-
Example Nav with acceptable props
|
|
34
|
-
<MagazineNav
|
|
35
|
-
showLogin
|
|
36
|
-
logo={props.settings.logo}
|
|
37
|
-
dataObject={props.cache.mainNavCache}
|
|
38
|
-
website={website}
|
|
39
|
-
subNav={props.cache.subNavCache}
|
|
40
|
-
/>
|
|
32
|
+
/*
|
|
33
|
+
Example Nav with acceptable props
|
|
34
|
+
<MagazineNav
|
|
35
|
+
showLogin
|
|
36
|
+
logo={props.settings.logo}
|
|
37
|
+
dataObject={props.cache.mainNavCache}
|
|
38
|
+
website={website}
|
|
39
|
+
subNav={props.cache.subNavCache}
|
|
40
|
+
/>
|
|
41
41
|
*/
|
|
42
42
|
|
|
43
43
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
|
@@ -53,8 +53,8 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
53
53
|
socialFooterNav = _props$socialFooterNa === undefined ? false : _props$socialFooterNa,
|
|
54
54
|
_props$socialIconVari = props.socialIconVariant,
|
|
55
55
|
socialIconVariant = _props$socialIconVari === undefined ? 'light' : _props$socialIconVari,
|
|
56
|
-
invertedLogo = props.invertedLogo
|
|
57
|
-
props.settings;
|
|
56
|
+
invertedLogo = props.invertedLogo,
|
|
57
|
+
settings = props.settings;
|
|
58
58
|
|
|
59
59
|
var navRef = useRef(null);
|
|
60
60
|
var topNavRef = useRef(null);
|
|
@@ -208,7 +208,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
208
208
|
|
|
209
209
|
return React.createElement(
|
|
210
210
|
'header',
|
|
211
|
-
{ className: !
|
|
211
|
+
{ className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '999999' } },
|
|
212
212
|
React.createElement(
|
|
213
213
|
Navbar,
|
|
214
214
|
{ expand: 'md', ref: topNavRef },
|
|
@@ -335,7 +335,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
335
335
|
'aria-controls': 'basic-navbar-nav',
|
|
336
336
|
onClick: function onClick() {
|
|
337
337
|
// Set overflow fix for iPhones safari browsers
|
|
338
|
-
if (
|
|
338
|
+
if (main_40) {
|
|
339
339
|
var mainNav = document.querySelector('#navbar-ham');
|
|
340
340
|
if (mainNav && mainNav.style) mainNav.style.overflow = 'auto';
|
|
341
341
|
}
|
|
@@ -564,7 +564,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
564
564
|
'\n .navbar .collapse {\n display: block;\n }\n '
|
|
565
565
|
)
|
|
566
566
|
),
|
|
567
|
-
|
|
567
|
+
main_39 && !main_40 && React.createElement(
|
|
568
568
|
'style',
|
|
569
569
|
{ jsx: 'true' },
|
|
570
570
|
'\n #navbar-ham {\n overflow: hidden;\n overflow-y: scroll;\n margin-bottom: 5rem;\n }\n '
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
2
5
|
import { Card } from 'react-bootstrap';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
|
|
7
7
|
var urlFor = function urlFor(source, client) {
|
|
8
8
|
var builder = imageUrlBuilder(client);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-b43c695a.js';
|
|
3
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
4
4
|
|
|
5
5
|
var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
6
6
|
var highlightVideoOptions = _ref.highlightVideoOptions;
|