@mjhls/mjh-framework 1.0.994-CypressV2 → 1.0.994-invalidelement-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-f316b66a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-2003306e.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlgoliaSearch.js +1214 -1129
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +16 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +23075 -242
- package/dist/cjs/AuthWrapper.js +120 -30
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +36 -36
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +130 -130
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +30 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-ca708da8.js} +1315 -176
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +50 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{Tooltip-f075b7ef.js → MediaSeriesCard-f6db8f70.js} +678 -531
- package/dist/cjs/MediaSeriesLanding.js +56 -57
- package/dist/cjs/MediaSeriesLandingPaginated.js +54 -55
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-4799de4b.js → NavFooter-880e9d87.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +52 -53
- package/dist/cjs/PartnerDetailListingPaginated.js +50 -73
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +55 -52
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-d2ab3d62.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +13 -13
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +30 -30
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +261 -274
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
- package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/index-0cf4c9fc.js +904 -0
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/{index-f95a3c0f.js → index-b10d6863.js} +495 -511
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-1461604c.js → index.esm-f59ef5b4.js} +14 -14
- package/dist/cjs/index.js +106 -111
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlgoliaSearch.js +643 -558
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesListing.js +1 -1
- package/dist/esm/Auth.js +22999 -163
- package/dist/esm/AuthWrapper.js +93 -3
- package/dist/esm/CMEDeck.js +1 -1
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +10 -10
- package/dist/esm/DeckQueue.js +1 -1
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +19 -19
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +3 -3
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-fada4f0c.js} +1257 -119
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +11 -11
- package/dist/esm/MasterDeckPaginated.js +12 -12
- package/dist/esm/{Tooltip-95655b44.js → MediaSeriesCard-96ac8ed4.js} +396 -250
- package/dist/esm/MediaSeriesLanding.js +18 -19
- package/dist/esm/MediaSeriesLandingPaginated.js +18 -19
- package/dist/esm/NavMagazine.js +12 -12
- package/dist/esm/NavNative.js +10 -10
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -9
- package/dist/esm/PartnerDetailListingPaginated.js +16 -39
- package/dist/esm/PubSection.js +3 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +3 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Schema.js +55 -52
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/{SocialSearchComponent-165b4ae7.js → SocialSearchComponent-68d948b9.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -3
- package/dist/esm/VideoSeriesListing.js +1 -1
- package/dist/esm/View.js +45 -58
- package/dist/esm/YoutubeGroup.js +5 -5
- package/dist/esm/defineProperty-50094484.js +101 -0
- package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-04817712.js → index-076baa11.js} +12 -27
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/index-e7075467.js +897 -0
- package/dist/esm/index.js +13 -18
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +115 -115
- package/dist/cjs/CypressTesting.js +0 -54
- package/dist/cjs/MediaSeriesCard-2e5cd247.js +0 -81
- package/dist/cjs/PodcastsLanding.js +0 -235
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/CypressTesting.js +0 -48
- package/dist/esm/MediaSeriesCard-afb517a5.js +0 -75
- package/dist/esm/PodcastsLanding.js +0 -228
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
|
@@ -3,14 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-96ac8ed4.js';
|
|
7
|
+
import './index-0ce54f8a.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-afb517a5.js';
|
|
12
11
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
14
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -19,6 +18,11 @@ import './_iter-detect-98db3b07.js';
|
|
|
19
18
|
import './_is-array-8d21b9e3.js';
|
|
20
19
|
import './_object-pie-133f504a.js';
|
|
21
20
|
import 'prop-types';
|
|
21
|
+
import './index-755f2cc2.js';
|
|
22
|
+
import './urlFor.js';
|
|
23
|
+
import './index-3f5c03b2.js';
|
|
24
|
+
import './moment-bc12cb97.js';
|
|
25
|
+
import './style-inject.es-1f59c1d0.js';
|
|
22
26
|
import './toConsumableArray-f7074d7c.js';
|
|
23
27
|
import './inherits-a6ba2ec4.js';
|
|
24
28
|
import './_object-sap-7cee6f84.js';
|
|
@@ -29,7 +33,6 @@ import 'react-bootstrap/Container';
|
|
|
29
33
|
import 'react-bootstrap/Row';
|
|
30
34
|
import 'react-bootstrap/Col';
|
|
31
35
|
import 'react-bootstrap/Card';
|
|
32
|
-
import './moment-bc12cb97.js';
|
|
33
36
|
import 'next/router';
|
|
34
37
|
import './lodash-f97fd99a.js';
|
|
35
38
|
import './debounce-533d9748.js';
|
|
@@ -37,26 +40,22 @@ import './isSymbol-a7e9aafe.js';
|
|
|
37
40
|
import './toNumber-5aeba6e7.js';
|
|
38
41
|
import './index.es-a6137319.js';
|
|
39
42
|
import './visibility-sensor-72fd8f8b.js';
|
|
40
|
-
import './
|
|
41
|
-
import './ADlgInfeed-5e36f317.js';
|
|
43
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
42
44
|
import './AdSlot.js';
|
|
43
45
|
import './Beam.js';
|
|
44
46
|
import './stringify-2b084bee.js';
|
|
45
47
|
import './Segment.js';
|
|
46
|
-
import './main-
|
|
47
|
-
import './ADInfeed-
|
|
48
|
-
import './index-755f2cc2.js';
|
|
49
|
-
import './urlFor.js';
|
|
50
|
-
import './style-inject.es-1f59c1d0.js';
|
|
48
|
+
import './main-9f6806ea.js';
|
|
49
|
+
import './ADInfeed-777bb0b3.js';
|
|
51
50
|
import 'react-bootstrap';
|
|
52
51
|
import './index-c7e2ac95.js';
|
|
53
|
-
import './
|
|
52
|
+
import './empty-a8042e3c.js';
|
|
54
53
|
import './urlForFile-b69adffc.js';
|
|
55
54
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
56
55
|
import 'react-bootstrap/Modal';
|
|
57
56
|
import 'react-bootstrap/Button';
|
|
58
57
|
import 'react-bootstrap/Form';
|
|
59
|
-
import '
|
|
58
|
+
import './index-e7075467.js';
|
|
60
59
|
import './GroupDeck.js';
|
|
61
60
|
import './smoothscroll-fa4e3f8c.js';
|
|
62
61
|
import './SocialShare.js';
|
|
@@ -95,11 +94,11 @@ var Filter = function Filter(_ref) {
|
|
|
95
94
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
95
|
grandChildData = _useState6[0],
|
|
97
96
|
setGrandChildData = _useState6[1];
|
|
98
|
-
/*
|
|
99
|
-
{parent: showAll,
|
|
100
|
-
chidlren: show selected from parent,
|
|
101
|
-
grandchildren: show selected from children
|
|
102
|
-
}
|
|
97
|
+
/*
|
|
98
|
+
{parent: showAll,
|
|
99
|
+
chidlren: show selected from parent,
|
|
100
|
+
grandchildren: show selected from children
|
|
101
|
+
}
|
|
103
102
|
*/
|
|
104
103
|
|
|
105
104
|
|
|
@@ -3,14 +3,13 @@ import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './
|
|
7
|
-
import './index-
|
|
6
|
+
import { M as MediaSeriesCard, D as DropdownButton, a as Dropdown } from './MediaSeriesCard-96ac8ed4.js';
|
|
7
|
+
import './index-0ce54f8a.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import {
|
|
13
|
-
import { g as getSerializers } from './index-04817712.js';
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
14
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -19,7 +18,11 @@ import './_iter-detect-98db3b07.js';
|
|
|
19
18
|
import './_is-array-8d21b9e3.js';
|
|
20
19
|
import './_object-pie-133f504a.js';
|
|
21
20
|
import 'prop-types';
|
|
21
|
+
import './index-755f2cc2.js';
|
|
22
|
+
import './urlFor.js';
|
|
22
23
|
import './index-3f5c03b2.js';
|
|
24
|
+
import './moment-bc12cb97.js';
|
|
25
|
+
import './style-inject.es-1f59c1d0.js';
|
|
23
26
|
import './stringify-2b084bee.js';
|
|
24
27
|
import './toConsumableArray-f7074d7c.js';
|
|
25
28
|
import './inherits-a6ba2ec4.js';
|
|
@@ -31,8 +34,8 @@ import 'react-bootstrap/Container';
|
|
|
31
34
|
import 'react-bootstrap/Spinner';
|
|
32
35
|
import 'next/router';
|
|
33
36
|
import './lodash-f97fd99a.js';
|
|
34
|
-
import './main-
|
|
35
|
-
import './ADlgInfeed-
|
|
37
|
+
import './main-9f6806ea.js';
|
|
38
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
36
39
|
import 'react-bootstrap/Card';
|
|
37
40
|
import './AdSlot.js';
|
|
38
41
|
import './debounce-533d9748.js';
|
|
@@ -40,23 +43,19 @@ import './isSymbol-a7e9aafe.js';
|
|
|
40
43
|
import './toNumber-5aeba6e7.js';
|
|
41
44
|
import './Beam.js';
|
|
42
45
|
import './Segment.js';
|
|
43
|
-
import './ADInfeed-
|
|
44
|
-
import './Pagination-
|
|
46
|
+
import './ADInfeed-777bb0b3.js';
|
|
47
|
+
import './Pagination-9fe9f61d.js';
|
|
45
48
|
import 'react-bootstrap/Button';
|
|
46
49
|
import './index.esm-1bd8a0a8.js';
|
|
47
50
|
import './iconBase-ccc56b97.js';
|
|
48
|
-
import './index-755f2cc2.js';
|
|
49
|
-
import './urlFor.js';
|
|
50
|
-
import './moment-bc12cb97.js';
|
|
51
|
-
import './style-inject.es-1f59c1d0.js';
|
|
52
51
|
import 'react-bootstrap';
|
|
53
52
|
import './index-c7e2ac95.js';
|
|
54
|
-
import './
|
|
53
|
+
import './empty-a8042e3c.js';
|
|
55
54
|
import './urlForFile-b69adffc.js';
|
|
56
55
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
57
56
|
import 'react-bootstrap/Modal';
|
|
58
57
|
import 'react-bootstrap/Form';
|
|
59
|
-
import '
|
|
58
|
+
import './index-e7075467.js';
|
|
60
59
|
import './GroupDeck.js';
|
|
61
60
|
import './smoothscroll-fa4e3f8c.js';
|
|
62
61
|
import './SocialShare.js';
|
|
@@ -96,11 +95,11 @@ var Filter = function Filter(_ref) {
|
|
|
96
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
97
96
|
grandChildData = _useState6[0],
|
|
98
97
|
setGrandChildData = _useState6[1];
|
|
99
|
-
/*
|
|
100
|
-
{parent: showAll,
|
|
101
|
-
chidlren: show selected from parent,
|
|
102
|
-
grandchildren: show selected from children
|
|
103
|
-
}
|
|
98
|
+
/*
|
|
99
|
+
{parent: showAll,
|
|
100
|
+
chidlren: show selected from parent,
|
|
101
|
+
grandchildren: show selected from children
|
|
102
|
+
}
|
|
104
103
|
*/
|
|
105
104
|
|
|
106
105
|
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -9,9 +9,9 @@ import { M as MdEmail } from './index.esm-9b042655.js';
|
|
|
9
9
|
import { b as IoMdLogIn } from './index.esm-eb1e8e80.js';
|
|
10
10
|
import { N as NavFooter } from './NavFooter-3272e9cd.js';
|
|
11
11
|
import { S as SocialNavFooter } from './index.esm-07c37a92.js';
|
|
12
|
-
import { c as main_44 } from './main-
|
|
12
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
13
13
|
import Segment from './Segment.js';
|
|
14
|
-
import { S as SocialSearchComponent } from './SocialSearchComponent-
|
|
14
|
+
import { S as SocialSearchComponent } from './SocialSearchComponent-68d948b9.js';
|
|
15
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -27,16 +27,16 @@ import 'react-bootstrap/FormControl';
|
|
|
27
27
|
import 'react-bootstrap/Button';
|
|
28
28
|
|
|
29
29
|
var NavMagazine = function NavMagazine(props) {
|
|
30
|
-
/*
|
|
31
|
-
Example Nav with acceptable props
|
|
32
|
-
<MagazineNav
|
|
33
|
-
showLogin
|
|
34
|
-
user={props.cache.user}
|
|
35
|
-
logo={props.settings.logo}
|
|
36
|
-
dataObject={props.cache.mainNavCache}
|
|
37
|
-
website={website}
|
|
38
|
-
subNav={props.cache.subNavCache}
|
|
39
|
-
/>
|
|
30
|
+
/*
|
|
31
|
+
Example Nav with acceptable props
|
|
32
|
+
<MagazineNav
|
|
33
|
+
showLogin
|
|
34
|
+
user={props.cache.user}
|
|
35
|
+
logo={props.settings.logo}
|
|
36
|
+
dataObject={props.cache.mainNavCache}
|
|
37
|
+
website={website}
|
|
38
|
+
subNav={props.cache.subNavCache}
|
|
39
|
+
/>
|
|
40
40
|
*/
|
|
41
41
|
|
|
42
42
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -13,7 +13,7 @@ import { I as IconContext } from './iconBase-ccc56b97.js';
|
|
|
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
|
-
import { c as main_44 } from './main-
|
|
16
|
+
import { c as main_44 } from './main-9f6806ea.js';
|
|
17
17
|
import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
|
|
18
18
|
import { i as isObject_1 } from './isSymbol-a7e9aafe.js';
|
|
19
19
|
import { t as toNumber_1 } from './toNumber-5aeba6e7.js';
|
|
@@ -301,15 +301,15 @@ function chunk(array, size, guard) {
|
|
|
301
301
|
var chunk_1 = chunk;
|
|
302
302
|
|
|
303
303
|
var NavNative = function NavNative(props) {
|
|
304
|
-
/*
|
|
305
|
-
Example Nav with acceptable props
|
|
306
|
-
<MagazineNav
|
|
307
|
-
showLogin
|
|
308
|
-
logo={props.settings.logo}
|
|
309
|
-
dataObject={props.cache.mainNavCache}
|
|
310
|
-
website={website}
|
|
311
|
-
subNav={props.cache.subNavCache}
|
|
312
|
-
/>
|
|
304
|
+
/*
|
|
305
|
+
Example Nav with acceptable props
|
|
306
|
+
<MagazineNav
|
|
307
|
+
showLogin
|
|
308
|
+
logo={props.settings.logo}
|
|
309
|
+
dataObject={props.cache.mainNavCache}
|
|
310
|
+
website={website}
|
|
311
|
+
subNav={props.cache.subNavCache}
|
|
312
|
+
/>
|
|
313
313
|
*/
|
|
314
314
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
315
315
|
var logo = props.logo,
|
|
@@ -4,7 +4,7 @@ import Button from 'react-bootstrap/Button';
|
|
|
4
4
|
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
5
|
|
|
6
6
|
var reactPaginate = createCommonjsModule(function (module, exports) {
|
|
7
|
-
!function(e,a){module.exports=a(React__default);}(commonjsGlobal,(function(e){return function(e){var a={};function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r});},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(r,n,function(a){return e[a]}.bind(null,n));return r},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=4)}([function(e,a,t){e.exports=t(2)();},function(a,t){a.exports=e;},function(e,a,t){var r=t(3);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,a,t,n,i,s){if(s!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function a(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t};},function(e,a,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},function(e,a,t){t.r(a);var r=t(1),n=t.n(r),i=t(0),s=t.n(i);function l(){return (l=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var o=function(e){var a=e.pageClassName,t=e.pageLinkClassName,r=e.page,i=e.selected,s=e.activeClassName,o=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,p=e.href,f=e.extraAriaContext,g=e.pageLabelBuilder,d=e.ariaLabel||"Page "+r+(f?" "+f:""),b=null;return i&&(b="page",d=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+s:s,void 0!==t?void 0!==o&&(t=t+" "+o):t=o),n.a.createElement("li",{className:a},n.a.createElement("a",l({role:"button",className:t,href:p,tabIndex:"0","aria-label":d,"aria-current":b,onKeyPress:c},u(c)),g(r)))};o.propTypes={pageSelectedHandler:s.a.func.isRequired,selected:s.a.bool.isRequired,pageClassName:s.a.string,pageLinkClassName:s.a.string,activeClassName:s.a.string,activeLinkClassName:s.a.string,extraAriaContext:s.a.string,href:s.a.string,ariaLabel:s.a.string,page:s.a.number.isRequired,getEventListener:s.a.func.isRequired,pageLabelBuilder:s.a.func.isRequired};var u=o;function c(){return (c=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var p=function(e){var a=e.breakLabel,t=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,s=e.getEventListener,l=t||"break";return n.a.createElement("li",{className:l},n.a.createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},s(i)),a))};p.propTypes={breakLabel:s.a.oneOfType([s.a.string,s.a.node]),breakClassName:s.a.string,breakLinkClassName:s.a.string,breakHandler:s.a.func.isRequired,getEventListener:s.a.func.isRequired};var f=p;function g(e){return (g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return (d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function b(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function v(e,a){return (v=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function m(e){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return !1}}();return function(){var t,r=C(e);if(a){var n=C(this).constructor;t=Reflect.construct(r,arguments,n);}else t=r.apply(this,arguments);return h(this,t)}}function h(e,a){return !a||"object"!==g(a)&&"function"!=typeof a?y(e):a}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return (C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var k=function(e){!function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&v(e,a);}(s,e);var a,t,i=m(s);function s(e){var a,t;return function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,s),P(y(a=i.call(this,e)),"handlePreviousPage",(function(e){var t=a.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,t>0&&a.handlePageSelected(t-1,e);})),P(y(a),"handleNextPage",(function(e){var t=a.state.selected,r=a.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,t<r-1&&a.handlePageSelected(t+1,e);})),P(y(a),"handlePageSelected",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,a.state.selected!==e?(a.setState({selected:e}),a.callCallback(e)):a.callActiveCallback(e);})),P(y(a),"getEventListener",(function(e){return P({},a.props.eventListener,e)})),P(y(a),"handleBreakClick",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1;var r=a.state.selected;a.handlePageSelected(r<e?a.getForwardJump():a.getBackwardJump(),t);})),P(y(a),"callCallback",(function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e});})),P(y(a),"callActiveCallback",(function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e});})),P(y(a),"pagination",(function(){var e=[],t=a.props,r=t.pageRangeDisplayed,i=t.pageCount,s=t.marginPagesDisplayed,l=t.breakLabel,o=t.breakClassName,u=t.breakLinkClassName,c=a.state.selected;if(i<=r)for(var p=0;p<i;p++)e.push(a.getPageElement(p));else {var g,d,b,v=r/2,m=r-v;c>i-r/2?v=r-(m=i-c):c<r/2&&(m=r-(v=c));var h=function(e){return a.getPageElement(e)};for(g=0;g<i;g++)(d=g+1)<=s||d>i-s||g>=c-v&&g<=c+m?e.push(h(g)):l&&e[e.length-1]!==b&&(b=n.a.createElement(f,{key:g,breakLabel:l,breakClassName:o,breakLinkClassName:u,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),e.push(b));}return e})),t=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,a.state={selected:t},a}return a=s,(t=[{key:"componentDidMount",value:function(){var e=this.props,a=e.initialPage,t=e.disableInitialCallback,r=e.extraAriaContext;void 0===a||t||this.callCallback(a),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead.");}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage});}},{key:"getForwardJump",value:function(){var e=this.state.selected,a=this.props,t=a.pageCount,r=e+a.pageRangeDisplayed;return r>=t?t-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var a=this.props,t=a.hrefBuilder,r=a.pageCount;if(t&&e!==this.state.selected&&e>=0&&e<r)return t(e+1)}},{key:"ariaLabelBuilder",value:function(e){var a=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var t=this.props.ariaLabelBuilder(e+1,a);return this.props.extraAriaContext&&!a&&(t=t+" "+this.props.extraAriaContext),t}}},{key:"getPageElement",value:function(e){var a=this.state.selected,t=this.props,r=t.pageClassName,i=t.pageLinkClassName,s=t.activeClassName,l=t.activeLinkClassName,o=t.extraAriaContext,c=t.pageLabelBuilder;return n.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,pageClassName:r,pageLinkClassName:i,activeClassName:s,activeLinkClassName:l,extraAriaContext:o,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props,a=e.disabledClassName,t=e.pageCount,r=e.containerClassName,i=e.previousLabel,s=e.previousClassName,l=e.previousLinkClassName,o=e.previousAriaLabel,u=e.prevRel,c=e.nextLabel,p=e.nextClassName,f=e.nextLinkClassName,g=e.nextAriaLabel,b=e.nextRel,v=this.state.selected,m=s+(0===v?" ".concat(a):""),h=p+(v===t-1?" ".concat(a):""),y=0===v?"true":"false",C=v===t-1?"true":"false";return n.a.createElement("ul",{className:r},n.a.createElement("li",{className:m},n.a.createElement("a",d({className:l,href:this.hrefBuilder(v-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":y,"aria-label":o,rel:u},this.getEventListener(this.handlePreviousPage)),i)),this.pagination(),n.a.createElement("li",{className:h},n.a.createElement("a",d({className:f,href:this.hrefBuilder(v+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":C,"aria-label":g,rel:b},this.getEventListener(this.handleNextPage)),c)))}}])&&b(a.prototype,t),s}(r.Component);P(k,"propTypes",{pageCount:s.a.number.isRequired,pageRangeDisplayed:s.a.number.isRequired,marginPagesDisplayed:s.a.number.isRequired,previousLabel:s.a.node,previousAriaLabel:s.a.string,prevRel:s.a.string,nextLabel:s.a.node,nextAriaLabel:s.a.string,nextRel:s.a.string,breakLabel:s.a.oneOfType([s.a.string,s.a.node]),hrefBuilder:s.a.func,onPageChange:s.a.func,onPageActive:s.a.func,initialPage:s.a.number,forcePage:s.a.number,disableInitialCallback:s.a.bool,containerClassName:s.a.string,pageClassName:s.a.string,pageLinkClassName:s.a.string,pageLabelBuilder:s.a.func,activeClassName:s.a.string,activeLinkClassName:s.a.string,previousClassName:s.a.string,nextClassName:s.a.string,previousLinkClassName:s.a.string,nextLinkClassName:s.a.string,disabledClassName:s.a.string,breakClassName:s.a.string,breakLinkClassName:s.a.string,extraAriaContext:s.a.string,ariaLabelBuilder:s.a.func,eventListener:s.a.string}),P(k,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick"});a.default=k;}])}));
|
|
7
|
+
!function(e,a){module.exports=a(React__default);}(commonjsGlobal,(function(e){return function(e){var a={};function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r});},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(r,n,function(a){return e[a]}.bind(null,n));return r},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=4)}([function(e,a,t){e.exports=t(2)();},function(a,t){a.exports=e;},function(e,a,t){var r=t(3);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,a,t,n,i,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function a(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t};},function(e,a,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},function(e,a,t){t.r(a);var r=t(1),n=t.n(r),i=t(0),s=t.n(i);function o(){return (o=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var l=function(e){var a=e.pageClassName,t=e.pageLinkClassName,r=e.page,i=e.selected,s=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,p=e.href,f=e.extraAriaContext,g=e.pageLabelBuilder,d=e.ariaLabel||"Page "+r+(f?" "+f:""),b=null;return i&&(b="page",d=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+s:s,void 0!==t?void 0!==l&&(t=t+" "+l):t=l),n.a.createElement("li",{className:a},n.a.createElement("a",o({role:"button",className:t,href:p,tabIndex:"0","aria-label":d,"aria-current":b,onKeyPress:c},u(c)),g(r)))};l.propTypes={pageSelectedHandler:s.a.func.isRequired,selected:s.a.bool.isRequired,pageClassName:s.a.string,pageLinkClassName:s.a.string,activeClassName:s.a.string,activeLinkClassName:s.a.string,extraAriaContext:s.a.string,href:s.a.string,ariaLabel:s.a.string,page:s.a.number.isRequired,getEventListener:s.a.func.isRequired,pageLabelBuilder:s.a.func.isRequired};var u=l;function c(){return (c=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var p=function(e){var a=e.breakLabel,t=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,s=e.getEventListener,o=t||"break";return n.a.createElement("li",{className:o},n.a.createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},s(i)),a))};p.propTypes={breakLabel:s.a.oneOfType([s.a.string,s.a.node]),breakClassName:s.a.string,breakLinkClassName:s.a.string,breakHandler:s.a.func.isRequired,getEventListener:s.a.func.isRequired};var f=p;function g(e){return (g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return (d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function b(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function v(e,a){return (v=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function m(e){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return !1}}();return function(){var t,r=C(e);if(a){var n=C(this).constructor;t=Reflect.construct(r,arguments,n);}else t=r.apply(this,arguments);return h(this,t)}}function h(e,a){if(a&&("object"===g(a)||"function"==typeof a))return a;if(void 0!==a)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return (C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var k=function(e){!function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&v(e,a);}(s,e);var a,t,i=m(s);function s(e){var a,t;return function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,s),P(y(a=i.call(this,e)),"handlePreviousPage",(function(e){var t=a.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,t>0&&a.handlePageSelected(t-1,e);})),P(y(a),"handleNextPage",(function(e){var t=a.state.selected,r=a.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,t<r-1&&a.handlePageSelected(t+1,e);})),P(y(a),"handlePageSelected",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,a.state.selected!==e?(a.setState({selected:e}),a.callCallback(e)):a.callActiveCallback(e);})),P(y(a),"getEventListener",(function(e){return P({},a.props.eventListener,e)})),P(y(a),"handleBreakClick",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1;var r=a.state.selected;a.handlePageSelected(r<e?a.getForwardJump():a.getBackwardJump(),t);})),P(y(a),"callCallback",(function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e});})),P(y(a),"callActiveCallback",(function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e});})),P(y(a),"pagination",(function(){var e=[],t=a.props,r=t.pageRangeDisplayed,i=t.pageCount,s=t.marginPagesDisplayed,o=t.breakLabel,l=t.breakClassName,u=t.breakLinkClassName,c=a.state.selected;if(i<=r)for(var p=0;p<i;p++)e.push(a.getPageElement(p));else {var g,d,b,v=r/2,m=r-v;c>i-r/2?v=r-(m=i-c):c<r/2&&(m=r-(v=c));var h=function(e){return a.getPageElement(e)};for(g=0;g<i;g++)(d=g+1)<=s||d>i-s||g>=c-v&&g<=c+m?e.push(h(g)):o&&e[e.length-1]!==b&&(b=n.a.createElement(f,{key:g,breakLabel:o,breakClassName:l,breakLinkClassName:u,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),e.push(b));}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),t=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,a.state={selected:t},a}return a=s,(t=[{key:"componentDidMount",value:function(){var e=this.props,a=e.initialPage,t=e.disableInitialCallback,r=e.extraAriaContext,n=e.pageCount;void 0===a||t||this.callCallback(a),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(n)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage}),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"getForwardJump",value:function(){var e=this.state.selected,a=this.props,t=a.pageCount,r=e+a.pageRangeDisplayed;return r>=t?t-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var a=this.props,t=a.hrefBuilder,r=a.pageCount;if(t&&e!==this.state.selected&&e>=0&&e<r)return t(e+1)}},{key:"ariaLabelBuilder",value:function(e){var a=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var t=this.props.ariaLabelBuilder(e+1,a);return this.props.extraAriaContext&&!a&&(t=t+" "+this.props.extraAriaContext),t}}},{key:"getPageElement",value:function(e){var a=this.state.selected,t=this.props,r=t.pageClassName,i=t.pageLinkClassName,s=t.activeClassName,o=t.activeLinkClassName,l=t.extraAriaContext,c=t.pageLabelBuilder;return n.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,pageClassName:r,pageLinkClassName:i,activeClassName:s,activeLinkClassName:o,extraAriaContext:l,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var a=this.props,t=a.disabledClassName,r=a.pageCount,i=a.className,s=a.containerClassName,o=a.previousLabel,l=a.previousClassName,u=a.previousLinkClassName,c=a.previousAriaLabel,p=a.prevRel,f=a.nextLabel,g=a.nextClassName,b=a.nextLinkClassName,v=a.nextAriaLabel,m=a.nextRel,h=this.state.selected,y=l+(0===h?" ".concat(t):""),C=g+(h===r-1?" ".concat(t):""),P=0===h?"true":"false",k=h===r-1?"true":"false";return n.a.createElement("ul",{className:i||s},n.a.createElement("li",{className:y},n.a.createElement("a",d({className:u,href:this.hrefBuilder(h-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":P,"aria-label":c,rel:p},this.getEventListener(this.handlePreviousPage)),o)),this.pagination(),n.a.createElement("li",{className:C},n.a.createElement("a",d({className:b,href:this.hrefBuilder(h+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":v,rel:m},this.getEventListener(this.handleNextPage)),f)))}}])&&b(a.prototype,t),s}(r.Component);P(k,"propTypes",{pageCount:s.a.number.isRequired,pageRangeDisplayed:s.a.number.isRequired,marginPagesDisplayed:s.a.number.isRequired,previousLabel:s.a.node,previousAriaLabel:s.a.string,prevRel:s.a.string,nextLabel:s.a.node,nextAriaLabel:s.a.string,nextRel:s.a.string,breakLabel:s.a.oneOfType([s.a.string,s.a.node]),hrefBuilder:s.a.func,onPageChange:s.a.func,onPageActive:s.a.func,initialPage:s.a.number,forcePage:s.a.number,disableInitialCallback:s.a.bool,containerClassName:s.a.string,className:s.a.string,pageClassName:s.a.string,pageLinkClassName:s.a.string,pageLabelBuilder:s.a.func,activeClassName:s.a.string,activeLinkClassName:s.a.string,previousClassName:s.a.string,nextClassName:s.a.string,previousLinkClassName:s.a.string,nextLinkClassName:s.a.string,disabledClassName:s.a.string,breakClassName:s.a.string,breakLinkClassName:s.a.string,extraAriaContext:s.a.string,ariaLabelBuilder:s.a.func,eventListener:s.a.string,renderOnZeroPageCount:s.a.func}),P(k,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0});a.default=k;}])}));
|
|
8
8
|
|
|
9
9
|
});
|
|
10
10
|
|
|
@@ -2,16 +2,14 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { TwitterTimelineEmbed } from '
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
5
|
+
import { I as ImageSlider, T as TwitterTimelineEmbed, F as Facebook, P as Page } from './ImageSlider-fada4f0c.js';
|
|
8
6
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
7
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
8
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
11
9
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
10
|
import Feature from './Feature.js';
|
|
13
11
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
15
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
14
|
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
17
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -20,6 +18,7 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
20
18
|
import './_library-528f1934.js';
|
|
21
19
|
import './_iter-detect-98db3b07.js';
|
|
22
20
|
import './_object-pie-133f504a.js';
|
|
21
|
+
import './defineProperty-50094484.js';
|
|
23
22
|
import 'prop-types';
|
|
24
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
25
24
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -31,9 +30,9 @@ import './index-f0fc23eb.js';
|
|
|
31
30
|
import './events-6c3a7a63.js';
|
|
32
31
|
import 'next/router';
|
|
33
32
|
import './index-755f2cc2.js';
|
|
34
|
-
import './main-
|
|
33
|
+
import './main-9f6806ea.js';
|
|
35
34
|
import './entities-6d9154b4.js';
|
|
36
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-777bb0b3.js';
|
|
37
36
|
import 'react-bootstrap/Card';
|
|
38
37
|
import './AdSlot.js';
|
|
39
38
|
import './debounce-533d9748.js';
|
|
@@ -44,14 +43,14 @@ import './stringify-2b084bee.js';
|
|
|
44
43
|
import './Segment.js';
|
|
45
44
|
import './AuthorComponent-11adff02.js';
|
|
46
45
|
import './lodash-f97fd99a.js';
|
|
47
|
-
import './ADlgInfeed-
|
|
46
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
48
47
|
import './getContentCategory-15dcc413.js';
|
|
49
48
|
import './timeDifferenceCalc.js';
|
|
50
49
|
import './index-3f5c03b2.js';
|
|
51
50
|
import 'react-bootstrap/Breadcrumb';
|
|
52
51
|
import 'react-bootstrap/Carousel';
|
|
53
52
|
import './index-c7e2ac95.js';
|
|
54
|
-
import './
|
|
53
|
+
import './empty-a8042e3c.js';
|
|
55
54
|
import './urlForFile-b69adffc.js';
|
|
56
55
|
import './typeof-e9fc0c5d.js';
|
|
57
56
|
import './_is-array-8d21b9e3.js';
|
|
@@ -59,7 +58,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
59
58
|
import 'react-bootstrap/Modal';
|
|
60
59
|
import 'react-bootstrap/Button';
|
|
61
60
|
import 'react-bootstrap/Form';
|
|
62
|
-
import '
|
|
61
|
+
import './index-e7075467.js';
|
|
63
62
|
import './GroupDeck.js';
|
|
64
63
|
import './SocialShare.js';
|
|
65
64
|
import 'next/head';
|
|
@@ -2,16 +2,14 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { TwitterTimelineEmbed } from '
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
5
|
+
import { I as ImageSlider, T as TwitterTimelineEmbed, F as Facebook, P as Page } from './ImageSlider-fada4f0c.js';
|
|
8
6
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
7
|
import './moment-bc12cb97.js';
|
|
10
8
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
11
9
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
10
|
import Feature from './Feature.js';
|
|
13
11
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
15
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
14
|
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
17
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -20,6 +18,7 @@ import './web.dom.iterable-ab4dea5c.js';
|
|
|
20
18
|
import './_library-528f1934.js';
|
|
21
19
|
import './_iter-detect-98db3b07.js';
|
|
22
20
|
import './_object-pie-133f504a.js';
|
|
21
|
+
import './defineProperty-50094484.js';
|
|
23
22
|
import 'prop-types';
|
|
24
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
25
24
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -30,9 +29,9 @@ import 'next/router';
|
|
|
30
29
|
import './index-755f2cc2.js';
|
|
31
30
|
import 'react-dom';
|
|
32
31
|
import './lodash-f97fd99a.js';
|
|
33
|
-
import './main-
|
|
32
|
+
import './main-9f6806ea.js';
|
|
34
33
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-777bb0b3.js';
|
|
36
35
|
import 'react-bootstrap/Card';
|
|
37
36
|
import './AdSlot.js';
|
|
38
37
|
import './debounce-533d9748.js';
|
|
@@ -42,10 +41,10 @@ import './Beam.js';
|
|
|
42
41
|
import './stringify-2b084bee.js';
|
|
43
42
|
import './Segment.js';
|
|
44
43
|
import './AuthorComponent-11adff02.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
46
45
|
import './getContentCategory-15dcc413.js';
|
|
47
46
|
import './timeDifferenceCalc.js';
|
|
48
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-9fe9f61d.js';
|
|
49
48
|
import 'react-bootstrap/Button';
|
|
50
49
|
import './index.esm-1bd8a0a8.js';
|
|
51
50
|
import './iconBase-ccc56b97.js';
|
|
@@ -53,14 +52,14 @@ import './index-3f5c03b2.js';
|
|
|
53
52
|
import 'react-bootstrap/Breadcrumb';
|
|
54
53
|
import 'react-bootstrap/Carousel';
|
|
55
54
|
import './index-c7e2ac95.js';
|
|
56
|
-
import './
|
|
55
|
+
import './empty-a8042e3c.js';
|
|
57
56
|
import './urlForFile-b69adffc.js';
|
|
58
57
|
import './typeof-e9fc0c5d.js';
|
|
59
58
|
import './_is-array-8d21b9e3.js';
|
|
60
59
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
61
60
|
import 'react-bootstrap/Modal';
|
|
62
61
|
import 'react-bootstrap/Form';
|
|
63
|
-
import '
|
|
62
|
+
import './index-e7075467.js';
|
|
64
63
|
import './GroupDeck.js';
|
|
65
64
|
import './SocialShare.js';
|
|
66
65
|
import 'next/head';
|
|
@@ -99,10 +98,6 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
99
98
|
page = _ref.page,
|
|
100
99
|
needLargePaginateButtons = _ref.needLargePaginateButtons;
|
|
101
100
|
|
|
102
|
-
|
|
103
|
-
var description = partnerDetails && partnerDetails.description ? partnerDetails.description.filter(function (block) {
|
|
104
|
-
return block._type !== 'slideshows' ? block : null;
|
|
105
|
-
}) : null;
|
|
106
101
|
return React__default.createElement(
|
|
107
102
|
React__default.Fragment,
|
|
108
103
|
null,
|
|
@@ -154,11 +149,11 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
154
149
|
{ jsx: 'true' },
|
|
155
150
|
'\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
|
|
156
151
|
),
|
|
157
|
-
(partnerDetails.description || partnerDetails.linkedin || partnerDetails.
|
|
152
|
+
(partnerDetails.description || partnerDetails.linkedin || partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(
|
|
158
153
|
'div',
|
|
159
154
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
160
|
-
partnerDetails.description && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
161
|
-
(partnerDetails.linkedin || partnerDetails.
|
|
155
|
+
partnerDetails.description && React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
156
|
+
(partnerDetails.linkedin || partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(
|
|
162
157
|
'div',
|
|
163
158
|
null,
|
|
164
159
|
React__default.createElement(
|
|
@@ -173,25 +168,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
173
168
|
rel: checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : 'noopener noreferrer',
|
|
174
169
|
style: { height: 30, width: 30 }
|
|
175
170
|
}),
|
|
176
|
-
partnerDetails.
|
|
177
|
-
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
178
|
-
target: '_blank',
|
|
179
|
-
rel: checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? '' : 'noopener noreferrer',
|
|
180
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
181
|
-
}),
|
|
182
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
183
|
-
url: partnerDetails.youtube,
|
|
184
|
-
target: '_blank',
|
|
185
|
-
rel: checkSisterSite(partnerDetails.youtube) ? '' : 'noopener noreferrer',
|
|
186
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
187
|
-
}),
|
|
188
|
-
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
189
|
-
url: partnerDetails.twitter,
|
|
190
|
-
target: '_blank',
|
|
191
|
-
rel: checkSisterSite(partnerDetails.twitter) ? '' : 'noopener noreferrer',
|
|
192
|
-
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
193
|
-
}),
|
|
194
|
-
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
171
|
+
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
195
172
|
url: partnerDetails.facebook,
|
|
196
173
|
target: '_blank',
|
|
197
174
|
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
@@ -218,7 +195,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
218
195
|
(partnerDetails.twitter || partnerDetails.facebook && !checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(
|
|
219
196
|
'div',
|
|
220
197
|
{ className: 'mb-5', style: { width: '100%', maxWidth: '100%', textAlign: 'center', padding: '15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
221
|
-
partnerDetails.twitter
|
|
198
|
+
partnerDetails.twitter ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
222
199
|
Facebook,
|
|
223
200
|
{ appId: ' ' },
|
|
224
201
|
React__default.createElement(Page, { href: partnerDetails.facebook, rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer', tabs: 'timeline', width: '500', height: '500' })
|
|
@@ -272,14 +249,14 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
272
249
|
switch (_context.prev = _context.next) {
|
|
273
250
|
case 0:
|
|
274
251
|
featureQuery = '*[_type == \'feature\' && is_active == true && feature_url == \'/' + partnerPageUrl + '/' + (category ? category + '/' : null) + identifier + '\'] | order(_updatedAt asc)[0..5]{\n ...,\n \'feature_img\' : feature_img.asset->\n }';
|
|
275
|
-
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n pixelTrackingCode->,\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n
|
|
252
|
+
partnerQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && identifier.current == \'' + identifier + '\'] | order(name asc) [0] {\n pixelTrackingCode->,\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n }';
|
|
276
253
|
|
|
277
254
|
|
|
278
255
|
if (category) {
|
|
279
256
|
// if partners page has a sub category such as onclive
|
|
280
257
|
// e.g. /sap-partner/[category]/[partner]
|
|
281
258
|
|
|
282
|
-
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n pixelTrackingCode->,\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n
|
|
259
|
+
partnerQuery = '*[_type == \'documentGroup\' && !(_id in path("drafts.**")) && identifier.current == \'' + category + '\' && references(\'' + partnerDocumentGroupID + '\')] [0] {\n ...,\n \'partner\': *[_type == \'documentGroup\' && identifier.current == \'' + identifier + '\' && references(^._id)] [0] {\n pixelTrackingCode->,\n description,\n name,\n identifier,\n thumbnail{ ..., asset-> },\n twitter,\n facebook,\n linkedin,\n "affiliates": description[_type==\'slideshows\']{\n ...,\n slides->{...}\n }\n \n }\n }';
|
|
283
260
|
}
|
|
284
261
|
|
|
285
262
|
taxonomyQuery = '*[_type == \'documentGroup\' \n && !(_id in path("drafts.**"))\n && references(\'' + partnerDocumentGroupID + '\')\n && isShow != false\n && identifier.current == \'' + identifier + '\'] [0] {\n \'id\': _id,\n \'title\': name\n }';
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -22,9 +22,9 @@ import './events-6c3a7a63.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
25
|
+
import './main-9f6806ea.js';
|
|
26
26
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-777bb0b3.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -35,7 +35,7 @@ import './stringify-2b084bee.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './AuthorComponent-11adff02.js';
|
|
37
37
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
39
39
|
import './getContentCategory-15dcc413.js';
|
|
40
40
|
import './timeDifferenceCalc.js';
|
|
41
41
|
|
|
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
|
|
|
376
376
|
|
|
377
377
|
var _Set = unwrapExports(set);
|
|
378
378
|
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
379
|
+
/* usage & query
|
|
380
|
+
const Publication = (props) => {
|
|
381
|
+
const { cache, pub, year } = props
|
|
382
|
+
const targeting = {
|
|
383
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
+
}
|
|
386
|
+
return (
|
|
387
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
+
</Shell>
|
|
390
|
+
)
|
|
391
|
+
}
|
|
392
|
+
Publication.getInitialProps = async (ctx) => {
|
|
393
|
+
const { query } = ctx
|
|
394
|
+
const {
|
|
395
|
+
query: { year },
|
|
396
|
+
} = ctx
|
|
397
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
+
**import urlFor from framework**
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
export default Publication
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
407
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -10,12 +10,12 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
10
10
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-
|
|
13
|
+
import { m as main_43 } from './main-9f6806ea.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-777bb0b3.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-e7fd1bb6.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|