@mjhls/mjh-framework 1.0.704-beta-v8 → 1.0.704
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 +10 -9
- package/dist/cjs/AD300x250.js +25 -24
- package/dist/cjs/AD300x250x600.js +25 -24
- package/dist/cjs/AD728x90.js +28 -27
- package/dist/cjs/ADFloatingFooter.js +27 -26
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +27 -26
- package/dist/cjs/{ADInfeed-44d61c86.js → ADInfeed-54ab0509.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +27 -26
- package/dist/cjs/ADSponsoredResources.js +27 -26
- package/dist/cjs/ADWebcast.js +27 -26
- package/dist/cjs/ADWelcome.js +32 -33
- package/dist/cjs/{ADlgInfeed-52acb8f4.js → ADlgInfeed-a1255904.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +32 -32
- package/dist/cjs/AdSlotsProvider.js +8 -7
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +22 -21
- package/dist/cjs/ArticleSeriesListing.js +58 -57
- package/dist/cjs/Auth.js +816 -330
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +40 -39
- package/dist/cjs/CMEDeck.js +78 -78
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-390337bf.js → Dfp-a863cf48.js} +31 -30
- package/dist/cjs/EventsDeck.js +136 -129
- package/dist/cjs/ExternalResources.js +75 -74
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +181 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +135 -130
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +72 -71
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +123 -115
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +106 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +65 -61
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-56d49a1a.js → SocialSearchComponent-294bd0ea.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +73 -72
- package/dist/cjs/View.js +222 -219
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +65 -64
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +138 -76
- package/dist/cjs/getSerializers.js +41 -41
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-497b581d.js} +2 -2
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-1b73277e.js → index-4d37a34d.js} +440 -429
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-099d45ae.js → index-5ad2b070.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- 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-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +127 -127
- package/dist/cjs/{inherits-513d81cd.js → inherits-2eb23889.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-03ffa84c.js → main-eeffe77b.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +24 -24
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-1f2deb69.js → ADInfeed-18cb6a8b.js} +7 -7
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +28 -30
- package/dist/esm/{ADlgInfeed-6d0d2522.js → ADlgInfeed-51d02f5d.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +797 -315
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-c29a0075.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +36 -36
- package/dist/esm/CMEDeck.js +74 -74
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-741c01be.js → Dfp-db06d7dc.js} +20 -20
- package/dist/esm/EventsDeck.js +82 -82
- package/dist/esm/ExternalResources.js +68 -68
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- 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 +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +65 -65
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +101 -101
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +42 -42
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-677ed3bd.js → SocialSearchComponent-c4a19bac.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +66 -66
- package/dist/esm/View.js +209 -210
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +49 -49
- package/dist/esm/{_is-array-49698029.js → _is-array-9383b394.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-d4d262ee.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-6a003379.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-0b056cff.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-9bef3b62.js} +5 -5
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-acd1cc47.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-1b116089.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-9a008401.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-ddd52c29.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-b24a54f2.js} +3 -3
- package/dist/esm/{extends-cc5da797.js → extends-c2b1c9d7.js} +1 -1
- package/dist/esm/getRelatedArticle.js +133 -71
- package/dist/esm/getSerializers.js +41 -41
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-b1a7be54.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-3f4dd6f2.js → index-669ff425.js} +10 -12
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-309ea78e.js → index-b2d06f45.js} +384 -380
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- 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 +105 -105
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-18d4a779.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-9bb7939c.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-35ff7b4f.js → main-ad1ecb54.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-34468155.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-8a4f19f7.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-5212fee7.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-64422756.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-ca37144a.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/AdSlot.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-59409a32.js';
|
|
6
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
-
import './_object-pie-71ac75a4.js';
|
|
8
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
9
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
-
import React__default, { useState, useEffect } from 'react';
|
|
11
|
-
import { a as lib_2 } from './index-3f4dd6f2.js';
|
|
1
|
+
import { _ as _extends } from './extends-c2b1c9d7.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-34468155.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
12
4
|
import PropTypes from 'prop-types';
|
|
13
|
-
import './
|
|
5
|
+
import { a as lib_2 } from './index-669ff425.js';
|
|
14
6
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
15
|
-
import { b as main_16 } from './main-35ff7b4f.js';
|
|
16
|
-
import './stringify-008c8802.js';
|
|
17
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
-
import './asyncToGenerator-7c654f36.js';
|
|
19
|
-
import './_set-species-cede29f8.js';
|
|
20
|
-
import Segment from './Segment.js';
|
|
21
7
|
import Beam from './Beam.js';
|
|
8
|
+
import Segment from './Segment.js';
|
|
9
|
+
import { b as main_16 } from './main-ad1ecb54.js';
|
|
10
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import './_to-object-9bef3b62.js';
|
|
12
|
+
import './_object-pie-71ac75a4.js';
|
|
13
|
+
import './web.dom.iterable-ca37144a.js';
|
|
14
|
+
import './es6.string.iterator-b24a54f2.js';
|
|
15
|
+
import './core.get-iterator-method-1b116089.js';
|
|
16
|
+
import './isSymbol-807e927e.js';
|
|
17
|
+
import './stringify-8a4f19f7.js';
|
|
18
|
+
import './asyncToGenerator-acd1cc47.js';
|
|
19
|
+
import './_library-528f1934.js';
|
|
20
|
+
import './_set-species-0b056cff.js';
|
|
21
|
+
import './_iter-detect-d4d262ee.js';
|
|
22
22
|
|
|
23
23
|
var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
24
24
|
var adUnit = _ref.adUnit,
|
|
@@ -46,9 +46,9 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
46
46
|
setAdRefreshable = _useState4[1];
|
|
47
47
|
|
|
48
48
|
var _useState5 = useState(false),
|
|
49
|
-
_useState6 = _slicedToArray(_useState5, 2)
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
_useState6 = _slicedToArray(_useState5, 2);
|
|
50
|
+
_useState6[0];
|
|
51
|
+
_useState6[1];
|
|
52
52
|
|
|
53
53
|
var adTargeting = _extends({}, targeting, { hostname: typeof window !== 'undefined' ? window.location.hostname : null });
|
|
54
54
|
|
|
@@ -74,10 +74,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
74
74
|
eventData = _useState8[0],
|
|
75
75
|
setEventData = _useState8[1];
|
|
76
76
|
|
|
77
|
-
return
|
|
77
|
+
return React.createElement(
|
|
78
78
|
'div',
|
|
79
79
|
{ className: className, style: { textAlign: 'center' } },
|
|
80
|
-
|
|
80
|
+
React.createElement(lib_2, {
|
|
81
81
|
style: { marginBottom: '1rem' },
|
|
82
82
|
slotId: slotId,
|
|
83
83
|
sizes: sizes,
|
|
@@ -90,7 +90,6 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
90
90
|
Segment.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
|
|
91
91
|
},
|
|
92
92
|
onSlotRender: function onSlotRender(eventData) {
|
|
93
|
-
if (slotId === 'welcome-ad') console.log('Ad slot :::::::: ', eventData, checkIsAdFound);
|
|
94
93
|
// Updating the condition to remove the dependency on static slotId.
|
|
95
94
|
if (eventData && eventData.event && checkIsAdFound !== null) {
|
|
96
95
|
if (eventData.event.creativeId == null) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import React, { useEffect } from 'react';
|
|
2
|
+
import { b as lib_1, l as lib_3 } from './index-669ff425.js';
|
|
3
|
+
import { c as main_22 } from './main-ad1ecb54.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default, { useEffect } from 'react';
|
|
3
|
-
import { b as lib_1, l as lib_3 } from './index-3f4dd6f2.js';
|
|
4
5
|
import 'prop-types';
|
|
5
|
-
import { c as main_22 } from './main-35ff7b4f.js';
|
|
6
6
|
|
|
7
7
|
var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
8
8
|
var children = _ref.children,
|
|
@@ -32,7 +32,7 @@ var AdSlotsProvider = function AdSlotsProvider(_ref) {
|
|
|
32
32
|
};
|
|
33
33
|
}, []);
|
|
34
34
|
|
|
35
|
-
return
|
|
35
|
+
return React.createElement(
|
|
36
36
|
lib_1,
|
|
37
37
|
{
|
|
38
38
|
dfpNetworkId: networkID,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-c2b1c9d7.js';
|
|
2
|
+
import { _ as _Object$keys } from './keys-9bb7939c.js';
|
|
3
|
+
import { _ as _toConsumableArray } from './toConsumableArray-5212fee7.js';
|
|
4
|
+
import React, { useRef, useEffect } from 'react';
|
|
1
5
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
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';
|
|
6
|
+
import './_to-object-9bef3b62.js';
|
|
7
7
|
import './_object-pie-71ac75a4.js';
|
|
8
|
-
import
|
|
9
|
-
import './
|
|
10
|
-
import
|
|
11
|
-
import
|
|
8
|
+
import './_object-sap-6a003379.js';
|
|
9
|
+
import './es6.string.iterator-b24a54f2.js';
|
|
10
|
+
import './_iter-detect-d4d262ee.js';
|
|
11
|
+
import './core.get-iterator-method-1b116089.js';
|
|
12
12
|
|
|
13
13
|
var sortByName = function sortByName(arr) {
|
|
14
14
|
var items = [].concat(_toConsumableArray(arr));
|
|
@@ -53,12 +53,12 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
53
53
|
padding: '0 10px',
|
|
54
54
|
color: 'grey'
|
|
55
55
|
};
|
|
56
|
-
return
|
|
56
|
+
return React.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
{ className: 'd-flex flex-wrap mb-3' },
|
|
59
59
|
alphabet.map(function (letter, i) {
|
|
60
60
|
if (dataList[letter]) {
|
|
61
|
-
return
|
|
61
|
+
return React.createElement(
|
|
62
62
|
'a',
|
|
63
63
|
{
|
|
64
64
|
key: i,
|
|
@@ -70,7 +70,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
70
70
|
window.scrollTo(0, itemsRef.current[index].offsetTop);
|
|
71
71
|
}
|
|
72
72
|
} },
|
|
73
|
-
|
|
73
|
+
React.createElement(
|
|
74
74
|
'span',
|
|
75
75
|
{
|
|
76
76
|
style: _extends({}, style, {
|
|
@@ -80,7 +80,7 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
80
80
|
)
|
|
81
81
|
);
|
|
82
82
|
}
|
|
83
|
-
return
|
|
83
|
+
return React.createElement(
|
|
84
84
|
'span',
|
|
85
85
|
{ key: i, style: style },
|
|
86
86
|
letter
|
|
@@ -93,29 +93,29 @@ var AlphabeticList = function AlphabeticList(_ref) {
|
|
|
93
93
|
itemsRef.current = itemsRef.current.slice(0, _Object$keys(dataList).length);
|
|
94
94
|
}, [dataList]);
|
|
95
95
|
|
|
96
|
-
return
|
|
97
|
-
|
|
96
|
+
return React.createElement(
|
|
97
|
+
React.Fragment,
|
|
98
98
|
null,
|
|
99
99
|
renderAlbhabetList(),
|
|
100
100
|
_Object$keys(dataList).map(function (letter, index) {
|
|
101
|
-
return
|
|
102
|
-
|
|
101
|
+
return React.createElement(
|
|
102
|
+
React.Fragment,
|
|
103
103
|
{ key: index },
|
|
104
|
-
|
|
104
|
+
React.createElement(
|
|
105
105
|
'h3',
|
|
106
106
|
{ ref: function ref(el) {
|
|
107
107
|
return itemsRef.current[index] = el;
|
|
108
108
|
} },
|
|
109
109
|
letter
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
'ul',
|
|
113
113
|
null,
|
|
114
114
|
dataList[letter].map(function (item, i) {
|
|
115
|
-
return
|
|
115
|
+
return React.createElement(
|
|
116
116
|
'li',
|
|
117
117
|
{ key: i },
|
|
118
|
-
|
|
118
|
+
React.createElement(
|
|
119
119
|
'a',
|
|
120
120
|
{ href: item.url },
|
|
121
121
|
item.name
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
+
import { _ as _extends } from './extends-c2b1c9d7.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
+
import './_to-object-9bef3b62.js';
|
|
6
6
|
import './_object-pie-71ac75a4.js';
|
|
7
|
-
import
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './_is-array-
|
|
11
|
-
import
|
|
12
|
-
import '
|
|
7
|
+
import './typeof-64422756.js';
|
|
8
|
+
import './es6.string.iterator-b24a54f2.js';
|
|
9
|
+
import './web.dom.iterable-ca37144a.js';
|
|
10
|
+
import './_is-array-9383b394.js';
|
|
11
|
+
import './_library-528f1934.js';
|
|
12
|
+
import './slicedToArray-34468155.js';
|
|
13
|
+
import './core.get-iterator-method-1b116089.js';
|
|
14
|
+
import './smoothscroll-ab6e0238.js';
|
|
15
|
+
import './index-752d1dae.js';
|
|
13
16
|
import 'react-dom';
|
|
14
|
-
import '
|
|
15
|
-
import './index-
|
|
16
|
-
import './slicedToArray-7021e5df.js';
|
|
17
|
-
import './smoothscroll-4b699764.js';
|
|
18
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
17
|
+
import 'prop-types';
|
|
18
|
+
import './index-3f5c03b2.js';
|
|
19
19
|
|
|
20
20
|
function ArticleCarousel(props) {
|
|
21
21
|
//Passed in array of articles to pass into YoutubeGroup
|
|
@@ -30,10 +30,10 @@ function ArticleCarousel(props) {
|
|
|
30
30
|
return article;
|
|
31
31
|
});
|
|
32
32
|
|
|
33
|
-
return
|
|
34
|
-
|
|
33
|
+
return React.createElement(
|
|
34
|
+
React.Fragment,
|
|
35
35
|
null,
|
|
36
|
-
articles ?
|
|
36
|
+
articles ? React.createElement(YoutubeGroup, _extends({ key: 'articleCarousel-0', vidHolderWidth: vidHolderWidth, numOfTiles: numOfTiles, dataset: data }, props)) : React.createElement(
|
|
37
37
|
'p',
|
|
38
38
|
null,
|
|
39
39
|
'No Article Found.'
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './
|
|
5
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
6
|
-
import './_object-pie-71ac75a4.js';
|
|
7
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
8
|
-
import './_object-sap-4d59d5bd.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-7ee3e0c1.js';
|
|
10
|
-
import './define-property-de3fc946.js';
|
|
11
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
12
|
-
import './typeof-08f2c380.js';
|
|
13
|
-
import './_is-array-49698029.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-3f4dd6f2.js';
|
|
16
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _extends } from './extends-c2b1c9d7.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-18d4a779.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
17
5
|
import Container from 'react-bootstrap/Container';
|
|
18
|
-
import {
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
7
|
+
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
19
9
|
import { withRouter } from 'next/router';
|
|
20
|
-
import './
|
|
10
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
21
11
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
22
|
-
import { I as InfiniteScroll } from './index.es-
|
|
12
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
+
import './_to-object-9bef3b62.js';
|
|
15
|
+
import './_object-pie-71ac75a4.js';
|
|
16
|
+
import './es6.string.iterator-b24a54f2.js';
|
|
17
|
+
import './_object-sap-6a003379.js';
|
|
18
|
+
import './define-property-9a008401.js';
|
|
19
|
+
import './typeof-64422756.js';
|
|
20
|
+
import './web.dom.iterable-ca37144a.js';
|
|
21
|
+
import './_is-array-9383b394.js';
|
|
22
|
+
import './_library-528f1934.js';
|
|
23
|
+
import 'prop-types';
|
|
23
24
|
import 'react-dom';
|
|
24
|
-
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
25
|
-
import './index-3849e3fe.js';
|
|
26
|
-
import './index-5f9f807a.js';
|
|
27
|
-
import './slicedToArray-7021e5df.js';
|
|
28
|
-
import './smoothscroll-4b699764.js';
|
|
29
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
30
25
|
import './iconBase-602d52fe.js';
|
|
31
|
-
import
|
|
26
|
+
import './slicedToArray-34468155.js';
|
|
27
|
+
import './core.get-iterator-method-1b116089.js';
|
|
28
|
+
import './smoothscroll-ab6e0238.js';
|
|
29
|
+
import './index-752d1dae.js';
|
|
30
|
+
import './index-3f5c03b2.js';
|
|
31
|
+
import './isSymbol-807e927e.js';
|
|
32
32
|
|
|
33
33
|
var ArticleSeriesListing = function (_React$Component) {
|
|
34
34
|
_inherits(ArticleSeriesListing, _React$Component);
|
|
@@ -91,9 +91,9 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
91
91
|
}, 0), _this.loadData = function () {
|
|
92
92
|
var _this$state = _this.state,
|
|
93
93
|
from = _this$state.from,
|
|
94
|
-
to = _this$state.to
|
|
95
|
-
|
|
96
|
-
query = _this$state.query,
|
|
94
|
+
to = _this$state.to;
|
|
95
|
+
_this$state.data;
|
|
96
|
+
var query = _this$state.query,
|
|
97
97
|
page = _this$state.page;
|
|
98
98
|
var client = _this.props.client;
|
|
99
99
|
//this.changePageNumber(page)
|
|
@@ -189,15 +189,15 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
189
189
|
}, _this.renderManualPagination = function () {
|
|
190
190
|
var currentPage = _this.state.currentPage;
|
|
191
191
|
|
|
192
|
-
return
|
|
192
|
+
return React.createElement(
|
|
193
193
|
'div',
|
|
194
194
|
{ className: 'd-flex justify-content-between' },
|
|
195
|
-
currentPage && currentPage > 1 &&
|
|
195
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
196
196
|
'a',
|
|
197
197
|
{ href: '?page=' + (currentPage - 1) },
|
|
198
198
|
'<< Previous'
|
|
199
199
|
),
|
|
200
|
-
|
|
200
|
+
React.createElement(
|
|
201
201
|
'a',
|
|
202
202
|
{ href: '?page=' + (currentPage + 1) },
|
|
203
203
|
'Next >>'
|
|
@@ -206,7 +206,7 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
206
206
|
}, _this.renderSeries = function (seriesData) {
|
|
207
207
|
var itemCounter = 0;
|
|
208
208
|
|
|
209
|
-
return
|
|
209
|
+
return React.createElement(
|
|
210
210
|
'div',
|
|
211
211
|
null,
|
|
212
212
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -216,24 +216,24 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
return
|
|
219
|
+
return React.createElement(
|
|
220
220
|
'div',
|
|
221
221
|
{ key: index, counter: itemCounter++ },
|
|
222
|
-
|
|
222
|
+
React.createElement(
|
|
223
223
|
'h4',
|
|
224
224
|
{ className: 'article-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
|
|
225
|
-
|
|
225
|
+
React.createElement(
|
|
226
226
|
'a',
|
|
227
227
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
228
228
|
docSeries.title,
|
|
229
|
-
|
|
229
|
+
React.createElement(
|
|
230
230
|
'span',
|
|
231
231
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
232
|
-
|
|
232
|
+
React.createElement(IoIosArrowForward, null)
|
|
233
233
|
)
|
|
234
234
|
)
|
|
235
235
|
),
|
|
236
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ?
|
|
236
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].articles ? React.createElement(YoutubeGroup, _extends({ key: index, dataset: docSeries.body[0].articles }, _this.props)) : React.createElement(
|
|
237
237
|
'p',
|
|
238
238
|
null,
|
|
239
239
|
'No Article Found.'
|
|
@@ -249,31 +249,31 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
249
249
|
value: function render() {
|
|
250
250
|
var _this2 = this;
|
|
251
251
|
|
|
252
|
-
return
|
|
253
|
-
|
|
252
|
+
return React.createElement(
|
|
253
|
+
React.Fragment,
|
|
254
254
|
null,
|
|
255
255
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ? //Check if any Video Groups available
|
|
256
|
-
|
|
256
|
+
React.createElement(
|
|
257
257
|
InfiniteScroll,
|
|
258
258
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
259
|
-
|
|
259
|
+
React.createElement(
|
|
260
260
|
Container,
|
|
261
261
|
null,
|
|
262
262
|
this.state.data && this.state.data.map(function (series, index) {
|
|
263
263
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
264
264
|
|
|
265
|
-
return
|
|
266
|
-
|
|
265
|
+
return React.createElement(
|
|
266
|
+
React.Fragment,
|
|
267
267
|
{ key: index },
|
|
268
|
-
|
|
268
|
+
React.createElement(
|
|
269
269
|
VisibilitySensor,
|
|
270
270
|
{
|
|
271
271
|
onChange: function onChange(isVisible) {
|
|
272
272
|
isVisible && _this2.changePageNumber(page);
|
|
273
273
|
} },
|
|
274
|
-
|
|
274
|
+
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
275
275
|
),
|
|
276
|
-
|
|
276
|
+
React.createElement(
|
|
277
277
|
'div',
|
|
278
278
|
null,
|
|
279
279
|
_this2.renderSeries(series)
|
|
@@ -281,13 +281,13 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
281
281
|
);
|
|
282
282
|
})
|
|
283
283
|
)
|
|
284
|
-
) :
|
|
284
|
+
) : React.createElement(
|
|
285
285
|
'div',
|
|
286
286
|
{ style: { marginTop: '10px' } },
|
|
287
|
-
|
|
287
|
+
React.createElement(
|
|
288
288
|
'h5',
|
|
289
289
|
null,
|
|
290
|
-
|
|
290
|
+
React.createElement(
|
|
291
291
|
'em',
|
|
292
292
|
null,
|
|
293
293
|
'New content coming soon, please check back later.'
|
|
@@ -299,7 +299,7 @@ var ArticleSeriesListing = function (_React$Component) {
|
|
|
299
299
|
}]);
|
|
300
300
|
|
|
301
301
|
return ArticleSeriesListing;
|
|
302
|
-
}(
|
|
302
|
+
}(React.Component);
|
|
303
303
|
|
|
304
304
|
var ArticleSeriesListing$1 = withRouter(ArticleSeriesListing);
|
|
305
305
|
|