@mjhls/mjh-framework 1.0.1022 → 1.0.1023-blanktagremoval-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-5dabd71d.js → ADInfeed-89488c41.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-1766ce0a.js → ADlgInfeed-9d62050b.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +1 -1
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +1 -1
- package/dist/cjs/Auth.js +1493 -11
- package/dist/cjs/AuthWrapper.js +1484 -294
- package/dist/cjs/CEDeckSupabase.js +2 -2
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column2.js +4 -2
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +11 -11
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +6 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +52 -50
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +3 -3
- package/dist/cjs/{ImageSlider-fd0cc91c.js → ImageSlider-50807a77.js} +83 -145
- package/dist/cjs/IssueLanding.js +34 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +14 -15
- package/dist/cjs/MasterDeck.js +11 -11
- package/dist/cjs/MasterDeckPaginated.js +11 -11
- package/dist/cjs/{MediaSeriesCard-ae205d40.js → MediaSeriesCard-de7f7fcc.js} +2 -2
- package/dist/cjs/MediaSeriesLanding.js +13 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +13 -13
- package/dist/cjs/NavDvm.js +30 -28
- package/dist/cjs/{NavFooter-257b5318.js → NavFooter-b37e3eed.js} +4 -3
- package/dist/cjs/NavMagazine.js +55 -53
- package/dist/cjs/NavNative.js +55 -55
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +40 -28
- package/dist/cjs/PartnerDetailListingPaginated.js +38 -32
- package/dist/cjs/PodcastsLanding.js +6 -6
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-0b2a2775.js → SeriesSlider-fc6dd07d.js} +5 -5
- package/dist/cjs/SideFooter.js +11 -9
- package/dist/cjs/{SocialSearchComponent-6924a853.js → SocialSearchComponent-15e03760.js} +2 -2
- package/dist/cjs/TaxonomyCard.js +8 -8
- package/dist/cjs/TaxonomyDescription.js +16 -17
- package/dist/cjs/TemplateNormal.js +4 -4
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-8011d690.js} +291 -116
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +1 -1
- package/dist/cjs/View.js +8 -8
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/defineProperty-19580e93.js +71 -0
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +3 -3
- package/dist/cjs/{getTargeting-4439c99d.js → getTargeting-ba942d9a.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-b78ce702.js → index-3111bc4e.js} +2 -2
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- package/dist/cjs/{index.esm-91e651b0.js → index.esm-bb54403e.js} +8 -7
- package/dist/cjs/index.js +14 -14
- package/dist/cjs/{main-47be4f9f.js → main-ae8472f3.js} +4 -9
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-cfc4f7b2.js → ADInfeed-fb3b056f.js} +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/{ADlgInfeed-74c975b9.js → ADlgInfeed-29f7b84c.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +1 -1
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +1493 -10
- package/dist/esm/AuthWrapper.js +1478 -288
- package/dist/esm/CEDeckSupabase.js +2 -2
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column2.js +4 -2
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +6 -6
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +52 -50
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/{ImageSlider-c3a57384.js → ImageSlider-cdb57d30.js} +1 -63
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +14 -15
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +11 -11
- package/dist/esm/{MediaSeriesCard-957b218d.js → MediaSeriesCard-8ec69f60.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +13 -13
- package/dist/esm/NavDvm.js +30 -28
- package/dist/esm/{NavFooter-27a16f65.js → NavFooter-37c5eea2.js} +4 -3
- package/dist/esm/NavMagazine.js +55 -53
- package/dist/esm/NavNative.js +55 -55
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PartnerDetailListing.js +40 -28
- package/dist/esm/PartnerDetailListingPaginated.js +38 -32
- package/dist/esm/PodcastsLanding.js +6 -6
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-3f4d6012.js → SeriesSlider-771918ce.js} +5 -5
- package/dist/esm/SideFooter.js +11 -9
- package/dist/esm/{SocialSearchComponent-2451acd2.js → SocialSearchComponent-b102181b.js} +2 -2
- package/dist/esm/TaxonomyCard.js +8 -8
- package/dist/esm/TaxonomyDescription.js +16 -17
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-2cdd0895.js} +291 -116
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +8 -8
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-e8022d1e.js +66 -0
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +3 -3
- package/dist/esm/{getTargeting-c6884f34.js → getTargeting-9bd28724.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/{index-f2f5b752.js → index-a71a6cc7.js} +2 -2
- package/dist/esm/{index.esm-06bf63a3.js → index.esm-8639823a.js} +8 -7
- package/dist/esm/index.js +14 -14
- package/dist/esm/{main-f97773b2.js → main-754d4992.js} +4 -9
- package/package.json +116 -116
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, a as _defineProperty } from './defineProperty-e8022d1e.js';
|
|
1
2
|
import React__default, { createContext, Component, forwardRef, PureComponent, useRef, useState, useEffect } from 'react';
|
|
2
3
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
4
|
import PropTypes from 'prop-types';
|
|
@@ -5,69 +6,6 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
5
6
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
7
|
import urlFor from './urlFor.js';
|
|
7
8
|
|
|
8
|
-
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
9
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
10
|
-
try {
|
|
11
|
-
var info = gen[key](arg);
|
|
12
|
-
var value = info.value;
|
|
13
|
-
} catch (error) {
|
|
14
|
-
reject(error);
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
if (info.done) {
|
|
19
|
-
resolve(value);
|
|
20
|
-
} else {
|
|
21
|
-
Promise.resolve(value).then(_next, _throw);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function _asyncToGenerator(fn) {
|
|
26
|
-
return function () {
|
|
27
|
-
var self = this,
|
|
28
|
-
args = arguments;
|
|
29
|
-
return new Promise(function (resolve, reject) {
|
|
30
|
-
var gen = fn.apply(self, args);
|
|
31
|
-
|
|
32
|
-
function _next(value) {
|
|
33
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function _throw(err) {
|
|
37
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
_next(undefined);
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
49
|
-
|
|
50
|
-
var defineProperty = createCommonjsModule(function (module) {
|
|
51
|
-
function _defineProperty(obj, key, value) {
|
|
52
|
-
if (key in obj) {
|
|
53
|
-
Object.defineProperty(obj, key, {
|
|
54
|
-
value: value,
|
|
55
|
-
enumerable: true,
|
|
56
|
-
configurable: true,
|
|
57
|
-
writable: true
|
|
58
|
-
});
|
|
59
|
-
} else {
|
|
60
|
-
obj[key] = value;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
return obj;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
67
|
-
});
|
|
68
|
-
|
|
69
|
-
var _defineProperty = unwrapExports(defineProperty);
|
|
70
|
-
|
|
71
9
|
var canUseDOM = !!(
|
|
72
10
|
typeof window !== 'undefined' &&
|
|
73
11
|
window.document &&
|
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-a71a6cc7.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
9
|
import './_object-pie-133f504a.js';
|
|
@@ -22,9 +22,9 @@ import './index-5cc7b406.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
26
|
-
import './entities-
|
|
27
|
-
import './ADInfeed-
|
|
25
|
+
import './main-754d4992.js';
|
|
26
|
+
import './entities-6d9154b4.js';
|
|
27
|
+
import './ADInfeed-fb3b056f.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -37,7 +37,7 @@ import './_library-528f1934.js';
|
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './AuthorComponent-11adff02.js';
|
|
39
39
|
import './lodash-f97fd99a.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
41
41
|
import './getContentCategory-15dcc413.js';
|
|
42
42
|
import './timeDifferenceCalc.js';
|
|
43
43
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -72,35 +72,35 @@ import 'react-bootstrap/Tooltip';
|
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
73
|
import './checkSisterSite-a7218fda.js';
|
|
74
74
|
|
|
75
|
-
/* usage
|
|
76
|
-
import Settings, { Ads } from '../../../../settings'
|
|
77
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
-
import client from '../../../../client'
|
|
79
|
-
import moment from 'moment'
|
|
80
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
-
|
|
83
|
-
const Issue = (props) => {
|
|
84
|
-
const { pubIssue, cache } = props
|
|
85
|
-
const targeting = {
|
|
86
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
-
}
|
|
89
|
-
return (
|
|
90
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
-
</Shell>
|
|
93
|
-
)
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
Issue.getInitialProps = async (ctx) => {
|
|
97
|
-
const { query } = ctx
|
|
98
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
-
)
|
|
100
|
-
return { pubIssue }
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export default Issue
|
|
75
|
+
/* usage
|
|
76
|
+
import Settings, { Ads } from '../../../../settings'
|
|
77
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
78
|
+
import client from '../../../../client'
|
|
79
|
+
import moment from 'moment'
|
|
80
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
81
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
82
|
+
|
|
83
|
+
const Issue = (props) => {
|
|
84
|
+
const { pubIssue, cache } = props
|
|
85
|
+
const targeting = {
|
|
86
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
+
}
|
|
89
|
+
return (
|
|
90
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
91
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
92
|
+
</Shell>
|
|
93
|
+
)
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Issue.getInitialProps = async (ctx) => {
|
|
97
|
+
const { query } = ctx
|
|
98
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
99
|
+
)
|
|
100
|
+
return { pubIssue }
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export default Issue
|
|
104
104
|
*/
|
|
105
105
|
|
|
106
106
|
var IssueLanding = function IssueLanding(props) {
|
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 { KMTracker as default };
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
3
|
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
4
|
import ADWebcast from './ADWebcast.js';
|
|
4
5
|
import Segment from './Segment.js';
|
|
5
6
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
6
|
-
import './slicedToArray-6ebcbfea.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
9
8
|
import './core.get-iterator-method-ea258bb1.js';
|
|
10
|
-
import './AdSlot.js';
|
|
11
|
-
import './extends-6d8e3924.js';
|
|
12
9
|
import './_object-pie-133f504a.js';
|
|
10
|
+
import './slicedToArray-6ebcbfea.js';
|
|
11
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
12
|
+
import './AdSlot.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import './index-5cc7b406.js';
|
|
15
15
|
import './debounce-533d9748.js';
|
|
@@ -20,7 +20,7 @@ import './stringify-2b084bee.js';
|
|
|
20
20
|
import './asyncToGenerator-958ef5fc.js';
|
|
21
21
|
import './_library-528f1934.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-754d4992.js';
|
|
24
24
|
|
|
25
25
|
var LeftNav = function LeftNav(props) {
|
|
26
26
|
var leftItems = props.leftItems,
|
|
@@ -66,22 +66,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
66
66
|
if (checkUrlIsExternal(subRow.url)) {
|
|
67
67
|
return React__default.createElement(
|
|
68
68
|
'a',
|
|
69
|
-
{
|
|
70
|
-
target: subRow.blank ? '_blank' : '_self'
|
|
71
|
-
|
|
72
|
-
href: subRow.url
|
|
73
|
-
|
|
69
|
+
_extends({
|
|
70
|
+
target: subRow.blank ? '_blank' : '_self'
|
|
71
|
+
}, subRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
72
|
+
href: subRow.url
|
|
73
|
+
}, checkSisterSite(subRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
74
74
|
subRow.name
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
return React__default.createElement(
|
|
79
79
|
'a',
|
|
80
|
-
{
|
|
80
|
+
_extends({
|
|
81
81
|
href: subRow.url || '#',
|
|
82
|
-
target: subRow.blank ? '_blank' : '_self'
|
|
83
|
-
|
|
84
|
-
rel: checkSisterSite(subRow.url) ? '' : 'noopener noreferrer' },
|
|
82
|
+
target: subRow.blank ? '_blank' : '_self'
|
|
83
|
+
}, subRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, checkSisterSite(subRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
85
84
|
subRow.name
|
|
86
85
|
);
|
|
87
86
|
};
|
|
@@ -116,7 +115,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
116
115
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
117
116
|
React__default.createElement(
|
|
118
117
|
'a',
|
|
119
|
-
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url,
|
|
118
|
+
_extends({ style: { color: 'white', fontSize: '.6rem' }, href: row.url }, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
120
119
|
'See All ',
|
|
121
120
|
'>'
|
|
122
121
|
)
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -16,9 +16,9 @@ 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-
|
|
21
|
-
import './main-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-29f7b84c.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-fb3b056f.js';
|
|
21
|
+
import './main-754d4992.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
24
24
|
import './_iter-detect-98db3b07.js';
|
|
@@ -222,14 +222,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
// 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
|
|
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
|
|
233
233
|
}) */
|
|
234
234
|
|
|
235
235
|
if (pageview) {
|
|
@@ -9,9 +9,9 @@ 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
|
-
import { m as main_43 } from './main-
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
12
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-29f7b84c.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-fb3b056f.js';
|
|
15
15
|
import { P as Pagination } from './Pagination-9fe9f61d.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -106,14 +106,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
// 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
|
|
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
|
|
117
117
|
}) */
|
|
118
118
|
|
|
119
119
|
if (pageview) {
|
|
@@ -5,9 +5,9 @@ import urlFor from './urlFor.js';
|
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
9
9
|
|
|
10
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\
|
|
10
|
+
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";
|
|
11
11
|
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" };
|
|
12
12
|
styleInject(css);
|
|
13
13
|
|
|
@@ -3,14 +3,14 @@ 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 { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-2cdd0895.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
11
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-8ec69f60.js';
|
|
12
12
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -37,13 +37,13 @@ import './toNumber-5aeba6e7.js';
|
|
|
37
37
|
import './index.es-a6137319.js';
|
|
38
38
|
import './visibility-sensor-72fd8f8b.js';
|
|
39
39
|
import './index-3f5c03b2.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
41
41
|
import './AdSlot.js';
|
|
42
42
|
import './Beam.js';
|
|
43
43
|
import './stringify-2b084bee.js';
|
|
44
44
|
import './Segment.js';
|
|
45
|
-
import './main-
|
|
46
|
-
import './ADInfeed-
|
|
45
|
+
import './main-754d4992.js';
|
|
46
|
+
import './ADInfeed-fb3b056f.js';
|
|
47
47
|
import './index-755f2cc2.js';
|
|
48
48
|
import './urlFor.js';
|
|
49
49
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -64,7 +64,7 @@ import './SocialShare.js';
|
|
|
64
64
|
import 'next/head';
|
|
65
65
|
import 'react-share';
|
|
66
66
|
import 'react-bootstrap/Pagination';
|
|
67
|
-
import './entities-
|
|
67
|
+
import './entities-6d9154b4.js';
|
|
68
68
|
import './index.esm-eb1e8e80.js';
|
|
69
69
|
import './iconBase-ccc56b97.js';
|
|
70
70
|
import 'react-bootstrap/Figure';
|
|
@@ -95,11 +95,11 @@ var Filter = function Filter(_ref) {
|
|
|
95
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
96
|
grandChildData = _useState6[0],
|
|
97
97
|
setGrandChildData = _useState6[1];
|
|
98
|
-
/*
|
|
99
|
-
{parent: showAll,
|
|
100
|
-
chidlren: show selected from parent,
|
|
101
|
-
grandchildren: show selected from children
|
|
102
|
-
}
|
|
98
|
+
/*
|
|
99
|
+
{parent: showAll,
|
|
100
|
+
chidlren: show selected from parent,
|
|
101
|
+
grandchildren: show selected from children
|
|
102
|
+
}
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
|
|
@@ -3,14 +3,14 @@ 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 { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-2cdd0895.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-8ec69f60.js';
|
|
13
|
+
import { g as getSerializers } from './index-a71a6cc7.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -30,8 +30,8 @@ import 'react-bootstrap/Container';
|
|
|
30
30
|
import 'react-bootstrap/Spinner';
|
|
31
31
|
import 'next/router';
|
|
32
32
|
import './lodash-f97fd99a.js';
|
|
33
|
-
import './main-
|
|
34
|
-
import './ADlgInfeed-
|
|
33
|
+
import './main-754d4992.js';
|
|
34
|
+
import './ADlgInfeed-29f7b84c.js';
|
|
35
35
|
import 'react-bootstrap/Card';
|
|
36
36
|
import './AdSlot.js';
|
|
37
37
|
import './debounce-533d9748.js';
|
|
@@ -39,7 +39,7 @@ import './isSymbol-a7e9aafe.js';
|
|
|
39
39
|
import './toNumber-5aeba6e7.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './Segment.js';
|
|
42
|
-
import './ADInfeed-
|
|
42
|
+
import './ADInfeed-fb3b056f.js';
|
|
43
43
|
import './Pagination-9fe9f61d.js';
|
|
44
44
|
import 'react-bootstrap/Button';
|
|
45
45
|
import './index.esm-1bd8a0a8.js';
|
|
@@ -64,7 +64,7 @@ import './SocialShare.js';
|
|
|
64
64
|
import 'next/head';
|
|
65
65
|
import 'react-share';
|
|
66
66
|
import 'react-bootstrap/Pagination';
|
|
67
|
-
import './entities-
|
|
67
|
+
import './entities-6d9154b4.js';
|
|
68
68
|
import 'react-bootstrap/Row';
|
|
69
69
|
import 'react-bootstrap/Col';
|
|
70
70
|
import './index.esm-eb1e8e80.js';
|
|
@@ -96,11 +96,11 @@ var Filter = function Filter(_ref) {
|
|
|
96
96
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
97
97
|
grandChildData = _useState6[0],
|
|
98
98
|
setGrandChildData = _useState6[1];
|
|
99
|
-
/*
|
|
100
|
-
{parent: showAll,
|
|
101
|
-
chidlren: show selected from parent,
|
|
102
|
-
grandchildren: show selected from children
|
|
103
|
-
}
|
|
99
|
+
/*
|
|
100
|
+
{parent: showAll,
|
|
101
|
+
chidlren: show selected from parent,
|
|
102
|
+
grandchildren: show selected from children
|
|
103
|
+
}
|
|
104
104
|
*/
|
|
105
105
|
|
|
106
106
|
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
3
|
import Container from 'react-bootstrap/Container';
|
|
3
4
|
import Nav from 'react-bootstrap/Nav';
|
|
@@ -5,12 +6,13 @@ import Navbar from 'react-bootstrap/Navbar';
|
|
|
5
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
6
7
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
7
8
|
import Search from './Search.js';
|
|
8
|
-
import { N as NavFooter } from './NavFooter-
|
|
9
|
+
import { N as NavFooter } from './NavFooter-37c5eea2.js';
|
|
9
10
|
import Segment from './Segment.js';
|
|
10
|
-
import './slicedToArray-6ebcbfea.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
13
12
|
import './core.get-iterator-method-ea258bb1.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
14
|
+
import './slicedToArray-6ebcbfea.js';
|
|
15
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
14
16
|
import 'react-bootstrap/Form';
|
|
15
17
|
import 'react-bootstrap/FormControl';
|
|
16
18
|
import 'react-bootstrap/Button';
|
|
@@ -49,26 +51,26 @@ var NavDvm = function NavDvm(props) {
|
|
|
49
51
|
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
50
52
|
return React__default.createElement(
|
|
51
53
|
'a',
|
|
52
|
-
{
|
|
53
|
-
target: blank ? '_blank' : '_self'
|
|
54
|
-
|
|
54
|
+
_extends({
|
|
55
|
+
target: blank ? '_blank' : '_self'
|
|
56
|
+
}, needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
55
57
|
key: key,
|
|
56
58
|
href: url || '#',
|
|
57
|
-
className: className
|
|
58
|
-
|
|
59
|
+
className: className
|
|
60
|
+
}, checkSisterSite(url) ? {} : { rel: 'noopener noreferrer' }),
|
|
59
61
|
name
|
|
60
62
|
);
|
|
61
63
|
}
|
|
62
64
|
|
|
63
65
|
return React__default.createElement(
|
|
64
66
|
'a',
|
|
65
|
-
{
|
|
67
|
+
_extends({
|
|
66
68
|
key: key,
|
|
67
|
-
href: url || '#'
|
|
68
|
-
|
|
69
|
+
href: url || '#'
|
|
70
|
+
}, needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
69
71
|
target: blank ? '_blank' : '_self',
|
|
70
|
-
className: className
|
|
71
|
-
|
|
72
|
+
className: className
|
|
73
|
+
}, checkSisterSite(url) ? {} : { rel: 'noopener noreferrer' }),
|
|
72
74
|
name
|
|
73
75
|
);
|
|
74
76
|
};
|
|
@@ -175,13 +177,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
175
177
|
if (ddRow.url && ddRow.name) {
|
|
176
178
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
177
179
|
'a',
|
|
178
|
-
{
|
|
179
|
-
key: subIndex
|
|
180
|
-
|
|
180
|
+
_extends({
|
|
181
|
+
key: subIndex
|
|
182
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
181
183
|
href: ddRow.url,
|
|
182
184
|
target: ddRow.blank ? '_blank' : '_self',
|
|
183
|
-
className: 'dropdown-item'
|
|
184
|
-
|
|
185
|
+
className: 'dropdown-item'
|
|
186
|
+
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
185
187
|
ddRow.name
|
|
186
188
|
) : null;
|
|
187
189
|
} else return null;
|
|
@@ -201,13 +203,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
201
203
|
if (ddRow.url && ddRow.name) {
|
|
202
204
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
203
205
|
'a',
|
|
204
|
-
{
|
|
205
|
-
key: subIndex
|
|
206
|
-
|
|
206
|
+
_extends({
|
|
207
|
+
key: subIndex
|
|
208
|
+
}, ddRow.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
207
209
|
href: ddRow.url,
|
|
208
210
|
target: ddRow.blank ? '_blank' : '_self',
|
|
209
|
-
className: 'dropdown-item'
|
|
210
|
-
|
|
211
|
+
className: 'dropdown-item'
|
|
212
|
+
}, checkSisterSite(ddRow.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
211
213
|
ddRow.name
|
|
212
214
|
) : null;
|
|
213
215
|
} else return null;
|
|
@@ -219,13 +221,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
219
221
|
} else {
|
|
220
222
|
return row.url && row.name ? React__default.createElement(
|
|
221
223
|
'a',
|
|
222
|
-
{
|
|
223
|
-
key: index
|
|
224
|
-
|
|
224
|
+
_extends({
|
|
225
|
+
key: index
|
|
226
|
+
}, row.needSegmentSupport ? { needsegmentsupport: 'true' } : {}, {
|
|
225
227
|
href: row.url,
|
|
226
228
|
target: row.blank ? '_blank' : '_self',
|
|
227
|
-
className: 'nav-link'
|
|
228
|
-
|
|
229
|
+
className: 'nav-link'
|
|
230
|
+
}, checkSisterSite(row.url) ? {} : { rel: 'noopener noreferrer' }),
|
|
229
231
|
row.name
|
|
230
232
|
) : null;
|
|
231
233
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default from 'react';
|
|
2
3
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
3
4
|
|
|
@@ -20,7 +21,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
20
21
|
{ key: index },
|
|
21
22
|
React__default.createElement(
|
|
22
23
|
'a',
|
|
23
|
-
{ target: '_blank',
|
|
24
|
+
_extends({ target: '_blank' }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { href: content.url, className: 'nav-link' }),
|
|
24
25
|
content.title
|
|
25
26
|
)
|
|
26
27
|
) : React__default.createElement(
|
|
@@ -28,7 +29,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
28
29
|
{ key: index },
|
|
29
30
|
React__default.createElement(
|
|
30
31
|
'a',
|
|
31
|
-
{ href: content.url,
|
|
32
|
+
_extends({ href: content.url }, checkSisterSite(content.url) ? {} : { rel: 'noopener noreferrer' }, { className: 'nav-link' }),
|
|
32
33
|
content.title
|
|
33
34
|
)
|
|
34
35
|
);
|
|
@@ -39,7 +40,7 @@ var NavFooter = function NavFooter(props) {
|
|
|
39
40
|
null,
|
|
40
41
|
React__default.createElement(
|
|
41
42
|
'a',
|
|
42
|
-
{ href: 'https://www.mjhlifesciences.com',
|
|
43
|
+
_extends({ href: 'https://www.mjhlifesciences.com' }, checkSisterSite('https://www.mjhlifesciences.com') ? {} : { rel: 'noopener noreferrer' }),
|
|
43
44
|
React__default.createElement('img', {
|
|
44
45
|
style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
|
|
45
46
|
alt: 'MJHLS Brand Logo',
|