@mjhls/mjh-framework 1.0.986-article-rec-v2 → 1.0.986-nofollow-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 +1 -1
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-e5192055.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-442a5d8c.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +1047 -866
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +114 -85
- package/dist/cjs/AuthWrapper.js +24 -24
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +18 -18
- package/dist/cjs/Column3.js +29 -29
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +58 -58
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +120 -93
- package/dist/cjs/ExternalResources.js +35 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +111 -112
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +29 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-17fdaf3b.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +20 -19
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +39 -39
- package/dist/cjs/MasterDeckPaginated.js +29 -29
- package/dist/cjs/{MediaSeriesCard-a9755b4a.js → MediaSeriesCard-ab6023ce.js} +563 -522
- package/dist/cjs/MediaSeriesLanding.js +36 -35
- package/dist/cjs/MediaSeriesLandingPaginated.js +35 -34
- package/dist/cjs/NavDvm.js +94 -62
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-1fda6732.js} +11 -11
- package/dist/cjs/NavMagazine.js +127 -108
- package/dist/cjs/NavNative.js +119 -99
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +53 -52
- package/dist/cjs/PartnerDetailListingPaginated.js +46 -45
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +0 -49
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-18fc6e71.js} +22 -22
- package/dist/cjs/SideFooter.js +24 -24
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-bac7d6fa.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +12 -11
- package/dist/cjs/TemplateNormal.js +29 -29
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +29 -28
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +288 -342
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/checkSisterSite-f63a7225.js +12 -0
- package/dist/cjs/getPtceActivities.js +10 -23
- package/dist/cjs/getSerializers.js +7 -6
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-3c5754ac.js} +2 -4
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-5e63adb9.js → index-c77065bb.js} +484 -485
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-70e78156.js} +14 -14
- package/dist/cjs/index.js +104 -103
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/cjs/websiteList-341323e2.js +5 -0
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/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/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +663 -482
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -2
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +40 -11
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column2.js +4 -4
- package/dist/esm/Column3.js +3 -3
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +2 -2
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +31 -4
- package/dist/esm/ExternalResources.js +4 -3
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +8 -9
- package/dist/esm/HorizontalArticleListing.js +3 -2
- package/dist/esm/IssueLanding.js +5 -4
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +3 -3
- package/dist/esm/MasterDeckPaginated.js +4 -4
- package/dist/esm/{MediaSeriesCard-f68f8e63.js → MediaSeriesCard-9ae89079.js} +108 -67
- package/dist/esm/MediaSeriesLanding.js +6 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +7 -6
- package/dist/esm/NavDvm.js +37 -5
- package/dist/esm/NavMagazine.js +23 -4
- package/dist/esm/NavNative.js +23 -3
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -7
- package/dist/esm/PartnerDetailListingPaginated.js +6 -5
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/Segment.js +1 -50
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/SideFooter.js +6 -6
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-c249903e.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -2
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -2
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +71 -125
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/checkSisterSite-e452ba37.js +10 -0
- package/dist/esm/getPtceActivities.js +10 -23
- package/dist/esm/getSerializers.js +3 -2
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-42f9b439.js} +2 -4
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-e0aeabc5.js → index-df1f2337.js} +3 -4
- package/dist/esm/index.js +10 -9
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/dist/esm/websiteList-a533df30.js +3 -0
- package/package.json +1 -1
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-d93886e3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-93777a49.js} +0 -0
|
@@ -9,7 +9,7 @@ import urlFor from './urlFor.js';
|
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-df1f2337.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -2659,7 +2659,10 @@ function isShadowRoot(node) {
|
|
|
2659
2659
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2660
2660
|
}
|
|
2661
2661
|
|
|
2662
|
-
var
|
|
2662
|
+
var max = Math.max;
|
|
2663
|
+
var min = Math.min;
|
|
2664
|
+
var round = Math.round;
|
|
2665
|
+
|
|
2663
2666
|
function getBoundingClientRect(element, includeScale) {
|
|
2664
2667
|
if (includeScale === void 0) {
|
|
2665
2668
|
includeScale = false;
|
|
@@ -2670,20 +2673,28 @@ function getBoundingClientRect(element, includeScale) {
|
|
|
2670
2673
|
var scaleY = 1;
|
|
2671
2674
|
|
|
2672
2675
|
if (isHTMLElement(element) && includeScale) {
|
|
2676
|
+
var offsetHeight = element.offsetHeight;
|
|
2677
|
+
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
2673
2678
|
// Fallback to 1 in case both values are `0`
|
|
2674
|
-
|
|
2675
|
-
|
|
2679
|
+
|
|
2680
|
+
if (offsetWidth > 0) {
|
|
2681
|
+
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
if (offsetHeight > 0) {
|
|
2685
|
+
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2686
|
+
}
|
|
2676
2687
|
}
|
|
2677
2688
|
|
|
2678
2689
|
return {
|
|
2679
|
-
width:
|
|
2680
|
-
height:
|
|
2681
|
-
top:
|
|
2682
|
-
right:
|
|
2683
|
-
bottom:
|
|
2684
|
-
left:
|
|
2685
|
-
x:
|
|
2686
|
-
y:
|
|
2690
|
+
width: rect.width / scaleX,
|
|
2691
|
+
height: rect.height / scaleY,
|
|
2692
|
+
top: rect.top / scaleY,
|
|
2693
|
+
right: rect.right / scaleX,
|
|
2694
|
+
bottom: rect.bottom / scaleY,
|
|
2695
|
+
left: rect.left / scaleX,
|
|
2696
|
+
x: rect.left / scaleX,
|
|
2697
|
+
y: rect.top / scaleY
|
|
2687
2698
|
};
|
|
2688
2699
|
}
|
|
2689
2700
|
|
|
@@ -2832,13 +2843,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2832
2843
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2833
2844
|
}
|
|
2834
2845
|
|
|
2835
|
-
var max = Math.max;
|
|
2836
|
-
var min = Math.min;
|
|
2837
|
-
var round = Math.round;
|
|
2838
|
-
|
|
2839
2846
|
function within(min$1, value, max$1) {
|
|
2840
2847
|
return max(min$1, min(value, max$1));
|
|
2841
2848
|
}
|
|
2849
|
+
function withinMaxClamp(min, value, max) {
|
|
2850
|
+
var v = within(min, value, max);
|
|
2851
|
+
return v > max ? max : v;
|
|
2852
|
+
}
|
|
2842
2853
|
|
|
2843
2854
|
function getFreshSideObject() {
|
|
2844
2855
|
return {
|
|
@@ -2951,6 +2962,10 @@ var arrow$1 = {
|
|
|
2951
2962
|
requiresIfExists: ['preventOverflow']
|
|
2952
2963
|
};
|
|
2953
2964
|
|
|
2965
|
+
function getVariation(placement) {
|
|
2966
|
+
return placement.split('-')[1];
|
|
2967
|
+
}
|
|
2968
|
+
|
|
2954
2969
|
var unsetSides = {
|
|
2955
2970
|
top: 'auto',
|
|
2956
2971
|
right: 'auto',
|
|
@@ -2966,8 +2981,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
2966
2981
|
var win = window;
|
|
2967
2982
|
var dpr = win.devicePixelRatio || 1;
|
|
2968
2983
|
return {
|
|
2969
|
-
x: round(
|
|
2970
|
-
y: round(
|
|
2984
|
+
x: round(x * dpr) / dpr || 0,
|
|
2985
|
+
y: round(y * dpr) / dpr || 0
|
|
2971
2986
|
};
|
|
2972
2987
|
}
|
|
2973
2988
|
|
|
@@ -2977,11 +2992,13 @@ function mapToStyles(_ref2) {
|
|
|
2977
2992
|
var popper = _ref2.popper,
|
|
2978
2993
|
popperRect = _ref2.popperRect,
|
|
2979
2994
|
placement = _ref2.placement,
|
|
2995
|
+
variation = _ref2.variation,
|
|
2980
2996
|
offsets = _ref2.offsets,
|
|
2981
2997
|
position = _ref2.position,
|
|
2982
2998
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
2983
2999
|
adaptive = _ref2.adaptive,
|
|
2984
|
-
roundOffsets = _ref2.roundOffsets
|
|
3000
|
+
roundOffsets = _ref2.roundOffsets,
|
|
3001
|
+
isFixed = _ref2.isFixed;
|
|
2985
3002
|
|
|
2986
3003
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
2987
3004
|
_ref3$x = _ref3.x,
|
|
@@ -3003,7 +3020,7 @@ function mapToStyles(_ref2) {
|
|
|
3003
3020
|
if (offsetParent === getWindow(popper)) {
|
|
3004
3021
|
offsetParent = getDocumentElement(popper);
|
|
3005
3022
|
|
|
3006
|
-
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3023
|
+
if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
|
|
3007
3024
|
heightProp = 'scrollHeight';
|
|
3008
3025
|
widthProp = 'scrollWidth';
|
|
3009
3026
|
}
|
|
@@ -3012,17 +3029,19 @@ function mapToStyles(_ref2) {
|
|
|
3012
3029
|
|
|
3013
3030
|
offsetParent = offsetParent;
|
|
3014
3031
|
|
|
3015
|
-
if (placement === top) {
|
|
3016
|
-
sideY = bottom;
|
|
3017
|
-
|
|
3018
|
-
|
|
3032
|
+
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
3033
|
+
sideY = bottom;
|
|
3034
|
+
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
3035
|
+
offsetParent[heightProp];
|
|
3036
|
+
y -= offsetY - popperRect.height;
|
|
3019
3037
|
y *= gpuAcceleration ? 1 : -1;
|
|
3020
3038
|
}
|
|
3021
3039
|
|
|
3022
|
-
if (placement === left) {
|
|
3023
|
-
sideX = right;
|
|
3024
|
-
|
|
3025
|
-
|
|
3040
|
+
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
3041
|
+
sideX = right;
|
|
3042
|
+
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
3043
|
+
offsetParent[widthProp];
|
|
3044
|
+
x -= offsetX - popperRect.width;
|
|
3026
3045
|
x *= gpuAcceleration ? 1 : -1;
|
|
3027
3046
|
}
|
|
3028
3047
|
}
|
|
@@ -3034,7 +3053,7 @@ function mapToStyles(_ref2) {
|
|
|
3034
3053
|
if (gpuAcceleration) {
|
|
3035
3054
|
var _Object$assign;
|
|
3036
3055
|
|
|
3037
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
3056
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3038
3057
|
}
|
|
3039
3058
|
|
|
3040
3059
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -3062,9 +3081,11 @@ function computeStyles(_ref4) {
|
|
|
3062
3081
|
|
|
3063
3082
|
var commonStyles = {
|
|
3064
3083
|
placement: getBasePlacement(state.placement),
|
|
3084
|
+
variation: getVariation(state.placement),
|
|
3065
3085
|
popper: state.elements.popper,
|
|
3066
3086
|
popperRect: state.rects.popper,
|
|
3067
|
-
gpuAcceleration: gpuAcceleration
|
|
3087
|
+
gpuAcceleration: gpuAcceleration,
|
|
3088
|
+
isFixed: state.options.strategy === 'fixed'
|
|
3068
3089
|
};
|
|
3069
3090
|
|
|
3070
3091
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3322,7 +3343,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3322
3343
|
}
|
|
3323
3344
|
|
|
3324
3345
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3325
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3346
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3326
3347
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3327
3348
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3328
3349
|
// `initial`
|
|
@@ -3339,7 +3360,7 @@ function getClippingParents(element) {
|
|
|
3339
3360
|
|
|
3340
3361
|
|
|
3341
3362
|
return clippingParents.filter(function (clippingParent) {
|
|
3342
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3363
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body' && (canEscapeClipping ? getComputedStyle$1(clippingParent).position !== 'static' : true);
|
|
3343
3364
|
});
|
|
3344
3365
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3345
3366
|
// clipping parents
|
|
@@ -3364,10 +3385,6 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3364
3385
|
return clippingRect;
|
|
3365
3386
|
}
|
|
3366
3387
|
|
|
3367
|
-
function getVariation(placement) {
|
|
3368
|
-
return placement.split('-')[1];
|
|
3369
|
-
}
|
|
3370
|
-
|
|
3371
3388
|
function computeOffsets(_ref) {
|
|
3372
3389
|
var reference = _ref.reference,
|
|
3373
3390
|
element = _ref.element,
|
|
@@ -3453,11 +3470,10 @@ function detectOverflow(state, options) {
|
|
|
3453
3470
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3454
3471
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3455
3472
|
var altContext = elementContext === popper ? reference : popper;
|
|
3456
|
-
var referenceElement = state.elements.reference;
|
|
3457
3473
|
var popperRect = state.rects.popper;
|
|
3458
3474
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3459
3475
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3460
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3476
|
+
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
3461
3477
|
var popperOffsets = computeOffsets({
|
|
3462
3478
|
reference: referenceClientRect,
|
|
3463
3479
|
element: popperRect,
|
|
@@ -3844,6 +3860,14 @@ function preventOverflow(_ref) {
|
|
|
3844
3860
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3845
3861
|
placement: state.placement
|
|
3846
3862
|
})) : tetherOffset;
|
|
3863
|
+
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
3864
|
+
mainAxis: tetherOffsetValue,
|
|
3865
|
+
altAxis: tetherOffsetValue
|
|
3866
|
+
} : Object.assign({
|
|
3867
|
+
mainAxis: 0,
|
|
3868
|
+
altAxis: 0
|
|
3869
|
+
}, tetherOffsetValue);
|
|
3870
|
+
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
3847
3871
|
var data = {
|
|
3848
3872
|
x: 0,
|
|
3849
3873
|
y: 0
|
|
@@ -3853,13 +3877,15 @@ function preventOverflow(_ref) {
|
|
|
3853
3877
|
return;
|
|
3854
3878
|
}
|
|
3855
3879
|
|
|
3856
|
-
if (checkMainAxis
|
|
3880
|
+
if (checkMainAxis) {
|
|
3881
|
+
var _offsetModifierState$;
|
|
3882
|
+
|
|
3857
3883
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3858
3884
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3859
3885
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3860
3886
|
var offset = popperOffsets[mainAxis];
|
|
3861
|
-
var min$1 =
|
|
3862
|
-
var max$1 =
|
|
3887
|
+
var min$1 = offset + overflow[mainSide];
|
|
3888
|
+
var max$1 = offset - overflow[altSide];
|
|
3863
3889
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3864
3890
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3865
3891
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3879,36 +3905,45 @@ function preventOverflow(_ref) {
|
|
|
3879
3905
|
// width or height)
|
|
3880
3906
|
|
|
3881
3907
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3882
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3883
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
3908
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
|
|
3909
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
|
|
3884
3910
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3885
3911
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3886
|
-
var offsetModifierValue =
|
|
3887
|
-
var tetherMin =
|
|
3888
|
-
var tetherMax =
|
|
3912
|
+
var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
|
|
3913
|
+
var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
|
|
3914
|
+
var tetherMax = offset + maxOffset - offsetModifierValue;
|
|
3915
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3916
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3917
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3918
|
+
}
|
|
3889
3919
|
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3893
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3894
|
-
}
|
|
3920
|
+
if (checkAltAxis) {
|
|
3921
|
+
var _offsetModifierState$2;
|
|
3895
3922
|
|
|
3896
|
-
|
|
3897
|
-
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3923
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3898
3924
|
|
|
3899
|
-
|
|
3925
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3900
3926
|
|
|
3901
|
-
|
|
3927
|
+
var _offset = popperOffsets[altAxis];
|
|
3902
3928
|
|
|
3903
|
-
|
|
3929
|
+
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
3904
3930
|
|
|
3905
|
-
|
|
3931
|
+
var _min = _offset + overflow[_mainSide];
|
|
3906
3932
|
|
|
3907
|
-
|
|
3933
|
+
var _max = _offset - overflow[_altSide];
|
|
3908
3934
|
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3935
|
+
var isOriginSide = [top, left].indexOf(basePlacement) !== -1;
|
|
3936
|
+
|
|
3937
|
+
var _offsetModifierValue = (_offsetModifierState$2 = offsetModifierState == null ? void 0 : offsetModifierState[altAxis]) != null ? _offsetModifierState$2 : 0;
|
|
3938
|
+
|
|
3939
|
+
var _tetherMin = isOriginSide ? _min : _offset - referenceRect[_len] - popperRect[_len] - _offsetModifierValue + normalizedTetherOffsetValue.altAxis;
|
|
3940
|
+
|
|
3941
|
+
var _tetherMax = isOriginSide ? _offset + referenceRect[_len] + popperRect[_len] - _offsetModifierValue - normalizedTetherOffsetValue.altAxis : _max;
|
|
3942
|
+
|
|
3943
|
+
var _preventedOffset = tether && isOriginSide ? withinMaxClamp(_tetherMin, _offset, _tetherMax) : within(tether ? _tetherMin : _min, _offset, tether ? _tetherMax : _max);
|
|
3944
|
+
|
|
3945
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3946
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3912
3947
|
}
|
|
3913
3948
|
|
|
3914
3949
|
state.modifiersData[name] = data;
|
|
@@ -3940,8 +3975,8 @@ function getNodeScroll(node) {
|
|
|
3940
3975
|
|
|
3941
3976
|
function isElementScaled(element) {
|
|
3942
3977
|
var rect = element.getBoundingClientRect();
|
|
3943
|
-
var scaleX = rect.width / element.offsetWidth || 1;
|
|
3944
|
-
var scaleY = rect.height / element.offsetHeight || 1;
|
|
3978
|
+
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
3979
|
+
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
3945
3980
|
return scaleX !== 1 || scaleY !== 1;
|
|
3946
3981
|
} // Returns the composite rect of an element relative to its offsetParent.
|
|
3947
3982
|
// Composite means it takes into account transforms as well as layout.
|
|
@@ -4062,7 +4097,10 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4062
4097
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4063
4098
|
function validateModifiers(modifiers) {
|
|
4064
4099
|
modifiers.forEach(function (modifier) {
|
|
4065
|
-
Object.keys(modifier)
|
|
4100
|
+
[].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
|
|
4101
|
+
.filter(function (value, index, self) {
|
|
4102
|
+
return self.indexOf(value) === index;
|
|
4103
|
+
}).forEach(function (key) {
|
|
4066
4104
|
switch (key) {
|
|
4067
4105
|
case 'name':
|
|
4068
4106
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4076,6 +4114,8 @@ function validateModifiers(modifiers) {
|
|
|
4076
4114
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4077
4115
|
}
|
|
4078
4116
|
|
|
4117
|
+
break;
|
|
4118
|
+
|
|
4079
4119
|
case 'phase':
|
|
4080
4120
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4081
4121
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4091,14 +4131,14 @@ function validateModifiers(modifiers) {
|
|
|
4091
4131
|
break;
|
|
4092
4132
|
|
|
4093
4133
|
case 'effect':
|
|
4094
|
-
if (typeof modifier.effect !== 'function') {
|
|
4134
|
+
if (modifier.effect != null && typeof modifier.effect !== 'function') {
|
|
4095
4135
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4096
4136
|
}
|
|
4097
4137
|
|
|
4098
4138
|
break;
|
|
4099
4139
|
|
|
4100
4140
|
case 'requires':
|
|
4101
|
-
if (!Array.isArray(modifier.requires)) {
|
|
4141
|
+
if (modifier.requires != null && !Array.isArray(modifier.requires)) {
|
|
4102
4142
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4103
4143
|
}
|
|
4104
4144
|
|
|
@@ -4208,7 +4248,8 @@ function popperGenerator(generatorOptions) {
|
|
|
4208
4248
|
var isDestroyed = false;
|
|
4209
4249
|
var instance = {
|
|
4210
4250
|
state: state,
|
|
4211
|
-
setOptions: function setOptions(
|
|
4251
|
+
setOptions: function setOptions(setOptionsAction) {
|
|
4252
|
+
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4212
4253
|
cleanupModifierEffects();
|
|
4213
4254
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4214
4255
|
state.scrollParents = {
|
|
@@ -3,13 +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-9ae89079.js';
|
|
7
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
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-df1f2337.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -40,13 +40,13 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
40
|
import './toNumber-5aeba6e7.js';
|
|
41
41
|
import './index.es-a6137319.js';
|
|
42
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-93777a49.js';
|
|
44
44
|
import './AdSlot.js';
|
|
45
45
|
import './Beam.js';
|
|
46
46
|
import './stringify-2b084bee.js';
|
|
47
47
|
import './Segment.js';
|
|
48
|
-
import './main-
|
|
49
|
-
import './ADInfeed-
|
|
48
|
+
import './main-9f6806ea.js';
|
|
49
|
+
import './ADInfeed-d93886e3.js';
|
|
50
50
|
import 'react-bootstrap';
|
|
51
51
|
import './index-c7e2ac95.js';
|
|
52
52
|
import './util-8ed16d48.js';
|
|
@@ -70,6 +70,7 @@ import 'react-bootstrap/Figure';
|
|
|
70
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
71
|
import 'react-bootstrap/Tooltip';
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
|
+
import './websiteList-a533df30.js';
|
|
73
74
|
|
|
74
75
|
var _this = undefined;
|
|
75
76
|
|
|
@@ -3,13 +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-9ae89079.js';
|
|
7
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 { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-df1f2337.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -34,8 +34,8 @@ import 'react-bootstrap/Container';
|
|
|
34
34
|
import 'react-bootstrap/Spinner';
|
|
35
35
|
import 'next/router';
|
|
36
36
|
import './lodash-f97fd99a.js';
|
|
37
|
-
import './main-
|
|
38
|
-
import './ADlgInfeed-
|
|
37
|
+
import './main-9f6806ea.js';
|
|
38
|
+
import './ADlgInfeed-93777a49.js';
|
|
39
39
|
import 'react-bootstrap/Card';
|
|
40
40
|
import './AdSlot.js';
|
|
41
41
|
import './debounce-533d9748.js';
|
|
@@ -43,8 +43,8 @@ import './isSymbol-a7e9aafe.js';
|
|
|
43
43
|
import './toNumber-5aeba6e7.js';
|
|
44
44
|
import './Beam.js';
|
|
45
45
|
import './Segment.js';
|
|
46
|
-
import './ADInfeed-
|
|
47
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-d93886e3.js';
|
|
47
|
+
import './Pagination-9fe9f61d.js';
|
|
48
48
|
import 'react-bootstrap/Button';
|
|
49
49
|
import './index.esm-1bd8a0a8.js';
|
|
50
50
|
import './iconBase-ccc56b97.js';
|
|
@@ -71,6 +71,7 @@ import 'react-bootstrap/Figure';
|
|
|
71
71
|
import 'react-bootstrap/OverlayTrigger';
|
|
72
72
|
import 'react-bootstrap/Tooltip';
|
|
73
73
|
import 'react-bootstrap/Popover';
|
|
74
|
+
import './websiteList-a533df30.js';
|
|
74
75
|
|
|
75
76
|
var _this = undefined;
|
|
76
77
|
|
package/dist/esm/NavDvm.js
CHANGED
|
@@ -3,9 +3,11 @@ import Container from 'react-bootstrap/Container';
|
|
|
3
3
|
import Nav from 'react-bootstrap/Nav';
|
|
4
4
|
import Navbar from 'react-bootstrap/Navbar';
|
|
5
5
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
6
|
+
import { c as checkSisterSite } from './checkSisterSite-e452ba37.js';
|
|
6
7
|
import Search from './Search.js';
|
|
7
8
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
8
9
|
import Segment from './Segment.js';
|
|
10
|
+
import './websiteList-a533df30.js';
|
|
9
11
|
import './slicedToArray-6ebcbfea.js';
|
|
10
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
13
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -48,14 +50,26 @@ var NavDvm = function NavDvm(props) {
|
|
|
48
50
|
if (url && (url.includes('https://') || url.includes('http://'))) {
|
|
49
51
|
return React__default.createElement(
|
|
50
52
|
'a',
|
|
51
|
-
{
|
|
53
|
+
{
|
|
54
|
+
target: blank ? '_blank' : '_self',
|
|
55
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
56
|
+
key: key,
|
|
57
|
+
href: url || '#',
|
|
58
|
+
className: className,
|
|
59
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
52
60
|
name
|
|
53
61
|
);
|
|
54
62
|
}
|
|
55
63
|
|
|
56
64
|
return React__default.createElement(
|
|
57
65
|
'a',
|
|
58
|
-
{
|
|
66
|
+
{
|
|
67
|
+
key: key,
|
|
68
|
+
href: url || '#',
|
|
69
|
+
needsegmentsupport: needSegmentSupport ? 'true' : '',
|
|
70
|
+
target: blank ? '_blank' : '_self',
|
|
71
|
+
className: className,
|
|
72
|
+
rel: checkSisterSite(url) ? '' : 'noopener noreferrer' },
|
|
59
73
|
name
|
|
60
74
|
);
|
|
61
75
|
};
|
|
@@ -162,7 +176,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
162
176
|
if (ddRow.url && ddRow.name) {
|
|
163
177
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
164
178
|
'a',
|
|
165
|
-
{
|
|
179
|
+
{
|
|
180
|
+
key: subIndex,
|
|
181
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
182
|
+
href: ddRow.url,
|
|
183
|
+
target: ddRow.blank ? '_blank' : '_self',
|
|
184
|
+
className: 'dropdown-item',
|
|
185
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
166
186
|
ddRow.name
|
|
167
187
|
) : null;
|
|
168
188
|
} else return null;
|
|
@@ -182,7 +202,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
182
202
|
if (ddRow.url && ddRow.name) {
|
|
183
203
|
return ddRow.url && ddRow.name ? React__default.createElement(
|
|
184
204
|
'a',
|
|
185
|
-
{
|
|
205
|
+
{
|
|
206
|
+
key: subIndex,
|
|
207
|
+
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
208
|
+
href: ddRow.url,
|
|
209
|
+
target: ddRow.blank ? '_blank' : '_self',
|
|
210
|
+
className: 'dropdown-item',
|
|
211
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer' },
|
|
186
212
|
ddRow.name
|
|
187
213
|
) : null;
|
|
188
214
|
} else return null;
|
|
@@ -194,7 +220,13 @@ var NavDvm = function NavDvm(props) {
|
|
|
194
220
|
} else {
|
|
195
221
|
return row.url && row.name ? React__default.createElement(
|
|
196
222
|
'a',
|
|
197
|
-
{
|
|
223
|
+
{
|
|
224
|
+
key: index,
|
|
225
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
226
|
+
href: row.url,
|
|
227
|
+
target: row.blank ? '_blank' : '_self',
|
|
228
|
+
className: 'nav-link',
|
|
229
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
198
230
|
row.name
|
|
199
231
|
) : null;
|
|
200
232
|
}
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -4,16 +4,18 @@ import Container from 'react-bootstrap/Container';
|
|
|
4
4
|
import Nav from 'react-bootstrap/Nav';
|
|
5
5
|
import Navbar from 'react-bootstrap/Navbar';
|
|
6
6
|
import NavDropdown from 'react-bootstrap/NavDropdown';
|
|
7
|
+
import { c as checkSisterSite } from './checkSisterSite-e452ba37.js';
|
|
7
8
|
import { M as MdEmail } from './index.esm-9b042655.js';
|
|
8
9
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
9
10
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
10
11
|
import { S as SocialNavFooter } from './index.esm-37268dca.js';
|
|
11
|
-
import { c as main_44 } from './main-
|
|
12
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
12
13
|
import Segment from './Segment.js';
|
|
13
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
14
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-c249903e.js';
|
|
14
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
16
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
|
+
import './websiteList-a533df30.js';
|
|
17
19
|
import './iconBase-ccc56b97.js';
|
|
18
20
|
import './react-social-icons-9be47857.js';
|
|
19
21
|
import 'prop-types';
|
|
@@ -406,6 +408,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
406
408
|
{
|
|
407
409
|
className: 'dropdownlist-expand-btn',
|
|
408
410
|
href: row.url,
|
|
411
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer',
|
|
409
412
|
style: {
|
|
410
413
|
position: 'absolute',
|
|
411
414
|
top: '0px',
|
|
@@ -427,6 +430,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
427
430
|
key: subIndex,
|
|
428
431
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
429
432
|
href: ddRow.url,
|
|
433
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
430
434
|
target: ddRow.blank ? '_blank' : '_self',
|
|
431
435
|
className: 'dropdown-item' },
|
|
432
436
|
ddRow.name
|
|
@@ -452,6 +456,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
452
456
|
key: subIndex,
|
|
453
457
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
454
458
|
href: ddRow.url,
|
|
459
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
455
460
|
target: ddRow.blank ? '_blank' : '_self',
|
|
456
461
|
className: 'dropdown-item' },
|
|
457
462
|
ddRow.name
|
|
@@ -465,7 +470,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
465
470
|
} else {
|
|
466
471
|
return row.url && row.name ? React__default.createElement(
|
|
467
472
|
'a',
|
|
468
|
-
{
|
|
473
|
+
{
|
|
474
|
+
key: index,
|
|
475
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
476
|
+
href: row.url,
|
|
477
|
+
target: row.blank ? '_blank' : '_self',
|
|
478
|
+
className: 'nav-link',
|
|
479
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
469
480
|
row.name
|
|
470
481
|
) : null;
|
|
471
482
|
}
|
|
@@ -505,6 +516,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
505
516
|
key: subIndex,
|
|
506
517
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
507
518
|
href: ddRow.url,
|
|
519
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
508
520
|
target: ddRow.blank ? '_blank' : '_self',
|
|
509
521
|
className: 'dropdown-item' },
|
|
510
522
|
ddRow.name
|
|
@@ -528,6 +540,7 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
528
540
|
key: subIndex,
|
|
529
541
|
needsegmentsupport: ddRow.needSegmentSupport ? 'true' : '',
|
|
530
542
|
href: ddRow.url,
|
|
543
|
+
rel: checkSisterSite(ddRow.url) ? '' : 'noopener noreferrer',
|
|
531
544
|
target: ddRow.blank ? '_blank' : '_self',
|
|
532
545
|
className: 'dropdown-item' },
|
|
533
546
|
ddRow.name
|
|
@@ -540,7 +553,13 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
540
553
|
} else {
|
|
541
554
|
return row.url && row.name ? React__default.createElement(
|
|
542
555
|
'a',
|
|
543
|
-
{
|
|
556
|
+
{
|
|
557
|
+
key: index,
|
|
558
|
+
needsegmentsupport: row.needSegmentSupport ? 'true' : '',
|
|
559
|
+
href: row.url,
|
|
560
|
+
target: row.blank ? '_blank' : '_self',
|
|
561
|
+
className: 'nav-link',
|
|
562
|
+
rel: checkSisterSite(row.url) ? '' : 'noopener noreferrer' },
|
|
544
563
|
row.name
|
|
545
564
|
) : null;
|
|
546
565
|
}
|