@mjhls/mjh-framework 1.0.773 → 1.0.774-mp4-test
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 +169 -169
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +16 -16
- package/dist/cjs/AD300x250x600.js +16 -16
- package/dist/cjs/AD728x90.js +17 -17
- package/dist/cjs/ADFloatingFooter.js +15 -15
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +15 -15
- package/dist/cjs/{ADInfeed-d1eceaf2.js → ADInfeed-38240eb1.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +15 -15
- package/dist/cjs/ADSponsoredResources.js +15 -15
- package/dist/cjs/ADWebcast.js +15 -15
- package/dist/cjs/ADWelcome.js +15 -15
- package/dist/cjs/{ADlgInfeed-24c693d8.js → ADlgInfeed-795bcf35.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -5
- package/dist/cjs/AdSlot.js +17 -17
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +11 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -25
- package/dist/cjs/ArticleSeriesLandingPage.js +25 -25
- package/dist/cjs/ArticleSeriesListing.js +17 -17
- package/dist/cjs/Auth.js +207 -469
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/CMEDeck.js +15 -15
- package/dist/cjs/Column2.js +12 -12
- package/dist/cjs/Column3.js +21 -21
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +32 -32
- package/dist/cjs/DeckQueue.js +21 -21
- package/dist/cjs/{Dfp-a17e00fa.js → Dfp-b63b5e5f.js} +8 -8
- package/dist/cjs/EventsDeck.js +36 -36
- package/dist/cjs/ExternalResources.js +26 -26
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +7 -7
- package/dist/cjs/GridContent.js +31 -31
- package/dist/cjs/GridHero.js +7 -7
- package/dist/cjs/GroupDeck.js +9 -9
- package/dist/cjs/HamMagazine.js +22 -22
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +25 -25
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +7 -7
- package/dist/cjs/IssueDeck.js +10 -10
- package/dist/cjs/IssueLanding.js +50 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +15 -15
- package/dist/cjs/MasterDeck.js +33 -33
- package/dist/cjs/MediaSeriesLanding.js +14 -14
- package/dist/cjs/NavDvm.js +8 -8
- package/dist/cjs/NavMagazine.js +22 -22
- package/dist/cjs/NavNative.js +27 -27
- package/dist/cjs/NavNormal.js +8 -8
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +7 -7
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +29 -29
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/PublicationLanding.js +61 -57
- package/dist/cjs/QueueDeckExpanded.js +23 -23
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +12 -12
- package/dist/cjs/{SeriesSlider-193a2958.js → SeriesSlider-30d7bdb3.js} +12 -12
- package/dist/cjs/SideFooter.js +14 -14
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-31afe61f.js} +6 -6
- package/dist/cjs/TaxonomyCard.js +5 -5
- package/dist/cjs/TaxonomyDescription.js +25 -25
- package/dist/cjs/TemplateNormal.js +20 -20
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +7 -7
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +25 -25
- package/dist/cjs/VideoSeriesCard.js +8 -8
- package/dist/cjs/VideoSeriesFilter.js +8 -8
- package/dist/cjs/VideoSeriesLandingPage.js +25 -25
- package/dist/cjs/VideoSeriesListing.js +17 -17
- package/dist/cjs/View.js +39 -39
- package/dist/cjs/YahooHero.js +7 -7
- package/dist/cjs/YoutubeGroup.js +19 -19
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-6128bd56.js} +1 -1
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-bec5fcf2.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-9f96b3af.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-6de10e57.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-6d1a113d.js} +27 -27
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-c2573ffd.js} +5 -5
- package/dist/cjs/{extends-1e24fc8d.js → extends-9d158713.js} +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +12 -10
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +25 -25
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-3cdc6e1d.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- package/dist/cjs/{index-4d74ffd6.js → index-f86bb269.js} +4 -4
- package/dist/cjs/{index-9475e5ae.js → index-f8ee817a.js} +202 -191
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/{inherits-2eb23889.js → inherits-3ff1b657.js} +19 -19
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-f0783643.js} +57 -9
- package/dist/cjs/{main-dc082238.js → main-025fdc78.js} +184 -109
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-97065d40.js → typeof-88a668c5.js} +34 -34
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-46657b5c.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +16 -16
- package/dist/esm/AD300x250x600.js +16 -16
- package/dist/esm/AD728x90.js +17 -17
- package/dist/esm/ADFloatingFooter.js +15 -15
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +15 -15
- package/dist/esm/{ADInfeed-c12cd1ce.js → ADInfeed-de396be9.js} +1 -1
- package/dist/esm/ADSkyscraper.js +15 -15
- package/dist/esm/ADSponsoredResources.js +15 -15
- package/dist/esm/ADWebcast.js +15 -15
- package/dist/esm/ADWelcome.js +15 -15
- package/dist/esm/{ADlgInfeed-246a8787.js → ADlgInfeed-a6f8b5fa.js} +1 -1
- package/dist/esm/AccordionPanel.js +5 -5
- package/dist/esm/AdSlot.js +17 -17
- package/dist/esm/AdSlotsProvider.js +11 -11
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +25 -25
- package/dist/esm/ArticleSeriesLandingPage.js +25 -25
- package/dist/esm/ArticleSeriesListing.js +17 -17
- package/dist/esm/Auth.js +208 -470
- package/dist/esm/{AuthorComponent-c7ff069f.js → AuthorComponent-5ae7409f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-52cf21c5.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +15 -15
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +21 -21
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +32 -32
- package/dist/esm/DeckQueue.js +21 -21
- package/dist/esm/{Dfp-988dbcaa.js → Dfp-723aab19.js} +8 -8
- package/dist/esm/EventsDeck.js +36 -36
- package/dist/esm/ExternalResources.js +26 -26
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +7 -7
- package/dist/esm/GridContent.js +31 -31
- package/dist/esm/GridHero.js +7 -7
- package/dist/esm/GroupDeck.js +9 -9
- package/dist/esm/HamMagazine.js +22 -22
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +25 -25
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +7 -7
- package/dist/esm/IssueDeck.js +10 -10
- package/dist/esm/IssueLanding.js +50 -50
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +15 -15
- package/dist/esm/MasterDeck.js +33 -33
- package/dist/esm/MediaSeriesLanding.js +14 -14
- package/dist/esm/NavDvm.js +8 -8
- package/dist/esm/NavMagazine.js +22 -22
- package/dist/esm/NavNative.js +27 -27
- package/dist/esm/NavNormal.js +8 -8
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +7 -7
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +29 -29
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PubSection.js +21 -21
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/PublicationLanding.js +61 -57
- package/dist/esm/QueueDeckExpanded.js +23 -23
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +12 -12
- package/dist/esm/{SeriesSlider-6a1081ff.js → SeriesSlider-2e52c7b3.js} +12 -12
- package/dist/esm/SideFooter.js +14 -14
- package/dist/esm/{SocialSearchComponent-c3216d1a.js → SocialSearchComponent-116b1d5d.js} +6 -6
- package/dist/esm/TaxonomyCard.js +5 -5
- package/dist/esm/TaxonomyDescription.js +25 -25
- package/dist/esm/TemplateNormal.js +20 -20
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +7 -7
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +25 -25
- package/dist/esm/VideoSeriesCard.js +8 -8
- package/dist/esm/VideoSeriesFilter.js +8 -8
- package/dist/esm/VideoSeriesLandingPage.js +25 -25
- package/dist/esm/VideoSeriesListing.js +17 -17
- package/dist/esm/View.js +39 -39
- package/dist/esm/YahooHero.js +7 -7
- package/dist/esm/YoutubeGroup.js +19 -19
- package/dist/esm/{_is-array-674f71ec.js → _is-array-3e99e06e.js} +1 -1
- package/dist/esm/{_iter-detect-48516cd3.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-fd3054d0.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-8f409e54.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_set-species-494ed292.js → _set-species-807b5286.js} +4 -4
- package/dist/esm/{_to-object-97770c52.js → _to-object-b50e61c3.js} +4 -4
- package/dist/esm/{asyncToGenerator-2bd4099a.js → asyncToGenerator-207adf34.js} +27 -27
- package/dist/esm/{core.get-iterator-method-d1d5ed02.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-ec6d528d.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-ea516b15.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-aa6068a3.js → es6.string.iterator-bc33758b.js} +5 -5
- package/dist/esm/{extends-31d65aba.js → extends-f076879e.js} +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +12 -10
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-2d402d66.js → getTargeting-9e21a02f.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-ccb770c7.js → index-79cfd25c.js} +4 -4
- package/dist/esm/{index-da6ed052.js → index-7dab87c6.js} +202 -191
- package/dist/esm/index.js +37 -37
- package/dist/esm/{inherits-5906fbea.js → inherits-f71787cf.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-a0b0c7a4.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ad27652f.js → lodash-f97fd99a.js} +57 -9
- package/dist/esm/{main-1450d277.js → main-b5c5aac1.js} +178 -103
- package/dist/esm/{slicedToArray-cdeaee08.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/{toConsumableArray-fa2dcda7.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-e9cea9e8.js → typeof-a286cf0c.js} +34 -34
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{web.dom.iterable-035980f3.js → web.dom.iterable-4109ff68.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/keys-95c064c9.js +0 -25
- package/dist/cjs/stringify-01cf47f7.js +0 -17
- package/dist/esm/stringify-d4839bab.js +0 -15
package/dist/esm/PageFilter.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
2
|
import React, { useState, useEffect, useRef } from 'react';
|
|
3
3
|
import { Dropdown } from 'react-bootstrap';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './web.dom.iterable-
|
|
6
|
-
import './es6.string.iterator-
|
|
7
|
-
import './_to-object-
|
|
8
|
-
import './core.get-iterator-method-
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
9
|
|
|
10
10
|
var PageFilter = function PageFilter(props) {
|
|
11
11
|
var getParams = props.getParams,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
4
4
|
import React, { useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
6
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
7
7
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
11
|
import Feature from './Feature.js';
|
|
12
12
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
14
|
-
import { B as BlockContent } from './BlockContent-
|
|
13
|
+
import { g as getSerializers } from './index-7dab87c6.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
15
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
|
-
import './es6.string.iterator-
|
|
17
|
-
import './_to-object-
|
|
18
|
-
import './web.dom.iterable-
|
|
16
|
+
import './es6.string.iterator-bc33758b.js';
|
|
17
|
+
import './_to-object-b50e61c3.js';
|
|
18
|
+
import './web.dom.iterable-4109ff68.js';
|
|
19
19
|
import './_library-528f1934.js';
|
|
20
|
-
import './core.get-iterator-method-
|
|
21
|
-
import './_set-species-
|
|
22
|
-
import './_iter-detect-
|
|
23
|
-
import './_object-pie-
|
|
24
|
-
import './toConsumableArray-
|
|
20
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
21
|
+
import './_set-species-807b5286.js';
|
|
22
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
23
|
+
import './_object-pie-133f504a.js';
|
|
24
|
+
import './toConsumableArray-6d9a4616.js';
|
|
25
25
|
import 'react-bootstrap';
|
|
26
26
|
import './index.es-c6222053.js';
|
|
27
27
|
import './visibility-sensor-082c757b.js';
|
|
@@ -30,41 +30,41 @@ import './index-888f9253.js';
|
|
|
30
30
|
import 'prop-types';
|
|
31
31
|
import 'next/router';
|
|
32
32
|
import './index-752d1dae.js';
|
|
33
|
-
import './main-
|
|
33
|
+
import './main-b5c5aac1.js';
|
|
34
34
|
import './entities-932b50cf.js';
|
|
35
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-de396be9.js';
|
|
36
36
|
import 'react-bootstrap/Card';
|
|
37
37
|
import './AdSlot.js';
|
|
38
|
-
import './debounce-
|
|
39
|
-
import './isSymbol-
|
|
40
|
-
import './toNumber-
|
|
38
|
+
import './debounce-533d9748.js';
|
|
39
|
+
import './isSymbol-a7e9aafe.js';
|
|
40
|
+
import './toNumber-5aeba6e7.js';
|
|
41
41
|
import './Beam.js';
|
|
42
|
-
import './stringify-
|
|
42
|
+
import './stringify-59c8f690.js';
|
|
43
43
|
import './Segment.js';
|
|
44
|
-
import './AuthorComponent-
|
|
45
|
-
import './lodash-
|
|
46
|
-
import './ADlgInfeed-
|
|
44
|
+
import './AuthorComponent-5ae7409f.js';
|
|
45
|
+
import './lodash-f97fd99a.js';
|
|
46
|
+
import './ADlgInfeed-a6f8b5fa.js';
|
|
47
47
|
import './getContentCategory-15dcc413.js';
|
|
48
48
|
import './timeDifferenceCalc.js';
|
|
49
49
|
import 'react-bootstrap/Breadcrumb';
|
|
50
50
|
import 'react-bootstrap/Carousel';
|
|
51
51
|
import './index-c7e2ac95.js';
|
|
52
52
|
import './util-3ab476bf.js';
|
|
53
|
-
import './typeof-
|
|
54
|
-
import './_is-array-
|
|
53
|
+
import './typeof-a286cf0c.js';
|
|
54
|
+
import './_is-array-3e99e06e.js';
|
|
55
55
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
56
56
|
import './GroupDeck.js';
|
|
57
57
|
import './SocialShare.js';
|
|
58
58
|
import 'next/head';
|
|
59
59
|
import 'react-share';
|
|
60
|
-
import './_object-to-array-
|
|
60
|
+
import './_object-to-array-0f197f89.js';
|
|
61
61
|
import 'react-bootstrap/Pagination';
|
|
62
62
|
import 'react-bootstrap/Button';
|
|
63
63
|
import 'react-bootstrap/Row';
|
|
64
64
|
import 'react-bootstrap/Col';
|
|
65
|
-
import './inherits-
|
|
66
|
-
import './_object-sap-
|
|
67
|
-
import './define-property-
|
|
65
|
+
import './inherits-f71787cf.js';
|
|
66
|
+
import './_object-sap-f353c2a9.js';
|
|
67
|
+
import './define-property-fe54dc9f.js';
|
|
68
68
|
import './index.esm-3fdda599.js';
|
|
69
69
|
import './iconBase-602d52fe.js';
|
|
70
70
|
import 'react-bootstrap/Figure';
|
package/dist/esm/PopUpModal.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
import Modal from 'react-bootstrap/Modal';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './web.dom.iterable-
|
|
6
|
-
import './es6.string.iterator-
|
|
7
|
-
import './_to-object-
|
|
8
|
-
import './core.get-iterator-method-
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
6
|
+
import './es6.string.iterator-bc33758b.js';
|
|
7
|
+
import './_to-object-b50e61c3.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
9
|
|
|
10
10
|
var PopUpModal = function PopUpModal(props) {
|
|
11
11
|
var _ref = props.ModalImage ? useState(true) : useState(false),
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './es6.string.iterator-
|
|
8
|
-
import './_to-object-
|
|
9
|
-
import './web.dom.iterable-
|
|
7
|
+
import './es6.string.iterator-bc33758b.js';
|
|
8
|
+
import './_to-object-b50e61c3.js';
|
|
9
|
+
import './web.dom.iterable-4109ff68.js';
|
|
10
10
|
import './_library-528f1934.js';
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './_set-species-
|
|
13
|
-
import './_iter-detect-
|
|
14
|
-
import './_object-pie-
|
|
15
|
-
import './toConsumableArray-
|
|
11
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './_set-species-807b5286.js';
|
|
13
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
14
|
+
import './_object-pie-133f504a.js';
|
|
15
|
+
import './toConsumableArray-6d9a4616.js';
|
|
16
16
|
import 'react-bootstrap';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-0dbff1d1.js';
|
|
18
18
|
import './index.es-c6222053.js';
|
|
19
19
|
import './moment-bc12cb97.js';
|
|
20
20
|
import './visibility-sensor-082c757b.js';
|
|
@@ -23,20 +23,20 @@ import './index-888f9253.js';
|
|
|
23
23
|
import 'prop-types';
|
|
24
24
|
import 'next/router';
|
|
25
25
|
import './index-752d1dae.js';
|
|
26
|
-
import './main-
|
|
26
|
+
import './main-b5c5aac1.js';
|
|
27
27
|
import './entities-932b50cf.js';
|
|
28
|
-
import './ADInfeed-
|
|
28
|
+
import './ADInfeed-de396be9.js';
|
|
29
29
|
import 'react-bootstrap/Card';
|
|
30
30
|
import './AdSlot.js';
|
|
31
|
-
import './debounce-
|
|
32
|
-
import './isSymbol-
|
|
33
|
-
import './toNumber-
|
|
31
|
+
import './debounce-533d9748.js';
|
|
32
|
+
import './isSymbol-a7e9aafe.js';
|
|
33
|
+
import './toNumber-5aeba6e7.js';
|
|
34
34
|
import './Beam.js';
|
|
35
|
-
import './stringify-
|
|
35
|
+
import './stringify-59c8f690.js';
|
|
36
36
|
import './Segment.js';
|
|
37
|
-
import './AuthorComponent-
|
|
38
|
-
import './lodash-
|
|
39
|
-
import './ADlgInfeed-
|
|
37
|
+
import './AuthorComponent-5ae7409f.js';
|
|
38
|
+
import './lodash-f97fd99a.js';
|
|
39
|
+
import './ADlgInfeed-a6f8b5fa.js';
|
|
40
40
|
import './getContentCategory-15dcc413.js';
|
|
41
41
|
import './timeDifferenceCalc.js';
|
|
42
42
|
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-207adf34.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
-
import './es6.string.iterator-
|
|
6
|
-
import './_to-object-
|
|
7
|
-
import './web.dom.iterable-
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
8
8
|
import './_library-528f1934.js';
|
|
9
|
-
import './core.get-iterator-method-
|
|
10
|
-
import './_set-species-
|
|
11
|
-
import './_iter-detect-
|
|
9
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import './_set-species-807b5286.js';
|
|
11
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
12
12
|
|
|
13
13
|
var _this = undefined;
|
|
14
14
|
|
|
@@ -4,8 +4,8 @@ import Col from 'react-bootstrap/Col';
|
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import Card from 'react-bootstrap/Card';
|
|
6
6
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
|
-
import { i as imageUrlBuilder } from './index-
|
|
8
|
-
import { l as lodash } from './lodash-
|
|
7
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
8
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import 'prop-types';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import { _ as _objectCreate, a as _iterDefine, b as _wks, c as _setToStringTag } from './es6.string.iterator-
|
|
4
|
-
import { _ as _iterStep } from './web.dom.iterable-
|
|
5
|
-
import { b as _isObject, c as _ctx, d as _descriptors, e as _objectDp, f as _toObject, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, _ as _export, l as _aFunction, a as _core } from './_to-object-
|
|
6
|
-
import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './_set-species-
|
|
7
|
-
import { _ as _meta, a as _isArray } from './_is-array-
|
|
8
|
-
import { _ as _classof } from './core.get-iterator-method-
|
|
9
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
3
|
+
import { _ as _objectCreate, a as _iterDefine, b as _wks, c as _setToStringTag } from './es6.string.iterator-bc33758b.js';
|
|
4
|
+
import { _ as _iterStep } from './web.dom.iterable-4109ff68.js';
|
|
5
|
+
import { b as _isObject, c as _ctx, d as _descriptors, e as _objectDp, f as _toObject, g as _iobject, h as _toLength, i as _global, j as _fails, k as _hide, _ as _export, l as _aFunction, a as _core } from './_to-object-b50e61c3.js';
|
|
6
|
+
import { _ as _anInstance, a as _forOf, b as _redefineAll, c as _setSpecies } from './_set-species-807b5286.js';
|
|
7
|
+
import { _ as _meta, a as _isArray } from './_is-array-3e99e06e.js';
|
|
8
|
+
import { _ as _classof } from './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
10
10
|
import React, { useState, useEffect } from 'react';
|
|
11
11
|
import Row from 'react-bootstrap/Row';
|
|
12
12
|
import Col from 'react-bootstrap/Col';
|
|
@@ -14,7 +14,7 @@ import Dropdown from 'react-bootstrap/Dropdown';
|
|
|
14
14
|
import Card from 'react-bootstrap/Card';
|
|
15
15
|
import { useRouter } from 'next/router';
|
|
16
16
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
17
|
-
import './_iter-detect-
|
|
17
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
|
|
@@ -23,7 +23,7 @@ var _validateCollection = function (it, TYPE) {
|
|
|
23
23
|
return it;
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
var dP = _objectDp.f;
|
|
26
|
+
var dP$1 = _objectDp.f;
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
@@ -106,7 +106,7 @@ var _collectionStrong = {
|
|
|
106
106
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
109
|
+
if (_descriptors) dP$1(C.prototype, 'size', {
|
|
110
110
|
get: function () {
|
|
111
111
|
return _validateCollection(this, NAME)[SIZE];
|
|
112
112
|
}
|
|
@@ -234,7 +234,7 @@ var _arrayMethods = function (TYPE, $create) {
|
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var dP
|
|
237
|
+
var dP = _objectDp.f;
|
|
238
238
|
var each = _arrayMethods(0);
|
|
239
239
|
|
|
240
240
|
|
|
@@ -266,7 +266,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
266
266
|
return IS_ADDER ? this : result;
|
|
267
267
|
});
|
|
268
268
|
});
|
|
269
|
-
IS_WEAK || dP
|
|
269
|
+
IS_WEAK || dP(C.prototype, 'size', {
|
|
270
270
|
get: function () {
|
|
271
271
|
return this._c.size;
|
|
272
272
|
}
|
|
@@ -362,47 +362,47 @@ var _setCollectionFrom = function (COLLECTION) {
|
|
|
362
362
|
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
|
|
363
363
|
_setCollectionFrom('Set');
|
|
364
364
|
|
|
365
|
-
var set = _core.Set;
|
|
365
|
+
var set$1 = _core.Set;
|
|
366
366
|
|
|
367
|
-
var set
|
|
368
|
-
module.exports = { "default": set, __esModule: true };
|
|
367
|
+
var set = createCommonjsModule(function (module) {
|
|
368
|
+
module.exports = { "default": set$1, __esModule: true };
|
|
369
369
|
});
|
|
370
370
|
|
|
371
|
-
var _Set = unwrapExports(set
|
|
372
|
-
|
|
373
|
-
/* usage & query
|
|
374
|
-
const Publication = (props) => {
|
|
375
|
-
const { cache, pub, year } = props
|
|
376
|
-
|
|
377
|
-
const targeting = {
|
|
378
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
379
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
return (
|
|
383
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
384
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
385
|
-
</Shell>
|
|
386
|
-
)
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
Publication.getInitialProps = async (ctx) => {
|
|
390
|
-
const { query } = ctx
|
|
391
|
-
const {
|
|
392
|
-
query: { year },
|
|
393
|
-
} = ctx
|
|
394
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
-
const builder = imageUrlBuilder(client)
|
|
396
|
-
const urlFor = (source) => {
|
|
397
|
-
return builder.image(source)
|
|
398
|
-
}
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor(issue.thumbnail).url()
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
export default Publication
|
|
371
|
+
var _Set = unwrapExports(set);
|
|
372
|
+
|
|
373
|
+
/* usage & query
|
|
374
|
+
const Publication = (props) => {
|
|
375
|
+
const { cache, pub, year } = props
|
|
376
|
+
|
|
377
|
+
const targeting = {
|
|
378
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
379
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
return (
|
|
383
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
384
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
385
|
+
</Shell>
|
|
386
|
+
)
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
Publication.getInitialProps = async (ctx) => {
|
|
390
|
+
const { query } = ctx
|
|
391
|
+
const {
|
|
392
|
+
query: { year },
|
|
393
|
+
} = ctx
|
|
394
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
+
const builder = imageUrlBuilder(client)
|
|
396
|
+
const urlFor = (source) => {
|
|
397
|
+
return builder.image(source)
|
|
398
|
+
}
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor(issue.thumbnail).url()
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export default Publication
|
|
406
406
|
*/
|
|
407
407
|
|
|
408
408
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -603,15 +603,19 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
603
603
|
React.createElement('br', null),
|
|
604
604
|
'Issue: ',
|
|
605
605
|
issue.number
|
|
606
|
-
)
|
|
607
|
-
|
|
606
|
+
)
|
|
607
|
+
),
|
|
608
|
+
React.createElement(
|
|
609
|
+
Card.Footer,
|
|
610
|
+
null,
|
|
611
|
+
issue.articlesCount && issue.articlesCount > 0 ? React.createElement(
|
|
608
612
|
'a',
|
|
609
|
-
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary'
|
|
613
|
+
{ href: publication.identifier.current + '/' + issue.identifier.current, className: 'btn btn-primary' },
|
|
610
614
|
'View Issue'
|
|
611
|
-
),
|
|
615
|
+
) : null,
|
|
612
616
|
issue.pdf && issue.pdf.asset && issue.pdf.asset.url && React.createElement(
|
|
613
617
|
'a',
|
|
614
|
-
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary'
|
|
618
|
+
{ rel: 'noopener', href: issue.pdf.asset.url, target: '_blank', className: 'btn btn-primary' },
|
|
615
619
|
'Download Issue'
|
|
616
620
|
)
|
|
617
621
|
)
|
|
@@ -634,7 +638,7 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
634
638
|
React.createElement(
|
|
635
639
|
'style',
|
|
636
640
|
{ jsx: 'true' },
|
|
637
|
-
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: inline;\n width: 100%;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .dropdown-toggle {\n min-width: 5rem;\n }\n .dropdown-toggle:empty:after {\n margin-left: 4rem;\n }\n '
|
|
641
|
+
'\n .issueCard.card:hover {\n cursor: default;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n display: inline;\n width: 100%;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .dropdown-toggle {\n min-width: 5rem;\n }\n .dropdown-toggle:empty:after {\n margin-left: 4rem;\n }\n .card-footer {\n background-color: transparent;\n border-top: 0;\n }\n .card-footer a:not(:first-child) {\n margin-left: 1rem;\n }\n '
|
|
638
642
|
)
|
|
639
643
|
);
|
|
640
644
|
};
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
2
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
4
4
|
import React, { useEffect, useState, useRef } from 'react';
|
|
5
5
|
import { Container, Media } from 'react-bootstrap';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-
|
|
6
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
10
10
|
import { l as lib_3 } from './index-888f9253.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
13
|
-
import { m as
|
|
13
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
16
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
17
|
-
import { l as lodash } from './lodash-
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-de396be9.js';
|
|
16
|
+
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
17
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-a6f8b5fa.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './web.dom.iterable-
|
|
23
|
-
import './es6.string.iterator-
|
|
24
|
-
import './_to-object-
|
|
25
|
-
import './core.get-iterator-method-
|
|
26
|
-
import './_iter-detect-
|
|
27
|
-
import './_object-pie-
|
|
22
|
+
import './web.dom.iterable-4109ff68.js';
|
|
23
|
+
import './es6.string.iterator-bc33758b.js';
|
|
24
|
+
import './_to-object-b50e61c3.js';
|
|
25
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
26
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
27
|
+
import './_object-pie-133f504a.js';
|
|
28
28
|
import 'react-dom';
|
|
29
29
|
import 'prop-types';
|
|
30
30
|
import 'react-bootstrap/Card';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import './debounce-
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './toNumber-
|
|
32
|
+
import './debounce-533d9748.js';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
35
|
import './Beam.js';
|
|
36
|
-
import './stringify-
|
|
37
|
-
import './asyncToGenerator-
|
|
36
|
+
import './stringify-59c8f690.js';
|
|
37
|
+
import './asyncToGenerator-207adf34.js';
|
|
38
38
|
import './_library-528f1934.js';
|
|
39
|
-
import './_set-species-
|
|
39
|
+
import './_set-species-807b5286.js';
|
|
40
40
|
import './Segment.js';
|
|
41
41
|
|
|
42
42
|
var urlFor = function urlFor(source, builder) {
|
|
@@ -764,7 +764,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
764
764
|
React.createElement(
|
|
765
765
|
'div',
|
|
766
766
|
null,
|
|
767
|
-
|
|
767
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
768
768
|
)
|
|
769
769
|
)
|
|
770
770
|
);
|
|
@@ -1270,7 +1270,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1270
1270
|
React.createElement(
|
|
1271
1271
|
'div',
|
|
1272
1272
|
null,
|
|
1273
|
-
|
|
1273
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1274
1274
|
)
|
|
1275
1275
|
)
|
|
1276
1276
|
);
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
4
|
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
5
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
6
|
import './iconBase-602d52fe.js';
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import 'react-bootstrap/Media';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
4
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
5
5
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import 'react-dom';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
|
|
10
|
-
/*
|
|
11
|
-
Sample query
|
|
12
|
-
let references = ''
|
|
13
|
-
if(article.taxonomyMapping.length > 0){
|
|
14
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
15
|
-
references = references + `references('${ref._ref}') `
|
|
16
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
17
|
-
references = references + ` && `
|
|
18
|
-
}
|
|
19
|
-
})
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
23
|
-
...,
|
|
24
|
-
title,
|
|
25
|
-
summary,
|
|
26
|
-
thumbnail,
|
|
27
|
-
url,
|
|
28
|
-
published,
|
|
29
|
-
authorMapping[]->,
|
|
30
|
-
contentCategory->
|
|
31
|
-
}`
|
|
32
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
33
|
-
|
|
34
|
-
Sample usage
|
|
35
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
36
|
-
|
|
37
|
-
|
|
10
|
+
/*
|
|
11
|
+
Sample query
|
|
12
|
+
let references = ''
|
|
13
|
+
if(article.taxonomyMapping.length > 0){
|
|
14
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
15
|
+
references = references + `references('${ref._ref}') `
|
|
16
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
17
|
+
references = references + ` && `
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
23
|
+
...,
|
|
24
|
+
title,
|
|
25
|
+
summary,
|
|
26
|
+
thumbnail,
|
|
27
|
+
url,
|
|
28
|
+
published,
|
|
29
|
+
authorMapping[]->,
|
|
30
|
+
contentCategory->
|
|
31
|
+
}`
|
|
32
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
33
|
+
|
|
34
|
+
Sample usage
|
|
35
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
36
|
+
|
|
37
|
+
|
|
38
38
|
*/
|
|
39
39
|
var RelatedContent = function RelatedContent(props) {
|
|
40
40
|
var client = props.client,
|
|
@@ -14,16 +14,16 @@ var RelatedTopicsDropdown = function RelatedTopicsDropdown(_ref) {
|
|
|
14
14
|
_ref$className = _ref.className,
|
|
15
15
|
className = _ref$className === undefined ? '' : _ref$className;
|
|
16
16
|
|
|
17
|
-
/*
|
|
18
|
-
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
-
example:
|
|
20
|
-
<RelatedTopicDropdown
|
|
21
|
-
page='/clinical'
|
|
22
|
-
exclude="clinical"
|
|
23
|
-
className='mb-3'
|
|
24
|
-
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
-
subTaxonomies={props.subTaxonomies}
|
|
26
|
-
/>
|
|
17
|
+
/*
|
|
18
|
+
Props accepted - parentTaxonomy(required, object), subTaxonomy(required, array), page(optional), exclude(optional), variant(optional), className(optional)
|
|
19
|
+
example:
|
|
20
|
+
<RelatedTopicDropdown
|
|
21
|
+
page='/clinical'
|
|
22
|
+
exclude="clinical"
|
|
23
|
+
className='mb-3'
|
|
24
|
+
parentTaxonomy={props.parentTaxonomy}
|
|
25
|
+
subTaxonomies={props.subTaxonomies}
|
|
26
|
+
/>
|
|
27
27
|
*/
|
|
28
28
|
if (subTaxonomies.length === 0 && parentTaxonomy) {
|
|
29
29
|
if (parentTaxonomy.identifier == exclude) {
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
import Form from 'react-bootstrap/Form';
|
|
4
4
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
5
|
import Button from 'react-bootstrap/Button';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './_to-object-
|
|
10
|
-
import './core.get-iterator-method-
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
8
|
+
import './es6.string.iterator-bc33758b.js';
|
|
9
|
+
import './_to-object-b50e61c3.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
11
|
|
|
12
12
|
var Search = function Search(props) {
|
|
13
13
|
var _props$placeholder = props.placeholder,
|