@mjhls/mjh-framework 1.0.703 → 1.0.704-beta-v2
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 +17 -19
- package/dist/cjs/AD300x250x600.js +17 -19
- package/dist/cjs/AD728x90.js +18 -20
- package/dist/cjs/ADFloatingFooter.js +16 -18
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +16 -18
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-38066a36.js} +2 -2
- package/dist/cjs/ADSkyscraper.js +16 -18
- package/dist/cjs/ADSponsoredResources.js +16 -18
- package/dist/cjs/ADWebcast.js +16 -18
- package/dist/cjs/ADWelcome.js +17 -19
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-d95c9027.js} +2 -2
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +17 -19
- package/dist/cjs/AdSlotsProvider.js +2 -4
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +13 -16
- package/dist/cjs/ArticleSeriesListing.js +24 -27
- package/dist/cjs/Auth.js +280 -762
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-bb831b74.js} +1 -1
- package/dist/cjs/Beam.js +19 -19
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-80b15fac.js} +25 -23
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/BrowseVideosListing.js +14 -17
- package/dist/cjs/CMEDeck.js +23 -26
- package/dist/cjs/Column2.js +13 -15
- package/dist/cjs/Column3.js +22 -24
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +30 -33
- package/dist/cjs/DeckQueue.js +29 -32
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-390337bf.js} +10 -13
- package/dist/cjs/EventsDeck.js +34 -35
- package/dist/cjs/ExternalResources.js +32 -35
- package/dist/cjs/Feature.js +3 -4
- package/dist/cjs/ForbesHero.js +9 -12
- package/dist/cjs/GridContent.js +42 -45
- package/dist/cjs/GridHero.js +9 -12
- package/dist/cjs/GroupDeck.js +13 -13
- package/dist/cjs/HamMagazine.js +17 -19
- 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 +9 -12
- package/dist/cjs/IssueDeck.js +12 -15
- package/dist/cjs/IssueLanding.js +26 -29
- package/dist/cjs/LeftNav.js +16 -18
- package/dist/cjs/MasterDeck.js +34 -37
- package/dist/cjs/NavDvm.js +9 -9
- package/dist/cjs/NavMagazine.js +17 -19
- package/dist/cjs/NavNative.js +14 -16
- package/dist/cjs/NavNormal.js +10 -10
- package/dist/cjs/OncliveHero.js +3 -2
- package/dist/cjs/OncliveLargeHero.js +9 -12
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +38 -41
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PublicationDeck.js +5 -8
- package/dist/cjs/PublicationLanding.js +57 -60
- package/dist/cjs/QueueDeckExpanded.js +33 -36
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +3 -6
- 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 +14 -16
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-56d49a1a.js} +7 -7
- package/dist/cjs/TaxonomyCard.js +7 -10
- package/dist/cjs/TemplateNormal.js +31 -33
- package/dist/cjs/ThumbnailCard.js +2 -5
- package/dist/cjs/Ustream.js +9 -10
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +10 -13
- package/dist/cjs/VideoSeriesFilter.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +24 -27
- package/dist/cjs/View.js +46 -49
- package/dist/cjs/YahooHero.js +9 -12
- package/dist/cjs/YoutubeGroup.js +14 -17
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-754e012d.js} +11 -11
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-60b2f026.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-f92c67c5.js} +17 -17
- package/dist/cjs/{_export-a917dedd.js → _to-object-329a650b.js} +31 -31
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-533d476a.js} +69 -69
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-156bd4d6.js} +3 -4
- package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-f4d12f4e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-55548b25.js} +2 -2
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-cc0bbaa4.js} +34 -34
- package/dist/cjs/{extends-5fde0677.js → extends-60837c34.js} +11 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +72 -134
- package/dist/cjs/getSerializers.js +30 -33
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-d7577df6.js → index-099d45ae.js} +16 -12
- package/dist/cjs/{index-949261b4.js → index-3294d3bc.js} +19 -18
- package/dist/cjs/{index-ff69979f.js → index-39beccb3.js} +21 -26
- package/dist/cjs/{index-b1ee7cd9.js → index-58dae365.js} +329 -335
- package/dist/cjs/{index-29e3f3a9.js → index-da796b8c.js} +12 -11
- package/dist/cjs/{index.es-e9d84959.js → index.es-9110add6.js} +5 -23
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-4d410430.js} +4 -3
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +54 -57
- package/dist/cjs/{inherits-02a27fbf.js → inherits-513d81cd.js} +16 -16
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-a586b7a0.js} +5 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-1442052b.js → main-03ffa84c.js} +57 -90
- package/dist/cjs/{moment-29403f08.js → moment-575fe24c.js} +8 -11
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-f7f48f71.js} +13 -11
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-8f385299.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-95231a70.js} +1 -1
- package/dist/cjs/{stringify-e064b7d0.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-9a3476fe.js} +13 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-725500bc.js} +84 -84
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-0c45a583.js} +6 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-a0e279c1.js} +10 -10
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +19 -21
- package/dist/esm/AD300x250x600.js +19 -21
- package/dist/esm/AD728x90.js +20 -22
- package/dist/esm/ADFloatingFooter.js +18 -20
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +18 -20
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-7b1b2fcb.js} +4 -4
- package/dist/esm/ADSkyscraper.js +18 -20
- package/dist/esm/ADSponsoredResources.js +18 -20
- package/dist/esm/ADWebcast.js +18 -20
- package/dist/esm/ADWelcome.js +19 -21
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-2afe92e6.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +17 -19
- package/dist/esm/AdSlotsProvider.js +2 -4
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +13 -16
- package/dist/esm/ArticleSeriesListing.js +24 -27
- package/dist/esm/Auth.js +280 -762
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-00f13201.js} +1 -1
- package/dist/esm/Beam.js +19 -19
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-c409aca5.js} +21 -23
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/BrowseVideosListing.js +14 -17
- package/dist/esm/CMEDeck.js +23 -26
- package/dist/esm/Column2.js +13 -15
- package/dist/esm/Column3.js +22 -24
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +30 -33
- package/dist/esm/DeckQueue.js +29 -32
- package/dist/esm/{Dfp-7db56716.js → Dfp-741c01be.js} +10 -13
- package/dist/esm/EventsDeck.js +34 -35
- package/dist/esm/ExternalResources.js +32 -35
- package/dist/esm/Feature.js +3 -4
- package/dist/esm/ForbesHero.js +9 -12
- package/dist/esm/GridContent.js +42 -45
- package/dist/esm/GridHero.js +9 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +17 -19
- 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 +9 -12
- package/dist/esm/IssueDeck.js +12 -15
- package/dist/esm/IssueLanding.js +26 -29
- package/dist/esm/LeftNav.js +16 -18
- package/dist/esm/MasterDeck.js +34 -37
- package/dist/esm/NavDvm.js +9 -9
- package/dist/esm/NavMagazine.js +17 -19
- package/dist/esm/NavNative.js +14 -16
- package/dist/esm/NavNormal.js +10 -10
- package/dist/esm/OncliveHero.js +3 -2
- package/dist/esm/OncliveLargeHero.js +9 -12
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +38 -41
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PublicationDeck.js +5 -8
- package/dist/esm/PublicationLanding.js +57 -60
- package/dist/esm/QueueDeckExpanded.js +33 -36
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +3 -6
- 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 +14 -16
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-677ed3bd.js} +7 -7
- package/dist/esm/TaxonomyCard.js +7 -10
- package/dist/esm/TemplateNormal.js +33 -35
- package/dist/esm/ThumbnailCard.js +2 -5
- package/dist/esm/Ustream.js +9 -10
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +10 -13
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesListing.js +24 -27
- package/dist/esm/View.js +51 -54
- package/dist/esm/YahooHero.js +9 -12
- package/dist/esm/YoutubeGroup.js +14 -17
- package/dist/esm/{_is-array-5bea6006.js → _is-array-49698029.js} +10 -10
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-59409a32.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-71ac75a4.js} +1 -1
- package/dist/esm/_object-sap-4d59d5bd.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-cede29f8.js} +14 -14
- package/dist/esm/{_export-f7ec2adf.js → _to-object-ded78eb9.js} +3 -3
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7c654f36.js} +69 -69
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -4
- package/dist/esm/core.get-iterator-method-54d2e411.js +36 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-de3fc946.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-b798470d.js} +2 -2
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-9b2af4a5.js} +27 -27
- package/dist/esm/{extends-8e0228d5.js → extends-cc5da797.js} +11 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +72 -134
- package/dist/esm/getSerializers.js +30 -33
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-2acdec91.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-f7fdcc91.js → index-3849e3fe.js} +21 -26
- package/dist/esm/{index-17490425.js → index-3f4dd6f2.js} +12 -12
- package/dist/esm/{index-a4e850af.js → index-5f9f807a.js} +8 -11
- package/dist/esm/{index-4540328d.js → index-7779a6df.js} +332 -338
- package/dist/esm/{index-1295881c.js → index-ef6d5dcf.js} +17 -16
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-4838a32e.js → index.esm-fd746768.js} +4 -3
- package/dist/esm/index.js +54 -57
- package/dist/esm/{inherits-d1948b66.js → inherits-7ee3e0c1.js} +16 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-fc2d4c34.js} +5 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-140f99b4.js → main-35ff7b4f.js} +52 -88
- package/dist/esm/{moment-8797a4d3.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-a7d5c5c7.js} +9 -11
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-7021e5df.js} +10 -10
- package/dist/esm/{stringify-dedf4a20.js → stringify-008c8802.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-725434a0.js} +13 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-08f2c380.js} +85 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-0baa4eea.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-8956f9a5.js} +10 -10
- package/package.json +3 -3
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
- /package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-4b699764.js} +0 -0
|
@@ -1,19 +1,16 @@
|
|
|
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 './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default, { useState } from 'react';
|
|
7
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
7
|
+
import { b as lib_1, a as lib_2 } from './index-3f4dd6f2.js';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './isSymbol-2b7f6e65.js';
|
|
12
|
-
import { d as debounce } from './debounce-7b569c00.js';
|
|
9
|
+
import './isSymbol-807e927e.js';
|
|
10
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
13
11
|
import 'react-dom';
|
|
14
|
-
import './
|
|
15
|
-
import {
|
|
16
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
12
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
13
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
17
14
|
|
|
18
15
|
var AD = function AD(_ref) {
|
|
19
16
|
var networkID = _ref.networkID,
|
|
@@ -36,7 +33,7 @@ var AD = function AD(_ref) {
|
|
|
36
33
|
showPlaceholder = _useState4[0],
|
|
37
34
|
setShowPlaceholder = _useState4[1];
|
|
38
35
|
|
|
39
|
-
var handleVisibilityChange =
|
|
36
|
+
var handleVisibilityChange = debounce_1(function (_ref2) {
|
|
40
37
|
var event = _ref2.event;
|
|
41
38
|
|
|
42
39
|
if (event.inViewPercentage <= 0) {
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import {
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_iter-detect-
|
|
5
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
6
|
-
import './core.get-iterator-method-
|
|
7
|
-
import {
|
|
8
|
-
import { _ as _extends } from './extends-
|
|
9
|
-
import './define-property-
|
|
10
|
-
import './web.dom.iterable-
|
|
2
|
+
import { _ as _toIobject, a as _objectKeys, b as _descriptors, c as _export, d as _core } from './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_iter-detect-59409a32.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import { _ as _objectPie } from './_object-pie-71ac75a4.js';
|
|
8
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
9
|
+
import './define-property-de3fc946.js';
|
|
10
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
11
11
|
import React__default, { useState, useEffect } from 'react';
|
|
12
|
-
import './_react_commonjs-external-22b61490.js';
|
|
13
12
|
import Container from 'react-bootstrap/Container';
|
|
14
13
|
import Row from 'react-bootstrap/Row';
|
|
15
14
|
import Col from 'react-bootstrap/Col';
|
|
16
15
|
import Card from 'react-bootstrap/Card';
|
|
17
|
-
import './moment-
|
|
16
|
+
import './moment-e2f9b20c.js';
|
|
18
17
|
import { useRouter } from 'next/router';
|
|
19
|
-
import { I as InfiniteScroll } from './index.es-
|
|
20
|
-
import './main-
|
|
21
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
22
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
18
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
19
|
+
import './main-35ff7b4f.js';
|
|
20
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
21
|
+
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
|
|
23
22
|
import Button from 'react-bootstrap/Button';
|
|
24
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
23
|
+
import { _ as _defineProperty } from './defineProperty-b798470d.js';
|
|
25
24
|
import Spinner from 'react-bootstrap/Spinner';
|
|
26
25
|
import Form from 'react-bootstrap/Form';
|
|
27
|
-
import { m as
|
|
28
|
-
import {
|
|
26
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
27
|
+
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
29
28
|
|
|
30
|
-
var isEnum =
|
|
29
|
+
var isEnum = _objectPie.f;
|
|
31
30
|
var _objectToArray = function (isEntries) {
|
|
32
31
|
return function (it) {
|
|
33
|
-
var O =
|
|
34
|
-
var keys =
|
|
32
|
+
var O = _toIobject(it);
|
|
33
|
+
var keys = _objectKeys(O);
|
|
35
34
|
var length = keys.length;
|
|
36
35
|
var i = 0;
|
|
37
36
|
var result = [];
|
|
38
37
|
var key;
|
|
39
38
|
while (length > i) {
|
|
40
39
|
key = keys[i++];
|
|
41
|
-
if (!
|
|
40
|
+
if (!_descriptors || isEnum.call(O, key)) {
|
|
42
41
|
result.push(isEntries ? [key, O[key]] : O[key]);
|
|
43
42
|
}
|
|
44
43
|
}
|
|
@@ -50,13 +49,13 @@ var _objectToArray = function (isEntries) {
|
|
|
50
49
|
|
|
51
50
|
var $entries = _objectToArray(true);
|
|
52
51
|
|
|
53
|
-
|
|
52
|
+
_export(_export.S, 'Object', {
|
|
54
53
|
entries: function entries(it) {
|
|
55
54
|
return $entries(it);
|
|
56
55
|
}
|
|
57
56
|
});
|
|
58
57
|
|
|
59
|
-
var entries =
|
|
58
|
+
var entries = _core.Object.entries;
|
|
60
59
|
|
|
61
60
|
var entries$1 = createCommonjsModule(function (module) {
|
|
62
61
|
module.exports = { "default": entries, __esModule: true };
|
|
@@ -66,7 +65,7 @@ var _Object$entries = unwrapExports(entries$1);
|
|
|
66
65
|
|
|
67
66
|
var clientId = process.env.CVENT_CLIENT_ID;
|
|
68
67
|
var clientSecret = process.env.CVENT_CLIENT_SECRET;
|
|
69
|
-
var currentTime =
|
|
68
|
+
var currentTime = momentTimezone().toISOString();
|
|
70
69
|
var itemsPerPage = 200;
|
|
71
70
|
|
|
72
71
|
var EventsDeck = function EventsDeck(_ref) {
|
|
@@ -170,9 +169,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
170
169
|
if (a.start.indexOf('TBD') >= 0 || b.start.indexOf('TBD') >= 0) {
|
|
171
170
|
return -1;
|
|
172
171
|
}
|
|
173
|
-
if (
|
|
172
|
+
if (momentTimezone(a.start).isAfter(b.start)) {
|
|
174
173
|
return 1;
|
|
175
|
-
} else if (
|
|
174
|
+
} else if (momentTimezone(a.start).isBefore(b.start)) {
|
|
176
175
|
return -1;
|
|
177
176
|
}
|
|
178
177
|
return 0;
|
|
@@ -260,7 +259,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
260
259
|
setMobileView(true);
|
|
261
260
|
}
|
|
262
261
|
// get access token
|
|
263
|
-
var cventAccessToken =
|
|
262
|
+
var cventAccessToken = js_cookie.get('cvent_access_token');
|
|
264
263
|
if (cventAccessToken && cventAccessToken !== 'undefined') {
|
|
265
264
|
setAccessToken(cventAccessToken);
|
|
266
265
|
} else {
|
|
@@ -299,7 +298,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
299
298
|
return response.json();
|
|
300
299
|
}).then(function (json) {
|
|
301
300
|
var inOneHour = new Date(new Date().getTime() + 60 * 60 * 1000);
|
|
302
|
-
|
|
301
|
+
js_cookie.set('cvent_access_token', json.access_token, { expires: inOneHour });
|
|
303
302
|
setAccessToken(json.access_token);
|
|
304
303
|
}).catch(function (e) {
|
|
305
304
|
return console.log(e);
|
|
@@ -643,8 +642,8 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
643
642
|
_row$showEndDate = row.showEndDate,
|
|
644
643
|
showEndDate = _row$showEndDate === undefined ? true : _row$showEndDate;
|
|
645
644
|
|
|
646
|
-
var now =
|
|
647
|
-
var isRegister =
|
|
645
|
+
var now = momentTimezone().tz(timezone);
|
|
646
|
+
var isRegister = momentTimezone(now).isBefore(end);
|
|
648
647
|
var discussionTopic = row.customFields ? row.customFields.reduce(function (result, item) {
|
|
649
648
|
if (item.name === 'Discussion Topic' && item.value) {
|
|
650
649
|
result = item.value[0];
|
|
@@ -659,9 +658,9 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
659
658
|
}
|
|
660
659
|
return result;
|
|
661
660
|
}, '') : '';
|
|
662
|
-
var startDay =
|
|
663
|
-
var endDay =
|
|
664
|
-
var showEndTime =
|
|
661
|
+
var startDay = momentTimezone(start).tz(timezone).format();
|
|
662
|
+
var endDay = momentTimezone(end).tz(timezone).format();
|
|
663
|
+
var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
|
|
665
664
|
var isCompleted = row.status === 'Completed';
|
|
666
665
|
return React__default.createElement(
|
|
667
666
|
React__default.Fragment,
|
|
@@ -717,7 +716,7 @@ var EventsDeck = function EventsDeck(_ref) {
|
|
|
717
716
|
) : React__default.createElement(
|
|
718
717
|
'p',
|
|
719
718
|
{ className: 'start-time', style: { padding: 0, margin: 0 } },
|
|
720
|
-
start.indexOf('T') >= 0 ?
|
|
719
|
+
start.indexOf('T') >= 0 ? momentTimezone(start).tz(timezone).format('LLL zz') : momentTimezone(start).format('LL'),
|
|
721
720
|
showEndDate && showEndTime
|
|
722
721
|
)
|
|
723
722
|
)
|
|
@@ -1,53 +1,50 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import './toConsumableArray-
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './_object-pie-
|
|
9
|
-
import { _ as _extends } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
+
import './_object-pie-71ac75a4.js';
|
|
9
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
16
|
import React__default, { useState, useEffect } from 'react';
|
|
17
|
-
import './index-
|
|
17
|
+
import './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
|
-
import './_react_commonjs-external-22b61490.js';
|
|
20
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
21
19
|
import 'react-bootstrap/Row';
|
|
22
20
|
import 'react-bootstrap/Col';
|
|
23
|
-
import './moment-
|
|
21
|
+
import './moment-e2f9b20c.js';
|
|
24
22
|
import { useRouter } from 'next/router';
|
|
25
|
-
import './isSymbol-
|
|
26
|
-
import './debounce-
|
|
23
|
+
import './isSymbol-807e927e.js';
|
|
24
|
+
import './debounce-1a993acf.js';
|
|
27
25
|
import 'react-dom';
|
|
28
|
-
import './
|
|
29
|
-
import './index-
|
|
30
|
-
import './
|
|
31
|
-
import './main-140f99b4.js';
|
|
26
|
+
import './index-3849e3fe.js';
|
|
27
|
+
import './index-5f9f807a.js';
|
|
28
|
+
import './main-35ff7b4f.js';
|
|
32
29
|
import './entities-7cc3bf45.js';
|
|
33
|
-
import './stringify-
|
|
34
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
35
|
-
import './asyncToGenerator-
|
|
36
|
-
import './_set-species-
|
|
30
|
+
import './stringify-008c8802.js';
|
|
31
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
32
|
+
import './asyncToGenerator-7c654f36.js';
|
|
33
|
+
import './_set-species-cede29f8.js';
|
|
37
34
|
import './Segment.js';
|
|
38
35
|
import './Beam.js';
|
|
39
36
|
import './AdSlot.js';
|
|
40
|
-
import { B as BlockContent } from './BlockContent-
|
|
41
|
-
import './smoothscroll-
|
|
37
|
+
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
38
|
+
import './smoothscroll-4b699764.js';
|
|
42
39
|
import './GroupDeck.js';
|
|
43
40
|
import 'react-bootstrap';
|
|
44
41
|
import './iconBase-602d52fe.js';
|
|
45
|
-
import './index.esm-
|
|
42
|
+
import './index.esm-29e48d38.js';
|
|
46
43
|
import Button from 'react-bootstrap/Button';
|
|
47
|
-
import { m as
|
|
48
|
-
import { g as getSerializers } from './index-
|
|
44
|
+
import { m as momentTimezone } from './index-ef6d5dcf.js';
|
|
45
|
+
import { g as getSerializers } from './index-7779a6df.js';
|
|
49
46
|
import './util-7700fc59.js';
|
|
50
|
-
import './brightcove-react-player-loader.es-
|
|
47
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
51
48
|
import 'react-bootstrap/Pagination';
|
|
52
49
|
import 'next/head';
|
|
53
50
|
import 'react-bootstrap/Figure';
|
|
@@ -139,7 +136,7 @@ var ExternalResources = function ExternalResources(props) {
|
|
|
139
136
|
React__default.createElement(
|
|
140
137
|
'p',
|
|
141
138
|
null,
|
|
142
|
-
|
|
139
|
+
momentTimezone.tz(r.displayDate, 'America/New_York').format('MMMM Do YYYY, h:mm a z')
|
|
143
140
|
)
|
|
144
141
|
),
|
|
145
142
|
r.speakers && React__default.createElement(
|
package/dist/esm/Feature.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './
|
|
4
|
-
import {
|
|
5
|
-
import { m as main_40 } from './main-140f99b4.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
4
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
6
5
|
import Carousel from 'react-bootstrap/Carousel';
|
|
7
6
|
|
|
8
7
|
//Feature query to be used
|
|
@@ -35,7 +34,7 @@ var Feature = function Feature(props) {
|
|
|
35
34
|
};
|
|
36
35
|
//image width updated.
|
|
37
36
|
var imageWidth = 450;
|
|
38
|
-
if (
|
|
37
|
+
if (main_36) {
|
|
39
38
|
imageWidth = 225;
|
|
40
39
|
}
|
|
41
40
|
|
package/dist/esm/ForbesHero.js
CHANGED
|
@@ -1,19 +1,16 @@
|
|
|
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 './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import './
|
|
9
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
10
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
9
|
import 'react-dom';
|
|
12
|
-
import './
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import './
|
|
16
|
-
import { A as AuthorComponent } from './AuthorComponent-8ffb1deb.js';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
12
|
+
import './slicedToArray-7021e5df.js';
|
|
13
|
+
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
|
17
14
|
|
|
18
15
|
var fbsHero = function fbsHero(props) {
|
|
19
16
|
var removeTimeStamp = props.removeTimeStamp;
|
package/dist/esm/GridContent.js
CHANGED
|
@@ -1,53 +1,50 @@
|
|
|
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 } from './extends-
|
|
10
|
-
import './_object-sap-
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
12
|
-
import './define-property-
|
|
13
|
-
import './web.dom.iterable-
|
|
14
|
-
import './typeof-
|
|
15
|
-
import './_is-array-
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
+
import './_object-pie-71ac75a4.js';
|
|
9
|
+
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
16
|
import React__default from 'react';
|
|
17
|
-
import { l as lib_3 } from './index-
|
|
17
|
+
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
18
18
|
import 'prop-types';
|
|
19
|
-
import './_react_commonjs-external-22b61490.js';
|
|
20
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
21
19
|
import Container from 'react-bootstrap/Container';
|
|
22
20
|
import Row from 'react-bootstrap/Row';
|
|
23
21
|
import Col from 'react-bootstrap/Col';
|
|
24
22
|
import Card from 'react-bootstrap/Card';
|
|
25
|
-
import { m as moment } from './moment-
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
26
24
|
import { withRouter } from 'next/router';
|
|
27
|
-
import './isSymbol-
|
|
28
|
-
import { d as
|
|
29
|
-
import { I as InfiniteScroll } from './index.es-
|
|
25
|
+
import './isSymbol-807e927e.js';
|
|
26
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
30
28
|
import 'react-dom';
|
|
31
|
-
import './
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { m as main_40 } from './main-140f99b4.js';
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
30
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
31
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
32
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
36
33
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
|
-
import './stringify-
|
|
38
|
-
import './slicedToArray-
|
|
39
|
-
import './asyncToGenerator-
|
|
40
|
-
import './_set-species-
|
|
34
|
+
import './stringify-008c8802.js';
|
|
35
|
+
import './slicedToArray-7021e5df.js';
|
|
36
|
+
import './asyncToGenerator-7c654f36.js';
|
|
37
|
+
import './_set-species-cede29f8.js';
|
|
41
38
|
import './Segment.js';
|
|
42
39
|
import './Beam.js';
|
|
43
40
|
import './AdSlot.js';
|
|
44
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
45
|
-
import {
|
|
46
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
41
|
+
import { A as ADInfeed } from './ADInfeed-7b1b2fcb.js';
|
|
42
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
43
|
+
import { A as ADlgInfeed } from './ADlgInfeed-2afe92e6.js';
|
|
47
44
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
48
|
-
import { g as
|
|
45
|
+
import { g as get_1 } from './get-5ee14cda.js';
|
|
49
46
|
import './AD.js';
|
|
50
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
47
|
+
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
|
51
48
|
|
|
52
49
|
var GridContent = function (_React$Component) {
|
|
53
50
|
_inherits(GridContent, _React$Component);
|
|
@@ -76,7 +73,7 @@ var GridContent = function (_React$Component) {
|
|
|
76
73
|
lgInfeedAd: _this.props.lgInfeedAd ? _this.props.lgInfeedAd : false,
|
|
77
74
|
showCategory: _this.props.showCategory ? _this.props.showCategory : false,
|
|
78
75
|
contentCategoryMapping: _this.props.contentCategoryMapping ? contentCategoryMapping : []
|
|
79
|
-
}, _this.loadMore =
|
|
76
|
+
}, _this.loadMore = debounce_1(function () {
|
|
80
77
|
_this.setState(function (state) {
|
|
81
78
|
var page = state.page,
|
|
82
79
|
from = state.from,
|
|
@@ -287,7 +284,7 @@ var GridContent = function (_React$Component) {
|
|
|
287
284
|
{ md: 12, lg: 4 },
|
|
288
285
|
React__default.createElement(
|
|
289
286
|
'a',
|
|
290
|
-
{ href: _this2.page + '/' +
|
|
287
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
291
288
|
React__default.createElement(
|
|
292
289
|
LazyLoad,
|
|
293
290
|
{ height: _this2.props.imageHeight },
|
|
@@ -306,7 +303,7 @@ var GridContent = function (_React$Component) {
|
|
|
306
303
|
null,
|
|
307
304
|
React__default.createElement(
|
|
308
305
|
'a',
|
|
309
|
-
{ href: _this2.page + '/' +
|
|
306
|
+
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
310
307
|
row.title
|
|
311
308
|
)
|
|
312
309
|
),
|
|
@@ -393,17 +390,17 @@ var GridContent = function (_React$Component) {
|
|
|
393
390
|
/* Passing refresh flag */
|
|
394
391
|
refreshFlag: brandInsight.refreshFlag ? brandInsight.refreshFlag : false
|
|
395
392
|
};
|
|
396
|
-
var chunks =
|
|
397
|
-
var set =
|
|
393
|
+
var chunks = lodash.chunk(data, 6).map(function (chunk) {
|
|
394
|
+
var set = lodash.chunk(chunk, 2);
|
|
398
395
|
for (var i = 0; i < set.length; i++) {
|
|
399
396
|
if (i !== set.length - 1) {
|
|
400
397
|
set[i].push(lgInFeedAd);
|
|
401
398
|
}
|
|
402
399
|
}
|
|
403
|
-
return
|
|
400
|
+
return lodash.flattenDeep(set);
|
|
404
401
|
});
|
|
405
402
|
|
|
406
|
-
posts =
|
|
403
|
+
posts = lodash.flatten(chunks);
|
|
407
404
|
}
|
|
408
405
|
|
|
409
406
|
if (showBI) {
|
|
@@ -534,7 +531,7 @@ var GridContent = function (_React$Component) {
|
|
|
534
531
|
)
|
|
535
532
|
),
|
|
536
533
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
537
|
-
|
|
534
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
538
535
|
);
|
|
539
536
|
} else {
|
|
540
537
|
return React__default.createElement(
|
|
@@ -598,7 +595,7 @@ var GridContent = function (_React$Component) {
|
|
|
598
595
|
)
|
|
599
596
|
),
|
|
600
597
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
601
|
-
|
|
598
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
602
599
|
);
|
|
603
600
|
}
|
|
604
601
|
} else if (row._type === 'lg-infeed' && row.adUnit) {
|
|
@@ -686,7 +683,7 @@ var GridContent = function (_React$Component) {
|
|
|
686
683
|
)
|
|
687
684
|
),
|
|
688
685
|
showVideo && (posts.length < numberOfItemsBeforeVideo || index + 1 === numberOfItemsBeforeVideo) && React__default.createElement(VideoPlayer, null),
|
|
689
|
-
|
|
686
|
+
main_36 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
690
687
|
);
|
|
691
688
|
} else return null;
|
|
692
689
|
}) : React__default.createElement(
|
package/dist/esm/GridHero.js
CHANGED
|
@@ -1,20 +1,17 @@
|
|
|
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 './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import './
|
|
9
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
10
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
8
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
9
|
import 'react-dom';
|
|
12
|
-
import './
|
|
13
|
-
import {
|
|
14
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
10
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
11
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
15
12
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
16
|
-
import './slicedToArray-
|
|
17
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
13
|
+
import './slicedToArray-7021e5df.js';
|
|
14
|
+
import { A as AuthorComponent } from './AuthorComponent-00f13201.js';
|
|
18
15
|
|
|
19
16
|
var GridHero = function GridHero(props) {
|
|
20
17
|
var topArticle = props.dataRecord[0];
|
package/dist/esm/GroupDeck.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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 './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
6
|
+
import './_object-pie-71ac75a4.js';
|
|
7
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
8
|
+
import { _ as _typeof } from './typeof-08f2c380.js';
|
|
9
|
+
import './_is-array-49698029.js';
|
|
10
10
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
11
|
-
import { i as imageUrlBuilder } from './index-
|
|
12
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
13
|
-
import { s as smoothscroll, g as
|
|
11
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
12
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
13
|
+
import { s as smoothscroll, g as getYoutubeId } from './smoothscroll-4b699764.js';
|
|
14
14
|
|
|
15
15
|
var GroupDeck = function GroupDeck(props) {
|
|
16
16
|
// Props should be an array of objects containing Thumbnail, title, and URL
|
|
@@ -167,7 +167,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
167
167
|
} else if (_typeof(video.thumbnail == 'string')) {
|
|
168
168
|
thumbnail = video.thumbnail;
|
|
169
169
|
} else {
|
|
170
|
-
thumbnail = 'https://img.youtube.com/vi/' +
|
|
170
|
+
thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
return React__default.createElement(
|
|
@@ -241,7 +241,7 @@ var GroupDeck = function GroupDeck(props) {
|
|
|
241
241
|
} else if (_typeof(video.thumbnail == 'string')) {
|
|
242
242
|
_thumbnail = video.thumbnail;
|
|
243
243
|
} else {
|
|
244
|
-
_thumbnail = 'https://img.youtube.com/vi/' +
|
|
244
|
+
_thumbnail = 'https://img.youtube.com/vi/' + getYoutubeId(video.url) + '/hqdefault.jpg';
|
|
245
245
|
}
|
|
246
246
|
return React__default.createElement(
|
|
247
247
|
'div',
|