@mjhls/mjh-framework 1.0.819 → 1.0.820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-98f6bd26.js → ADInfeed-8b336c67.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -22
- package/dist/cjs/ADSponsoredResources.js +23 -22
- package/dist/cjs/ADWebcast.js +23 -22
- package/dist/cjs/ADWelcome.js +20 -19
- package/dist/cjs/{ADlgInfeed-6055cb1b.js → ADlgInfeed-aedd5e18.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -23
- package/dist/cjs/AdSlotsProvider.js +14 -13
- package/dist/cjs/AlgoliaSearch.js +14114 -32
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +18 -17
- package/dist/cjs/ArticleProgramLandingPage.js +49 -47
- package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
- package/dist/cjs/ArticleSeriesListing.js +34 -32
- package/dist/cjs/Auth.js +519 -348
- package/dist/cjs/AuthWrapper.js +19 -19
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-c21aac7f.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +25 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -32
- package/dist/cjs/ConferenceArticleCard.js +10 -15
- package/dist/cjs/DeckContent.js +41 -46
- package/dist/cjs/DeckQueue.js +37 -43
- package/dist/cjs/{Dfp-82f75e49.js → Dfp-93399f8c.js} +15 -14
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +48 -46
- package/dist/cjs/Feature.js +8 -12
- package/dist/cjs/ForbesHero.js +21 -23
- package/dist/cjs/GridContent.js +64 -69
- package/dist/cjs/GridHero.js +20 -29
- package/dist/cjs/GroupDeck.js +16 -20
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +5 -16
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -44
- package/dist/cjs/HorizontalHero.js +8 -9
- package/dist/cjs/IssueContentDeck.js +21 -38
- package/dist/cjs/IssueDeck.js +25 -27
- package/dist/cjs/IssueLanding.js +55 -53
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +35 -34
- package/dist/cjs/MediaSeriesLanding.js +606 -695
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +30 -30
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/NavNormal.js +14 -14
- package/dist/cjs/OncliveHero.js +8 -9
- package/dist/cjs/OncliveLargeHero.js +31 -32
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +60 -63
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +35 -33
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +16 -18
- package/dist/cjs/PublicationLanding.js +30 -33
- package/dist/cjs/QueueDeckExpanded.js +103 -101
- package/dist/cjs/RecentNews.js +4 -7
- package/dist/cjs/RelatedContent.js +11 -14
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +21 -19
- package/dist/cjs/{SeriesSlider-b79e7df9.js → SeriesSlider-d54fa925.js} +11 -16
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-560a666e.js → SocialSearchComponent-ecb4f972.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +18 -21
- package/dist/cjs/TaxonomyDescription.js +46 -44
- package/dist/cjs/TemplateNormal.js +48 -47
- package/dist/cjs/ThumbnailCard.js +10 -14
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +5 -9
- package/dist/cjs/VideoProgramLandingPage.js +52 -50
- package/dist/cjs/VideoSeriesCard.js +18 -17
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +39 -37
- package/dist/cjs/VideoSeriesListing.js +35 -33
- package/dist/cjs/View.js +97 -97
- package/dist/cjs/YahooHero.js +23 -25
- package/dist/cjs/YoutubeGroup.js +24 -28
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.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-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-4ba0d3d5.js → brightcove-react-player-loader.es-a195642e.js} +5 -4
- package/dist/cjs/{core.get-iterator-method-f62321d4.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-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -43
- package/dist/cjs/{getTargeting-ea2ea5e7.js → getTargeting-be6168ad.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-35099a60.js → index-179d21a3.js} +203 -247
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
- package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
- package/dist/cjs/{index-5be2866f.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-e08f00ce.js → index-fc2f1ca2.js} +5 -470
- package/dist/cjs/{index.es-13533f24.js → index.es-f3e47207.js} +20 -4
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/index.js +138 -151
- package/dist/cjs/{inherits-0c7830c5.js → inherits-c2065b95.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-7fd85bcf.js → lodash-f0783643.js} +58 -10
- package/dist/cjs/{main-11ec04d2.js → main-025fdc78.js} +240 -161
- package/dist/cjs/{moment-66a6a284.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-9d7f610f.js → typeof-88a668c5.js} +35 -35
- package/dist/cjs/urlFor.js +35 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +24 -23
- package/dist/esm/AD300x250x600.js +24 -23
- package/dist/esm/AD728x90.js +27 -26
- package/dist/esm/ADFloatingFooter.js +23 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -22
- package/dist/esm/{ADInfeed-ba59666b.js → ADInfeed-28b1e946.js} +4 -4
- package/dist/esm/ADSkyscraper.js +23 -22
- package/dist/esm/ADSponsoredResources.js +23 -22
- package/dist/esm/ADWebcast.js +23 -22
- package/dist/esm/ADWelcome.js +20 -19
- package/dist/esm/{ADlgInfeed-995322a1.js → ADlgInfeed-0b474b02.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -23
- package/dist/esm/AdSlotsProvider.js +14 -13
- package/dist/esm/AlgoliaSearch.js +14108 -26
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +18 -17
- package/dist/esm/ArticleProgramLandingPage.js +49 -47
- package/dist/esm/ArticleSeriesLandingPage.js +33 -32
- package/dist/esm/ArticleSeriesListing.js +34 -32
- package/dist/esm/Auth.js +519 -348
- package/dist/esm/AuthWrapper.js +19 -19
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-5ae7409f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-52cf21c5.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +25 -24
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +33 -32
- package/dist/esm/ConferenceArticleCard.js +10 -15
- package/dist/esm/DeckContent.js +39 -44
- package/dist/esm/DeckQueue.js +35 -41
- package/dist/esm/{Dfp-cde02d85.js → Dfp-43f121ff.js} +15 -14
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +48 -46
- package/dist/esm/Feature.js +8 -12
- package/dist/esm/ForbesHero.js +16 -18
- package/dist/esm/GridContent.js +51 -56
- package/dist/esm/GridHero.js +15 -24
- package/dist/esm/GroupDeck.js +16 -20
- package/dist/esm/HamMagazine.js +27 -27
- package/dist/esm/Hero.js +5 -16
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +46 -44
- package/dist/esm/HorizontalHero.js +8 -9
- package/dist/esm/IssueContentDeck.js +21 -38
- package/dist/esm/IssueDeck.js +24 -26
- package/dist/esm/IssueLanding.js +55 -53
- package/dist/esm/LeftNav.js +22 -21
- package/dist/esm/MasterDeck.js +35 -34
- package/dist/esm/MediaSeriesLanding.js +328 -417
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +30 -30
- package/dist/esm/NavNative.js +30 -30
- package/dist/esm/NavNormal.js +14 -14
- package/dist/esm/OncliveHero.js +8 -9
- package/dist/esm/OncliveLargeHero.js +19 -20
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +60 -63
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +35 -33
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +15 -17
- package/dist/esm/PublicationLanding.js +29 -32
- package/dist/esm/QueueDeckExpanded.js +58 -56
- package/dist/esm/RecentNews.js +4 -7
- package/dist/esm/RelatedContent.js +8 -11
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +21 -19
- package/dist/esm/{SeriesSlider-1fa61a74.js → SeriesSlider-8f2aca58.js} +11 -16
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-82ac7d6d.js → SocialSearchComponent-cd38ae60.js} +9 -9
- package/dist/esm/TaxonomyCard.js +16 -19
- package/dist/esm/TaxonomyDescription.js +46 -44
- package/dist/esm/TemplateNormal.js +48 -47
- package/dist/esm/ThumbnailCard.js +8 -12
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +5 -9
- package/dist/esm/VideoProgramLandingPage.js +51 -49
- package/dist/esm/VideoSeriesCard.js +15 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +39 -37
- package/dist/esm/VideoSeriesListing.js +35 -33
- package/dist/esm/View.js +96 -96
- package/dist/esm/YahooHero.js +19 -21
- package/dist/esm/YoutubeGroup.js +24 -28
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.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-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-e1c6b0f2.js → brightcove-react-player-loader.es-b43c695a.js} +5 -4
- package/dist/esm/{core.get-iterator-method-e1de7503.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-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -43
- package/dist/esm/{getTargeting-831bc794.js → getTargeting-68291ce9.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-acfb8079.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
- package/dist/esm/{index-e887f3d1.js → index-5cc7293b.js} +179 -223
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-d2f90501.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index.es-7dda2f0a.js → index.es-c6222053.js} +20 -4
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
- package/dist/esm/index.js +119 -131
- package/dist/esm/{inherits-75d45541.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
- package/dist/esm/{main-aef58dbc.js → main-b5c5aac1.js} +235 -156
- package/dist/esm/{moment-12415288.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-91f9716f.js} +16 -16
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-af9c50d8.js → typeof-a286cf0c.js} +35 -35
- package/dist/esm/urlFor.js +35 -3
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/PubSection.js
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
7
|
+
import './es6.string.iterator-bc33758b.js';
|
|
8
|
+
import './_to-object-b50e61c3.js';
|
|
9
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
10
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import
|
|
10
|
-
import './
|
|
11
|
-
import
|
|
12
|
-
import './index-
|
|
11
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
12
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
13
|
+
import './_object-pie-133f504a.js';
|
|
14
|
+
import './toConsumableArray-6d9a4616.js';
|
|
15
|
+
import 'react-bootstrap';
|
|
16
|
+
import './urlFor.js';
|
|
17
|
+
import './index-0dbff1d1.js';
|
|
18
|
+
import './index.es-c6222053.js';
|
|
19
|
+
import './moment-bc12cb97.js';
|
|
20
|
+
import './visibility-sensor-f40c2564.js';
|
|
21
|
+
import 'react-dom';
|
|
22
|
+
import './index-2446af28.js';
|
|
23
|
+
import './events-6c3a7a63.js';
|
|
13
24
|
import 'prop-types';
|
|
14
|
-
import 'react-bootstrap/Card';
|
|
15
|
-
import './moment-12415288.js';
|
|
16
25
|
import 'next/router';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import 'react-
|
|
22
|
-
import './visibility-sensor-f40c2564.js';
|
|
23
|
-
import './index-51a80699.js';
|
|
24
|
-
import './index-6c12bdd5.js';
|
|
25
|
-
import './main-aef58dbc.js';
|
|
26
|
-
import './entities-7cc3bf45.js';
|
|
27
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
28
|
-
import './stringify-4330ccdc.js';
|
|
29
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
30
|
-
import './Segment.js';
|
|
31
|
-
import './Beam.js';
|
|
26
|
+
import './index-35bdcc81.js';
|
|
27
|
+
import './main-b5c5aac1.js';
|
|
28
|
+
import './entities-932b50cf.js';
|
|
29
|
+
import './ADInfeed-28b1e946.js';
|
|
30
|
+
import 'react-bootstrap/Card';
|
|
32
31
|
import './AdSlot.js';
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import './
|
|
32
|
+
import './debounce-533d9748.js';
|
|
33
|
+
import './isSymbol-a7e9aafe.js';
|
|
34
|
+
import './toNumber-5aeba6e7.js';
|
|
35
|
+
import './Beam.js';
|
|
36
|
+
import './stringify-59c8f690.js';
|
|
37
|
+
import './Segment.js';
|
|
38
|
+
import './AuthorComponent-5ae7409f.js';
|
|
39
|
+
import './lodash-f97fd99a.js';
|
|
40
|
+
import './ADlgInfeed-0b474b02.js';
|
|
36
41
|
import './getContentCategory-15dcc413.js';
|
|
37
|
-
import './AuthorComponent-8ffd4679.js';
|
|
38
|
-
import 'react-bootstrap';
|
|
39
42
|
import './timeDifferenceCalc.js';
|
|
40
|
-
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
41
43
|
|
|
42
44
|
var _this = undefined;
|
|
43
45
|
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
+
import React from 'react';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
8
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import React from 'react';
|
|
9
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
10
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
9
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
11
11
|
|
|
12
12
|
var _this = undefined;
|
|
13
13
|
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import 'prop-types';
|
|
4
2
|
import Row from 'react-bootstrap/Row';
|
|
5
3
|
import Col from 'react-bootstrap/Col';
|
|
4
|
+
import Button from 'react-bootstrap/Button';
|
|
6
5
|
import Card from 'react-bootstrap/Card';
|
|
6
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
|
+
import urlFor from './urlFor.js';
|
|
8
|
+
import { l as lodash } from './lodash-f97fd99a.js';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
10
|
import 'react-dom';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
11
|
-
import Button from 'react-bootstrap/Button';
|
|
11
|
+
import 'prop-types';
|
|
12
|
+
import './index-0dbff1d1.js';
|
|
12
13
|
|
|
13
14
|
var PublicationDeck = function PublicationDeck(props) {
|
|
14
15
|
var data = props.data,
|
|
15
|
-
imageHeight = props.imageHeight,
|
|
16
|
-
|
|
16
|
+
_props$imageHeight = props.imageHeight,
|
|
17
|
+
imageHeight = _props$imageHeight === undefined ? null : _props$imageHeight,
|
|
18
|
+
_props$imageWidth = props.imageWidth,
|
|
19
|
+
imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
|
|
20
|
+
_props$imageFit = props.imageFit,
|
|
21
|
+
imageFit = _props$imageFit === undefined ? null : _props$imageFit,
|
|
17
22
|
href = props.href,
|
|
18
23
|
website = props.website,
|
|
19
24
|
client = props.client;
|
|
@@ -33,17 +38,10 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
33
38
|
return o.childIssue && o.childIssue.year ? o.childIssue.year : null;
|
|
34
39
|
}]);
|
|
35
40
|
|
|
36
|
-
var urlFor = function urlFor(source) {
|
|
37
|
-
var builder = imageUrlBuilder(client);
|
|
38
|
-
return builder.image(source).auto('format');
|
|
39
|
-
};
|
|
40
|
-
|
|
41
41
|
var renderCardImage = function renderCardImage(thumbnail) {
|
|
42
42
|
if (thumbnail && thumbnail.asset) {
|
|
43
|
-
var url = urlFor(thumbnail);
|
|
44
|
-
|
|
45
|
-
if (imageWidth) url = url.width(imageWidth);
|
|
46
|
-
return url.url();
|
|
43
|
+
var url = urlFor({ client: client, source: thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageFit: imageFit });
|
|
44
|
+
return url;
|
|
47
45
|
} else {
|
|
48
46
|
return website.logo;
|
|
49
47
|
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
+
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
1
4
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import { _ as
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import { _ as
|
|
7
|
-
import { _ as
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
-
import { _ as _iterStep } from './web.dom.iterable-4439f05a.js';
|
|
11
|
-
import { _ as _meta, a as _isArray } from './_is-array-58e95429.js';
|
|
5
|
+
import { _ as _objectCreate, a as _iterDefine, b as _wks, c as _setToStringTag } from './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import { _ as _iterStep } from './web.dom.iterable-4109ff68.js';
|
|
7
|
+
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';
|
|
8
|
+
import { _ as _meta, a as _isArray } from './_is-array-3e99e06e.js';
|
|
9
|
+
import { _ as _classof } from './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
12
11
|
import React, { useState, useEffect } from 'react';
|
|
13
|
-
import 'prop-types';
|
|
14
12
|
import Row from 'react-bootstrap/Row';
|
|
15
13
|
import Col from 'react-bootstrap/Col';
|
|
14
|
+
import Dropdown from 'react-bootstrap/Dropdown';
|
|
16
15
|
import Card from 'react-bootstrap/Card';
|
|
17
16
|
import { useRouter } from 'next/router';
|
|
17
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
18
|
+
import './_library-528f1934.js';
|
|
19
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
20
|
+
import './_object-pie-133f504a.js';
|
|
18
21
|
import 'react-dom';
|
|
19
|
-
import
|
|
20
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
21
|
-
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-fc1c2e29.js';
|
|
22
|
-
import Dropdown from 'react-bootstrap/Dropdown';
|
|
22
|
+
import 'prop-types';
|
|
23
23
|
|
|
24
24
|
var _validateCollection = function (it, TYPE) {
|
|
25
25
|
if (!_isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
|
|
26
26
|
return it;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
var dP = _objectDp.f;
|
|
29
|
+
var dP$1 = _objectDp.f;
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -109,7 +109,7 @@ var _collectionStrong = {
|
|
|
109
109
|
return !!getEntry(_validateCollection(this, NAME), key);
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
|
-
if (_descriptors) dP(C.prototype, 'size', {
|
|
112
|
+
if (_descriptors) dP$1(C.prototype, 'size', {
|
|
113
113
|
get: function () {
|
|
114
114
|
return _validateCollection(this, NAME)[SIZE];
|
|
115
115
|
}
|
|
@@ -237,7 +237,7 @@ var _arrayMethods = function (TYPE, $create) {
|
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
var dP
|
|
240
|
+
var dP = _objectDp.f;
|
|
241
241
|
var each = _arrayMethods(0);
|
|
242
242
|
|
|
243
243
|
|
|
@@ -269,7 +269,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
269
269
|
return IS_ADDER ? this : result;
|
|
270
270
|
});
|
|
271
271
|
});
|
|
272
|
-
IS_WEAK || dP
|
|
272
|
+
IS_WEAK || dP(C.prototype, 'size', {
|
|
273
273
|
get: function () {
|
|
274
274
|
return this._c.size;
|
|
275
275
|
}
|
|
@@ -289,7 +289,7 @@ var _collection = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
|
|
|
289
289
|
var SET = 'Set';
|
|
290
290
|
|
|
291
291
|
// 23.2 Set Objects
|
|
292
|
-
|
|
292
|
+
_collection(SET, function (get) {
|
|
293
293
|
return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
|
|
294
294
|
}, {
|
|
295
295
|
// 23.2.3.1 Set.prototype.add(value)
|
|
@@ -365,13 +365,13 @@ var _setCollectionFrom = function (COLLECTION) {
|
|
|
365
365
|
// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from
|
|
366
366
|
_setCollectionFrom('Set');
|
|
367
367
|
|
|
368
|
-
var set = _core.Set;
|
|
368
|
+
var set$1 = _core.Set;
|
|
369
369
|
|
|
370
|
-
var set
|
|
371
|
-
module.exports = { "default": set, __esModule: true };
|
|
370
|
+
var set = createCommonjsModule(function (module) {
|
|
371
|
+
module.exports = { "default": set$1, __esModule: true };
|
|
372
372
|
});
|
|
373
373
|
|
|
374
|
-
var _Set = unwrapExports(set
|
|
374
|
+
var _Set = unwrapExports(set);
|
|
375
375
|
|
|
376
376
|
/* usage & query
|
|
377
377
|
const Publication = (props) => {
|
|
@@ -392,12 +392,9 @@ Publication.getInitialProps = async (ctx) => {
|
|
|
392
392
|
query: { year },
|
|
393
393
|
} = ctx
|
|
394
394
|
const pub = await client.fetch(getQuery('publication'), query)
|
|
395
|
-
|
|
396
|
-
const urlFor = (source) => {
|
|
397
|
-
return builder.image(source)
|
|
398
|
-
}
|
|
395
|
+
**import urlFor from framework**
|
|
399
396
|
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor(issue.thumbnail)
|
|
397
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
398
|
})
|
|
402
399
|
return { pub, year }
|
|
403
400
|
}
|
|
@@ -424,9 +421,9 @@ var PublicationLanding = function PublicationLanding(props) {
|
|
|
424
421
|
var publication = props.publication,
|
|
425
422
|
_props$year = props.year,
|
|
426
423
|
year = _props$year === undefined ? '' : _props$year,
|
|
427
|
-
href = props.href
|
|
428
|
-
|
|
429
|
-
_props$contentPlaceme = props.contentPlacement,
|
|
424
|
+
href = props.href;
|
|
425
|
+
props.pdf;
|
|
426
|
+
var _props$contentPlaceme = props.contentPlacement,
|
|
430
427
|
contentPlacement = _props$contentPlaceme === undefined ? '' : _props$contentPlaceme,
|
|
431
428
|
client = props.client;
|
|
432
429
|
|
|
@@ -1,52 +1,54 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
|
-
import './web.dom.iterable-4439f05a.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
11
4
|
import React, { useEffect, useState, useRef } from 'react';
|
|
12
|
-
import {
|
|
13
|
-
import '
|
|
14
|
-
import '
|
|
15
|
-
import { m as moment } from './moment-
|
|
16
|
-
import { useRouter } from 'next/router';
|
|
17
|
-
import './isSymbol-1981418f.js';
|
|
18
|
-
import './debounce-9207d8ee.js';
|
|
19
|
-
import './toNumber-2f7a84cd.js';
|
|
20
|
-
import { I as InfiniteScroll } from './index.es-7dda2f0a.js';
|
|
21
|
-
import 'react-dom';
|
|
5
|
+
import { Container, Media } from 'react-bootstrap';
|
|
6
|
+
import urlFor from './urlFor.js';
|
|
7
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
22
9
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import './
|
|
29
|
-
import './
|
|
30
|
-
import './
|
|
31
|
-
import './
|
|
32
|
-
import './AdSlot.js';
|
|
33
|
-
import { A as ADInfeed } from './ADInfeed-ba59666b.js';
|
|
34
|
-
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
35
|
-
import { A as ADlgInfeed } from './ADlgInfeed-995322a1.js';
|
|
10
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
11
|
+
import { useRouter } from 'next/router';
|
|
12
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
13
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
14
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-28b1e946.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-0b474b02.js';
|
|
36
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
37
|
-
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
38
|
-
import { Container, Media } from 'react-bootstrap';
|
|
39
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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
|
+
import './index-0dbff1d1.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
31
|
+
import 'prop-types';
|
|
32
|
+
import 'react-bootstrap/Card';
|
|
33
|
+
import './AdSlot.js';
|
|
34
|
+
import './debounce-533d9748.js';
|
|
35
|
+
import './isSymbol-a7e9aafe.js';
|
|
36
|
+
import './toNumber-5aeba6e7.js';
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import './stringify-59c8f690.js';
|
|
39
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
40
|
+
import './_library-528f1934.js';
|
|
41
|
+
import './Segment.js';
|
|
40
42
|
|
|
41
|
-
var
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
var renderCardImage = function renderCardImage(row, client) {
|
|
44
|
+
var imageHeight = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
45
|
+
var imageWidth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
|
46
|
+
var imageMaxHeight = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
|
|
47
|
+
var imageFit = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
|
|
44
48
|
|
|
45
|
-
var
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
if (imageWidth) url = url.width(imageWidth);
|
|
49
|
-
return url.url();
|
|
49
|
+
var url = urlFor({ client: client, source: row.thumbnail, imageHeight: imageHeight, imageWidth: imageWidth, imageMaxHeight: imageMaxHeight, imageFit: imageFit });
|
|
50
|
+
|
|
51
|
+
return url;
|
|
50
52
|
};
|
|
51
53
|
|
|
52
54
|
var loadMore = function loadMore(values, setValues, per) {
|
|
@@ -151,7 +153,7 @@ var checkExternalUrl = function checkExternalUrl(url) {
|
|
|
151
153
|
return new RegExp(['http', 'https'].join('|')).test(url);
|
|
152
154
|
};
|
|
153
155
|
|
|
154
|
-
var cardLoader = function cardLoader(data,
|
|
156
|
+
var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro) {
|
|
155
157
|
var numberOfItemsBeforeAd = 6;
|
|
156
158
|
var insertBrandInsightAd = function insertBrandInsightAd(arr, index, newElement) {
|
|
157
159
|
return [].concat(_toConsumableArray(arr.slice(0, index)), [newElement], _toConsumableArray(arr.slice(index)));
|
|
@@ -286,7 +288,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
286
288
|
React.createElement(
|
|
287
289
|
LazyLoad,
|
|
288
290
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
289
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article,
|
|
291
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
290
292
|
),
|
|
291
293
|
article.source && React.createElement(
|
|
292
294
|
'div',
|
|
@@ -446,7 +448,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
446
448
|
React.createElement(
|
|
447
449
|
LazyLoad,
|
|
448
450
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
449
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article,
|
|
451
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
450
452
|
),
|
|
451
453
|
article.source && React.createElement(
|
|
452
454
|
'div',
|
|
@@ -622,7 +624,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
622
624
|
React.createElement(
|
|
623
625
|
LazyLoad,
|
|
624
626
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
625
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article,
|
|
627
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
626
628
|
),
|
|
627
629
|
article.source && React.createElement(
|
|
628
630
|
'div',
|
|
@@ -763,7 +765,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
763
765
|
React.createElement(
|
|
764
766
|
'div',
|
|
765
767
|
null,
|
|
766
|
-
|
|
768
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
767
769
|
)
|
|
768
770
|
)
|
|
769
771
|
);
|
|
@@ -803,7 +805,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
803
805
|
React.createElement(
|
|
804
806
|
LazyLoad,
|
|
805
807
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
806
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article,
|
|
808
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
807
809
|
),
|
|
808
810
|
article.source && React.createElement(
|
|
809
811
|
'div',
|
|
@@ -963,7 +965,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
963
965
|
React.createElement(
|
|
964
966
|
LazyLoad,
|
|
965
967
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
966
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article,
|
|
968
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
967
969
|
),
|
|
968
970
|
article.source && React.createElement(
|
|
969
971
|
'div',
|
|
@@ -1128,7 +1130,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1128
1130
|
React.createElement(
|
|
1129
1131
|
LazyLoad,
|
|
1130
1132
|
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
1131
|
-
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article,
|
|
1133
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
1132
1134
|
),
|
|
1133
1135
|
article.source && React.createElement(
|
|
1134
1136
|
'div',
|
|
@@ -1269,7 +1271,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1269
1271
|
React.createElement(
|
|
1270
1272
|
'div',
|
|
1271
1273
|
null,
|
|
1272
|
-
|
|
1274
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1273
1275
|
)
|
|
1274
1276
|
)
|
|
1275
1277
|
);
|
|
@@ -1355,6 +1357,8 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1355
1357
|
showCategory = props.showCategory,
|
|
1356
1358
|
imageHeight = props.imageHeight,
|
|
1357
1359
|
imageWidth = props.imageWidth,
|
|
1360
|
+
imageMaxHeight = props.imageMaxHeight,
|
|
1361
|
+
imageFit = props.imageFit,
|
|
1358
1362
|
rightItems = props.rightItems,
|
|
1359
1363
|
brandInsightAd = props.brandInsightAd,
|
|
1360
1364
|
_props$showBI = props.showBI,
|
|
@@ -1376,8 +1380,6 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1376
1380
|
var initialCurrentPage = props.currentPage,
|
|
1377
1381
|
showPublished = props.showPublished;
|
|
1378
1382
|
|
|
1379
|
-
var builder = imageUrlBuilder(client);
|
|
1380
|
-
|
|
1381
1383
|
var _useState3 = useState(initialData),
|
|
1382
1384
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
1383
1385
|
data = _useState4[0],
|
|
@@ -1489,7 +1491,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1489
1491
|
React.createElement(
|
|
1490
1492
|
Container,
|
|
1491
1493
|
null,
|
|
1492
|
-
cardLoader(data,
|
|
1494
|
+
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1493
1495
|
)
|
|
1494
1496
|
),
|
|
1495
1497
|
React.createElement(
|
|
@@ -1503,7 +1505,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1503
1505
|
React.createElement(
|
|
1504
1506
|
Container,
|
|
1505
1507
|
null,
|
|
1506
|
-
cardLoader(data,
|
|
1508
|
+
cardLoader(data, client, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, imageMaxHeight, imageFit, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping, showTimeDiff, showTaxonomies, showIntro)
|
|
1507
1509
|
),
|
|
1508
1510
|
React.createElement(
|
|
1509
1511
|
'div',
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import './moment-12415288.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
|
-
import './iconBase-602d52fe.js';
|
|
6
2
|
import { a as FaLongArrowAltRight } from './index.esm-a8ff922c.js';
|
|
3
|
+
import './iconBase-602d52fe.js';
|
|
7
4
|
|
|
8
5
|
var RecentNews = function RecentNews(_ref) {
|
|
9
|
-
|
|
10
|
-
_ref$dataRecord = _ref.dataRecord,
|
|
6
|
+
_ref.client;
|
|
7
|
+
var _ref$dataRecord = _ref.dataRecord,
|
|
11
8
|
dataRecord = _ref$dataRecord === undefined ? [] : _ref$dataRecord,
|
|
12
9
|
_ref$linkTo = _ref.linkTo,
|
|
13
10
|
linkTo = _ref$linkTo === undefined ? '/news' : _ref$linkTo,
|
|
@@ -18,7 +15,7 @@ var RecentNews = function RecentNews(_ref) {
|
|
|
18
15
|
_ref$linkTitle = _ref.linkTitle,
|
|
19
16
|
linkTitle = _ref$linkTitle === undefined ? 'View More ' : _ref$linkTitle;
|
|
20
17
|
|
|
21
|
-
|
|
18
|
+
|
|
22
19
|
var topArticle = dataRecord[0];
|
|
23
20
|
var subArticles = dataRecord.slice(1, dataRecord.length);
|
|
24
21
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
1
|
import React from 'react';
|
|
3
|
-
import '
|
|
4
|
-
import { m as moment } from './moment-12415288.js';
|
|
5
|
-
import 'react-dom';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
7
|
-
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
8
3
|
import 'react-bootstrap/Media';
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './index-0dbff1d1.js';
|
|
8
|
+
import 'react-dom';
|
|
9
|
+
import 'prop-types';
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
12
|
Sample query
|
|
@@ -42,10 +43,6 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
42
43
|
_props$defaultImage = props.defaultImage,
|
|
43
44
|
defaultImage = _props$defaultImage === undefined ? '' : _props$defaultImage;
|
|
44
45
|
|
|
45
|
-
var builder = imageUrlBuilder(client);
|
|
46
|
-
function urlFor(source) {
|
|
47
|
-
return builder.image(source);
|
|
48
|
-
}
|
|
49
46
|
|
|
50
47
|
return React.createElement(
|
|
51
48
|
'div',
|
|
@@ -69,7 +66,7 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
69
66
|
LazyLoad,
|
|
70
67
|
{ once: true },
|
|
71
68
|
React.createElement('img', {
|
|
72
|
-
src: article.thumbnail ? urlFor(article.thumbnail.asset
|
|
69
|
+
src: article.thumbnail ? urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 }) : defaultImage,
|
|
73
70
|
alt: article.title
|
|
74
71
|
})
|
|
75
72
|
)
|
package/dist/esm/Search.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
-
import './web.dom.iterable-4439f05a.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
6
2
|
import React, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
|
-
import Button from 'react-bootstrap/Button';
|
|
9
3
|
import Form from 'react-bootstrap/Form';
|
|
10
4
|
import FormControl from 'react-bootstrap/FormControl';
|
|
5
|
+
import Button from 'react-bootstrap/Button';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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,
|
package/dist/esm/Segment.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
3
|
+
import './es6.string.iterator-bc33758b.js';
|
|
4
|
+
import './_to-object-b50e61c3.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
6
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
7
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
8
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
9
9
|
|
|
10
10
|
require("babel-polyfill");
|
|
11
11
|
|