@mjhls/mjh-framework 1.0.1016 → 1.0.1017-blanktagremoval
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/AlgoliaSearch.js +72 -108
- package/dist/cjs/ArticleProgramLandingPage.js +2 -2
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +3 -65
- package/dist/cjs/Column2.js +5 -3
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ExternalResources.js +5 -5
- package/dist/cjs/HamMagazine.js +43 -41
- package/dist/cjs/HorizontalArticleListing.js +2 -2
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-50807a77.js} +114 -159
- package/dist/cjs/IssueLanding.js +2 -2
- package/dist/cjs/LeftNav.js +14 -15
- package/dist/cjs/{MediaSeriesCard-7f8ea2ea.js → MediaSeriesCard-02a04189.js} +1 -1
- package/dist/cjs/MediaSeriesLanding.js +5 -5
- package/dist/cjs/MediaSeriesLandingPaginated.js +5 -5
- package/dist/cjs/NavDvm.js +31 -29
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-6df4a327.js} +5 -4
- package/dist/cjs/NavMagazine.js +41 -39
- package/dist/cjs/NavNative.js +46 -46
- package/dist/cjs/PartnerDetailListing.js +26 -25
- package/dist/cjs/PartnerDetailListingPaginated.js +29 -28
- package/dist/cjs/PodcastsLanding.js +3 -3
- package/dist/cjs/SideFooter.js +10 -8
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-3cdae210.js} +1 -1
- package/dist/cjs/TaxonomyCard.js +9 -9
- package/dist/cjs/TaxonomyDescription.js +2 -2
- package/dist/cjs/TemplateNormal.js +4 -4
- package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-8011d690.js} +234 -257
- package/dist/cjs/VideoProgramLandingPage.js +2 -2
- package/dist/cjs/View.js +3 -3
- package/dist/cjs/{checkSisterSite-b29833b2.js → checkSisterSite-c3a4ac98.js} +1 -1
- package/dist/cjs/defineProperty-19580e93.js +71 -0
- package/dist/cjs/getRelatedArticle.js +1 -1
- package/dist/cjs/getSerializers.js +2 -2
- package/dist/cjs/{index-bd6c9f56.js → index-3cd60d26.js} +11 -11
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-b41ea6a0.js → index-88b1d875.js} +545 -42
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-ab909ee1.js} +9 -8
- package/dist/cjs/index.js +9 -8
- package/dist/esm/AlgoliaSearch.js +59 -95
- package/dist/esm/ArticleProgramLandingPage.js +2 -2
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +1 -63
- package/dist/esm/Column2.js +5 -3
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/HamMagazine.js +43 -41
- package/dist/esm/HorizontalArticleListing.js +2 -2
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-cdb57d30.js} +115 -160
- package/dist/esm/IssueLanding.js +2 -2
- package/dist/esm/LeftNav.js +14 -15
- package/dist/esm/{MediaSeriesCard-478f939a.js → MediaSeriesCard-5a7491a4.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +5 -5
- package/dist/esm/MediaSeriesLandingPaginated.js +5 -5
- package/dist/esm/NavDvm.js +31 -29
- package/dist/esm/{NavFooter-3272e9cd.js → NavFooter-3673bac5.js} +5 -4
- package/dist/esm/NavMagazine.js +41 -39
- package/dist/esm/NavNative.js +46 -46
- package/dist/esm/PartnerDetailListing.js +26 -25
- package/dist/esm/PartnerDetailListingPaginated.js +29 -28
- package/dist/esm/PodcastsLanding.js +3 -3
- package/dist/esm/SideFooter.js +10 -8
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-0e0af6e1.js} +1 -1
- package/dist/esm/TaxonomyCard.js +9 -9
- package/dist/esm/TaxonomyDescription.js +2 -2
- package/dist/esm/TemplateNormal.js +4 -4
- package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-2cdd0895.js} +29 -52
- package/dist/esm/VideoProgramLandingPage.js +2 -2
- package/dist/esm/View.js +3 -3
- package/dist/esm/{checkSisterSite-baa4fb6b.js → checkSisterSite-a7218fda.js} +1 -1
- package/dist/esm/defineProperty-e8022d1e.js +66 -0
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/{index-dd204fd9.js → index-0110e48e.js} +545 -42
- package/dist/esm/{index-db3bb315.js → index-0a63f9a3.js} +11 -11
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index.esm-07c37a92.js → index.esm-f7316244.js} +9 -8
- package/dist/esm/index.js +9 -8
- package/package.json +2 -1
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/index-174b5baf.js +0 -52
|
@@ -3,16 +3,17 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-cdb57d30.js';
|
|
7
|
+
import './defineProperty-e8022d1e.js';
|
|
7
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
8
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
10
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
12
|
import Feature from './Feature.js';
|
|
12
13
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-0110e48e.js';
|
|
14
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
15
|
-
import { c as checkSisterSite } from './checkSisterSite-
|
|
16
|
+
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
18
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -112,7 +113,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
112
113
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between' } },
|
|
113
114
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
114
115
|
'a',
|
|
115
|
-
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '',
|
|
116
|
+
_extends({ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' }, checkSisterSite(partnerDetails.thumbnail.link) ? '' : rel = 'noopener noreferrer'),
|
|
116
117
|
React__default.createElement(
|
|
117
118
|
'figure',
|
|
118
119
|
{ style: { width: '100%', textAlign: 'center', marginTop: '2rem' } },
|
|
@@ -159,36 +160,36 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
159
160
|
'Connect with us:'
|
|
160
161
|
),
|
|
161
162
|
' ',
|
|
162
|
-
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
163
|
+
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, _extends({
|
|
163
164
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
164
|
-
target: '_blank'
|
|
165
|
-
|
|
165
|
+
target: '_blank'
|
|
166
|
+
}, checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : rel = 'noopener noreferrer', {
|
|
166
167
|
style: { height: 30, width: 30 }
|
|
167
|
-
}),
|
|
168
|
-
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
168
|
+
})),
|
|
169
|
+
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, _extends({
|
|
169
170
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
170
|
-
target: '_blank'
|
|
171
|
-
|
|
171
|
+
target: '_blank'
|
|
172
|
+
}, checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? '' : rel = 'noopener noreferrer', {
|
|
172
173
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
173
|
-
}),
|
|
174
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
+
})),
|
|
175
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
175
176
|
url: partnerDetails.youtube,
|
|
176
|
-
target: '_blank'
|
|
177
|
-
|
|
177
|
+
target: '_blank'
|
|
178
|
+
}, checkSisterSite(partnerDetails.youtube) ? '' : rel = 'noopener noreferrer', {
|
|
178
179
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
179
|
-
}),
|
|
180
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
180
|
+
})),
|
|
181
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
181
182
|
url: partnerDetails.twitter,
|
|
182
|
-
target: '_blank'
|
|
183
|
-
|
|
183
|
+
target: '_blank'
|
|
184
|
+
}, checkSisterSite(partnerDetails.twitter) ? '' : rel = 'noopener noreferrer', {
|
|
184
185
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
185
|
-
}),
|
|
186
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
186
|
+
})),
|
|
187
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
187
188
|
url: partnerDetails.facebook,
|
|
188
|
-
target: '_blank'
|
|
189
|
-
|
|
189
|
+
target: '_blank'
|
|
190
|
+
}, checkSisterSite(partnerDetails.facebook) ? '' : rel = 'noopener noreferrer', {
|
|
190
191
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
191
|
-
})
|
|
192
|
+
}))
|
|
192
193
|
)
|
|
193
194
|
)
|
|
194
195
|
),
|
|
@@ -213,7 +214,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
213
214
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
214
215
|
Facebook,
|
|
215
216
|
{ appId: ' ' },
|
|
216
|
-
React__default.createElement(Page, { href: partnerDetails.facebook,
|
|
217
|
+
React__default.createElement(Page, _extends({ href: partnerDetails.facebook }, checkSisterSite(partnerDetails.facebook) ? '' : rel = 'noopener noreferrer', { tabs: 'timeline', width: '500', height: '500' }))
|
|
217
218
|
)
|
|
218
219
|
),
|
|
219
220
|
React__default.createElement(
|
|
@@ -3,16 +3,17 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-cdb57d30.js';
|
|
7
|
+
import './defineProperty-e8022d1e.js';
|
|
7
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
8
9
|
import './moment-bc12cb97.js';
|
|
9
10
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
10
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
12
|
import Feature from './Feature.js';
|
|
12
13
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-0110e48e.js';
|
|
14
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
15
|
-
import { c as checkSisterSite } from './checkSisterSite-
|
|
16
|
+
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
18
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -114,12 +115,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
114
115
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
115
116
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
116
117
|
'a',
|
|
117
|
-
{
|
|
118
|
+
_extends({
|
|
118
119
|
className: 'partners-logo',
|
|
119
120
|
style: { width: '25%', minWidth: '25%' },
|
|
120
|
-
href: partnerDetails.thumbnail.link
|
|
121
|
-
|
|
122
|
-
target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
121
|
+
href: partnerDetails.thumbnail.link
|
|
122
|
+
}, checkSisterSite(partnerDetails.thumbnail.link) ? '' : rel = 'noopener noreferrer', {
|
|
123
|
+
target: partnerDetails.thumbnail.blank ? '_blank' : '' }),
|
|
123
124
|
React__default.createElement(
|
|
124
125
|
'figure',
|
|
125
126
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
@@ -166,36 +167,36 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
166
167
|
'Connect with us:'
|
|
167
168
|
),
|
|
168
169
|
' ',
|
|
169
|
-
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
170
|
+
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, _extends({
|
|
170
171
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
171
|
-
target: '_blank'
|
|
172
|
-
|
|
172
|
+
target: '_blank'
|
|
173
|
+
}, checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : rel = 'noopener noreferrer', {
|
|
173
174
|
style: { height: 30, width: 30 }
|
|
174
|
-
}),
|
|
175
|
-
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
175
|
+
})),
|
|
176
|
+
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, _extends({
|
|
176
177
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
177
|
-
target: '_blank'
|
|
178
|
-
|
|
178
|
+
target: '_blank'
|
|
179
|
+
}, checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? '' : rel = 'noopener noreferrer', {
|
|
179
180
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
180
|
-
}),
|
|
181
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
181
|
+
})),
|
|
182
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
182
183
|
url: partnerDetails.youtube,
|
|
183
|
-
target: '_blank'
|
|
184
|
-
|
|
184
|
+
target: '_blank'
|
|
185
|
+
}, checkSisterSite(partnerDetails.youtube) ? '' : rel = 'noopener noreferrer', {
|
|
185
186
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
186
|
-
}),
|
|
187
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
187
|
+
})),
|
|
188
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
188
189
|
url: partnerDetails.twitter,
|
|
189
|
-
target: '_blank'
|
|
190
|
-
|
|
190
|
+
target: '_blank'
|
|
191
|
+
}, checkSisterSite(partnerDetails.twitter) ? '' : rel = 'noopener noreferrer', {
|
|
191
192
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
192
|
-
}),
|
|
193
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
193
|
+
})),
|
|
194
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, _extends({
|
|
194
195
|
url: partnerDetails.facebook,
|
|
195
|
-
target: '_blank'
|
|
196
|
-
|
|
196
|
+
target: '_blank'
|
|
197
|
+
}, checkSisterSite(partnerDetails.facebook) ? '' : rel = 'noopener noreferrer', {
|
|
197
198
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
198
|
-
})
|
|
199
|
+
}))
|
|
199
200
|
)
|
|
200
201
|
)
|
|
201
202
|
),
|
|
@@ -220,7 +221,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
220
221
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
221
222
|
Facebook,
|
|
222
223
|
{ appId: ' ' },
|
|
223
|
-
React__default.createElement(Page, { href: partnerDetails.facebook,
|
|
224
|
+
React__default.createElement(Page, _extends({ href: partnerDetails.facebook }, checkSisterSite(partnerDetails.facebook) ? '' : rel = 'noopener noreferrer', { tabs: 'timeline', width: '500', height: '500' }))
|
|
224
225
|
)
|
|
225
226
|
),
|
|
226
227
|
React__default.createElement(
|
|
@@ -4,9 +4,9 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
4
4
|
import React__default, { useState } from 'react';
|
|
5
5
|
import Link from 'next/link';
|
|
6
6
|
import MasterDeck from './MasterDeck.js';
|
|
7
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
7
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-5a7491a4.js';
|
|
8
8
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
9
|
-
import { g as getSerializers } from './index-
|
|
9
|
+
import { g as getSerializers } from './index-0110e48e.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
12
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -69,7 +69,7 @@ import 'react-bootstrap/Figure';
|
|
|
69
69
|
import 'react-bootstrap/OverlayTrigger';
|
|
70
70
|
import 'react-bootstrap/Tooltip';
|
|
71
71
|
import 'react-bootstrap/Popover';
|
|
72
|
-
import './checkSisterSite-
|
|
72
|
+
import './checkSisterSite-a7218fda.js';
|
|
73
73
|
|
|
74
74
|
var _this = undefined;
|
|
75
75
|
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
1
2
|
import React__default, { useRef, useEffect } from 'react';
|
|
2
3
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
3
4
|
import { g as get_1 } from './get-3c308da4.js';
|
|
4
5
|
import Segment from './Segment.js';
|
|
5
|
-
import { c as checkSisterSite } from './checkSisterSite-
|
|
6
|
+
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
6
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
9
|
+
import './_object-pie-133f504a.js';
|
|
7
10
|
import 'prop-types';
|
|
8
11
|
import './isSymbol-a7e9aafe.js';
|
|
9
12
|
import './eq-bdcbf886.js';
|
|
10
13
|
import './asyncToGenerator-958ef5fc.js';
|
|
11
|
-
import './core.get-iterator-method-ea258bb1.js';
|
|
12
14
|
import './web.dom.iterable-ab4dea5c.js';
|
|
13
15
|
import './_library-528f1934.js';
|
|
14
16
|
import './_iter-detect-98db3b07.js';
|
|
@@ -19,13 +21,13 @@ var renderLink = function renderLink(row) {
|
|
|
19
21
|
if (row.blank) {
|
|
20
22
|
return React__default.createElement(
|
|
21
23
|
'a',
|
|
22
|
-
{ href: row.url,
|
|
24
|
+
_extends({ href: row.url }, row.needSegmentSupport ? needsegmentsupport = 'true' : '', { target: '_blank' }, checkSisterSite(row.url) ? '' : rel = 'noopener noreferrer'),
|
|
23
25
|
row.title
|
|
24
26
|
);
|
|
25
27
|
}
|
|
26
28
|
return React__default.createElement(
|
|
27
29
|
'a',
|
|
28
|
-
{ href: row.url,
|
|
30
|
+
_extends({ href: row.url }, row.needSegmentSupport ? needsegmentsupport = 'true' : '', checkSisterSite(row.url) ? '' : rel = 'noopener noreferrer'),
|
|
29
31
|
row.title
|
|
30
32
|
);
|
|
31
33
|
};
|
|
@@ -83,16 +85,16 @@ var SideFooter = function SideFooter(props) {
|
|
|
83
85
|
'li',
|
|
84
86
|
{ style: { marginTop: '10px' } },
|
|
85
87
|
socialLinks && socialLinks.map(function (row, index) {
|
|
86
|
-
return React__default.createElement(reactSocialIcons_1, {
|
|
87
|
-
target: row.blank ? '_blank' : '_self'
|
|
88
|
-
|
|
88
|
+
return React__default.createElement(reactSocialIcons_1, _extends({
|
|
89
|
+
target: row.blank ? '_blank' : '_self'
|
|
90
|
+
}, checkSisterSite(row.url) ? '' : rel = 'noopener noreferrer', {
|
|
89
91
|
key: index,
|
|
90
92
|
index: index,
|
|
91
93
|
url: row.url
|
|
92
94
|
// including network prop to identify the icon based on the social icon title.
|
|
93
95
|
, network: row.title.split(' ')[0].toLowerCase(),
|
|
94
96
|
style: { width: 30, height: 30, marginRight: 5 }
|
|
95
|
-
});
|
|
97
|
+
}));
|
|
96
98
|
})
|
|
97
99
|
)
|
|
98
100
|
),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import SocialIcons from './SocialIcons.js';
|
|
4
|
-
import { G as GoSearch } from './index.esm-
|
|
4
|
+
import { G as GoSearch } from './index.esm-f7316244.js';
|
|
5
5
|
import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import FormControl from 'react-bootstrap/FormControl';
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -8,7 +8,7 @@ import Card from 'react-bootstrap/Card';
|
|
|
8
8
|
import urlFor from './urlFor.js';
|
|
9
9
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
10
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
11
|
-
import { c as checkSisterSite } from './checkSisterSite-
|
|
11
|
+
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
12
12
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
13
|
import './core.get-iterator-method-ea258bb1.js';
|
|
14
14
|
import './_object-pie-133f504a.js';
|
|
@@ -115,10 +115,10 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
115
115
|
null,
|
|
116
116
|
row.thumbnail.link ? React__default.createElement(
|
|
117
117
|
'a',
|
|
118
|
-
{
|
|
118
|
+
_extends({
|
|
119
119
|
href: row.thumbnail.link,
|
|
120
|
-
target: row.thumbnail.blank ? '_blank' : '_self'
|
|
121
|
-
|
|
120
|
+
target: row.thumbnail.blank ? '_blank' : '_self'
|
|
121
|
+
}, checkSisterSite(row.thumbnail.link) ? '' : rel = 'noopener noreferrer'),
|
|
122
122
|
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
123
123
|
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
124
124
|
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
@@ -154,7 +154,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
154
154
|
} else if (field.value && field.key === 'url') {
|
|
155
155
|
return React__default.createElement(
|
|
156
156
|
'a',
|
|
157
|
-
{ className: 'details-field', href: field.value, key: index,
|
|
157
|
+
_extends({ className: 'details-field', href: field.value, key: index }, checkSisterSite(field.value) ? '' : rel = 'noopener noreferrer'),
|
|
158
158
|
field.value
|
|
159
159
|
);
|
|
160
160
|
}
|
|
@@ -191,14 +191,14 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
191
191
|
{ className: 'social-icons' },
|
|
192
192
|
socialLinks.map(function (url, index) {
|
|
193
193
|
if (url && url.length) {
|
|
194
|
-
return React__default.createElement(reactSocialIcons_1, {
|
|
195
|
-
target: '_blank'
|
|
196
|
-
|
|
194
|
+
return React__default.createElement(reactSocialIcons_1, _extends({
|
|
195
|
+
target: '_blank'
|
|
196
|
+
}, checkSisterSite(url) ? '' : rel = 'noopener noreferrer', {
|
|
197
197
|
key: index,
|
|
198
198
|
index: index,
|
|
199
199
|
url: url,
|
|
200
200
|
style: { width: 30, height: 30, marginRight: 10 }
|
|
201
|
-
});
|
|
201
|
+
}));
|
|
202
202
|
}
|
|
203
203
|
}),
|
|
204
204
|
React__default.createElement(
|
|
@@ -5,7 +5,7 @@ import React__default, { useState, useEffect } from 'react';
|
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
6
|
import Head from 'next/head';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-0110e48e.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import './core.get-iterator-method-ea258bb1.js';
|
|
11
11
|
import './_object-pie-133f504a.js';
|
|
@@ -58,7 +58,7 @@ import 'react-bootstrap/Figure';
|
|
|
58
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
59
59
|
import 'react-bootstrap/Tooltip';
|
|
60
60
|
import 'react-bootstrap/Popover';
|
|
61
|
-
import './checkSisterSite-
|
|
61
|
+
import './checkSisterSite-a7218fda.js';
|
|
62
62
|
|
|
63
63
|
var _this = undefined;
|
|
64
64
|
|
|
@@ -38,7 +38,7 @@ import './SideFooter.js';
|
|
|
38
38
|
import './react-social-icons-9be47857.js';
|
|
39
39
|
import './get-3c308da4.js';
|
|
40
40
|
import './eq-bdcbf886.js';
|
|
41
|
-
import './checkSisterSite-
|
|
41
|
+
import './checkSisterSite-a7218fda.js';
|
|
42
42
|
import './ConferenceBanner-8792ebd2.js';
|
|
43
43
|
import './ADSponsoredResources.js';
|
|
44
44
|
import './LeftNav.js';
|
|
@@ -52,9 +52,9 @@ import 'react-bootstrap/NavDropdown';
|
|
|
52
52
|
import './index.esm-9b042655.js';
|
|
53
53
|
import './iconBase-ccc56b97.js';
|
|
54
54
|
import './index.esm-eb1e8e80.js';
|
|
55
|
-
import './NavFooter-
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import './SocialSearchComponent-
|
|
55
|
+
import './NavFooter-3673bac5.js';
|
|
56
|
+
import './index.esm-f7316244.js';
|
|
57
|
+
import './SocialSearchComponent-0e0af6e1.js';
|
|
58
58
|
import './SocialIcons.js';
|
|
59
59
|
import 'react-bootstrap/Form';
|
|
60
60
|
import 'react-bootstrap/FormControl';
|
|
@@ -1,42 +1,9 @@
|
|
|
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';
|
|
5
5
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
|
|
7
|
-
function _extends() {
|
|
8
|
-
_extends = Object.assign || function (target) {
|
|
9
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
10
|
-
var source = arguments[i];
|
|
11
|
-
|
|
12
|
-
for (var key in source) {
|
|
13
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
14
|
-
target[key] = source[key];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
return target;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
return _extends.apply(this, arguments);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
26
|
-
if (source == null) return {};
|
|
27
|
-
var target = {};
|
|
28
|
-
var sourceKeys = Object.keys(source);
|
|
29
|
-
var key, i;
|
|
30
|
-
|
|
31
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
32
|
-
key = sourceKeys[i];
|
|
33
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
34
|
-
target[key] = source[key];
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
return target;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
7
|
/**
|
|
41
8
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
42
9
|
*
|
|
@@ -142,15 +109,6 @@ function useUncontrolled(props, config) {
|
|
|
142
109
|
}, props);
|
|
143
110
|
}
|
|
144
111
|
|
|
145
|
-
function _setPrototypeOf(o, p) {
|
|
146
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
147
|
-
o.__proto__ = p;
|
|
148
|
-
return o;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
return _setPrototypeOf(o, p);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
112
|
function _inheritsLoose(subClass, superClass) {
|
|
155
113
|
subClass.prototype = Object.create(superClass.prototype);
|
|
156
114
|
subClass.prototype.constructor = subClass;
|
|
@@ -3034,13 +2992,21 @@ function mapToStyles(_ref2) {
|
|
|
3034
2992
|
adaptive = _ref2.adaptive,
|
|
3035
2993
|
roundOffsets = _ref2.roundOffsets,
|
|
3036
2994
|
isFixed = _ref2.isFixed;
|
|
2995
|
+
var _offsets$x = offsets.x,
|
|
2996
|
+
x = _offsets$x === void 0 ? 0 : _offsets$x,
|
|
2997
|
+
_offsets$y = offsets.y,
|
|
2998
|
+
y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
3037
2999
|
|
|
3038
|
-
var _ref3 =
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3000
|
+
var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
|
|
3001
|
+
x: x,
|
|
3002
|
+
y: y
|
|
3003
|
+
}) : {
|
|
3004
|
+
x: x,
|
|
3005
|
+
y: y
|
|
3006
|
+
};
|
|
3043
3007
|
|
|
3008
|
+
x = _ref3.x;
|
|
3009
|
+
y = _ref3.y;
|
|
3044
3010
|
var hasX = offsets.hasOwnProperty('x');
|
|
3045
3011
|
var hasY = offsets.hasOwnProperty('y');
|
|
3046
3012
|
var sideX = left;
|
|
@@ -3085,6 +3051,17 @@ function mapToStyles(_ref2) {
|
|
|
3085
3051
|
position: position
|
|
3086
3052
|
}, adaptive && unsetSides);
|
|
3087
3053
|
|
|
3054
|
+
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
|
3055
|
+
x: x,
|
|
3056
|
+
y: y
|
|
3057
|
+
}) : {
|
|
3058
|
+
x: x,
|
|
3059
|
+
y: y
|
|
3060
|
+
};
|
|
3061
|
+
|
|
3062
|
+
x = _ref4.x;
|
|
3063
|
+
y = _ref4.y;
|
|
3064
|
+
|
|
3088
3065
|
if (gpuAcceleration) {
|
|
3089
3066
|
var _Object$assign;
|
|
3090
3067
|
|
|
@@ -3094,9 +3071,9 @@ function mapToStyles(_ref2) {
|
|
|
3094
3071
|
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3095
3072
|
}
|
|
3096
3073
|
|
|
3097
|
-
function computeStyles(
|
|
3098
|
-
var state =
|
|
3099
|
-
options =
|
|
3074
|
+
function computeStyles(_ref5) {
|
|
3075
|
+
var state = _ref5.state,
|
|
3076
|
+
options = _ref5.options;
|
|
3100
3077
|
var _options$gpuAccelerat = options.gpuAcceleration,
|
|
3101
3078
|
gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,
|
|
3102
3079
|
_options$adaptive = options.adaptive,
|
|
@@ -3395,7 +3372,7 @@ function getClippingParents(element) {
|
|
|
3395
3372
|
|
|
3396
3373
|
|
|
3397
3374
|
return clippingParents.filter(function (clippingParent) {
|
|
3398
|
-
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body'
|
|
3375
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3399
3376
|
});
|
|
3400
3377
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3401
3378
|
// clipping parents
|
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-0110e48e.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -59,7 +59,7 @@ import 'react-bootstrap/Figure';
|
|
|
59
59
|
import 'react-bootstrap/OverlayTrigger';
|
|
60
60
|
import 'react-bootstrap/Tooltip';
|
|
61
61
|
import 'react-bootstrap/Popover';
|
|
62
|
-
import './checkSisterSite-
|
|
62
|
+
import './checkSisterSite-a7218fda.js';
|
|
63
63
|
import 'react-bootstrap/Container';
|
|
64
64
|
import './visibility-sensor-72fd8f8b.js';
|
|
65
65
|
import './YoutubeGroup.js';
|
package/dist/esm/View.js
CHANGED
|
@@ -15,7 +15,7 @@ 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-0110e48e.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
20
|
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-9bd28724.js';
|
|
@@ -70,11 +70,11 @@ import 'react-bootstrap/Figure';
|
|
|
70
70
|
import 'react-bootstrap/OverlayTrigger';
|
|
71
71
|
import 'react-bootstrap/Tooltip';
|
|
72
72
|
import 'react-bootstrap/Popover';
|
|
73
|
-
import './checkSisterSite-
|
|
73
|
+
import './checkSisterSite-a7218fda.js';
|
|
74
74
|
import './debounce-533d9748.js';
|
|
75
75
|
import './isSymbol-a7e9aafe.js';
|
|
76
76
|
import './toNumber-5aeba6e7.js';
|
|
77
|
-
import './index-
|
|
77
|
+
import './index-0a63f9a3.js';
|
|
78
78
|
|
|
79
79
|
var getArticleSummary = function getArticleSummary(article) {
|
|
80
80
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var siteArray = ['community.onclive.com', 'fetchdvm360.com', 'aestheticauthority.com', 'app.onecommunity.com', 'cannapatientcare.com', 'chiefhealthcareexecutive.com', 'genetherapylive.com', 'giantsofcancercare.com', 'medicalworldnews.com', 'pbmi.com', 'pharmacytimes.org', 'gotoper.com', 'education.gotoper.com', 'mjhlifesciences.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cancerhorizon.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'consultantlive.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'lungquest.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'movingmountainsformultiplemyeloma.com', 'naspmeeting.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncliveevents.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'onecommunity.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmacistmomsgroup.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'studio.mjhassoc.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com'];
|
|
1
|
+
var siteArray = ['community.onclive.com', 'fetchdvm360.com', 'aestheticauthority.com', 'app.onecommunity.com', 'cannapatientcare.com', 'chiefhealthcareexecutive.com', 'genetherapylive.com', 'giantsofcancercare.com', 'medicalworldnews.com', 'pbmi.com', 'pharmacytimes.org', 'gotoper.com', 'education.gotoper.com', 'mjhlifesciences.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cancerhorizon.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'consultantlive.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'lungquest.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'movingmountainsformultiplemyeloma.com', 'naspmeeting.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncliveevents.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'onecommunity.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmacistmomsgroup.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'studio.mjhassoc.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com', 'mdmag.com'];
|
|
2
2
|
|
|
3
3
|
var checkSisterSite = function checkSisterSite(url) {
|
|
4
4
|
if (url.includes('http://' ) || url.includes('https://' )) {
|
|
@@ -0,0 +1,66 @@
|
|
|
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, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
44
|
+
|
|
45
|
+
var defineProperty = createCommonjsModule(function (module) {
|
|
46
|
+
function _defineProperty(obj, key, value) {
|
|
47
|
+
if (key in obj) {
|
|
48
|
+
Object.defineProperty(obj, key, {
|
|
49
|
+
value: value,
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true,
|
|
52
|
+
writable: true
|
|
53
|
+
});
|
|
54
|
+
} else {
|
|
55
|
+
obj[key] = value;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return obj;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
var _defineProperty = unwrapExports(defineProperty);
|
|
65
|
+
|
|
66
|
+
export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
|