@mjhls/mjh-framework 1.0.567 → 1.0.568
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 +10 -9
- package/dist/cjs/AD300x250.js +8 -7
- package/dist/cjs/AD300x250x600.js +8 -7
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +15 -14
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-17a378db.js → ADInfeed-fdbd80ea.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +11 -10
- package/dist/cjs/ADWebcast.js +11 -10
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-070d911c.js → ADlgInfeed-ecd2642c.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleQueue.js +115 -112
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-cb8b8128.js → AuthorComponent-5bb8f868.js} +13 -12
- package/dist/cjs/{BlockContent-f942392e.js → BlockContent-8b494587.js} +26 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +61 -61
- 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 +34 -33
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -81
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-fbe32b96.js → Dfp-a06d722a.js} +22 -20
- package/dist/cjs/EventsDeck.js +113 -106
- package/dist/cjs/ExternalResources.js +42 -41
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +149 -145
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +38 -37
- package/dist/cjs/HamMagazine.js +118 -113
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/{InscreenSensor-3aec8492.js → InscreenSensor-1f9f7db4.js} +8 -7
- package/dist/cjs/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +47 -46
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +60 -59
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +122 -117
- package/dist/cjs/NavNative.js +80 -75
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +1267 -69
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +63 -58
- package/dist/cjs/PublicationLanding.js +85 -81
- package/dist/cjs/QueueDeckExpanded.js +223 -223
- package/dist/cjs/RelatedContent.js +47 -46
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +20 -19
- package/dist/cjs/{SocialNavFooter-9a07520f.js → SocialNavFooter-d9ab4d17.js} +18 -17
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +38 -37
- package/dist/cjs/View.js +166 -161
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +46 -45
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +355 -6
- package/dist/cjs/getSerializers.js +269 -259
- package/dist/cjs/{getTargeting-b15993cb.js → getTargeting-86e68d62.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-637d3f1e.js +0 -3
- package/dist/cjs/{index-f7ee1612.js → index-44481153.js} +10 -8
- package/dist/cjs/{index-fa0fb52c.js → index-8a3fb0bc.js} +13 -10
- package/dist/cjs/{index-5be2866f.js → index-99edf08a.js} +1 -1
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- package/dist/cjs/{index.esm-25423c2f.js → index.esm-2ea63d18.js} +3 -6
- package/dist/cjs/{index.esm-c0d8b44b.js → index.esm-c8d2c195.js} +4 -9
- package/dist/cjs/{index.esm-fcdbd2c6.js → index.esm-d7e04264.js} +6 -15
- package/dist/cjs/index.js +31 -32
- package/dist/cjs/{inherits-14962339.js → inherits-4a2f1cc3.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-bc4db521.js → main-c50facd7.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-cd0d9d3b.js → react-social-icons-07939b41.js} +13 -11
- package/dist/cjs/{typeof-1869832c.js → typeof-583cdc4b.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-c7dba95f.js → ADInfeed-ed104a2b.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-8bfd6d58.js → ADlgInfeed-dfde985e.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +97 -97
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-158226c9.js → AuthorComponent-f67cb027.js} +10 -10
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-d05b5b23.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +61 -61
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-ae9336e2.js → Dfp-0557840a.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +35 -35
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +33 -33
- package/dist/esm/HamMagazine.js +86 -86
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/{InscreenSensor-280b2b10.js → InscreenSensor-3e1fe82a.js} +5 -5
- package/dist/esm/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +92 -92
- package/dist/esm/NavNative.js +57 -57
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +13 -14
- package/dist/esm/OncliveLargeHero.js +51 -51
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1261 -65
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +203 -203
- package/dist/esm/RelatedContent.js +42 -42
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +17 -17
- package/dist/esm/{SocialNavFooter-4fb16720.js → SocialNavFooter-1a531144.js} +15 -15
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +28 -28
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +32 -32
- package/dist/esm/View.js +140 -140
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +36 -36
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +355 -6
- package/dist/esm/getSerializers.js +220 -216
- package/dist/esm/{getTargeting-1a0bd08d.js → getTargeting-1f2c61e3.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index-d2f90501.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-b97cf389.js → index.esm-4b1810e3.js} +6 -15
- package/dist/esm/{index.esm-a7ad65ba.js → index.esm-be9486fc.js} +3 -6
- package/dist/esm/{index.esm-9d6faf80.js → index.esm-d3249151.js} +4 -9
- package/dist/esm/index.js +26 -27
- package/dist/esm/{inherits-b8e4c697.js → inherits-2758cc14.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-7255814e.js → main-b722e2e2.js} +48 -44
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{typeof-5f046efd.js → typeof-7e72fee0.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -8,20 +8,20 @@ import { _ as _toConsumableArray } from './toConsumableArray-8712d678.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends } from './extends-6e00b262.js';
|
|
10
10
|
import './web.dom.iterable-46c95e52.js';
|
|
11
|
-
import
|
|
12
|
-
import { l as lib_3 } from './index-
|
|
11
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
12
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
13
13
|
import 'prop-types';
|
|
14
14
|
import 'react-bootstrap/Card';
|
|
15
|
-
import { m as moment } from './moment-
|
|
15
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
16
16
|
import { useRouter } from 'next/router';
|
|
17
17
|
import './isSymbol-b7b7434f.js';
|
|
18
18
|
import './debounce-048d9cb6.js';
|
|
19
|
-
import { I as InfiniteScroll } from './index.es-
|
|
19
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
21
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
22
22
|
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
23
|
-
import { L as LazyLoad } from './index-
|
|
24
|
-
import { m as
|
|
23
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
24
|
+
import { m as main_40 } from './main-b722e2e2.js';
|
|
25
25
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
26
|
import { _ as _slicedToArray } from './slicedToArray-f1e40361.js';
|
|
27
27
|
import './stringify-e30bc114.js';
|
|
@@ -29,10 +29,10 @@ import './asyncToGenerator-0379e924.js';
|
|
|
29
29
|
import './_set-species-6f64f1c1.js';
|
|
30
30
|
import './beam-a25bd8fd.js';
|
|
31
31
|
import './AdSlot.js';
|
|
32
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
33
|
-
import { l as lodash } from './lodash-
|
|
34
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
35
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-ed104a2b.js';
|
|
33
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dfde985e.js';
|
|
35
|
+
import { A as AuthorComponent } from './AuthorComponent-f67cb027.js';
|
|
36
36
|
import { Container, Media } from 'react-bootstrap';
|
|
37
37
|
|
|
38
38
|
var urlFor = function urlFor(source, builder) {
|
|
@@ -242,7 +242,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
242
242
|
});
|
|
243
243
|
|
|
244
244
|
var featureCount = 0;
|
|
245
|
-
return
|
|
245
|
+
return React.createElement(
|
|
246
246
|
'div',
|
|
247
247
|
null,
|
|
248
248
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -253,7 +253,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
253
253
|
if (article._type === 'feature') {
|
|
254
254
|
featureCount++;
|
|
255
255
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
256
|
-
return
|
|
256
|
+
return React.createElement(
|
|
257
257
|
VisibilitySensor,
|
|
258
258
|
{
|
|
259
259
|
key: article._id ? article._id : index,
|
|
@@ -261,68 +261,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
261
261
|
onChange: function onChange(isVisible) {
|
|
262
262
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
263
263
|
} },
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
React.createElement(
|
|
265
|
+
React.Fragment,
|
|
266
266
|
null,
|
|
267
|
-
|
|
267
|
+
React.createElement(
|
|
268
268
|
Media,
|
|
269
269
|
{
|
|
270
270
|
key: article._id ? article._id : index,
|
|
271
271
|
className: 'feature-media',
|
|
272
272
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
273
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
273
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
274
274
|
'a',
|
|
275
275
|
{ href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
276
|
-
|
|
276
|
+
React.createElement(
|
|
277
277
|
LazyLoad,
|
|
278
|
-
{ height: imageHeight, placeholder:
|
|
279
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
278
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
279
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
280
280
|
),
|
|
281
|
-
article.source &&
|
|
281
|
+
article.source && React.createElement(
|
|
282
282
|
'div',
|
|
283
283
|
{ className: 'content-category-label' },
|
|
284
|
-
|
|
284
|
+
React.createElement(
|
|
285
285
|
'div',
|
|
286
286
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
287
287
|
article.source
|
|
288
288
|
)
|
|
289
289
|
)
|
|
290
290
|
),
|
|
291
|
-
|
|
291
|
+
React.createElement(
|
|
292
292
|
Media.Body,
|
|
293
293
|
null,
|
|
294
|
-
|
|
294
|
+
React.createElement(
|
|
295
295
|
'a',
|
|
296
296
|
{ href: article.url.current, target: '_blank' },
|
|
297
|
-
article.title &&
|
|
297
|
+
article.title && React.createElement(
|
|
298
298
|
'h4',
|
|
299
299
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
300
300
|
article.title
|
|
301
301
|
)
|
|
302
302
|
),
|
|
303
|
-
showPublished && article.published &&
|
|
303
|
+
showPublished && article.published && React.createElement(
|
|
304
304
|
'p',
|
|
305
305
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
306
306
|
moment(article.published).format('MMMM DD, YYYY')
|
|
307
307
|
),
|
|
308
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
308
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
309
309
|
LazyLoad,
|
|
310
310
|
{ height: 50 },
|
|
311
|
-
|
|
311
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
312
312
|
),
|
|
313
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
313
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
314
314
|
'div',
|
|
315
315
|
{ className: 'content-category-label' },
|
|
316
|
-
|
|
316
|
+
React.createElement(
|
|
317
317
|
'div',
|
|
318
318
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
319
319
|
article.source
|
|
320
320
|
)
|
|
321
321
|
),
|
|
322
|
-
|
|
322
|
+
React.createElement(
|
|
323
323
|
'div',
|
|
324
324
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
325
|
-
showCategory && article.contentCategory &&
|
|
325
|
+
showCategory && article.contentCategory && React.createElement(
|
|
326
326
|
'p',
|
|
327
327
|
{
|
|
328
328
|
className: 'article-category',
|
|
@@ -336,7 +336,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
336
336
|
} },
|
|
337
337
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
338
338
|
),
|
|
339
|
-
article.issueSection && article.issueSection.name &&
|
|
339
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
340
340
|
'p',
|
|
341
341
|
{
|
|
342
342
|
className: 'issueSection',
|
|
@@ -352,27 +352,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
352
352
|
article.issueSection.name
|
|
353
353
|
)
|
|
354
354
|
),
|
|
355
|
-
showPubInfo && article.issue &&
|
|
355
|
+
showPubInfo && article.issue && React.createElement(
|
|
356
356
|
'p',
|
|
357
357
|
{ className: 'qdeIssue' },
|
|
358
358
|
'Issue: ',
|
|
359
|
-
|
|
359
|
+
React.createElement(
|
|
360
360
|
'span',
|
|
361
361
|
null,
|
|
362
362
|
article.issue
|
|
363
363
|
)
|
|
364
364
|
),
|
|
365
|
-
showPubInfo && article.volume &&
|
|
365
|
+
showPubInfo && article.volume && React.createElement(
|
|
366
366
|
'p',
|
|
367
367
|
{ className: 'qdeVolume' },
|
|
368
368
|
'Volume: ',
|
|
369
|
-
|
|
369
|
+
React.createElement(
|
|
370
370
|
'span',
|
|
371
371
|
null,
|
|
372
372
|
article.volume
|
|
373
373
|
)
|
|
374
374
|
),
|
|
375
|
-
article.summary &&
|
|
375
|
+
article.summary && React.createElement(
|
|
376
376
|
'p',
|
|
377
377
|
{ className: 'pt-2 card-text' },
|
|
378
378
|
clean_html_1(article.summary)
|
|
@@ -382,7 +382,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
382
382
|
)
|
|
383
383
|
);
|
|
384
384
|
} else {
|
|
385
|
-
return
|
|
385
|
+
return React.createElement(
|
|
386
386
|
VisibilitySensor,
|
|
387
387
|
{
|
|
388
388
|
key: article._id ? article._id : index,
|
|
@@ -390,68 +390,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
390
390
|
onChange: function onChange(isVisible) {
|
|
391
391
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
392
392
|
} },
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
React.createElement(
|
|
394
|
+
React.Fragment,
|
|
395
395
|
null,
|
|
396
|
-
|
|
396
|
+
React.createElement(
|
|
397
397
|
Media,
|
|
398
398
|
{
|
|
399
399
|
key: article._id ? article._id : index,
|
|
400
400
|
className: 'feature-media',
|
|
401
401
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
402
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
402
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
403
403
|
'a',
|
|
404
404
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
405
|
-
|
|
405
|
+
React.createElement(
|
|
406
406
|
LazyLoad,
|
|
407
|
-
{ height: imageHeight, placeholder:
|
|
408
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
407
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
408
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
409
409
|
),
|
|
410
|
-
article.source &&
|
|
410
|
+
article.source && React.createElement(
|
|
411
411
|
'div',
|
|
412
412
|
{ className: 'content-category-label' },
|
|
413
|
-
|
|
413
|
+
React.createElement(
|
|
414
414
|
'div',
|
|
415
415
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
416
416
|
article.source
|
|
417
417
|
)
|
|
418
418
|
)
|
|
419
419
|
),
|
|
420
|
-
|
|
420
|
+
React.createElement(
|
|
421
421
|
Media.Body,
|
|
422
422
|
null,
|
|
423
|
-
|
|
423
|
+
React.createElement(
|
|
424
424
|
'a',
|
|
425
425
|
{ href: article.url.current },
|
|
426
|
-
article.title &&
|
|
426
|
+
article.title && React.createElement(
|
|
427
427
|
'h4',
|
|
428
428
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
429
429
|
article.title
|
|
430
430
|
)
|
|
431
431
|
),
|
|
432
|
-
showPublished && article.published &&
|
|
432
|
+
showPublished && article.published && React.createElement(
|
|
433
433
|
'p',
|
|
434
434
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
435
435
|
moment(article.published).format('MMMM DD, YYYY')
|
|
436
436
|
),
|
|
437
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
437
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
438
438
|
LazyLoad,
|
|
439
439
|
{ height: 50 },
|
|
440
|
-
|
|
440
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
441
441
|
),
|
|
442
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
442
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
443
443
|
'div',
|
|
444
444
|
{ className: 'content-category-label' },
|
|
445
|
-
|
|
445
|
+
React.createElement(
|
|
446
446
|
'div',
|
|
447
447
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
448
448
|
article.source
|
|
449
449
|
)
|
|
450
450
|
),
|
|
451
|
-
|
|
451
|
+
React.createElement(
|
|
452
452
|
'div',
|
|
453
453
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
454
|
-
showCategory && article.contentCategory &&
|
|
454
|
+
showCategory && article.contentCategory && React.createElement(
|
|
455
455
|
'p',
|
|
456
456
|
{
|
|
457
457
|
className: 'article-category',
|
|
@@ -465,7 +465,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
465
465
|
} },
|
|
466
466
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
467
467
|
),
|
|
468
|
-
article.issueSection && article.issueSection.name &&
|
|
468
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
469
469
|
'p',
|
|
470
470
|
{
|
|
471
471
|
className: 'issueSection',
|
|
@@ -481,27 +481,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
481
481
|
article.issueSection.name
|
|
482
482
|
)
|
|
483
483
|
),
|
|
484
|
-
showPubInfo && article.issue &&
|
|
484
|
+
showPubInfo && article.issue && React.createElement(
|
|
485
485
|
'p',
|
|
486
486
|
{ className: 'qdeIssue' },
|
|
487
487
|
'Issue: ',
|
|
488
|
-
|
|
488
|
+
React.createElement(
|
|
489
489
|
'span',
|
|
490
490
|
null,
|
|
491
491
|
article.issue
|
|
492
492
|
)
|
|
493
493
|
),
|
|
494
|
-
showPubInfo && article.volume &&
|
|
494
|
+
showPubInfo && article.volume && React.createElement(
|
|
495
495
|
'p',
|
|
496
496
|
{ className: 'qdeVolume' },
|
|
497
497
|
'Volume: ',
|
|
498
|
-
|
|
498
|
+
React.createElement(
|
|
499
499
|
'span',
|
|
500
500
|
null,
|
|
501
501
|
article.volume
|
|
502
502
|
)
|
|
503
503
|
),
|
|
504
|
-
article.summary &&
|
|
504
|
+
article.summary && React.createElement(
|
|
505
505
|
'p',
|
|
506
506
|
{ className: 'pt-2 card-text' },
|
|
507
507
|
clean_html_1(article.summary)
|
|
@@ -512,16 +512,16 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
512
512
|
);
|
|
513
513
|
}
|
|
514
514
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
515
|
-
return
|
|
515
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
516
516
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
517
|
-
return
|
|
517
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
518
518
|
}
|
|
519
|
-
if (
|
|
519
|
+
if (main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
|
|
520
520
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
521
521
|
}
|
|
522
522
|
|
|
523
523
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
524
|
-
return
|
|
524
|
+
return React.createElement(
|
|
525
525
|
VisibilitySensor,
|
|
526
526
|
{
|
|
527
527
|
key: article._id ? article._id : index,
|
|
@@ -529,71 +529,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
529
529
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
530
530
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
531
531
|
} },
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
React.createElement(
|
|
533
|
+
React.Fragment,
|
|
534
534
|
null,
|
|
535
|
-
|
|
535
|
+
React.createElement(
|
|
536
536
|
Media,
|
|
537
537
|
{
|
|
538
538
|
key: article._id ? article._id : index,
|
|
539
539
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
540
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
540
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
541
541
|
'a',
|
|
542
542
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
543
|
-
|
|
543
|
+
React.createElement(
|
|
544
544
|
LazyLoad,
|
|
545
|
-
{ height: imageHeight, placeholder:
|
|
546
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
545
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
546
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
547
547
|
),
|
|
548
|
-
article.source &&
|
|
548
|
+
article.source && React.createElement(
|
|
549
549
|
'div',
|
|
550
550
|
{ className: 'content-category-label' },
|
|
551
|
-
|
|
551
|
+
React.createElement(
|
|
552
552
|
'div',
|
|
553
553
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
554
554
|
article.source
|
|
555
555
|
)
|
|
556
556
|
)
|
|
557
557
|
),
|
|
558
|
-
|
|
558
|
+
React.createElement(
|
|
559
559
|
Media.Body,
|
|
560
560
|
null,
|
|
561
|
-
|
|
561
|
+
React.createElement(
|
|
562
562
|
'a',
|
|
563
563
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
564
|
-
article.title &&
|
|
564
|
+
article.title && React.createElement(
|
|
565
565
|
'h4',
|
|
566
566
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
567
567
|
article.title
|
|
568
568
|
)
|
|
569
569
|
),
|
|
570
|
-
showPublished && article.published &&
|
|
570
|
+
showPublished && article.published && React.createElement(
|
|
571
571
|
'p',
|
|
572
572
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
573
573
|
moment(article.published).format('MMMM DD, YYYY')
|
|
574
574
|
),
|
|
575
|
-
|
|
575
|
+
React.createElement(
|
|
576
576
|
'div',
|
|
577
577
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
578
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
578
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
579
579
|
LazyLoad,
|
|
580
580
|
{ height: 50 },
|
|
581
|
-
|
|
581
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
582
582
|
)
|
|
583
583
|
),
|
|
584
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
584
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
585
585
|
'div',
|
|
586
586
|
{ className: 'content-category-label' },
|
|
587
|
-
|
|
587
|
+
React.createElement(
|
|
588
588
|
'div',
|
|
589
589
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
590
590
|
article.source
|
|
591
591
|
)
|
|
592
592
|
),
|
|
593
|
-
|
|
593
|
+
React.createElement(
|
|
594
594
|
'div',
|
|
595
595
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
596
|
-
showCategory && article.contentCategory &&
|
|
596
|
+
showCategory && article.contentCategory && React.createElement(
|
|
597
597
|
'p',
|
|
598
598
|
{
|
|
599
599
|
className: 'article-category',
|
|
@@ -607,7 +607,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
607
607
|
} },
|
|
608
608
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
609
609
|
),
|
|
610
|
-
article.issueSection && article.issueSection.name &&
|
|
610
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
611
611
|
'p',
|
|
612
612
|
{
|
|
613
613
|
className: 'issueSection',
|
|
@@ -623,27 +623,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
623
623
|
article.issueSection.name
|
|
624
624
|
)
|
|
625
625
|
),
|
|
626
|
-
showPubInfo && article.issue &&
|
|
626
|
+
showPubInfo && article.issue && React.createElement(
|
|
627
627
|
'p',
|
|
628
628
|
{ className: 'qdeIssue' },
|
|
629
629
|
'Issue: ',
|
|
630
|
-
|
|
630
|
+
React.createElement(
|
|
631
631
|
'span',
|
|
632
632
|
null,
|
|
633
633
|
article.issue
|
|
634
634
|
)
|
|
635
635
|
),
|
|
636
|
-
showPubInfo && article.volume &&
|
|
636
|
+
showPubInfo && article.volume && React.createElement(
|
|
637
637
|
'p',
|
|
638
638
|
{ className: 'qdeVolume' },
|
|
639
639
|
'Volume: ',
|
|
640
|
-
|
|
640
|
+
React.createElement(
|
|
641
641
|
'span',
|
|
642
642
|
null,
|
|
643
643
|
article.volume
|
|
644
644
|
)
|
|
645
645
|
),
|
|
646
|
-
article.summary &&
|
|
646
|
+
article.summary && React.createElement(
|
|
647
647
|
'p',
|
|
648
648
|
{ className: 'pt-2 card-text' },
|
|
649
649
|
clean_html_1(article.summary)
|
|
@@ -655,7 +655,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
655
655
|
} else return null;
|
|
656
656
|
}) :
|
|
657
657
|
// For Javascript Disabled Cases
|
|
658
|
-
|
|
658
|
+
React.createElement(
|
|
659
659
|
'noscript',
|
|
660
660
|
null,
|
|
661
661
|
data.map(function (article, index) {
|
|
@@ -665,7 +665,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
665
665
|
if (article._type === 'feature') {
|
|
666
666
|
featureCount++;
|
|
667
667
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
668
|
-
return
|
|
668
|
+
return React.createElement(
|
|
669
669
|
VisibilitySensor,
|
|
670
670
|
{
|
|
671
671
|
key: article._id ? article._id : index,
|
|
@@ -673,68 +673,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
673
673
|
onChange: function onChange(isVisible) {
|
|
674
674
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
675
675
|
} },
|
|
676
|
-
|
|
677
|
-
|
|
676
|
+
React.createElement(
|
|
677
|
+
React.Fragment,
|
|
678
678
|
null,
|
|
679
|
-
|
|
679
|
+
React.createElement(
|
|
680
680
|
Media,
|
|
681
681
|
{
|
|
682
682
|
key: article._id ? article._id : index,
|
|
683
683
|
className: 'feature-media',
|
|
684
684
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
685
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
685
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
686
686
|
'a',
|
|
687
687
|
{ href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
688
|
-
|
|
688
|
+
React.createElement(
|
|
689
689
|
LazyLoad,
|
|
690
|
-
{ height: imageHeight, placeholder:
|
|
691
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
690
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
691
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
692
692
|
),
|
|
693
|
-
article.source &&
|
|
693
|
+
article.source && React.createElement(
|
|
694
694
|
'div',
|
|
695
695
|
{ className: 'content-category-label' },
|
|
696
|
-
|
|
696
|
+
React.createElement(
|
|
697
697
|
'div',
|
|
698
698
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
699
699
|
article.source
|
|
700
700
|
)
|
|
701
701
|
)
|
|
702
702
|
),
|
|
703
|
-
|
|
703
|
+
React.createElement(
|
|
704
704
|
Media.Body,
|
|
705
705
|
null,
|
|
706
|
-
|
|
706
|
+
React.createElement(
|
|
707
707
|
'a',
|
|
708
708
|
{ href: article.url.current, target: '_blank' },
|
|
709
|
-
article.title &&
|
|
709
|
+
article.title && React.createElement(
|
|
710
710
|
'h4',
|
|
711
711
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
712
712
|
article.title
|
|
713
713
|
)
|
|
714
714
|
),
|
|
715
|
-
showPublished && article.published &&
|
|
715
|
+
showPublished && article.published && React.createElement(
|
|
716
716
|
'p',
|
|
717
717
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
718
718
|
moment(article.published).format('MMMM DD, YYYY')
|
|
719
719
|
),
|
|
720
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
720
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
721
721
|
LazyLoad,
|
|
722
722
|
{ height: 50 },
|
|
723
|
-
|
|
723
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
724
724
|
),
|
|
725
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
725
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
726
726
|
'div',
|
|
727
727
|
{ className: 'content-category-label' },
|
|
728
|
-
|
|
728
|
+
React.createElement(
|
|
729
729
|
'div',
|
|
730
730
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
731
731
|
article.source
|
|
732
732
|
)
|
|
733
733
|
),
|
|
734
|
-
|
|
734
|
+
React.createElement(
|
|
735
735
|
'div',
|
|
736
736
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
737
|
-
showCategory && article.contentCategory &&
|
|
737
|
+
showCategory && article.contentCategory && React.createElement(
|
|
738
738
|
'p',
|
|
739
739
|
{
|
|
740
740
|
className: 'article-category',
|
|
@@ -748,7 +748,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
748
748
|
} },
|
|
749
749
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
750
750
|
),
|
|
751
|
-
article.issueSection && article.issueSection.name &&
|
|
751
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
752
752
|
'p',
|
|
753
753
|
{
|
|
754
754
|
className: 'issueSection',
|
|
@@ -764,27 +764,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
764
764
|
article.issueSection.name
|
|
765
765
|
)
|
|
766
766
|
),
|
|
767
|
-
showPubInfo && article.issue &&
|
|
767
|
+
showPubInfo && article.issue && React.createElement(
|
|
768
768
|
'p',
|
|
769
769
|
{ className: 'qdeIssue' },
|
|
770
770
|
'Issue: ',
|
|
771
|
-
|
|
771
|
+
React.createElement(
|
|
772
772
|
'span',
|
|
773
773
|
null,
|
|
774
774
|
article.issue
|
|
775
775
|
)
|
|
776
776
|
),
|
|
777
|
-
showPubInfo && article.volume &&
|
|
777
|
+
showPubInfo && article.volume && React.createElement(
|
|
778
778
|
'p',
|
|
779
779
|
{ className: 'qdeVolume' },
|
|
780
780
|
'Volume: ',
|
|
781
|
-
|
|
781
|
+
React.createElement(
|
|
782
782
|
'span',
|
|
783
783
|
null,
|
|
784
784
|
article.volume
|
|
785
785
|
)
|
|
786
786
|
),
|
|
787
|
-
article.summary &&
|
|
787
|
+
article.summary && React.createElement(
|
|
788
788
|
'p',
|
|
789
789
|
{ className: 'pt-2 card-text' },
|
|
790
790
|
clean_html_1(article.summary)
|
|
@@ -794,7 +794,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
794
794
|
)
|
|
795
795
|
);
|
|
796
796
|
} else {
|
|
797
|
-
return
|
|
797
|
+
return React.createElement(
|
|
798
798
|
VisibilitySensor,
|
|
799
799
|
{
|
|
800
800
|
key: article._id ? article._id : index,
|
|
@@ -802,68 +802,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
802
802
|
onChange: function onChange(isVisible) {
|
|
803
803
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
804
804
|
} },
|
|
805
|
-
|
|
806
|
-
|
|
805
|
+
React.createElement(
|
|
806
|
+
React.Fragment,
|
|
807
807
|
null,
|
|
808
|
-
|
|
808
|
+
React.createElement(
|
|
809
809
|
Media,
|
|
810
810
|
{
|
|
811
811
|
key: article._id ? article._id : index,
|
|
812
812
|
className: 'feature-media',
|
|
813
813
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
814
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
814
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
815
815
|
'a',
|
|
816
816
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
817
|
-
|
|
817
|
+
React.createElement(
|
|
818
818
|
LazyLoad,
|
|
819
|
-
{ height: imageHeight, placeholder:
|
|
820
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
819
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
820
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
821
821
|
),
|
|
822
|
-
article.source &&
|
|
822
|
+
article.source && React.createElement(
|
|
823
823
|
'div',
|
|
824
824
|
{ className: 'content-category-label' },
|
|
825
|
-
|
|
825
|
+
React.createElement(
|
|
826
826
|
'div',
|
|
827
827
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
828
828
|
article.source
|
|
829
829
|
)
|
|
830
830
|
)
|
|
831
831
|
),
|
|
832
|
-
|
|
832
|
+
React.createElement(
|
|
833
833
|
Media.Body,
|
|
834
834
|
null,
|
|
835
|
-
|
|
835
|
+
React.createElement(
|
|
836
836
|
'a',
|
|
837
837
|
{ href: article.url.current },
|
|
838
|
-
article.title &&
|
|
838
|
+
article.title && React.createElement(
|
|
839
839
|
'h4',
|
|
840
840
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
841
841
|
article.title
|
|
842
842
|
)
|
|
843
843
|
),
|
|
844
|
-
showPublished && article.published &&
|
|
844
|
+
showPublished && article.published && React.createElement(
|
|
845
845
|
'p',
|
|
846
846
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
847
847
|
moment(article.published).format('MMMM DD, YYYY')
|
|
848
848
|
),
|
|
849
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
849
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
850
850
|
LazyLoad,
|
|
851
851
|
{ height: 50 },
|
|
852
|
-
|
|
852
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
853
853
|
),
|
|
854
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
854
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
855
855
|
'div',
|
|
856
856
|
{ className: 'content-category-label' },
|
|
857
|
-
|
|
857
|
+
React.createElement(
|
|
858
858
|
'div',
|
|
859
859
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
860
860
|
article.source
|
|
861
861
|
)
|
|
862
862
|
),
|
|
863
|
-
|
|
863
|
+
React.createElement(
|
|
864
864
|
'div',
|
|
865
865
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
866
|
-
showCategory && article.contentCategory &&
|
|
866
|
+
showCategory && article.contentCategory && React.createElement(
|
|
867
867
|
'p',
|
|
868
868
|
{
|
|
869
869
|
className: 'article-category',
|
|
@@ -877,7 +877,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
877
877
|
} },
|
|
878
878
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
879
879
|
),
|
|
880
|
-
article.issueSection && article.issueSection.name &&
|
|
880
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
881
881
|
'p',
|
|
882
882
|
{
|
|
883
883
|
className: 'issueSection',
|
|
@@ -893,27 +893,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
893
893
|
article.issueSection.name
|
|
894
894
|
)
|
|
895
895
|
),
|
|
896
|
-
showPubInfo && article.issue &&
|
|
896
|
+
showPubInfo && article.issue && React.createElement(
|
|
897
897
|
'p',
|
|
898
898
|
{ className: 'qdeIssue' },
|
|
899
899
|
'Issue: ',
|
|
900
|
-
|
|
900
|
+
React.createElement(
|
|
901
901
|
'span',
|
|
902
902
|
null,
|
|
903
903
|
article.issue
|
|
904
904
|
)
|
|
905
905
|
),
|
|
906
|
-
showPubInfo && article.volume &&
|
|
906
|
+
showPubInfo && article.volume && React.createElement(
|
|
907
907
|
'p',
|
|
908
908
|
{ className: 'qdeVolume' },
|
|
909
909
|
'Volume: ',
|
|
910
|
-
|
|
910
|
+
React.createElement(
|
|
911
911
|
'span',
|
|
912
912
|
null,
|
|
913
913
|
article.volume
|
|
914
914
|
)
|
|
915
915
|
),
|
|
916
|
-
article.summary &&
|
|
916
|
+
article.summary && React.createElement(
|
|
917
917
|
'p',
|
|
918
918
|
{ className: 'pt-2 card-text' },
|
|
919
919
|
clean_html_1(article.summary)
|
|
@@ -924,16 +924,16 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
924
924
|
);
|
|
925
925
|
}
|
|
926
926
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
927
|
-
return
|
|
927
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
928
928
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
929
|
-
return
|
|
929
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
930
930
|
}
|
|
931
|
-
if (
|
|
931
|
+
if (main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0) {
|
|
932
932
|
return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
|
|
933
933
|
}
|
|
934
934
|
|
|
935
935
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
936
|
-
return
|
|
936
|
+
return React.createElement(
|
|
937
937
|
VisibilitySensor,
|
|
938
938
|
{
|
|
939
939
|
key: article._id ? article._id : index,
|
|
@@ -941,71 +941,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
941
941
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
942
942
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
943
943
|
} },
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
React.createElement(
|
|
945
|
+
React.Fragment,
|
|
946
946
|
null,
|
|
947
|
-
|
|
947
|
+
React.createElement(
|
|
948
948
|
Media,
|
|
949
949
|
{
|
|
950
950
|
key: article._id ? article._id : index,
|
|
951
951
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
952
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
952
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
953
953
|
'a',
|
|
954
954
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
955
|
-
|
|
955
|
+
React.createElement(
|
|
956
956
|
LazyLoad,
|
|
957
|
-
{ height: imageHeight, placeholder:
|
|
958
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
957
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
958
|
+
article.thumbnail && article.thumbnail.asset ? React.createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, builder, imageHeight, imageWidth), alt: article.title }) : article.thumbnail ? React.createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React.createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
959
959
|
),
|
|
960
|
-
article.source &&
|
|
960
|
+
article.source && React.createElement(
|
|
961
961
|
'div',
|
|
962
962
|
{ className: 'content-category-label' },
|
|
963
|
-
|
|
963
|
+
React.createElement(
|
|
964
964
|
'div',
|
|
965
965
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
966
966
|
article.source
|
|
967
967
|
)
|
|
968
968
|
)
|
|
969
969
|
),
|
|
970
|
-
|
|
970
|
+
React.createElement(
|
|
971
971
|
Media.Body,
|
|
972
972
|
null,
|
|
973
|
-
|
|
973
|
+
React.createElement(
|
|
974
974
|
'a',
|
|
975
975
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
976
|
-
article.title &&
|
|
976
|
+
article.title && React.createElement(
|
|
977
977
|
'h4',
|
|
978
978
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
979
979
|
article.title
|
|
980
980
|
)
|
|
981
981
|
),
|
|
982
|
-
showPublished && article.published &&
|
|
982
|
+
showPublished && article.published && React.createElement(
|
|
983
983
|
'p',
|
|
984
984
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
985
985
|
moment(article.published).format('MMMM DD, YYYY')
|
|
986
986
|
),
|
|
987
|
-
|
|
987
|
+
React.createElement(
|
|
988
988
|
'div',
|
|
989
989
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
990
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
990
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
991
991
|
LazyLoad,
|
|
992
992
|
{ height: 50 },
|
|
993
|
-
|
|
993
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
994
994
|
)
|
|
995
995
|
),
|
|
996
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
996
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
997
997
|
'div',
|
|
998
998
|
{ className: 'content-category-label' },
|
|
999
|
-
|
|
999
|
+
React.createElement(
|
|
1000
1000
|
'div',
|
|
1001
1001
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1002
1002
|
article.source
|
|
1003
1003
|
)
|
|
1004
1004
|
),
|
|
1005
|
-
|
|
1005
|
+
React.createElement(
|
|
1006
1006
|
'div',
|
|
1007
1007
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1008
|
-
showCategory && article.contentCategory &&
|
|
1008
|
+
showCategory && article.contentCategory && React.createElement(
|
|
1009
1009
|
'p',
|
|
1010
1010
|
{
|
|
1011
1011
|
className: 'article-category',
|
|
@@ -1019,7 +1019,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1019
1019
|
} },
|
|
1020
1020
|
article.contentCategory.name.slice(0, article.contentCategory.name.length - 1)
|
|
1021
1021
|
),
|
|
1022
|
-
article.issueSection && article.issueSection.name &&
|
|
1022
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
1023
1023
|
'p',
|
|
1024
1024
|
{
|
|
1025
1025
|
className: 'issueSection',
|
|
@@ -1035,27 +1035,27 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1035
1035
|
article.issueSection.name
|
|
1036
1036
|
)
|
|
1037
1037
|
),
|
|
1038
|
-
showPubInfo && article.issue &&
|
|
1038
|
+
showPubInfo && article.issue && React.createElement(
|
|
1039
1039
|
'p',
|
|
1040
1040
|
{ className: 'qdeIssue' },
|
|
1041
1041
|
'Issue: ',
|
|
1042
|
-
|
|
1042
|
+
React.createElement(
|
|
1043
1043
|
'span',
|
|
1044
1044
|
null,
|
|
1045
1045
|
article.issue
|
|
1046
1046
|
)
|
|
1047
1047
|
),
|
|
1048
|
-
showPubInfo && article.volume &&
|
|
1048
|
+
showPubInfo && article.volume && React.createElement(
|
|
1049
1049
|
'p',
|
|
1050
1050
|
{ className: 'qdeVolume' },
|
|
1051
1051
|
'Volume: ',
|
|
1052
|
-
|
|
1052
|
+
React.createElement(
|
|
1053
1053
|
'span',
|
|
1054
1054
|
null,
|
|
1055
1055
|
article.volume
|
|
1056
1056
|
)
|
|
1057
1057
|
),
|
|
1058
|
-
article.summary &&
|
|
1058
|
+
article.summary && React.createElement(
|
|
1059
1059
|
'p',
|
|
1060
1060
|
{ className: 'pt-2 card-text' },
|
|
1061
1061
|
clean_html_1(article.summary)
|
|
@@ -1066,20 +1066,20 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1066
1066
|
);
|
|
1067
1067
|
} else return null;
|
|
1068
1068
|
})
|
|
1069
|
-
) :
|
|
1069
|
+
) : React.createElement(
|
|
1070
1070
|
'div',
|
|
1071
1071
|
null,
|
|
1072
|
-
|
|
1072
|
+
React.createElement(
|
|
1073
1073
|
'h5',
|
|
1074
1074
|
null,
|
|
1075
|
-
|
|
1075
|
+
React.createElement(
|
|
1076
1076
|
'em',
|
|
1077
1077
|
null,
|
|
1078
1078
|
'New content coming soon, please check back later.'
|
|
1079
1079
|
)
|
|
1080
1080
|
)
|
|
1081
1081
|
),
|
|
1082
|
-
|
|
1082
|
+
React.createElement(
|
|
1083
1083
|
'style',
|
|
1084
1084
|
{ jsx: 'true' },
|
|
1085
1085
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: 100%;\n max-width: 240px;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n .feature-media > .media-body {\n -webkit-box-flex: none;\n -ms-flex: none;\n flex: none;\n }\n .img-wrapper img {\n max-height: 240px;\n height: auto;\n width: 100%;\n object-fit: contain;\n }\n .feature-wrapper {\n height: 100%;\n width: 100%;\n }\n .feature-wrapper img {\n width: 100%;\n margin-bottom: 1em;\n }\n @media only screen and (min-width: 768px) {\n .img-wrapper > img {\n padding-right: 1em;\n }\n }\n @media only screen and (max-width: 767px) {\n .img-wrapper {\n width: 100%;\n }\n .img-wrapper img {\n padding-bottom: 1em;\n }\n .media {\n flex-direction: column !important;\n }\n }\n '
|
|
@@ -1088,11 +1088,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1088
1088
|
};
|
|
1089
1089
|
|
|
1090
1090
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1091
|
-
return
|
|
1092
|
-
|
|
1091
|
+
return React.createElement(
|
|
1092
|
+
React.Fragment,
|
|
1093
1093
|
null,
|
|
1094
|
-
|
|
1095
|
-
|
|
1094
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1095
|
+
React.createElement(
|
|
1096
1096
|
'style',
|
|
1097
1097
|
{ jsx: 'true' },
|
|
1098
1098
|
'\n .queuedeck-exp-image-placeholder {\n width: 240px;\n height: 0;\n padding-top: calc(240px * 9 / 16);\n margin: 0 1rem 0 0;\n }\n @media only screen and (max-width: 767px) {\n .queuedeck-exp-image-placeholder {\n width: 100%;\n height: 0;\n padding-top: calc(100% * 9 / 16);\n margin: 0 0 1rem 0;\n }\n }\n '
|
|
@@ -1102,7 +1102,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1102
1102
|
|
|
1103
1103
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1104
1104
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1105
|
-
return
|
|
1105
|
+
return React.createElement(
|
|
1106
1106
|
'div',
|
|
1107
1107
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1108
1108
|
rightItems[i].component
|
|
@@ -1110,15 +1110,15 @@ var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, right
|
|
|
1110
1110
|
};
|
|
1111
1111
|
|
|
1112
1112
|
var renderManualPagination = function renderManualPagination(currentPage) {
|
|
1113
|
-
return
|
|
1113
|
+
return React.createElement(
|
|
1114
1114
|
'div',
|
|
1115
1115
|
{ className: 'd-flex justify-content-between' },
|
|
1116
|
-
currentPage && currentPage > 1 &&
|
|
1116
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1117
1117
|
'a',
|
|
1118
1118
|
{ href: '?page=' + (currentPage - 1) },
|
|
1119
1119
|
'<< Previous'
|
|
1120
1120
|
),
|
|
1121
|
-
|
|
1121
|
+
React.createElement(
|
|
1122
1122
|
'a',
|
|
1123
1123
|
{ href: '?page=' + (currentPage + 1) },
|
|
1124
1124
|
'Next >>'
|
|
@@ -1249,40 +1249,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1249
1249
|
}
|
|
1250
1250
|
};
|
|
1251
1251
|
|
|
1252
|
-
return
|
|
1252
|
+
return React.createElement(
|
|
1253
1253
|
'div',
|
|
1254
1254
|
null,
|
|
1255
|
-
autoScroll ?
|
|
1256
|
-
|
|
1255
|
+
autoScroll ? React.createElement(
|
|
1256
|
+
React.Fragment,
|
|
1257
1257
|
null,
|
|
1258
|
-
|
|
1258
|
+
React.createElement(
|
|
1259
1259
|
InfiniteScroll,
|
|
1260
1260
|
{ dataLength: data && data.length, next: function next() {
|
|
1261
1261
|
return loadMore(values, setValues, per);
|
|
1262
1262
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1263
|
-
|
|
1263
|
+
React.createElement(
|
|
1264
1264
|
Container,
|
|
1265
1265
|
null,
|
|
1266
1266
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
|
|
1267
1267
|
)
|
|
1268
1268
|
),
|
|
1269
|
-
|
|
1269
|
+
React.createElement(
|
|
1270
1270
|
'noscript',
|
|
1271
1271
|
null,
|
|
1272
1272
|
renderManualPagination(currentPage)
|
|
1273
1273
|
)
|
|
1274
|
-
) :
|
|
1275
|
-
|
|
1274
|
+
) : React.createElement(
|
|
1275
|
+
React.Fragment,
|
|
1276
1276
|
null,
|
|
1277
|
-
|
|
1277
|
+
React.createElement(
|
|
1278
1278
|
Container,
|
|
1279
1279
|
null,
|
|
1280
1280
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo)
|
|
1281
1281
|
),
|
|
1282
|
-
|
|
1282
|
+
React.createElement(
|
|
1283
1283
|
'div',
|
|
1284
1284
|
{ style: { padding: '0px 10px' } },
|
|
1285
|
-
scrolling ?
|
|
1285
|
+
scrolling ? React.createElement(
|
|
1286
1286
|
'button',
|
|
1287
1287
|
{
|
|
1288
1288
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -1290,17 +1290,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1290
1290
|
loadMore(values, setValues, per);
|
|
1291
1291
|
} },
|
|
1292
1292
|
'Load More'
|
|
1293
|
-
) :
|
|
1293
|
+
) : React.createElement(
|
|
1294
1294
|
'p',
|
|
1295
1295
|
{ style: { textAlign: 'center' } },
|
|
1296
|
-
|
|
1296
|
+
React.createElement(
|
|
1297
1297
|
'b',
|
|
1298
1298
|
null,
|
|
1299
1299
|
'End of data'
|
|
1300
1300
|
)
|
|
1301
1301
|
)
|
|
1302
1302
|
),
|
|
1303
|
-
|
|
1303
|
+
React.createElement(
|
|
1304
1304
|
'noscript',
|
|
1305
1305
|
null,
|
|
1306
1306
|
renderManualPagination(currentPage)
|