@mjhls/mjh-framework 1.0.703-testing-module-splittingv6 → 1.0.703
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 +172 -172
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +14 -16
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-d36dc3ca.js → ADInfeed-ede153e2.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-93205fa0.js → ADlgInfeed-6a121a0d.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -32
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +9 -8
- package/dist/cjs/AlphabeticList.js +25 -27
- package/dist/cjs/ArticleCarousel.js +25 -24
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +149 -154
- package/dist/cjs/{AuthorComponent-482218ce.js → AuthorComponent-d19285ed.js} +13 -14
- package/dist/cjs/Beam.js +20 -21
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-e53217a7.js} +24 -27
- package/dist/cjs/Breadcrumbs.js +27 -30
- package/dist/cjs/BrowseVideosListing.js +43 -42
- package/dist/cjs/CMEDeck.js +85 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +35 -37
- package/dist/cjs/Column3.js +58 -60
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +107 -109
- package/dist/cjs/DeckQueue.js +93 -95
- package/dist/cjs/{Dfp-80c3d853.js → Dfp-13ff07b4.js} +35 -34
- package/dist/cjs/EventsDeck.js +157 -164
- package/dist/cjs/ExternalResources.js +78 -77
- package/dist/cjs/Feature.js +25 -26
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +185 -187
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +52 -54
- package/dist/cjs/HamMagazine.js +139 -143
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +75 -78
- package/dist/cjs/IssueDeck.js +74 -77
- package/dist/cjs/IssueLanding.js +74 -73
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +40 -41
- package/dist/cjs/MasterDeck.js +88 -87
- package/dist/cjs/NavDvm.js +75 -81
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -152
- package/dist/cjs/NavNative.js +124 -131
- package/dist/cjs/NavNormal.js +48 -54
- package/dist/cjs/OncliveHero.js +19 -20
- package/dist/cjs/OncliveLargeHero.js +69 -68
- package/dist/cjs/PageFilter.js +14 -16
- package/dist/cjs/PartnerDetailListing.js +113 -112
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -22
- package/dist/cjs/PublicationDeck.js +66 -68
- package/dist/cjs/PublicationLanding.js +144 -146
- package/dist/cjs/QueueDeckExpanded.js +300 -298
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +55 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -23
- package/dist/cjs/Segment.js +20 -21
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-a49e8e9d.js → SocialSearchComponent-1ef1e6fb.js} +32 -36
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -64
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +23 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoSeriesCard.js +36 -35
- package/dist/cjs/VideoSeriesFilter.js +21 -22
- package/dist/cjs/VideoSeriesListing.js +77 -76
- package/dist/cjs/View.js +226 -227
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +74 -73
- package/dist/cjs/{_export-7e018e14.js → _export-a917dedd.js} +161 -17
- package/dist/cjs/{_is-array-4c61cfba.js → _is-array-a82382b4.js} +16 -17
- package/dist/cjs/{_iter-detect-2a826637.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-d088ff6e.js → _set-species-47156c42.js} +17 -18
- package/dist/cjs/{asyncToGenerator-7ca8f87e.js → asyncToGenerator-fd8e35e7.js} +71 -72
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-05029198.js} +6 -7
- 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-fd46a81e.js → define-property-9b6df20e.js} +4 -4
- package/dist/cjs/{defineProperty-edc12c5a.js → defineProperty-d3c0cfc0.js} +2 -2
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-a390d61f.js → es6.string.iterator-e5f4ce45.js} +35 -36
- package/dist/cjs/{extends-0a166456.js → extends-5fde0677.js} +11 -12
- package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +21 -22
- package/dist/cjs/getSerializers.js +44 -42
- package/dist/cjs/{getTargeting-57edbc60.js → getTargeting-5ca9bfaf.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -9
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-80f57cff.js → index-29e3f3a9.js} +16 -19
- package/dist/cjs/{index-cb6ed1fc.js → index-949261b4.js} +4 -4
- package/dist/cjs/{index-0e3597c2.js → index-b1ee7cd9.js} +418 -423
- package/dist/cjs/{index-5ad2b070.js → index-d7577df6.js} +11 -14
- package/dist/cjs/{index-d48b231c.js → index-ff69979f.js} +3 -3
- package/dist/cjs/{index.es-f3e47207.js → index.es-e9d84959.js} +7 -8
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-8a8fa078.js} +17 -18
- package/dist/cjs/index.js +264 -9
- package/dist/cjs/{inherits-a9209207.js → inherits-02a27fbf.js} +18 -19
- 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-d2f5bcf0.js → keys-1a65eb47.js} +5 -6
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-257df6c4.js} +2 -2
- package/dist/cjs/{main-eeffe77b.js → main-1442052b.js} +67 -70
- package/dist/cjs/{moment-aca40de1.js → moment-29403f08.js} +2 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-5604d0d1.js} +26 -29
- package/dist/cjs/{slicedToArray-60dafa9c.js → slicedToArray-d0ac47b9.js} +10 -10
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-03c20c7d.js} +2 -2
- package/dist/cjs/{stringify-44244c64.js → stringify-e064b7d0.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4bb00640.js → toConsumableArray-d47f0c64.js} +13 -14
- package/dist/cjs/{typeof-03c3fdc8.js → typeof-5763a25b.js} +84 -85
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-ede0bc7b.js} +5 -8
- package/dist/cjs/{web.dom.iterable-2d47ebe6.js → web.dom.iterable-cd8a9ccb.js} +10 -11
- package/dist/esm/AD.js +7 -7
- 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 +30 -29
- package/dist/esm/ADFooter.js +11 -12
- package/dist/esm/ADGutter.js +27 -26
- package/dist/esm/{ADInfeed-bf7de12d.js → ADInfeed-d890d5ca.js} +8 -8
- package/dist/esm/ADSkyscraper.js +27 -26
- package/dist/esm/ADSponsoredResources.js +27 -26
- package/dist/esm/ADWebcast.js +27 -26
- package/dist/esm/ADWelcome.js +31 -30
- package/dist/esm/{ADlgInfeed-3ac04591.js → ADlgInfeed-1d006b36.js} +7 -7
- package/dist/esm/AccordionPanel.js +24 -25
- package/dist/esm/AdSlot.js +27 -26
- package/dist/esm/AdSlotsProvider.js +6 -4
- package/dist/esm/AlphabeticList.js +22 -23
- package/dist/esm/ArticleCarousel.js +22 -20
- package/dist/esm/ArticleSeriesListing.js +57 -55
- package/dist/esm/Auth.js +134 -135
- package/dist/esm/{AuthorComponent-22790017.js → AuthorComponent-8ffb1deb.js} +11 -11
- package/dist/esm/Beam.js +20 -21
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e6f64e62.js} +23 -21
- package/dist/esm/Breadcrumbs.js +17 -18
- package/dist/esm/BrowseVideosListing.js +40 -38
- package/dist/esm/CMEDeck.js +82 -80
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +29 -28
- package/dist/esm/Column3.js +51 -50
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +88 -86
- package/dist/esm/DeckQueue.js +71 -69
- package/dist/esm/{Dfp-08279047.js → Dfp-7db56716.js} +25 -23
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +73 -71
- package/dist/esm/Feature.js +18 -17
- package/dist/esm/ForbesHero.js +37 -35
- package/dist/esm/GridContent.js +147 -145
- package/dist/esm/GridHero.js +39 -37
- package/dist/esm/GroupDeck.js +48 -49
- package/dist/esm/HamMagazine.js +112 -111
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +52 -50
- package/dist/esm/IssueDeck.js +49 -47
- package/dist/esm/IssueLanding.js +71 -69
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +36 -35
- package/dist/esm/MasterDeck.js +82 -80
- package/dist/esm/NavDvm.js +57 -58
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -122
- package/dist/esm/NavNative.js +100 -99
- package/dist/esm/NavNormal.js +35 -36
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +62 -60
- package/dist/esm/PageFilter.js +12 -13
- package/dist/esm/PartnerDetailListing.js +109 -107
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -15
- package/dist/esm/PublicationDeck.js +43 -40
- package/dist/esm/PublicationLanding.js +125 -123
- package/dist/esm/QueueDeckExpanded.js +280 -278
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +50 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -13
- package/dist/esm/Segment.js +20 -21
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +37 -36
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-46ea0f4d.js → SocialSearchComponent-4eae0149.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -42
- package/dist/esm/TemplateNormal.js +69 -68
- package/dist/esm/ThumbnailCard.js +16 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +29 -27
- package/dist/esm/VideoSeriesFilter.js +18 -19
- package/dist/esm/VideoSeriesListing.js +71 -69
- package/dist/esm/View.js +217 -214
- package/dist/esm/YahooHero.js +37 -35
- package/dist/esm/YoutubeGroup.js +59 -57
- package/dist/esm/{_export-9029ebab.js → _export-f7ec2adf.js} +133 -2
- package/dist/esm/{_is-array-46713c19.js → _is-array-5bea6006.js} +15 -16
- package/dist/esm/{_iter-detect-60cd145f.js → _iter-detect-65720de7.js} +8 -8
- package/dist/esm/_library-90219a8d.js +3 -0
- package/dist/esm/{_object-pie-33c40e79.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-a4b3fe39.js → _set-species-26ee5c2a.js} +14 -15
- package/dist/esm/{asyncToGenerator-7714cea4.js → asyncToGenerator-0c61f551.js} +71 -72
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-e761d404.js} +3 -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-f2d6f244.js → define-property-7a40a451.js} +4 -4
- package/dist/esm/{defineProperty-69f06029.js → defineProperty-a2ac5d3d.js} +2 -2
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-2efae22d.js → es6.string.iterator-13b94db0.js} +28 -29
- package/dist/esm/{extends-f866c8d0.js → extends-8e0228d5.js} +11 -12
- package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
- package/dist/esm/getRelatedArticle.js +15 -16
- package/dist/esm/getSerializers.js +44 -42
- package/dist/esm/{getTargeting-5cdca4e1.js → getTargeting-d97a1e83.js} +11 -11
- package/dist/esm/getTargeting.js +8 -9
- package/dist/esm/{index-750a7380.js → index-1295881c.js} +2 -2
- package/dist/esm/{index-669ff425.js → index-17490425.js} +11 -9
- package/dist/esm/{index-5db919a6.js → index-4540328d.js} +384 -382
- package/dist/esm/{index-752d1dae.js → index-a4e850af.js} +16 -13
- package/dist/esm/{index-3f5c03b2.js → index-f7fdcc91.js} +3 -3
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-57f377a5.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-8016b507.js → index.esm-4838a32e.js} +15 -15
- package/dist/esm/index.js +176 -11
- package/dist/esm/{inherits-75d6495f.js → inherits-d1948b66.js} +16 -17
- 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-78217618.js → keys-e091cb65.js} +5 -6
- package/dist/esm/{lodash-ad27652f.js → lodash-2b866578.js} +2 -2
- package/dist/esm/{main-decc48f4.js → main-140f99b4.js} +67 -66
- package/dist/esm/{moment-bc12cb97.js → moment-8797a4d3.js} +2 -2
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-40e8d28f.js} +26 -24
- package/dist/esm/{slicedToArray-fa9240c4.js → slicedToArray-8818fe95.js} +10 -10
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-2d74941c.js} +1 -1
- package/dist/esm/{stringify-22907f56.js → stringify-dedf4a20.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-bd01c637.js → toConsumableArray-02217419.js} +13 -14
- package/dist/esm/{typeof-668f30cd.js → typeof-a10a5616.js} +85 -86
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-7b6316cf.js} +5 -3
- package/dist/esm/{web.dom.iterable-89515070.js → web.dom.iterable-c3ba4d37.js} +10 -11
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-4ac28868.js +0 -16
- package/dist/cjs/_to-object-233fc5c9.js +0 -149
- package/dist/cjs/core.get-iterator-method-14f49e03.js +0 -40
- package/dist/esm/_library-528f1934.js +0 -3
- package/dist/esm/_object-sap-108a1939.js +0 -14
- package/dist/esm/_to-object-62924b74.js +0 -135
- package/dist/esm/core.get-iterator-method-6636b3ef.js +0 -37
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -1,76 +1,78 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
3
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
4
|
-
import './slicedToArray-fa9240c4.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
7
|
-
import './es6.string.iterator-
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './extends-
|
|
14
|
-
import './
|
|
15
|
-
import 'react
|
|
16
|
-
import './index-
|
|
17
|
-
import './index.es-c6222053.js';
|
|
18
|
-
import './moment-bc12cb97.js';
|
|
19
|
-
import './visibility-sensor-082c757b.js';
|
|
20
|
-
import 'react-dom';
|
|
21
|
-
import './index-669ff425.js';
|
|
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 './toConsumableArray-02217419.js';
|
|
7
|
+
import './core.get-iterator-method-dbbb346b.js';
|
|
8
|
+
import './_object-pie-8e2f6c3a.js';
|
|
9
|
+
import './extends-8e0228d5.js';
|
|
10
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
11
|
+
import React__default from 'react';
|
|
12
|
+
import './index-17490425.js';
|
|
22
13
|
import 'prop-types';
|
|
23
|
-
import '
|
|
24
|
-
import './
|
|
25
|
-
import './main-decc48f4.js';
|
|
26
|
-
import './entities-932b50cf.js';
|
|
27
|
-
import './ADInfeed-bf7de12d.js';
|
|
28
|
-
import './stringify-22907f56.js';
|
|
14
|
+
import './_react_commonjs-external-22b61490.js';
|
|
15
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
29
16
|
import 'react-bootstrap/Card';
|
|
30
|
-
import './
|
|
31
|
-
import '
|
|
32
|
-
import './isSymbol-
|
|
33
|
-
import './
|
|
34
|
-
import './
|
|
35
|
-
import '
|
|
36
|
-
import './
|
|
17
|
+
import './moment-8797a4d3.js';
|
|
18
|
+
import 'next/router';
|
|
19
|
+
import './isSymbol-2b7f6e65.js';
|
|
20
|
+
import './debounce-7b569c00.js';
|
|
21
|
+
import './index.es-a6137319.js';
|
|
22
|
+
import 'react-dom';
|
|
23
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
24
|
+
import './visibility-sensor-7b6316cf.js';
|
|
25
|
+
import './index-f7fdcc91.js';
|
|
26
|
+
import './index-a4e850af.js';
|
|
27
|
+
import './main-140f99b4.js';
|
|
28
|
+
import './entities-7cc3bf45.js';
|
|
29
|
+
import './stringify-dedf4a20.js';
|
|
30
|
+
import './slicedToArray-8818fe95.js';
|
|
31
|
+
import './asyncToGenerator-0c61f551.js';
|
|
32
|
+
import './_set-species-26ee5c2a.js';
|
|
37
33
|
import './Segment.js';
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
34
|
+
import './Beam.js';
|
|
35
|
+
import './AdSlot.js';
|
|
36
|
+
import './ADInfeed-d890d5ca.js';
|
|
37
|
+
import './lodash-2b866578.js';
|
|
38
|
+
import './ADlgInfeed-1d006b36.js';
|
|
41
39
|
import './getContentCategory-15dcc413.js';
|
|
40
|
+
import './AuthorComponent-8ffb1deb.js';
|
|
41
|
+
import 'react-bootstrap';
|
|
42
42
|
import './timeDifferenceCalc.js';
|
|
43
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
43
44
|
import 'react-bootstrap/Breadcrumb';
|
|
45
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
44
46
|
|
|
45
|
-
/* usage
|
|
46
|
-
import Settings, { Ads } from '../../../../settings'
|
|
47
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
48
|
-
import client from '../../../../client'
|
|
49
|
-
import moment from 'moment'
|
|
50
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
51
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
52
|
-
|
|
53
|
-
const Issue = (props) => {
|
|
54
|
-
const { pubIssue, cache } = props
|
|
55
|
-
const targeting = {
|
|
56
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
57
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
58
|
-
}
|
|
59
|
-
return (
|
|
60
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
61
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
62
|
-
</Shell>
|
|
63
|
-
)
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
Issue.getInitialProps = async (ctx) => {
|
|
67
|
-
const { query } = ctx
|
|
68
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
69
|
-
)
|
|
70
|
-
return { pubIssue }
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export default Issue
|
|
47
|
+
/* usage
|
|
48
|
+
import Settings, { Ads } from '../../../../settings'
|
|
49
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
50
|
+
import client from '../../../../client'
|
|
51
|
+
import moment from 'moment'
|
|
52
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
53
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
54
|
+
|
|
55
|
+
const Issue = (props) => {
|
|
56
|
+
const { pubIssue, cache } = props
|
|
57
|
+
const targeting = {
|
|
58
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
59
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
60
|
+
}
|
|
61
|
+
return (
|
|
62
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
63
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
64
|
+
</Shell>
|
|
65
|
+
)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
Issue.getInitialProps = async (ctx) => {
|
|
69
|
+
const { query } = ctx
|
|
70
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
71
|
+
)
|
|
72
|
+
return { pubIssue }
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export default Issue
|
|
74
76
|
*/
|
|
75
77
|
|
|
76
78
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -96,16 +98,16 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
96
98
|
_props$imageWidth = props.imageWidth,
|
|
97
99
|
imageWidth = _props$imageWidth === undefined ? 480 : _props$imageWidth;
|
|
98
100
|
|
|
99
|
-
return
|
|
101
|
+
return React__default.createElement(
|
|
100
102
|
'div',
|
|
101
103
|
{ id: 'issueLanding' },
|
|
102
|
-
|
|
103
|
-
pubIssue.issue.source &&
|
|
104
|
+
React__default.createElement(Breadcrumbs, null),
|
|
105
|
+
pubIssue.issue.source && React__default.createElement(
|
|
104
106
|
'p',
|
|
105
107
|
{ className: 'badge badge-primary' },
|
|
106
108
|
pubIssue.issue.source
|
|
107
109
|
),
|
|
108
|
-
|
|
110
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
109
111
|
client: client,
|
|
110
112
|
mapping: settings.mapping,
|
|
111
113
|
dataRecord: pubIssue.issue.articles,
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export default KMTracker;
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import React, { useRef, useEffect } from 'react';
|
|
2
|
-
import ListGroup from 'react-bootstrap/ListGroup';
|
|
3
|
-
import ADWebcast from './ADWebcast.js';
|
|
4
|
-
import Segment from './Segment.js';
|
|
5
|
-
import './stringify-22907f56.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './_export-
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import '
|
|
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 './core.get-iterator-method-dbbb346b.js';
|
|
7
|
+
import './_object-pie-8e2f6c3a.js';
|
|
8
|
+
import './extends-8e0228d5.js';
|
|
9
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
10
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
11
|
+
import './index-17490425.js';
|
|
16
12
|
import 'prop-types';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './isSymbol-
|
|
13
|
+
import './_react_commonjs-external-22b61490.js';
|
|
14
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
15
|
+
import './isSymbol-2b7f6e65.js';
|
|
16
|
+
import './debounce-7b569c00.js';
|
|
17
|
+
import './main-140f99b4.js';
|
|
18
|
+
import './stringify-dedf4a20.js';
|
|
19
|
+
import './slicedToArray-8818fe95.js';
|
|
20
|
+
import './asyncToGenerator-0c61f551.js';
|
|
21
|
+
import './_set-species-26ee5c2a.js';
|
|
22
|
+
import Segment from './Segment.js';
|
|
20
23
|
import './Beam.js';
|
|
21
|
-
import './
|
|
22
|
-
import '
|
|
23
|
-
import './
|
|
24
|
-
import './_iter-detect-60cd145f.js';
|
|
25
|
-
import './main-decc48f4.js';
|
|
24
|
+
import './AdSlot.js';
|
|
25
|
+
import ListGroup from 'react-bootstrap/ListGroup';
|
|
26
|
+
import ADWebcast from './ADWebcast.js';
|
|
26
27
|
|
|
27
28
|
var LeftNav = function LeftNav(props) {
|
|
28
29
|
var leftItems = props.leftItems,
|
|
@@ -66,21 +67,21 @@ var LeftNav = function LeftNav(props) {
|
|
|
66
67
|
|
|
67
68
|
var renderListGroupItem = function renderListGroupItem(subRow) {
|
|
68
69
|
if (checkUrlIsExternal(subRow.url)) {
|
|
69
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
70
71
|
'a',
|
|
71
72
|
{ target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '', href: subRow.url },
|
|
72
73
|
subRow.name
|
|
73
74
|
);
|
|
74
75
|
}
|
|
75
76
|
|
|
76
|
-
return
|
|
77
|
+
return React__default.createElement(
|
|
77
78
|
'a',
|
|
78
79
|
{ href: subRow.url || '#', target: subRow.blank ? '_blank' : '_self', needsegmentsupport: subRow.needSegmentSupport ? 'true' : '' },
|
|
79
80
|
subRow.name
|
|
80
81
|
);
|
|
81
82
|
};
|
|
82
83
|
|
|
83
|
-
return
|
|
84
|
+
return React__default.createElement(
|
|
84
85
|
'section',
|
|
85
86
|
{ ref: leftNavRef },
|
|
86
87
|
leftItems && leftItems.map(function (row, index) {
|
|
@@ -88,27 +89,27 @@ var LeftNav = function LeftNav(props) {
|
|
|
88
89
|
// Since Webcast Ad should be between spotlight and sub navigation it should be passed as the second element of leftItems array from site level.
|
|
89
90
|
// Webcast AD should have atleast adUnit , networkID, and "_type" as "webcastAD"
|
|
90
91
|
if (row._type && row._type === 'webcastAD' && row.adUnit) {
|
|
91
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
92
93
|
'div',
|
|
93
94
|
{ key: index },
|
|
94
|
-
|
|
95
|
+
React__default.createElement(ADWebcast, { webcastAd: row, refreshFlag: row.refreshFlag ? row.refreshFlag : false })
|
|
95
96
|
);
|
|
96
97
|
} else {
|
|
97
|
-
return
|
|
98
|
+
return React__default.createElement(
|
|
98
99
|
'nav',
|
|
99
100
|
{ key: index, 'aria-label': 'Secondary' },
|
|
100
|
-
|
|
101
|
+
React__default.createElement(
|
|
101
102
|
'div',
|
|
102
103
|
{ style: { display: 'flex', justifyContent: 'space-between', flexWrap: 'wrap' }, className: 'secondary-nav-title list-group-item active' },
|
|
103
|
-
|
|
104
|
+
React__default.createElement(
|
|
104
105
|
'span',
|
|
105
106
|
{ className: 'mr-1', style: { display: 'inline-block', fontWeight: 'bold', fontSize: '1rem' } },
|
|
106
107
|
row.name
|
|
107
108
|
),
|
|
108
|
-
row.url && SeeAll &&
|
|
109
|
+
row.url && SeeAll && React__default.createElement(
|
|
109
110
|
'span',
|
|
110
111
|
{ style: { marginLeft: 'auto', display: 'inline-block' } },
|
|
111
|
-
|
|
112
|
+
React__default.createElement(
|
|
112
113
|
'a',
|
|
113
114
|
{ style: { color: 'white', fontSize: '.6rem' }, href: row.url },
|
|
114
115
|
'See All ',
|
|
@@ -116,11 +117,11 @@ var LeftNav = function LeftNav(props) {
|
|
|
116
117
|
)
|
|
117
118
|
)
|
|
118
119
|
),
|
|
119
|
-
|
|
120
|
+
React__default.createElement(
|
|
120
121
|
'ul',
|
|
121
122
|
{ style: sideNavStyles },
|
|
122
123
|
row.subQuery && row.subQuery.map(function (subRow, subIndex) {
|
|
123
|
-
return
|
|
124
|
+
return React__default.createElement(
|
|
124
125
|
ListGroup.Item,
|
|
125
126
|
{ as: 'li', key: subIndex + '_2' },
|
|
126
127
|
renderListGroupItem(subRow)
|
|
@@ -133,7 +134,7 @@ var LeftNav = function LeftNav(props) {
|
|
|
133
134
|
);
|
|
134
135
|
};
|
|
135
136
|
|
|
136
|
-
var LeftNav$1 =
|
|
137
|
+
var LeftNav$1 = React__default.memo(LeftNav);
|
|
137
138
|
|
|
138
139
|
export default LeftNav$1;
|
|
139
140
|
export { LeftNav };
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -1,45 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
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 } from './extends-8e0228d5.js';
|
|
10
|
+
import './_object-sap-146241c9.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d1948b66.js';
|
|
12
|
+
import './define-property-7a40a451.js';
|
|
13
|
+
import './web.dom.iterable-c3ba4d37.js';
|
|
14
|
+
import './typeof-a10a5616.js';
|
|
15
|
+
import './_is-array-5bea6006.js';
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-17490425.js';
|
|
18
|
+
import 'prop-types';
|
|
19
|
+
import './_react_commonjs-external-22b61490.js';
|
|
20
|
+
import './_prop-types_commonjs-external-9481d338.js';
|
|
7
21
|
import Container from 'react-bootstrap/Container';
|
|
8
22
|
import 'react-bootstrap/Row';
|
|
9
23
|
import 'react-bootstrap/Col';
|
|
10
24
|
import 'react-bootstrap/Card';
|
|
11
|
-
import './moment-
|
|
25
|
+
import './moment-8797a4d3.js';
|
|
12
26
|
import { withRouter } from 'next/router';
|
|
13
|
-
import
|
|
14
|
-
import { d as
|
|
15
|
-
import { I as InfiniteScroll } from './index.es-
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
17
|
-
import './index-3f5c03b2.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-3ac04591.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-bf7de12d.js';
|
|
20
|
-
import './main-decc48f4.js';
|
|
21
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
|
-
import './es6.string.iterator-2efae22d.js';
|
|
23
|
-
import './_to-object-62924b74.js';
|
|
24
|
-
import './_export-9029ebab.js';
|
|
25
|
-
import './_iter-detect-60cd145f.js';
|
|
26
|
-
import './core.get-iterator-method-6636b3ef.js';
|
|
27
|
-
import './web.dom.iterable-89515070.js';
|
|
28
|
-
import './_library-528f1934.js';
|
|
29
|
-
import './_set-species-a4b3fe39.js';
|
|
30
|
-
import './_object-pie-33c40e79.js';
|
|
31
|
-
import './_object-sap-108a1939.js';
|
|
32
|
-
import './define-property-f2d6f244.js';
|
|
33
|
-
import './typeof-668f30cd.js';
|
|
34
|
-
import './_is-array-46713c19.js';
|
|
35
|
-
import 'prop-types';
|
|
36
|
-
import './isSymbol-807e927e.js';
|
|
27
|
+
import './isSymbol-2b7f6e65.js';
|
|
28
|
+
import { d as debounce } from './debounce-7b569c00.js';
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
37
30
|
import 'react-dom';
|
|
38
|
-
import './
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
31
|
+
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
32
|
+
import { V as VisibilitySensor } from './visibility-sensor-7b6316cf.js';
|
|
33
|
+
import './index-f7fdcc91.js';
|
|
34
|
+
import './main-140f99b4.js';
|
|
35
|
+
import './stringify-dedf4a20.js';
|
|
36
|
+
import './slicedToArray-8818fe95.js';
|
|
37
|
+
import { _ as _Promise } from './asyncToGenerator-0c61f551.js';
|
|
38
|
+
import './_set-species-26ee5c2a.js';
|
|
42
39
|
import './Segment.js';
|
|
40
|
+
import './Beam.js';
|
|
41
|
+
import './AdSlot.js';
|
|
42
|
+
import { A as ADInfeed } from './ADInfeed-d890d5ca.js';
|
|
43
|
+
import { _ } from './lodash-2b866578.js';
|
|
44
|
+
import { A as ADlgInfeed } from './ADlgInfeed-1d006b36.js';
|
|
43
45
|
|
|
44
46
|
var MasterDeck = function (_React$Component) {
|
|
45
47
|
_inherits(MasterDeck, _React$Component);
|
|
@@ -71,7 +73,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
71
73
|
lastDataSize: _this.data ? _this.data.length : 0,
|
|
72
74
|
itemsPerPage: _this.params ? _this.params.to - _this.params.from : 2,
|
|
73
75
|
mobileView: false
|
|
74
|
-
}, _this.loadMore =
|
|
76
|
+
}, _this.loadMore = debounce(function () {
|
|
75
77
|
_this.setState(function (state) {
|
|
76
78
|
var page = state.page,
|
|
77
79
|
from = state.from,
|
|
@@ -225,14 +227,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
225
227
|
}
|
|
226
228
|
|
|
227
229
|
// please leave this for later debug purpose : Yong Jun.
|
|
228
|
-
/* console.log('page change reported', {
|
|
229
|
-
currentPage: currentPage,
|
|
230
|
-
pageNumber: pageNumber,
|
|
231
|
-
pathname: pathname,
|
|
232
|
-
path: path,
|
|
233
|
-
newPath: newPath,
|
|
234
|
-
firstPage: pageNumber === 1,
|
|
235
|
-
queryString: queryString
|
|
230
|
+
/* console.log('page change reported', {
|
|
231
|
+
currentPage: currentPage,
|
|
232
|
+
pageNumber: pageNumber,
|
|
233
|
+
pathname: pathname,
|
|
234
|
+
path: path,
|
|
235
|
+
newPath: newPath,
|
|
236
|
+
firstPage: pageNumber === 1,
|
|
237
|
+
queryString: queryString
|
|
236
238
|
}) */
|
|
237
239
|
|
|
238
240
|
if (pageview) {
|
|
@@ -273,16 +275,16 @@ var MasterDeck = function (_React$Component) {
|
|
|
273
275
|
refreshFlag: brandInsightAd.refreshFlag ? brandInsightAd.refreshFlag : false
|
|
274
276
|
};
|
|
275
277
|
|
|
276
|
-
var chunks =
|
|
277
|
-
var set =
|
|
278
|
+
var chunks = _.chunk(data, 6).map(function (chunk) {
|
|
279
|
+
var set = _.chunk(chunk, 2);
|
|
278
280
|
for (var i = 0; i < set.length; i++) {
|
|
279
281
|
if (i !== set.length - 1) {
|
|
280
282
|
set[i].push(lgInfeed);
|
|
281
283
|
}
|
|
282
284
|
}
|
|
283
|
-
return
|
|
285
|
+
return _.flattenDeep(set);
|
|
284
286
|
});
|
|
285
|
-
data =
|
|
287
|
+
data = _.flatten(chunks);
|
|
286
288
|
!_this.state.dataRemapped && _this.setState({ dataRemapped: true }); // To detect if appending of insights ads are completed
|
|
287
289
|
}
|
|
288
290
|
|
|
@@ -324,7 +326,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
324
326
|
}
|
|
325
327
|
});
|
|
326
328
|
|
|
327
|
-
return
|
|
329
|
+
return React__default.createElement(
|
|
328
330
|
'div',
|
|
329
331
|
null,
|
|
330
332
|
data && _this.state.dataRemapped && data.length > 0 ? // If JS enabled and Data remapped with ads
|
|
@@ -332,24 +334,24 @@ var MasterDeck = function (_React$Component) {
|
|
|
332
334
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
333
335
|
|
|
334
336
|
if (row._type === 'lg-infeed' && row.adUnit) {
|
|
335
|
-
return
|
|
337
|
+
return React__default.createElement(ADlgInfeed, _extends({ index: index }, row));
|
|
336
338
|
// Returning view for infeed Ad
|
|
337
339
|
} else if (row._type === 'brandInsightAd' && row.adUnit) {
|
|
338
|
-
return
|
|
340
|
+
return React__default.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
339
341
|
} else if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
340
342
|
// Returning view for articles
|
|
341
|
-
return
|
|
343
|
+
return React__default.createElement(
|
|
342
344
|
VisibilitySensor,
|
|
343
345
|
{
|
|
344
346
|
key: row._id ? row._id : index,
|
|
345
347
|
onChange: function onChange(isVisible) {
|
|
346
348
|
isVisible && _this.changePageNumber(pageNumber);
|
|
347
349
|
} },
|
|
348
|
-
|
|
349
|
-
|
|
350
|
+
React__default.createElement(
|
|
351
|
+
React__default.Fragment,
|
|
350
352
|
{ key: index },
|
|
351
|
-
|
|
352
|
-
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
353
|
+
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage }),
|
|
354
|
+
_this.state.mobileView && _this.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
353
355
|
'div',
|
|
354
356
|
{ className: 'ad-container', style: { margin: '0 auto' } },
|
|
355
357
|
_this.renderMobileAd(index, numberOfItemsBeforeAd, _this.rightItems)
|
|
@@ -363,27 +365,27 @@ var MasterDeck = function (_React$Component) {
|
|
|
363
365
|
data.map(function (row, index) {
|
|
364
366
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
365
367
|
if (!row._type || !['lg-infeed', 'brandInsightAd'].includes(row._type)) {
|
|
366
|
-
return
|
|
368
|
+
return React__default.createElement(
|
|
367
369
|
VisibilitySensor,
|
|
368
370
|
{
|
|
369
371
|
key: row._id ? row._id : index,
|
|
370
372
|
onChange: function onChange(isVisible) {
|
|
371
373
|
isVisible && _this.changePageNumber(pageNumber);
|
|
372
374
|
} },
|
|
373
|
-
|
|
374
|
-
|
|
375
|
+
React__default.createElement(
|
|
376
|
+
React__default.Fragment,
|
|
375
377
|
{ key: index },
|
|
376
|
-
|
|
378
|
+
React__default.createElement(_this2.Deck, { data: row, variant: variant, index: index, client: _this.props.client, defaultImage: _this.defaultImage })
|
|
377
379
|
)
|
|
378
380
|
);
|
|
379
381
|
}
|
|
380
|
-
}) :
|
|
382
|
+
}) : React__default.createElement(
|
|
381
383
|
'div',
|
|
382
384
|
null,
|
|
383
|
-
|
|
385
|
+
React__default.createElement(
|
|
384
386
|
'h5',
|
|
385
387
|
null,
|
|
386
|
-
|
|
388
|
+
React__default.createElement(
|
|
387
389
|
'em',
|
|
388
390
|
null,
|
|
389
391
|
'New content coming soon, please check back later.'
|
|
@@ -393,7 +395,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
393
395
|
);
|
|
394
396
|
}, _this.renderMobileAd = function (index, numberOfItemsBeforeAd, rightItems) {
|
|
395
397
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
396
|
-
return
|
|
398
|
+
return React__default.createElement(
|
|
397
399
|
'div',
|
|
398
400
|
{ className: 'ad-container', style: { display: 'flex', flex: '1 0 auto', width: '100%', textAlign: 'center', marginBottom: '2rem' } },
|
|
399
401
|
rightItems[i].component
|
|
@@ -410,15 +412,15 @@ var MasterDeck = function (_React$Component) {
|
|
|
410
412
|
return null;
|
|
411
413
|
}
|
|
412
414
|
|
|
413
|
-
return
|
|
415
|
+
return React__default.createElement(
|
|
414
416
|
'div',
|
|
415
417
|
{ className: 'd-flex justify-content-between' },
|
|
416
|
-
currentPage && currentPage > 1 &&
|
|
418
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
417
419
|
'a',
|
|
418
420
|
{ href: '?page=' + (currentPage - 1) },
|
|
419
421
|
'<< Previous'
|
|
420
422
|
),
|
|
421
|
-
|
|
423
|
+
React__default.createElement(
|
|
422
424
|
'a',
|
|
423
425
|
{ href: '?page=' + (currentPage + 1) },
|
|
424
426
|
'Next >>'
|
|
@@ -482,38 +484,38 @@ var MasterDeck = function (_React$Component) {
|
|
|
482
484
|
_props$lgInfeedAd = _props.lgInfeedAd,
|
|
483
485
|
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
484
486
|
|
|
485
|
-
return
|
|
487
|
+
return React__default.createElement(
|
|
486
488
|
'div',
|
|
487
489
|
{ className: 'contentDeck' },
|
|
488
|
-
autoScroll ?
|
|
489
|
-
|
|
490
|
+
autoScroll ? React__default.createElement(
|
|
491
|
+
React__default.Fragment,
|
|
490
492
|
null,
|
|
491
|
-
|
|
493
|
+
React__default.createElement(
|
|
492
494
|
InfiniteScroll,
|
|
493
495
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
494
|
-
|
|
496
|
+
React__default.createElement(
|
|
495
497
|
Container,
|
|
496
498
|
null,
|
|
497
499
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
498
500
|
)
|
|
499
501
|
),
|
|
500
|
-
|
|
502
|
+
React__default.createElement(
|
|
501
503
|
'noscript',
|
|
502
504
|
null,
|
|
503
505
|
this.renderManualPagination()
|
|
504
506
|
)
|
|
505
|
-
) :
|
|
506
|
-
|
|
507
|
+
) : React__default.createElement(
|
|
508
|
+
React__default.Fragment,
|
|
507
509
|
null,
|
|
508
|
-
|
|
510
|
+
React__default.createElement(
|
|
509
511
|
Container,
|
|
510
512
|
null,
|
|
511
513
|
this.cardLoader(page, columns, variant, brandInsightAd, showBI, lgInfeedAd)
|
|
512
514
|
),
|
|
513
|
-
|
|
515
|
+
React__default.createElement(
|
|
514
516
|
'div',
|
|
515
517
|
{ style: { padding: '0px 10px' } },
|
|
516
|
-
this.state.scrolling &&
|
|
518
|
+
this.state.scrolling && React__default.createElement(
|
|
517
519
|
'button',
|
|
518
520
|
{
|
|
519
521
|
className: 'btn',
|
|
@@ -533,7 +535,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
533
535
|
'Load More'
|
|
534
536
|
)
|
|
535
537
|
),
|
|
536
|
-
|
|
538
|
+
React__default.createElement(
|
|
537
539
|
'noscript',
|
|
538
540
|
null,
|
|
539
541
|
this.renderManualPagination()
|
|
@@ -544,7 +546,7 @@ var MasterDeck = function (_React$Component) {
|
|
|
544
546
|
}]);
|
|
545
547
|
|
|
546
548
|
return MasterDeck;
|
|
547
|
-
}(
|
|
549
|
+
}(React__default.Component);
|
|
548
550
|
|
|
549
551
|
var MasterDeck$1 = withRouter(MasterDeck);
|
|
550
552
|
|