@mjhls/mjh-framework 1.0.876 → 1.0.877
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +5 -6
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +17 -14098
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -5
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/Beam.js +2 -2
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +11 -12
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-94f8ccdf.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +5 -6
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +36 -37
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +12 -13
- package/dist/cjs/MediaSeriesLanding.js +406 -306
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -8
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Segment.js +0 -1
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-f9128638.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-4942ddfc.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +5 -6
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +4 -5
- package/dist/cjs/View.js +9 -10
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getSerializers.js +5 -6
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-6d59cc5b.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-6a2a3e03.js → index-2a2528f6.js} +28 -28
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-c1e16606.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +14 -15
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -7
- package/dist/esm/AD300x250x600.js +6 -7
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-6c6093ae.js → ADInfeed-c7b8f6be.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +13 -14
- package/dist/esm/{ADlgInfeed-5d7386e8.js → ADlgInfeed-1aea5403.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +8 -9
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +40 -14121
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -18
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -32
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-46a745ba.js → AuthorComponent-defe68b6.js} +10 -10
- package/dist/esm/Beam.js +2 -2
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -24
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +57 -58
- package/dist/esm/DeckQueue.js +42 -43
- package/dist/esm/{Dfp-4ca12f2e.js → Dfp-4b99f79d.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -36
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +124 -125
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -32
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +51 -52
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +46 -47
- package/dist/esm/MediaSeriesLanding.js +432 -332
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +66 -67
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -15
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +246 -247
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +0 -1
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-485f514e.js → SeriesSlider-98b7a870.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a5b11613.js → SocialSearchComponent-9458fac6.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +13 -14
- package/dist/esm/TemplateNormal.js +29 -30
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +24 -25
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -13
- package/dist/esm/VideoSeriesListing.js +47 -48
- package/dist/esm/View.js +173 -174
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getSerializers.js +8 -9
- package/dist/esm/{getTargeting-ff2c9409.js → getTargeting-3792eba9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-5bbd1562.js → index-1d312e35.js} +444 -444
- package/dist/esm/{index-2446af28.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-c6715e80.js → index.esm-9b042655.js} +1 -1
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +39 -40
- package/dist/esm/{main-b5c5aac1.js → main-1894c974.js} +20 -20
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +111 -111
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- /package/dist/cjs/{ADInfeed-b9e5ff3f.js → ADInfeed-3c44e465.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-3cdefebd.js → ADlgInfeed-0c03dac2.js} +0 -0
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './stringify-c21932b3.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
-
import
|
|
4
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-e903ff31.js';
|
|
@@ -9,8 +9,7 @@ import './web.dom.iterable-fdf034f5.js';
|
|
|
9
9
|
import './extends-dc6a71fd.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
13
|
-
import './events-6c3a7a63.js';
|
|
12
|
+
import './index-5cc7b406.js';
|
|
14
13
|
import './debounce-533d9748.js';
|
|
15
14
|
import './isSymbol-a7e9aafe.js';
|
|
16
15
|
import './toNumber-5aeba6e7.js';
|
|
@@ -65,10 +64,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
65
64
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
66
65
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
67
66
|
|
|
68
|
-
return
|
|
67
|
+
return React__default.createElement(
|
|
69
68
|
'div',
|
|
70
69
|
{ className: 'leaderboard-ad-wrapper' },
|
|
71
|
-
|
|
70
|
+
React__default.createElement(DFPAdSlot, {
|
|
72
71
|
slotId: slotId,
|
|
73
72
|
networkID: networkID,
|
|
74
73
|
adUnit: adUnit,
|
|
@@ -88,12 +87,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
88
87
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
89
88
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
90
89
|
}),
|
|
91
|
-
|
|
90
|
+
React__default.createElement(
|
|
92
91
|
'style',
|
|
93
92
|
{ jsx: 'true' },
|
|
94
93
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\n min-height: 90px;\n background: #fff;\n }\n .leaderboard-ad-wrapper .AD728x90 {\n height: auto !important;\n }\n /* setting height to 0px when the ad slot is empty. */\n .leaderboard-ad-wrapper .AD728x90 div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
95
94
|
),
|
|
96
|
-
main_43 &&
|
|
95
|
+
main_43 && React__default.createElement(
|
|
97
96
|
'style',
|
|
98
97
|
{ jsx: 'true' },
|
|
99
98
|
'\n @media screen and (max-width: 768px) {\n .leaderboard-ad-wrapper {\n min-height: 0px;\n position: fixed;\n background: transparent;\n background-color: transparent;\n bottom: 0px;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9999;\n }\n }\n '
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
24
23
|
var title = _ref.title,
|
|
@@ -100,13 +99,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
100
99
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
101
100
|
};
|
|
102
101
|
|
|
103
|
-
return
|
|
104
|
-
|
|
102
|
+
return React__default.createElement(
|
|
103
|
+
React__default.Fragment,
|
|
105
104
|
null,
|
|
106
|
-
showAd && widthFlag && adTargeting.document_url &&
|
|
105
|
+
showAd && widthFlag && adTargeting.document_url && React__default.createElement(
|
|
107
106
|
'div',
|
|
108
107
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper display-floating ' + title },
|
|
109
|
-
|
|
108
|
+
React__default.createElement(DFPAdSlot, {
|
|
110
109
|
className: className,
|
|
111
110
|
slotId: slotId,
|
|
112
111
|
networkID: networkID,
|
|
@@ -117,7 +116,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
117
116
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
118
117
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
119
118
|
}),
|
|
120
|
-
|
|
119
|
+
React__default.createElement(
|
|
121
120
|
'div',
|
|
122
121
|
{ className: 'closeButton', onClick: function onClick() {
|
|
123
122
|
return collapseAd();
|
|
@@ -125,7 +124,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
125
124
|
'x'
|
|
126
125
|
)
|
|
127
126
|
),
|
|
128
|
-
|
|
127
|
+
React__default.createElement(
|
|
129
128
|
'style',
|
|
130
129
|
{ jsx: 'true' },
|
|
131
130
|
'\n .display-floating {\n display: block;\n }\n .hide-floating {\n display: none;\n }\n .floating-ad-wrapper {\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .closeButton {\n position: absolute;\n top: -16px;\n right: -16px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 15px;\n cursor: pointer;\n z-index: 999999;\n }\n .floating-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADFooter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
4
|
import './web.dom.iterable-fdf034f5.js';
|
|
5
5
|
import './core.get-iterator-method-e903ff31.js';
|
|
@@ -23,20 +23,20 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
23
23
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
return
|
|
27
|
-
|
|
26
|
+
return React__default.createElement(
|
|
27
|
+
React__default.Fragment,
|
|
28
28
|
null,
|
|
29
|
-
showAd &&
|
|
29
|
+
showAd && React__default.createElement(
|
|
30
30
|
'div',
|
|
31
31
|
{ className: 'ADFooter' },
|
|
32
32
|
children,
|
|
33
|
-
|
|
33
|
+
React__default.createElement(
|
|
34
34
|
'div',
|
|
35
35
|
{ className: 'closeButton', onClick: handleCloseAd },
|
|
36
36
|
'x'
|
|
37
37
|
)
|
|
38
38
|
),
|
|
39
|
-
|
|
39
|
+
React__default.createElement(
|
|
40
40
|
'style',
|
|
41
41
|
{ jsx: 'true' },
|
|
42
42
|
'\n .ADFooter {\n width: auto;\n margin: 0;\n background-color: #f5f5f5;\n position: fixed;\n bottom: 0;\n left: 50%;\n transform: translateX(-50%);\n z-index: 9000;\n }\n .adBox > div:empty {\n display: none !important;\n }\n .adBox > div:not(:empty) {\n display: block !important;\n }\n .closeButton {\n position: absolute;\n top: -10px;\n right: -10px;\n background: grey;\n color: white;\n font-weight: 500;\n border: 2px solid white;\n border-radius: 50%;\n width: 30px;\n height: 30px;\n text-align: center;\n font-size: 17px;\n cursor: pointer;\n }\n '
|
package/dist/esm/ADGutter.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
var ADGutter = function ADGutter(_ref) {
|
|
24
23
|
var title = _ref.title,
|
|
@@ -75,16 +74,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
75
74
|
}, [minScreenWidth]);
|
|
76
75
|
|
|
77
76
|
if (widthFlag) {
|
|
78
|
-
return
|
|
79
|
-
|
|
77
|
+
return React__default.createElement(
|
|
78
|
+
React__default.Fragment,
|
|
80
79
|
null,
|
|
81
|
-
widthFlag &&
|
|
80
|
+
widthFlag && React__default.createElement(
|
|
82
81
|
'div',
|
|
83
82
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
84
|
-
|
|
83
|
+
React__default.createElement(
|
|
85
84
|
'div',
|
|
86
85
|
{ className: 'gutter-ad' },
|
|
87
|
-
|
|
86
|
+
React__default.createElement(DFPAdSlot, {
|
|
88
87
|
className: className,
|
|
89
88
|
slotId: slotId,
|
|
90
89
|
networkID: networkID,
|
|
@@ -98,7 +97,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
98
97
|
})
|
|
99
98
|
)
|
|
100
99
|
),
|
|
101
|
-
|
|
100
|
+
React__default.createElement(
|
|
102
101
|
'style',
|
|
103
102
|
{ jsx: 'true' },
|
|
104
103
|
'\n .gutter-ad-wrapper {\n position: fixed;\n width: 100%;\n height: 100%;\n z-index: 999;\n }\n .gutter-ad {\n width: 150px;\n position: relative;\n top: 50;\n }\n /* setting height to 0px when the ad slot is empty. */\n .gutter-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import Card from 'react-bootstrap/Card';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
5
5
|
|
|
@@ -29,13 +29,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
29
29
|
}));
|
|
30
30
|
}, []);
|
|
31
31
|
|
|
32
|
-
return
|
|
32
|
+
return React__default.createElement(
|
|
33
33
|
'div',
|
|
34
34
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'flex', flex: '1 0 auto' } },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
Card,
|
|
37
37
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
38
|
-
|
|
38
|
+
React__default.createElement(DFPAdSlot, {
|
|
39
39
|
className: className,
|
|
40
40
|
networkID: networkID,
|
|
41
41
|
adUnit: adUnit,
|
|
@@ -48,7 +48,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
48
48
|
, refreshFlag: refreshFlag
|
|
49
49
|
})
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'style',
|
|
53
53
|
{ jsx: 'true' },
|
|
54
54
|
'\n .brand-insight-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
// Skyscraper is below sponsored resource ad in the left column.
|
|
24
23
|
var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
@@ -77,16 +76,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
77
76
|
}
|
|
78
77
|
}, [minScreenWidth]);
|
|
79
78
|
if (widthFlag) {
|
|
80
|
-
return
|
|
81
|
-
|
|
79
|
+
return React__default.createElement(
|
|
80
|
+
React__default.Fragment,
|
|
82
81
|
null,
|
|
83
|
-
|
|
82
|
+
React__default.createElement(
|
|
84
83
|
'div',
|
|
85
84
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
86
|
-
|
|
85
|
+
React__default.createElement(
|
|
87
86
|
'div',
|
|
88
87
|
{ className: 'skyscraper-ad' },
|
|
89
|
-
|
|
88
|
+
React__default.createElement(DFPAdSlot, {
|
|
90
89
|
className: className,
|
|
91
90
|
slotId: slotId,
|
|
92
91
|
networkID: networkID,
|
|
@@ -99,7 +98,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
99
98
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
100
99
|
})
|
|
101
100
|
),
|
|
102
|
-
|
|
101
|
+
React__default.createElement(
|
|
103
102
|
'style',
|
|
104
103
|
{ jsx: 'true' },
|
|
105
104
|
'\n .skyscraper-ad-wrapper {\n margin-top: 20px;\n margin-bottom: 20px;\n }\n .skyscraper-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
24
23
|
var sponsoredAd = _ref.sponsoredAd,
|
|
@@ -74,16 +73,16 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
74
73
|
}, [minScreenWidth]);
|
|
75
74
|
|
|
76
75
|
if (widthFlag) {
|
|
77
|
-
return
|
|
78
|
-
|
|
76
|
+
return React__default.createElement(
|
|
77
|
+
React__default.Fragment,
|
|
79
78
|
null,
|
|
80
|
-
|
|
79
|
+
React__default.createElement(
|
|
81
80
|
'div',
|
|
82
81
|
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
83
|
-
|
|
82
|
+
React__default.createElement(
|
|
84
83
|
'div',
|
|
85
84
|
{ className: 'sponsored-ad' },
|
|
86
|
-
|
|
85
|
+
React__default.createElement(DFPAdSlot, {
|
|
87
86
|
className: className,
|
|
88
87
|
slotId: slotId,
|
|
89
88
|
networkID: networkID,
|
|
@@ -96,7 +95,7 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
96
95
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
97
96
|
})
|
|
98
97
|
),
|
|
99
|
-
|
|
98
|
+
React__default.createElement(
|
|
100
99
|
'style',
|
|
101
100
|
{ jsx: 'true' },
|
|
102
101
|
'\n /* setting height to 0px when the ad slot is empty. */\n .sponsored-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADWebcast.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
// Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
|
|
24
23
|
var ADWebcast = function ADWebcast(_ref) {
|
|
@@ -77,16 +76,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
77
76
|
}, [minScreenWidth]);
|
|
78
77
|
|
|
79
78
|
if (widthFlag) {
|
|
80
|
-
return
|
|
81
|
-
|
|
79
|
+
return React__default.createElement(
|
|
80
|
+
React__default.Fragment,
|
|
82
81
|
null,
|
|
83
|
-
|
|
82
|
+
React__default.createElement(
|
|
84
83
|
'div',
|
|
85
84
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
86
|
-
|
|
85
|
+
React__default.createElement(
|
|
87
86
|
'div',
|
|
88
87
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
89
|
-
|
|
88
|
+
React__default.createElement(DFPAdSlot, {
|
|
90
89
|
className: className,
|
|
91
90
|
slotId: slotId,
|
|
92
91
|
networkID: networkID,
|
|
@@ -101,7 +100,7 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
101
100
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
102
101
|
})
|
|
103
102
|
),
|
|
104
|
-
|
|
103
|
+
React__default.createElement(
|
|
105
104
|
'style',
|
|
106
105
|
{ jsx: 'true' },
|
|
107
106
|
'\n /* setting height to 0px when the ad slot is empty. */\n .webcast-ad-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADWelcome.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import DFPAdSlot from './AdSlot.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-fdf034f5.js';
|
|
@@ -7,8 +7,7 @@ import './core.get-iterator-method-e903ff31.js';
|
|
|
7
7
|
import './extends-dc6a71fd.js';
|
|
8
8
|
import './_object-pie-133f504a.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import './index-
|
|
11
|
-
import './events-6c3a7a63.js';
|
|
10
|
+
import './index-5cc7b406.js';
|
|
12
11
|
import './debounce-533d9748.js';
|
|
13
12
|
import './isSymbol-a7e9aafe.js';
|
|
14
13
|
import './toNumber-5aeba6e7.js';
|
|
@@ -18,7 +17,7 @@ import './asyncToGenerator-b4dfe691.js';
|
|
|
18
17
|
import './_library-528f1934.js';
|
|
19
18
|
import './_iter-detect-f089461c.js';
|
|
20
19
|
import './Segment.js';
|
|
21
|
-
import './main-
|
|
20
|
+
import './main-1894c974.js';
|
|
22
21
|
|
|
23
22
|
var ADWelcome = function ADWelcome(_ref) {
|
|
24
23
|
var title = _ref.title,
|
|
@@ -94,21 +93,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
94
93
|
|
|
95
94
|
return (
|
|
96
95
|
// Setting welcome ad to display:none and Setting to display:block after checking for cookie in site level.
|
|
97
|
-
|
|
96
|
+
React__default.createElement(
|
|
98
97
|
'div',
|
|
99
98
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
100
|
-
|
|
99
|
+
React__default.createElement(
|
|
101
100
|
'div',
|
|
102
101
|
{ className: 'welcome-ad-head-wrapper' },
|
|
103
|
-
|
|
102
|
+
React__default.createElement(
|
|
104
103
|
'div',
|
|
105
104
|
{ className: 'left-top' },
|
|
106
|
-
|
|
105
|
+
React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
107
106
|
),
|
|
108
|
-
|
|
107
|
+
React__default.createElement(
|
|
109
108
|
'div',
|
|
110
109
|
{ className: 'right-top' },
|
|
111
|
-
|
|
110
|
+
React__default.createElement(
|
|
112
111
|
'span',
|
|
113
112
|
{
|
|
114
113
|
className: 'continue-site',
|
|
@@ -123,7 +122,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
123
122
|
} },
|
|
124
123
|
'CONTINUE TO SITE'
|
|
125
124
|
),
|
|
126
|
-
|
|
125
|
+
React__default.createElement(
|
|
127
126
|
'p',
|
|
128
127
|
{
|
|
129
128
|
style: {
|
|
@@ -135,10 +134,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
135
134
|
)
|
|
136
135
|
)
|
|
137
136
|
),
|
|
138
|
-
|
|
137
|
+
React__default.createElement(
|
|
139
138
|
'div',
|
|
140
139
|
{ className: title },
|
|
141
|
-
|
|
140
|
+
React__default.createElement(DFPAdSlot, {
|
|
142
141
|
className: className,
|
|
143
142
|
slotId: slotId,
|
|
144
143
|
networkID: networkID,
|
|
@@ -149,7 +148,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
149
148
|
checkIsAdFound: checkIsAdFound
|
|
150
149
|
})
|
|
151
150
|
),
|
|
152
|
-
|
|
151
|
+
React__default.createElement(
|
|
153
152
|
'style',
|
|
154
153
|
{ jsx: 'true' },
|
|
155
154
|
'\n .continue-site:hover {\n cursor: pointer;\n }\n\n .welcome-modal {\n max-width: 100% !important;\n margin: 0px !important;\n height: 100vh;\n }\n .welcome-ad-head-wrapper {\n display: flex;\n justify-content: space-between;\n }\n .right-top {\n max-width: 250px;\n padding: 10px;\n }\n .left-top {\n max-width: 250px;\n padding: 10px;\n }\n .' + title + ' {\n width: auto !important;\n padding-top: 25px;\n justify-content: center;\n align-items: center;\n display: flex;\n }\n /* setting height to 0px when the ad slot is empty. */\n .' + title + ' div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import 'react-bootstrap/Card';
|
|
4
4
|
import DFPAdSlot from './AdSlot.js';
|
|
5
5
|
|
|
@@ -28,10 +28,10 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
|
|
31
|
-
return
|
|
31
|
+
return React__default.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ id: 'lg-infeed-wrapper-' + (index + 1), className: 'lg-infeed-wrapper', style: { display: 'flex', flex: '1 0 auto' } },
|
|
34
|
-
|
|
34
|
+
React__default.createElement(DFPAdSlot, {
|
|
35
35
|
className: className,
|
|
36
36
|
networkID: networkID,
|
|
37
37
|
adUnit: adUnit,
|
|
@@ -43,7 +43,7 @@ var ADlgInfeed = function ADlgInfeed(props) {
|
|
|
43
43
|
/* Passing refresh flag */
|
|
44
44
|
, refreshFlag: refreshFlag
|
|
45
45
|
}),
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
'style',
|
|
48
48
|
{ jsx: 'true' },
|
|
49
49
|
'\n .lg-infeed-wrapper {\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid rgb(221, 221, 221);\n }\n .lg-infeed-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
3
|
import Accordion from 'react-bootstrap/Accordion';
|
|
4
4
|
import { useAccordionToggle } from 'react-bootstrap/AccordionToggle';
|
|
5
|
-
import { a as IoMdArrowDropdown } from './index.esm-
|
|
5
|
+
import { a as IoMdArrowDropdown } from './index.esm-f6156a57.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './web.dom.iterable-fdf034f5.js';
|
|
8
8
|
import './core.get-iterator-method-e903ff31.js';
|
|
9
|
-
import './iconBase-
|
|
9
|
+
import './iconBase-ccc56b97.js';
|
|
10
10
|
|
|
11
11
|
var AccordionPanel = function AccordionPanel(props) {
|
|
12
12
|
var accordionClassName = props.accordionClassName,
|
|
@@ -28,48 +28,48 @@ var AccordionPanel = function AccordionPanel(props) {
|
|
|
28
28
|
var decoratedOnClick = useAccordionToggle(eventKey, function () {
|
|
29
29
|
return handleAccordion(eventKey);
|
|
30
30
|
});
|
|
31
|
-
return
|
|
31
|
+
return React__default.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ onMouseEnter: decoratedOnClick, className: 'accordion-head' },
|
|
34
34
|
children
|
|
35
35
|
);
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
return
|
|
39
|
-
|
|
38
|
+
return React__default.createElement(
|
|
39
|
+
React__default.Fragment,
|
|
40
40
|
null,
|
|
41
|
-
data && data.length &&
|
|
41
|
+
data && data.length && React__default.createElement(
|
|
42
42
|
Accordion,
|
|
43
43
|
{ defaultActiveKey: '0', activeKey: activeAccordionKey, className: accordionClassName },
|
|
44
44
|
data.map(function (item) {
|
|
45
|
-
return
|
|
46
|
-
|
|
45
|
+
return React__default.createElement(
|
|
46
|
+
React__default.Fragment,
|
|
47
47
|
null,
|
|
48
|
-
|
|
48
|
+
React__default.createElement(
|
|
49
49
|
CustomToggle,
|
|
50
50
|
{ key: item.id, eventKey: item.id },
|
|
51
|
-
|
|
51
|
+
React__default.createElement(
|
|
52
52
|
'a',
|
|
53
53
|
{ href: item.url },
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
|
+
React__default.Fragment,
|
|
56
56
|
null,
|
|
57
57
|
item.title,
|
|
58
|
-
item.subItems &&
|
|
58
|
+
item.subItems && React__default.createElement(IoMdArrowDropdown, null)
|
|
59
59
|
)
|
|
60
60
|
)
|
|
61
61
|
),
|
|
62
|
-
|
|
62
|
+
React__default.createElement(
|
|
63
63
|
Accordion.Collapse,
|
|
64
64
|
{ eventKey: item.id },
|
|
65
|
-
|
|
65
|
+
React__default.createElement(
|
|
66
66
|
'div',
|
|
67
67
|
null,
|
|
68
68
|
item.subItems && item.subItems.map(function (subItem) {
|
|
69
|
-
return
|
|
69
|
+
return React__default.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: subItem.url },
|
|
72
|
-
|
|
72
|
+
React__default.createElement(
|
|
73
73
|
'div',
|
|
74
74
|
{ key: subItem.id, className: 'accordion-sub-item' },
|
|
75
75
|
subItem.title
|
package/dist/esm/AdSlot.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-dc6a71fd.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
3
|
-
import
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
-
import { l as lib_3, a as lib_2 } from './index-
|
|
5
|
+
import { l as lib_3, a as lib_2 } from './index-5cc7b406.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
|
-
import
|
|
7
|
+
import './Beam.js';
|
|
8
8
|
import Segment from './Segment.js';
|
|
9
|
-
import
|
|
9
|
+
import './main-1894c974.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-e903ff31.js';
|
|
12
12
|
import './_object-pie-133f504a.js';
|
|
13
13
|
import './web.dom.iterable-fdf034f5.js';
|
|
14
|
-
import './events-6c3a7a63.js';
|
|
15
14
|
import './isSymbol-a7e9aafe.js';
|
|
16
15
|
import './toNumber-5aeba6e7.js';
|
|
17
16
|
import './stringify-c21932b3.js';
|
|
@@ -138,10 +137,10 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
138
137
|
eventData = _useState8[0],
|
|
139
138
|
setEventData = _useState8[1];
|
|
140
139
|
|
|
141
|
-
return
|
|
140
|
+
return React__default.createElement(
|
|
142
141
|
'div',
|
|
143
142
|
{ className: className, style: { textAlign: 'center' } },
|
|
144
|
-
|
|
143
|
+
React__default.createElement(lib_2, {
|
|
145
144
|
style: { marginBottom: '1rem' },
|
|
146
145
|
slotId: slotId,
|
|
147
146
|
sizes: sizes,
|
|
@@ -150,7 +149,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
150
149
|
targetingArguments: adTargeting,
|
|
151
150
|
onSlotIsViewable: function onSlotIsViewable(e) {
|
|
152
151
|
setStickyAd(true);
|
|
153
|
-
Beam.report_beam_ad('Impression',
|
|
152
|
+
//Beam.report_beam_ad('Impression', deviceType, eventData.cID, eventData.lID, eventData.campID, eventData.adSize, eventData.slot_id)
|
|
154
153
|
Segment.adViewed(eventData.domain, eventData.advertiserId, eventData.campID, eventData.cID, eventData.lID, eventData.adSize, eventData.isEmpty, eventData.sourceAgnosticCreativeId, eventData.sourceAgnosticLineItemId);
|
|
155
154
|
},
|
|
156
155
|
onSlotRender: function onSlotRender(eventData) {
|
|
@@ -212,7 +211,7 @@ var DFPAdSlot = function DFPAdSlot(_ref) {
|
|
|
212
211
|
var hasFocus = slot_div.getAttribute('hasFocus');
|
|
213
212
|
if (hasFocus == 'yes' && document.hidden) {
|
|
214
213
|
slot_div.setAttribute('hasFocus', 'no');
|
|
215
|
-
Beam.report_beam_ad('Click',
|
|
214
|
+
//Beam.report_beam_ad('Click', deviceType, cID, lID, campID, adSize, slotId)
|
|
216
215
|
Segment.adClicked(domain, advertiserId, campID, cID, lID, adSize, isEmpty, sourceAgnosticCreativeId, sourceAgnosticLineItemId);
|
|
217
216
|
}
|
|
218
217
|
});
|