@mjhls/mjh-framework 1.0.973-partner-listing-nojs-v1 → 1.0.973-ptce-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -1
- package/dist/cjs/AD300x250x600.js +2 -1
- package/dist/cjs/AD728x90.js +2 -1
- package/dist/cjs/ADFloatingFooter.js +2 -1
- package/dist/cjs/ADGutter.js +2 -1
- package/dist/cjs/ADSkyscraper.js +2 -1
- package/dist/cjs/ADSponsoredResources.js +2 -1
- package/dist/cjs/ADWebcast.js +2 -1
- package/dist/cjs/ADWelcome.js +2 -1
- package/dist/cjs/AdSlot.js +2 -1
- package/dist/cjs/AdSlotsProvider.js +2 -1
- package/dist/cjs/AlgoliaSearch.js +14164 -17
- package/dist/cjs/ArticleProgramLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +3 -29
- package/dist/cjs/CMEDeck.js +2 -1
- package/dist/cjs/Column3.js +2 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +5 -3
- package/dist/cjs/DeckContent.js +11 -10
- package/dist/cjs/DeckQueue.js +2 -1
- package/dist/cjs/DeckQueuePaginated.js +4 -2
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +4 -3
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/GridContentPaginated.js +6 -4
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -3
- package/dist/cjs/IssueLanding.js +35 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -1
- package/dist/cjs/MasterDeck.js +12 -11
- package/dist/cjs/MasterDeckPaginated.js +14 -12
- package/dist/cjs/{MediaSeriesCard-1a62916a.js → MediaSeriesCard-4cf41c60.js} +288 -384
- package/dist/cjs/MediaSeriesLanding.js +13 -11
- package/dist/cjs/MediaSeriesLandingPaginated.js +15 -12
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +31 -32
- package/dist/cjs/PartnerDetailListingPaginated.js +8 -6
- package/dist/cjs/PtceDeck.js +226 -0
- package/dist/cjs/PubSection.js +4 -3
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -3
- package/dist/cjs/QueueDeckExpandedPaginated.js +6 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -2
- package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -3
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +13 -15
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getPtceActivities.js +80 -0
- package/dist/cjs/getSerializers.js +8 -7
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-bb00ade7.js → index-3e9b8125.js} +31 -74
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/index-77bc63c7.js +13562 -0
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/index.js +11 -8
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/{esm/util-8ed16d48.js → cjs/util-057669f9.js} +143 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -1
- package/dist/esm/AD300x250x600.js +2 -1
- package/dist/esm/AD728x90.js +2 -1
- package/dist/esm/ADFloatingFooter.js +2 -1
- package/dist/esm/ADGutter.js +2 -1
- package/dist/esm/ADSkyscraper.js +2 -1
- package/dist/esm/ADSponsoredResources.js +2 -1
- package/dist/esm/ADWebcast.js +2 -1
- package/dist/esm/ADWelcome.js +2 -1
- package/dist/esm/AdSlot.js +2 -1
- package/dist/esm/AdSlotsProvider.js +2 -1
- package/dist/esm/AlgoliaSearch.js +14158 -11
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +2 -28
- package/dist/esm/CMEDeck.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +5 -3
- package/dist/esm/DeckContent.js +11 -10
- package/dist/esm/DeckQueue.js +2 -1
- package/dist/esm/DeckQueuePaginated.js +4 -2
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +4 -3
- package/dist/esm/GridContent.js +4 -3
- package/dist/esm/GridContentPaginated.js +6 -4
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/IssueLanding.js +35 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +12 -11
- package/dist/esm/MasterDeckPaginated.js +14 -12
- package/dist/esm/{MediaSeriesCard-146e08c8.js → MediaSeriesCard-e87632e9.js} +3 -99
- package/dist/esm/MediaSeriesLanding.js +13 -11
- package/dist/esm/MediaSeriesLandingPaginated.js +15 -12
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/Pagination-cd21f8c2.js +82 -0
- package/dist/esm/PartnerDetailListing.js +31 -32
- package/dist/esm/PartnerDetailListingPaginated.js +8 -6
- package/dist/esm/PtceDeck.js +218 -0
- package/dist/esm/PubSection.js +4 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -2
- package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -3
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/View.js +12 -15
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getPtceActivities.js +78 -0
- package/dist/esm/getSerializers.js +8 -7
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/index-99a4897c.js +13560 -0
- package/dist/esm/{index-e89d33c8.js → index-e9a70085.js} +31 -74
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +11 -8
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/{cjs/util-93a37fd0.js → esm/util-d39bca09.js} +133 -3
- package/package.json +115 -115
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/esm/Pagination-dc30727b.js +0 -90
- /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-81006615.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-0db07099.js} +0 -0
- /package/dist/esm/{ADInfeed-0852ff35.js → ADInfeed-6d1fc6bf.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5fb3b724.js → ADlgInfeed-dc36c928.js} +0 -0
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-e9a70085.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -18,13 +18,14 @@ import './index.es-a6137319.js';
|
|
|
18
18
|
import './moment-bc12cb97.js';
|
|
19
19
|
import './visibility-sensor-72fd8f8b.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-f0fc23eb.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
22
23
|
import 'prop-types';
|
|
23
24
|
import 'next/router';
|
|
24
25
|
import './index-755f2cc2.js';
|
|
25
26
|
import './main-1894c974.js';
|
|
26
27
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
28
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
28
29
|
import 'react-bootstrap/Card';
|
|
29
30
|
import './AdSlot.js';
|
|
30
31
|
import './debounce-533d9748.js';
|
|
@@ -37,12 +38,12 @@ import './_library-528f1934.js';
|
|
|
37
38
|
import './Segment.js';
|
|
38
39
|
import './AuthorComponent-11adff02.js';
|
|
39
40
|
import './lodash-f97fd99a.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-dc36c928.js';
|
|
41
42
|
import './getContentCategory-15dcc413.js';
|
|
42
43
|
import './timeDifferenceCalc.js';
|
|
43
44
|
import 'react-bootstrap/Breadcrumb';
|
|
44
45
|
import './index-c7e2ac95.js';
|
|
45
|
-
import './util-
|
|
46
|
+
import './util-d39bca09.js';
|
|
46
47
|
import './urlForFile-b69adffc.js';
|
|
47
48
|
import './typeof-e9fc0c5d.js';
|
|
48
49
|
import './_is-array-8d21b9e3.js';
|
|
@@ -70,35 +71,35 @@ import 'react-bootstrap/OverlayTrigger';
|
|
|
70
71
|
import 'react-bootstrap/Tooltip';
|
|
71
72
|
import 'react-bootstrap/Popover';
|
|
72
73
|
|
|
73
|
-
/* usage
|
|
74
|
-
import Settings, { Ads } from '../../../../settings'
|
|
75
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
76
|
-
import client from '../../../../client'
|
|
77
|
-
import moment from 'moment'
|
|
78
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
79
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
80
|
-
|
|
81
|
-
const Issue = (props) => {
|
|
82
|
-
const { pubIssue, cache } = props
|
|
83
|
-
const targeting = {
|
|
84
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
85
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
-
}
|
|
87
|
-
return (
|
|
88
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
89
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
90
|
-
</Shell>
|
|
91
|
-
)
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
Issue.getInitialProps = async (ctx) => {
|
|
95
|
-
const { query } = ctx
|
|
96
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
97
|
-
)
|
|
98
|
-
return { pubIssue }
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
export default Issue
|
|
74
|
+
/* usage
|
|
75
|
+
import Settings, { Ads } from '../../../../settings'
|
|
76
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
77
|
+
import client from '../../../../client'
|
|
78
|
+
import moment from 'moment'
|
|
79
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
80
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
81
|
+
|
|
82
|
+
const Issue = (props) => {
|
|
83
|
+
const { pubIssue, cache } = props
|
|
84
|
+
const targeting = {
|
|
85
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
+
}
|
|
88
|
+
return (
|
|
89
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
90
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
91
|
+
</Shell>
|
|
92
|
+
)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
Issue.getInitialProps = async (ctx) => {
|
|
96
|
+
const { query } = ctx
|
|
97
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
98
|
+
)
|
|
99
|
+
return { pubIssue }
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export default Issue
|
|
102
103
|
*/
|
|
103
104
|
|
|
104
105
|
var IssueLanding = function IssueLanding(props) {
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -10,7 +10,8 @@ import './AdSlot.js';
|
|
|
10
10
|
import './extends-6d8e3924.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-f0fc23eb.js';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
14
15
|
import './debounce-533d9748.js';
|
|
15
16
|
import './isSymbol-a7e9aafe.js';
|
|
16
17
|
import './toNumber-5aeba6e7.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import 'react-bootstrap/Row';
|
|
9
9
|
import 'react-bootstrap/Col';
|
|
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import './slicedToArray-6ebcbfea.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
21
21
|
import './main-1894c974.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -29,6 +29,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
30
|
import './typeof-e9fc0c5d.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
32
33
|
import 'prop-types';
|
|
33
34
|
import './isSymbol-a7e9aafe.js';
|
|
34
35
|
import './toNumber-5aeba6e7.js';
|
|
@@ -222,14 +223,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
// please leave this for later debug purpose : Yong Jun.
|
|
225
|
-
/* console.log('page change reported', {
|
|
226
|
-
currentPage: currentPage,
|
|
227
|
-
pageNumber: pageNumber,
|
|
228
|
-
pathname: pathname,
|
|
229
|
-
path: path,
|
|
230
|
-
newPath: newPath,
|
|
231
|
-
firstPage: pageNumber === 1,
|
|
232
|
-
queryString: queryString
|
|
226
|
+
/* console.log('page change reported', {
|
|
227
|
+
currentPage: currentPage,
|
|
228
|
+
pageNumber: pageNumber,
|
|
229
|
+
pathname: pathname,
|
|
230
|
+
path: path,
|
|
231
|
+
newPath: newPath,
|
|
232
|
+
firstPage: pageNumber === 1,
|
|
233
|
+
queryString: queryString
|
|
233
234
|
}) */
|
|
234
235
|
|
|
235
236
|
if (pageview) {
|
|
@@ -4,15 +4,15 @@ import { _ as _extends } from './extends-6d8e3924.js';
|
|
|
4
4
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
5
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
7
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import Spinner from 'react-bootstrap/Spinner';
|
|
10
10
|
import { withRouter } from 'next/router';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
15
|
+
import { P as Pagination } from './Pagination-cd21f8c2.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -23,6 +23,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
23
23
|
import './define-property-5f1bda73.js';
|
|
24
24
|
import './typeof-e9fc0c5d.js';
|
|
25
25
|
import './_is-array-8d21b9e3.js';
|
|
26
|
+
import './events-6c3a7a63.js';
|
|
26
27
|
import 'prop-types';
|
|
27
28
|
import './slicedToArray-6ebcbfea.js';
|
|
28
29
|
import 'react-bootstrap/Card';
|
|
@@ -32,6 +33,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
32
33
|
import './toNumber-5aeba6e7.js';
|
|
33
34
|
import './Beam.js';
|
|
34
35
|
import './Segment.js';
|
|
36
|
+
import 'react-paginate';
|
|
35
37
|
import 'react-bootstrap/Button';
|
|
36
38
|
import './index.esm-1bd8a0a8.js';
|
|
37
39
|
import './iconBase-ccc56b97.js';
|
|
@@ -106,14 +108,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
// please leave this for later debug purpose : Yong Jun.
|
|
109
|
-
/* console.log('page change reported', {
|
|
110
|
-
currentPage: currentPage,
|
|
111
|
-
pageNumber: pageNumber,
|
|
112
|
-
pathname: pathname,
|
|
113
|
-
path: path,
|
|
114
|
-
newPath: newPath,
|
|
115
|
-
firstPage: pageNumber === 1,
|
|
116
|
-
queryString: queryString
|
|
111
|
+
/* console.log('page change reported', {
|
|
112
|
+
currentPage: currentPage,
|
|
113
|
+
pageNumber: pageNumber,
|
|
114
|
+
pathname: pathname,
|
|
115
|
+
path: path,
|
|
116
|
+
newPath: newPath,
|
|
117
|
+
firstPage: pageNumber === 1,
|
|
118
|
+
queryString: queryString
|
|
117
119
|
}) */
|
|
118
120
|
|
|
119
121
|
if (pageview) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
|
|
1
2
|
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
2
3
|
import PropTypes from 'prop-types';
|
|
3
4
|
import ReactDOM from 'react-dom';
|
|
@@ -8,95 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
8
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
10
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { g as getSerializers } from './index-
|
|
12
|
-
|
|
13
|
-
function _extends() {
|
|
14
|
-
_extends = Object.assign || function (target) {
|
|
15
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
16
|
-
var source = arguments[i];
|
|
17
|
-
|
|
18
|
-
for (var key in source) {
|
|
19
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
20
|
-
target[key] = source[key];
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return target;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
return _extends.apply(this, arguments);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
32
|
-
if (source == null) return {};
|
|
33
|
-
var target = {};
|
|
34
|
-
var sourceKeys = Object.keys(source);
|
|
35
|
-
var key, i;
|
|
36
|
-
|
|
37
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
38
|
-
key = sourceKeys[i];
|
|
39
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
40
|
-
target[key] = source[key];
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return target;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
var classnames = createCommonjsModule(function (module) {
|
|
47
|
-
/*!
|
|
48
|
-
Copyright (c) 2018 Jed Watson.
|
|
49
|
-
Licensed under the MIT License (MIT), see
|
|
50
|
-
http://jedwatson.github.io/classnames
|
|
51
|
-
*/
|
|
52
|
-
/* global define */
|
|
53
|
-
|
|
54
|
-
(function () {
|
|
55
|
-
|
|
56
|
-
var hasOwn = {}.hasOwnProperty;
|
|
57
|
-
|
|
58
|
-
function classNames() {
|
|
59
|
-
var classes = [];
|
|
60
|
-
|
|
61
|
-
for (var i = 0; i < arguments.length; i++) {
|
|
62
|
-
var arg = arguments[i];
|
|
63
|
-
if (!arg) continue;
|
|
64
|
-
|
|
65
|
-
var argType = typeof arg;
|
|
66
|
-
|
|
67
|
-
if (argType === 'string' || argType === 'number') {
|
|
68
|
-
classes.push(arg);
|
|
69
|
-
} else if (Array.isArray(arg)) {
|
|
70
|
-
if (arg.length) {
|
|
71
|
-
var inner = classNames.apply(null, arg);
|
|
72
|
-
if (inner) {
|
|
73
|
-
classes.push(inner);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
} else if (argType === 'object') {
|
|
77
|
-
if (arg.toString === Object.prototype.toString) {
|
|
78
|
-
for (var key in arg) {
|
|
79
|
-
if (hasOwn.call(arg, key) && arg[key]) {
|
|
80
|
-
classes.push(key);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
} else {
|
|
84
|
-
classes.push(arg.toString());
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return classes.join(' ');
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
if (module.exports) {
|
|
93
|
-
classNames.default = classNames;
|
|
94
|
-
module.exports = classNames;
|
|
95
|
-
} else {
|
|
96
|
-
window.classNames = classNames;
|
|
97
|
-
}
|
|
98
|
-
}());
|
|
99
|
-
});
|
|
12
|
+
import { g as getSerializers } from './index-e9a70085.js';
|
|
100
13
|
|
|
101
14
|
/**
|
|
102
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -203,15 +116,6 @@ function useUncontrolled(props, config) {
|
|
|
203
116
|
}, props);
|
|
204
117
|
}
|
|
205
118
|
|
|
206
|
-
function _setPrototypeOf(o, p) {
|
|
207
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
208
|
-
o.__proto__ = p;
|
|
209
|
-
return o;
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
return _setPrototypeOf(o, p);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
119
|
function _inheritsLoose(subClass, superClass) {
|
|
216
120
|
subClass.prototype = Object.create(superClass.prototype);
|
|
217
121
|
subClass.prototype.constructor = subClass;
|
|
@@ -9523,7 +9427,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9523
9427
|
Tooltip.defaultProps = defaultProps;
|
|
9524
9428
|
Tooltip.displayName = 'Tooltip';
|
|
9525
9429
|
|
|
9526
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\
|
|
9430
|
+
var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
|
|
9527
9431
|
var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
|
|
9528
9432
|
styleInject(css);
|
|
9529
9433
|
|
|
@@ -3,12 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e87632e9.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
7
8
|
import 'react-dom';
|
|
8
9
|
import Link from 'next/link';
|
|
9
10
|
import MasterDeck from './MasterDeck.js';
|
|
10
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-e9a70085.js';
|
|
12
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
14
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -26,7 +27,8 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
26
27
|
import './inherits-a6ba2ec4.js';
|
|
27
28
|
import './_object-sap-7cee6f84.js';
|
|
28
29
|
import './define-property-5f1bda73.js';
|
|
29
|
-
import './index-
|
|
30
|
+
import './index-f0fc23eb.js';
|
|
31
|
+
import './events-6c3a7a63.js';
|
|
30
32
|
import 'react-bootstrap/Container';
|
|
31
33
|
import 'react-bootstrap/Row';
|
|
32
34
|
import 'react-bootstrap/Col';
|
|
@@ -38,16 +40,16 @@ import './isSymbol-a7e9aafe.js';
|
|
|
38
40
|
import './toNumber-5aeba6e7.js';
|
|
39
41
|
import './index.es-a6137319.js';
|
|
40
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
41
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-dc36c928.js';
|
|
42
44
|
import './AdSlot.js';
|
|
43
45
|
import './Beam.js';
|
|
44
46
|
import './stringify-2b084bee.js';
|
|
45
47
|
import './Segment.js';
|
|
46
48
|
import './main-1894c974.js';
|
|
47
|
-
import './ADInfeed-
|
|
49
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
48
50
|
import 'react-bootstrap';
|
|
49
51
|
import './index-c7e2ac95.js';
|
|
50
|
-
import './util-
|
|
52
|
+
import './util-d39bca09.js';
|
|
51
53
|
import './urlForFile-b69adffc.js';
|
|
52
54
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
53
55
|
import 'react-bootstrap/Modal';
|
|
@@ -91,11 +93,11 @@ var Filter = function Filter(_ref) {
|
|
|
91
93
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
92
94
|
grandChildData = _useState6[0],
|
|
93
95
|
setGrandChildData = _useState6[1];
|
|
94
|
-
/*
|
|
95
|
-
{parent: showAll,
|
|
96
|
-
chidlren: show selected from parent,
|
|
97
|
-
grandchildren: show selected from children
|
|
98
|
-
}
|
|
96
|
+
/*
|
|
97
|
+
{parent: showAll,
|
|
98
|
+
chidlren: show selected from parent,
|
|
99
|
+
grandchildren: show selected from children
|
|
100
|
+
}
|
|
99
101
|
*/
|
|
100
102
|
|
|
101
103
|
|
|
@@ -3,12 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-e87632e9.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
7
8
|
import 'react-dom';
|
|
8
9
|
import Link from 'next/link';
|
|
9
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
10
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
11
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-e9a70085.js';
|
|
12
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
14
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,13 +28,14 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
27
28
|
import './inherits-a6ba2ec4.js';
|
|
28
29
|
import './_object-sap-7cee6f84.js';
|
|
29
30
|
import './define-property-5f1bda73.js';
|
|
30
|
-
import './index-
|
|
31
|
+
import './index-f0fc23eb.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
31
33
|
import 'react-bootstrap/Container';
|
|
32
34
|
import 'react-bootstrap/Spinner';
|
|
33
35
|
import 'next/router';
|
|
34
36
|
import './lodash-f97fd99a.js';
|
|
35
37
|
import './main-1894c974.js';
|
|
36
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-dc36c928.js';
|
|
37
39
|
import 'react-bootstrap/Card';
|
|
38
40
|
import './AdSlot.js';
|
|
39
41
|
import './debounce-533d9748.js';
|
|
@@ -41,14 +43,15 @@ import './isSymbol-a7e9aafe.js';
|
|
|
41
43
|
import './toNumber-5aeba6e7.js';
|
|
42
44
|
import './Beam.js';
|
|
43
45
|
import './Segment.js';
|
|
44
|
-
import './ADInfeed-
|
|
45
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
47
|
+
import './Pagination-cd21f8c2.js';
|
|
48
|
+
import 'react-paginate';
|
|
46
49
|
import 'react-bootstrap/Button';
|
|
47
50
|
import './index.esm-1bd8a0a8.js';
|
|
48
51
|
import './iconBase-ccc56b97.js';
|
|
49
52
|
import 'react-bootstrap';
|
|
50
53
|
import './index-c7e2ac95.js';
|
|
51
|
-
import './util-
|
|
54
|
+
import './util-d39bca09.js';
|
|
52
55
|
import './urlForFile-b69adffc.js';
|
|
53
56
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
54
57
|
import 'react-bootstrap/Modal';
|
|
@@ -92,11 +95,11 @@ var Filter = function Filter(_ref) {
|
|
|
92
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
93
96
|
grandChildData = _useState6[0],
|
|
94
97
|
setGrandChildData = _useState6[1];
|
|
95
|
-
/*
|
|
96
|
-
{parent: showAll,
|
|
97
|
-
chidlren: show selected from parent,
|
|
98
|
-
grandchildren: show selected from children
|
|
99
|
-
}
|
|
98
|
+
/*
|
|
99
|
+
{parent: showAll,
|
|
100
|
+
chidlren: show selected from parent,
|
|
101
|
+
grandchildren: show selected from children
|
|
102
|
+
}
|
|
100
103
|
*/
|
|
101
104
|
|
|
102
105
|
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -26,16 +26,16 @@ import 'react-bootstrap/FormControl';
|
|
|
26
26
|
import 'react-bootstrap/Button';
|
|
27
27
|
|
|
28
28
|
var NavMagazine = function NavMagazine(props) {
|
|
29
|
-
/*
|
|
30
|
-
Example Nav with acceptable props
|
|
31
|
-
<MagazineNav
|
|
32
|
-
showLogin
|
|
33
|
-
user={props.cache.user}
|
|
34
|
-
logo={props.settings.logo}
|
|
35
|
-
dataObject={props.cache.mainNavCache}
|
|
36
|
-
website={website}
|
|
37
|
-
subNav={props.cache.subNavCache}
|
|
38
|
-
/>
|
|
29
|
+
/*
|
|
30
|
+
Example Nav with acceptable props
|
|
31
|
+
<MagazineNav
|
|
32
|
+
showLogin
|
|
33
|
+
user={props.cache.user}
|
|
34
|
+
logo={props.settings.logo}
|
|
35
|
+
dataObject={props.cache.mainNavCache}
|
|
36
|
+
website={website}
|
|
37
|
+
subNav={props.cache.subNavCache}
|
|
38
|
+
/>
|
|
39
39
|
*/
|
|
40
40
|
|
|
41
41
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -300,15 +300,15 @@ function chunk(array, size, guard) {
|
|
|
300
300
|
var chunk_1 = chunk;
|
|
301
301
|
|
|
302
302
|
var NavNative = function NavNative(props) {
|
|
303
|
-
/*
|
|
304
|
-
Example Nav with acceptable props
|
|
305
|
-
<MagazineNav
|
|
306
|
-
showLogin
|
|
307
|
-
logo={props.settings.logo}
|
|
308
|
-
dataObject={props.cache.mainNavCache}
|
|
309
|
-
website={website}
|
|
310
|
-
subNav={props.cache.subNavCache}
|
|
311
|
-
/>
|
|
303
|
+
/*
|
|
304
|
+
Example Nav with acceptable props
|
|
305
|
+
<MagazineNav
|
|
306
|
+
showLogin
|
|
307
|
+
logo={props.settings.logo}
|
|
308
|
+
dataObject={props.cache.mainNavCache}
|
|
309
|
+
website={website}
|
|
310
|
+
subNav={props.cache.subNavCache}
|
|
311
|
+
/>
|
|
312
312
|
*/
|
|
313
313
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
314
314
|
var logo = props.logo,
|