@mjhls/mjh-framework 1.0.672 → 1.0.673-article-series
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-9735aff2.js → ADInfeed-bc591de7.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-6bd11848.js → ADlgInfeed-4b713637.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +9 -8
- package/dist/cjs/ArticleSeriesListing.js +38 -37
- package/dist/cjs/Auth.js +430 -593
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-8b494587.js} +25 -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 +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-fa2c6aad.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +44 -43
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +40 -39
- package/dist/cjs/HamMagazine.js +119 -114
- 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/IssueContentDeck.js +69 -64
- package/dist/cjs/IssueDeck.js +64 -59
- package/dist/cjs/IssueLanding.js +18 -17
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +103 -95
- 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 +1269 -71
- 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 +52 -48
- package/dist/cjs/QueueDeckExpanded.js +219 -219
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-962b1344.js → SocialSearchComponent-fde6c921.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +25 -24
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +52 -51
- package/dist/cjs/View.js +183 -179
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +53 -52
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +354 -5
- package/dist/cjs/getSerializers.js +9 -9
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-c190d704.js → index-06016cad.js} +361 -351
- package/dist/cjs/{index-2d0a4911.js → index-44481153.js} +9 -8
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- 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-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-fe549f9c.js → index.esm-dd489d02.js} +20 -20
- package/dist/cjs/index.js +31 -32
- package/dist/cjs/{inherits-513d81cd.js → inherits-87492b40.js} +4 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-9499b3ef.js} +48 -43
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.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 +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-9140aa7d.js → ADInfeed-d1777980.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-7656ecd1.js → ADlgInfeed-84282fe8.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/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleSeriesListing.js +32 -32
- package/dist/esm/Auth.js +411 -578
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.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 +13 -13
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +53 -53
- package/dist/esm/DeckQueue.js +46 -46
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-939e8fcf.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +37 -37
- package/dist/esm/Feature.js +16 -16
- package/dist/esm/ForbesHero.js +27 -27
- package/dist/esm/GridContent.js +110 -110
- package/dist/esm/GridHero.js +28 -28
- package/dist/esm/GroupDeck.js +35 -35
- 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/IssueContentDeck.js +40 -40
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +43 -43
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +70 -70
- 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 +1263 -67
- 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 +28 -28
- package/dist/esm/QueueDeckExpanded.js +199 -199
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +16 -16
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-75527dfe.js → SocialSearchComponent-a13fc98b.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +35 -35
- package/dist/esm/TemplateNormal.js +29 -29
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +12 -12
- package/dist/esm/VideoSeriesCard.js +16 -16
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +45 -45
- package/dist/esm/View.js +165 -165
- package/dist/esm/YahooHero.js +24 -24
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +354 -5
- package/dist/esm/getSerializers.js +9 -9
- package/dist/esm/{index-93ec3c59.js → index-1819118a.js} +3 -3
- package/dist/esm/{index-983cedab.js → index-45bca0c4.js} +303 -299
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-73e847d2.js → index.esm-902766e0.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +26 -27
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-edbd70ac.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-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -8,20 +8,20 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
8
8
|
import './_object-pie-71ac75a4.js';
|
|
9
9
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
10
10
|
import './web.dom.iterable-8956f9a5.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-807e927e.js';
|
|
18
18
|
import './debounce-1a993acf.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-edbd70ac.js';
|
|
25
25
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
26
26
|
import './stringify-008c8802.js';
|
|
27
27
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
@@ -29,11 +29,11 @@ import './asyncToGenerator-7c654f36.js';
|
|
|
29
29
|
import './_set-species-cede29f8.js';
|
|
30
30
|
import './beam-681a9749.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-
|
|
32
|
+
import { A as ADInfeed } from './ADInfeed-d1777980.js';
|
|
33
|
+
import { l as lodash } from './lodash-ec8c6b48.js';
|
|
34
|
+
import { A as ADlgInfeed } from './ADlgInfeed-84282fe8.js';
|
|
35
35
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
36
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
36
|
+
import { A as AuthorComponent } from './AuthorComponent-23afa074.js';
|
|
37
37
|
import { Container, Media } from 'react-bootstrap';
|
|
38
38
|
|
|
39
39
|
var urlFor = function urlFor(source, builder) {
|
|
@@ -244,7 +244,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
244
244
|
});
|
|
245
245
|
|
|
246
246
|
var featureCount = 0;
|
|
247
|
-
return
|
|
247
|
+
return React.createElement(
|
|
248
248
|
'div',
|
|
249
249
|
null,
|
|
250
250
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -255,7 +255,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
255
255
|
if (article._type === 'feature') {
|
|
256
256
|
featureCount++;
|
|
257
257
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
258
|
-
return
|
|
258
|
+
return React.createElement(
|
|
259
259
|
VisibilitySensor,
|
|
260
260
|
{
|
|
261
261
|
key: article._id ? article._id : index,
|
|
@@ -263,68 +263,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
263
263
|
onChange: function onChange(isVisible) {
|
|
264
264
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
265
265
|
} },
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
React.createElement(
|
|
267
|
+
React.Fragment,
|
|
268
268
|
null,
|
|
269
|
-
|
|
269
|
+
React.createElement(
|
|
270
270
|
Media,
|
|
271
271
|
{
|
|
272
272
|
key: article._id ? article._id : index,
|
|
273
273
|
className: 'feature-media',
|
|
274
274
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
275
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
275
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
276
276
|
'a',
|
|
277
277
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
278
|
-
|
|
278
|
+
React.createElement(
|
|
279
279
|
LazyLoad,
|
|
280
|
-
{ height: imageHeight, placeholder:
|
|
281
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
280
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
281
|
+
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 })
|
|
282
282
|
),
|
|
283
|
-
article.source &&
|
|
283
|
+
article.source && React.createElement(
|
|
284
284
|
'div',
|
|
285
285
|
{ className: 'content-category-label' },
|
|
286
|
-
|
|
286
|
+
React.createElement(
|
|
287
287
|
'div',
|
|
288
288
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
289
289
|
article.source
|
|
290
290
|
)
|
|
291
291
|
)
|
|
292
292
|
),
|
|
293
|
-
|
|
293
|
+
React.createElement(
|
|
294
294
|
Media.Body,
|
|
295
295
|
null,
|
|
296
|
-
|
|
296
|
+
React.createElement(
|
|
297
297
|
'a',
|
|
298
298
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
299
|
-
article.title &&
|
|
299
|
+
article.title && React.createElement(
|
|
300
300
|
'h4',
|
|
301
301
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
302
302
|
article.title
|
|
303
303
|
)
|
|
304
304
|
),
|
|
305
|
-
showPublished && article.published &&
|
|
305
|
+
showPublished && article.published && React.createElement(
|
|
306
306
|
'p',
|
|
307
307
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
308
308
|
moment(article.published).format('MMMM DD, YYYY')
|
|
309
309
|
),
|
|
310
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
310
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
311
311
|
LazyLoad,
|
|
312
312
|
{ height: 50 },
|
|
313
|
-
|
|
313
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
314
314
|
),
|
|
315
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
315
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
316
316
|
'div',
|
|
317
317
|
{ className: 'content-category-label' },
|
|
318
|
-
|
|
318
|
+
React.createElement(
|
|
319
319
|
'div',
|
|
320
320
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
321
321
|
article.source
|
|
322
322
|
)
|
|
323
323
|
),
|
|
324
|
-
|
|
324
|
+
React.createElement(
|
|
325
325
|
'div',
|
|
326
326
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
327
|
-
showCategory && article.contentCategory &&
|
|
327
|
+
showCategory && article.contentCategory && React.createElement(
|
|
328
328
|
'p',
|
|
329
329
|
{
|
|
330
330
|
className: 'article-category',
|
|
@@ -338,7 +338,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
338
338
|
} },
|
|
339
339
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
340
340
|
),
|
|
341
|
-
article.issueSection && article.issueSection.name &&
|
|
341
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
342
342
|
'p',
|
|
343
343
|
{
|
|
344
344
|
className: 'issueSection',
|
|
@@ -354,21 +354,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
354
354
|
article.issueSection.name
|
|
355
355
|
)
|
|
356
356
|
),
|
|
357
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
357
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ className: 'pubInfo' },
|
|
360
|
-
article.volume &&
|
|
360
|
+
article.volume && React.createElement(
|
|
361
361
|
'p',
|
|
362
362
|
{ className: 'qdeVolume' },
|
|
363
363
|
article.volume
|
|
364
364
|
),
|
|
365
|
-
article.issue &&
|
|
365
|
+
article.issue && React.createElement(
|
|
366
366
|
'p',
|
|
367
367
|
{ className: 'qdeIssue' },
|
|
368
368
|
article.issue
|
|
369
369
|
)
|
|
370
370
|
),
|
|
371
|
-
article.summary &&
|
|
371
|
+
article.summary && React.createElement(
|
|
372
372
|
'p',
|
|
373
373
|
{ className: 'pt-2 card-text' },
|
|
374
374
|
clean_html_1(article.summary)
|
|
@@ -378,7 +378,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
378
378
|
)
|
|
379
379
|
);
|
|
380
380
|
} else {
|
|
381
|
-
return
|
|
381
|
+
return React.createElement(
|
|
382
382
|
VisibilitySensor,
|
|
383
383
|
{
|
|
384
384
|
key: article._id ? article._id : index,
|
|
@@ -386,68 +386,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
386
386
|
onChange: function onChange(isVisible) {
|
|
387
387
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
388
388
|
} },
|
|
389
|
-
|
|
390
|
-
|
|
389
|
+
React.createElement(
|
|
390
|
+
React.Fragment,
|
|
391
391
|
null,
|
|
392
|
-
|
|
392
|
+
React.createElement(
|
|
393
393
|
Media,
|
|
394
394
|
{
|
|
395
395
|
key: article._id ? article._id : index,
|
|
396
396
|
className: 'feature-media',
|
|
397
397
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
398
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
398
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
399
399
|
'a',
|
|
400
400
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
401
|
-
|
|
401
|
+
React.createElement(
|
|
402
402
|
LazyLoad,
|
|
403
|
-
{ height: imageHeight, placeholder:
|
|
404
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
403
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
404
|
+
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 })
|
|
405
405
|
),
|
|
406
|
-
article.source &&
|
|
406
|
+
article.source && React.createElement(
|
|
407
407
|
'div',
|
|
408
408
|
{ className: 'content-category-label' },
|
|
409
|
-
|
|
409
|
+
React.createElement(
|
|
410
410
|
'div',
|
|
411
411
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
412
412
|
article.source
|
|
413
413
|
)
|
|
414
414
|
)
|
|
415
415
|
),
|
|
416
|
-
|
|
416
|
+
React.createElement(
|
|
417
417
|
Media.Body,
|
|
418
418
|
null,
|
|
419
|
-
|
|
419
|
+
React.createElement(
|
|
420
420
|
'a',
|
|
421
421
|
{ href: article.url.current },
|
|
422
|
-
article.title &&
|
|
422
|
+
article.title && React.createElement(
|
|
423
423
|
'h4',
|
|
424
424
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
425
425
|
article.title
|
|
426
426
|
)
|
|
427
427
|
),
|
|
428
|
-
showPublished && article.published &&
|
|
428
|
+
showPublished && article.published && React.createElement(
|
|
429
429
|
'p',
|
|
430
430
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
431
431
|
moment(article.published).format('MMMM DD, YYYY')
|
|
432
432
|
),
|
|
433
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
433
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
434
434
|
LazyLoad,
|
|
435
435
|
{ height: 50 },
|
|
436
|
-
|
|
436
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
437
437
|
),
|
|
438
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
438
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
439
439
|
'div',
|
|
440
440
|
{ className: 'content-category-label' },
|
|
441
|
-
|
|
441
|
+
React.createElement(
|
|
442
442
|
'div',
|
|
443
443
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
444
444
|
article.source
|
|
445
445
|
)
|
|
446
446
|
),
|
|
447
|
-
|
|
447
|
+
React.createElement(
|
|
448
448
|
'div',
|
|
449
449
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
450
|
-
showCategory && article.contentCategory &&
|
|
450
|
+
showCategory && article.contentCategory && React.createElement(
|
|
451
451
|
'p',
|
|
452
452
|
{
|
|
453
453
|
className: 'article-category',
|
|
@@ -461,7 +461,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
461
461
|
} },
|
|
462
462
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
463
463
|
),
|
|
464
|
-
article.issueSection && article.issueSection.name &&
|
|
464
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
465
465
|
'p',
|
|
466
466
|
{
|
|
467
467
|
className: 'issueSection',
|
|
@@ -477,21 +477,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
477
477
|
article.issueSection.name
|
|
478
478
|
)
|
|
479
479
|
),
|
|
480
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
480
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
481
481
|
'div',
|
|
482
482
|
{ className: 'pubInfo' },
|
|
483
|
-
article.volume &&
|
|
483
|
+
article.volume && React.createElement(
|
|
484
484
|
'p',
|
|
485
485
|
{ className: 'qdeVolume' },
|
|
486
486
|
article.volume
|
|
487
487
|
),
|
|
488
|
-
article.issue &&
|
|
488
|
+
article.issue && React.createElement(
|
|
489
489
|
'p',
|
|
490
490
|
{ className: 'qdeIssue' },
|
|
491
491
|
article.issue
|
|
492
492
|
)
|
|
493
493
|
),
|
|
494
|
-
article.summary &&
|
|
494
|
+
article.summary && React.createElement(
|
|
495
495
|
'p',
|
|
496
496
|
{ className: 'pt-2 card-text' },
|
|
497
497
|
clean_html_1(article.summary)
|
|
@@ -502,12 +502,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
502
502
|
);
|
|
503
503
|
}
|
|
504
504
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
505
|
-
return
|
|
505
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
506
506
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
507
|
-
return
|
|
507
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
508
508
|
}
|
|
509
509
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
510
|
-
return
|
|
510
|
+
return React.createElement(
|
|
511
511
|
VisibilitySensor,
|
|
512
512
|
{
|
|
513
513
|
key: article._id ? article._id : index,
|
|
@@ -515,71 +515,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
515
515
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
516
516
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
517
517
|
} },
|
|
518
|
-
|
|
519
|
-
|
|
518
|
+
React.createElement(
|
|
519
|
+
React.Fragment,
|
|
520
520
|
null,
|
|
521
|
-
|
|
521
|
+
React.createElement(
|
|
522
522
|
Media,
|
|
523
523
|
{
|
|
524
524
|
key: article._id ? article._id : index,
|
|
525
525
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
526
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
526
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
527
527
|
'a',
|
|
528
528
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
529
|
-
|
|
529
|
+
React.createElement(
|
|
530
530
|
LazyLoad,
|
|
531
|
-
{ height: imageHeight, placeholder:
|
|
532
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
531
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
532
|
+
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 })
|
|
533
533
|
),
|
|
534
|
-
article.source &&
|
|
534
|
+
article.source && React.createElement(
|
|
535
535
|
'div',
|
|
536
536
|
{ className: 'content-category-label' },
|
|
537
|
-
|
|
537
|
+
React.createElement(
|
|
538
538
|
'div',
|
|
539
539
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
540
540
|
article.source
|
|
541
541
|
)
|
|
542
542
|
)
|
|
543
543
|
),
|
|
544
|
-
|
|
544
|
+
React.createElement(
|
|
545
545
|
Media.Body,
|
|
546
546
|
null,
|
|
547
|
-
|
|
547
|
+
React.createElement(
|
|
548
548
|
'a',
|
|
549
549
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
550
|
-
article.title &&
|
|
550
|
+
article.title && React.createElement(
|
|
551
551
|
'h4',
|
|
552
552
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
553
553
|
article.title
|
|
554
554
|
)
|
|
555
555
|
),
|
|
556
|
-
showPublished && article.published &&
|
|
556
|
+
showPublished && article.published && React.createElement(
|
|
557
557
|
'p',
|
|
558
558
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
559
559
|
moment(article.published).format('MMMM DD, YYYY')
|
|
560
560
|
),
|
|
561
|
-
|
|
561
|
+
React.createElement(
|
|
562
562
|
'div',
|
|
563
563
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
564
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
564
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
565
565
|
LazyLoad,
|
|
566
566
|
{ height: 50 },
|
|
567
|
-
|
|
567
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
568
568
|
)
|
|
569
569
|
),
|
|
570
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
570
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
571
571
|
'div',
|
|
572
572
|
{ className: 'content-category-label' },
|
|
573
|
-
|
|
573
|
+
React.createElement(
|
|
574
574
|
'div',
|
|
575
575
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
576
576
|
article.source
|
|
577
577
|
)
|
|
578
578
|
),
|
|
579
|
-
|
|
579
|
+
React.createElement(
|
|
580
580
|
'div',
|
|
581
581
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
582
|
-
showCategory && article.contentCategory &&
|
|
582
|
+
showCategory && article.contentCategory && React.createElement(
|
|
583
583
|
'p',
|
|
584
584
|
{
|
|
585
585
|
className: 'article-category',
|
|
@@ -593,7 +593,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
593
593
|
} },
|
|
594
594
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
595
595
|
),
|
|
596
|
-
article.issueSection && article.issueSection.name &&
|
|
596
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
597
597
|
'p',
|
|
598
598
|
{
|
|
599
599
|
className: 'issueSection',
|
|
@@ -609,38 +609,38 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
609
609
|
article.issueSection.name
|
|
610
610
|
)
|
|
611
611
|
),
|
|
612
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
612
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
613
613
|
'div',
|
|
614
614
|
{ className: 'pubInfo' },
|
|
615
|
-
article.volume &&
|
|
615
|
+
article.volume && React.createElement(
|
|
616
616
|
'p',
|
|
617
617
|
{ className: 'qdeVolume' },
|
|
618
618
|
article.volume
|
|
619
619
|
),
|
|
620
|
-
article.issue &&
|
|
620
|
+
article.issue && React.createElement(
|
|
621
621
|
'p',
|
|
622
622
|
{ className: 'qdeIssue' },
|
|
623
623
|
article.issue
|
|
624
624
|
)
|
|
625
625
|
),
|
|
626
|
-
article.summary &&
|
|
626
|
+
article.summary && React.createElement(
|
|
627
627
|
'p',
|
|
628
628
|
{ className: 'pt-2 card-text' },
|
|
629
629
|
clean_html_1(article.summary)
|
|
630
630
|
)
|
|
631
631
|
)
|
|
632
632
|
),
|
|
633
|
-
|
|
633
|
+
React.createElement(
|
|
634
634
|
'div',
|
|
635
635
|
null,
|
|
636
|
-
|
|
636
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
637
637
|
)
|
|
638
638
|
)
|
|
639
639
|
);
|
|
640
640
|
} else return null;
|
|
641
641
|
}) :
|
|
642
642
|
// For Javascript Disabled Cases
|
|
643
|
-
|
|
643
|
+
React.createElement(
|
|
644
644
|
'noscript',
|
|
645
645
|
null,
|
|
646
646
|
data.map(function (article, index) {
|
|
@@ -650,7 +650,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
650
650
|
if (article._type === 'feature') {
|
|
651
651
|
featureCount++;
|
|
652
652
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
653
|
-
return
|
|
653
|
+
return React.createElement(
|
|
654
654
|
VisibilitySensor,
|
|
655
655
|
{
|
|
656
656
|
key: article._id ? article._id : index,
|
|
@@ -658,68 +658,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
658
658
|
onChange: function onChange(isVisible) {
|
|
659
659
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
660
660
|
} },
|
|
661
|
-
|
|
662
|
-
|
|
661
|
+
React.createElement(
|
|
662
|
+
React.Fragment,
|
|
663
663
|
null,
|
|
664
|
-
|
|
664
|
+
React.createElement(
|
|
665
665
|
Media,
|
|
666
666
|
{
|
|
667
667
|
key: article._id ? article._id : index,
|
|
668
668
|
className: 'feature-media',
|
|
669
669
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
670
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
670
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
671
671
|
'a',
|
|
672
672
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
673
|
-
|
|
673
|
+
React.createElement(
|
|
674
674
|
LazyLoad,
|
|
675
|
-
{ height: imageHeight, placeholder:
|
|
676
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
675
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
676
|
+
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 })
|
|
677
677
|
),
|
|
678
|
-
article.source &&
|
|
678
|
+
article.source && React.createElement(
|
|
679
679
|
'div',
|
|
680
680
|
{ className: 'content-category-label' },
|
|
681
|
-
|
|
681
|
+
React.createElement(
|
|
682
682
|
'div',
|
|
683
683
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
684
684
|
article.source
|
|
685
685
|
)
|
|
686
686
|
)
|
|
687
687
|
),
|
|
688
|
-
|
|
688
|
+
React.createElement(
|
|
689
689
|
Media.Body,
|
|
690
690
|
null,
|
|
691
|
-
|
|
691
|
+
React.createElement(
|
|
692
692
|
'a',
|
|
693
693
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
694
|
-
article.title &&
|
|
694
|
+
article.title && React.createElement(
|
|
695
695
|
'h4',
|
|
696
696
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
697
697
|
article.title
|
|
698
698
|
)
|
|
699
699
|
),
|
|
700
|
-
showPublished && article.published &&
|
|
700
|
+
showPublished && article.published && React.createElement(
|
|
701
701
|
'p',
|
|
702
702
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
703
703
|
moment(article.published).format('MMMM DD, YYYY')
|
|
704
704
|
),
|
|
705
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
705
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
706
706
|
LazyLoad,
|
|
707
707
|
{ height: 50 },
|
|
708
|
-
|
|
708
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
709
709
|
),
|
|
710
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
710
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
711
711
|
'div',
|
|
712
712
|
{ className: 'content-category-label' },
|
|
713
|
-
|
|
713
|
+
React.createElement(
|
|
714
714
|
'div',
|
|
715
715
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
716
716
|
article.source
|
|
717
717
|
)
|
|
718
718
|
),
|
|
719
|
-
|
|
719
|
+
React.createElement(
|
|
720
720
|
'div',
|
|
721
721
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
722
|
-
showCategory && article.contentCategory &&
|
|
722
|
+
showCategory && article.contentCategory && React.createElement(
|
|
723
723
|
'p',
|
|
724
724
|
{
|
|
725
725
|
className: 'article-category',
|
|
@@ -733,7 +733,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
733
733
|
} },
|
|
734
734
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
735
735
|
),
|
|
736
|
-
article.issueSection && article.issueSection.name &&
|
|
736
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
737
737
|
'p',
|
|
738
738
|
{
|
|
739
739
|
className: 'issueSection',
|
|
@@ -749,21 +749,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
749
749
|
article.issueSection.name
|
|
750
750
|
)
|
|
751
751
|
),
|
|
752
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
752
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
753
753
|
'div',
|
|
754
754
|
{ className: 'pubInfo' },
|
|
755
|
-
article.volume &&
|
|
755
|
+
article.volume && React.createElement(
|
|
756
756
|
'p',
|
|
757
757
|
{ className: 'qdeVolume' },
|
|
758
758
|
article.volume
|
|
759
759
|
),
|
|
760
|
-
article.issue &&
|
|
760
|
+
article.issue && React.createElement(
|
|
761
761
|
'p',
|
|
762
762
|
{ className: 'qdeIssue' },
|
|
763
763
|
article.issue
|
|
764
764
|
)
|
|
765
765
|
),
|
|
766
|
-
article.summary &&
|
|
766
|
+
article.summary && React.createElement(
|
|
767
767
|
'p',
|
|
768
768
|
{ className: 'pt-2 card-text' },
|
|
769
769
|
clean_html_1(article.summary)
|
|
@@ -773,7 +773,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
773
773
|
)
|
|
774
774
|
);
|
|
775
775
|
} else {
|
|
776
|
-
return
|
|
776
|
+
return React.createElement(
|
|
777
777
|
VisibilitySensor,
|
|
778
778
|
{
|
|
779
779
|
key: article._id ? article._id : index,
|
|
@@ -781,68 +781,68 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
781
781
|
onChange: function onChange(isVisible) {
|
|
782
782
|
isVisible && changePageNumber(1, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, index);
|
|
783
783
|
} },
|
|
784
|
-
|
|
785
|
-
|
|
784
|
+
React.createElement(
|
|
785
|
+
React.Fragment,
|
|
786
786
|
null,
|
|
787
|
-
|
|
787
|
+
React.createElement(
|
|
788
788
|
Media,
|
|
789
789
|
{
|
|
790
790
|
key: article._id ? article._id : index,
|
|
791
791
|
className: 'feature-media',
|
|
792
792
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
793
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
793
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
794
794
|
'a',
|
|
795
795
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
796
|
-
|
|
796
|
+
React.createElement(
|
|
797
797
|
LazyLoad,
|
|
798
|
-
{ height: imageHeight, placeholder:
|
|
799
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
798
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
799
|
+
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 })
|
|
800
800
|
),
|
|
801
|
-
article.source &&
|
|
801
|
+
article.source && React.createElement(
|
|
802
802
|
'div',
|
|
803
803
|
{ className: 'content-category-label' },
|
|
804
|
-
|
|
804
|
+
React.createElement(
|
|
805
805
|
'div',
|
|
806
806
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
807
807
|
article.source
|
|
808
808
|
)
|
|
809
809
|
)
|
|
810
810
|
),
|
|
811
|
-
|
|
811
|
+
React.createElement(
|
|
812
812
|
Media.Body,
|
|
813
813
|
null,
|
|
814
|
-
|
|
814
|
+
React.createElement(
|
|
815
815
|
'a',
|
|
816
816
|
{ href: article.url.current },
|
|
817
|
-
article.title &&
|
|
817
|
+
article.title && React.createElement(
|
|
818
818
|
'h4',
|
|
819
819
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
820
820
|
article.title
|
|
821
821
|
)
|
|
822
822
|
),
|
|
823
|
-
showPublished && article.published &&
|
|
823
|
+
showPublished && article.published && React.createElement(
|
|
824
824
|
'p',
|
|
825
825
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
826
826
|
moment(article.published).format('MMMM DD, YYYY')
|
|
827
827
|
),
|
|
828
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
828
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
829
829
|
LazyLoad,
|
|
830
830
|
{ height: 50 },
|
|
831
|
-
|
|
831
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
832
832
|
),
|
|
833
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
833
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
834
834
|
'div',
|
|
835
835
|
{ className: 'content-category-label' },
|
|
836
|
-
|
|
836
|
+
React.createElement(
|
|
837
837
|
'div',
|
|
838
838
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
839
839
|
article.source
|
|
840
840
|
)
|
|
841
841
|
),
|
|
842
|
-
|
|
842
|
+
React.createElement(
|
|
843
843
|
'div',
|
|
844
844
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
845
|
-
showCategory && article.contentCategory &&
|
|
845
|
+
showCategory && article.contentCategory && React.createElement(
|
|
846
846
|
'p',
|
|
847
847
|
{
|
|
848
848
|
className: 'article-category',
|
|
@@ -856,7 +856,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
856
856
|
} },
|
|
857
857
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
858
858
|
),
|
|
859
|
-
article.issueSection && article.issueSection.name &&
|
|
859
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
860
860
|
'p',
|
|
861
861
|
{
|
|
862
862
|
className: 'issueSection',
|
|
@@ -872,21 +872,21 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
872
872
|
article.issueSection.name
|
|
873
873
|
)
|
|
874
874
|
),
|
|
875
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
875
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
876
876
|
'div',
|
|
877
877
|
{ className: 'pubInfo' },
|
|
878
|
-
article.volume &&
|
|
878
|
+
article.volume && React.createElement(
|
|
879
879
|
'p',
|
|
880
880
|
{ className: 'qdeVolume' },
|
|
881
881
|
article.volume
|
|
882
882
|
),
|
|
883
|
-
article.issue &&
|
|
883
|
+
article.issue && React.createElement(
|
|
884
884
|
'p',
|
|
885
885
|
{ className: 'qdeIssue' },
|
|
886
886
|
article.issue
|
|
887
887
|
)
|
|
888
888
|
),
|
|
889
|
-
article.summary &&
|
|
889
|
+
article.summary && React.createElement(
|
|
890
890
|
'p',
|
|
891
891
|
{ className: 'pt-2 card-text' },
|
|
892
892
|
clean_html_1(article.summary)
|
|
@@ -897,12 +897,12 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
897
897
|
);
|
|
898
898
|
}
|
|
899
899
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
900
|
-
return
|
|
900
|
+
return React.createElement(ADlgInfeed, _extends({ index: index }, article));
|
|
901
901
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
902
|
-
return
|
|
902
|
+
return React.createElement(ADInfeed, { index: index, infeedAd: article });
|
|
903
903
|
}
|
|
904
904
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
905
|
-
return
|
|
905
|
+
return React.createElement(
|
|
906
906
|
VisibilitySensor,
|
|
907
907
|
{
|
|
908
908
|
key: article._id ? article._id : index,
|
|
@@ -910,71 +910,71 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
910
910
|
// Passing 'articleCount' instead of index because index will be including the indexes of ads whereas articleCount will be having index of artilce only.
|
|
911
911
|
isVisible && changePageNumber(pageNumber, seoPaginate, pageview, router, currentPage, setCurrentPage, itemsPerPage, article.articleCount ? article.articleCount : index);
|
|
912
912
|
} },
|
|
913
|
-
|
|
914
|
-
|
|
913
|
+
React.createElement(
|
|
914
|
+
React.Fragment,
|
|
915
915
|
null,
|
|
916
|
-
|
|
916
|
+
React.createElement(
|
|
917
917
|
Media,
|
|
918
918
|
{
|
|
919
919
|
key: article._id ? article._id : index,
|
|
920
920
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
921
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) &&
|
|
921
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React.createElement(
|
|
922
922
|
'a',
|
|
923
923
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
924
|
-
|
|
924
|
+
React.createElement(
|
|
925
925
|
LazyLoad,
|
|
926
|
-
{ height: imageHeight, placeholder:
|
|
927
|
-
article.thumbnail && article.thumbnail.asset ?
|
|
926
|
+
{ height: imageHeight, placeholder: React.createElement(ImagePlaceholder, null) },
|
|
927
|
+
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 })
|
|
928
928
|
),
|
|
929
|
-
article.source &&
|
|
929
|
+
article.source && React.createElement(
|
|
930
930
|
'div',
|
|
931
931
|
{ className: 'content-category-label' },
|
|
932
|
-
|
|
932
|
+
React.createElement(
|
|
933
933
|
'div',
|
|
934
934
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
935
935
|
article.source
|
|
936
936
|
)
|
|
937
937
|
)
|
|
938
938
|
),
|
|
939
|
-
|
|
939
|
+
React.createElement(
|
|
940
940
|
Media.Body,
|
|
941
941
|
null,
|
|
942
|
-
|
|
942
|
+
React.createElement(
|
|
943
943
|
'a',
|
|
944
944
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
945
|
-
article.title &&
|
|
945
|
+
article.title && React.createElement(
|
|
946
946
|
'h4',
|
|
947
947
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
948
948
|
article.title
|
|
949
949
|
)
|
|
950
950
|
),
|
|
951
|
-
showPublished && article.published &&
|
|
951
|
+
showPublished && article.published && React.createElement(
|
|
952
952
|
'p',
|
|
953
953
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
954
954
|
moment(article.published).format('MMMM DD, YYYY')
|
|
955
955
|
),
|
|
956
|
-
|
|
956
|
+
React.createElement(
|
|
957
957
|
'div',
|
|
958
958
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
959
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 &&
|
|
959
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React.createElement(
|
|
960
960
|
LazyLoad,
|
|
961
961
|
{ height: 50 },
|
|
962
|
-
|
|
962
|
+
React.createElement(AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
963
963
|
)
|
|
964
964
|
),
|
|
965
|
-
!article.thumbnail && !defaultImage && article.source &&
|
|
965
|
+
!article.thumbnail && !defaultImage && article.source && React.createElement(
|
|
966
966
|
'div',
|
|
967
967
|
{ className: 'content-category-label' },
|
|
968
|
-
|
|
968
|
+
React.createElement(
|
|
969
969
|
'div',
|
|
970
970
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
971
971
|
article.source
|
|
972
972
|
)
|
|
973
973
|
),
|
|
974
|
-
|
|
974
|
+
React.createElement(
|
|
975
975
|
'div',
|
|
976
976
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
977
|
-
showCategory && article.contentCategory &&
|
|
977
|
+
showCategory && article.contentCategory && React.createElement(
|
|
978
978
|
'p',
|
|
979
979
|
{
|
|
980
980
|
className: 'article-category',
|
|
@@ -988,7 +988,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
988
988
|
} },
|
|
989
989
|
getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
990
990
|
),
|
|
991
|
-
article.issueSection && article.issueSection.name &&
|
|
991
|
+
article.issueSection && article.issueSection.name && React.createElement(
|
|
992
992
|
'p',
|
|
993
993
|
{
|
|
994
994
|
className: 'issueSection',
|
|
@@ -1004,50 +1004,50 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1004
1004
|
article.issueSection.name
|
|
1005
1005
|
)
|
|
1006
1006
|
),
|
|
1007
|
-
showPubInfo && (article.issue || article.volume) &&
|
|
1007
|
+
showPubInfo && (article.issue || article.volume) && React.createElement(
|
|
1008
1008
|
'div',
|
|
1009
1009
|
{ className: 'pubInfo' },
|
|
1010
|
-
article.volume &&
|
|
1010
|
+
article.volume && React.createElement(
|
|
1011
1011
|
'p',
|
|
1012
1012
|
{ className: 'qdeVolume' },
|
|
1013
1013
|
article.volume
|
|
1014
1014
|
),
|
|
1015
|
-
article.issue &&
|
|
1015
|
+
article.issue && React.createElement(
|
|
1016
1016
|
'p',
|
|
1017
1017
|
{ className: 'qdeIssue' },
|
|
1018
1018
|
article.issue
|
|
1019
1019
|
)
|
|
1020
1020
|
),
|
|
1021
|
-
article.summary &&
|
|
1021
|
+
article.summary && React.createElement(
|
|
1022
1022
|
'p',
|
|
1023
1023
|
{ className: 'pt-2 card-text' },
|
|
1024
1024
|
clean_html_1(article.summary)
|
|
1025
1025
|
)
|
|
1026
1026
|
)
|
|
1027
1027
|
),
|
|
1028
|
-
|
|
1028
|
+
React.createElement(
|
|
1029
1029
|
'div',
|
|
1030
1030
|
null,
|
|
1031
|
-
|
|
1031
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1032
1032
|
)
|
|
1033
1033
|
)
|
|
1034
1034
|
);
|
|
1035
1035
|
} else return null;
|
|
1036
1036
|
})
|
|
1037
|
-
) :
|
|
1037
|
+
) : React.createElement(
|
|
1038
1038
|
'div',
|
|
1039
1039
|
null,
|
|
1040
|
-
|
|
1040
|
+
React.createElement(
|
|
1041
1041
|
'h5',
|
|
1042
1042
|
null,
|
|
1043
|
-
|
|
1043
|
+
React.createElement(
|
|
1044
1044
|
'em',
|
|
1045
1045
|
null,
|
|
1046
1046
|
'New content coming soon, please check back later.'
|
|
1047
1047
|
)
|
|
1048
1048
|
)
|
|
1049
1049
|
),
|
|
1050
|
-
|
|
1050
|
+
React.createElement(
|
|
1051
1051
|
'style',
|
|
1052
1052
|
{ jsx: 'true' },
|
|
1053
1053
|
'\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: fit-content;\n width: -moz-fit-content;\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 .sanityDisplayLabel {\n max-width: 100%;\n }\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 '
|
|
@@ -1056,11 +1056,11 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
|
|
|
1056
1056
|
};
|
|
1057
1057
|
|
|
1058
1058
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1059
|
-
return
|
|
1060
|
-
|
|
1059
|
+
return React.createElement(
|
|
1060
|
+
React.Fragment,
|
|
1061
1061
|
null,
|
|
1062
|
-
|
|
1063
|
-
|
|
1062
|
+
React.createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1063
|
+
React.createElement(
|
|
1064
1064
|
'style',
|
|
1065
1065
|
{ jsx: 'true' },
|
|
1066
1066
|
'\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 '
|
|
@@ -1070,7 +1070,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1070
1070
|
|
|
1071
1071
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1072
1072
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1073
|
-
return
|
|
1073
|
+
return React.createElement(
|
|
1074
1074
|
'div',
|
|
1075
1075
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1076
1076
|
rightItems[i].component
|
|
@@ -1173,15 +1173,15 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1173
1173
|
return null;
|
|
1174
1174
|
}
|
|
1175
1175
|
|
|
1176
|
-
return
|
|
1176
|
+
return React.createElement(
|
|
1177
1177
|
'div',
|
|
1178
1178
|
{ className: 'd-flex justify-content-between' },
|
|
1179
|
-
currentPage && currentPage > 1 &&
|
|
1179
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
1180
1180
|
'a',
|
|
1181
1181
|
{ href: '?page=' + (currentPage - 1) },
|
|
1182
1182
|
'<< Previous'
|
|
1183
1183
|
),
|
|
1184
|
-
|
|
1184
|
+
React.createElement(
|
|
1185
1185
|
'a',
|
|
1186
1186
|
{ href: '?page=' + (currentPage + 1) },
|
|
1187
1187
|
'Next >>'
|
|
@@ -1228,40 +1228,40 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1228
1228
|
}
|
|
1229
1229
|
};
|
|
1230
1230
|
|
|
1231
|
-
return
|
|
1231
|
+
return React.createElement(
|
|
1232
1232
|
'div',
|
|
1233
1233
|
null,
|
|
1234
|
-
autoScroll ?
|
|
1235
|
-
|
|
1234
|
+
autoScroll ? React.createElement(
|
|
1235
|
+
React.Fragment,
|
|
1236
1236
|
null,
|
|
1237
|
-
|
|
1237
|
+
React.createElement(
|
|
1238
1238
|
InfiniteScroll,
|
|
1239
1239
|
{ dataLength: data && data.length, next: function next() {
|
|
1240
1240
|
return loadMore(values, setValues, per);
|
|
1241
1241
|
}, hasMore: scrolling, scrollThreshold: 0.9 },
|
|
1242
|
-
|
|
1242
|
+
React.createElement(
|
|
1243
1243
|
Container,
|
|
1244
1244
|
null,
|
|
1245
1245
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, imageHeight, imageWidth, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping)
|
|
1246
1246
|
)
|
|
1247
1247
|
),
|
|
1248
|
-
|
|
1248
|
+
React.createElement(
|
|
1249
1249
|
'noscript',
|
|
1250
1250
|
null,
|
|
1251
1251
|
renderManualPagination(currentPage)
|
|
1252
1252
|
)
|
|
1253
|
-
) :
|
|
1254
|
-
|
|
1253
|
+
) : React.createElement(
|
|
1254
|
+
React.Fragment,
|
|
1255
1255
|
null,
|
|
1256
|
-
|
|
1256
|
+
React.createElement(
|
|
1257
1257
|
Container,
|
|
1258
1258
|
null,
|
|
1259
1259
|
cardLoader(data, builder, mapping, values, seoPaginate, pageview, router, currentPage, setCurrentPage, showPublished, defaultImage, showAuthor, showCategory, rightItems, brandInsightAd, showBI, itemsPerPage, heroContent, lgInfeedAd, showPubInfo, contentCategoryMapping)
|
|
1260
1260
|
),
|
|
1261
|
-
|
|
1261
|
+
React.createElement(
|
|
1262
1262
|
'div',
|
|
1263
1263
|
{ style: { padding: '0px 10px' } },
|
|
1264
|
-
scrolling ?
|
|
1264
|
+
scrolling ? React.createElement(
|
|
1265
1265
|
'button',
|
|
1266
1266
|
{
|
|
1267
1267
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -1269,17 +1269,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1269
1269
|
loadMore(values, setValues, per);
|
|
1270
1270
|
} },
|
|
1271
1271
|
'Load More'
|
|
1272
|
-
) :
|
|
1272
|
+
) : React.createElement(
|
|
1273
1273
|
'p',
|
|
1274
1274
|
{ style: { textAlign: 'center' } },
|
|
1275
|
-
|
|
1275
|
+
React.createElement(
|
|
1276
1276
|
'b',
|
|
1277
1277
|
null,
|
|
1278
1278
|
'End of data'
|
|
1279
1279
|
)
|
|
1280
1280
|
)
|
|
1281
1281
|
),
|
|
1282
|
-
|
|
1282
|
+
React.createElement(
|
|
1283
1283
|
'noscript',
|
|
1284
1284
|
null,
|
|
1285
1285
|
renderManualPagination(currentPage)
|