@mjhls/mjh-framework 1.0.533 → 1.0.535
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -172
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -3
- package/dist/cjs/AD300x250x600.js +3 -3
- package/dist/cjs/AD728x90.js +4 -4
- package/dist/cjs/ADFloatingFooter.js +5 -5
- package/dist/cjs/ADGutter.js +2 -2
- package/dist/cjs/ADSponsoredResources.js +2 -2
- package/dist/cjs/ADWebcast.js +2 -2
- package/dist/cjs/ADWelcome.js +2 -2
- package/dist/cjs/AdSlot.js +2 -2
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/ArticleQueue.js +10 -11
- package/dist/cjs/Auth.js +301 -250
- package/dist/cjs/{BlockContent-77f81ffc.js → BlockContent-f942392e.js} +1 -1
- package/dist/cjs/CMEDeck.js +5 -5
- package/dist/cjs/Column3.js +4 -4
- package/dist/cjs/ConferenceArticleCard.js +17 -17
- package/dist/cjs/DeckContent.js +15 -15
- package/dist/cjs/DeckQueue.js +6 -6
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-fbe32b96.js} +1 -1
- package/dist/cjs/EventsDeck.js +22 -22
- package/dist/cjs/ExternalResources.js +6 -7
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +10 -10
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +5 -5
- package/dist/cjs/HamMagazine.js +11 -11
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueContentDeck.js +2 -2
- package/dist/cjs/IssueDeck.js +2 -2
- package/dist/cjs/IssueLanding.js +36 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -2
- package/dist/cjs/MasterDeck.js +16 -16
- package/dist/cjs/NavMagazine.js +12 -12
- package/dist/cjs/NavNative.js +11 -11
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +20 -1217
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +9 -9
- package/dist/cjs/RelatedContent.js +30 -30
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +2 -2
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesFilter.js +1 -1
- package/dist/cjs/VideoSeriesListing.js +4 -4
- package/dist/cjs/View.js +38 -39
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +589 -443
- package/dist/cjs/{getTargeting-3d208b98.js → getTargeting-b15993cb.js} +11 -11
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-3294d3bc.js → index-5be2866f.js} +1 -1
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-fa3cec70.js → index-f7ee1612.js} +4 -6
- package/dist/cjs/{index.es-9110add6.js → index.es-ab3f2690.js} +3 -1
- package/dist/cjs/index.js +11 -11
- package/dist/cjs/{main-88348b15.js → main-bc4db521.js} +66 -35
- package/dist/cjs/{moment-575fe24c.js → moment-66a6a284.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -3
- package/dist/esm/AD300x250x600.js +3 -3
- package/dist/esm/AD728x90.js +4 -4
- package/dist/esm/ADFloatingFooter.js +5 -5
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/ArticleQueue.js +10 -11
- package/dist/esm/Auth.js +298 -247
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-a614acdf.js} +1 -1
- package/dist/esm/CMEDeck.js +5 -5
- package/dist/esm/Column3.js +4 -4
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/DeckContent.js +15 -15
- package/dist/esm/DeckQueue.js +6 -6
- package/dist/esm/{Dfp-81a052c2.js → Dfp-ae9336e2.js} +1 -1
- package/dist/esm/EventsDeck.js +22 -22
- package/dist/esm/ExternalResources.js +6 -7
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +2 -2
- package/dist/esm/GridContent.js +10 -10
- package/dist/esm/GridHero.js +2 -2
- package/dist/esm/GroupDeck.js +5 -5
- package/dist/esm/HamMagazine.js +11 -11
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalHero.js +2 -2
- package/dist/esm/IssueContentDeck.js +2 -2
- package/dist/esm/IssueDeck.js +2 -2
- package/dist/esm/IssueLanding.js +36 -36
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -2
- package/dist/esm/MasterDeck.js +16 -16
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +11 -11
- package/dist/esm/OncliveHero.js +2 -2
- package/dist/esm/OncliveLargeHero.js +2 -2
- package/dist/esm/PartnerDetailListing.js +18 -1215
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +9 -9
- package/dist/esm/RelatedContent.js +30 -30
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyCard.js +2 -2
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesListing.js +4 -4
- package/dist/esm/View.js +13 -14
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +589 -443
- package/dist/esm/{getTargeting-1f2c61e3.js → getTargeting-1a0bd08d.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-3f4dd6f2.js → index-93ec3c59.js} +4 -6
- package/dist/esm/{index-ef6d5dcf.js → index-d2f90501.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +11 -11
- package/dist/esm/{main-d7ee6151.js → main-7255814e.js} +65 -34
- package/dist/esm/{moment-e2f9b20c.js → moment-12415288.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/package.json +107 -107
- package/dist/cjs/Figure-eeac313a.js +0 -154
- package/dist/esm/Figure-bc2b95d7.js +0 -149
- /package/dist/cjs/{ADInfeed-d8e47444.js → ADInfeed-3404200f.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-947c3a47.js → ADlgInfeed-2611e1a9.js} +0 -0
- /package/dist/esm/{ADInfeed-2eb234ae.js → ADInfeed-27674dc6.js} +0 -0
- /package/dist/esm/{ADlgInfeed-17c13711.js → ADlgInfeed-43060a77.js} +0 -0
package/dist/esm/Column3.js
CHANGED
|
@@ -5,13 +5,13 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-6e099a34.js';
|
|
6
6
|
import './web.dom.iterable-46c95e52.js';
|
|
7
7
|
import React__default, { useRef, useEffect } from 'react';
|
|
8
|
-
import './index-
|
|
8
|
+
import './index-93ec3c59.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import Row from 'react-bootstrap/Row';
|
|
11
11
|
import Col from 'react-bootstrap/Col';
|
|
12
12
|
import './isSymbol-b7b7434f.js';
|
|
13
13
|
import './debounce-048d9cb6.js';
|
|
14
|
-
import { m as
|
|
14
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
15
15
|
import './slicedToArray-f1e40361.js';
|
|
16
16
|
import './stringify-e30bc114.js';
|
|
17
17
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -45,7 +45,7 @@ var Column3 = function Column3(props) {
|
|
|
45
45
|
var adRef = useRef(null);
|
|
46
46
|
|
|
47
47
|
useEffect(function () {
|
|
48
|
-
if (!
|
|
48
|
+
if (!main_39 && window.innerWidth >= 768) {
|
|
49
49
|
var navbar = document.querySelector('.navbar');
|
|
50
50
|
var AdOffsetTop = adRef.current.getBoundingClientRect().top;
|
|
51
51
|
window.addEventListener('scroll', function () {
|
|
@@ -105,7 +105,7 @@ var Column3 = function Column3(props) {
|
|
|
105
105
|
{ jsx: 'true' },
|
|
106
106
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
107
107
|
),
|
|
108
|
-
(!
|
|
108
|
+
(!main_39 || showRightAd) && React__default.createElement(
|
|
109
109
|
Col,
|
|
110
110
|
{ xs: 12, className: 'rightCol' },
|
|
111
111
|
website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { m as moment } from './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { m as moment } from './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
Example usage - targetedonc.com/latest-conference
|
|
8
|
-
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] {
|
|
9
|
-
...,
|
|
10
|
-
title,
|
|
11
|
-
summary,
|
|
12
|
-
thumbnail,
|
|
13
|
-
url,
|
|
14
|
-
published,
|
|
15
|
-
documentGroup->,
|
|
16
|
-
contentCategory->,
|
|
17
|
-
'pageNumber': ${currentPage}
|
|
18
|
-
}`
|
|
19
|
-
|
|
20
|
-
const posts = await client.fetch(query, params)
|
|
6
|
+
/*
|
|
7
|
+
Example usage - targetedonc.com/latest-conference
|
|
8
|
+
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] {
|
|
9
|
+
...,
|
|
10
|
+
title,
|
|
11
|
+
summary,
|
|
12
|
+
thumbnail,
|
|
13
|
+
url,
|
|
14
|
+
published,
|
|
15
|
+
documentGroup->,
|
|
16
|
+
contentCategory->,
|
|
17
|
+
'pageNumber': ${currentPage}
|
|
18
|
+
}`
|
|
19
|
+
|
|
20
|
+
const posts = await client.fetch(query, params)
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -13,22 +13,22 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
13
13
|
import './typeof-5f046efd.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
15
|
import React__default from 'react';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import Row from 'react-bootstrap/Row';
|
|
20
20
|
import Col from 'react-bootstrap/Col';
|
|
21
21
|
import Card from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
23
|
import { withRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-b7b7434f.js';
|
|
25
25
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import { i as imageUrlBuilder } from './index-
|
|
29
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
30
30
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
31
|
-
import { m as
|
|
31
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
32
32
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
33
|
import './slicedToArray-f1e40361.js';
|
|
34
34
|
import './stringify-e30bc114.js';
|
|
@@ -36,7 +36,7 @@ import './asyncToGenerator-0379e924.js';
|
|
|
36
36
|
import './_set-species-6f64f1c1.js';
|
|
37
37
|
import './beam-a25bd8fd.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
+
import { A as ADInfeed } from './ADInfeed-27674dc6.js';
|
|
40
40
|
|
|
41
41
|
var DeckContent = function (_React$Component) {
|
|
42
42
|
_inherits(DeckContent, _React$Component);
|
|
@@ -177,14 +177,14 @@ var DeckContent = function (_React$Component) {
|
|
|
177
177
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
178
178
|
|
|
179
179
|
// please leave this for later debug purpose : Yong Jun.
|
|
180
|
-
/* console.log('page change reported', {
|
|
181
|
-
currentPage: currentPage,
|
|
182
|
-
pageNumber: pageNumber,
|
|
183
|
-
pathname: pathname,
|
|
184
|
-
path: path,
|
|
185
|
-
newPath: newPath,
|
|
186
|
-
firstPage: pageNumber === 1,
|
|
187
|
-
queryString: queryString
|
|
180
|
+
/* console.log('page change reported', {
|
|
181
|
+
currentPage: currentPage,
|
|
182
|
+
pageNumber: pageNumber,
|
|
183
|
+
pathname: pathname,
|
|
184
|
+
path: path,
|
|
185
|
+
newPath: newPath,
|
|
186
|
+
firstPage: pageNumber === 1,
|
|
187
|
+
queryString: queryString
|
|
188
188
|
}) */
|
|
189
189
|
|
|
190
190
|
if (pageview) {
|
|
@@ -347,7 +347,7 @@ var DeckContent = function (_React$Component) {
|
|
|
347
347
|
)
|
|
348
348
|
)
|
|
349
349
|
),
|
|
350
|
-
|
|
350
|
+
main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
351
351
|
);
|
|
352
352
|
}
|
|
353
353
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -13,22 +13,22 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
13
13
|
import './typeof-5f046efd.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
15
|
import React__default from 'react';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import Row from 'react-bootstrap/Row';
|
|
20
20
|
import Col from 'react-bootstrap/Col';
|
|
21
21
|
import Card from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
23
|
import { withRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-b7b7434f.js';
|
|
25
25
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import { i as imageUrlBuilder } from './index-
|
|
29
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
30
30
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
31
|
-
import { m as
|
|
31
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
32
32
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
33
|
import './_arrayMap-64cbe0e4.js';
|
|
34
34
|
import { g as get_1 } from './get-0eb56363.js';
|
|
@@ -300,7 +300,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
300
300
|
)
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
|
|
303
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
304
304
|
);
|
|
305
305
|
})
|
|
306
306
|
);
|
|
@@ -3,7 +3,7 @@ import './_to-object-16fd8b46.js';
|
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
5
|
import React__default, { useState } from 'react';
|
|
6
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
6
|
+
import { b as lib_1, a as lib_2 } from './index-93ec3c59.js';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
8
|
import './isSymbol-b7b7434f.js';
|
|
9
9
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -10,14 +10,14 @@ import Container from 'react-bootstrap/Container';
|
|
|
10
10
|
import Row from 'react-bootstrap/Row';
|
|
11
11
|
import Col from 'react-bootstrap/Col';
|
|
12
12
|
import Card from 'react-bootstrap/Card';
|
|
13
|
-
import './moment-
|
|
14
|
-
import { I as InfiniteScroll } from './index.es-
|
|
15
|
-
import { m as
|
|
13
|
+
import './moment-12415288.js';
|
|
14
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
15
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
16
16
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
17
17
|
import { _ as _JSON$stringify } from './stringify-e30bc114.js';
|
|
18
18
|
import Button from 'react-bootstrap/Button';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
|
-
import { m as momentTimezone } from './index-
|
|
20
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
21
21
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
22
22
|
|
|
23
23
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
@@ -147,23 +147,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
147
147
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
148
148
|
setAccessToken(cventAccessToken);
|
|
149
149
|
} else {
|
|
150
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
151
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
153
|
-
fetch(url, {
|
|
154
|
-
headers: {
|
|
155
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
156
|
-
Authorization: `Basic ${encodedData}`
|
|
157
|
-
},
|
|
158
|
-
method: 'POST',
|
|
159
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
160
|
-
})
|
|
161
|
-
.then((response) => response.json())
|
|
162
|
-
.then((json) => {
|
|
163
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
164
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
165
|
-
setAccessToken(json.access_token)
|
|
166
|
-
})
|
|
150
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
151
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
153
|
+
fetch(url, {
|
|
154
|
+
headers: {
|
|
155
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
156
|
+
Authorization: `Basic ${encodedData}`
|
|
157
|
+
},
|
|
158
|
+
method: 'POST',
|
|
159
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
160
|
+
})
|
|
161
|
+
.then((response) => response.json())
|
|
162
|
+
.then((json) => {
|
|
163
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
164
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
165
|
+
setAccessToken(json.access_token)
|
|
166
|
+
})
|
|
167
167
|
.catch((e) => console.log(e))*/
|
|
168
168
|
// hello
|
|
169
169
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -369,7 +369,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
369
369
|
)
|
|
370
370
|
)
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ style: { margin: '0 auto' } },
|
|
375
375
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
@@ -10,16 +10,16 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
10
10
|
import './typeof-5f046efd.js';
|
|
11
11
|
import './_is-array-dd5523d6.js';
|
|
12
12
|
import React__default, { useState, useEffect } from 'react';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-93ec3c59.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-12415288.js';
|
|
16
16
|
import { useRouter } from 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
20
|
+
import './index-51a80699.js';
|
|
21
21
|
import './index-5f9f807a.js';
|
|
22
|
-
import './main-
|
|
22
|
+
import './main-7255814e.js';
|
|
23
23
|
import './entities-7cc3bf45.js';
|
|
24
24
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
25
25
|
import './stringify-e30bc114.js';
|
|
@@ -27,17 +27,16 @@ import './asyncToGenerator-0379e924.js';
|
|
|
27
27
|
import './_set-species-6f64f1c1.js';
|
|
28
28
|
import './beam-a25bd8fd.js';
|
|
29
29
|
import './AdSlot.js';
|
|
30
|
-
import { B as BlockContent } from './BlockContent-
|
|
30
|
+
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
31
31
|
import './smoothscroll-4b699764.js';
|
|
32
32
|
import './GroupDeck.js';
|
|
33
33
|
import 'react-bootstrap';
|
|
34
34
|
import Button from 'react-bootstrap/Button';
|
|
35
|
-
import { m as momentTimezone } from './index-
|
|
35
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
36
36
|
import getSerializers from './getSerializers.js';
|
|
37
37
|
import './util-7700fc59.js';
|
|
38
38
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
39
39
|
import 'react-bootstrap/Pagination';
|
|
40
|
-
import 'next/dynamic';
|
|
41
40
|
|
|
42
41
|
var ExternalResources = function ExternalResources(props) {
|
|
43
42
|
var resources = props.resources,
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
-
import { m as
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
5
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
6
6
|
|
|
7
7
|
//Feature query to be used
|
|
@@ -34,7 +34,7 @@ var Feature = function Feature(props) {
|
|
|
34
34
|
};
|
|
35
35
|
//image width
|
|
36
36
|
var imageWidth = 900;
|
|
37
|
-
if (
|
|
37
|
+
if (main_39) {
|
|
38
38
|
imageWidth = 450;
|
|
39
39
|
}
|
|
40
40
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -4,9 +4,9 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
|
-
import { m as moment } from './moment-
|
|
7
|
+
import { m as moment } from './moment-12415288.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import './slicedToArray-f1e40361.js';
|
|
12
12
|
import { A as AuthorComponent } from './AuthorComponent-158226c9.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -13,22 +13,22 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
13
13
|
import './typeof-5f046efd.js';
|
|
14
14
|
import './_is-array-dd5523d6.js';
|
|
15
15
|
import React__default from 'react';
|
|
16
|
-
import { l as lib_3 } from './index-
|
|
16
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import Container from 'react-bootstrap/Container';
|
|
19
19
|
import Row from 'react-bootstrap/Row';
|
|
20
20
|
import Col from 'react-bootstrap/Col';
|
|
21
21
|
import Card from 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-12415288.js';
|
|
23
23
|
import { withRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-b7b7434f.js';
|
|
25
25
|
import { d as debounce_1 } from './debounce-048d9cb6.js';
|
|
26
|
-
import { I as InfiniteScroll } from './index.es-
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import { i as imageUrlBuilder } from './index-
|
|
29
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
30
30
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
31
|
-
import { m as
|
|
31
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
32
32
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
33
33
|
import './slicedToArray-f1e40361.js';
|
|
34
34
|
import './stringify-e30bc114.js';
|
|
@@ -36,9 +36,9 @@ import './asyncToGenerator-0379e924.js';
|
|
|
36
36
|
import './_set-species-6f64f1c1.js';
|
|
37
37
|
import './beam-a25bd8fd.js';
|
|
38
38
|
import './AdSlot.js';
|
|
39
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
39
|
+
import { A as ADInfeed } from './ADInfeed-27674dc6.js';
|
|
40
40
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
41
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
41
|
+
import { A as ADlgInfeed } from './ADlgInfeed-43060a77.js';
|
|
42
42
|
import './_arrayMap-64cbe0e4.js';
|
|
43
43
|
import { g as get_1 } from './get-0eb56363.js';
|
|
44
44
|
import './AD.js';
|
|
@@ -507,7 +507,7 @@ var GridContent = function (_React$Component) {
|
|
|
507
507
|
)
|
|
508
508
|
),
|
|
509
509
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
510
|
-
|
|
510
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
511
511
|
);
|
|
512
512
|
} else {
|
|
513
513
|
return React__default.createElement(
|
|
@@ -571,7 +571,7 @@ var GridContent = function (_React$Component) {
|
|
|
571
571
|
)
|
|
572
572
|
),
|
|
573
573
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
574
|
-
|
|
574
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
575
575
|
);
|
|
576
576
|
}
|
|
577
577
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -641,7 +641,7 @@ var GridContent = function (_React$Component) {
|
|
|
641
641
|
)
|
|
642
642
|
),
|
|
643
643
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
644
|
-
|
|
644
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
645
645
|
);
|
|
646
646
|
} else return null;
|
|
647
647
|
}) : React__default.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -4,9 +4,9 @@ import './core.get-iterator-method-f5c0d66a.js';
|
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
|
-
import { m as moment } from './moment-
|
|
7
|
+
import { m as moment } from './moment-12415288.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import { i as imageUrlBuilder } from './index-
|
|
9
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
10
10
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
11
11
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
12
12
|
import './slicedToArray-f1e40361.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -7,14 +7,14 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
7
7
|
import { _ as _typeof } from './typeof-5f046efd.js';
|
|
8
8
|
import './_is-array-dd5523d6.js';
|
|
9
9
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
10
|
-
import { i as imageUrlBuilder } from './index-
|
|
10
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
12
12
|
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
GROQ query -
|
|
16
|
-
accepts an array of title, URL
|
|
17
|
-
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
14
|
+
/*
|
|
15
|
+
GROQ query -
|
|
16
|
+
accepts an array of title, URL
|
|
17
|
+
`https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
var GroupDeck = function GroupDeck(props) {
|
package/dist/esm/HamMagazine.js
CHANGED
|
@@ -7,7 +7,7 @@ import './web.dom.iterable-46c95e52.js';
|
|
|
7
7
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import Container from 'react-bootstrap/Container';
|
|
10
|
-
import { m as
|
|
10
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
11
11
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
12
12
|
import './stringify-e30bc114.js';
|
|
13
13
|
import './asyncToGenerator-0379e924.js';
|
|
@@ -28,15 +28,15 @@ import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
|
28
28
|
import { S as SocialNavFooter } from './SocialNavFooter-4fb16720.js';
|
|
29
29
|
|
|
30
30
|
var HamMagazine = function HamMagazine(props) {
|
|
31
|
-
/*
|
|
32
|
-
Example Nav with acceptable props
|
|
33
|
-
<MagazineNav
|
|
34
|
-
showLogin
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
31
|
+
/*
|
|
32
|
+
Example Nav with acceptable props
|
|
33
|
+
<MagazineNav
|
|
34
|
+
showLogin
|
|
35
|
+
logo={props.settings.logo}
|
|
36
|
+
dataObject={props.cache.mainNavCache}
|
|
37
|
+
website={website}
|
|
38
|
+
subNav={props.cache.subNavCache}
|
|
39
|
+
/>
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
var logo = props.logo,
|
|
@@ -189,7 +189,7 @@ var HamMagazine = function HamMagazine(props) {
|
|
|
189
189
|
|
|
190
190
|
return React__default.createElement(
|
|
191
191
|
'header',
|
|
192
|
-
{ className: !
|
|
192
|
+
{ className: !main_39 && isOpen ? 'nav-open' : 'nav-close', style: { zIndex: '99999' } },
|
|
193
193
|
React__default.createElement(
|
|
194
194
|
Navbar,
|
|
195
195
|
{ expand: 'md', ref: topNavRef },
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
5
5
|
import { Card } from 'react-bootstrap';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import './moment-12415288.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
import './iconBase-6ee2f2fb.js';
|
|
6
6
|
import { a as FaLongArrowAltRight } from './index.esm-a7ad65ba.js';
|
|
7
7
|
|
|
@@ -7,9 +7,9 @@ import 'prop-types';
|
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-12415288.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
13
13
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
14
|
import './slicedToArray-f1e40361.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-158226c9.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -12,9 +12,9 @@ import 'prop-types';
|
|
|
12
12
|
import Row from 'react-bootstrap/Row';
|
|
13
13
|
import Col from 'react-bootstrap/Col';
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-
|
|
15
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import { i as imageUrlBuilder } from './index-
|
|
17
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
18
18
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
19
19
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
20
20
|
import Button from 'react-bootstrap/Button';
|
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -9,19 +9,19 @@ import './_object-pie-33c40e79.js';
|
|
|
9
9
|
import './extends-6e00b262.js';
|
|
10
10
|
import './web.dom.iterable-46c95e52.js';
|
|
11
11
|
import React__default from 'react';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-93ec3c59.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-
|
|
15
|
+
import './moment-12415288.js';
|
|
16
16
|
import 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
|
-
import './index.es-
|
|
19
|
+
import './index.es-938a3a58.js';
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import './visibility-sensor-0baa4eea.js';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-51a80699.js';
|
|
23
23
|
import './index-5f9f807a.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-7255814e.js';
|
|
25
25
|
import './entities-7cc3bf45.js';
|
|
26
26
|
import './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,44 +29,44 @@ import './asyncToGenerator-0379e924.js';
|
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
30
|
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './ADInfeed-
|
|
32
|
+
import './ADInfeed-27674dc6.js';
|
|
33
33
|
import './lodash-17fdfebb.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
34
|
+
import './ADlgInfeed-43060a77.js';
|
|
35
35
|
import './AuthorComponent-158226c9.js';
|
|
36
36
|
import 'react-bootstrap';
|
|
37
37
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
38
38
|
import 'react-bootstrap/Breadcrumb';
|
|
39
39
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
40
40
|
|
|
41
|
-
/* usage
|
|
42
|
-
import Settings, { Ads } from '../../../../settings'
|
|
43
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
44
|
-
import client from '../../../../client'
|
|
45
|
-
import moment from 'moment'
|
|
46
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
47
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
48
|
-
|
|
49
|
-
const Issue = (props) => {
|
|
50
|
-
const { pubIssue, cache } = props
|
|
51
|
-
const targeting = {
|
|
52
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
-
}
|
|
55
|
-
return (
|
|
56
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
57
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
58
|
-
</Shell>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
Issue.getInitialProps = async (ctx) => {
|
|
63
|
-
const { query } = ctx
|
|
64
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
65
|
-
)
|
|
66
|
-
return { pubIssue }
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export default Issue
|
|
41
|
+
/* usage
|
|
42
|
+
import Settings, { Ads } from '../../../../settings'
|
|
43
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
44
|
+
import client from '../../../../client'
|
|
45
|
+
import moment from 'moment'
|
|
46
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
47
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
48
|
+
|
|
49
|
+
const Issue = (props) => {
|
|
50
|
+
const { pubIssue, cache } = props
|
|
51
|
+
const targeting = {
|
|
52
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
53
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
54
|
+
}
|
|
55
|
+
return (
|
|
56
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
57
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
58
|
+
</Shell>
|
|
59
|
+
)
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Issue.getInitialProps = async (ctx) => {
|
|
63
|
+
const { query } = ctx
|
|
64
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
65
|
+
)
|
|
66
|
+
return { pubIssue }
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export default Issue
|
|
70
70
|
*/
|
|
71
71
|
|
|
72
72
|
var IssueLanding = function IssueLanding(props) {
|