@mjhls/mjh-framework 1.0.848 → 1.0.850-affiliatefix-v1
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 +1 -1
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -69
- package/dist/cjs/AdSlotsProvider.js +5 -15
- package/dist/cjs/AlgoliaSearch.js +14 -37
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +3 -3
- package/dist/cjs/ArticleSeriesListing.js +3 -3
- package/dist/cjs/Auth.js +2 -2
- package/dist/cjs/AuthWrapper.js +1564 -290
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/DeckContent.js +2 -2
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/EventsDeck.js +1 -1
- package/dist/cjs/ExternalResources.js +4 -4
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +45 -164
- package/dist/cjs/HamMagazine.js +6 -6
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +6 -6
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +3 -3
- package/dist/cjs/MediaSeriesLanding.js +120 -20
- package/dist/cjs/NavMagazine.js +6 -6
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +12 -7
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +3 -3
- package/dist/cjs/QueueDeckExpanded.js +3 -3
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-34c6cc2b.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.js} +3 -3
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesLandingPage.js +3 -3
- package/dist/cjs/VideoSeriesListing.js +5 -7
- package/dist/cjs/View.js +7 -88
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-572bb6bc.js → index-060c5d65.js} +34 -91
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- 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 -13
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -6
- package/dist/esm/AD300x250x600.js +6 -6
- package/dist/esm/AD728x90.js +7 -7
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-f20eb524.js → ADInfeed-4bf3b2f9.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-c85a91b1.js → ADlgInfeed-a3377c4a.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -73
- package/dist/esm/AdSlotsProvider.js +8 -18
- package/dist/esm/AlgoliaSearch.js +224 -247
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -17
- package/dist/esm/ArticleSeriesLandingPage.js +12 -12
- package/dist/esm/ArticleSeriesListing.js +31 -31
- package/dist/esm/Auth.js +72 -72
- package/dist/esm/AuthWrapper.js +1580 -306
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -23
- package/dist/esm/ConferenceArticleCard.js +13 -13
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +49 -49
- package/dist/esm/DeckQueue.js +44 -44
- package/dist/esm/{Dfp-43f121ff.js → Dfp-2c43d2a0.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +35 -35
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +104 -222
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +86 -86
- 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 -31
- 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 +22 -22
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +38 -38
- package/dist/esm/MediaSeriesLanding.js +436 -336
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +89 -89
- package/dist/esm/NavNative.js +83 -83
- 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 +68 -63
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +246 -246
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +15 -15
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +19 -19
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-5d5c08f4.js} +19 -19
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db963c3e.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TaxonomyDescription.js +13 -13
- package/dist/esm/TemplateNormal.js +29 -29
- 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 -24
- package/dist/esm/VideoSeriesCard.js +14 -14
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -12
- package/dist/esm/VideoSeriesListing.js +49 -51
- package/dist/esm/View.js +168 -249
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +28 -28
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-aa0e654d.js → index-01d53c17.js} +366 -423
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/{index-2446af28.js → index-f0fc23eb.js} +3 -3
- 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 +40 -39
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +1 -1
- /package/dist/cjs/{ADInfeed-9d179b24.js → ADInfeed-859820d9.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-e1ba988c.js → ADlgInfeed-da3a36a6.js} +0 -0
package/dist/esm/AD.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default, { Suspense } from 'react';
|
|
2
2
|
|
|
3
|
-
var Dfp =
|
|
4
|
-
return import('./Dfp-
|
|
3
|
+
var Dfp = React__default.lazy(function () {
|
|
4
|
+
return import('./Dfp-2c43d2a0.js');
|
|
5
5
|
});
|
|
6
6
|
|
|
7
7
|
var AD = function AD(props) {
|
|
8
8
|
if (typeof window === 'undefined') {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
11
|
-
return
|
|
11
|
+
return React__default.createElement(
|
|
12
12
|
'div',
|
|
13
13
|
null,
|
|
14
|
-
|
|
14
|
+
React__default.createElement(
|
|
15
15
|
Suspense,
|
|
16
|
-
{ fallback:
|
|
16
|
+
{ fallback: React__default.createElement(
|
|
17
17
|
'div',
|
|
18
18
|
null,
|
|
19
19
|
'Loading...'
|
|
20
20
|
) },
|
|
21
|
-
|
|
21
|
+
React__default.createElement(Dfp, props)
|
|
22
22
|
)
|
|
23
23
|
);
|
|
24
24
|
};
|
package/dist/esm/AD300x250.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './stringify-59c8f690.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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-d4165069.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './_to-object-b50e61c3.js';
|
|
@@ -11,7 +11,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
11
11
|
import './extends-60e0e1c6.js';
|
|
12
12
|
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-f0fc23eb.js';
|
|
15
15
|
import './events-6c3a7a63.js';
|
|
16
16
|
import './debounce-533d9748.js';
|
|
17
17
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -67,10 +67,10 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
67
67
|
var browserSizes = [[300, 600], [300, 250], [300, 100]];
|
|
68
68
|
var mobileSizes = [[300, 250], [300, 100]];
|
|
69
69
|
|
|
70
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
null,
|
|
73
|
-
|
|
73
|
+
React__default.createElement(DFPAdSlot, {
|
|
74
74
|
networkID: networkID,
|
|
75
75
|
adUnit: adUnit,
|
|
76
76
|
slotId: slotId,
|
|
@@ -81,7 +81,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
81
81
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
82
82
|
// style={{ display: 'none' }}
|
|
83
83
|
}),
|
|
84
|
-
|
|
84
|
+
React__default.createElement(
|
|
85
85
|
'style',
|
|
86
86
|
{ jsx: 'true' },
|
|
87
87
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './stringify-59c8f690.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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-d4165069.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './_to-object-b50e61c3.js';
|
|
@@ -11,7 +11,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
11
11
|
import './extends-60e0e1c6.js';
|
|
12
12
|
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-f0fc23eb.js';
|
|
15
15
|
import './events-6c3a7a63.js';
|
|
16
16
|
import './debounce-533d9748.js';
|
|
17
17
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -81,10 +81,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
81
81
|
sizes: [[300, 100], [300, 250]]
|
|
82
82
|
}];
|
|
83
83
|
|
|
84
|
-
return
|
|
84
|
+
return React__default.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
null,
|
|
87
|
-
|
|
87
|
+
React__default.createElement(DFPAdSlot, {
|
|
88
88
|
networkID: networkID,
|
|
89
89
|
adUnit: adUnit,
|
|
90
90
|
className: 'AD300x250',
|
|
@@ -98,7 +98,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
98
98
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
99
|
// style={{ display: 'none' }}
|
|
100
100
|
}),
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'style',
|
|
103
103
|
{ jsx: 'true' },
|
|
104
104
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './stringify-59c8f690.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.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-d4165069.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './_to-object-b50e61c3.js';
|
|
@@ -11,7 +11,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
11
11
|
import './extends-60e0e1c6.js';
|
|
12
12
|
import './_object-pie-133f504a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-f0fc23eb.js';
|
|
15
15
|
import './events-6c3a7a63.js';
|
|
16
16
|
import './debounce-533d9748.js';
|
|
17
17
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -67,10 +67,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
67
67
|
var browserSizes = [[728, 90], [970, 90], [320, 50], [300, 50]];
|
|
68
68
|
var mobileSizes = [[320, 50], [300, 50]];
|
|
69
69
|
|
|
70
|
-
return
|
|
70
|
+
return React__default.createElement(
|
|
71
71
|
'div',
|
|
72
72
|
{ className: 'leaderboard-ad-wrapper' },
|
|
73
|
-
|
|
73
|
+
React__default.createElement(DFPAdSlot, {
|
|
74
74
|
slotId: slotId,
|
|
75
75
|
networkID: networkID,
|
|
76
76
|
adUnit: adUnit,
|
|
@@ -90,12 +90,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
90
90
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
91
91
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
92
92
|
}),
|
|
93
|
-
|
|
93
|
+
React__default.createElement(
|
|
94
94
|
'style',
|
|
95
95
|
{ jsx: 'true' },
|
|
96
96
|
'\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 '
|
|
97
97
|
),
|
|
98
|
-
main_43 &&
|
|
98
|
+
main_43 && React__default.createElement(
|
|
99
99
|
'style',
|
|
100
100
|
{ jsx: 'true' },
|
|
101
101
|
'\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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
26
26
|
var title = _ref.title,
|
|
@@ -102,13 +102,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
102
102
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
return
|
|
106
|
-
|
|
105
|
+
return React__default.createElement(
|
|
106
|
+
React__default.Fragment,
|
|
107
107
|
null,
|
|
108
|
-
showAd && widthFlag && adTargeting.document_url &&
|
|
108
|
+
showAd && widthFlag && adTargeting.document_url && React__default.createElement(
|
|
109
109
|
'div',
|
|
110
110
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper display-floating ' + title },
|
|
111
|
-
|
|
111
|
+
React__default.createElement(DFPAdSlot, {
|
|
112
112
|
className: className,
|
|
113
113
|
slotId: slotId,
|
|
114
114
|
networkID: networkID,
|
|
@@ -119,7 +119,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
119
119
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
120
120
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
121
121
|
}),
|
|
122
|
-
|
|
122
|
+
React__default.createElement(
|
|
123
123
|
'div',
|
|
124
124
|
{ className: 'closeButton', onClick: function onClick() {
|
|
125
125
|
return collapseAd();
|
|
@@ -127,7 +127,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
127
127
|
'x'
|
|
128
128
|
)
|
|
129
129
|
),
|
|
130
|
-
|
|
130
|
+
React__default.createElement(
|
|
131
131
|
'style',
|
|
132
132
|
{ jsx: 'true' },
|
|
133
133
|
'\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-be2f7a22.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
4
|
import './web.dom.iterable-4109ff68.js';
|
|
5
5
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -25,20 +25,20 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
25
25
|
sessionStorage.setItem('mjh-floating-footer-ad', Math.floor(Date.now() / 1000));
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
return
|
|
29
|
-
|
|
28
|
+
return React__default.createElement(
|
|
29
|
+
React__default.Fragment,
|
|
30
30
|
null,
|
|
31
|
-
showAd &&
|
|
31
|
+
showAd && React__default.createElement(
|
|
32
32
|
'div',
|
|
33
33
|
{ className: 'ADFooter' },
|
|
34
34
|
children,
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
'div',
|
|
37
37
|
{ className: 'closeButton', onClick: handleCloseAd },
|
|
38
38
|
'x'
|
|
39
39
|
)
|
|
40
40
|
),
|
|
41
|
-
|
|
41
|
+
React__default.createElement(
|
|
42
42
|
'style',
|
|
43
43
|
{ jsx: 'true' },
|
|
44
44
|
'\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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
var ADGutter = function ADGutter(_ref) {
|
|
26
26
|
var title = _ref.title,
|
|
@@ -77,16 +77,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
77
77
|
}, [minScreenWidth]);
|
|
78
78
|
|
|
79
79
|
if (widthFlag) {
|
|
80
|
-
return
|
|
81
|
-
|
|
80
|
+
return React__default.createElement(
|
|
81
|
+
React__default.Fragment,
|
|
82
82
|
null,
|
|
83
|
-
widthFlag &&
|
|
83
|
+
widthFlag && React__default.createElement(
|
|
84
84
|
'div',
|
|
85
85
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
86
|
-
|
|
86
|
+
React__default.createElement(
|
|
87
87
|
'div',
|
|
88
88
|
{ className: 'gutter-ad' },
|
|
89
|
-
|
|
89
|
+
React__default.createElement(DFPAdSlot, {
|
|
90
90
|
className: className,
|
|
91
91
|
slotId: slotId,
|
|
92
92
|
networkID: networkID,
|
|
@@ -100,7 +100,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
100
100
|
})
|
|
101
101
|
)
|
|
102
102
|
),
|
|
103
|
-
|
|
103
|
+
React__default.createElement(
|
|
104
104
|
'style',
|
|
105
105
|
{ jsx: 'true' },
|
|
106
106
|
'\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-be2f7a22.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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
// Skyscraper is below sponsored resource ad in the left column.
|
|
26
26
|
var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
@@ -79,16 +79,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
79
79
|
}
|
|
80
80
|
}, [minScreenWidth]);
|
|
81
81
|
if (widthFlag) {
|
|
82
|
-
return
|
|
83
|
-
|
|
82
|
+
return React__default.createElement(
|
|
83
|
+
React__default.Fragment,
|
|
84
84
|
null,
|
|
85
|
-
|
|
85
|
+
React__default.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
88
|
-
|
|
88
|
+
React__default.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ className: 'skyscraper-ad' },
|
|
91
|
-
|
|
91
|
+
React__default.createElement(DFPAdSlot, {
|
|
92
92
|
className: className,
|
|
93
93
|
slotId: slotId,
|
|
94
94
|
networkID: networkID,
|
|
@@ -101,7 +101,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
101
101
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
102
102
|
})
|
|
103
103
|
),
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
'style',
|
|
106
106
|
{ jsx: 'true' },
|
|
107
107
|
'\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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
26
26
|
var sponsoredAd = _ref.sponsoredAd,
|
|
@@ -76,16 +76,16 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
76
76
|
}, [minScreenWidth]);
|
|
77
77
|
|
|
78
78
|
if (widthFlag) {
|
|
79
|
-
return
|
|
80
|
-
|
|
79
|
+
return React__default.createElement(
|
|
80
|
+
React__default.Fragment,
|
|
81
81
|
null,
|
|
82
|
-
|
|
82
|
+
React__default.createElement(
|
|
83
83
|
'div',
|
|
84
84
|
{ id: 'sponsored-ad-wrapper', className: 'sponsored-ad-wrapper' },
|
|
85
|
-
|
|
85
|
+
React__default.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ className: 'sponsored-ad' },
|
|
88
|
-
|
|
88
|
+
React__default.createElement(DFPAdSlot, {
|
|
89
89
|
className: className,
|
|
90
90
|
slotId: slotId,
|
|
91
91
|
networkID: networkID,
|
|
@@ -98,7 +98,7 @@ var ADSponsoredResources = function ADSponsoredResources(_ref) {
|
|
|
98
98
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
99
99
|
})
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'style',
|
|
103
103
|
{ jsx: 'true' },
|
|
104
104
|
'\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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
// Webcast AD : New AD with size [200,100] that is to be renderedin the LeftNav between the spotlight and subnavigation.
|
|
26
26
|
var ADWebcast = function ADWebcast(_ref) {
|
|
@@ -79,16 +79,16 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
79
79
|
}, [minScreenWidth]);
|
|
80
80
|
|
|
81
81
|
if (widthFlag) {
|
|
82
|
-
return
|
|
83
|
-
|
|
82
|
+
return React__default.createElement(
|
|
83
|
+
React__default.Fragment,
|
|
84
84
|
null,
|
|
85
|
-
|
|
85
|
+
React__default.createElement(
|
|
86
86
|
'div',
|
|
87
87
|
{ id: 'webcast-ad-wrapper', className: 'webcast-ad-wrapper' },
|
|
88
|
-
|
|
88
|
+
React__default.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ className: 'webcast-ad', style: { paddingBottom: '15px' } },
|
|
91
|
-
|
|
91
|
+
React__default.createElement(DFPAdSlot, {
|
|
92
92
|
className: className,
|
|
93
93
|
slotId: slotId,
|
|
94
94
|
networkID: networkID,
|
|
@@ -103,7 +103,7 @@ var ADWebcast = function ADWebcast(_ref) {
|
|
|
103
103
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
104
104
|
})
|
|
105
105
|
),
|
|
106
|
-
|
|
106
|
+
React__default.createElement(
|
|
107
107
|
'style',
|
|
108
108
|
{ jsx: 'true' },
|
|
109
109
|
'\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-be2f7a22.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-4109ff68.js';
|
|
@@ -9,7 +9,7 @@ import './core.get-iterator-method-133dfacd.js';
|
|
|
9
9
|
import './extends-60e0e1c6.js';
|
|
10
10
|
import './_object-pie-133f504a.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import './index-
|
|
12
|
+
import './index-f0fc23eb.js';
|
|
13
13
|
import './events-6c3a7a63.js';
|
|
14
14
|
import './debounce-533d9748.js';
|
|
15
15
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -20,7 +20,7 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
20
20
|
import './_library-528f1934.js';
|
|
21
21
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
22
|
import './Segment.js';
|
|
23
|
-
import './main-
|
|
23
|
+
import './main-d4165069.js';
|
|
24
24
|
|
|
25
25
|
var ADWelcome = function ADWelcome(_ref) {
|
|
26
26
|
var title = _ref.title,
|
|
@@ -87,21 +87,21 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
87
87
|
|
|
88
88
|
return (
|
|
89
89
|
// Setting welcome ad to display:none and Setting to display:block after checking for cookie in site level.
|
|
90
|
-
|
|
90
|
+
React__default.createElement(
|
|
91
91
|
'div',
|
|
92
92
|
{ style: { outline: 'none', display: 'none' }, className: 'welcome-modal', id: 'welcome-modal' },
|
|
93
|
-
|
|
93
|
+
React__default.createElement(
|
|
94
94
|
'div',
|
|
95
95
|
{ className: 'welcome-ad-head-wrapper' },
|
|
96
|
-
|
|
96
|
+
React__default.createElement(
|
|
97
97
|
'div',
|
|
98
98
|
{ className: 'left-top' },
|
|
99
|
-
|
|
99
|
+
React__default.createElement('img', { style: { width: '100%' }, src: Website.logo, alt: Website.title })
|
|
100
100
|
),
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'div',
|
|
103
103
|
{ className: 'right-top' },
|
|
104
|
-
|
|
104
|
+
React__default.createElement(
|
|
105
105
|
'span',
|
|
106
106
|
{
|
|
107
107
|
className: 'continue-site',
|
|
@@ -116,7 +116,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
116
116
|
} },
|
|
117
117
|
'CONTINUE TO SITE'
|
|
118
118
|
),
|
|
119
|
-
|
|
119
|
+
React__default.createElement(
|
|
120
120
|
'p',
|
|
121
121
|
{
|
|
122
122
|
style: {
|
|
@@ -128,10 +128,10 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
128
128
|
)
|
|
129
129
|
)
|
|
130
130
|
),
|
|
131
|
-
|
|
131
|
+
React__default.createElement(
|
|
132
132
|
'div',
|
|
133
133
|
{ className: title },
|
|
134
|
-
|
|
134
|
+
React__default.createElement(DFPAdSlot, {
|
|
135
135
|
className: className,
|
|
136
136
|
slotId: slotId,
|
|
137
137
|
networkID: networkID,
|
|
@@ -142,7 +142,7 @@ var ADWelcome = function ADWelcome(_ref) {
|
|
|
142
142
|
checkIsAdFound: checkIsAdFound
|
|
143
143
|
})
|
|
144
144
|
),
|
|
145
|
-
|
|
145
|
+
React__default.createElement(
|
|
146
146
|
'style',
|
|
147
147
|
{ jsx: 'true' },
|
|
148
148
|
'\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-be2f7a22.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 '
|