@mjhls/mjh-framework 1.0.703-testing-module-splittingv6 → 1.0.704-beta-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -172
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +24 -26
- package/dist/cjs/AD300x250x600.js +24 -26
- package/dist/cjs/AD728x90.js +27 -29
- package/dist/cjs/ADFloatingFooter.js +29 -31
- package/dist/cjs/ADFooter.js +14 -16
- package/dist/cjs/ADGutter.js +26 -28
- package/dist/cjs/{ADInfeed-d36dc3ca.js → ADInfeed-38066a36.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +26 -28
- package/dist/cjs/ADSponsoredResources.js +26 -28
- package/dist/cjs/ADWebcast.js +26 -28
- package/dist/cjs/ADWelcome.js +31 -33
- package/dist/cjs/{ADlgInfeed-93205fa0.js → ADlgInfeed-d95c9027.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -32
- package/dist/cjs/AdSlot.js +31 -33
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlphabeticList.js +24 -26
- package/dist/cjs/ArticleCarousel.js +21 -23
- package/dist/cjs/ArticleSeriesListing.js +57 -59
- package/dist/cjs/Auth.js +330 -817
- package/dist/cjs/{AuthorComponent-482218ce.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -10
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-80b15fac.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -30
- package/dist/cjs/BrowseVideosListing.js +39 -41
- package/dist/cjs/CMEDeck.js +78 -79
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -36
- package/dist/cjs/Column3.js +55 -59
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +102 -107
- package/dist/cjs/DeckQueue.js +86 -91
- package/dist/cjs/{Dfp-80c3d853.js → Dfp-390337bf.js} +30 -32
- package/dist/cjs/EventsDeck.js +149 -157
- package/dist/cjs/ExternalResources.js +74 -76
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -42
- package/dist/cjs/GridContent.js +177 -182
- package/dist/cjs/GridHero.js +42 -44
- package/dist/cjs/GroupDeck.js +49 -51
- package/dist/cjs/HamMagazine.js +139 -145
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -78
- package/dist/cjs/IssueDeck.js +70 -76
- package/dist/cjs/IssueLanding.js +69 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +36 -39
- package/dist/cjs/MasterDeck.js +79 -81
- package/dist/cjs/NavDvm.js +75 -81
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +148 -154
- package/dist/cjs/NavNative.js +124 -133
- package/dist/cjs/NavNormal.js +48 -54
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -68
- package/dist/cjs/PageFilter.js +14 -16
- package/dist/cjs/PartnerDetailListing.js +105 -107
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -22
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +114 -119
- package/dist/cjs/QueueDeckExpanded.js +292 -293
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +52 -53
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -23
- package/dist/cjs/Segment.js +7 -8
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-a49e8e9d.js → SocialSearchComponent-56d49a1a.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -63
- package/dist/cjs/TemplateNormal.js +72 -74
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -28
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoSeriesCard.js +33 -35
- package/dist/cjs/VideoSeriesFilter.js +19 -20
- package/dist/cjs/VideoSeriesListing.js +72 -74
- package/dist/cjs/View.js +220 -224
- package/dist/cjs/YahooHero.js +39 -41
- package/dist/cjs/YoutubeGroup.js +68 -70
- package/dist/cjs/{_is-array-4c61cfba.js → _is-array-754e012d.js} +12 -13
- package/dist/cjs/{_iter-detect-2a826637.js → _iter-detect-60b2f026.js} +4 -4
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_set-species-d088ff6e.js → _set-species-f92c67c5.js} +9 -10
- package/dist/cjs/{_export-7e018e14.js → _to-object-329a650b.js} +146 -2
- package/dist/cjs/{asyncToGenerator-7ca8f87e.js → asyncToGenerator-533d476a.js} +57 -58
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-14f49e03.js → core.get-iterator-method-f62321d4.js} +3 -4
- package/dist/cjs/{define-property-fd46a81e.js → define-property-f4d12f4e.js} +3 -3
- package/dist/cjs/{defineProperty-edc12c5a.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-a390d61f.js → es6.string.iterator-cc0bbaa4.js} +17 -18
- package/dist/cjs/{extends-0a166456.js → extends-60837c34.js} +5 -6
- package/dist/cjs/getRelatedArticle.js +76 -139
- package/dist/cjs/getSerializers.js +41 -42
- package/dist/cjs/{getTargeting-57edbc60.js → getTargeting-fee8c429.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -8
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-5ad2b070.js → index-099d45ae.js} +17 -16
- package/dist/cjs/{index-cb6ed1fc.js → index-3294d3bc.js} +18 -17
- package/dist/cjs/{index-d48b231c.js → index-39beccb3.js} +24 -29
- package/dist/cjs/{index-0e3597c2.js → index-58dae365.js} +429 -440
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +261 -9
- package/dist/cjs/{inherits-a9209207.js → inherits-513d81cd.js} +15 -16
- package/dist/cjs/{keys-d2f5bcf0.js → keys-a586b7a0.js} +3 -4
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-eeffe77b.js → main-03ffa84c.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-60dafa9c.js → slicedToArray-8f385299.js} +7 -7
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-95231a70.js} +1 -1
- package/dist/cjs/{stringify-44244c64.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-4bb00640.js → toConsumableArray-9a3476fe.js} +8 -9
- package/dist/cjs/{typeof-03c3fdc8.js → typeof-725500bc.js} +49 -50
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-2d47ebe6.js → web.dom.iterable-a0e279c1.js} +5 -6
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +22 -23
- package/dist/esm/AD300x250x600.js +22 -23
- package/dist/esm/AD728x90.js +25 -26
- package/dist/esm/ADFloatingFooter.js +27 -28
- package/dist/esm/ADFooter.js +11 -12
- package/dist/esm/ADGutter.js +24 -25
- package/dist/esm/{ADInfeed-bf7de12d.js → ADInfeed-7b1b2fcb.js} +7 -7
- package/dist/esm/ADSkyscraper.js +24 -25
- package/dist/esm/ADSponsoredResources.js +24 -25
- package/dist/esm/ADWebcast.js +24 -25
- package/dist/esm/ADWelcome.js +29 -30
- package/dist/esm/{ADlgInfeed-3ac04591.js → ADlgInfeed-2afe92e6.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -25
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +22 -23
- package/dist/esm/ArticleCarousel.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +52 -53
- package/dist/esm/Auth.js +315 -798
- package/dist/esm/{AuthorComponent-22790017.js → AuthorComponent-00f13201.js} +11 -11
- package/dist/esm/Beam.js +9 -10
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-c409aca5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -18
- package/dist/esm/BrowseVideosListing.js +36 -37
- package/dist/esm/CMEDeck.js +75 -76
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -27
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +84 -85
- package/dist/esm/DeckQueue.js +64 -65
- package/dist/esm/{Dfp-08279047.js → Dfp-741c01be.js} +20 -21
- package/dist/esm/EventsDeck.js +100 -101
- package/dist/esm/ExternalResources.js +69 -70
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -35
- package/dist/esm/GridContent.js +139 -140
- package/dist/esm/GridHero.js +36 -37
- package/dist/esm/GroupDeck.js +45 -46
- package/dist/esm/HamMagazine.js +113 -114
- 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 -50
- package/dist/esm/IssueDeck.js +46 -47
- package/dist/esm/IssueLanding.js +67 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -34
- package/dist/esm/MasterDeck.js +73 -74
- package/dist/esm/NavDvm.js +57 -58
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -125
- package/dist/esm/NavNative.js +100 -101
- package/dist/esm/NavNormal.js +36 -37
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -60
- package/dist/esm/PageFilter.js +12 -13
- package/dist/esm/PartnerDetailListing.js +102 -103
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -15
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -76
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -13
- package/dist/esm/Segment.js +7 -8
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-46ea0f4d.js → SocialSearchComponent-677ed3bd.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -42
- package/dist/esm/TemplateNormal.js +67 -68
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -24
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -26
- package/dist/esm/VideoSeriesFilter.js +16 -17
- package/dist/esm/VideoSeriesListing.js +66 -67
- package/dist/esm/View.js +212 -212
- package/dist/esm/YahooHero.js +34 -35
- package/dist/esm/YoutubeGroup.js +53 -54
- package/dist/esm/{_is-array-46713c19.js → _is-array-49698029.js} +6 -7
- package/dist/esm/{_iter-detect-60cd145f.js → _iter-detect-59409a32.js} +2 -2
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-71ac75a4.js} +1 -1
- package/dist/esm/{_object-sap-108a1939.js → _object-sap-4d59d5bd.js} +1 -1
- package/dist/esm/{_set-species-a4b3fe39.js → _set-species-cede29f8.js} +5 -6
- package/dist/esm/{_export-9029ebab.js → _to-object-ded78eb9.js} +134 -3
- package/dist/esm/{asyncToGenerator-7714cea4.js → asyncToGenerator-7c654f36.js} +9 -10
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-6636b3ef.js → core.get-iterator-method-54d2e411.js} +2 -3
- package/dist/esm/{define-property-f2d6f244.js → define-property-de3fc946.js} +1 -1
- package/dist/esm/{defineProperty-69f06029.js → defineProperty-b798470d.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-2efae22d.js → es6.string.iterator-9b2af4a5.js} +3 -4
- package/dist/esm/{extends-f866c8d0.js → extends-cc5da797.js} +2 -3
- package/dist/esm/getRelatedArticle.js +71 -134
- package/dist/esm/getSerializers.js +41 -42
- package/dist/esm/{getTargeting-5cdca4e1.js → getTargeting-2acdec91.js} +11 -11
- package/dist/esm/getTargeting.js +8 -9
- package/dist/esm/{index-3f5c03b2.js → index-3849e3fe.js} +24 -29
- package/dist/esm/{index-669ff425.js → index-3f4dd6f2.js} +12 -10
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-5db919a6.js → index-7779a6df.js} +380 -384
- package/dist/esm/{index-750a7380.js → index-ef6d5dcf.js} +18 -17
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-57f377a5.js → index.esm-29e48d38.js} +16 -7
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +173 -11
- package/dist/esm/{inherits-75d6495f.js → inherits-7ee3e0c1.js} +5 -6
- package/dist/esm/{keys-78217618.js → keys-fc2d4c34.js} +2 -3
- package/dist/esm/{lodash-ad27652f.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-decc48f4.js → main-35ff7b4f.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-fa9240c4.js → slicedToArray-7021e5df.js} +4 -4
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-4b699764.js} +1 -1
- package/dist/esm/{stringify-22907f56.js → stringify-008c8802.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-bd01c637.js → toConsumableArray-725434a0.js} +4 -5
- package/dist/esm/{typeof-668f30cd.js → typeof-08f2c380.js} +8 -9
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-89515070.js → web.dom.iterable-8956f9a5.js} +3 -4
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-4ac28868.js +0 -16
- package/dist/cjs/_to-object-233fc5c9.js +0 -149
- package/dist/esm/_to-object-62924b74.js +0 -135
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-741c01be.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,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { m as main_40 } from './main-decc48f4.js';
|
|
5
|
-
import DFPAdSlot from './AdSlot.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
14
12
|
import 'prop-types';
|
|
15
|
-
import './index-669ff425.js';
|
|
16
|
-
import './debounce-1a993acf.js';
|
|
17
13
|
import './isSymbol-807e927e.js';
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
23
20
|
import './Segment.js';
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
26
25
|
var AD300x250 = function AD300x250(_ref) {
|
|
@@ -34,7 +33,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
34
33
|
pos = _ref$pos === undefined ? 'rec1' : _ref$pos;
|
|
35
34
|
|
|
36
35
|
var mobileView = false;
|
|
37
|
-
if (
|
|
36
|
+
if (main_36) {
|
|
38
37
|
pos = 'rec1-mobile';
|
|
39
38
|
mobileView = true;
|
|
40
39
|
}
|
|
@@ -111,10 +110,10 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
111
110
|
}
|
|
112
111
|
};
|
|
113
112
|
|
|
114
|
-
return
|
|
113
|
+
return React__default.createElement(
|
|
115
114
|
'div',
|
|
116
115
|
null,
|
|
117
|
-
|
|
116
|
+
React__default.createElement(DFPAdSlot, {
|
|
118
117
|
networkID: networkID,
|
|
119
118
|
adUnit: adUnit,
|
|
120
119
|
slotId: slotId,
|
|
@@ -125,7 +124,7 @@ var AD300x250 = function AD300x250(_ref) {
|
|
|
125
124
|
, checkIsAdFound: previewAd ? null : checkIsAdFound,
|
|
126
125
|
style: { display: 'none' }
|
|
127
126
|
}),
|
|
128
|
-
|
|
127
|
+
React__default.createElement(
|
|
129
128
|
'style',
|
|
130
129
|
{ jsx: 'true' },
|
|
131
130
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { m as main_40 } from './main-decc48f4.js';
|
|
5
|
-
import DFPAdSlot from './AdSlot.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
14
12
|
import 'prop-types';
|
|
15
|
-
import './index-669ff425.js';
|
|
16
|
-
import './debounce-1a993acf.js';
|
|
17
13
|
import './isSymbol-807e927e.js';
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
23
20
|
import './Segment.js';
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
// removed static slotID ,because defining static slotID is restricting AD to render only once.
|
|
26
25
|
var AD300x250x600 = function AD300x250x600(_ref) {
|
|
@@ -35,7 +34,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
35
34
|
_ref$sizeMapFlag = _ref.sizeMapFlag,
|
|
36
35
|
sizeMapFlag = _ref$sizeMapFlag === undefined ? true : _ref$sizeMapFlag;
|
|
37
36
|
|
|
38
|
-
if (
|
|
37
|
+
if (main_36) {
|
|
39
38
|
pos = 'rec2-mobile';
|
|
40
39
|
}
|
|
41
40
|
|
|
@@ -125,10 +124,10 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
125
124
|
}
|
|
126
125
|
};
|
|
127
126
|
|
|
128
|
-
return
|
|
127
|
+
return React__default.createElement(
|
|
129
128
|
'div',
|
|
130
129
|
null,
|
|
131
|
-
|
|
130
|
+
React__default.createElement(DFPAdSlot, {
|
|
132
131
|
networkID: networkID,
|
|
133
132
|
adUnit: adUnit,
|
|
134
133
|
className: 'AD300x250',
|
|
@@ -142,7 +141,7 @@ var AD300x250x600 = function AD300x250x600(_ref) {
|
|
|
142
141
|
, checkIsAdFound: previewAd ? null : checkIsAdFound,
|
|
143
142
|
style: { display: 'none' }
|
|
144
143
|
}),
|
|
145
|
-
|
|
144
|
+
React__default.createElement(
|
|
146
145
|
'style',
|
|
147
146
|
{ jsx: 'true' },
|
|
148
147
|
'\n .AD300x250 .div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/AD728x90.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { m as main_40 } from './main-decc48f4.js';
|
|
5
|
-
import DFPAdSlot from './AdSlot.js';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
14
12
|
import 'prop-types';
|
|
15
|
-
import './index-669ff425.js';
|
|
16
|
-
import './debounce-1a993acf.js';
|
|
17
13
|
import './isSymbol-807e927e.js';
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import { m as main_36 } from './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
23
20
|
import './Segment.js';
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
var AD728x90 = function AD728x90(_ref) {
|
|
26
25
|
var networkID = _ref.networkID,
|
|
@@ -30,11 +29,11 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
30
29
|
_ref$targeting = _ref.targeting,
|
|
31
30
|
targeting = _ref$targeting === undefined ? {} : _ref$targeting,
|
|
32
31
|
_ref$pos = _ref.pos,
|
|
33
|
-
pos = _ref$pos === undefined ? 'top' : _ref$pos
|
|
34
|
-
_ref.fixedPos;
|
|
32
|
+
pos = _ref$pos === undefined ? 'top' : _ref$pos,
|
|
33
|
+
_ref$fixedPos = _ref.fixedPos;
|
|
35
34
|
|
|
36
35
|
var mobileView = false;
|
|
37
|
-
if (
|
|
36
|
+
if (main_36) {
|
|
38
37
|
pos = 'top-mobile';
|
|
39
38
|
mobileView = true;
|
|
40
39
|
}
|
|
@@ -100,10 +99,10 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
100
99
|
}
|
|
101
100
|
};
|
|
102
101
|
|
|
103
|
-
return
|
|
102
|
+
return React__default.createElement(
|
|
104
103
|
'div',
|
|
105
104
|
{ className: 'leaderboard-ad-wrapper' },
|
|
106
|
-
|
|
105
|
+
React__default.createElement(DFPAdSlot, {
|
|
107
106
|
slotId: slotId,
|
|
108
107
|
networkID: networkID,
|
|
109
108
|
adUnit: adUnit,
|
|
@@ -120,12 +119,12 @@ var AD728x90 = function AD728x90(_ref) {
|
|
|
120
119
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
121
120
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
122
121
|
}),
|
|
123
|
-
|
|
122
|
+
React__default.createElement(
|
|
124
123
|
'style',
|
|
125
124
|
{ jsx: 'true' },
|
|
126
125
|
'\n .leaderboard-ad-wrapper {\n height: auto !important;\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 '
|
|
127
126
|
),
|
|
128
|
-
|
|
127
|
+
main_36 && React__default.createElement(
|
|
129
128
|
'style',
|
|
130
129
|
{ jsx: 'true' },
|
|
131
130
|
'\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,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './core.get-iterator-method-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
13
12
|
import 'prop-types';
|
|
14
|
-
import './index-669ff425.js';
|
|
15
|
-
import './debounce-1a993acf.js';
|
|
16
13
|
import './isSymbol-807e927e.js';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
22
20
|
import './Segment.js';
|
|
23
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
26
25
|
var title = _ref.title,
|
|
@@ -108,9 +107,9 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
108
107
|
parent.classList.add('display-floating');
|
|
109
108
|
}
|
|
110
109
|
// Need to add this CSS in site level magazine.css to make the close button visible for the expanded ad.
|
|
111
|
-
/* .w7e-platform-58 {
|
|
112
|
-
z-index: 9999999 !important;
|
|
113
|
-
}
|
|
110
|
+
/* .w7e-platform-58 {
|
|
111
|
+
z-index: 9999999 !important;
|
|
112
|
+
}
|
|
114
113
|
*/
|
|
115
114
|
}
|
|
116
115
|
} else {
|
|
@@ -118,13 +117,13 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
118
117
|
}
|
|
119
118
|
};
|
|
120
119
|
|
|
121
|
-
return
|
|
122
|
-
|
|
120
|
+
return React__default.createElement(
|
|
121
|
+
React__default.Fragment,
|
|
123
122
|
null,
|
|
124
|
-
widthFlag && adTargeting.document_url &&
|
|
123
|
+
widthFlag && adTargeting.document_url && React__default.createElement(
|
|
125
124
|
'div',
|
|
126
125
|
{ id: 'floating-ad-wrapper', className: 'floating-ad-wrapper hide-floating ' + title },
|
|
127
|
-
|
|
126
|
+
React__default.createElement(DFPAdSlot, {
|
|
128
127
|
className: className,
|
|
129
128
|
slotId: slotId,
|
|
130
129
|
networkID: networkID,
|
|
@@ -135,7 +134,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
135
134
|
/* Passing function to check for ad creative only if it is not in preview. */
|
|
136
135
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
137
136
|
}),
|
|
138
|
-
|
|
137
|
+
React__default.createElement(
|
|
139
138
|
'div',
|
|
140
139
|
{ className: 'closeButton', onClick: function onClick() {
|
|
141
140
|
return collapseAd();
|
|
@@ -143,7 +142,7 @@ var ADFloatingFooter = function ADFloatingFooter(_ref) {
|
|
|
143
142
|
'x'
|
|
144
143
|
)
|
|
145
144
|
),
|
|
146
|
-
|
|
145
|
+
React__default.createElement(
|
|
147
146
|
'style',
|
|
148
147
|
{ jsx: 'true' },
|
|
149
148
|
'\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,11 +1,10 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
-
import React, { useState } from 'react';
|
|
3
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
-
import './
|
|
5
|
-
import './es6.string.iterator-
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import '
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
5
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
6
|
+
import React__default, { useState } from 'react';
|
|
7
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
9
8
|
|
|
10
9
|
var ADFooter = function ADFooter(_ref) {
|
|
11
10
|
var children = _ref.children;
|
|
@@ -15,14 +14,14 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
15
14
|
showAd = _useState2[0],
|
|
16
15
|
setShowAd = _useState2[1];
|
|
17
16
|
|
|
18
|
-
return
|
|
19
|
-
|
|
17
|
+
return React__default.createElement(
|
|
18
|
+
React__default.Fragment,
|
|
20
19
|
null,
|
|
21
|
-
showAd &&
|
|
20
|
+
showAd && React__default.createElement(
|
|
22
21
|
'div',
|
|
23
22
|
{ className: 'ADFooter' },
|
|
24
23
|
children,
|
|
25
|
-
|
|
24
|
+
React__default.createElement(
|
|
26
25
|
'div',
|
|
27
26
|
{ className: 'closeButton', onClick: function onClick() {
|
|
28
27
|
return setShowAd(false);
|
|
@@ -30,7 +29,7 @@ var ADFooter = function ADFooter(_ref) {
|
|
|
30
29
|
'x'
|
|
31
30
|
)
|
|
32
31
|
),
|
|
33
|
-
|
|
32
|
+
React__default.createElement(
|
|
34
33
|
'style',
|
|
35
34
|
{ jsx: 'true' },
|
|
36
35
|
'\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,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './core.get-iterator-method-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
13
12
|
import 'prop-types';
|
|
14
|
-
import './index-669ff425.js';
|
|
15
|
-
import './debounce-1a993acf.js';
|
|
16
13
|
import './isSymbol-807e927e.js';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
22
20
|
import './Segment.js';
|
|
23
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
var ADGutter = function ADGutter(_ref) {
|
|
26
25
|
var title = _ref.title,
|
|
@@ -108,16 +107,16 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
108
107
|
};
|
|
109
108
|
|
|
110
109
|
if (widthFlag) {
|
|
111
|
-
return
|
|
112
|
-
|
|
110
|
+
return React__default.createElement(
|
|
111
|
+
React__default.Fragment,
|
|
113
112
|
null,
|
|
114
|
-
widthFlag &&
|
|
113
|
+
widthFlag && React__default.createElement(
|
|
115
114
|
'div',
|
|
116
115
|
{ id: 'gutter-ad-wrapper', className: 'gutter-ad-wrapper ' + title },
|
|
117
|
-
|
|
116
|
+
React__default.createElement(
|
|
118
117
|
'div',
|
|
119
118
|
{ className: 'gutter-ad' },
|
|
120
|
-
|
|
119
|
+
React__default.createElement(DFPAdSlot, {
|
|
121
120
|
className: className,
|
|
122
121
|
slotId: slotId,
|
|
123
122
|
networkID: networkID,
|
|
@@ -131,7 +130,7 @@ var ADGutter = function ADGutter(_ref) {
|
|
|
131
130
|
})
|
|
132
131
|
)
|
|
133
132
|
),
|
|
134
|
-
|
|
133
|
+
React__default.createElement(
|
|
135
134
|
'style',
|
|
136
135
|
{ jsx: 'true' },
|
|
137
136
|
'\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,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
1
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
2
|
import Card from 'react-bootstrap/Card';
|
|
3
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
5
5
|
import DFPAdSlot from './AdSlot.js';
|
|
6
6
|
|
|
7
7
|
var ADInfeed = function ADInfeed(_ref) {
|
|
@@ -61,13 +61,13 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
return
|
|
64
|
+
return React__default.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ id: 'brand-insight-wrapper-' + (index + 1), className: 'brand-insight-wrapper', style: { display: 'none', flex: '1 0 auto' } },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
Card,
|
|
69
69
|
{ className: 'ad-wrapper', style: { display: 'block !important', flexDirection: index === 0 || index % 4 === 0 ? 'top' : 'row' } },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(DFPAdSlot, {
|
|
71
71
|
className: className,
|
|
72
72
|
networkID: networkID,
|
|
73
73
|
adUnit: adUnit,
|
|
@@ -80,7 +80,7 @@ var ADInfeed = function ADInfeed(_ref) {
|
|
|
80
80
|
, refreshFlag: refreshFlag
|
|
81
81
|
})
|
|
82
82
|
),
|
|
83
|
-
|
|
83
|
+
React__default.createElement(
|
|
84
84
|
'style',
|
|
85
85
|
{ jsx: 'true' },
|
|
86
86
|
'\n .brand-insight-wrapper div[id*=\'google_ads_iframe\']:empty {\n height: 0px !important;\n }\n '
|
package/dist/esm/ADSkyscraper.js
CHANGED
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
import { _ as _JSON$stringify } from './stringify-22907f56.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import DFPAdSlot from './AdSlot.js';
|
|
5
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './core.get-iterator-method-
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
+
import './_object-pie-71ac75a4.js';
|
|
8
|
+
import './extends-cc5da797.js';
|
|
9
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
10
|
+
import React__default, { useState, useEffect } from 'react';
|
|
11
|
+
import './index-3f4dd6f2.js';
|
|
13
12
|
import 'prop-types';
|
|
14
|
-
import './index-669ff425.js';
|
|
15
|
-
import './debounce-1a993acf.js';
|
|
16
13
|
import './isSymbol-807e927e.js';
|
|
17
|
-
import './
|
|
18
|
-
import './
|
|
19
|
-
import './
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
14
|
+
import './debounce-1a993acf.js';
|
|
15
|
+
import './main-35ff7b4f.js';
|
|
16
|
+
import { _ as _JSON$stringify } from './stringify-008c8802.js';
|
|
17
|
+
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
18
|
+
import './asyncToGenerator-7c654f36.js';
|
|
19
|
+
import './_set-species-cede29f8.js';
|
|
22
20
|
import './Segment.js';
|
|
23
|
-
import './
|
|
21
|
+
import './Beam.js';
|
|
22
|
+
import DFPAdSlot from './AdSlot.js';
|
|
24
23
|
|
|
25
24
|
// Skyscraper is below sponsored resource ad in the left column.
|
|
26
25
|
var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
@@ -111,16 +110,16 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
111
110
|
}
|
|
112
111
|
};
|
|
113
112
|
if (widthFlag) {
|
|
114
|
-
return
|
|
115
|
-
|
|
113
|
+
return React__default.createElement(
|
|
114
|
+
React__default.Fragment,
|
|
116
115
|
null,
|
|
117
|
-
|
|
116
|
+
React__default.createElement(
|
|
118
117
|
'div',
|
|
119
118
|
{ id: 'skyscraper-ad-wrapper', className: 'skyscraper-ad-wrapper' },
|
|
120
|
-
|
|
119
|
+
React__default.createElement(
|
|
121
120
|
'div',
|
|
122
121
|
{ className: 'skyscraper-ad' },
|
|
123
|
-
|
|
122
|
+
React__default.createElement(DFPAdSlot, {
|
|
124
123
|
className: className,
|
|
125
124
|
slotId: slotId,
|
|
126
125
|
networkID: networkID,
|
|
@@ -133,7 +132,7 @@ var ADSkyscraper = function ADSkyscraper(_ref) {
|
|
|
133
132
|
, checkIsAdFound: previewAd ? null : checkIsAdFound
|
|
134
133
|
})
|
|
135
134
|
),
|
|
136
|
-
|
|
135
|
+
React__default.createElement(
|
|
137
136
|
'style',
|
|
138
137
|
{ jsx: 'true' },
|
|
139
138
|
'\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 '
|