@mjhls/mjh-framework 1.0.702-beta-v1 → 1.0.702
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/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +19 -17
- package/dist/cjs/AD300x250x600.js +19 -17
- package/dist/cjs/AD728x90.js +20 -18
- package/dist/cjs/ADFloatingFooter.js +18 -16
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +18 -16
- package/dist/cjs/{ADInfeed-38066a36.js → ADInfeed-ede153e2.js} +2 -2
- package/dist/cjs/ADSkyscraper.js +18 -16
- package/dist/cjs/ADSponsoredResources.js +18 -16
- package/dist/cjs/ADWebcast.js +18 -16
- package/dist/cjs/ADWelcome.js +18 -16
- package/dist/cjs/{ADlgInfeed-d95c9027.js → ADlgInfeed-6a121a0d.js} +2 -2
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -17
- package/dist/cjs/AdSlotsProvider.js +4 -2
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +16 -13
- package/dist/cjs/ArticleSeriesListing.js +27 -24
- package/dist/cjs/Auth.js +768 -486
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
- package/dist/cjs/Beam.js +19 -19
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-e53217a7.js} +23 -25
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/BrowseVideosListing.js +17 -14
- package/dist/cjs/CMEDeck.js +26 -23
- package/dist/cjs/Column2.js +15 -13
- package/dist/cjs/Column3.js +24 -22
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +33 -30
- package/dist/cjs/DeckQueue.js +32 -29
- package/dist/cjs/{Dfp-390337bf.js → Dfp-13ff07b4.js} +13 -10
- package/dist/cjs/EventsDeck.js +35 -34
- package/dist/cjs/ExternalResources.js +35 -32
- package/dist/cjs/Feature.js +4 -3
- package/dist/cjs/ForbesHero.js +12 -9
- package/dist/cjs/GridContent.js +45 -42
- package/dist/cjs/GridHero.js +12 -9
- package/dist/cjs/GroupDeck.js +13 -13
- package/dist/cjs/HamMagazine.js +19 -17
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +12 -9
- package/dist/cjs/IssueDeck.js +15 -12
- package/dist/cjs/IssueLanding.js +29 -26
- package/dist/cjs/LeftNav.js +18 -16
- package/dist/cjs/MasterDeck.js +37 -34
- package/dist/cjs/NavDvm.js +9 -9
- package/dist/cjs/NavMagazine.js +19 -17
- package/dist/cjs/NavNative.js +16 -14
- package/dist/cjs/NavNormal.js +10 -10
- package/dist/cjs/OncliveHero.js +2 -3
- package/dist/cjs/OncliveLargeHero.js +12 -9
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +45 -1239
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PublicationDeck.js +8 -5
- package/dist/cjs/PublicationLanding.js +60 -57
- package/dist/cjs/QueueDeckExpanded.js +36 -33
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +6 -3
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +20 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +16 -14
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-1ef1e6fb.js} +7 -7
- package/dist/cjs/TaxonomyCard.js +10 -7
- package/dist/cjs/TemplateNormal.js +33 -31
- package/dist/cjs/ThumbnailCard.js +5 -2
- package/dist/cjs/Ustream.js +10 -9
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +13 -10
- package/dist/cjs/VideoSeriesFilter.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +27 -24
- package/dist/cjs/View.js +51 -48
- package/dist/cjs/YahooHero.js +12 -9
- package/dist/cjs/YoutubeGroup.js +17 -14
- package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
- package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
- package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
- package/dist/cjs/_object-sap-947ef6fb.js +16 -0
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
- package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
- package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
- package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +426 -15
- package/dist/cjs/getSerializers.js +33 -30
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
- package/dist/cjs/{index-3294d3bc.js → index-949261b4.js} +18 -19
- package/dist/cjs/{index-58dae365.js → index-b1ee7cd9.js} +335 -329
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-099d45ae.js → index-d7577df6.js} +12 -16
- package/dist/cjs/{index-39beccb3.js → index-ff69979f.js} +26 -21
- package/dist/cjs/{index.es-9110add6.js → index.es-e9d84959.js} +23 -5
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +61 -57
- package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
- package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
- package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-257df6c4.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-1442052b.js} +90 -57
- package/dist/cjs/{moment-575fe24c.js → moment-29403f08.js} +11 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
- package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +21 -19
- package/dist/esm/AD300x250x600.js +21 -19
- package/dist/esm/AD728x90.js +22 -20
- package/dist/esm/ADFloatingFooter.js +20 -18
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +20 -18
- package/dist/esm/{ADInfeed-7b1b2fcb.js → ADInfeed-d890d5ca.js} +4 -4
- package/dist/esm/ADSkyscraper.js +20 -18
- package/dist/esm/ADSponsoredResources.js +20 -18
- package/dist/esm/ADWebcast.js +20 -18
- package/dist/esm/ADWelcome.js +20 -18
- package/dist/esm/{ADlgInfeed-2afe92e6.js → ADlgInfeed-1d006b36.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +19 -17
- package/dist/esm/AdSlotsProvider.js +4 -2
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +16 -13
- package/dist/esm/ArticleSeriesListing.js +27 -24
- package/dist/esm/Auth.js +763 -481
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
- package/dist/esm/Beam.js +19 -19
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-e6f64e62.js} +23 -21
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/BrowseVideosListing.js +17 -14
- package/dist/esm/CMEDeck.js +26 -23
- package/dist/esm/Column2.js +15 -13
- package/dist/esm/Column3.js +24 -22
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +33 -30
- package/dist/esm/DeckQueue.js +32 -29
- package/dist/esm/{Dfp-741c01be.js → Dfp-7db56716.js} +13 -10
- package/dist/esm/EventsDeck.js +35 -34
- package/dist/esm/ExternalResources.js +35 -32
- package/dist/esm/Feature.js +4 -3
- package/dist/esm/ForbesHero.js +12 -9
- package/dist/esm/GridContent.js +45 -42
- package/dist/esm/GridHero.js +12 -9
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +19 -17
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/IssueContentDeck.js +12 -9
- package/dist/esm/IssueDeck.js +15 -12
- package/dist/esm/IssueLanding.js +29 -26
- package/dist/esm/LeftNav.js +18 -16
- package/dist/esm/MasterDeck.js +37 -34
- package/dist/esm/NavDvm.js +9 -9
- package/dist/esm/NavMagazine.js +19 -17
- package/dist/esm/NavNative.js +16 -14
- package/dist/esm/NavNormal.js +10 -10
- package/dist/esm/OncliveHero.js +2 -3
- package/dist/esm/OncliveLargeHero.js +12 -9
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +45 -1238
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PublicationDeck.js +8 -5
- package/dist/esm/PublicationLanding.js +60 -57
- package/dist/esm/QueueDeckExpanded.js +36 -33
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +6 -3
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +20 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +16 -14
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-4eae0149.js} +7 -7
- package/dist/esm/TaxonomyCard.js +10 -7
- package/dist/esm/TemplateNormal.js +35 -33
- package/dist/esm/ThumbnailCard.js +5 -2
- package/dist/esm/Ustream.js +10 -9
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +13 -10
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesListing.js +27 -24
- package/dist/esm/View.js +56 -53
- package/dist/esm/YahooHero.js +12 -9
- package/dist/esm/YoutubeGroup.js +17 -14
- package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
- package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
- package/dist/esm/_library-90219a8d.js +3 -0
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
- package/dist/esm/_object-sap-146241c9.js +14 -0
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
- package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
- package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
- package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
- package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
- package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
- package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
- package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
- package/dist/esm/getRelatedArticle.js +426 -15
- package/dist/esm/getSerializers.js +33 -30
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-ef6d5dcf.js → index-1295881c.js} +16 -17
- package/dist/esm/{index-3f4dd6f2.js → index-17490425.js} +12 -12
- package/dist/esm/{index-7779a6df.js → index-4540328d.js} +338 -332
- package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-3849e3fe.js → index-f7fdcc91.js} +26 -21
- package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +60 -56
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
- package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
- package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
- package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
- package/dist/esm/{lodash-ec8c6b48.js → lodash-2b866578.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-140f99b4.js} +88 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-8797a4d3.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
- package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
- package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
- package/package.json +3 -3
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
- package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-sap-4d59d5bd.js +0 -14
- package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
- /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
package/dist/esm/View.js
CHANGED
|
@@ -1,65 +1,68 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import { _ as _typeof } from './typeof-
|
|
15
|
-
import './_is-array-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './_iter-detect-65720de7.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-02217419.js';
|
|
7
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
+
import './_object-pie-8e2f6c3a.js';
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-8e0228d5.js';
|
|
10
|
+
import './_object-sap-146241c9.js';
|
|
11
|
+
import './inherits-d1948b66.js';
|
|
12
|
+
import './define-property-7a40a451.js';
|
|
13
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-a10a5616.js';
|
|
15
|
+
import './_is-array-5bea6006.js';
|
|
16
16
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-17490425.js';
|
|
18
18
|
import 'prop-types';
|
|
19
|
+
import './_react_commonjs-external-22b61490.js';
|
|
20
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
19
21
|
import 'react-bootstrap/Row';
|
|
20
22
|
import 'react-bootstrap/Col';
|
|
21
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
22
24
|
import { useRouter } from 'next/router';
|
|
23
|
-
import './isSymbol-
|
|
24
|
-
import './debounce-
|
|
25
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import './isSymbol-2b7f6e65.js';
|
|
26
|
+
import './debounce-7b569c00.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
26
28
|
import 'react-dom';
|
|
27
|
-
import './
|
|
28
|
-
import './index-
|
|
29
|
-
import
|
|
29
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
30
|
+
import './index-f7fdcc91.js';
|
|
31
|
+
import './index-a4e850af.js';
|
|
32
|
+
import { m as main_40 } from './main-140f99b4.js';
|
|
30
33
|
import './entities-7cc3bf45.js';
|
|
31
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
32
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
33
|
-
import { a as _asyncToGenerator,
|
|
34
|
-
import './_set-species-
|
|
34
|
+
import { _ as _JSON$stringify } from './stringify-dedf4a20.js';
|
|
35
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
36
|
+
import { a as _asyncToGenerator, b as _regeneratorRuntime } from './asyncToGenerator-0c61f551.js';
|
|
37
|
+
import './_set-species-26ee5c2a.js';
|
|
35
38
|
import './Segment.js';
|
|
36
39
|
import './Beam.js';
|
|
37
|
-
import
|
|
38
|
-
import { B as BlockContent } from './BlockContent-
|
|
39
|
-
import './smoothscroll-
|
|
40
|
+
import AdSlot from './AdSlot.js';
|
|
41
|
+
import { B as BlockContent } from './BlockContent-e6f64e62.js';
|
|
42
|
+
import './smoothscroll-2d74941c.js';
|
|
40
43
|
import './GroupDeck.js';
|
|
41
44
|
import 'react-bootstrap';
|
|
42
45
|
import './iconBase-602d52fe.js';
|
|
43
|
-
import './index.esm-
|
|
46
|
+
import './index.esm-3fdda599.js';
|
|
44
47
|
import Button from 'react-bootstrap/Button';
|
|
45
48
|
import Form from 'react-bootstrap/Form';
|
|
46
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
49
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-4540328d.js';
|
|
47
50
|
import './util-7700fc59.js';
|
|
48
|
-
import './brightcove-react-player-loader.es-
|
|
51
|
+
import './brightcove-react-player-loader.es-e761d404.js';
|
|
49
52
|
import 'react-bootstrap/Pagination';
|
|
50
53
|
import Head from 'next/head';
|
|
51
54
|
import 'react-bootstrap/Figure';
|
|
52
55
|
import 'react-share';
|
|
53
56
|
import SocialShare from './SocialShare.js';
|
|
54
57
|
import FormControl from 'react-bootstrap/FormControl';
|
|
55
|
-
import { _ as _Object$keys } from './keys-
|
|
58
|
+
import { _ as _Object$keys } from './keys-e091cb65.js';
|
|
56
59
|
import 'react-bootstrap/Dropdown';
|
|
57
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
60
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
58
61
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
59
|
-
import '
|
|
60
|
-
import getQuery from './getQuery.js';
|
|
62
|
+
import './index-db3bb315.js';
|
|
61
63
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
62
|
-
import
|
|
64
|
+
import getQuery from './getQuery.js';
|
|
65
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-d97a1e83.js';
|
|
63
66
|
import getKeywords from './getKeywords.js';
|
|
64
67
|
import urlFor from './urlFor.js';
|
|
65
68
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -139,9 +142,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
139
142
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
140
143
|
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
141
144
|
!thumbnailUrl && React__default.createElement('p', {
|
|
142
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
145
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
143
146
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
144
|
-
|
|
147
|
+
main_40 && !thumbnailUrl && React__default.createElement(
|
|
145
148
|
'style',
|
|
146
149
|
{ jsx: 'true' },
|
|
147
150
|
'\n a.doc-group {\n display: block !important;\n padding: 0!important;\n }\n '
|
|
@@ -295,9 +298,9 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
295
298
|
|
|
296
299
|
var Article = function Article(props) {
|
|
297
300
|
var onVote = function () {
|
|
298
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
301
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(nodeKey, selectedChoice) {
|
|
299
302
|
var response, result;
|
|
300
|
-
return
|
|
303
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
301
304
|
while (1) {
|
|
302
305
|
switch (_context.prev = _context.next) {
|
|
303
306
|
case 0:
|
|
@@ -652,13 +655,13 @@ var Article = function Article(props) {
|
|
|
652
655
|
React__default.createElement(
|
|
653
656
|
'div',
|
|
654
657
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
655
|
-
React__default.createElement(
|
|
658
|
+
React__default.createElement(AdSlot, _extends({}, payload.contextualAD, { refreshFlag: refreshFlag, checkIsAdFound: previewAd ? null : checkIsAdFound }))
|
|
656
659
|
),
|
|
657
660
|
React__default.createElement('span', { className: 'clearfix' }),
|
|
658
661
|
React__default.createElement(
|
|
659
662
|
'div',
|
|
660
663
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
661
|
-
React__default.createElement(
|
|
664
|
+
React__default.createElement(AdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
662
665
|
),
|
|
663
666
|
React__default.createElement(BlockContent, _extends({
|
|
664
667
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
@@ -724,7 +727,7 @@ var Article = function Article(props) {
|
|
|
724
727
|
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React__default.createElement(
|
|
725
728
|
'div',
|
|
726
729
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
727
|
-
React__default.createElement(
|
|
730
|
+
React__default.createElement(AdSlot, _extends({}, payload.contextualAD, { refreshFlag: refreshFlag, checkIsAdFound: previewAd ? null : _checkIsAdFound }))
|
|
728
731
|
),
|
|
729
732
|
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
730
733
|
React__default.createElement(BlockContent, _extends({
|
|
@@ -767,7 +770,7 @@ var Article = function Article(props) {
|
|
|
767
770
|
React__default.createElement(
|
|
768
771
|
'div',
|
|
769
772
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
770
|
-
React__default.createElement(
|
|
773
|
+
React__default.createElement(AdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
771
774
|
),
|
|
772
775
|
React__default.createElement(BlockContent, _extends({
|
|
773
776
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, null, null, null, targeting),
|
|
@@ -962,7 +965,7 @@ var Article = function Article(props) {
|
|
|
962
965
|
React__default.createElement(
|
|
963
966
|
'div',
|
|
964
967
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
965
|
-
|
|
968
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
966
969
|
if (index === 0) {
|
|
967
970
|
return React__default.createElement(
|
|
968
971
|
'div',
|
|
@@ -1028,7 +1031,7 @@ var Article = function Article(props) {
|
|
|
1028
1031
|
})
|
|
1029
1032
|
)
|
|
1030
1033
|
),
|
|
1031
|
-
|
|
1034
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1032
1035
|
if (index > 0) {
|
|
1033
1036
|
return React__default.createElement(
|
|
1034
1037
|
'div',
|
|
@@ -1101,7 +1104,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1101
1104
|
});
|
|
1102
1105
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1103
1106
|
|
|
1104
|
-
if (!
|
|
1107
|
+
if (!main_40) {
|
|
1105
1108
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1106
1109
|
if (window.googletag && googletag.pubadsReady) {
|
|
1107
1110
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1119,7 +1122,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1119
1122
|
});
|
|
1120
1123
|
}
|
|
1121
1124
|
//Refresh leaderboard ad on mobile
|
|
1122
|
-
if (
|
|
1125
|
+
if (main_40) {
|
|
1123
1126
|
var leaderboardSlotId = '';
|
|
1124
1127
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1125
1128
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1181,9 +1184,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1181
1184
|
}, [queueData.length]);
|
|
1182
1185
|
|
|
1183
1186
|
var loadmore = function () {
|
|
1184
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
1187
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
1185
1188
|
var index, article, startingIndex, endingIndex, targeting;
|
|
1186
|
-
return
|
|
1189
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1187
1190
|
while (1) {
|
|
1188
1191
|
switch (_context.prev = _context.next) {
|
|
1189
1192
|
case 0:
|
|
@@ -1514,12 +1517,12 @@ var View = function View(props) {
|
|
|
1514
1517
|
|
|
1515
1518
|
//This should be called in /view/[url] getInitialProps to fetch the article data and related articles. This will also set the sponsoredFlag to true if any taxonomies have disabled ads.
|
|
1516
1519
|
View.returnGetInitialProps = function () {
|
|
1517
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
1520
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url, prevUrl, seriesVid, client, sao) {
|
|
1518
1521
|
var context = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
|
|
1519
1522
|
|
|
1520
1523
|
var article, relatedArticleQuery, statusCode, _context$query$series, seriesArticle, sponsoredFlag;
|
|
1521
1524
|
|
|
1522
|
-
return
|
|
1525
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1523
1526
|
while (1) {
|
|
1524
1527
|
switch (_context.prev = _context.next) {
|
|
1525
1528
|
case 0:
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './core.get-iterator-method-
|
|
5
|
-
import './web.dom.iterable-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import
|
|
8
|
+
import './_react_commonjs-external-22b61490.js';
|
|
9
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
10
|
+
import { m as moment } from './moment-8797a4d3.js';
|
|
9
11
|
import 'react-dom';
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
13
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
14
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
12
15
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
13
|
-
import './slicedToArray-
|
|
14
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
16
|
+
import './slicedToArray-8818fe95.js';
|
|
17
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffb1deb.js';
|
|
15
18
|
|
|
16
19
|
var YahooHero = function YahooHero(props) {
|
|
17
20
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './core.get-iterator-method-
|
|
6
|
-
import './_object-pie-
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import { _ as _typeof } from './typeof-
|
|
9
|
-
import './_is-array-
|
|
2
|
+
import './_export-f7ec2adf.js';
|
|
3
|
+
import './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import './_library-90219a8d.js';
|
|
5
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
6
|
+
import './_object-pie-8e2f6c3a.js';
|
|
7
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
8
|
+
import { _ as _typeof } from './typeof-a10a5616.js';
|
|
9
|
+
import './_is-array-5bea6006.js';
|
|
10
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
11
|
import 'prop-types';
|
|
12
|
+
import './_react_commonjs-external-22b61490.js';
|
|
13
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
12
14
|
import 'react-dom';
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
16
|
+
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
17
|
+
import { L as LazyLoad } from './index-a4e850af.js';
|
|
18
|
+
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
19
|
+
import { s as smoothscroll, g as getYouTubeId } from './smoothscroll-2d74941c.js';
|
|
17
20
|
|
|
18
21
|
/*
|
|
19
22
|
GROQ query -
|
|
@@ -206,7 +209,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
206
209
|
} else if (_typeof(video.thumbnail == 'string')) {
|
|
207
210
|
thumbnail = video.thumbnail;
|
|
208
211
|
} else {
|
|
209
|
-
thumbnail = 'https://img.youtube.com/vi/' +
|
|
212
|
+
thumbnail = 'https://img.youtube.com/vi/' + getYouTubeId(video.url) + '/hqdefault.jpg';
|
|
210
213
|
}
|
|
211
214
|
|
|
212
215
|
return React__default.createElement(
|
|
@@ -284,7 +287,7 @@ var YoutubeGroup = function YoutubeGroup(props) {
|
|
|
284
287
|
if (video.thumbnail && video.thumbnail.asset) {
|
|
285
288
|
_thumbnail = urlFor(video.thumbnail, props.client);
|
|
286
289
|
} else {
|
|
287
|
-
_thumbnail = 'https://img.youtube.com/vi/' +
|
|
290
|
+
_thumbnail = 'https://img.youtube.com/vi/' + getYouTubeId(video.url) + '/hqdefault.jpg';
|
|
288
291
|
}
|
|
289
292
|
return React__default.createElement(
|
|
290
293
|
'div',
|
|
@@ -23,7 +23,7 @@ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
|
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
var _core = createCommonjsModule(function (module) {
|
|
26
|
-
var core = module.exports = { version: '2.6.
|
|
26
|
+
var core = module.exports = { version: '2.6.12' };
|
|
27
27
|
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
28
28
|
});
|
|
29
29
|
var _core_1 = _core.version;
|
|
@@ -264,7 +264,7 @@ var store = _global[SHARED] || (_global[SHARED] = {});
|
|
|
264
264
|
})('versions', []).push({
|
|
265
265
|
version: _core.version,
|
|
266
266
|
mode: 'pure' ,
|
|
267
|
-
copyright: '©
|
|
267
|
+
copyright: '© 2020 Denis Pushkarev (zloirock.ru)'
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
270
|
|
|
@@ -315,4 +315,4 @@ var _toObject = function (it) {
|
|
|
315
315
|
return Object(_defined(it));
|
|
316
316
|
};
|
|
317
317
|
|
|
318
|
-
export {
|
|
318
|
+
export { _objectKeys as $, _descriptors as D, _iobject as I, _export as a, _objectDp as b, _ctx as c, _toObject as d, _toLength as e, _fails as f, _global as g, _hide as h, _isObject as i, _aFunction as j, _anObject as k, _propertyDesc as l, _objectKeysInternal as m, _enumBugKeys as n, _toPrimitive as o, _ie8DomDefine as p, _has as q, _core as r, _shared as s, _toIobject as t, _uid as u, _cof as v, _domCreate as w, _defined as x, _toInteger as y, _sharedKey as z };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
2
|
+
import { u as uid, f as fails, i as isObject, q as has, b as require$$0, v as require$$1 } from './_export-f7ec2adf.js';
|
|
3
3
|
|
|
4
4
|
var _meta = createCommonjsModule(function (module) {
|
|
5
|
-
var META =
|
|
5
|
+
var META = uid('meta');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var setDesc =
|
|
8
|
+
var setDesc = require$$0.f;
|
|
9
9
|
var id = 0;
|
|
10
10
|
var isExtensible = Object.isExtensible || function () {
|
|
11
11
|
return true;
|
|
12
12
|
};
|
|
13
|
-
var FREEZE = !
|
|
13
|
+
var FREEZE = !fails(function () {
|
|
14
14
|
return isExtensible(Object.preventExtensions({}));
|
|
15
15
|
});
|
|
16
16
|
var setMeta = function (it) {
|
|
@@ -21,8 +21,8 @@ var setMeta = function (it) {
|
|
|
21
21
|
};
|
|
22
22
|
var fastKey = function (it, create) {
|
|
23
23
|
// return primitive with prefix
|
|
24
|
-
if (!
|
|
25
|
-
if (!
|
|
24
|
+
if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
25
|
+
if (!has(it, META)) {
|
|
26
26
|
// can't set metadata to uncaught frozen object
|
|
27
27
|
if (!isExtensible(it)) return 'F';
|
|
28
28
|
// not necessary to add metadata
|
|
@@ -33,7 +33,7 @@ var fastKey = function (it, create) {
|
|
|
33
33
|
} return it[META].i;
|
|
34
34
|
};
|
|
35
35
|
var getWeak = function (it, create) {
|
|
36
|
-
if (!
|
|
36
|
+
if (!has(it, META)) {
|
|
37
37
|
// can't set metadata to uncaught frozen object
|
|
38
38
|
if (!isExtensible(it)) return true;
|
|
39
39
|
// not necessary to add metadata
|
|
@@ -45,7 +45,7 @@ var getWeak = function (it, create) {
|
|
|
45
45
|
};
|
|
46
46
|
// add metadata on freeze-family methods calling
|
|
47
47
|
var onFreeze = function (it) {
|
|
48
|
-
if (FREEZE && meta.NEED && isExtensible(it) && !
|
|
48
|
+
if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
|
|
49
49
|
return it;
|
|
50
50
|
};
|
|
51
51
|
var meta = module.exports = {
|
|
@@ -65,7 +65,7 @@ var _meta_5 = _meta.onFreeze;
|
|
|
65
65
|
// 7.2.2 IsArray(argument)
|
|
66
66
|
|
|
67
67
|
var _isArray = Array.isArray || function isArray(arg) {
|
|
68
|
-
return
|
|
68
|
+
return require$$1(arg) == 'Array';
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
export {
|
|
71
|
+
export { _isArray as i, _meta as m };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { k as anObject } from './_export-f7ec2adf.js';
|
|
2
|
+
import { r as require$$0, I as Iterators } from './es6.string.iterator-13b94db0.js';
|
|
3
3
|
|
|
4
4
|
// call something on iterator step with safe closing on error
|
|
5
5
|
|
|
6
6
|
var _iterCall = function (iterator, fn, value, entries) {
|
|
7
7
|
try {
|
|
8
|
-
return entries ? fn(
|
|
8
|
+
return entries ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
9
9
|
// 7.4.6 IteratorClose(iterator, completion)
|
|
10
10
|
} catch (e) {
|
|
11
11
|
var ret = iterator['return'];
|
|
12
|
-
if (ret !== undefined)
|
|
12
|
+
if (ret !== undefined) anObject(ret.call(iterator));
|
|
13
13
|
throw e;
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
// check on default Array iterator
|
|
18
18
|
|
|
19
|
-
var ITERATOR =
|
|
19
|
+
var ITERATOR = require$$0('iterator');
|
|
20
20
|
var ArrayProto = Array.prototype;
|
|
21
21
|
|
|
22
22
|
var _isArrayIter = function (it) {
|
|
23
|
-
return it !== undefined && (
|
|
23
|
+
return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
var ITERATOR$1 =
|
|
26
|
+
var ITERATOR$1 = require$$0('iterator');
|
|
27
27
|
var SAFE_CLOSING = false;
|
|
28
28
|
|
|
29
29
|
try {
|
|
@@ -46,4 +46,4 @@ var _iterDetect = function (exec, skipClosing) {
|
|
|
46
46
|
return safe;
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { _iterCall as c, _isArrayIter as i, _iterDetect as r };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { r as require$$7, a as $export, f as fails } from './_export-f7ec2adf.js';
|
|
2
|
+
|
|
3
|
+
// most Object methods by ES6 should accept primitives
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _objectSap = function (KEY, exec) {
|
|
8
|
+
var fn = (require$$7.Object || {})[KEY] || Object[KEY];
|
|
9
|
+
var exp = {};
|
|
10
|
+
exp[KEY] = exec(fn);
|
|
11
|
+
$export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { _objectSap as r };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { c as ctx, e as toLength, k as anObject, h as hide, r as require$$7, g as global, D as DESCRIPTORS, b as require$$0$1 } from './_export-f7ec2adf.js';
|
|
3
|
+
import { r as require$$0 } from './es6.string.iterator-13b94db0.js';
|
|
4
|
+
import { i as isArrayIter, c as call } from './_iter-detect-65720de7.js';
|
|
5
|
+
import { g as getIterFn } from './core.get-iterator-method-dbbb346b.js';
|
|
6
6
|
|
|
7
7
|
var _anInstance = function (it, Constructor, name, forbiddenField) {
|
|
8
8
|
if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
|
|
@@ -14,17 +14,17 @@ var _forOf = createCommonjsModule(function (module) {
|
|
|
14
14
|
var BREAK = {};
|
|
15
15
|
var RETURN = {};
|
|
16
16
|
var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
|
|
17
|
-
var iterFn = ITERATOR ? function () { return iterable; } :
|
|
18
|
-
var f =
|
|
17
|
+
var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
|
|
18
|
+
var f = ctx(fn, that, entries ? 2 : 1);
|
|
19
19
|
var index = 0;
|
|
20
20
|
var length, step, iterator, result;
|
|
21
21
|
if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
|
|
22
22
|
// fast case for arrays with default iterator
|
|
23
|
-
if (
|
|
24
|
-
result = entries ? f(
|
|
23
|
+
if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
|
|
24
|
+
result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
|
|
25
25
|
if (result === BREAK || result === RETURN) return result;
|
|
26
26
|
} else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
|
|
27
|
-
result =
|
|
27
|
+
result = call(iterator, f, step.value, entries);
|
|
28
28
|
if (result === BREAK || result === RETURN) return result;
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -35,18 +35,18 @@ exports.RETURN = RETURN;
|
|
|
35
35
|
var _redefineAll = function (target, src, safe) {
|
|
36
36
|
for (var key in src) {
|
|
37
37
|
if (safe && target[key]) target[key] = src[key];
|
|
38
|
-
else
|
|
38
|
+
else hide(target, key, src[key]);
|
|
39
39
|
} return target;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
var SPECIES =
|
|
42
|
+
var SPECIES = require$$0('species');
|
|
43
43
|
|
|
44
44
|
var _setSpecies = function (KEY) {
|
|
45
|
-
var C = typeof
|
|
46
|
-
if (
|
|
45
|
+
var C = typeof require$$7[KEY] == 'function' ? require$$7[KEY] : global[KEY];
|
|
46
|
+
if (DESCRIPTORS && C && !C[SPECIES]) require$$0$1.f(C, SPECIES, {
|
|
47
47
|
configurable: true,
|
|
48
48
|
get: function () { return this; }
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
export { _anInstance as
|
|
52
|
+
export { _anInstance as a, _forOf as f, _redefineAll as r, _setSpecies as s };
|