@mjhls/mjh-framework 1.0.836-deck-pagination-v1 → 1.0.836
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 +1 -1
- package/dist/cjs/AD300x250.js +24 -24
- package/dist/cjs/AD300x250x600.js +24 -24
- package/dist/cjs/AD728x90.js +27 -27
- package/dist/cjs/ADFloatingFooter.js +23 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -23
- package/dist/cjs/{ADInfeed-0158bee3.js → ADInfeed-8b336c67.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -23
- package/dist/cjs/ADSponsoredResources.js +23 -23
- package/dist/cjs/ADWebcast.js +23 -23
- package/dist/cjs/ADWelcome.js +20 -20
- package/dist/cjs/{ADlgInfeed-3583144f.js → ADlgInfeed-aedd5e18.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +24 -24
- package/dist/cjs/AdSlotsProvider.js +13 -13
- package/dist/cjs/AlgoliaSearch.js +508 -500
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -31
- package/dist/cjs/ArticleSeriesListing.js +33 -33
- package/dist/cjs/Auth.js +484 -348
- package/dist/cjs/AuthWrapper.js +201 -240
- 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 +24 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -33
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +42 -42
- package/dist/cjs/DeckQueue.js +33 -33
- package/dist/cjs/{Dfp-391fd124.js → Dfp-93399f8c.js} +15 -15
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +47 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +36 -36
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +4 -4
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +84 -84
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -22
- package/dist/cjs/MasterDeck.js +41 -41
- package/dist/cjs/MediaSeriesLanding.js +509 -465
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +40 -40
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +57 -57
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +38 -38
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +20 -20
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-cbab9f0f.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-ecb4f972.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +47 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -37
- package/dist/cjs/VideoSeriesListing.js +35 -37
- package/dist/cjs/View.js +91 -92
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- 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/{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/{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 +135 -71
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-15ad167c.js → getTargeting-be6168ad.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-1a3ac358.js → index-393c5040.js} +159 -159
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- 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-6367b7bf.js → index-f86bb269.js} +35 -35
- package/dist/cjs/{index-2cf30c83.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/index.js +137 -137
- 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-7b5e57b0.js → main-025fdc78.js} +234 -159
- package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
- 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 +1 -1
- 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 -24
- package/dist/esm/AD300x250x600.js +24 -24
- package/dist/esm/AD728x90.js +27 -27
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-427022e9.js → ADInfeed-28b1e946.js} +4 -4
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-28d3f944.js → ADlgInfeed-0b474b02.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +24 -24
- package/dist/esm/AdSlotsProvider.js +13 -13
- package/dist/esm/AlgoliaSearch.js +507 -499
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +50 -50
- package/dist/esm/ArticleSeriesLandingPage.js +31 -31
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +484 -348
- package/dist/esm/AuthWrapper.js +201 -240
- 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 +24 -24
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +33 -33
- package/dist/esm/ConferenceArticleCard.js +22 -22
- package/dist/esm/DeckContent.js +42 -42
- package/dist/esm/DeckQueue.js +33 -33
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-43f121ff.js} +15 -15
- package/dist/esm/EventsDeck.js +43 -43
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +47 -47
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +36 -36
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +4 -4
- package/dist/esm/IssueContentDeck.js +13 -13
- package/dist/esm/IssueDeck.js +15 -15
- package/dist/esm/IssueLanding.js +84 -84
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +22 -22
- package/dist/esm/MasterDeck.js +41 -41
- package/dist/esm/MediaSeriesLanding.js +509 -465
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +40 -40
- package/dist/esm/NavNative.js +39 -39
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +57 -57
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +34 -34
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +7 -7
- package/dist/esm/PublicationLanding.js +54 -54
- package/dist/esm/QueueDeckExpanded.js +38 -38
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +35 -35
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-5c62a578.js} +14 -14
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-cd38ae60.js} +9 -9
- package/dist/esm/TaxonomyCard.js +10 -10
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +47 -47
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +51 -51
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +35 -37
- package/dist/esm/View.js +90 -91
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +26 -26
- 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/{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/{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 +135 -71
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-68291ce9.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
- package/dist/esm/{index-f7fb1e25.js → index-2446af28.js} +4 -4
- package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-c00b0bbb.js → index-79cfd25c.js} +35 -35
- package/dist/esm/{index-9ae17e46.js → index-f21b15a5.js} +156 -156
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
- package/dist/esm/index.js +118 -118
- 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-747e7d25.js → main-b5c5aac1.js} +228 -153
- package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
- 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 +1 -1
- 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 +110 -110
- 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/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-b43c695a.js} +1 -1
|
@@ -1,53 +1,53 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
5
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
|
+
import MasterDeck from './MasterDeck.js';
|
|
8
|
+
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
1
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
10
|
+
import './es6.string.iterator-bc33758b.js';
|
|
11
|
+
import './_to-object-b50e61c3.js';
|
|
12
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
13
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import './
|
|
10
|
-
import '
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import
|
|
15
|
-
import './
|
|
16
|
-
import
|
|
14
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
15
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
16
|
+
import './_is-array-3e99e06e.js';
|
|
17
|
+
import './_object-pie-133f504a.js';
|
|
18
|
+
import './slicedToArray-be2f7a22.js';
|
|
19
|
+
import 'react-bootstrap/Breadcrumb';
|
|
20
|
+
import './toConsumableArray-6d9a4616.js';
|
|
21
|
+
import './extends-60e0e1c6.js';
|
|
22
|
+
import './inherits-a41fe93f.js';
|
|
23
|
+
import './_object-sap-f353c2a9.js';
|
|
24
|
+
import './define-property-fe54dc9f.js';
|
|
25
|
+
import './index-2446af28.js';
|
|
17
26
|
import './events-6c3a7a63.js';
|
|
18
|
-
import './index-f7fb1e25.js';
|
|
19
27
|
import 'prop-types';
|
|
20
28
|
import 'react-bootstrap/Container';
|
|
21
29
|
import 'react-bootstrap/Row';
|
|
22
30
|
import 'react-bootstrap/Col';
|
|
23
31
|
import 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
25
32
|
import 'next/router';
|
|
26
|
-
import './
|
|
27
|
-
import './debounce-
|
|
28
|
-
import './
|
|
33
|
+
import './lodash-f97fd99a.js';
|
|
34
|
+
import './debounce-533d9748.js';
|
|
35
|
+
import './isSymbol-a7e9aafe.js';
|
|
36
|
+
import './toNumber-5aeba6e7.js';
|
|
29
37
|
import './index.es-c6222053.js';
|
|
30
|
-
import 'react-dom';
|
|
31
38
|
import './visibility-sensor-f40c2564.js';
|
|
32
|
-
import '
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import './main-747e7d25.js';
|
|
36
|
-
import './slicedToArray-641f241f.js';
|
|
37
|
-
import './stringify-4330ccdc.js';
|
|
38
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
39
|
-
import './Segment.js';
|
|
40
|
-
import './Beam.js';
|
|
39
|
+
import 'react-dom';
|
|
40
|
+
import './index-0dbff1d1.js';
|
|
41
|
+
import './ADlgInfeed-0b474b02.js';
|
|
41
42
|
import './AdSlot.js';
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import '
|
|
48
|
-
import
|
|
43
|
+
import './Beam.js';
|
|
44
|
+
import './stringify-59c8f690.js';
|
|
45
|
+
import './Segment.js';
|
|
46
|
+
import './main-b5c5aac1.js';
|
|
47
|
+
import './ADInfeed-28b1e946.js';
|
|
48
|
+
import './index-35bdcc81.js';
|
|
49
|
+
import './urlFor.js';
|
|
49
50
|
import './style-inject.es-1f59c1d0.js';
|
|
50
|
-
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
51
51
|
|
|
52
52
|
var _this = undefined;
|
|
53
53
|
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
6
|
-
import './_object-pie-33c40e79.js';
|
|
7
|
-
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
8
|
-
import './_object-sap-964b6feb.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
10
|
-
import './define-property-8af5f002.js';
|
|
11
|
-
import './web.dom.iterable-4439f05a.js';
|
|
12
|
-
import './typeof-af9c50d8.js';
|
|
13
|
-
import './_is-array-58e95429.js';
|
|
1
|
+
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a41fe93f.js';
|
|
14
3
|
import React from 'react';
|
|
15
|
-
import './
|
|
16
|
-
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
17
|
-
import 'prop-types';
|
|
4
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
18
5
|
import Container from 'react-bootstrap/Container';
|
|
19
|
-
import {
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
7
|
+
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
20
9
|
import { withRouter } from 'next/router';
|
|
21
|
-
import './
|
|
22
|
-
import { d as debounce_1 } from './debounce-
|
|
23
|
-
import './toNumber-2f7a84cd.js';
|
|
10
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
|
+
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
24
12
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
+
import './_to-object-b50e61c3.js';
|
|
15
|
+
import './_object-pie-133f504a.js';
|
|
16
|
+
import './es6.string.iterator-bc33758b.js';
|
|
17
|
+
import './_object-sap-f353c2a9.js';
|
|
18
|
+
import './define-property-fe54dc9f.js';
|
|
19
|
+
import './typeof-a286cf0c.js';
|
|
20
|
+
import './web.dom.iterable-4109ff68.js';
|
|
21
|
+
import './_is-array-3e99e06e.js';
|
|
22
|
+
import './_library-528f1934.js';
|
|
23
|
+
import './events-6c3a7a63.js';
|
|
24
|
+
import 'prop-types';
|
|
25
25
|
import 'react-dom';
|
|
26
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
|
-
import './index-51a80699.js';
|
|
28
|
-
import './urlFor.js';
|
|
29
|
-
import './index-6c12bdd5.js';
|
|
30
|
-
import './main-747e7d25.js';
|
|
31
|
-
import './slicedToArray-641f241f.js';
|
|
32
|
-
import './index-c7e2ac95.js';
|
|
33
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
34
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
35
26
|
import './iconBase-602d52fe.js';
|
|
36
|
-
import
|
|
27
|
+
import './slicedToArray-be2f7a22.js';
|
|
28
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
29
|
+
import './index-c7e2ac95.js';
|
|
30
|
+
import './index-35bdcc81.js';
|
|
31
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
32
|
+
import './urlFor.js';
|
|
33
|
+
import './index-0dbff1d1.js';
|
|
34
|
+
import './main-b5c5aac1.js';
|
|
35
|
+
import './isSymbol-a7e9aafe.js';
|
|
36
|
+
import './toNumber-5aeba6e7.js';
|
|
37
37
|
|
|
38
38
|
var VideoSeriesListing = function (_React$Component) {
|
|
39
39
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -74,7 +74,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
74
74
|
});
|
|
75
75
|
return tempObj;
|
|
76
76
|
}),
|
|
77
|
-
per: _this.params ? _this.params.
|
|
77
|
+
per: _this.params ? _this.params.to : 2,
|
|
78
78
|
page: _this.props.currentPage || 1,
|
|
79
79
|
from: _this.params ? _this.params.from : 0,
|
|
80
80
|
to: _this.params ? _this.params.to : 2,
|
|
@@ -98,9 +98,9 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
98
98
|
}, 0), _this.loadData = function () {
|
|
99
99
|
var _this$state = _this.state,
|
|
100
100
|
from = _this$state.from,
|
|
101
|
-
to = _this$state.to
|
|
102
|
-
|
|
103
|
-
query = _this$state.query,
|
|
101
|
+
to = _this$state.to;
|
|
102
|
+
_this$state.data;
|
|
103
|
+
var query = _this$state.query,
|
|
104
104
|
page = _this$state.page;
|
|
105
105
|
var client = _this.props.client;
|
|
106
106
|
//this.changePageNumber(page)
|
|
@@ -228,9 +228,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
228
228
|
{ key: index, style: { marginBottom: '2rem' }, counter: itemCounter++ },
|
|
229
229
|
React.createElement(
|
|
230
230
|
'div',
|
|
231
|
-
{
|
|
232
|
-
className: 'video-title-banner',
|
|
233
|
-
style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.25rem', borderBottom: '1px solid #d4a64d' } },
|
|
231
|
+
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', fontSize: '1.25rem', borderBottom: '1px solid #d4a64d' } },
|
|
234
232
|
React.createElement(
|
|
235
233
|
'a',
|
|
236
234
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
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, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-75d45541.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
16
4
|
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
-
import '
|
|
18
|
-
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
|
-
import 'prop-types';
|
|
20
|
-
import 'react-bootstrap/Row';
|
|
21
|
-
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
5
|
+
import Head from 'next/head';
|
|
23
6
|
import { useRouter } from 'next/router';
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import './
|
|
27
|
-
import {
|
|
28
|
-
import '
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
|
+
import 'react-bootstrap/Dropdown';
|
|
13
|
+
import Form from 'react-bootstrap/Form';
|
|
14
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
+
import Button from 'react-bootstrap/Button';
|
|
29
16
|
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
|
-
import './
|
|
31
|
-
import
|
|
32
|
-
import './index-6c12bdd5.js';
|
|
33
|
-
import { m as main_40 } from './main-747e7d25.js';
|
|
34
|
-
import './entities-7cc3bf45.js';
|
|
35
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
-
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
17
|
+
import SocialShare from './SocialShare.js';
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-f21b15a5.js';
|
|
40
19
|
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5c62a578.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
+
import getKeywords from './getKeywords.js';
|
|
23
|
+
import urlFor from './urlFor.js';
|
|
24
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
+
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
32
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
+
import getQuery from './getQuery.js';
|
|
34
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
39
|
+
import './_library-528f1934.js';
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
43
|
+
import 'prop-types';
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
45
|
+
import 'react-dom';
|
|
46
|
+
import 'react-share';
|
|
47
|
+
import 'react-bootstrap';
|
|
43
48
|
import './index-c7e2ac95.js';
|
|
44
|
-
import './
|
|
49
|
+
import './util-3ab476bf.js';
|
|
50
|
+
import './Beam.js';
|
|
51
|
+
import './Segment.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
45
53
|
import './GroupDeck.js';
|
|
46
|
-
import '
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-9ae17e46.js';
|
|
50
|
-
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
52
|
-
import Head from 'next/head';
|
|
53
|
-
import 'react-share';
|
|
54
|
-
import SocialShare from './SocialShare.js';
|
|
55
|
-
import './_object-to-array-7e804fce.js';
|
|
54
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
+
import './_is-array-3e99e06e.js';
|
|
56
|
+
import './_object-to-array-0f197f89.js';
|
|
56
57
|
import 'react-bootstrap/Pagination';
|
|
58
|
+
import './entities-932b50cf.js';
|
|
59
|
+
import 'react-bootstrap/Row';
|
|
60
|
+
import 'react-bootstrap/Col';
|
|
61
|
+
import './inherits-a41fe93f.js';
|
|
62
|
+
import './_object-sap-f353c2a9.js';
|
|
63
|
+
import './define-property-fe54dc9f.js';
|
|
64
|
+
import './index.esm-3fdda599.js';
|
|
65
|
+
import './iconBase-602d52fe.js';
|
|
57
66
|
import 'react-bootstrap/Figure';
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import '
|
|
62
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
63
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
67
|
+
import './debounce-533d9748.js';
|
|
68
|
+
import './isSymbol-a7e9aafe.js';
|
|
69
|
+
import './toNumber-5aeba6e7.js';
|
|
70
|
+
import './events-6c3a7a63.js';
|
|
64
71
|
import './index-db3bb315.js';
|
|
65
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
-
import getQuery from './getQuery.js';
|
|
67
|
-
import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
|
|
68
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
|
-
import getKeywords from './getKeywords.js';
|
|
70
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
155
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
156
|
!thumbnailUrl && React.createElement('p', {
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
338
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
339
339
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -535,9 +535,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
535
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
536
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
537
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
|
|
540
|
-
containerHeight = props.containerHeight,
|
|
538
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
539
|
+
props.active;
|
|
540
|
+
var containerHeight = props.containerHeight,
|
|
541
541
|
_props$refreshFlag = props.refreshFlag,
|
|
542
542
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
543
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +597,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
597
|
setArticleBody = _useState10[1];
|
|
598
598
|
|
|
599
599
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
|
|
602
|
-
setPreviewAd = _useState12[1];
|
|
600
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
601
|
+
_useState12[0];
|
|
602
|
+
var setPreviewAd = _useState12[1];
|
|
603
603
|
|
|
604
604
|
useEffect(function () {
|
|
605
605
|
var path = window && window.location && window.location.search;
|
|
@@ -970,8 +970,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
970
970
|
shareSubject = shareOptions.shareSubject,
|
|
971
971
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
972
972
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
973
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
974
|
-
|
|
973
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
974
|
+
shareOptions.shareSiteTitle;
|
|
975
975
|
|
|
976
976
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
977
977
|
var shareTitle = article.title;
|
|
@@ -1171,7 +1171,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1171
1171
|
React.createElement(
|
|
1172
1172
|
'div',
|
|
1173
1173
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1174
|
-
|
|
1174
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1175
1175
|
if (index === 0) {
|
|
1176
1176
|
return React.createElement(
|
|
1177
1177
|
'div',
|
|
@@ -1255,7 +1255,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1255
1255
|
blocks: isi
|
|
1256
1256
|
})
|
|
1257
1257
|
),
|
|
1258
|
-
|
|
1258
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1259
1259
|
if (index > 0) {
|
|
1260
1260
|
return React.createElement(
|
|
1261
1261
|
'div',
|
|
@@ -1293,16 +1293,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
});
|
|
1295
1295
|
|
|
1296
|
-
var _this = undefined;
|
|
1296
|
+
var _this$1 = undefined;
|
|
1297
1297
|
|
|
1298
1298
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1299
1299
|
var _props$prevUrl = props.prevUrl,
|
|
1300
1300
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1301
1301
|
Ads = props.Ads,
|
|
1302
1302
|
_props$maxListLength = props.maxListLength,
|
|
1303
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1304
|
-
|
|
1305
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1303
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1304
|
+
props.sponsoredTaxonomies;
|
|
1305
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1306
1306
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1307
1307
|
_props$authorPrefix = props.authorPrefix,
|
|
1308
1308
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1351,7 +1351,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1351
1351
|
return item.url.current === path;
|
|
1352
1352
|
});
|
|
1353
1353
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1354
|
-
if (!
|
|
1354
|
+
if (!main_43) {
|
|
1355
1355
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1356
1356
|
if (window.googletag && googletag.pubadsReady) {
|
|
1357
1357
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1368,7 +1368,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1368
1368
|
});
|
|
1369
1369
|
}
|
|
1370
1370
|
//Refresh leaderboard ad on mobile
|
|
1371
|
-
if (
|
|
1371
|
+
if (main_43) {
|
|
1372
1372
|
var leaderboardSlotId = '';
|
|
1373
1373
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1374
1374
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1472,7 +1472,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1472
1472
|
return _context.stop();
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1475
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1476
1476
|
}));
|
|
1477
1477
|
|
|
1478
1478
|
return function loadmore() {
|
|
@@ -1542,7 +1542,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1542
1542
|
);
|
|
1543
1543
|
};
|
|
1544
1544
|
|
|
1545
|
-
var _this
|
|
1545
|
+
var _this = undefined;
|
|
1546
1546
|
|
|
1547
1547
|
var View = function View(props) {
|
|
1548
1548
|
var router = useRouter();
|
|
@@ -1552,9 +1552,9 @@ var View = function View(props) {
|
|
|
1552
1552
|
hideComments = _props$article.hideComments,
|
|
1553
1553
|
content_placement = _props$article.content_placement,
|
|
1554
1554
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1555
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1556
|
-
|
|
1557
|
-
Ads = props.Ads,
|
|
1555
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1556
|
+
props.sponsoredTaxonomies;
|
|
1557
|
+
var Ads = props.Ads,
|
|
1558
1558
|
setCustomDimensions = props.setCustomDimensions,
|
|
1559
1559
|
statusCode = props.statusCode,
|
|
1560
1560
|
prevUrl = props.prevUrl,
|
|
@@ -1567,9 +1567,9 @@ var View = function View(props) {
|
|
|
1567
1567
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1568
1568
|
var _props$article2 = props.article,
|
|
1569
1569
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1570
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1571
|
-
|
|
1572
|
-
title = _props$article2.title,
|
|
1570
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1571
|
+
_props$article2.description;
|
|
1572
|
+
var title = _props$article2.title,
|
|
1573
1573
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1574
1574
|
|
|
1575
1575
|
var _useState = useState(0),
|
|
@@ -1630,7 +1630,6 @@ var View = function View(props) {
|
|
|
1630
1630
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1631
1631
|
|
|
1632
1632
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1633
|
-
description = null;
|
|
1634
1633
|
title = null;
|
|
1635
1634
|
}
|
|
1636
1635
|
|
|
@@ -1860,7 +1859,7 @@ View.returnGetInitialProps = function () {
|
|
|
1860
1859
|
return _context.stop();
|
|
1861
1860
|
}
|
|
1862
1861
|
}
|
|
1863
|
-
}, _callee, _this
|
|
1862
|
+
}, _callee, _this);
|
|
1864
1863
|
}));
|
|
1865
1864
|
|
|
1866
1865
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
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';
|
|
6
1
|
import React from 'react';
|
|
7
|
-
import '
|
|
8
|
-
import { m as moment } from './moment-b6f49411.js';
|
|
9
|
-
import 'react-dom';
|
|
10
|
-
import './index-51a80699.js';
|
|
2
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
11
3
|
import urlFor from './urlFor.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import './
|
|
15
|
-
import
|
|
4
|
+
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
+
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
+
import './index-0dbff1d1.js';
|
|
9
|
+
import './slicedToArray-be2f7a22.js';
|
|
10
|
+
import './web.dom.iterable-4109ff68.js';
|
|
11
|
+
import './es6.string.iterator-bc33758b.js';
|
|
12
|
+
import './_to-object-b50e61c3.js';
|
|
13
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
14
|
+
import 'react-dom';
|
|
15
|
+
import 'prop-types';
|
|
16
16
|
|
|
17
17
|
var YahooHero = function YahooHero(props) {
|
|
18
18
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -72,11 +72,11 @@ var YahooHero = function YahooHero(props) {
|
|
|
72
72
|
{ className: 'yh-sub-article-container' },
|
|
73
73
|
subArticles.map(function (article, index) {
|
|
74
74
|
var articleThumbnail = '';
|
|
75
|
-
|
|
75
|
+
article.title;
|
|
76
76
|
if (article.thumbnail && article.thumbnail) {
|
|
77
77
|
articleThumbnail = urlFor({ client: client, source: article.thumbnail, imageWidth: 250 });
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
article.thumbnail.asset.originalFileName;
|
|
80
80
|
} else if (props.thumbnail) {
|
|
81
81
|
articleThumbnail = props.thumbnail;
|
|
82
82
|
}
|