@mjhls/mjh-framework 1.0.1089 → 1.0.1091
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-3eabeab4.js → ADInfeed-25f53b70.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-fc42f8c4.js → ADlgInfeed-5d21496c.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +248 -532
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/AuthWrapper.js +642 -266
- package/dist/cjs/CEDeckSupabase.js +6 -2
- package/dist/cjs/CMEDeck.js +6 -2
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +3 -3
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +3 -3
- package/dist/cjs/ExternalResources.js +5 -5
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +2 -2
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/{ImageSlider-d65bc9c8.js → ImageSlider-984a697b.js} +116 -156
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +6 -6
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MasterDeckPaginated.js +3 -3
- package/dist/cjs/MediaSeriesCard.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +9 -9
- package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +8 -7
- package/dist/cjs/PartnerDetailListingPaginated.js +8 -7
- package/dist/cjs/PodcastsLanding.js +7 -7
- package/dist/cjs/PtceDeck.js +1 -1
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/PublicationLanding.js +12 -8
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-a8b51591.js → SeriesSlider-086a8319.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-9d272141.js → SocialSearchComponent-d7e5d3a6.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/{Tooltip-66c1a867.js → Tooltip-96fe6ef6.js} +85 -159
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +68 -19
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{brightcove-react-player-loader.es-35faab67.js → brightcove-react-player-loader.es-4c7825a1.js} +3 -3
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/getRelatedArticle.js +15 -33
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{index-9ec837cc.js → index-50be6759.js} +25 -9
- package/dist/cjs/index-96c331fd.js +1572 -0
- package/dist/cjs/{index-4aba677d.js → index-b0e9a7b6.js} +15 -234
- package/dist/cjs/index.js +13 -11
- package/dist/cjs/{main-812888f1.js → main-ae8472f3.js} +1 -1
- package/dist/cjs/{moment-f730814d.js → moment-aca40de1.js} +80 -95
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-8fd14c74.js → ADInfeed-ca4bb13c.js} +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/{ADlgInfeed-9c3fc2ec.js → ADlgInfeed-142ddf4d.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +247 -531
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/AuthWrapper.js +639 -263
- package/dist/esm/CEDeckSupabase.js +6 -2
- package/dist/esm/CMEDeck.js +6 -2
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +3 -3
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +3 -3
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-801685f8.js → ImageSlider-9250ddc9.js} +117 -157
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueLanding.js +6 -6
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MasterDeckPaginated.js +3 -3
- package/dist/esm/MediaSeriesCard.js +4 -4
- package/dist/esm/MediaSeriesLanding.js +9 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -7
- package/dist/esm/PartnerDetailListingPaginated.js +8 -7
- package/dist/esm/PodcastsLanding.js +7 -7
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PublicationLanding.js +12 -8
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-5757414b.js → SeriesSlider-acbdf4c9.js} +1 -1
- package/dist/esm/{SocialSearchComponent-98bfc990.js → SocialSearchComponent-9e65c8d6.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/{Tooltip-0b3b4558.js → Tooltip-bc98d17e.js} +244 -318
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +68 -19
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-a2422c4b.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/getRelatedArticle.js +16 -34
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/index-30a6257d.js +1570 -0
- package/dist/esm/{index-0ce54f8a.js → index-98ca9cec.js} +25 -10
- package/dist/esm/{index-fcb8d351.js → index-cf4b8124.js} +15 -234
- package/dist/esm/index.js +13 -11
- package/dist/esm/{main-dde1592e.js → main-754d4992.js} +1 -1
- package/dist/esm/{moment-48faeb9c.js → moment-bc12cb97.js} +80 -95
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-4d21663c.js +0 -1573
- package/dist/esm/index-887c1f5e.js +0 -1571
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1eb
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
|
|
3
3
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
|
|
5
|
-
import { m as main_43 } from './main-
|
|
5
|
+
import { m as main_43 } from './main-754d4992.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-95db387d.js';
|
|
8
8
|
import './web.dom.iterable-3fffc027.js';
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -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-cf4b8124.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-95db387d.js';
|
|
@@ -24,13 +24,13 @@ import './index-c7e2ac95.js';
|
|
|
24
24
|
import './Beam.js';
|
|
25
25
|
import './stringify-1e2a5946.js';
|
|
26
26
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
27
|
+
import './main-754d4992.js';
|
|
28
28
|
import './urlForFile-2e523b67.js';
|
|
29
29
|
import './index-755f2cc2.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './typeof-3ab7d3b6.js';
|
|
32
32
|
import './_is-array-68c79b29.js';
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
33
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
34
|
import './_object-to-array-9dfdfb29.js';
|
|
35
35
|
import './keys-185288f4.js';
|
|
36
36
|
import './_object-sap-14bd8e96.js';
|
|
@@ -38,7 +38,7 @@ import 'react-bootstrap/Modal';
|
|
|
38
38
|
import 'react-ga';
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import './smoothscroll-fa4e3f8c.js';
|
|
41
|
-
import './moment-
|
|
41
|
+
import './moment-bc12cb97.js';
|
|
42
42
|
import './SocialShare.js';
|
|
43
43
|
import 'next/head';
|
|
44
44
|
import 'react-share';
|
|
@@ -2,7 +2,7 @@ import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { m as moment } from './moment-
|
|
5
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
2
|
import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { m as moment } from './moment-
|
|
4
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
6
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
7
|
import MasterDeck from './MasterDeck.js';
|
|
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
35
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
36
36
|
import 'react-dom';
|
|
37
37
|
import './index-3f5c03b2.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-142ddf4d.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './stringify-1e2a5946.js';
|
|
42
42
|
import './Segment.js';
|
|
43
|
-
import './main-
|
|
44
|
-
import './ADInfeed-
|
|
43
|
+
import './main-754d4992.js';
|
|
44
|
+
import './ADInfeed-ca4bb13c.js';
|
|
45
45
|
import './index-755f2cc2.js';
|
|
46
46
|
import './urlFor.js';
|
|
47
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -5,7 +5,7 @@ import { l as lib_3 } from './index-5cc7b406.js';
|
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
|
|
|
27
27
|
import './smoothscroll-fa4e3f8c.js';
|
|
28
28
|
import './urlFor.js';
|
|
29
29
|
import './index-3f5c03b2.js';
|
|
30
|
-
import './main-
|
|
30
|
+
import './main-754d4992.js';
|
|
31
31
|
import './isSymbol-a7e9aafe.js';
|
|
32
32
|
import './toNumber-5aeba6e7.js';
|
|
33
33
|
|
package/dist/esm/View.js
CHANGED
|
@@ -6,18 +6,18 @@ import Head from 'next/head';
|
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
7
|
import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
|
|
9
|
-
import { m as moment } from './moment-
|
|
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-754d4992.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-cf4b8124.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-acbdf4c9.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -49,7 +49,7 @@ import 'react-bootstrap';
|
|
|
49
49
|
import './index-c7e2ac95.js';
|
|
50
50
|
import './Beam.js';
|
|
51
51
|
import './Segment.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-
|
|
52
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
53
53
|
import './_object-to-array-9dfdfb29.js';
|
|
54
54
|
import 'react-bootstrap/Modal';
|
|
55
55
|
import 'react-ga';
|
|
@@ -87,21 +87,32 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
|
|
|
87
87
|
return null;
|
|
88
88
|
}
|
|
89
89
|
var url = void 0;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
try {
|
|
91
|
+
if (docGroup.path && docGroup.path.includes('/') && (!docGroup.parent || !docGroup.parent.parent)) {
|
|
92
|
+
return '/' + docGroup.path;
|
|
93
|
+
}
|
|
94
|
+
} catch (e) {
|
|
95
|
+
console.log(e.message);
|
|
93
96
|
}
|
|
94
97
|
// Checking if Parent has Parent
|
|
95
|
-
|
|
96
|
-
if (docGroup.path.includes(docGroup.parent.
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
try {
|
|
99
|
+
if (docGroup.path && docGroup.path.includes('/') && docGroup.parent && docGroup.parent.parent) {
|
|
100
|
+
if (docGroup.path.includes(docGroup.parent.identifier.current)) {
|
|
101
|
+
return '/' + docGroup.parent.parent.identifier.current + '/' + docGroup.path;
|
|
102
|
+
} else {
|
|
103
|
+
return '/' + docGroup.parent.parent.identifier.current + '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
|
|
104
|
+
}
|
|
100
105
|
}
|
|
106
|
+
} catch (e) {
|
|
107
|
+
console.log(e.message);
|
|
101
108
|
}
|
|
102
109
|
|
|
103
|
-
|
|
104
|
-
|
|
110
|
+
try {
|
|
111
|
+
if (docGroup.parent && docGroup.parent.identifier && docGroup.parent.parent && docGroup.parent.parent.identifier && docGroup.parent.identifier.current.includes('/') && docGroup.parent.identifier.current.split('/')[0] === docGroup.parent.parent.identifier.current) {
|
|
112
|
+
return '/' + docGroup.parent.identifier.current + '/' + docGroup.path;
|
|
113
|
+
}
|
|
114
|
+
} catch (e) {
|
|
115
|
+
console.log(e.message);
|
|
105
116
|
}
|
|
106
117
|
|
|
107
118
|
if (docGroup.parent) {
|
|
@@ -1264,8 +1275,39 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1264
1275
|
return null;
|
|
1265
1276
|
}
|
|
1266
1277
|
|
|
1267
|
-
|
|
1268
|
-
|
|
1278
|
+
// let doc_url = cpModificationRequired
|
|
1279
|
+
// ? getDocumentGroupUrl(documentGroup)
|
|
1280
|
+
// : documentGroup.ancestor
|
|
1281
|
+
// ? documentGroup.parent && !documentGroup.path.includes('/')
|
|
1282
|
+
// ? `/${documentGroup.ancestor}/${documentGroup.parent.identifier.current}/${documentGroup.path}` : `/${documentGroup.ancestor}/${documentGroup.path}` : documentGroup.parent
|
|
1283
|
+
// ? !documentGroup.path.includes('/')
|
|
1284
|
+
// ? `/${documentGroup.parent.identifier.current}/${documentGroup.path}` : `/${documentGroup.path}` : `/${documentGroup.path}`
|
|
1285
|
+
|
|
1286
|
+
var docUrl = '/' + documentGroup.path;
|
|
1287
|
+
|
|
1288
|
+
if (cpModificationRequired) {
|
|
1289
|
+
docUrl = getDocumentGroupUrl(documentGroup);
|
|
1290
|
+
} else {
|
|
1291
|
+
try {
|
|
1292
|
+
if (documentGroup.ancestor) {
|
|
1293
|
+
if (documentGroup.parent && documentGroup.path.findIndex('/') < 0) {
|
|
1294
|
+
docUrl = '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path;
|
|
1295
|
+
} else {
|
|
1296
|
+
docUrl = '/' + documentGroup.ancestor + '/' + documentGroup.path;
|
|
1297
|
+
}
|
|
1298
|
+
} else if (documentGroup.parent) {
|
|
1299
|
+
if (documentGroup.path.findIndex('/') < 0) {
|
|
1300
|
+
docUrl = '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path;
|
|
1301
|
+
} else {
|
|
1302
|
+
docUrl = '/' + documentGroup.path;
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
} catch (e) {
|
|
1306
|
+
console.log(e.message);
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
var href = '' + docUrl;
|
|
1269
1311
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1270
1312
|
// if (documentGroup.parent) {
|
|
1271
1313
|
// relatedLinks = [
|
|
@@ -1289,12 +1331,17 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1289
1331
|
if (cp.excludeRelatedContents) {
|
|
1290
1332
|
return null;
|
|
1291
1333
|
}
|
|
1292
|
-
|
|
1293
|
-
|
|
1334
|
+
var cp_url = '' + cp.path;
|
|
1335
|
+
try {
|
|
1336
|
+
cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && cp.path.indexOf('/') < 0 ? cp.ancestor + '/' + cp.parent + '/' + cp.path : !cp.path.indexOf(cp.ancestor) < 0 ? cp.ancestor + '/' + cp.path : '' + cp.path : cp.parent ? !cp.path.indexOf('/') < 0 ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
|
|
1337
|
+
} catch (e) {
|
|
1338
|
+
console.log(e.message);
|
|
1339
|
+
}
|
|
1294
1340
|
var href = '/' + cp_url;
|
|
1295
1341
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1296
1342
|
});
|
|
1297
1343
|
}
|
|
1344
|
+
|
|
1298
1345
|
if (issueGroup && issueGroup.name && issueGroup.identifier && issueGroup.identifier.current && issueGroup.parent && issueGroup.parent.identifier && issueGroup.parent.identifier.current) {
|
|
1299
1346
|
var _props$Settings$issue = props.Settings.issueMapping,
|
|
1300
1347
|
issueMapping = _props$Settings$issue === undefined ? '/publications' : _props$Settings$issue;
|
|
@@ -1786,6 +1833,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1786
1833
|
!isVideoSeries && !isFormAssembly && showPublished && React__default.createElement(
|
|
1787
1834
|
'div',
|
|
1788
1835
|
null,
|
|
1836
|
+
'Published on:',
|
|
1837
|
+
'\xA0',
|
|
1789
1838
|
React__default.createElement(
|
|
1790
1839
|
'time',
|
|
1791
1840
|
{
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-d9653ae5.js';
|
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-754d4992.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-3fffc027.js';
|
|
10
10
|
import './core.get-iterator-method-95db387d.js';
|
|
@@ -564,7 +564,7 @@ proto.createDocumentFragment = function createDocumentFragment() {
|
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
proto.createEvent = function createEvent(family) {
|
|
567
|
-
return new event()
|
|
567
|
+
return new event(family)
|
|
568
568
|
};
|
|
569
569
|
|
|
570
570
|
proto.createComment = function createComment(data) {
|
|
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
|
|
|
625
625
|
|
|
626
626
|
var window_1 = win;
|
|
627
627
|
|
|
628
|
-
/*! @name @brightcove/react-player-loader @version 1.4.
|
|
628
|
+
/*! @name @brightcove/react-player-loader @version 1.4.1 @license Apache-2.0 */
|
|
629
629
|
|
|
630
630
|
function _extends() {
|
|
631
631
|
_extends = Object.assign || function (target) {
|
|
@@ -2073,7 +2073,7 @@ function (_React$Component) {
|
|
|
2073
2073
|
|
|
2074
2074
|
_proto.updatePlayer = function updatePlayer(changes) {
|
|
2075
2075
|
// No player exists, player is disposed, or not using the catalog
|
|
2076
|
-
if (!this.player || !this.player.el
|
|
2076
|
+
if (!this.player || !this.player.el()) {
|
|
2077
2077
|
return;
|
|
2078
2078
|
} // If the player is using the catalog plugin, we _may_ populate this
|
|
2079
2079
|
// variable with an object.
|
|
@@ -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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
|
-
import { c as createCommonjsModule,
|
|
2
|
+
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import getQuery from './getQuery.js';
|
|
4
4
|
import './core.get-iterator-method-95db387d.js';
|
|
5
5
|
import './web.dom.iterable-3fffc027.js';
|
|
@@ -29,6 +29,7 @@ var serialize_1 = serialize;
|
|
|
29
29
|
|
|
30
30
|
var decode = decodeURIComponent;
|
|
31
31
|
var encode = encodeURIComponent;
|
|
32
|
+
var pairSplitRegExp = /; */;
|
|
32
33
|
|
|
33
34
|
/**
|
|
34
35
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -59,29 +60,28 @@ function parse$1(str, options) {
|
|
|
59
60
|
|
|
60
61
|
var obj = {};
|
|
61
62
|
var opt = options || {};
|
|
62
|
-
var pairs = str.split(
|
|
63
|
+
var pairs = str.split(pairSplitRegExp);
|
|
63
64
|
var dec = opt.decode || decode;
|
|
64
65
|
|
|
65
66
|
for (var i = 0; i < pairs.length; i++) {
|
|
66
67
|
var pair = pairs[i];
|
|
67
|
-
var
|
|
68
|
+
var eq_idx = pair.indexOf('=');
|
|
68
69
|
|
|
69
70
|
// skip things that don't look like key=value
|
|
70
|
-
if (
|
|
71
|
+
if (eq_idx < 0) {
|
|
71
72
|
continue;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
|
-
var key = pair.
|
|
75
|
+
var key = pair.substr(0, eq_idx).trim();
|
|
76
|
+
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
77
|
+
|
|
78
|
+
// quoted values
|
|
79
|
+
if ('"' == val[0]) {
|
|
80
|
+
val = val.slice(1, -1);
|
|
81
|
+
}
|
|
75
82
|
|
|
76
83
|
// only assign once
|
|
77
84
|
if (undefined == obj[key]) {
|
|
78
|
-
var val = pair.substring(index + 1, pair.length).trim();
|
|
79
|
-
|
|
80
|
-
// quoted values
|
|
81
|
-
if (val[0] === '"') {
|
|
82
|
-
val = val.slice(1, -1);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
85
|
obj[key] = tryDecode(val, dec);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -225,11 +225,9 @@ function isNonEmptyString(str) {
|
|
|
225
225
|
|
|
226
226
|
function parseString(setCookieValue, options) {
|
|
227
227
|
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
var
|
|
231
|
-
var name = parsed.name;
|
|
232
|
-
var value = parsed.value;
|
|
228
|
+
var nameValue = parts.shift().split("=");
|
|
229
|
+
var name = nameValue.shift();
|
|
230
|
+
var value = nameValue.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
233
231
|
|
|
234
232
|
options = options
|
|
235
233
|
? Object.assign({}, defaultParseOptions, options)
|
|
@@ -247,7 +245,7 @@ function parseString(setCookieValue, options) {
|
|
|
247
245
|
}
|
|
248
246
|
|
|
249
247
|
var cookie = {
|
|
250
|
-
name: name,
|
|
248
|
+
name: name, // grab everything before the first =
|
|
251
249
|
value: value,
|
|
252
250
|
};
|
|
253
251
|
|
|
@@ -273,22 +271,6 @@ function parseString(setCookieValue, options) {
|
|
|
273
271
|
return cookie;
|
|
274
272
|
}
|
|
275
273
|
|
|
276
|
-
function parseNameValuePair(nameValuePairStr) {
|
|
277
|
-
// Parses name-value-pair according to rfc6265bis draft
|
|
278
|
-
|
|
279
|
-
var name = "";
|
|
280
|
-
var value = "";
|
|
281
|
-
var nameValueArr = nameValuePairStr.split("=");
|
|
282
|
-
if (nameValueArr.length > 1) {
|
|
283
|
-
name = nameValueArr.shift();
|
|
284
|
-
value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
285
|
-
} else {
|
|
286
|
-
value = nameValuePairStr;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
return { name: name, value: value };
|
|
290
|
-
}
|
|
291
|
-
|
|
292
274
|
function parse(input, options) {
|
|
293
275
|
options = options
|
|
294
276
|
? Object.assign({}, defaultParseOptions, options)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-cf4b8124.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-72ed566b.js';
|
|
@@ -21,13 +21,13 @@ import './_library-528f1934.js';
|
|
|
21
21
|
import './_set-species-7d3317b7.js';
|
|
22
22
|
import './_iter-detect-2f89237f.js';
|
|
23
23
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-754d4992.js';
|
|
25
25
|
import './urlForFile-2e523b67.js';
|
|
26
26
|
import './index-755f2cc2.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './typeof-3ab7d3b6.js';
|
|
29
29
|
import './_is-array-68c79b29.js';
|
|
30
|
-
import './brightcove-react-player-loader.es-
|
|
30
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
31
31
|
import './_object-to-array-9dfdfb29.js';
|
|
32
32
|
import './keys-185288f4.js';
|
|
33
33
|
import './_object-sap-14bd8e96.js';
|
|
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
|
|
|
37
37
|
import 'react-ga';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import './smoothscroll-fa4e3f8c.js';
|
|
40
|
-
import './moment-
|
|
40
|
+
import './moment-bc12cb97.js';
|
|
41
41
|
import './SocialShare.js';
|
|
42
42
|
import 'next/head';
|
|
43
43
|
import 'react-share';
|