@mjhls/mjh-framework 1.0.992-publication-test-v2 → 1.0.992
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/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +6 -5
- package/dist/cjs/AD300x250x600.js +6 -5
- package/dist/cjs/AD728x90.js +7 -6
- package/dist/cjs/ADFloatingFooter.js +9 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -8
- package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +9 -8
- package/dist/cjs/ADSponsoredResources.js +9 -8
- package/dist/cjs/ADWebcast.js +9 -8
- package/dist/cjs/ADWelcome.js +13 -12
- package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +10 -9
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlgoliaSearch.js +897 -1568
- 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 +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/Auth.js +101 -133
- package/dist/cjs/AuthWrapper.js +55 -131
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +62 -65
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +28 -27
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +51 -49
- package/dist/cjs/DeckContent.js +59 -58
- package/dist/cjs/DeckQueue.js +58 -57
- package/dist/cjs/DeckQueuePaginated.js +48 -46
- package/dist/cjs/{Dfp-67646058.js → Dfp-9be904d5.js} +18 -17
- package/dist/cjs/EventsDeck.js +90 -90
- 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 +135 -134
- package/dist/cjs/GridContentPaginated.js +123 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +105 -105
- 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-1ec0408b.js → ImageSlider-6c00b878.js} +172 -212
- 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 +18 -17
- package/dist/cjs/MasterDeck.js +40 -39
- package/dist/cjs/MasterDeckPaginated.js +31 -29
- package/dist/cjs/{MediaSeriesCard-d736ac47.js → MediaSeriesCard-9677fbc3.js} +666 -771
- package/dist/cjs/MediaSeriesLanding.js +37 -36
- package/dist/cjs/MediaSeriesLandingPaginated.js +37 -35
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-1fda6732.js → NavFooter-3dcd99a8.js} +11 -11
- package/dist/cjs/NavMagazine.js +106 -106
- package/dist/cjs/NavNative.js +97 -97
- 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-1e0d5f1d.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +51 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +48 -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 +14 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +246 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +224 -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/SeriesListingDeck.js +19 -18
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-594b19eb.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-bac7d6fa.js → SocialSearchComponent-b7faaedc.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 +28 -27
- 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 +12 -11
- package/dist/cjs/VideoSeriesListing.js +47 -46
- package/dist/cjs/View.js +226 -229
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getQuery.js +2 -5
- package/dist/cjs/getRelatedArticle.js +0 -1
- package/dist/cjs/getSerializers.js +7 -6
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-0befb5fb.js → index-5e63adb9.js} +481 -481
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-7435b964.js → index-fc2f1ca2.js} +6 -471
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-70e78156.js → index.esm-2bb721c8.js} +14 -14
- package/dist/cjs/index.js +106 -102
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD.js +2 -2
- package/dist/esm/AD300x250.js +4 -3
- package/dist/esm/AD300x250x600.js +4 -3
- package/dist/esm/AD728x90.js +4 -3
- package/dist/esm/ADFloatingFooter.js +4 -3
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +4 -3
- package/dist/esm/ADSkyscraper.js +4 -3
- package/dist/esm/ADSponsoredResources.js +4 -3
- package/dist/esm/ADWebcast.js +4 -3
- package/dist/esm/ADWelcome.js +4 -3
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +4 -3
- package/dist/esm/AdSlotsProvider.js +4 -3
- package/dist/esm/AlgoliaSearch.js +526 -1197
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesLandingPage.js +6 -5
- package/dist/esm/ArticleSeriesListing.js +4 -3
- package/dist/esm/Auth.js +29 -60
- package/dist/esm/AuthWrapper.js +29 -105
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +5 -8
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +5 -3
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +7 -5
- package/dist/esm/DeckContent.js +5 -4
- package/dist/esm/DeckQueue.js +4 -3
- package/dist/esm/DeckQueuePaginated.js +6 -4
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +3 -2
- package/dist/esm/EventsDeck.js +3 -3
- package/dist/esm/ExternalResources.js +6 -5
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +6 -5
- package/dist/esm/GridContentPaginated.js +8 -6
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +4 -3
- package/dist/esm/Header.js +2 -1
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +5 -4
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +7 -6
- package/dist/esm/KMTracker.js +1 -1
- package/dist/esm/LeftNav.js +5 -3
- package/dist/esm/MasterDeck.js +6 -5
- package/dist/esm/MasterDeckPaginated.js +8 -6
- package/dist/esm/{MediaSeriesCard-3a4646ca.js → MediaSeriesCard-8b14906f.js} +97 -202
- package/dist/esm/MediaSeriesLanding.js +9 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +11 -9
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +4 -3
- package/dist/esm/NavNative.js +3 -2
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-cd21f8c2.js +82 -0
- package/dist/esm/PartnerDetailListing.js +9 -7
- package/dist/esm/PartnerDetailListingPaginated.js +11 -8
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +6 -5
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +1 -1
- package/dist/esm/QueueDeckExpanded.js +6 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +8 -6
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/RelatedTopicsDropdown.js +1 -1
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +5 -4
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +1 -1
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-c249903e.js → SocialSearchComponent-4b56cd8c.js} +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +5 -4
- package/dist/esm/TemplateNormal.js +5 -4
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +5 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +6 -5
- package/dist/esm/VideoSeriesListing.js +4 -3
- package/dist/esm/View.js +9 -13
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +2 -2
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +3 -6
- package/dist/esm/getRelatedArticle.js +1 -2
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-eaa2c6b3.js → index-e0aeabc5.js} +2 -2
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +14 -10
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Pagination-6359861a.js +0 -97
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/Pagination-9fe9f61d.js +0 -90
- package/dist/esm/index-174b5baf.js +0 -52
- /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-5e36f317.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { _ as _objectWithoutPropertiesLoose, b as _extends, a as _setPrototypeOf, c as classnames } from './index-98ca9cec.js';
|
|
2
2
|
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import ReactDOM from 'react-dom';
|
|
@@ -9,40 +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-
|
|
13
|
-
|
|
14
|
-
function _extends() {
|
|
15
|
-
_extends = Object.assign || function (target) {
|
|
16
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
17
|
-
var source = arguments[i];
|
|
18
|
-
|
|
19
|
-
for (var key in source) {
|
|
20
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21
|
-
target[key] = source[key];
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return target;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
return _extends.apply(this, arguments);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
33
|
-
if (source == null) return {};
|
|
34
|
-
var target = {};
|
|
35
|
-
var sourceKeys = Object.keys(source);
|
|
36
|
-
var key, i;
|
|
37
|
-
|
|
38
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
39
|
-
key = sourceKeys[i];
|
|
40
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
41
|
-
target[key] = source[key];
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
return target;
|
|
45
|
-
}
|
|
12
|
+
import { g as getSerializers } from './index-e0aeabc5.js';
|
|
46
13
|
|
|
47
14
|
/**
|
|
48
15
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -149,15 +116,6 @@ function useUncontrolled(props, config) {
|
|
|
149
116
|
}, props);
|
|
150
117
|
}
|
|
151
118
|
|
|
152
|
-
function _setPrototypeOf(o, p) {
|
|
153
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
154
|
-
o.__proto__ = p;
|
|
155
|
-
return o;
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
return _setPrototypeOf(o, p);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
119
|
function _inheritsLoose(subClass, superClass) {
|
|
162
120
|
subClass.prototype = Object.create(superClass.prototype);
|
|
163
121
|
subClass.prototype.constructor = subClass;
|
|
@@ -2668,6 +2626,45 @@ function getBasePlacement(placement) {
|
|
|
2668
2626
|
return placement.split('-')[0];
|
|
2669
2627
|
}
|
|
2670
2628
|
|
|
2629
|
+
function getBoundingClientRect(element) {
|
|
2630
|
+
var rect = element.getBoundingClientRect();
|
|
2631
|
+
return {
|
|
2632
|
+
width: rect.width,
|
|
2633
|
+
height: rect.height,
|
|
2634
|
+
top: rect.top,
|
|
2635
|
+
right: rect.right,
|
|
2636
|
+
bottom: rect.bottom,
|
|
2637
|
+
left: rect.left,
|
|
2638
|
+
x: rect.left,
|
|
2639
|
+
y: rect.top
|
|
2640
|
+
};
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
// means it doesn't take into account transforms.
|
|
2644
|
+
|
|
2645
|
+
function getLayoutRect(element) {
|
|
2646
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2647
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2648
|
+
|
|
2649
|
+
var width = element.offsetWidth;
|
|
2650
|
+
var height = element.offsetHeight;
|
|
2651
|
+
|
|
2652
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2653
|
+
width = clientRect.width;
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2657
|
+
height = clientRect.height;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
return {
|
|
2661
|
+
x: element.offsetLeft,
|
|
2662
|
+
y: element.offsetTop,
|
|
2663
|
+
width: width,
|
|
2664
|
+
height: height
|
|
2665
|
+
};
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2671
2668
|
function getWindow(node) {
|
|
2672
2669
|
if (node == null) {
|
|
2673
2670
|
return window;
|
|
@@ -2701,70 +2698,6 @@ function isShadowRoot(node) {
|
|
|
2701
2698
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2702
2699
|
}
|
|
2703
2700
|
|
|
2704
|
-
var max = Math.max;
|
|
2705
|
-
var min = Math.min;
|
|
2706
|
-
var round = Math.round;
|
|
2707
|
-
|
|
2708
|
-
function getBoundingClientRect(element, includeScale) {
|
|
2709
|
-
if (includeScale === void 0) {
|
|
2710
|
-
includeScale = false;
|
|
2711
|
-
}
|
|
2712
|
-
|
|
2713
|
-
var rect = element.getBoundingClientRect();
|
|
2714
|
-
var scaleX = 1;
|
|
2715
|
-
var scaleY = 1;
|
|
2716
|
-
|
|
2717
|
-
if (isHTMLElement(element) && includeScale) {
|
|
2718
|
-
var offsetHeight = element.offsetHeight;
|
|
2719
|
-
var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
|
|
2720
|
-
// Fallback to 1 in case both values are `0`
|
|
2721
|
-
|
|
2722
|
-
if (offsetWidth > 0) {
|
|
2723
|
-
scaleX = round(rect.width) / offsetWidth || 1;
|
|
2724
|
-
}
|
|
2725
|
-
|
|
2726
|
-
if (offsetHeight > 0) {
|
|
2727
|
-
scaleY = round(rect.height) / offsetHeight || 1;
|
|
2728
|
-
}
|
|
2729
|
-
}
|
|
2730
|
-
|
|
2731
|
-
return {
|
|
2732
|
-
width: rect.width / scaleX,
|
|
2733
|
-
height: rect.height / scaleY,
|
|
2734
|
-
top: rect.top / scaleY,
|
|
2735
|
-
right: rect.right / scaleX,
|
|
2736
|
-
bottom: rect.bottom / scaleY,
|
|
2737
|
-
left: rect.left / scaleX,
|
|
2738
|
-
x: rect.left / scaleX,
|
|
2739
|
-
y: rect.top / scaleY
|
|
2740
|
-
};
|
|
2741
|
-
}
|
|
2742
|
-
|
|
2743
|
-
// means it doesn't take into account transforms.
|
|
2744
|
-
|
|
2745
|
-
function getLayoutRect(element) {
|
|
2746
|
-
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2747
|
-
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2748
|
-
|
|
2749
|
-
var width = element.offsetWidth;
|
|
2750
|
-
var height = element.offsetHeight;
|
|
2751
|
-
|
|
2752
|
-
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2753
|
-
width = clientRect.width;
|
|
2754
|
-
}
|
|
2755
|
-
|
|
2756
|
-
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2757
|
-
height = clientRect.height;
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
|
-
return {
|
|
2761
|
-
x: element.offsetLeft,
|
|
2762
|
-
y: element.offsetTop,
|
|
2763
|
-
width: width,
|
|
2764
|
-
height: height
|
|
2765
|
-
};
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
2701
|
function contains$1(parent, child) {
|
|
2769
2702
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2770
2703
|
|
|
@@ -2885,13 +2818,13 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2885
2818
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2886
2819
|
}
|
|
2887
2820
|
|
|
2821
|
+
var max = Math.max;
|
|
2822
|
+
var min = Math.min;
|
|
2823
|
+
var round = Math.round;
|
|
2824
|
+
|
|
2888
2825
|
function within(min$1, value, max$1) {
|
|
2889
2826
|
return max(min$1, min(value, max$1));
|
|
2890
2827
|
}
|
|
2891
|
-
function withinMaxClamp(min, value, max) {
|
|
2892
|
-
var v = within(min, value, max);
|
|
2893
|
-
return v > max ? max : v;
|
|
2894
|
-
}
|
|
2895
2828
|
|
|
2896
2829
|
function getFreshSideObject() {
|
|
2897
2830
|
return {
|
|
@@ -3004,10 +2937,6 @@ var arrow$1 = {
|
|
|
3004
2937
|
requiresIfExists: ['preventOverflow']
|
|
3005
2938
|
};
|
|
3006
2939
|
|
|
3007
|
-
function getVariation(placement) {
|
|
3008
|
-
return placement.split('-')[1];
|
|
3009
|
-
}
|
|
3010
|
-
|
|
3011
2940
|
var unsetSides = {
|
|
3012
2941
|
top: 'auto',
|
|
3013
2942
|
right: 'auto',
|
|
@@ -3023,8 +2952,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
3023
2952
|
var win = window;
|
|
3024
2953
|
var dpr = win.devicePixelRatio || 1;
|
|
3025
2954
|
return {
|
|
3026
|
-
x: round(x * dpr) / dpr || 0,
|
|
3027
|
-
y: round(y * dpr) / dpr || 0
|
|
2955
|
+
x: round(round(x * dpr) / dpr) || 0,
|
|
2956
|
+
y: round(round(y * dpr) / dpr) || 0
|
|
3028
2957
|
};
|
|
3029
2958
|
}
|
|
3030
2959
|
|
|
@@ -3034,13 +2963,11 @@ function mapToStyles(_ref2) {
|
|
|
3034
2963
|
var popper = _ref2.popper,
|
|
3035
2964
|
popperRect = _ref2.popperRect,
|
|
3036
2965
|
placement = _ref2.placement,
|
|
3037
|
-
variation = _ref2.variation,
|
|
3038
2966
|
offsets = _ref2.offsets,
|
|
3039
2967
|
position = _ref2.position,
|
|
3040
2968
|
gpuAcceleration = _ref2.gpuAcceleration,
|
|
3041
2969
|
adaptive = _ref2.adaptive,
|
|
3042
|
-
roundOffsets = _ref2.roundOffsets
|
|
3043
|
-
isFixed = _ref2.isFixed;
|
|
2970
|
+
roundOffsets = _ref2.roundOffsets;
|
|
3044
2971
|
|
|
3045
2972
|
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
3046
2973
|
_ref3$x = _ref3.x,
|
|
@@ -3062,7 +2989,7 @@ function mapToStyles(_ref2) {
|
|
|
3062
2989
|
if (offsetParent === getWindow(popper)) {
|
|
3063
2990
|
offsetParent = getDocumentElement(popper);
|
|
3064
2991
|
|
|
3065
|
-
if (getComputedStyle$1(offsetParent).position !== 'static'
|
|
2992
|
+
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3066
2993
|
heightProp = 'scrollHeight';
|
|
3067
2994
|
widthProp = 'scrollWidth';
|
|
3068
2995
|
}
|
|
@@ -3071,19 +2998,17 @@ function mapToStyles(_ref2) {
|
|
|
3071
2998
|
|
|
3072
2999
|
offsetParent = offsetParent;
|
|
3073
3000
|
|
|
3074
|
-
if (placement === top
|
|
3075
|
-
sideY = bottom;
|
|
3076
|
-
|
|
3077
|
-
offsetParent[heightProp];
|
|
3078
|
-
y -= offsetY - popperRect.height;
|
|
3001
|
+
if (placement === top) {
|
|
3002
|
+
sideY = bottom; // $FlowFixMe[prop-missing]
|
|
3003
|
+
|
|
3004
|
+
y -= offsetParent[heightProp] - popperRect.height;
|
|
3079
3005
|
y *= gpuAcceleration ? 1 : -1;
|
|
3080
3006
|
}
|
|
3081
3007
|
|
|
3082
|
-
if (placement === left
|
|
3083
|
-
sideX = right;
|
|
3084
|
-
|
|
3085
|
-
offsetParent[widthProp];
|
|
3086
|
-
x -= offsetX - popperRect.width;
|
|
3008
|
+
if (placement === left) {
|
|
3009
|
+
sideX = right; // $FlowFixMe[prop-missing]
|
|
3010
|
+
|
|
3011
|
+
x -= offsetParent[widthProp] - popperRect.width;
|
|
3087
3012
|
x *= gpuAcceleration ? 1 : -1;
|
|
3088
3013
|
}
|
|
3089
3014
|
}
|
|
@@ -3095,7 +3020,7 @@ function mapToStyles(_ref2) {
|
|
|
3095
3020
|
if (gpuAcceleration) {
|
|
3096
3021
|
var _Object$assign;
|
|
3097
3022
|
|
|
3098
|
-
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1)
|
|
3023
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3099
3024
|
}
|
|
3100
3025
|
|
|
3101
3026
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
@@ -3123,11 +3048,9 @@ function computeStyles(_ref4) {
|
|
|
3123
3048
|
|
|
3124
3049
|
var commonStyles = {
|
|
3125
3050
|
placement: getBasePlacement(state.placement),
|
|
3126
|
-
variation: getVariation(state.placement),
|
|
3127
3051
|
popper: state.elements.popper,
|
|
3128
3052
|
popperRect: state.rects.popper,
|
|
3129
|
-
gpuAcceleration: gpuAcceleration
|
|
3130
|
-
isFixed: state.options.strategy === 'fixed'
|
|
3053
|
+
gpuAcceleration: gpuAcceleration
|
|
3131
3054
|
};
|
|
3132
3055
|
|
|
3133
3056
|
if (state.modifiersData.popperOffsets != null) {
|
|
@@ -3385,7 +3308,7 @@ function getInnerBoundingClientRect(element) {
|
|
|
3385
3308
|
}
|
|
3386
3309
|
|
|
3387
3310
|
function getClientRectFromMixedType(element, clippingParent) {
|
|
3388
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) :
|
|
3311
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isHTMLElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
3389
3312
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
3390
3313
|
// clipping (or hiding) overflowing elements with a position different from
|
|
3391
3314
|
// `initial`
|
|
@@ -3402,7 +3325,7 @@ function getClippingParents(element) {
|
|
|
3402
3325
|
|
|
3403
3326
|
|
|
3404
3327
|
return clippingParents.filter(function (clippingParent) {
|
|
3405
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
3328
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3406
3329
|
});
|
|
3407
3330
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3408
3331
|
// clipping parents
|
|
@@ -3427,6 +3350,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3427
3350
|
return clippingRect;
|
|
3428
3351
|
}
|
|
3429
3352
|
|
|
3353
|
+
function getVariation(placement) {
|
|
3354
|
+
return placement.split('-')[1];
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3430
3357
|
function computeOffsets(_ref) {
|
|
3431
3358
|
var reference = _ref.reference,
|
|
3432
3359
|
element = _ref.element,
|
|
@@ -3512,10 +3439,11 @@ function detectOverflow(state, options) {
|
|
|
3512
3439
|
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
3513
3440
|
var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
3514
3441
|
var altContext = elementContext === popper ? reference : popper;
|
|
3442
|
+
var referenceElement = state.elements.reference;
|
|
3515
3443
|
var popperRect = state.rects.popper;
|
|
3516
3444
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
3517
3445
|
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
3518
|
-
var referenceClientRect = getBoundingClientRect(
|
|
3446
|
+
var referenceClientRect = getBoundingClientRect(referenceElement);
|
|
3519
3447
|
var popperOffsets = computeOffsets({
|
|
3520
3448
|
reference: referenceClientRect,
|
|
3521
3449
|
element: popperRect,
|
|
@@ -3902,14 +3830,6 @@ function preventOverflow(_ref) {
|
|
|
3902
3830
|
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3903
3831
|
placement: state.placement
|
|
3904
3832
|
})) : tetherOffset;
|
|
3905
|
-
var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
|
|
3906
|
-
mainAxis: tetherOffsetValue,
|
|
3907
|
-
altAxis: tetherOffsetValue
|
|
3908
|
-
} : Object.assign({
|
|
3909
|
-
mainAxis: 0,
|
|
3910
|
-
altAxis: 0
|
|
3911
|
-
}, tetherOffsetValue);
|
|
3912
|
-
var offsetModifierState = state.modifiersData.offset ? state.modifiersData.offset[state.placement] : null;
|
|
3913
3833
|
var data = {
|
|
3914
3834
|
x: 0,
|
|
3915
3835
|
y: 0
|
|
@@ -3919,15 +3839,13 @@ function preventOverflow(_ref) {
|
|
|
3919
3839
|
return;
|
|
3920
3840
|
}
|
|
3921
3841
|
|
|
3922
|
-
if (checkMainAxis) {
|
|
3923
|
-
var _offsetModifierState$;
|
|
3924
|
-
|
|
3842
|
+
if (checkMainAxis || checkAltAxis) {
|
|
3925
3843
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3926
3844
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3927
3845
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3928
3846
|
var offset = popperOffsets[mainAxis];
|
|
3929
|
-
var min$1 =
|
|
3930
|
-
var max$1 =
|
|
3847
|
+
var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
|
|
3848
|
+
var max$1 = popperOffsets[mainAxis] - overflow[altSide];
|
|
3931
3849
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3932
3850
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3933
3851
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3947,45 +3865,36 @@ function preventOverflow(_ref) {
|
|
|
3947
3865
|
// width or height)
|
|
3948
3866
|
|
|
3949
3867
|
var arrowLen = within(0, referenceRect[len], arrowRect[len]);
|
|
3950
|
-
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin -
|
|
3951
|
-
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax +
|
|
3868
|
+
var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - tetherOffsetValue : minLen - arrowLen - arrowPaddingMin - tetherOffsetValue;
|
|
3869
|
+
var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + tetherOffsetValue : maxLen + arrowLen + arrowPaddingMax + tetherOffsetValue;
|
|
3952
3870
|
var arrowOffsetParent = state.elements.arrow && getOffsetParent(state.elements.arrow);
|
|
3953
3871
|
var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
|
|
3954
|
-
var offsetModifierValue =
|
|
3955
|
-
var tetherMin =
|
|
3956
|
-
var tetherMax =
|
|
3957
|
-
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3958
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3959
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3960
|
-
}
|
|
3872
|
+
var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
|
|
3873
|
+
var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
3874
|
+
var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
|
|
3961
3875
|
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3968
|
-
|
|
3969
|
-
var _offset = popperOffsets[altAxis];
|
|
3970
|
-
|
|
3971
|
-
var _len = altAxis === 'y' ? 'height' : 'width';
|
|
3972
|
-
|
|
3973
|
-
var _min = _offset + overflow[_mainSide];
|
|
3876
|
+
if (checkMainAxis) {
|
|
3877
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3878
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3879
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3880
|
+
}
|
|
3974
3881
|
|
|
3975
|
-
|
|
3882
|
+
if (checkAltAxis) {
|
|
3883
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3976
3884
|
|
|
3977
|
-
|
|
3885
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3978
3886
|
|
|
3979
|
-
|
|
3887
|
+
var _offset = popperOffsets[altAxis];
|
|
3980
3888
|
|
|
3981
|
-
|
|
3889
|
+
var _min = _offset + overflow[_mainSide];
|
|
3982
3890
|
|
|
3983
|
-
|
|
3891
|
+
var _max = _offset - overflow[_altSide];
|
|
3984
3892
|
|
|
3985
|
-
|
|
3893
|
+
var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
|
|
3986
3894
|
|
|
3987
|
-
|
|
3988
|
-
|
|
3895
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3896
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3897
|
+
}
|
|
3989
3898
|
}
|
|
3990
3899
|
|
|
3991
3900
|
state.modifiersData[name] = data;
|
|
@@ -4015,24 +3924,16 @@ function getNodeScroll(node) {
|
|
|
4015
3924
|
}
|
|
4016
3925
|
}
|
|
4017
3926
|
|
|
4018
|
-
function isElementScaled(element) {
|
|
4019
|
-
var rect = element.getBoundingClientRect();
|
|
4020
|
-
var scaleX = round(rect.width) / element.offsetWidth || 1;
|
|
4021
|
-
var scaleY = round(rect.height) / element.offsetHeight || 1;
|
|
4022
|
-
return scaleX !== 1 || scaleY !== 1;
|
|
4023
|
-
} // Returns the composite rect of an element relative to its offsetParent.
|
|
4024
3927
|
// Composite means it takes into account transforms as well as layout.
|
|
4025
3928
|
|
|
4026
|
-
|
|
4027
3929
|
function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
4028
3930
|
if (isFixed === void 0) {
|
|
4029
3931
|
isFixed = false;
|
|
4030
3932
|
}
|
|
4031
3933
|
|
|
4032
|
-
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
4033
|
-
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
4034
3934
|
var documentElement = getDocumentElement(offsetParent);
|
|
4035
|
-
var rect = getBoundingClientRect(elementOrVirtualElement
|
|
3935
|
+
var rect = getBoundingClientRect(elementOrVirtualElement);
|
|
3936
|
+
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
4036
3937
|
var scroll = {
|
|
4037
3938
|
scrollLeft: 0,
|
|
4038
3939
|
scrollTop: 0
|
|
@@ -4049,7 +3950,7 @@ function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
|
|
|
4049
3950
|
}
|
|
4050
3951
|
|
|
4051
3952
|
if (isHTMLElement(offsetParent)) {
|
|
4052
|
-
offsets = getBoundingClientRect(offsetParent
|
|
3953
|
+
offsets = getBoundingClientRect(offsetParent);
|
|
4053
3954
|
offsets.x += offsetParent.clientLeft;
|
|
4054
3955
|
offsets.y += offsetParent.clientTop;
|
|
4055
3956
|
} else if (documentElement) {
|
|
@@ -4139,10 +4040,7 @@ var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" mo
|
|
|
4139
4040
|
var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
|
|
4140
4041
|
function validateModifiers(modifiers) {
|
|
4141
4042
|
modifiers.forEach(function (modifier) {
|
|
4142
|
-
|
|
4143
|
-
.filter(function (value, index, self) {
|
|
4144
|
-
return self.indexOf(value) === index;
|
|
4145
|
-
}).forEach(function (key) {
|
|
4043
|
+
Object.keys(modifier).forEach(function (key) {
|
|
4146
4044
|
switch (key) {
|
|
4147
4045
|
case 'name':
|
|
4148
4046
|
if (typeof modifier.name !== 'string') {
|
|
@@ -4156,8 +4054,6 @@ function validateModifiers(modifiers) {
|
|
|
4156
4054
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
|
|
4157
4055
|
}
|
|
4158
4056
|
|
|
4159
|
-
break;
|
|
4160
|
-
|
|
4161
4057
|
case 'phase':
|
|
4162
4058
|
if (modifierPhases.indexOf(modifier.phase) < 0) {
|
|
4163
4059
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
|
|
@@ -4173,14 +4069,14 @@ function validateModifiers(modifiers) {
|
|
|
4173
4069
|
break;
|
|
4174
4070
|
|
|
4175
4071
|
case 'effect':
|
|
4176
|
-
if (
|
|
4072
|
+
if (typeof modifier.effect !== 'function') {
|
|
4177
4073
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
|
|
4178
4074
|
}
|
|
4179
4075
|
|
|
4180
4076
|
break;
|
|
4181
4077
|
|
|
4182
4078
|
case 'requires':
|
|
4183
|
-
if (
|
|
4079
|
+
if (!Array.isArray(modifier.requires)) {
|
|
4184
4080
|
console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
|
|
4185
4081
|
}
|
|
4186
4082
|
|
|
@@ -4290,8 +4186,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4290
4186
|
var isDestroyed = false;
|
|
4291
4187
|
var instance = {
|
|
4292
4188
|
state: state,
|
|
4293
|
-
setOptions: function setOptions(
|
|
4294
|
-
var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
|
|
4189
|
+
setOptions: function setOptions(options) {
|
|
4295
4190
|
cleanupModifierEffects();
|
|
4296
4191
|
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4297
4192
|
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-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-8b14906f.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
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
12
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-e0aeabc5.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,7 +27,8 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
27
27
|
import './inherits-a6ba2ec4.js';
|
|
28
28
|
import './_object-sap-7cee6f84.js';
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-f0fc23eb.js';
|
|
31
|
+
import './events-6c3a7a63.js';
|
|
31
32
|
import 'react-bootstrap/Container';
|
|
32
33
|
import 'react-bootstrap/Row';
|
|
33
34
|
import 'react-bootstrap/Col';
|
|
@@ -39,13 +40,13 @@ import './isSymbol-a7e9aafe.js';
|
|
|
39
40
|
import './toNumber-5aeba6e7.js';
|
|
40
41
|
import './index.es-a6137319.js';
|
|
41
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
42
|
-
import './ADlgInfeed-
|
|
43
|
+
import './ADlgInfeed-5e36f317.js';
|
|
43
44
|
import './AdSlot.js';
|
|
44
45
|
import './Beam.js';
|
|
45
46
|
import './stringify-2b084bee.js';
|
|
46
47
|
import './Segment.js';
|
|
47
|
-
import './main-
|
|
48
|
-
import './ADInfeed-
|
|
48
|
+
import './main-1894c974.js';
|
|
49
|
+
import './ADInfeed-5765a73a.js';
|
|
49
50
|
import 'react-bootstrap';
|
|
50
51
|
import './index-c7e2ac95.js';
|
|
51
52
|
import './util-8ed16d48.js';
|
|
@@ -495,4 +496,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
495
496
|
};
|
|
496
497
|
}();
|
|
497
498
|
|
|
498
|
-
export
|
|
499
|
+
export default MediaSeriesLanding;
|
|
@@ -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-
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-8b14906f.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 { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-e0aeabc5.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -28,13 +28,14 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
28
28
|
import './inherits-a6ba2ec4.js';
|
|
29
29
|
import './_object-sap-7cee6f84.js';
|
|
30
30
|
import './define-property-5f1bda73.js';
|
|
31
|
-
import './index-
|
|
31
|
+
import './index-f0fc23eb.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
32
33
|
import 'react-bootstrap/Container';
|
|
33
34
|
import 'react-bootstrap/Spinner';
|
|
34
35
|
import 'next/router';
|
|
35
36
|
import './lodash-f97fd99a.js';
|
|
36
|
-
import './main-
|
|
37
|
-
import './ADlgInfeed-
|
|
37
|
+
import './main-1894c974.js';
|
|
38
|
+
import './ADlgInfeed-5e36f317.js';
|
|
38
39
|
import 'react-bootstrap/Card';
|
|
39
40
|
import './AdSlot.js';
|
|
40
41
|
import './debounce-533d9748.js';
|
|
@@ -42,8 +43,9 @@ import './isSymbol-a7e9aafe.js';
|
|
|
42
43
|
import './toNumber-5aeba6e7.js';
|
|
43
44
|
import './Beam.js';
|
|
44
45
|
import './Segment.js';
|
|
45
|
-
import './ADInfeed-
|
|
46
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-5765a73a.js';
|
|
47
|
+
import './Pagination-cd21f8c2.js';
|
|
48
|
+
import 'react-paginate';
|
|
47
49
|
import 'react-bootstrap/Button';
|
|
48
50
|
import './index.esm-1bd8a0a8.js';
|
|
49
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -520,4 +522,4 @@ MediaSeriesLanding.getInitialData = function () {
|
|
|
520
522
|
};
|
|
521
523
|
}();
|
|
522
524
|
|
|
523
|
-
export
|
|
525
|
+
export default MediaSeriesLanding;
|
package/dist/esm/NavDvm.js
CHANGED
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -8,9 +8,9 @@ import { M as MdEmail } from './index.esm-9b042655.js';
|
|
|
8
8
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
9
9
|
import { N as NavFooter } from './NavFooter-e27bd93b.js';
|
|
10
10
|
import { S as SocialNavFooter } from './index.esm-37268dca.js';
|
|
11
|
-
import { c as main_44 } from './main-
|
|
11
|
+
import { c as main_44 } from './main-1894c974.js';
|
|
12
12
|
import Segment from './Segment.js';
|
|
13
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
13
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-4b56cd8c.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
16
16
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -579,4 +579,5 @@ var NavMagazine = function NavMagazine(props) {
|
|
|
579
579
|
|
|
580
580
|
var MagazineNav = React__default.memo(NavMagazine);
|
|
581
581
|
|
|
582
|
-
export
|
|
582
|
+
export default MagazineNav;
|
|
583
|
+
export { NavMagazine };
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -12,7 +12,7 @@ import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
|
12
12
|
import Form from 'react-bootstrap/Form';
|
|
13
13
|
import FormControl from 'react-bootstrap/FormControl';
|
|
14
14
|
import Button from 'react-bootstrap/Button';
|
|
15
|
-
import { c as main_44 } from './main-
|
|
15
|
+
import { c as main_44 } from './main-1894c974.js';
|
|
16
16
|
import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
|
|
17
17
|
import { i as isObject_1 } from './isSymbol-a7e9aafe.js';
|
|
18
18
|
import { t as toNumber_1 } from './toNumber-5aeba6e7.js';
|
|
@@ -842,4 +842,5 @@ var NavNative = function NavNative(props) {
|
|
|
842
842
|
);
|
|
843
843
|
};
|
|
844
844
|
|
|
845
|
-
export
|
|
845
|
+
export default NavNative;
|
|
846
|
+
export { NavNative };
|
package/dist/esm/OncliveHero.js
CHANGED