@mjhls/mjh-framework 1.0.604 → 1.0.605
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/ADSkyscraper.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 +12 -12
- package/dist/cjs/Auth.js +507 -256
- 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 +16 -16
- package/dist/cjs/DeckQueue.js +7 -7
- package/dist/cjs/{Dfp-fcdeabc4.js → Dfp-fbe32b96.js} +1 -1
- package/dist/cjs/EventsDeck.js +22 -22
- package/dist/cjs/ExternalResources.js +8 -8
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +2 -2
- package/dist/cjs/GridContent.js +11 -11
- 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 +17 -17
- 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 +16 -1212
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +33 -33
- package/dist/cjs/QueueDeckExpanded.js +9 -9
- package/dist/cjs/RecentNews.js +2 -2
- 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 +5 -5
- package/dist/cjs/View.js +42 -42
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getRelatedArticle.js +5 -354
- package/dist/cjs/getSerializers.js +7 -7
- package/dist/cjs/{getTargeting-5db63100.js → getTargeting-5a0b8ee4.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-f745a50a.js → index-69c35219.js} +457 -445
- 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 +16 -15
- package/dist/cjs/{inherits-14962339.js → inherits-93684212.js} +4 -4
- 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/ADSkyscraper.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 +11 -11
- package/dist/esm/Auth.js +499 -248
- 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-380bef62.js → Dfp-40c70a33.js} +1 -1
- package/dist/esm/EventsDeck.js +22 -22
- package/dist/esm/ExternalResources.js +7 -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 +13 -1209
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +33 -33
- package/dist/esm/QueueDeckExpanded.js +9 -9
- package/dist/esm/RecentNews.js +2 -2
- 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 +17 -17
- package/dist/esm/YahooHero.js +2 -2
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/getRelatedArticle.js +5 -354
- package/dist/esm/getSerializers.js +6 -6
- package/dist/esm/{getTargeting-36bcd238.js → getTargeting-962c9cf6.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-599efdf0.js → index-e07f3300.js} +456 -444
- package/dist/esm/{index.es-29c1cef5.js → index.es-938a3a58.js} +3 -1
- package/dist/esm/index.js +14 -13
- 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/index-bd6c9f56.js +0 -211
- package/dist/esm/index-db3bb315.js +0 -207
- /package/dist/cjs/{ADInfeed-df340285.js → ADInfeed-17a378db.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2110d08c.js → ADlgInfeed-070d911c.js} +0 -0
- /package/dist/esm/{ADInfeed-541eaae3.js → ADInfeed-0c1bcd33.js} +0 -0
- /package/dist/esm/{ADlgInfeed-25c3d142.js → ADlgInfeed-a2518bca.js} +0 -0
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -8,16 +8,16 @@ import './_object-pie-33c40e79.js';
|
|
|
8
8
|
import { _ as _extends } from './extends-229166d5.js';
|
|
9
9
|
import './web.dom.iterable-5c830d3d.js';
|
|
10
10
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
11
|
-
import { l as lib_3 } from './index-
|
|
11
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './moment-
|
|
13
|
+
import './moment-12415288.js';
|
|
14
14
|
import { useRouter } from 'next/router';
|
|
15
15
|
import './isSymbol-47f5ff3b.js';
|
|
16
16
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
17
|
-
import { I as InfiniteScroll } from './index.es-
|
|
17
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
20
|
-
import { m as
|
|
20
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
21
21
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
22
22
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-d25aac66.js';
|
|
23
23
|
import './_set-species-75f77d40.js';
|
|
@@ -293,7 +293,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
293
293
|
)
|
|
294
294
|
)
|
|
295
295
|
),
|
|
296
|
-
|
|
296
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
297
297
|
'div',
|
|
298
298
|
{ style: { margin: '0 auto' } },
|
|
299
299
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
package/dist/esm/Column3.js
CHANGED
|
@@ -5,13 +5,13 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-70af34ea.js';
|
|
6
6
|
import './web.dom.iterable-5c830d3d.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-47f5ff3b.js';
|
|
13
13
|
import './debounce-a0d9abca.js';
|
|
14
|
-
import { m as
|
|
14
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
15
15
|
import './slicedToArray-a58d7edf.js';
|
|
16
16
|
import './stringify-feadff37.js';
|
|
17
17
|
import './asyncToGenerator-d25aac66.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
|
@@ -12,22 +12,22 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
12
12
|
import './typeof-f11fd438.js';
|
|
13
13
|
import './_is-array-ced12663.js';
|
|
14
14
|
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
18
|
import Row from 'react-bootstrap/Row';
|
|
19
19
|
import Col from 'react-bootstrap/Col';
|
|
20
20
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-12415288.js';
|
|
22
22
|
import { withRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-47f5ff3b.js';
|
|
24
24
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import { i as imageUrlBuilder } from './index-
|
|
28
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
29
29
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
30
|
-
import { m as
|
|
30
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
31
31
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
32
32
|
import './slicedToArray-a58d7edf.js';
|
|
33
33
|
import './stringify-feadff37.js';
|
|
@@ -35,7 +35,7 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
35
35
|
import './_set-species-75f77d40.js';
|
|
36
36
|
import './beam-c40d77ae.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-0c1bcd33.js';
|
|
39
39
|
|
|
40
40
|
var DeckContent = function (_React$Component) {
|
|
41
41
|
_inherits(DeckContent, _React$Component);
|
|
@@ -176,14 +176,14 @@ var DeckContent = function (_React$Component) {
|
|
|
176
176
|
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
177
177
|
|
|
178
178
|
// please leave this for later debug purpose : Yong Jun.
|
|
179
|
-
/* console.log('page change reported', {
|
|
180
|
-
currentPage: currentPage,
|
|
181
|
-
pageNumber: pageNumber,
|
|
182
|
-
pathname: pathname,
|
|
183
|
-
path: path,
|
|
184
|
-
newPath: newPath,
|
|
185
|
-
firstPage: pageNumber === 1,
|
|
186
|
-
queryString: queryString
|
|
179
|
+
/* console.log('page change reported', {
|
|
180
|
+
currentPage: currentPage,
|
|
181
|
+
pageNumber: pageNumber,
|
|
182
|
+
pathname: pathname,
|
|
183
|
+
path: path,
|
|
184
|
+
newPath: newPath,
|
|
185
|
+
firstPage: pageNumber === 1,
|
|
186
|
+
queryString: queryString
|
|
187
187
|
}) */
|
|
188
188
|
|
|
189
189
|
if (pageview) {
|
|
@@ -346,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
346
|
)
|
|
347
347
|
)
|
|
348
348
|
),
|
|
349
|
-
|
|
349
|
+
main_39 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
352
|
})
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -12,22 +12,22 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
12
12
|
import './typeof-f11fd438.js';
|
|
13
13
|
import './_is-array-ced12663.js';
|
|
14
14
|
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
18
|
import Row from 'react-bootstrap/Row';
|
|
19
19
|
import Col from 'react-bootstrap/Col';
|
|
20
20
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-12415288.js';
|
|
22
22
|
import { withRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-47f5ff3b.js';
|
|
24
24
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import { i as imageUrlBuilder } from './index-
|
|
28
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
29
29
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
30
|
-
import { m as
|
|
30
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
31
31
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
32
32
|
import './_arrayMap-818441dd.js';
|
|
33
33
|
import { g as get_1 } from './get-58d2f7cc.js';
|
|
@@ -299,7 +299,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
299
299
|
)
|
|
300
300
|
)
|
|
301
301
|
),
|
|
302
|
-
|
|
302
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
303
303
|
);
|
|
304
304
|
})
|
|
305
305
|
);
|
|
@@ -3,7 +3,7 @@ import './_to-object-b01e8612.js';
|
|
|
3
3
|
import './core.get-iterator-method-66cf57ee.js';
|
|
4
4
|
import './web.dom.iterable-5c830d3d.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-47f5ff3b.js';
|
|
9
9
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -9,14 +9,14 @@ import Container from 'react-bootstrap/Container';
|
|
|
9
9
|
import Row from 'react-bootstrap/Row';
|
|
10
10
|
import Col from 'react-bootstrap/Col';
|
|
11
11
|
import Card from 'react-bootstrap/Card';
|
|
12
|
-
import './moment-
|
|
13
|
-
import { I as InfiniteScroll } from './index.es-
|
|
14
|
-
import { m as
|
|
12
|
+
import './moment-12415288.js';
|
|
13
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
14
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
16
16
|
import { _ as _JSON$stringify } from './stringify-feadff37.js';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
18
|
import Spinner from 'react-bootstrap/Spinner';
|
|
19
|
-
import { m as momentTimezone } from './index-
|
|
19
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
|
|
22
22
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
@@ -146,23 +146,23 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
146
146
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
147
147
|
setAccessToken(cventAccessToken);
|
|
148
148
|
} else {
|
|
149
|
-
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
150
|
-
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
151
|
-
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
-
fetch(url, {
|
|
153
|
-
headers: {
|
|
154
|
-
'Content-Type': 'application/x-www-form-urlencoded',
|
|
155
|
-
Authorization: `Basic ${encodedData}`
|
|
156
|
-
},
|
|
157
|
-
method: 'POST',
|
|
158
|
-
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
159
|
-
})
|
|
160
|
-
.then((response) => response.json())
|
|
161
|
-
.then((json) => {
|
|
162
|
-
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
163
|
-
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
164
|
-
setAccessToken(json.access_token)
|
|
165
|
-
})
|
|
149
|
+
/*const encodedData = window.btoa(clientId + ':' + clientSecret)
|
|
150
|
+
//const url = `${corsProxy}https://api-platform.cvent.com/ea/oauth2/token`
|
|
151
|
+
const url = `https://api-platform.cvent.com/ea/oauth2/token`
|
|
152
|
+
fetch(url, {
|
|
153
|
+
headers: {
|
|
154
|
+
'Content-Type': 'application/x-www-form-urlencoded',
|
|
155
|
+
Authorization: `Basic ${encodedData}`
|
|
156
|
+
},
|
|
157
|
+
method: 'POST',
|
|
158
|
+
body: `grant_type=client_credentials&client_id=${clientId}`
|
|
159
|
+
})
|
|
160
|
+
.then((response) => response.json())
|
|
161
|
+
.then((json) => {
|
|
162
|
+
const inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000)
|
|
163
|
+
Cookies.set('cvent_access_token', json.access_token, { expires: inOneHour })
|
|
164
|
+
setAccessToken(json.access_token)
|
|
165
|
+
})
|
|
166
166
|
.catch((e) => console.log(e))*/
|
|
167
167
|
// hello
|
|
168
168
|
var url = 'https://beam.mjhlifesciences.com/api/cvent/token';
|
|
@@ -368,7 +368,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
368
368
|
)
|
|
369
369
|
)
|
|
370
370
|
),
|
|
371
|
-
|
|
371
|
+
main_39 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
372
372
|
'div',
|
|
373
373
|
{ style: { margin: '0 auto' } },
|
|
374
374
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
@@ -12,18 +12,18 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
12
12
|
import './typeof-f11fd438.js';
|
|
13
13
|
import './_is-array-ced12663.js';
|
|
14
14
|
import React__default, { useState, useEffect } from 'react';
|
|
15
|
-
import './index-
|
|
15
|
+
import './index-93ec3c59.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import 'react-bootstrap/Row';
|
|
18
18
|
import 'react-bootstrap/Col';
|
|
19
|
-
import './moment-
|
|
19
|
+
import './moment-12415288.js';
|
|
20
20
|
import { useRouter } from 'next/router';
|
|
21
21
|
import './isSymbol-47f5ff3b.js';
|
|
22
22
|
import './debounce-a0d9abca.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import './index-
|
|
24
|
+
import './index-51a80699.js';
|
|
25
25
|
import './index-5f9f807a.js';
|
|
26
|
-
import './main-
|
|
26
|
+
import './main-7255814e.js';
|
|
27
27
|
import './entities-7cc3bf45.js';
|
|
28
28
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
29
29
|
import './stringify-feadff37.js';
|
|
@@ -31,13 +31,13 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
31
31
|
import './_set-species-75f77d40.js';
|
|
32
32
|
import './beam-c40d77ae.js';
|
|
33
33
|
import './AdSlot.js';
|
|
34
|
-
import { B as BlockContent } from './BlockContent-
|
|
34
|
+
import { B as BlockContent } from './BlockContent-a614acdf.js';
|
|
35
35
|
import './smoothscroll-4b699764.js';
|
|
36
36
|
import './GroupDeck.js';
|
|
37
37
|
import 'react-bootstrap';
|
|
38
38
|
import Button from 'react-bootstrap/Button';
|
|
39
|
-
import { m as momentTimezone } from './index-
|
|
40
|
-
import { g as getSerializers } from './index-
|
|
39
|
+
import { m as momentTimezone } from './index-d2f90501.js';
|
|
40
|
+
import { g as getSerializers } from './index-e07f3300.js';
|
|
41
41
|
import './util-7700fc59.js';
|
|
42
42
|
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
43
43
|
import 'react-bootstrap/Pagination';
|
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-66cf57ee.js';
|
|
|
4
4
|
import './web.dom.iterable-5c830d3d.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-a58d7edf.js';
|
|
12
12
|
import { A as AuthorComponent } from './AuthorComponent-4ddf3533.js';
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -12,22 +12,22 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
12
12
|
import './typeof-f11fd438.js';
|
|
13
13
|
import './_is-array-ced12663.js';
|
|
14
14
|
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
18
|
import Row from 'react-bootstrap/Row';
|
|
19
19
|
import Col from 'react-bootstrap/Col';
|
|
20
20
|
import Card from 'react-bootstrap/Card';
|
|
21
|
-
import { m as moment } from './moment-
|
|
21
|
+
import { m as moment } from './moment-12415288.js';
|
|
22
22
|
import { withRouter } from 'next/router';
|
|
23
23
|
import './isSymbol-47f5ff3b.js';
|
|
24
24
|
import { d as debounce_1 } from './debounce-a0d9abca.js';
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
26
26
|
import 'react-dom';
|
|
27
27
|
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
28
|
-
import { i as imageUrlBuilder } from './index-
|
|
28
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
29
29
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
30
|
-
import { m as
|
|
30
|
+
import { m as main_39 } from './main-7255814e.js';
|
|
31
31
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
32
32
|
import './slicedToArray-a58d7edf.js';
|
|
33
33
|
import './stringify-feadff37.js';
|
|
@@ -35,9 +35,9 @@ import './asyncToGenerator-d25aac66.js';
|
|
|
35
35
|
import './_set-species-75f77d40.js';
|
|
36
36
|
import './beam-c40d77ae.js';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
38
|
+
import { A as ADInfeed } from './ADInfeed-0c1bcd33.js';
|
|
39
39
|
import { l as lodash } from './lodash-17fdfebb.js';
|
|
40
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
40
|
+
import { A as ADlgInfeed } from './ADlgInfeed-a2518bca.js';
|
|
41
41
|
import './_arrayMap-818441dd.js';
|
|
42
42
|
import { g as get_1 } from './get-58d2f7cc.js';
|
|
43
43
|
import './AD.js';
|
|
@@ -504,7 +504,7 @@ var GridContent = function (_React$Component) {
|
|
|
504
504
|
)
|
|
505
505
|
),
|
|
506
506
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
507
|
-
|
|
507
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
508
508
|
);
|
|
509
509
|
} else {
|
|
510
510
|
return React__default.createElement(
|
|
@@ -568,7 +568,7 @@ var GridContent = function (_React$Component) {
|
|
|
568
568
|
)
|
|
569
569
|
),
|
|
570
570
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
571
|
-
|
|
571
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
572
572
|
);
|
|
573
573
|
}
|
|
574
574
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -638,7 +638,7 @@ var GridContent = function (_React$Component) {
|
|
|
638
638
|
)
|
|
639
639
|
),
|
|
640
640
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
641
|
-
|
|
641
|
+
main_39 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
642
642
|
);
|
|
643
643
|
} else return null;
|
|
644
644
|
}) : React__default.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -4,9 +4,9 @@ import './core.get-iterator-method-66cf57ee.js';
|
|
|
4
4
|
import './web.dom.iterable-5c830d3d.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-a58d7edf.js';
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -7,14 +7,14 @@ import './web.dom.iterable-5c830d3d.js';
|
|
|
7
7
|
import { _ as _typeof } from './typeof-f11fd438.js';
|
|
8
8
|
import './_is-array-ced12663.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-a58d7edf.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-5c830d3d.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-a58d7edf.js';
|
|
12
12
|
import './stringify-feadff37.js';
|
|
13
13
|
import './asyncToGenerator-d25aac66.js';
|
|
@@ -28,15 +28,15 @@ import 'react-bootstrap/FormControl';
|
|
|
28
28
|
import Search from './Search.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-602d52fe.js';
|
|
6
6
|
import { a as FaLongArrowAltRight } from './index.esm-9a4c8813.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-a58d7edf.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-4ddf3533.js';
|
package/dist/esm/IssueDeck.js
CHANGED
|
@@ -11,9 +11,9 @@ import 'prop-types';
|
|
|
11
11
|
import Row from 'react-bootstrap/Row';
|
|
12
12
|
import Col from 'react-bootstrap/Col';
|
|
13
13
|
import Card from 'react-bootstrap/Card';
|
|
14
|
-
import { I as InfiniteScroll } from './index.es-
|
|
14
|
+
import { I as InfiniteScroll } from './index.es-938a3a58.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import { i as imageUrlBuilder } from './index-
|
|
16
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
17
17
|
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
18
18
|
import { _ as _slicedToArray } from './slicedToArray-a58d7edf.js';
|
|
19
19
|
import Button from 'react-bootstrap/Button';
|