@mjhls/mjh-framework 1.0.1030-disable-native-test → 1.0.1030-rsi-test-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/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-9aae73be.js → ADInfeed-443475d9.js} +6 -6
- 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-0e40c762.js → ADlgInfeed-f328a5d5.js} +4 -4
- 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 +902 -1451
- 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 +85 -114
- package/dist/cjs/AuthWrapper.js +43 -113
- 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/CEDeckSupabase.js +67 -66
- package/dist/cjs/CMEDeck.js +62 -61
- 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 +50 -49
- package/dist/cjs/DeckContent.js +59 -58
- package/dist/cjs/DeckQueue.js +58 -57
- package/dist/cjs/DeckQueuePaginated.js +47 -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 +122 -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 +25 -25
- 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 +30 -29
- package/dist/cjs/{MediaSeriesCard-5c112798.js → MediaSeriesCard-3297db46.js} +16 -16
- package/dist/cjs/MediaSeriesLanding.js +38 -37
- package/dist/cjs/MediaSeriesLandingPaginated.js +37 -36
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-257b5318.js → NavFooter-302a24fc.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-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +51 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +50 -48
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PodcastsLanding.js +23 -22
- 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 +223 -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-fc6dd07d.js → SeriesSlider-8d294dee.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b99947d4.js → SocialSearchComponent-e534517d.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/{Tooltip-71754b2a.js → Tooltip-f075b7ef.js} +621 -704
- 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 +241 -261
- 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/getSerializers.js +7 -6
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-1a89a9de.js → index-f5945934.js} +488 -488
- 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-91e651b0.js → index.esm-827b0006.js} +14 -14
- package/dist/cjs/index.js +105 -102
- package/dist/cjs/{main-ae8472f3.js → main-1ec1de84.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 +1 -1
- package/dist/esm/AD300x250.js +3 -2
- package/dist/esm/AD300x250x600.js +3 -2
- package/dist/esm/AD728x90.js +3 -2
- package/dist/esm/ADFloatingFooter.js +3 -2
- package/dist/esm/ADGutter.js +3 -2
- package/dist/esm/{ADInfeed-80914a61.js → ADInfeed-25c623eb.js} +1 -1
- package/dist/esm/ADSkyscraper.js +3 -2
- package/dist/esm/ADSponsoredResources.js +3 -2
- package/dist/esm/ADWebcast.js +3 -2
- package/dist/esm/ADWelcome.js +3 -2
- package/dist/esm/{ADlgInfeed-55786341.js → ADlgInfeed-f4c58df6.js} +1 -1
- package/dist/esm/AdSlot.js +3 -2
- package/dist/esm/AdSlotsProvider.js +3 -2
- package/dist/esm/AlgoliaSearch.js +516 -1065
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/Auth.js +11 -40
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/CEDeckSupabase.js +3 -2
- package/dist/esm/CMEDeck.js +3 -2
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +4 -3
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueLanding.js +6 -5
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +5 -4
- package/dist/esm/MasterDeckPaginated.js +6 -5
- package/dist/esm/{MediaSeriesCard-febb981a.js → MediaSeriesCard-f91eced9.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +9 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +10 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -6
- package/dist/esm/PartnerDetailListingPaginated.js +9 -7
- package/dist/esm/PodcastsLanding.js +7 -6
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-771918ce.js → SeriesSlider-d64090f7.js} +1 -1
- package/dist/esm/{SocialSearchComponent-aedf8322.js → SocialSearchComponent-2451acd2.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +4 -3
- package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-95655b44.js} +67 -150
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesLandingPage.js +5 -4
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +19 -39
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-127807d3.js → index-a76981e9.js} +2 -2
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +13 -10
- package/dist/esm/{main-754d4992.js → main-f97773b2.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +1 -1
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/index-174b5baf.js +0 -52
package/dist/esm/View.js
CHANGED
|
@@ -8,16 +8,16 @@ import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-f97773b2.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-a76981e9.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-d64090f7.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -33,7 +33,7 @@ import { PixelTrackingArticle } from './PixelTracking.js';
|
|
|
33
33
|
import './Segment.js';
|
|
34
34
|
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
35
35
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
36
|
-
import { l as lib_3 } from './index-
|
|
36
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
37
37
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
38
38
|
import getQuery from './getQuery.js';
|
|
39
39
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
@@ -75,6 +75,7 @@ import './checkSisterSite-a7218fda.js';
|
|
|
75
75
|
import './debounce-533d9748.js';
|
|
76
76
|
import './isSymbol-a7e9aafe.js';
|
|
77
77
|
import './toNumber-5aeba6e7.js';
|
|
78
|
+
import './events-6c3a7a63.js';
|
|
78
79
|
import './index-db3bb315.js';
|
|
79
80
|
|
|
80
81
|
var getArticleSummary = function getArticleSummary(article) {
|
|
@@ -1077,19 +1078,19 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1077
1078
|
}
|
|
1078
1079
|
|
|
1079
1080
|
// If sponsored flag, disable contextual ads
|
|
1080
|
-
if (sponsoredFlag
|
|
1081
|
+
if (sponsoredFlag) {
|
|
1081
1082
|
article.contextualVideoAD = false;
|
|
1082
1083
|
article.contextualAD = false;
|
|
1084
|
+
showRelatedArticles = false;
|
|
1083
1085
|
}
|
|
1084
|
-
|
|
1085
|
-
if (article.disableRelatedContent || sponsoredFlag) {
|
|
1086
|
+
if (article.disableRelatedContent) {
|
|
1086
1087
|
showRelatedArticles = false;
|
|
1087
1088
|
}
|
|
1088
1089
|
// This was being done in ArticleQueue2 which wasnt effecting articles excluded from infinite scroll, moved inside article component
|
|
1089
1090
|
if (!sponsoredFlag && Ads.getVideoContextualAD) {
|
|
1090
1091
|
article.contextualVideoAD = Ads.getVideoContextualAD(getTargeting(props, 'in-context_video'));
|
|
1091
1092
|
}
|
|
1092
|
-
if (!sponsoredFlag && Ads.getNativeContextualAD
|
|
1093
|
+
if (!sponsoredFlag && Ads.getNativeContextualAD) {
|
|
1093
1094
|
article.contextualAD = Ads.getNativeContextualAD(getTargeting(props, 'native-ad'));
|
|
1094
1095
|
}
|
|
1095
1096
|
|
|
@@ -1718,11 +1719,18 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1718
1719
|
null,
|
|
1719
1720
|
article.title && React__default.createElement('meta', { name: 'citation_title', content: article.title }),
|
|
1720
1721
|
published && React__default.createElement('meta', { name: 'citation_date', content: moment(published).format('LL') }),
|
|
1722
|
+
issue.publication && issue.publication.name && React__default.createElement('meta', { name: 'citation_journal_title', content: issue.publication.name }),
|
|
1721
1723
|
issue.year && React__default.createElement('meta', { name: 'citation_year', content: issue.year }),
|
|
1724
|
+
issue.volume && React__default.createElement('meta', { name: 'citation_volume', content: issue.volume }),
|
|
1725
|
+
issue.issueNumber && React__default.createElement('meta', { name: 'citation_issue', content: issue.issueNumber }),
|
|
1726
|
+
article.pageNumber && React__default.createElement('meta', { name: 'citation_firstpage', content: article.pageNumber }),
|
|
1727
|
+
article.pageNumber && React__default.createElement('meta', { name: 'citation_lastpage', content: article.pageNumber }),
|
|
1728
|
+
issue.name && React__default.createElement('meta', { name: 'citation_series_title', content: issue.name }),
|
|
1722
1729
|
issue.isbn_issn && React__default.createElement('meta', { name: 'citation_isbn', content: issue.isbn_issn }),
|
|
1723
1730
|
article.abstract && React__default.createElement('meta', { name: 'citation_abstract', content: getAbstract() }),
|
|
1724
1731
|
React__default.createElement('meta', { name: 'citation_author', content: getAuthorList() }),
|
|
1725
|
-
issue.pdf && React__default.createElement('meta', { name: 'citation_pdf_url', content: urlForFile({ asset: issue.pdf }) })
|
|
1732
|
+
issue.pdf && React__default.createElement('meta', { name: 'citation_pdf_url', content: urlForFile({ asset: issue.pdf }) }),
|
|
1733
|
+
React__default.createElement('meta', { name: 'citation_publisher', content: 'MJH Life Sciences' })
|
|
1726
1734
|
),
|
|
1727
1735
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1728
1736
|
!isVideoSeries && React__default.createElement(
|
|
@@ -1741,8 +1749,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1741
1749
|
),
|
|
1742
1750
|
React__default.createElement(
|
|
1743
1751
|
'div',
|
|
1744
|
-
{
|
|
1745
|
-
className: 'mb-3 doc-group-container',
|
|
1752
|
+
{ className: 'mb-3 doc-group-container',
|
|
1746
1753
|
style: {
|
|
1747
1754
|
display: 'flex',
|
|
1748
1755
|
justifyContent: 'space-between',
|
|
@@ -2683,33 +2690,6 @@ View.returnGetInitialProps = function () {
|
|
|
2683
2690
|
article.relatedArticle = _context.sent;
|
|
2684
2691
|
|
|
2685
2692
|
case 35:
|
|
2686
|
-
|
|
2687
|
-
//check documentGroup and documentGroupMapping for disableNativeAds:true
|
|
2688
|
-
if (article.documentGroup && article.documentGroup.length) {
|
|
2689
|
-
article.documentGroup.forEach(function (docGroup) {
|
|
2690
|
-
var node = docGroup.parent ? docGroup.parent : null;
|
|
2691
|
-
if (docGroup.disableNativeAds) {
|
|
2692
|
-
article.disableNativeAds = true;
|
|
2693
|
-
}
|
|
2694
|
-
while (node) {
|
|
2695
|
-
if (node.disableNativeAds) [article.disableNativeAds = true];
|
|
2696
|
-
node = node.parent || null;
|
|
2697
|
-
}
|
|
2698
|
-
});
|
|
2699
|
-
}
|
|
2700
|
-
if (article.documentGroupMapping && article.documentGroupMapping.length) {
|
|
2701
|
-
article.documentGroupMapping.forEach(function (docGroup) {
|
|
2702
|
-
var node = docGroup.parent ? docGroup.parent : null;
|
|
2703
|
-
if (docGroup.disableNativeAds) {
|
|
2704
|
-
article.disableNativeAds = true;
|
|
2705
|
-
}
|
|
2706
|
-
while (node) {
|
|
2707
|
-
if (node.disableNativeAds) [article.disableNativeAds = true];
|
|
2708
|
-
node = node.parent || null;
|
|
2709
|
-
}
|
|
2710
|
-
});
|
|
2711
|
-
}
|
|
2712
|
-
|
|
2713
2693
|
return _context.abrupt('return', {
|
|
2714
2694
|
url: url,
|
|
2715
2695
|
sao: sao,
|
|
@@ -2721,7 +2701,7 @@ View.returnGetInitialProps = function () {
|
|
|
2721
2701
|
sponsoredFlag: sponsoredFlag
|
|
2722
2702
|
});
|
|
2723
2703
|
|
|
2724
|
-
case
|
|
2704
|
+
case 36:
|
|
2725
2705
|
case 'end':
|
|
2726
2706
|
return _context.stop();
|
|
2727
2707
|
}
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-f97773b2.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-ab4dea5c.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
|
|
3
|
+
var asyncToGenerator = createCommonjsModule(function (module) {
|
|
4
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
5
|
+
try {
|
|
6
|
+
var info = gen[key](arg);
|
|
7
|
+
var value = info.value;
|
|
8
|
+
} catch (error) {
|
|
9
|
+
reject(error);
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
if (info.done) {
|
|
14
|
+
resolve(value);
|
|
15
|
+
} else {
|
|
16
|
+
Promise.resolve(value).then(_next, _throw);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function _asyncToGenerator(fn) {
|
|
21
|
+
return function () {
|
|
22
|
+
var self = this,
|
|
23
|
+
args = arguments;
|
|
24
|
+
return new Promise(function (resolve, reject) {
|
|
25
|
+
var gen = fn.apply(self, args);
|
|
26
|
+
|
|
27
|
+
function _next(value) {
|
|
28
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function _throw(err) {
|
|
32
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
_next(undefined);
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
module.exports = _asyncToGenerator;
|
|
41
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
45
|
+
|
|
46
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
47
|
+
function _defineProperty(obj, key, value) {
|
|
48
|
+
if (key in obj) {
|
|
49
|
+
Object.defineProperty(obj, key, {
|
|
50
|
+
value: value,
|
|
51
|
+
enumerable: true,
|
|
52
|
+
configurable: true,
|
|
53
|
+
writable: true
|
|
54
|
+
});
|
|
55
|
+
} else {
|
|
56
|
+
obj[key] = value;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return obj;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
module.exports = _defineProperty;
|
|
63
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
67
|
+
|
|
68
|
+
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|
|
@@ -0,0 +1,467 @@
|
|
|
1
|
+
var domain;
|
|
2
|
+
|
|
3
|
+
// This constructor is used to store event handlers. Instantiating this is
|
|
4
|
+
// faster than explicitly calling `Object.create(null)` to get a "clean" empty
|
|
5
|
+
// object (tested with v8 v4.9).
|
|
6
|
+
function EventHandlers() {}
|
|
7
|
+
EventHandlers.prototype = Object.create(null);
|
|
8
|
+
|
|
9
|
+
function EventEmitter() {
|
|
10
|
+
EventEmitter.init.call(this);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// nodejs oddity
|
|
14
|
+
// require('events') === require('events').EventEmitter
|
|
15
|
+
EventEmitter.EventEmitter = EventEmitter;
|
|
16
|
+
|
|
17
|
+
EventEmitter.usingDomains = false;
|
|
18
|
+
|
|
19
|
+
EventEmitter.prototype.domain = undefined;
|
|
20
|
+
EventEmitter.prototype._events = undefined;
|
|
21
|
+
EventEmitter.prototype._maxListeners = undefined;
|
|
22
|
+
|
|
23
|
+
// By default EventEmitters will print a warning if more than 10 listeners are
|
|
24
|
+
// added to it. This is a useful default which helps finding memory leaks.
|
|
25
|
+
EventEmitter.defaultMaxListeners = 10;
|
|
26
|
+
|
|
27
|
+
EventEmitter.init = function() {
|
|
28
|
+
this.domain = null;
|
|
29
|
+
if (EventEmitter.usingDomains) {
|
|
30
|
+
// if there is an active domain, then attach to it.
|
|
31
|
+
if (domain.active ) ;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (!this._events || this._events === Object.getPrototypeOf(this)._events) {
|
|
35
|
+
this._events = new EventHandlers();
|
|
36
|
+
this._eventsCount = 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
this._maxListeners = this._maxListeners || undefined;
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// Obviously not all Emitters should be limited to 10. This function allows
|
|
43
|
+
// that to be increased. Set to zero for unlimited.
|
|
44
|
+
EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
|
|
45
|
+
if (typeof n !== 'number' || n < 0 || isNaN(n))
|
|
46
|
+
throw new TypeError('"n" argument must be a positive number');
|
|
47
|
+
this._maxListeners = n;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
function $getMaxListeners(that) {
|
|
52
|
+
if (that._maxListeners === undefined)
|
|
53
|
+
return EventEmitter.defaultMaxListeners;
|
|
54
|
+
return that._maxListeners;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
|
|
58
|
+
return $getMaxListeners(this);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
// These standalone emit* functions are used to optimize calling of event
|
|
62
|
+
// handlers for fast cases because emit() itself often has a variable number of
|
|
63
|
+
// arguments and can be deoptimized because of that. These functions always have
|
|
64
|
+
// the same number of arguments and thus do not get deoptimized, so the code
|
|
65
|
+
// inside them can execute faster.
|
|
66
|
+
function emitNone(handler, isFn, self) {
|
|
67
|
+
if (isFn)
|
|
68
|
+
handler.call(self);
|
|
69
|
+
else {
|
|
70
|
+
var len = handler.length;
|
|
71
|
+
var listeners = arrayClone(handler, len);
|
|
72
|
+
for (var i = 0; i < len; ++i)
|
|
73
|
+
listeners[i].call(self);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
function emitOne(handler, isFn, self, arg1) {
|
|
77
|
+
if (isFn)
|
|
78
|
+
handler.call(self, arg1);
|
|
79
|
+
else {
|
|
80
|
+
var len = handler.length;
|
|
81
|
+
var listeners = arrayClone(handler, len);
|
|
82
|
+
for (var i = 0; i < len; ++i)
|
|
83
|
+
listeners[i].call(self, arg1);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
function emitTwo(handler, isFn, self, arg1, arg2) {
|
|
87
|
+
if (isFn)
|
|
88
|
+
handler.call(self, arg1, arg2);
|
|
89
|
+
else {
|
|
90
|
+
var len = handler.length;
|
|
91
|
+
var listeners = arrayClone(handler, len);
|
|
92
|
+
for (var i = 0; i < len; ++i)
|
|
93
|
+
listeners[i].call(self, arg1, arg2);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function emitThree(handler, isFn, self, arg1, arg2, arg3) {
|
|
97
|
+
if (isFn)
|
|
98
|
+
handler.call(self, arg1, arg2, arg3);
|
|
99
|
+
else {
|
|
100
|
+
var len = handler.length;
|
|
101
|
+
var listeners = arrayClone(handler, len);
|
|
102
|
+
for (var i = 0; i < len; ++i)
|
|
103
|
+
listeners[i].call(self, arg1, arg2, arg3);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function emitMany(handler, isFn, self, args) {
|
|
108
|
+
if (isFn)
|
|
109
|
+
handler.apply(self, args);
|
|
110
|
+
else {
|
|
111
|
+
var len = handler.length;
|
|
112
|
+
var listeners = arrayClone(handler, len);
|
|
113
|
+
for (var i = 0; i < len; ++i)
|
|
114
|
+
listeners[i].apply(self, args);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
EventEmitter.prototype.emit = function emit(type) {
|
|
119
|
+
var er, handler, len, args, i, events, domain;
|
|
120
|
+
var doError = (type === 'error');
|
|
121
|
+
|
|
122
|
+
events = this._events;
|
|
123
|
+
if (events)
|
|
124
|
+
doError = (doError && events.error == null);
|
|
125
|
+
else if (!doError)
|
|
126
|
+
return false;
|
|
127
|
+
|
|
128
|
+
domain = this.domain;
|
|
129
|
+
|
|
130
|
+
// If there is no 'error' event listener then throw.
|
|
131
|
+
if (doError) {
|
|
132
|
+
er = arguments[1];
|
|
133
|
+
if (domain) {
|
|
134
|
+
if (!er)
|
|
135
|
+
er = new Error('Uncaught, unspecified "error" event');
|
|
136
|
+
er.domainEmitter = this;
|
|
137
|
+
er.domain = domain;
|
|
138
|
+
er.domainThrown = false;
|
|
139
|
+
domain.emit('error', er);
|
|
140
|
+
} else if (er instanceof Error) {
|
|
141
|
+
throw er; // Unhandled 'error' event
|
|
142
|
+
} else {
|
|
143
|
+
// At least give some kind of context to the user
|
|
144
|
+
var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
|
|
145
|
+
err.context = er;
|
|
146
|
+
throw err;
|
|
147
|
+
}
|
|
148
|
+
return false;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
handler = events[type];
|
|
152
|
+
|
|
153
|
+
if (!handler)
|
|
154
|
+
return false;
|
|
155
|
+
|
|
156
|
+
var isFn = typeof handler === 'function';
|
|
157
|
+
len = arguments.length;
|
|
158
|
+
switch (len) {
|
|
159
|
+
// fast cases
|
|
160
|
+
case 1:
|
|
161
|
+
emitNone(handler, isFn, this);
|
|
162
|
+
break;
|
|
163
|
+
case 2:
|
|
164
|
+
emitOne(handler, isFn, this, arguments[1]);
|
|
165
|
+
break;
|
|
166
|
+
case 3:
|
|
167
|
+
emitTwo(handler, isFn, this, arguments[1], arguments[2]);
|
|
168
|
+
break;
|
|
169
|
+
case 4:
|
|
170
|
+
emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);
|
|
171
|
+
break;
|
|
172
|
+
// slower
|
|
173
|
+
default:
|
|
174
|
+
args = new Array(len - 1);
|
|
175
|
+
for (i = 1; i < len; i++)
|
|
176
|
+
args[i - 1] = arguments[i];
|
|
177
|
+
emitMany(handler, isFn, this, args);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
return true;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
function _addListener(target, type, listener, prepend) {
|
|
184
|
+
var m;
|
|
185
|
+
var events;
|
|
186
|
+
var existing;
|
|
187
|
+
|
|
188
|
+
if (typeof listener !== 'function')
|
|
189
|
+
throw new TypeError('"listener" argument must be a function');
|
|
190
|
+
|
|
191
|
+
events = target._events;
|
|
192
|
+
if (!events) {
|
|
193
|
+
events = target._events = new EventHandlers();
|
|
194
|
+
target._eventsCount = 0;
|
|
195
|
+
} else {
|
|
196
|
+
// To avoid recursion in the case that type === "newListener"! Before
|
|
197
|
+
// adding it to the listeners, first emit "newListener".
|
|
198
|
+
if (events.newListener) {
|
|
199
|
+
target.emit('newListener', type,
|
|
200
|
+
listener.listener ? listener.listener : listener);
|
|
201
|
+
|
|
202
|
+
// Re-assign `events` because a newListener handler could have caused the
|
|
203
|
+
// this._events to be assigned to a new object
|
|
204
|
+
events = target._events;
|
|
205
|
+
}
|
|
206
|
+
existing = events[type];
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
if (!existing) {
|
|
210
|
+
// Optimize the case of one listener. Don't need the extra array object.
|
|
211
|
+
existing = events[type] = listener;
|
|
212
|
+
++target._eventsCount;
|
|
213
|
+
} else {
|
|
214
|
+
if (typeof existing === 'function') {
|
|
215
|
+
// Adding the second element, need to change to array.
|
|
216
|
+
existing = events[type] = prepend ? [listener, existing] :
|
|
217
|
+
[existing, listener];
|
|
218
|
+
} else {
|
|
219
|
+
// If we've already got an array, just append.
|
|
220
|
+
if (prepend) {
|
|
221
|
+
existing.unshift(listener);
|
|
222
|
+
} else {
|
|
223
|
+
existing.push(listener);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
// Check for listener leak
|
|
228
|
+
if (!existing.warned) {
|
|
229
|
+
m = $getMaxListeners(target);
|
|
230
|
+
if (m && m > 0 && existing.length > m) {
|
|
231
|
+
existing.warned = true;
|
|
232
|
+
var w = new Error('Possible EventEmitter memory leak detected. ' +
|
|
233
|
+
existing.length + ' ' + type + ' listeners added. ' +
|
|
234
|
+
'Use emitter.setMaxListeners() to increase limit');
|
|
235
|
+
w.name = 'MaxListenersExceededWarning';
|
|
236
|
+
w.emitter = target;
|
|
237
|
+
w.type = type;
|
|
238
|
+
w.count = existing.length;
|
|
239
|
+
emitWarning(w);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
return target;
|
|
245
|
+
}
|
|
246
|
+
function emitWarning(e) {
|
|
247
|
+
typeof console.warn === 'function' ? console.warn(e) : console.log(e);
|
|
248
|
+
}
|
|
249
|
+
EventEmitter.prototype.addListener = function addListener(type, listener) {
|
|
250
|
+
return _addListener(this, type, listener, false);
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
EventEmitter.prototype.on = EventEmitter.prototype.addListener;
|
|
254
|
+
|
|
255
|
+
EventEmitter.prototype.prependListener =
|
|
256
|
+
function prependListener(type, listener) {
|
|
257
|
+
return _addListener(this, type, listener, true);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
function _onceWrap(target, type, listener) {
|
|
261
|
+
var fired = false;
|
|
262
|
+
function g() {
|
|
263
|
+
target.removeListener(type, g);
|
|
264
|
+
if (!fired) {
|
|
265
|
+
fired = true;
|
|
266
|
+
listener.apply(target, arguments);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
g.listener = listener;
|
|
270
|
+
return g;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
EventEmitter.prototype.once = function once(type, listener) {
|
|
274
|
+
if (typeof listener !== 'function')
|
|
275
|
+
throw new TypeError('"listener" argument must be a function');
|
|
276
|
+
this.on(type, _onceWrap(this, type, listener));
|
|
277
|
+
return this;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
EventEmitter.prototype.prependOnceListener =
|
|
281
|
+
function prependOnceListener(type, listener) {
|
|
282
|
+
if (typeof listener !== 'function')
|
|
283
|
+
throw new TypeError('"listener" argument must be a function');
|
|
284
|
+
this.prependListener(type, _onceWrap(this, type, listener));
|
|
285
|
+
return this;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
// emits a 'removeListener' event iff the listener was removed
|
|
289
|
+
EventEmitter.prototype.removeListener =
|
|
290
|
+
function removeListener(type, listener) {
|
|
291
|
+
var list, events, position, i, originalListener;
|
|
292
|
+
|
|
293
|
+
if (typeof listener !== 'function')
|
|
294
|
+
throw new TypeError('"listener" argument must be a function');
|
|
295
|
+
|
|
296
|
+
events = this._events;
|
|
297
|
+
if (!events)
|
|
298
|
+
return this;
|
|
299
|
+
|
|
300
|
+
list = events[type];
|
|
301
|
+
if (!list)
|
|
302
|
+
return this;
|
|
303
|
+
|
|
304
|
+
if (list === listener || (list.listener && list.listener === listener)) {
|
|
305
|
+
if (--this._eventsCount === 0)
|
|
306
|
+
this._events = new EventHandlers();
|
|
307
|
+
else {
|
|
308
|
+
delete events[type];
|
|
309
|
+
if (events.removeListener)
|
|
310
|
+
this.emit('removeListener', type, list.listener || listener);
|
|
311
|
+
}
|
|
312
|
+
} else if (typeof list !== 'function') {
|
|
313
|
+
position = -1;
|
|
314
|
+
|
|
315
|
+
for (i = list.length; i-- > 0;) {
|
|
316
|
+
if (list[i] === listener ||
|
|
317
|
+
(list[i].listener && list[i].listener === listener)) {
|
|
318
|
+
originalListener = list[i].listener;
|
|
319
|
+
position = i;
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
if (position < 0)
|
|
325
|
+
return this;
|
|
326
|
+
|
|
327
|
+
if (list.length === 1) {
|
|
328
|
+
list[0] = undefined;
|
|
329
|
+
if (--this._eventsCount === 0) {
|
|
330
|
+
this._events = new EventHandlers();
|
|
331
|
+
return this;
|
|
332
|
+
} else {
|
|
333
|
+
delete events[type];
|
|
334
|
+
}
|
|
335
|
+
} else {
|
|
336
|
+
spliceOne(list, position);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
if (events.removeListener)
|
|
340
|
+
this.emit('removeListener', type, originalListener || listener);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
return this;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
EventEmitter.prototype.removeAllListeners =
|
|
347
|
+
function removeAllListeners(type) {
|
|
348
|
+
var listeners, events;
|
|
349
|
+
|
|
350
|
+
events = this._events;
|
|
351
|
+
if (!events)
|
|
352
|
+
return this;
|
|
353
|
+
|
|
354
|
+
// not listening for removeListener, no need to emit
|
|
355
|
+
if (!events.removeListener) {
|
|
356
|
+
if (arguments.length === 0) {
|
|
357
|
+
this._events = new EventHandlers();
|
|
358
|
+
this._eventsCount = 0;
|
|
359
|
+
} else if (events[type]) {
|
|
360
|
+
if (--this._eventsCount === 0)
|
|
361
|
+
this._events = new EventHandlers();
|
|
362
|
+
else
|
|
363
|
+
delete events[type];
|
|
364
|
+
}
|
|
365
|
+
return this;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
// emit removeListener for all listeners on all events
|
|
369
|
+
if (arguments.length === 0) {
|
|
370
|
+
var keys = Object.keys(events);
|
|
371
|
+
for (var i = 0, key; i < keys.length; ++i) {
|
|
372
|
+
key = keys[i];
|
|
373
|
+
if (key === 'removeListener') continue;
|
|
374
|
+
this.removeAllListeners(key);
|
|
375
|
+
}
|
|
376
|
+
this.removeAllListeners('removeListener');
|
|
377
|
+
this._events = new EventHandlers();
|
|
378
|
+
this._eventsCount = 0;
|
|
379
|
+
return this;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
listeners = events[type];
|
|
383
|
+
|
|
384
|
+
if (typeof listeners === 'function') {
|
|
385
|
+
this.removeListener(type, listeners);
|
|
386
|
+
} else if (listeners) {
|
|
387
|
+
// LIFO order
|
|
388
|
+
do {
|
|
389
|
+
this.removeListener(type, listeners[listeners.length - 1]);
|
|
390
|
+
} while (listeners[0]);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
return this;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
EventEmitter.prototype.listeners = function listeners(type) {
|
|
397
|
+
var evlistener;
|
|
398
|
+
var ret;
|
|
399
|
+
var events = this._events;
|
|
400
|
+
|
|
401
|
+
if (!events)
|
|
402
|
+
ret = [];
|
|
403
|
+
else {
|
|
404
|
+
evlistener = events[type];
|
|
405
|
+
if (!evlistener)
|
|
406
|
+
ret = [];
|
|
407
|
+
else if (typeof evlistener === 'function')
|
|
408
|
+
ret = [evlistener.listener || evlistener];
|
|
409
|
+
else
|
|
410
|
+
ret = unwrapListeners(evlistener);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
return ret;
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
EventEmitter.listenerCount = function(emitter, type) {
|
|
417
|
+
if (typeof emitter.listenerCount === 'function') {
|
|
418
|
+
return emitter.listenerCount(type);
|
|
419
|
+
} else {
|
|
420
|
+
return listenerCount.call(emitter, type);
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
EventEmitter.prototype.listenerCount = listenerCount;
|
|
425
|
+
function listenerCount(type) {
|
|
426
|
+
var events = this._events;
|
|
427
|
+
|
|
428
|
+
if (events) {
|
|
429
|
+
var evlistener = events[type];
|
|
430
|
+
|
|
431
|
+
if (typeof evlistener === 'function') {
|
|
432
|
+
return 1;
|
|
433
|
+
} else if (evlistener) {
|
|
434
|
+
return evlistener.length;
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
return 0;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
EventEmitter.prototype.eventNames = function eventNames() {
|
|
442
|
+
return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
// About 1.5x faster than the two-arg version of Array#splice().
|
|
446
|
+
function spliceOne(list, index) {
|
|
447
|
+
for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
|
|
448
|
+
list[i] = list[k];
|
|
449
|
+
list.pop();
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
function arrayClone(arr, i) {
|
|
453
|
+
var copy = new Array(i);
|
|
454
|
+
while (i--)
|
|
455
|
+
copy[i] = arr[i];
|
|
456
|
+
return copy;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
function unwrapListeners(arr) {
|
|
460
|
+
var ret = new Array(arr.length);
|
|
461
|
+
for (var i = 0; i < ret.length; ++i) {
|
|
462
|
+
ret[i] = arr[i].listener || arr[i];
|
|
463
|
+
}
|
|
464
|
+
return ret;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export { EventEmitter as E };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-a76981e9.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -9,7 +9,8 @@ import './core.get-iterator-method-ea258bb1.js';
|
|
|
9
9
|
import 'react-bootstrap';
|
|
10
10
|
import './urlFor.js';
|
|
11
11
|
import './index-3f5c03b2.js';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
|
+
import './events-6c3a7a63.js';
|
|
13
14
|
import 'prop-types';
|
|
14
15
|
import 'next/router';
|
|
15
16
|
import './index-c7e2ac95.js';
|
|
@@ -21,7 +22,7 @@ import './_library-528f1934.js';
|
|
|
21
22
|
import './_set-species-2cd9340f.js';
|
|
22
23
|
import './_iter-detect-98db3b07.js';
|
|
23
24
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
25
|
+
import './main-f97773b2.js';
|
|
25
26
|
import './extends-6d8e3924.js';
|
|
26
27
|
import './_object-pie-133f504a.js';
|
|
27
28
|
import './urlForFile-b69adffc.js';
|