@mjhls/mjh-framework 1.0.854-adblocker-fix-v1 → 1.0.854-beta.1
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 +9 -10
- package/dist/cjs/AD300x250.js +9 -10
- package/dist/cjs/AD300x250x600.js +9 -10
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +11 -12
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-25d48cc2.js → ADInfeed-98c71bcd.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +11 -12
- package/dist/cjs/ADSponsoredResources.js +11 -12
- package/dist/cjs/ADWebcast.js +11 -12
- package/dist/cjs/ADWelcome.js +16 -26
- package/dist/cjs/{ADlgInfeed-a535a768.js → ADlgInfeed-9de32585.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +13 -14
- package/dist/cjs/AdSlotsProvider.js +902 -11
- package/dist/cjs/AlgoliaSearch.js +842 -952
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleCarousel.js +10 -11
- package/dist/cjs/ArticleProgramLandingPage.js +27 -28
- package/dist/cjs/ArticleSeriesLandingPage.js +22 -23
- package/dist/cjs/ArticleSeriesListing.js +39 -40
- package/dist/cjs/Auth.js +1197 -237
- package/dist/cjs/AuthWrapper.js +38 -119
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-bb831b74.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +64 -64
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +32 -35
- package/dist/cjs/ConferenceArticleCard.js +17 -18
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +72 -76
- package/dist/cjs/DeckQueue.js +68 -72
- package/dist/cjs/{Dfp-391fd124.js → Dfp-26baccf1.js} +22 -23
- package/dist/cjs/EventsDeck.js +116 -123
- package/dist/cjs/ExternalResources.js +46 -47
- package/dist/cjs/Feature.js +23 -25
- package/dist/cjs/ForbesHero.js +34 -35
- package/dist/cjs/GridContent.js +203 -208
- package/dist/cjs/GridHero.js +35 -36
- package/dist/cjs/GroupDeck.js +48 -49
- package/dist/cjs/HamMagazine.js +116 -121
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +9 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +36 -37
- package/dist/cjs/HorizontalHero.js +23 -24
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +60 -65
- package/dist/cjs/IssueLanding.js +28 -29
- package/dist/cjs/LeftNav.js +20 -22
- package/dist/cjs/MasterDeck.js +49 -50
- package/dist/cjs/MediaSeriesLanding.js +786 -733
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +116 -121
- package/dist/cjs/NavNative.js +108 -116
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +63 -64
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +3907 -78
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PubSection.js +19 -20
- package/dist/cjs/PubToc.js +7 -8
- package/dist/cjs/PublicationDeck.js +59 -64
- package/dist/cjs/PublicationLanding.js +83 -87
- package/dist/cjs/QueueDeckExpanded.js +285 -285
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +22 -23
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SeriesListingDeck.js +26 -26
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-8bbc989f.js} +33 -34
- package/dist/cjs/SideFooter.js +23 -24
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-cea213aa.js} +34 -38
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TaxonomyDescription.js +21 -22
- package/dist/cjs/TemplateNormal.js +34 -35
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +21 -22
- package/dist/cjs/VerticalHero.js +15 -16
- package/dist/cjs/VideoProgramLandingPage.js +43 -47
- package/dist/cjs/VideoSeriesCard.js +22 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +27 -28
- package/dist/cjs/VideoSeriesListing.js +56 -57
- package/dist/cjs/View.js +199 -203
- package/dist/cjs/YahooHero.js +30 -31
- package/dist/cjs/YoutubeGroup.js +50 -51
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/faundadb.js +16 -16
- package/dist/cjs/getRelatedArticle.js +131 -67
- package/dist/cjs/getRootDocGroup.js +3 -3
- package/dist/cjs/getSerializers.js +11 -11
- package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-f1821260.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-00a7ead6.js → index-276bab5c.js} +928 -954
- package/dist/cjs/{index-6367b7bf.js → index-3294d3bc.js} +17 -16
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-2cf30c83.js → index-98e01cb9.js} +8 -9
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +58 -63
- package/dist/cjs/{inherits-0c7830c5.js → inherits-1f5a1c72.js} +3 -3
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-7b5e57b0.js → main-02daeefe.js} +54 -90
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-9d7f610f.js → typeof-725500bc.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- 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-56a3db8b.js → ADInfeed-1cc9d817.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 +14 -23
- package/dist/esm/{ADlgInfeed-53edb995.js → ADlgInfeed-8c4f129e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +902 -10
- package/dist/esm/AlgoliaSearch.js +238 -347
- 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 +1180 -216
- package/dist/esm/AuthWrapper.js +36 -116
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-34b16174.js} +10 -10
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.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-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +68 -68
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-b7236041.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 +172 -172
- 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 +506 -450
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +93 -93
- package/dist/esm/NavNative.js +83 -83
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +3903 -74
- 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 +251 -251
- 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-7d89f4d9.js → SeriesSlider-a866bb21.js} +24 -24
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-03c3e869.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-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +126 -62
- package/dist/esm/getSerializers.js +11 -11
- package/dist/esm/{index-0500ae55.js → index-0f6867b9.js} +882 -898
- package/dist/esm/{index-f7fb1e25.js → index-41a678ea.js} +3 -3
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-c00b0bbb.js → index-ef6d5dcf.js} +17 -16
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +49 -51
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{inherits-75d45541.js → inherits-cf8dde54.js} +1 -1
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-747e7d25.js → main-e4a934b2.js} +52 -87
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-af9c50d8.js → typeof-6435ba1c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +2 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
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-cf8dde54.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React__default from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
19
|
import 'prop-types';
|
|
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-
|
|
20
|
+
import Container$1 from 'react-bootstrap/Container';
|
|
21
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
22
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
23
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-e2f9b20c.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-29c1cef5.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-72fd8f8b.js';
|
|
32
|
+
import './index-73819142.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-5f7e79e7.js';
|
|
35
|
+
import { m as main_36 } from './main-e4a934b2.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-1cc9d817.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__default.createElement(
|
|
205
205
|
'div',
|
|
206
206
|
{ key: _id },
|
|
207
|
-
index === 0 &&
|
|
207
|
+
index === 0 && React__default.createElement(
|
|
208
208
|
'span',
|
|
209
209
|
{ className: 'pr-1' },
|
|
210
210
|
'By'
|
|
211
211
|
),
|
|
212
|
-
|
|
212
|
+
React__default.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__default.createElement('br', null)
|
|
217
217
|
)
|
|
218
218
|
);
|
|
219
219
|
} else if (displayName) {
|
|
220
|
-
return
|
|
220
|
+
return React__default.createElement(
|
|
221
221
|
'div',
|
|
222
222
|
{ key: _id },
|
|
223
|
-
index === 0 &&
|
|
223
|
+
index === 0 && React__default.createElement(
|
|
224
224
|
'span',
|
|
225
225
|
{ className: 'pr-1' },
|
|
226
226
|
'By'
|
|
227
227
|
),
|
|
228
|
-
|
|
228
|
+
React__default.createElement(
|
|
229
229
|
'span',
|
|
230
230
|
{ className: 'text-muted' },
|
|
231
231
|
displayName,
|
|
232
|
-
length !== index + 1 &&
|
|
232
|
+
length !== index + 1 && React__default.createElement('br', null)
|
|
233
233
|
)
|
|
234
234
|
);
|
|
235
235
|
}
|
|
@@ -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__default.createElement(
|
|
277
|
+
Row$1,
|
|
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__default.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__default.createElement(
|
|
293
|
+
React__default.Fragment,
|
|
294
294
|
{ key: itemCounter },
|
|
295
|
-
|
|
295
|
+
React__default.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__default.createElement(
|
|
302
|
+
Col$1,
|
|
303
303
|
{ md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
304
|
-
|
|
305
|
-
Card,
|
|
304
|
+
React__default.createElement(
|
|
305
|
+
Card$1,
|
|
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__default.createElement(
|
|
308
308
|
'a',
|
|
309
309
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
310
|
-
|
|
310
|
+
React__default.createElement(
|
|
311
311
|
LazyLoad,
|
|
312
312
|
{ height: _this.props.imageHeight },
|
|
313
|
-
|
|
313
|
+
React__default.createElement(Card$1.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.Body,
|
|
320
|
+
React__default.createElement(
|
|
321
|
+
Card$1.Body,
|
|
322
322
|
null,
|
|
323
|
-
|
|
323
|
+
React__default.createElement(
|
|
324
324
|
'a',
|
|
325
325
|
{ href: _this.mapping[contentCategoryName] + '/' + row.url.current },
|
|
326
|
-
|
|
327
|
-
Card.Title,
|
|
326
|
+
React__default.createElement(
|
|
327
|
+
Card$1.Title,
|
|
328
328
|
null,
|
|
329
329
|
row.title
|
|
330
330
|
)
|
|
331
331
|
),
|
|
332
|
-
_this.props.showPublished && row.published &&
|
|
333
|
-
Card.Subtitle,
|
|
332
|
+
_this.props.showPublished && row.published && React__default.createElement(
|
|
333
|
+
Card$1.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.Text,
|
|
340
|
+
React__default.createElement(
|
|
341
|
+
Card$1.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_36 && _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__default.createElement(
|
|
359
|
+
Col$1,
|
|
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__default.createElement(
|
|
367
367
|
'div',
|
|
368
368
|
{ className: 'd-flex justify-content-between' },
|
|
369
|
-
currentPage && currentPage > 1 &&
|
|
369
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
370
370
|
'a',
|
|
371
371
|
{ href: '?page=' + (currentPage - 1) },
|
|
372
372
|
'<< Previous'
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React__default.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__default.createElement(
|
|
421
421
|
'div',
|
|
422
422
|
{ className: 'contentDeck' },
|
|
423
|
-
autoScroll ?
|
|
424
|
-
|
|
423
|
+
autoScroll ? React__default.createElement(
|
|
424
|
+
React__default.Fragment,
|
|
425
425
|
null,
|
|
426
|
-
|
|
426
|
+
React__default.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__default.createElement(
|
|
430
|
+
Container$1,
|
|
431
431
|
null,
|
|
432
432
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
433
433
|
)
|
|
434
434
|
),
|
|
435
|
-
|
|
435
|
+
React__default.createElement(
|
|
436
436
|
'noscript',
|
|
437
437
|
null,
|
|
438
438
|
this.renderManualPagination()
|
|
439
439
|
)
|
|
440
|
-
) :
|
|
441
|
-
|
|
440
|
+
) : React__default.createElement(
|
|
441
|
+
React__default.Fragment,
|
|
442
442
|
null,
|
|
443
|
-
|
|
444
|
-
Container,
|
|
443
|
+
React__default.createElement(
|
|
444
|
+
Container$1,
|
|
445
445
|
null,
|
|
446
446
|
this.cardLoader(page, columns, variant, showBI, brandInsight)
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
React__default.createElement(
|
|
449
449
|
'div',
|
|
450
450
|
{ style: { padding: '0px 10px' } },
|
|
451
|
-
this.state.scrolling ?
|
|
451
|
+
this.state.scrolling ? React__default.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__default.createElement(
|
|
460
460
|
'p',
|
|
461
461
|
{ style: { textAlign: 'center' } },
|
|
462
|
-
|
|
462
|
+
React__default.createElement(
|
|
463
463
|
'b',
|
|
464
464
|
null,
|
|
465
465
|
'End of data'
|
|
466
466
|
)
|
|
467
467
|
)
|
|
468
468
|
),
|
|
469
|
-
|
|
469
|
+
React__default.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__default.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-cf8dde54.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-
|
|
14
|
+
import './typeof-6435ba1c.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React__default from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
19
19
|
import 'prop-types';
|
|
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-
|
|
20
|
+
import Container$1 from 'react-bootstrap/Container';
|
|
21
|
+
import Row$1 from 'react-bootstrap/Row';
|
|
22
|
+
import Col$1 from 'react-bootstrap/Col';
|
|
23
|
+
import Card$1 from 'react-bootstrap/Card';
|
|
24
|
+
import { m as moment } from './moment-e2f9b20c.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-29c1cef5.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-72fd8f8b.js';
|
|
32
|
+
import './index-73819142.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-5f7e79e7.js';
|
|
35
|
+
import { m as main_36 } from './main-e4a934b2.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__default.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__default.createElement(
|
|
197
197
|
'div',
|
|
198
198
|
{ className: 'd-flex justify-content-between' },
|
|
199
|
-
currentPage && currentPage > 1 &&
|
|
199
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
200
200
|
'a',
|
|
201
201
|
{ href: '?page=' + (currentPage - 1) },
|
|
202
202
|
'<< Previous'
|
|
203
203
|
),
|
|
204
|
-
|
|
204
|
+
React__default.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__default.createElement(
|
|
223
|
+
Row$1,
|
|
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__default.createElement(
|
|
230
|
+
React__default.Fragment,
|
|
231
231
|
{ key: index },
|
|
232
|
-
|
|
232
|
+
React__default.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__default.createElement(
|
|
239
|
+
Col$1,
|
|
240
240
|
{ md: 12, lg: lgVar, style: { display: 'flex', flex: '1 0 auto' } },
|
|
241
|
-
|
|
242
|
-
Card,
|
|
241
|
+
React__default.createElement(
|
|
242
|
+
Card$1,
|
|
243
243
|
{ className: 'queue-card', style: { borderTop: '1px solid #EEE' } },
|
|
244
|
-
|
|
245
|
-
Row,
|
|
244
|
+
React__default.createElement(
|
|
245
|
+
Row$1,
|
|
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__default.createElement(
|
|
248
|
+
Col$1,
|
|
249
249
|
{ md: 12, lg: 4 },
|
|
250
|
-
|
|
250
|
+
React__default.createElement(
|
|
251
251
|
'a',
|
|
252
252
|
{ href: _this2.page + '/' + get_1(row, 'url.current') },
|
|
253
|
-
|
|
253
|
+
React__default.createElement(
|
|
254
254
|
LazyLoad,
|
|
255
255
|
{ height: _this2.props.imageHeight },
|
|
256
|
-
|
|
256
|
+
React__default.createElement(Card$1.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__default.createElement(
|
|
261
|
+
Col$1,
|
|
262
262
|
null,
|
|
263
|
-
|
|
264
|
-
Card.Body,
|
|
263
|
+
React__default.createElement(
|
|
264
|
+
Card$1.Body,
|
|
265
265
|
{ style: { padding: '20px' } },
|
|
266
|
-
row.title &&
|
|
267
|
-
Card.Title,
|
|
266
|
+
row.title && React__default.createElement(
|
|
267
|
+
Card$1.Title,
|
|
268
268
|
null,
|
|
269
|
-
|
|
269
|
+
React__default.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.Subtitle,
|
|
275
|
+
_this2.props.showPublished && row.published && React__default.createElement(
|
|
276
|
+
Card$1.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.Subtitle,
|
|
280
|
+
_this2.props.showRecent && row.recent && row.recent.title && React__default.createElement(
|
|
281
|
+
Card$1.Subtitle,
|
|
282
282
|
null,
|
|
283
283
|
'Recent : ',
|
|
284
|
-
|
|
284
|
+
React__default.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.Text,
|
|
290
|
+
row.summary && React__default.createElement(
|
|
291
|
+
Card$1.Text,
|
|
292
292
|
null,
|
|
293
|
-
|
|
293
|
+
React__default.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_36 && _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__default.createElement(
|
|
323
323
|
'div',
|
|
324
324
|
{ className: 'contentDeck' },
|
|
325
|
-
autoScroll ?
|
|
325
|
+
autoScroll ? React__default.createElement(
|
|
326
326
|
InfiniteScroll,
|
|
327
327
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling },
|
|
328
|
-
|
|
329
|
-
Container,
|
|
328
|
+
React__default.createElement(
|
|
329
|
+
Container$1,
|
|
330
330
|
null,
|
|
331
331
|
this.cardLoader(page, columns, variant)
|
|
332
332
|
)
|
|
333
|
-
) :
|
|
334
|
-
|
|
333
|
+
) : React__default.createElement(
|
|
334
|
+
React__default.Fragment,
|
|
335
335
|
null,
|
|
336
|
-
|
|
337
|
-
Container,
|
|
336
|
+
React__default.createElement(
|
|
337
|
+
Container$1,
|
|
338
338
|
null,
|
|
339
339
|
this.cardLoader(page, columns, variant)
|
|
340
340
|
),
|
|
341
|
-
|
|
341
|
+
React__default.createElement(
|
|
342
342
|
'div',
|
|
343
343
|
{ style: { padding: '0px 10px' } },
|
|
344
|
-
this.state.scrolling ?
|
|
344
|
+
this.state.scrolling ? React__default.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__default.createElement(
|
|
353
353
|
'p',
|
|
354
354
|
{ style: { textAlign: 'center' } },
|
|
355
|
-
|
|
355
|
+
React__default.createElement(
|
|
356
356
|
'b',
|
|
357
357
|
null,
|
|
358
358
|
'End of data'
|
|
359
359
|
)
|
|
360
360
|
)
|
|
361
361
|
),
|
|
362
|
-
|
|
362
|
+
React__default.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__default.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__default, { 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-41a678ea.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-72fd8f8b.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__default.createElement(
|
|
47
|
+
React__default.Fragment,
|
|
48
48
|
null,
|
|
49
|
-
!showPlaceholder &&
|
|
49
|
+
!showPlaceholder && React__default.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__default.createElement(
|
|
57
57
|
'div',
|
|
58
58
|
{ className: className },
|
|
59
|
-
|
|
59
|
+
React__default.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__default.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__default.createElement(
|
|
81
81
|
'div',
|
|
82
82
|
{ style: { height: 'auto' } },
|
|
83
83
|
'\xA0'
|