@mjhls/mjh-framework 1.0.828-beta.1 → 1.0.828-deck-scroll-fix-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/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-8d621d3c.js → ADInfeed-0158bee3.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-0e26bccb.js → ADlgInfeed-3583144f.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +11 -902
- package/dist/cjs/AlgoliaSearch.js +622 -611
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +11 -10
- package/dist/cjs/ArticleProgramLandingPage.js +24 -23
- package/dist/cjs/ArticleSeriesLandingPage.js +20 -19
- package/dist/cjs/ArticleSeriesListing.js +40 -39
- package/dist/cjs/Auth.js +232 -344
- package/dist/cjs/AuthWrapper.js +119 -38
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -64
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +18 -17
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +78 -74
- package/dist/cjs/DeckQueue.js +72 -68
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-391fd124.js} +23 -22
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +47 -46
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +160 -156
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +121 -116
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +37 -36
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +29 -28
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/MediaSeriesLanding.js +729 -782
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +116 -108
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +70 -69
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +20 -19
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +87 -83
- package/dist/cjs/QueueDeckExpanded.js +303 -307
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +23 -22
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -26
- package/dist/cjs/{SeriesSlider-85eec772.js → SeriesSlider-b94509d5.js} +34 -33
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-42b9d251.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +22 -21
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +44 -40
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -25
- package/dist/cjs/VideoSeriesListing.js +57 -56
- package/dist/cjs/View.js +204 -200
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +51 -50
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +11 -11
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-15ad167c.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
- package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-b260fa99.js → index-f30a10d6.js} +853 -830
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +64 -60
- package/dist/cjs/{inherits-9953db94.js → inherits-0c7830c5.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- 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-b566ce41.js → ADInfeed-427022e9.js} +7 -7
- 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-5eb7281d.js → ADlgInfeed-28d3f944.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +10 -902
- package/dist/esm/AlgoliaSearch.js +251 -241
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +8 -8
- package/dist/esm/ArticleProgramLandingPage.js +20 -20
- package/dist/esm/ArticleSeriesLandingPage.js +17 -17
- package/dist/esm/ArticleSeriesListing.js +36 -36
- package/dist/esm/Auth.js +211 -327
- package/dist/esm/AuthWrapper.js +116 -36
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -61
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +30 -30
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +70 -70
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-b7236041.js → Dfp-2f9796e1.js} +10 -10
- package/dist/esm/EventsDeck.js +92 -92
- package/dist/esm/ExternalResources.js +41 -41
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +143 -143
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +34 -34
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +54 -54
- package/dist/esm/IssueLanding.js +26 -26
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +46 -46
- package/dist/esm/MediaSeriesLanding.js +449 -505
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +93 -93
- package/dist/esm/NavNative.js +83 -83
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +66 -66
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +17 -17
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +69 -69
- package/dist/esm/QueueDeckExpanded.js +269 -273
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +17 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-afab5c1b.js → SeriesSlider-935e2b4e.js} +24 -24
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-94f6554c.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +50 -50
- package/dist/esm/TaxonomyDescription.js +16 -16
- package/dist/esm/TemplateNormal.js +31 -31
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +32 -32
- package/dist/esm/VideoSeriesCard.js +17 -17
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +17 -17
- package/dist/esm/VideoSeriesListing.js +53 -53
- package/dist/esm/View.js +180 -180
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +35 -35
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +11 -11
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-59f14f72.js → index-a69960c8.js} +805 -789
- package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +51 -50
- package/dist/esm/{inherits-cf8dde54.js → inherits-75d45541.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/DeckContent.js
CHANGED
|
@@ -8,31 +8,31 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
19
|
import 'prop-types';
|
|
20
|
-
import Container
|
|
21
|
-
import Row
|
|
22
|
-
import Col
|
|
23
|
-
import Card
|
|
24
|
-
import { m as moment } from './moment-
|
|
20
|
+
import Container from 'react-bootstrap/Container';
|
|
21
|
+
import Row from 'react-bootstrap/Row';
|
|
22
|
+
import Col from 'react-bootstrap/Col';
|
|
23
|
+
import Card from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
25
25
|
import { withRouter } from 'next/router';
|
|
26
26
|
import './isSymbol-1981418f.js';
|
|
27
27
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
28
|
import './toNumber-2f7a84cd.js';
|
|
29
|
-
import { I as InfiniteScroll } from './index.es-
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
30
|
import 'react-dom';
|
|
31
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
32
|
-
import './index-
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
33
33
|
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-
|
|
35
|
-
import { m as
|
|
34
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
35
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
36
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
37
|
import './slicedToArray-641f241f.js';
|
|
38
38
|
import './stringify-4330ccdc.js';
|
|
@@ -40,7 +40,7 @@ import './asyncToGenerator-fc1c2e29.js';
|
|
|
40
40
|
import './Segment.js';
|
|
41
41
|
import './Beam.js';
|
|
42
42
|
import './AdSlot.js';
|
|
43
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
43
|
+
import { A as ADInfeed } from './ADInfeed-427022e9.js';
|
|
44
44
|
|
|
45
45
|
var DeckContent = function (_React$Component) {
|
|
46
46
|
_inherits(DeckContent, _React$Component);
|
|
@@ -201,35 +201,35 @@ var DeckContent = function (_React$Component) {
|
|
|
201
201
|
url = authorDetail.url;
|
|
202
202
|
|
|
203
203
|
if (displayName && url && url.current) {
|
|
204
|
-
return
|
|
204
|
+
return React.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ key: _id },
|
|
207
|
-
index === 0 &&
|
|
207
|
+
index === 0 && React.createElement(
|
|
208
208
|
'span',
|
|
209
209
|
{ className: 'pr-1' },
|
|
210
210
|
'By'
|
|
211
211
|
),
|
|
212
|
-
|
|
212
|
+
React.createElement(
|
|
213
213
|
'a',
|
|
214
214
|
{ href: '/authors/${url.current}', className: 'text-muted' },
|
|
215
215
|
displayName,
|
|
216
|
-
length !== index + 1 &&
|
|
216
|
+
length !== index + 1 && React.createElement('br', null)
|
|
217
217
|
)
|
|
218
218
|
);
|
|
219
219
|
} else if (displayName) {
|
|
220
|
-
return
|
|
220
|
+
return React.createElement(
|
|
221
221
|
'div',
|
|
222
222
|
{ key: _id },
|
|
223
|
-
index === 0 &&
|
|
223
|
+
index === 0 && React.createElement(
|
|
224
224
|
'span',
|
|
225
225
|
{ className: 'pr-1' },
|
|
226
226
|
'By'
|
|
227
227
|
),
|
|
228
|
-
|
|
228
|
+
React.createElement(
|
|
229
229
|
'span',
|
|
230
230
|
{ className: 'text-muted' },
|
|
231
231
|
displayName,
|
|
232
|
-
length !== index + 1 &&
|
|
232
|
+
length !== index + 1 && React.createElement('br', null)
|
|
233
233
|
)
|
|
234
234
|
);
|
|
235
235
|
}
|
|
@@ -248,7 +248,7 @@ var DeckContent = function (_React$Component) {
|
|
|
248
248
|
if (showBI) {
|
|
249
249
|
var data = _this.state.data;
|
|
250
250
|
articles = data;
|
|
251
|
-
var pos =
|
|
251
|
+
var pos = 3;
|
|
252
252
|
for (var i = 1; pos < articles.length; i++) {
|
|
253
253
|
var inFeedAd = {
|
|
254
254
|
adUnit: brandInsight.adUnit,
|
|
@@ -257,7 +257,7 @@ var DeckContent = function (_React$Component) {
|
|
|
257
257
|
sizes: brandInsight.sizes,
|
|
258
258
|
slotId: brandInsight.slotId + '_' + i,
|
|
259
259
|
targeting: {
|
|
260
|
-
pos: '
|
|
260
|
+
pos: 'article' + i,
|
|
261
261
|
content_placement: brandInsight.targeting.content_placement,
|
|
262
262
|
document_url: brandInsight.targeting.document_url
|
|
263
263
|
},
|
|
@@ -273,8 +273,8 @@ var DeckContent = function (_React$Component) {
|
|
|
273
273
|
articles = _this.state.data;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
-
return
|
|
277
|
-
Row
|
|
276
|
+
return React.createElement(
|
|
277
|
+
Row,
|
|
278
278
|
null,
|
|
279
279
|
articles && articles.map(function (row, index) {
|
|
280
280
|
if (columns === 'rotate' && itemCounter % 3 === 0) {
|
|
@@ -285,60 +285,60 @@ var DeckContent = function (_React$Component) {
|
|
|
285
285
|
lgVar = 6;
|
|
286
286
|
}
|
|
287
287
|
if (row._type === 'BrandInsight' && row.adUnit) {
|
|
288
|
-
return
|
|
288
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: row });
|
|
289
289
|
} else {
|
|
290
290
|
var pageNumber = row.pageNumber || _this.state.page;
|
|
291
291
|
var contentCategoryName = row.contentCategory && row.contentCategory.name && _this.mapping[row.contentCategory.name] ? row.contentCategory.name : 'Articles';
|
|
292
|
-
return
|
|
293
|
-
|
|
292
|
+
return React.createElement(
|
|
293
|
+
React.Fragment,
|
|
294
294
|
{ key: itemCounter },
|
|
295
|
-
|
|
295
|
+
React.createElement(
|
|
296
296
|
VisibilitySensor,
|
|
297
297
|
{
|
|
298
298
|
onChange: function onChange(isVisible) {
|
|
299
299
|
isVisible && _this.changePageNumber(pageNumber);
|
|
300
300
|
} },
|
|
301
|
-
|
|
302
|
-
Col
|
|
301
|
+
React.createElement(
|
|
302
|
+
Col,
|
|
303
303
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
304
|
-
|
|
305
|
-
Card
|
|
304
|
+
React.createElement(
|
|
305
|
+
Card,
|
|
306
306
|
{ className: 'content-card', style: { flexDirection: mode } },
|
|
307
|
-
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) &&
|
|
307
|
+
(row.thumbnail && row.thumbnail.asset || _this.props.defaultImage) && React.createElement(
|
|
308
308
|
'a',
|
|
309
309
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
310
|
-
|
|
310
|
+
React.createElement(
|
|
311
311
|
LazyLoad,
|
|
312
312
|
{ height: _this.props.imageHeight },
|
|
313
|
-
|
|
313
|
+
React.createElement(Card.Img, {
|
|
314
314
|
variant: 'top',
|
|
315
315
|
src: _this.renderCardImage(row, page),
|
|
316
316
|
alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : ''
|
|
317
317
|
})
|
|
318
318
|
)
|
|
319
319
|
),
|
|
320
|
-
|
|
321
|
-
Card
|
|
320
|
+
React.createElement(
|
|
321
|
+
Card.Body,
|
|
322
322
|
null,
|
|
323
|
-
|
|
323
|
+
React.createElement(
|
|
324
324
|
'a',
|
|
325
325
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
326
|
-
|
|
327
|
-
Card
|
|
326
|
+
React.createElement(
|
|
327
|
+
Card.Title,
|
|
328
328
|
null,
|
|
329
329
|
row.title
|
|
330
330
|
)
|
|
331
331
|
),
|
|
332
|
-
_this.props.showPublished && row.published &&
|
|
333
|
-
Card
|
|
332
|
+
_this.props.showPublished && row.published && React.createElement(
|
|
333
|
+
Card.Subtitle,
|
|
334
334
|
null,
|
|
335
335
|
moment(row.published).format('MMMM DD, YYYY')
|
|
336
336
|
),
|
|
337
337
|
_this.props.showAuthor && row.authorMapping && row.authorMapping.length > 0 && row.authorMapping.map(function (authorDetail, index) {
|
|
338
338
|
return _this.renderAuthor(authorDetail, index, row.authorMapping.length);
|
|
339
339
|
}),
|
|
340
|
-
|
|
341
|
-
Card
|
|
340
|
+
React.createElement(
|
|
341
|
+
Card.Text,
|
|
342
342
|
null,
|
|
343
343
|
clean_html_1(row.summary)
|
|
344
344
|
)
|
|
@@ -346,7 +346,7 @@ var DeckContent = function (_React$Component) {
|
|
|
346
346
|
)
|
|
347
347
|
)
|
|
348
348
|
),
|
|
349
|
-
|
|
349
|
+
main_40 && _this.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
352
|
})
|
|
@@ -355,23 +355,23 @@ var DeckContent = function (_React$Component) {
|
|
|
355
355
|
var rightItems = _this.props.rightItems;
|
|
356
356
|
|
|
357
357
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
358
|
-
return
|
|
359
|
-
Col
|
|
358
|
+
return React.createElement(
|
|
359
|
+
Col,
|
|
360
360
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
361
361
|
rightItems[i].component
|
|
362
362
|
);
|
|
363
363
|
}, _this.renderManualPagination = function () {
|
|
364
364
|
var currentPage = _this.state.currentPage;
|
|
365
365
|
|
|
366
|
-
return
|
|
366
|
+
return React.createElement(
|
|
367
367
|
'div',
|
|
368
368
|
{ className: 'd-flex justify-content-between' },
|
|
369
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
370
370
|
'a',
|
|
371
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
372
372
|
'<< Previous'
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'a',
|
|
376
376
|
{ href: '?page=' + (currentPage + 1) },
|
|
377
377
|
'Next >>'
|
|
@@ -417,38 +417,38 @@ var DeckContent = function (_React$Component) {
|
|
|
417
417
|
brandInsight = _props.brandInsight;
|
|
418
418
|
|
|
419
419
|
|
|
420
|
-
return
|
|
420
|
+
return React.createElement(
|
|
421
421
|
'div',
|
|
422
422
|
{ className: 'contentDeck' },
|
|
423
|
-
autoScroll ?
|
|
424
|
-
|
|
423
|
+
autoScroll ? React.createElement(
|
|
424
|
+
React.Fragment,
|
|
425
425
|
null,
|
|
426
|
-
|
|
426
|
+
React.createElement(
|
|
427
427
|
InfiniteScroll,
|
|
428
428
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.9 },
|
|
429
|
-
|
|
430
|
-
Container
|
|
429
|
+
React.createElement(
|
|
430
|
+
Container,
|
|
431
431
|
null,
|
|
432
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
433
433
|
)
|
|
434
434
|
),
|
|
435
|
-
|
|
435
|
+
React.createElement(
|
|
436
436
|
'noscript',
|
|
437
437
|
null,
|
|
438
438
|
this.renderManualPagination()
|
|
439
439
|
)
|
|
440
|
-
) :
|
|
441
|
-
|
|
440
|
+
) : React.createElement(
|
|
441
|
+
React.Fragment,
|
|
442
442
|
null,
|
|
443
|
-
|
|
444
|
-
Container
|
|
443
|
+
React.createElement(
|
|
444
|
+
Container,
|
|
445
445
|
null,
|
|
446
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
React.createElement(
|
|
449
449
|
'div',
|
|
450
450
|
{ style: { padding: '0px 10px' } },
|
|
451
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React.createElement(
|
|
452
452
|
'button',
|
|
453
453
|
{
|
|
454
454
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -456,17 +456,17 @@ var DeckContent = function (_React$Component) {
|
|
|
456
456
|
_this2.loadMore();
|
|
457
457
|
} },
|
|
458
458
|
'Load More'
|
|
459
|
-
) :
|
|
459
|
+
) : React.createElement(
|
|
460
460
|
'p',
|
|
461
461
|
{ style: { textAlign: 'center' } },
|
|
462
|
-
|
|
462
|
+
React.createElement(
|
|
463
463
|
'b',
|
|
464
464
|
null,
|
|
465
465
|
'End of data'
|
|
466
466
|
)
|
|
467
467
|
)
|
|
468
468
|
),
|
|
469
|
-
|
|
469
|
+
React.createElement(
|
|
470
470
|
'noscript',
|
|
471
471
|
null,
|
|
472
472
|
this.renderManualPagination()
|
|
@@ -477,7 +477,7 @@ var DeckContent = function (_React$Component) {
|
|
|
477
477
|
}]);
|
|
478
478
|
|
|
479
479
|
return DeckContent;
|
|
480
|
-
}(
|
|
480
|
+
}(React.Component);
|
|
481
481
|
|
|
482
482
|
var ContentCard = withRouter(DeckContent);
|
|
483
483
|
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -8,31 +8,31 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-6f2fcc99.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
11
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-75d45541.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
19
|
import 'prop-types';
|
|
20
|
-
import Container
|
|
21
|
-
import Row
|
|
22
|
-
import Col
|
|
23
|
-
import Card
|
|
24
|
-
import { m as moment } from './moment-
|
|
20
|
+
import Container from 'react-bootstrap/Container';
|
|
21
|
+
import Row from 'react-bootstrap/Row';
|
|
22
|
+
import Col from 'react-bootstrap/Col';
|
|
23
|
+
import Card from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
25
25
|
import { withRouter } from 'next/router';
|
|
26
26
|
import './isSymbol-1981418f.js';
|
|
27
27
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
28
28
|
import './toNumber-2f7a84cd.js';
|
|
29
|
-
import { I as InfiniteScroll } from './index.es-
|
|
29
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
30
|
import 'react-dom';
|
|
31
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
32
|
-
import './index-
|
|
31
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
32
|
+
import './index-51a80699.js';
|
|
33
33
|
import urlFor from './urlFor.js';
|
|
34
|
-
import { L as LazyLoad } from './index-
|
|
35
|
-
import { m as
|
|
34
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
35
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
36
36
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
37
37
|
import { g as get_1 } from './get-1e515072.js';
|
|
38
38
|
import './eq-b470f743.js';
|
|
@@ -185,7 +185,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
185
185
|
var rightItems = _this.props.rightItems;
|
|
186
186
|
|
|
187
187
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
188
|
-
return
|
|
188
|
+
return React.createElement(
|
|
189
189
|
'div',
|
|
190
190
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
191
191
|
rightItems[i].component
|
|
@@ -193,15 +193,15 @@ var DeckQueue = function (_React$Component) {
|
|
|
193
193
|
}, _this.renderManualPagination = function () {
|
|
194
194
|
var currentPage = _this.state.currentPage;
|
|
195
195
|
|
|
196
|
-
return
|
|
196
|
+
return React.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
{ className: 'd-flex justify-content-between' },
|
|
199
|
-
currentPage && currentPage > 1 &&
|
|
199
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
200
200
|
'a',
|
|
201
201
|
{ href: '?page=' + (currentPage - 1) },
|
|
202
202
|
'<< Previous'
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React.createElement(
|
|
205
205
|
'a',
|
|
206
206
|
{ href: '?page=' + (currentPage + 1) },
|
|
207
207
|
'Next >>'
|
|
@@ -219,78 +219,78 @@ var DeckQueue = function (_React$Component) {
|
|
|
219
219
|
var lgVar = Math.floor(12 / columns);
|
|
220
220
|
var numberOfItemsBeforeAd = 6;
|
|
221
221
|
|
|
222
|
-
return
|
|
223
|
-
Row
|
|
222
|
+
return React.createElement(
|
|
223
|
+
Row,
|
|
224
224
|
null,
|
|
225
225
|
this.state.data && this.state.data.map(function (row, index) {
|
|
226
226
|
var pageNumber = row.pageNumber || _this2.state.page;
|
|
227
227
|
// const thumbnailURL = get(row, 'thumbnail.asset.url', this.props.defaultImage)
|
|
228
228
|
|
|
229
|
-
return
|
|
230
|
-
|
|
229
|
+
return React.createElement(
|
|
230
|
+
React.Fragment,
|
|
231
231
|
{ key: index },
|
|
232
|
-
|
|
232
|
+
React.createElement(
|
|
233
233
|
VisibilitySensor,
|
|
234
234
|
{
|
|
235
235
|
onChange: function onChange(isVisible) {
|
|
236
236
|
isVisible && _this2.changePageNumber(pageNumber);
|
|
237
237
|
} },
|
|
238
|
-
|
|
239
|
-
Col
|
|
238
|
+
React.createElement(
|
|
239
|
+
Col,
|
|
240
240
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
241
|
-
|
|
242
|
-
Card
|
|
241
|
+
React.createElement(
|
|
242
|
+
Card,
|
|
243
243
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
244
|
-
|
|
245
|
-
Row
|
|
244
|
+
React.createElement(
|
|
245
|
+
Row,
|
|
246
246
|
{ style: { flexDirection: mode } },
|
|
247
|
-
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) &&
|
|
248
|
-
Col
|
|
247
|
+
(row.thumbnail && row.thumbnail.asset || _this2.props.defaultImage) && React.createElement(
|
|
248
|
+
Col,
|
|
249
249
|
{ md: 12, lg: 4 },
|
|
250
|
-
|
|
250
|
+
React.createElement(
|
|
251
251
|
'a',
|
|
252
252
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
253
|
-
|
|
253
|
+
React.createElement(
|
|
254
254
|
LazyLoad,
|
|
255
255
|
{ height: _this2.props.imageHeight },
|
|
256
|
-
|
|
256
|
+
React.createElement(Card.Img, { variant: 'top', src: _this2.renderCardImage(row), alt: row.thumbnail && row.thumbnail.asset ? row.thumbnail.asset.originalFilename : '' })
|
|
257
257
|
)
|
|
258
258
|
)
|
|
259
259
|
),
|
|
260
|
-
|
|
261
|
-
Col
|
|
260
|
+
React.createElement(
|
|
261
|
+
Col,
|
|
262
262
|
null,
|
|
263
|
-
|
|
264
|
-
Card
|
|
263
|
+
React.createElement(
|
|
264
|
+
Card.Body,
|
|
265
265
|
{ style: { padding: '20px' } },
|
|
266
|
-
row.title &&
|
|
267
|
-
Card
|
|
266
|
+
row.title && React.createElement(
|
|
267
|
+
Card.Title,
|
|
268
268
|
null,
|
|
269
|
-
|
|
269
|
+
React.createElement(
|
|
270
270
|
'a',
|
|
271
271
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
272
272
|
row.title
|
|
273
273
|
)
|
|
274
274
|
),
|
|
275
|
-
_this2.props.showPublished && row.published &&
|
|
276
|
-
Card
|
|
275
|
+
_this2.props.showPublished && row.published && React.createElement(
|
|
276
|
+
Card.Subtitle,
|
|
277
277
|
null,
|
|
278
278
|
moment(row.published).format('MMMM DD, YYYY')
|
|
279
279
|
),
|
|
280
|
-
_this2.props.showRecent && row.recent && row.recent.title &&
|
|
281
|
-
Card
|
|
280
|
+
_this2.props.showRecent && row.recent && row.recent.title && React.createElement(
|
|
281
|
+
Card.Subtitle,
|
|
282
282
|
null,
|
|
283
283
|
'Recent : ',
|
|
284
|
-
|
|
284
|
+
React.createElement(
|
|
285
285
|
'a',
|
|
286
286
|
{ href: 'view/' + row.recent.url.current },
|
|
287
287
|
row.recent.title
|
|
288
288
|
)
|
|
289
289
|
),
|
|
290
|
-
row.summary &&
|
|
291
|
-
Card
|
|
290
|
+
row.summary && React.createElement(
|
|
291
|
+
Card.Text,
|
|
292
292
|
null,
|
|
293
|
-
|
|
293
|
+
React.createElement(
|
|
294
294
|
'a',
|
|
295
295
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
296
296
|
clean_html_1(row.summary)
|
|
@@ -302,7 +302,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
302
302
|
)
|
|
303
303
|
)
|
|
304
304
|
),
|
|
305
|
-
|
|
305
|
+
main_40 && _this2.props.rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && _this2.renderMobileAd(index, numberOfItemsBeforeAd)
|
|
306
306
|
);
|
|
307
307
|
})
|
|
308
308
|
);
|
|
@@ -319,29 +319,29 @@ var DeckQueue = function (_React$Component) {
|
|
|
319
319
|
page = _props.page;
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
return
|
|
322
|
+
return React.createElement(
|
|
323
323
|
'div',
|
|
324
324
|
{ className: 'contentDeck' },
|
|
325
|
-
autoScroll ?
|
|
325
|
+
autoScroll ? React.createElement(
|
|
326
326
|
InfiniteScroll,
|
|
327
327
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
328
|
-
|
|
329
|
-
Container
|
|
328
|
+
React.createElement(
|
|
329
|
+
Container,
|
|
330
330
|
null,
|
|
331
331
|
this.cardLoader(page, columns, variant)
|
|
332
332
|
)
|
|
333
|
-
) :
|
|
334
|
-
|
|
333
|
+
) : React.createElement(
|
|
334
|
+
React.Fragment,
|
|
335
335
|
null,
|
|
336
|
-
|
|
337
|
-
Container
|
|
336
|
+
React.createElement(
|
|
337
|
+
Container,
|
|
338
338
|
null,
|
|
339
339
|
this.cardLoader(page, columns, variant)
|
|
340
340
|
),
|
|
341
|
-
|
|
341
|
+
React.createElement(
|
|
342
342
|
'div',
|
|
343
343
|
{ style: { padding: '0px 10px' } },
|
|
344
|
-
this.state.scrolling ?
|
|
344
|
+
this.state.scrolling ? React.createElement(
|
|
345
345
|
'button',
|
|
346
346
|
{
|
|
347
347
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -349,17 +349,17 @@ var DeckQueue = function (_React$Component) {
|
|
|
349
349
|
_this3.loadMore();
|
|
350
350
|
} },
|
|
351
351
|
'Load More'
|
|
352
|
-
) :
|
|
352
|
+
) : React.createElement(
|
|
353
353
|
'p',
|
|
354
354
|
{ style: { textAlign: 'center' } },
|
|
355
|
-
|
|
355
|
+
React.createElement(
|
|
356
356
|
'b',
|
|
357
357
|
null,
|
|
358
358
|
'End of data'
|
|
359
359
|
)
|
|
360
360
|
)
|
|
361
361
|
),
|
|
362
|
-
|
|
362
|
+
React.createElement(
|
|
363
363
|
'noscript',
|
|
364
364
|
null,
|
|
365
365
|
this.renderManualPagination()
|
|
@@ -370,7 +370,7 @@ var DeckQueue = function (_React$Component) {
|
|
|
370
370
|
}]);
|
|
371
371
|
|
|
372
372
|
return DeckQueue;
|
|
373
|
-
}(
|
|
373
|
+
}(React.Component);
|
|
374
374
|
|
|
375
375
|
var Queue = withRouter(DeckQueue);
|
|
376
376
|
|
|
@@ -3,15 +3,15 @@ import './_to-object-a4107da3.js';
|
|
|
3
3
|
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './core.get-iterator-method-e1de7503.js';
|
|
5
5
|
import './web.dom.iterable-4439f05a.js';
|
|
6
|
-
import
|
|
6
|
+
import React, { useState } from 'react';
|
|
7
7
|
import './events-6c3a7a63.js';
|
|
8
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
8
|
+
import { b as lib_1, a as lib_2 } from './index-f7fb1e25.js';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import './isSymbol-1981418f.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
12
12
|
import './toNumber-2f7a84cd.js';
|
|
13
13
|
import 'react-dom';
|
|
14
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
14
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
15
15
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
16
16
|
|
|
17
17
|
var AD = function AD(_ref) {
|
|
@@ -43,20 +43,20 @@ var AD = function AD(_ref) {
|
|
|
43
43
|
}
|
|
44
44
|
}, 500);
|
|
45
45
|
|
|
46
|
-
return
|
|
47
|
-
|
|
46
|
+
return React.createElement(
|
|
47
|
+
React.Fragment,
|
|
48
48
|
null,
|
|
49
|
-
!showPlaceholder &&
|
|
49
|
+
!showPlaceholder && React.createElement(
|
|
50
50
|
lib_1,
|
|
51
51
|
{
|
|
52
52
|
dfpNetworkId: networkID,
|
|
53
53
|
targetingArguments: targeting,
|
|
54
54
|
sizeMapping: sizeMapping,
|
|
55
55
|
lazyLoad: { fetchMarginPercent: 500, renderMarginPercent: 200, mobileScaling: 2.0 } },
|
|
56
|
-
|
|
56
|
+
React.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
{ className: className },
|
|
59
|
-
|
|
59
|
+
React.createElement(lib_2, {
|
|
60
60
|
slotId: slotId,
|
|
61
61
|
sizes: sizes,
|
|
62
62
|
adUnit: adUnit,
|
|
@@ -68,7 +68,7 @@ var AD = function AD(_ref) {
|
|
|
68
68
|
})
|
|
69
69
|
)
|
|
70
70
|
),
|
|
71
|
-
adRendered && showPlaceholder &&
|
|
71
|
+
adRendered && showPlaceholder && React.createElement(
|
|
72
72
|
VisibilitySensor,
|
|
73
73
|
{
|
|
74
74
|
partialVisibility: true,
|
|
@@ -77,7 +77,7 @@ var AD = function AD(_ref) {
|
|
|
77
77
|
setShowPlaceholder(false);
|
|
78
78
|
}
|
|
79
79
|
} },
|
|
80
|
-
|
|
80
|
+
React.createElement(
|
|
81
81
|
'div',
|
|
82
82
|
{ style: { height: 'auto' } },
|
|
83
83
|
'\xA0'
|