@mjhls/mjh-framework 1.0.1073 → 1.0.1074
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-0519664d.js → ADInfeed-98ee4120.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-e544ac1c.js → ADlgInfeed-55df7d69.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +63 -91
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/AuthWrapper.js +1476 -294
- package/dist/cjs/CEDeckSupabase.js +2 -2
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +3 -3
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-62a43659.js → ImageSlider-984a697b.js} +92 -149
- package/dist/cjs/IssueLanding.js +34 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MasterDeckPaginated.js +11 -11
- package/dist/cjs/{MediaSeriesCard-a7e29435.js → MediaSeriesCard-19aab049.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +13 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
- package/dist/cjs/NavMagazine.js +12 -12
- package/dist/cjs/NavNative.js +10 -10
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -6
- package/dist/cjs/PartnerDetailListingPaginated.js +7 -6
- package/dist/cjs/PodcastsLanding.js +6 -6
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-edcb8e4b.js → SeriesSlider-086a8319.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +3 -3
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-96fe6ef6.js} +264 -108
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +34 -27
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- package/dist/cjs/{index-43275e6f.js → index-a075129d.js} +2 -2
- package/dist/cjs/index.js +12 -10
- package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-c3f5613e.js → ADInfeed-6d0c0856.js} +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/{ADlgInfeed-2b148f3f.js → ADlgInfeed-93bc2250.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +63 -91
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/AuthWrapper.js +1470 -288
- package/dist/esm/CEDeckSupabase.js +2 -2
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +3 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-aea3a615.js → ImageSlider-497e9c88.js} +10 -67
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +11 -11
- package/dist/esm/{MediaSeriesCard-b47e2393.js → MediaSeriesCard-6d08d387.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +7 -6
- package/dist/esm/PartnerDetailListingPaginated.js +7 -6
- package/dist/esm/PodcastsLanding.js +6 -6
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-2e83e861.js → SeriesSlider-a6b1d617.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-020f9e81.js → SocialSearchComponent-6065bff2.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-bc98d17e.js} +264 -108
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +34 -27
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-983ef4ad.js → index-6be9a1c4.js} +2 -2
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/index.js +12 -10
- package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +116 -116
|
@@ -4,7 +4,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
4
4
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
5
5
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
|
-
import { m as main_43 } from './main-
|
|
7
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
8
8
|
import { useRouter } from 'next/router';
|
|
9
9
|
import { l as lib_3 } from './index-5cc7b406.js';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
@@ -16,7 +16,7 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
16
16
|
import 'react-dom';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
|
|
19
|
-
var css = "#CMEDeck-module_ceToggles__1QFCs {\
|
|
19
|
+
var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 131px;\n height: 46px;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }\n\n .CMEDeck-module_networkLogo__1jFYP {\n max-width: 250px;\n margin: auto;\n }\n\n @media screen and (max-width: 768px) {\n #CMEDeck-module_ceToggles__1QFCs {\n flex-wrap: wrap-reverse;\n justify-content: center;\n }\n .CMEDeck-module_networkLogo__1jFYP {\n margin: 1rem 0;\n }\n }";
|
|
20
20
|
var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ", "networkLogo": "CMEDeck-module_networkLogo__1jFYP" };
|
|
21
21
|
styleInject(css);
|
|
22
22
|
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -6,7 +6,7 @@ import React__default, { useState, useRef, useEffect } from 'react';
|
|
|
6
6
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
10
10
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { l as lib_3 } from './index-5cc7b406.js';
|
package/dist/esm/Column3.js
CHANGED
|
@@ -6,7 +6,7 @@ import LeftNav from './LeftNav.js';
|
|
|
6
6
|
import SideFooter from './SideFooter.js';
|
|
7
7
|
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
8
8
|
import PageFilter from './PageFilter.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
10
10
|
import './slicedToArray-6ebcbfea.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -8,21 +8,21 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
8
8
|
import './extends-1559c147.js';
|
|
9
9
|
import './index-3f5c03b2.js';
|
|
10
10
|
|
|
11
|
-
/*
|
|
12
|
-
Example usage - targetedonc.com/latest-conference
|
|
13
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
14
|
-
...,
|
|
15
|
-
title,
|
|
16
|
-
summary,
|
|
17
|
-
thumbnail,
|
|
18
|
-
url,
|
|
19
|
-
published,
|
|
20
|
-
documentGroup->,
|
|
21
|
-
contentCategory->,
|
|
22
|
-
'pageNumber': ${currentPage}
|
|
23
|
-
}`
|
|
24
|
-
|
|
25
|
-
const posts = await client.fetch(query, params)
|
|
11
|
+
/*
|
|
12
|
+
Example usage - targetedonc.com/latest-conference
|
|
13
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
14
|
+
...,
|
|
15
|
+
title,
|
|
16
|
+
summary,
|
|
17
|
+
thumbnail,
|
|
18
|
+
url,
|
|
19
|
+
published,
|
|
20
|
+
documentGroup->,
|
|
21
|
+
contentCategory->,
|
|
22
|
+
'pageNumber': ${currentPage}
|
|
23
|
+
}`
|
|
24
|
+
|
|
25
|
+
const posts = await client.fetch(query, params)
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -12,9 +12,9 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
-
import { m as main_43 } from './main-
|
|
16
|
-
import { c as clean_html_1 } from './entities-
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
16
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
|
|
18
18
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -14,9 +14,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
14
14
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
15
|
import urlFor from './urlFor.js';
|
|
16
16
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
-
import { m as main_43 } from './main-
|
|
18
|
-
import { c as clean_html_1 } from './entities-
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
17
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
18
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -181,14 +181,14 @@ var DeckContent = function (_React$Component) {
|
|
|
181
181
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
182
182
|
|
|
183
183
|
// please leave this for later debug purpose : Yong Jun.
|
|
184
|
-
/* console.log('page change reported', {
|
|
185
|
-
currentPage: currentPage,
|
|
186
|
-
pageNumber: pageNumber,
|
|
187
|
-
pathname: pathname,
|
|
188
|
-
path: path,
|
|
189
|
-
newPath: newPath,
|
|
190
|
-
firstPage: pageNumber === 1,
|
|
191
|
-
queryString: queryString
|
|
184
|
+
/* console.log('page change reported', {
|
|
185
|
+
currentPage: currentPage,
|
|
186
|
+
pageNumber: pageNumber,
|
|
187
|
+
pathname: pathname,
|
|
188
|
+
path: path,
|
|
189
|
+
newPath: newPath,
|
|
190
|
+
firstPage: pageNumber === 1,
|
|
191
|
+
queryString: queryString
|
|
192
192
|
}) */
|
|
193
193
|
|
|
194
194
|
if (pageview) {
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -15,8 +15,8 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
15
15
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
16
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
|
-
import { m as main_43 } from './main-
|
|
19
|
-
import { c as clean_html_1 } from './entities-
|
|
18
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
19
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -13,9 +13,9 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
15
|
import { g as get_1 } from './get-3c308da4.js';
|
|
16
|
-
import { m as main_43 } from './main-
|
|
16
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
|
-
import { c as clean_html_1 } from './entities-
|
|
18
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
19
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -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-754d4992.js';
|
|
19
19
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
@@ -244,23 +244,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
244
244
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
245
245
|
setAccessToken(cventAccessToken);
|
|
246
246
|
} else {
|
|
247
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
248
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
-
fetch(url, {
|
|
251
|
-
headers: {
|
|
252
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
253
|
-
Authorization: `Basic ${encodedData}`
|
|
254
|
-
},
|
|
255
|
-
method: 'POST',
|
|
256
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
257
|
-
})
|
|
258
|
-
.then((response) => response.json())
|
|
259
|
-
.then((json) => {
|
|
260
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
261
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
262
|
-
setAccessToken(json.access_token)
|
|
263
|
-
})
|
|
247
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
248
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
249
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
250
|
+
fetch(url, {
|
|
251
|
+
headers: {
|
|
252
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
253
|
+
Authorization: `Basic ${encodedData}`
|
|
254
|
+
},
|
|
255
|
+
method: 'POST',
|
|
256
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
257
|
+
})
|
|
258
|
+
.then((response) => response.json())
|
|
259
|
+
.then((json) => {
|
|
260
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
261
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
262
|
+
setAccessToken(json.access_token)
|
|
263
|
+
})
|
|
264
264
|
.catch((e) => console.log(e))*/
|
|
265
265
|
// hello
|
|
266
266
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -2,7 +2,7 @@ import { _ as _extends } from './extends-1559c147.js';
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
5
|
-
import { g as getSerializers } from './index-
|
|
5
|
+
import { g as getSerializers } from './index-6be9a1c4.js';
|
|
6
6
|
import { m as momentTimezone } from './index-30a6257d.js';
|
|
7
7
|
import { useRouter } from 'next/router';
|
|
8
8
|
import Button from 'react-bootstrap/Button';
|
|
@@ -23,7 +23,7 @@ import './_library-528f1934.js';
|
|
|
23
23
|
import './_set-species-2cd9340f.js';
|
|
24
24
|
import './_iter-detect-98db3b07.js';
|
|
25
25
|
import './Segment.js';
|
|
26
|
-
import './main-
|
|
26
|
+
import './main-754d4992.js';
|
|
27
27
|
import './urlForFile-f6485737.js';
|
|
28
28
|
import './index-755f2cc2.js';
|
|
29
29
|
import 'react-dom';
|
|
@@ -44,7 +44,7 @@ import 'next/head';
|
|
|
44
44
|
import 'react-share';
|
|
45
45
|
import './toConsumableArray-f7074d7c.js';
|
|
46
46
|
import 'react-bootstrap/Pagination';
|
|
47
|
-
import './entities-
|
|
47
|
+
import './entities-6d9154b4.js';
|
|
48
48
|
import './AdSlot.js';
|
|
49
49
|
import './debounce-533d9748.js';
|
|
50
50
|
import './isSymbol-a7e9aafe.js';
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import urlFor from './urlFor.js';
|
|
3
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
4
4
|
import Carousel from 'react-bootstrap/Carousel';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -11,16 +11,16 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
11
11
|
import { m as moment } from './moment-bc12cb97.js';
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
-
import { c as clean_html_1 } from './entities-
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
|
|
16
16
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
17
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
17
|
+
import { A as ADlgInfeed } from './ADlgInfeed-93bc2250.js';
|
|
18
18
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
19
19
|
import { g as get_1 } from './get-3c308da4.js';
|
|
20
20
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
21
21
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { m as main_43 } from './main-
|
|
23
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
24
24
|
import './AD.js';
|
|
25
25
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
26
26
|
import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
|
|
@@ -12,14 +12,14 @@ import Card from 'react-bootstrap/Card';
|
|
|
12
12
|
import { m as moment } from './moment-bc12cb97.js';
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
-
import { c as clean_html_1 } from './entities-
|
|
16
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
16
|
+
import { A as ADInfeed } from './ADInfeed-6d0c0856.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-93bc2250.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import { g as get_1 } from './get-3c308da4.js';
|
|
21
21
|
import urlFor from './urlFor.js';
|
|
22
|
-
import { m as main_43 } from './main-
|
|
22
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
23
23
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
24
24
|
import { P as PublicationFeature } from './PublicationFeature-3cc370de.js';
|
|
25
25
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -3,7 +3,7 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
4
4
|
import { N as NavFooter } from './NavFooter-1546a102.js';
|
|
5
5
|
import { S as SocialNavFooter } from './index.esm-35a42e7d.js';
|
|
6
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
6
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-6065bff2.js';
|
|
7
7
|
import 'react-bootstrap/Form';
|
|
8
8
|
import 'react-bootstrap/FormControl';
|
|
9
9
|
import 'react-bootstrap/Button';
|
|
@@ -15,7 +15,7 @@ import Navbar from 'react-bootstrap/Navbar';
|
|
|
15
15
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
16
16
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
17
17
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
18
|
-
import { m as main_43, c as main_44 } from './main-
|
|
18
|
+
import { m as main_43, c as main_44 } from './main-754d4992.js';
|
|
19
19
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
20
20
|
import './core.get-iterator-method-ea258bb1.js';
|
|
21
21
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -29,15 +29,15 @@ import './_set-species-2cd9340f.js';
|
|
|
29
29
|
import './_iter-detect-98db3b07.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
|
|
@@ -4,7 +4,7 @@ import Modal from 'react-bootstrap/Modal';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
6
6
|
|
|
7
|
-
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\
|
|
7
|
+
var css = ".HealthcareProfessionalModal-module_container__HUaSr {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n background: rgba(0,0,0,.1);\n z-index: 9999999999;\n display: grid;\n place-items: center;\n}\n.HealthcareProfessionalModal-module_modal__31CzM{\n background: #fff;\n padding: 1.5rem;\n text-align: center;\n position: relative;\n width: 400px;\n max-width: 90vw;\n\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n animation: HealthcareProfessionalModal-module_show__3soMo .5s forwards;\n transform: translateY(0);\n opacity:1;\n}\n.HealthcareProfessionalModal-module_header__3uIr7 {\n background-color: #0d335a;\nposition: absolute;\n padding: 1rem;\n width: 80%;\ntop: 0;\nleft: 50%;\ntransform: translateX(-50%) translateY(-50%) ;\n border-radius: 15px;\n}\n.HealthcareProfessionalModal-module_body__3bnyN {\n color: #202020;\n}\n.HealthcareProfessionalModal-module_body__3bnyN span{\n font-weight: bold;\n}\n.HealthcareProfessionalModal-module_body__3bnyN .HealthcareProfessionalModal-module_title__27l5n {\n font-size: 24px;\n margin-bottom: 1rem;\n}\n.HealthcareProfessionalModal-module_controls__1wXJl button {\n margin: 1.5rem 1rem;\n border-radius: 5px;\n font-size: 1rem;\n}\n@keyframes HealthcareProfessionalModal-module_show__3soMo {\n from{\n transform: translateY(25px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity:1;\n }\n}";
|
|
8
8
|
var styles = { "container": "HealthcareProfessionalModal-module_container__HUaSr", "modal": "HealthcareProfessionalModal-module_modal__31CzM", "show": "HealthcareProfessionalModal-module_show__3soMo", "header": "HealthcareProfessionalModal-module_header__3uIr7", "body": "HealthcareProfessionalModal-module_body__3bnyN", "title": "HealthcareProfessionalModal-module_title__27l5n", "controls": "HealthcareProfessionalModal-module_controls__1wXJl" };
|
|
9
9
|
styleInject(css);
|
|
10
10
|
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { Card } from 'react-bootstrap';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import ArticleCarousel from './ArticleCarousel.js';
|
|
4
4
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-6be9a1c4.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './YoutubeGroup.js';
|
|
@@ -16,7 +16,7 @@ import 'prop-types';
|
|
|
16
16
|
import './smoothscroll-fa4e3f8c.js';
|
|
17
17
|
import './urlFor.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import './main-
|
|
19
|
+
import './main-754d4992.js';
|
|
20
20
|
import './iconBase-ccc56b97.js';
|
|
21
21
|
import 'react-bootstrap';
|
|
22
22
|
import './index-5cc7b406.js';
|
|
@@ -46,7 +46,7 @@ import 'next/head';
|
|
|
46
46
|
import 'react-share';
|
|
47
47
|
import './toConsumableArray-f7074d7c.js';
|
|
48
48
|
import 'react-bootstrap/Pagination';
|
|
49
|
-
import './entities-
|
|
49
|
+
import './entities-6d9154b4.js';
|
|
50
50
|
import './AdSlot.js';
|
|
51
51
|
import './debounce-533d9748.js';
|
|
52
52
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-23a8f8cd.js';
|
|
1
2
|
import React__default, { createContext, Component, forwardRef, PureComponent, useRef, useState, useEffect } from 'react';
|
|
2
3
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
@@ -5,69 +6,6 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
5
6
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
7
|
import urlFor from './urlFor.js';
|
|
7
8
|
|
|
8
|
-
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
9
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10
|
-
try {
|
|
11
|
-
var info = gen[key](arg);
|
|
12
|
-
var value = info.value;
|
|
13
|
-
} catch (error) {
|
|
14
|
-
reject(error);
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (info.done) {
|
|
19
|
-
resolve(value);
|
|
20
|
-
} else {
|
|
21
|
-
Promise.resolve(value).then(_next, _throw);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function _asyncToGenerator(fn) {
|
|
26
|
-
return function () {
|
|
27
|
-
var self = this,
|
|
28
|
-
args = arguments;
|
|
29
|
-
return new Promise(function (resolve, reject) {
|
|
30
|
-
var gen = fn.apply(self, args);
|
|
31
|
-
|
|
32
|
-
function _next(value) {
|
|
33
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function _throw(err) {
|
|
37
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
_next(undefined);
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
49
|
-
|
|
50
|
-
var defineProperty = createCommonjsModule(function (module) {
|
|
51
|
-
function _defineProperty(obj, key, value) {
|
|
52
|
-
if (key in obj) {
|
|
53
|
-
Object.defineProperty(obj, key, {
|
|
54
|
-
value: value,
|
|
55
|
-
enumerable: true,
|
|
56
|
-
configurable: true,
|
|
57
|
-
writable: true
|
|
58
|
-
});
|
|
59
|
-
} else {
|
|
60
|
-
obj[key] = value;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return obj;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
var _defineProperty = unwrapExports(defineProperty);
|
|
70
|
-
|
|
71
9
|
var canUseDOM = !!(
|
|
72
10
|
typeof window !== 'undefined' &&
|
|
73
11
|
window.document &&
|
|
@@ -92,7 +30,8 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
92
30
|
return target;
|
|
93
31
|
}
|
|
94
32
|
|
|
95
|
-
module.exports = _objectWithoutPropertiesLoose
|
|
33
|
+
module.exports = _objectWithoutPropertiesLoose;
|
|
34
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
96
35
|
});
|
|
97
36
|
|
|
98
37
|
unwrapExports(objectWithoutPropertiesLoose);
|
|
@@ -117,7 +56,8 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
117
56
|
return target;
|
|
118
57
|
}
|
|
119
58
|
|
|
120
|
-
module.exports = _objectWithoutProperties
|
|
59
|
+
module.exports = _objectWithoutProperties;
|
|
60
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
121
61
|
});
|
|
122
62
|
|
|
123
63
|
var _objectWithoutProperties = unwrapExports(objectWithoutProperties);
|
|
@@ -882,11 +822,14 @@ function _extends() {
|
|
|
882
822
|
}
|
|
883
823
|
|
|
884
824
|
return target;
|
|
885
|
-
}
|
|
825
|
+
};
|
|
826
|
+
|
|
827
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
886
828
|
return _extends.apply(this, arguments);
|
|
887
829
|
}
|
|
888
830
|
|
|
889
|
-
module.exports = _extends
|
|
831
|
+
module.exports = _extends;
|
|
832
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
890
833
|
});
|
|
891
834
|
|
|
892
835
|
var _extends = unwrapExports(_extends_1);
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-6be9a1c4.js';
|
|
7
7
|
import { PixelTrackingLandingPages } from './PixelTracking.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -22,9 +22,9 @@ import './index-5cc7b406.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
26
|
-
import './entities-
|
|
27
|
-
import './ADInfeed-
|
|
25
|
+
import './main-754d4992.js';
|
|
26
|
+
import './entities-6d9154b4.js';
|
|
27
|
+
import './ADInfeed-6d0c0856.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -38,7 +38,7 @@ import './_set-species-2cd9340f.js';
|
|
|
38
38
|
import './Segment.js';
|
|
39
39
|
import './AuthorComponent-11adff02.js';
|
|
40
40
|
import './lodash-f97fd99a.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-93bc2250.js';
|
|
42
42
|
import './getContentCategory-15dcc413.js';
|
|
43
43
|
import './timeDifferenceCalc.js';
|
|
44
44
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -72,35 +72,35 @@ import 'react-bootstrap/Tooltip';
|
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
73
|
import './checkSisterSite-a7218fda.js';
|
|
74
74
|
|
|
75
|
-
/* usage
|
|
76
|
-
import Settings, { Ads } from '../../../../settings'
|
|
77
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
-
import client from '../../../../client'
|
|
79
|
-
import moment from 'moment'
|
|
80
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
-
|
|
83
|
-
const Issue = (props) => {
|
|
84
|
-
const { pubIssue, cache } = props
|
|
85
|
-
const targeting = {
|
|
86
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
-
}
|
|
89
|
-
return (
|
|
90
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
-
</Shell>
|
|
93
|
-
)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
Issue.getInitialProps = async (ctx) => {
|
|
97
|
-
const { query } = ctx
|
|
98
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
-
)
|
|
100
|
-
return { pubIssue }
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export default Issue
|
|
75
|
+
/* usage
|
|
76
|
+
import Settings, { Ads } from '../../../../settings'
|
|
77
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
+
import client from '../../../../client'
|
|
79
|
+
import moment from 'moment'
|
|
80
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
+
|
|
83
|
+
const Issue = (props) => {
|
|
84
|
+
const { pubIssue, cache } = props
|
|
85
|
+
const targeting = {
|
|
86
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
+
}
|
|
89
|
+
return (
|
|
90
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
+
</Shell>
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Issue.getInitialProps = async (ctx) => {
|
|
97
|
+
const { query } = ctx
|
|
98
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
+
)
|
|
100
|
+
return { pubIssue }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export default Issue
|
|
104
104
|
*/
|
|
105
105
|
|
|
106
106
|
var IssueLanding = function IssueLanding(props) {
|