@mjhls/mjh-framework 1.0.1069-test → 1.0.1069
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 +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-93cad44d.js → ADInfeed-3a68b356.js} +6 -6
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-80062861.js → ADlgInfeed-d88a0250.js} +4 -4
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +573 -575
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/AuthWrapper.js +24 -24
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CEDeckSupabase.js +67 -67
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +6 -6
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +26 -26
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +58 -58
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
- package/dist/cjs/EventsDeck.js +89 -89
- package/dist/cjs/ExternalResources.js +33 -33
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +112 -112
- package/dist/cjs/Header.js +25 -25
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-294d3fc0.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +20 -20
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +39 -39
- package/dist/cjs/MasterDeckPaginated.js +29 -29
- package/dist/cjs/{MediaSeriesCard-80b98c3d.js → MediaSeriesCard-b842b86f.js} +16 -16
- package/dist/cjs/MediaSeriesLanding.js +36 -36
- package/dist/cjs/MediaSeriesLandingPaginated.js +35 -35
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-b7b16d48.js → NavFooter-fa5fae05.js} +11 -11
- package/dist/cjs/NavMagazine.js +106 -106
- package/dist/cjs/NavNative.js +97 -97
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-842c556f.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +49 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +48 -48
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PodcastsLanding.js +22 -22
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-03de3225.js} +29 -29
- package/dist/cjs/PublicationLanding.js +75 -75
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-a2621860.js → SeriesSlider-621d0cbb.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-f874175b.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -11
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/{Tooltip-4cb8849a.js → Tooltip-f075b7ef.js} +440 -440
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -28
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +234 -234
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-f015597d.js → index-6900cba9.js} +490 -490
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-2ea9e9ff.js → index.esm-f51609ab.js} +14 -14
- package/dist/cjs/index.js +99 -99
- package/dist/cjs/{main-47be4f9f.js → main-1ec1de84.js} +13 -13
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AlgoliaSearch.js +0 -2
- package/dist/esm/HamMagazine.js +1 -1
- package/package.json +1 -1
|
@@ -7,19 +7,19 @@ var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
|
|
|
7
7
|
var React = require('react');
|
|
8
8
|
var reactBootstrap = require('react-bootstrap');
|
|
9
9
|
var moment = require('./moment-aca40de1.js');
|
|
10
|
-
var index = require('./index-
|
|
10
|
+
var index = require('./index-fc2f1ca2.js');
|
|
11
11
|
var Router = require('next/router');
|
|
12
|
-
var index$1 = require('./index-
|
|
12
|
+
var index$1 = require('./index-eadd5035.js');
|
|
13
13
|
var lodash = require('./lodash-f0783643.js');
|
|
14
|
-
var main = require('./main-
|
|
14
|
+
var main = require('./main-1ec1de84.js');
|
|
15
15
|
var entities = require('./entities-df1aed86.js');
|
|
16
|
-
var ADInfeed = require('./ADInfeed-
|
|
17
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
18
|
-
var ADlgInfeed = require('./ADlgInfeed-
|
|
16
|
+
var ADInfeed = require('./ADInfeed-3a68b356.js');
|
|
17
|
+
var AuthorComponent = require('./AuthorComponent-39b37d84.js');
|
|
18
|
+
var ADlgInfeed = require('./ADlgInfeed-d88a0250.js');
|
|
19
19
|
var getContentCategory = require('./getContentCategory-f38a4c00.js');
|
|
20
20
|
var timeDifferenceCalc = require('./timeDifferenceCalc.js');
|
|
21
21
|
var urlFor = require('./urlFor.js');
|
|
22
|
-
var Pagination = require('./Pagination-
|
|
22
|
+
var Pagination = require('./Pagination-2a3d0103.js');
|
|
23
23
|
require('./_commonjsHelpers-06173234.js');
|
|
24
24
|
require('./core.get-iterator-method-5643aa10.js');
|
|
25
25
|
require('./web.dom.iterable-d98303e0.js');
|
|
@@ -175,7 +175,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
175
175
|
});
|
|
176
176
|
|
|
177
177
|
var featureCount = 0;
|
|
178
|
-
return React__default[
|
|
178
|
+
return React__default['default'].createElement(
|
|
179
179
|
'div',
|
|
180
180
|
null,
|
|
181
181
|
data && data.length > 0 ? dataRemapped ? // For Javascript Enabled Cases
|
|
@@ -185,48 +185,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
185
185
|
if (article._type === 'feature') {
|
|
186
186
|
featureCount++;
|
|
187
187
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
188
|
-
return React__default[
|
|
188
|
+
return React__default['default'].createElement(
|
|
189
189
|
reactBootstrap.Media,
|
|
190
190
|
{
|
|
191
191
|
key: article._id ? article._id : index,
|
|
192
192
|
className: 'feature-media',
|
|
193
193
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
194
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
194
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
195
195
|
'a',
|
|
196
196
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
197
|
-
React__default[
|
|
197
|
+
React__default['default'].createElement(
|
|
198
198
|
index$1.LazyLoad,
|
|
199
|
-
{ height: imageHeight, placeholder: React__default[
|
|
200
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
199
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
200
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
201
201
|
),
|
|
202
|
-
article.source && React__default[
|
|
202
|
+
article.source && React__default['default'].createElement(
|
|
203
203
|
'div',
|
|
204
204
|
{ className: 'content-category-label' },
|
|
205
|
-
React__default[
|
|
205
|
+
React__default['default'].createElement(
|
|
206
206
|
'div',
|
|
207
207
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
208
208
|
article.source
|
|
209
209
|
)
|
|
210
210
|
)
|
|
211
211
|
),
|
|
212
|
-
React__default[
|
|
212
|
+
React__default['default'].createElement(
|
|
213
213
|
reactBootstrap.Media.Body,
|
|
214
214
|
null,
|
|
215
|
-
React__default[
|
|
215
|
+
React__default['default'].createElement(
|
|
216
216
|
'a',
|
|
217
217
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
218
|
-
article.title && React__default[
|
|
218
|
+
article.title && React__default['default'].createElement(
|
|
219
219
|
'h4',
|
|
220
220
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
221
221
|
article.title
|
|
222
222
|
)
|
|
223
223
|
),
|
|
224
|
-
showPublished && !showTimeDiff && article.published && React__default[
|
|
224
|
+
showPublished && !showTimeDiff && article.published && React__default['default'].createElement(
|
|
225
225
|
'p',
|
|
226
226
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
227
227
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
228
228
|
),
|
|
229
|
-
showTimeDiff && article.published && React__default[
|
|
229
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
230
230
|
'p',
|
|
231
231
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
232
232
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -234,20 +234,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
234
234
|
return null;
|
|
235
235
|
}
|
|
236
236
|
if (index === 3) {
|
|
237
|
-
return React__default[
|
|
238
|
-
React__default[
|
|
237
|
+
return React__default['default'].createElement(
|
|
238
|
+
React__default['default'].Fragment,
|
|
239
239
|
null,
|
|
240
|
-
React__default[
|
|
240
|
+
React__default['default'].createElement(
|
|
241
241
|
'em',
|
|
242
242
|
{ style: { marginRight: '.5rem' } },
|
|
243
243
|
'...'
|
|
244
244
|
)
|
|
245
245
|
);
|
|
246
246
|
}
|
|
247
|
-
return React__default[
|
|
248
|
-
React__default[
|
|
247
|
+
return React__default['default'].createElement(
|
|
248
|
+
React__default['default'].Fragment,
|
|
249
249
|
null,
|
|
250
|
-
React__default[
|
|
250
|
+
React__default['default'].createElement(
|
|
251
251
|
'em',
|
|
252
252
|
null,
|
|
253
253
|
taxonomy.name
|
|
@@ -257,30 +257,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
257
257
|
);
|
|
258
258
|
}),
|
|
259
259
|
' ',
|
|
260
|
-
React__default[
|
|
260
|
+
React__default['default'].createElement(
|
|
261
261
|
'span',
|
|
262
262
|
{ style: { display: 'inline-block' } },
|
|
263
263
|
timeDifferenceCalc(article.published)
|
|
264
264
|
)
|
|
265
265
|
),
|
|
266
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
266
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
267
267
|
index$1.LazyLoad,
|
|
268
268
|
{ height: 50 },
|
|
269
|
-
React__default[
|
|
269
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
270
270
|
),
|
|
271
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
271
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
272
272
|
'div',
|
|
273
273
|
{ className: 'content-category-label' },
|
|
274
|
-
React__default[
|
|
274
|
+
React__default['default'].createElement(
|
|
275
275
|
'div',
|
|
276
276
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
277
277
|
article.source
|
|
278
278
|
)
|
|
279
279
|
),
|
|
280
|
-
React__default[
|
|
280
|
+
React__default['default'].createElement(
|
|
281
281
|
'div',
|
|
282
282
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
283
|
-
showCategory && article.contentCategory && React__default[
|
|
283
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
284
284
|
'p',
|
|
285
285
|
{
|
|
286
286
|
className: 'article-category',
|
|
@@ -294,7 +294,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
294
294
|
} },
|
|
295
295
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
296
296
|
),
|
|
297
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
297
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
298
298
|
'p',
|
|
299
299
|
{
|
|
300
300
|
className: 'issueSection',
|
|
@@ -310,21 +310,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
310
310
|
article.issueSection.name
|
|
311
311
|
)
|
|
312
312
|
),
|
|
313
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
313
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
314
314
|
'div',
|
|
315
315
|
{ className: 'pubInfo' },
|
|
316
|
-
article.volume && React__default[
|
|
316
|
+
article.volume && React__default['default'].createElement(
|
|
317
317
|
'p',
|
|
318
318
|
{ className: 'qdeVolume' },
|
|
319
319
|
article.volume
|
|
320
320
|
),
|
|
321
|
-
article.issue && React__default[
|
|
321
|
+
article.issue && React__default['default'].createElement(
|
|
322
322
|
'p',
|
|
323
323
|
{ className: 'qdeIssue' },
|
|
324
324
|
article.issue
|
|
325
325
|
)
|
|
326
326
|
),
|
|
327
|
-
showIntro && article.summary && React__default[
|
|
327
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
328
328
|
'p',
|
|
329
329
|
{ className: 'pt-2 card-text' },
|
|
330
330
|
entities.clean_html_1(article.summary)
|
|
@@ -332,48 +332,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
332
332
|
)
|
|
333
333
|
);
|
|
334
334
|
} else {
|
|
335
|
-
return React__default[
|
|
335
|
+
return React__default['default'].createElement(
|
|
336
336
|
reactBootstrap.Media,
|
|
337
337
|
{
|
|
338
338
|
key: article._id ? article._id : index,
|
|
339
339
|
className: 'feature-media',
|
|
340
340
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
341
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
341
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
342
342
|
'a',
|
|
343
343
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
344
|
-
React__default[
|
|
344
|
+
React__default['default'].createElement(
|
|
345
345
|
index$1.LazyLoad,
|
|
346
|
-
{ height: imageHeight, placeholder: React__default[
|
|
347
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
346
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
347
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
348
348
|
),
|
|
349
|
-
article.source && React__default[
|
|
349
|
+
article.source && React__default['default'].createElement(
|
|
350
350
|
'div',
|
|
351
351
|
{ className: 'content-category-label' },
|
|
352
|
-
React__default[
|
|
352
|
+
React__default['default'].createElement(
|
|
353
353
|
'div',
|
|
354
354
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
355
355
|
article.source
|
|
356
356
|
)
|
|
357
357
|
)
|
|
358
358
|
),
|
|
359
|
-
React__default[
|
|
359
|
+
React__default['default'].createElement(
|
|
360
360
|
reactBootstrap.Media.Body,
|
|
361
361
|
null,
|
|
362
|
-
React__default[
|
|
362
|
+
React__default['default'].createElement(
|
|
363
363
|
'a',
|
|
364
364
|
{ href: article.url.current },
|
|
365
|
-
article.title && React__default[
|
|
365
|
+
article.title && React__default['default'].createElement(
|
|
366
366
|
'h4',
|
|
367
367
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
368
368
|
article.title
|
|
369
369
|
)
|
|
370
370
|
),
|
|
371
|
-
showPublished && !showTimeDiff && article.published && React__default[
|
|
371
|
+
showPublished && !showTimeDiff && article.published && React__default['default'].createElement(
|
|
372
372
|
'p',
|
|
373
373
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
374
374
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
375
375
|
),
|
|
376
|
-
showTimeDiff && article.published && React__default[
|
|
376
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
377
377
|
'p',
|
|
378
378
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
379
379
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -381,10 +381,10 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
381
381
|
return null;
|
|
382
382
|
}
|
|
383
383
|
if (index === 3) {
|
|
384
|
-
return React__default[
|
|
385
|
-
React__default[
|
|
384
|
+
return React__default['default'].createElement(
|
|
385
|
+
React__default['default'].Fragment,
|
|
386
386
|
null,
|
|
387
|
-
React__default[
|
|
387
|
+
React__default['default'].createElement(
|
|
388
388
|
'em',
|
|
389
389
|
{ style: { marginRight: '.5rem' } },
|
|
390
390
|
'...'
|
|
@@ -392,20 +392,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
392
392
|
);
|
|
393
393
|
}
|
|
394
394
|
if (index === 3) {
|
|
395
|
-
return React__default[
|
|
396
|
-
React__default[
|
|
395
|
+
return React__default['default'].createElement(
|
|
396
|
+
React__default['default'].Fragment,
|
|
397
397
|
null,
|
|
398
|
-
React__default[
|
|
398
|
+
React__default['default'].createElement(
|
|
399
399
|
'em',
|
|
400
400
|
{ style: { marginRight: '.5rem' } },
|
|
401
401
|
'...'
|
|
402
402
|
)
|
|
403
403
|
);
|
|
404
404
|
}
|
|
405
|
-
return React__default[
|
|
406
|
-
React__default[
|
|
405
|
+
return React__default['default'].createElement(
|
|
406
|
+
React__default['default'].Fragment,
|
|
407
407
|
null,
|
|
408
|
-
React__default[
|
|
408
|
+
React__default['default'].createElement(
|
|
409
409
|
'em',
|
|
410
410
|
null,
|
|
411
411
|
taxonomy.name
|
|
@@ -415,30 +415,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
415
415
|
);
|
|
416
416
|
}),
|
|
417
417
|
' ',
|
|
418
|
-
React__default[
|
|
418
|
+
React__default['default'].createElement(
|
|
419
419
|
'span',
|
|
420
420
|
{ style: { display: 'inline-block' } },
|
|
421
421
|
timeDifferenceCalc(article.published)
|
|
422
422
|
)
|
|
423
423
|
),
|
|
424
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
424
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
425
425
|
index$1.LazyLoad,
|
|
426
426
|
{ height: 50 },
|
|
427
|
-
React__default[
|
|
427
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
428
428
|
),
|
|
429
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
429
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
430
430
|
'div',
|
|
431
431
|
{ className: 'content-category-label' },
|
|
432
|
-
React__default[
|
|
432
|
+
React__default['default'].createElement(
|
|
433
433
|
'div',
|
|
434
434
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
435
435
|
article.source
|
|
436
436
|
)
|
|
437
437
|
),
|
|
438
|
-
React__default[
|
|
438
|
+
React__default['default'].createElement(
|
|
439
439
|
'div',
|
|
440
440
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
441
|
-
showCategory && article.contentCategory && React__default[
|
|
441
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
442
442
|
'p',
|
|
443
443
|
{
|
|
444
444
|
className: 'article-category',
|
|
@@ -452,7 +452,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
452
452
|
} },
|
|
453
453
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
454
454
|
),
|
|
455
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
455
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
456
456
|
'p',
|
|
457
457
|
{
|
|
458
458
|
className: 'issueSection',
|
|
@@ -468,21 +468,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
468
468
|
article.issueSection.name
|
|
469
469
|
)
|
|
470
470
|
),
|
|
471
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
471
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
472
472
|
'div',
|
|
473
473
|
{ className: 'pubInfo' },
|
|
474
|
-
article.volume && React__default[
|
|
474
|
+
article.volume && React__default['default'].createElement(
|
|
475
475
|
'p',
|
|
476
476
|
{ className: 'qdeVolume' },
|
|
477
477
|
article.volume
|
|
478
478
|
),
|
|
479
|
-
article.issue && React__default[
|
|
479
|
+
article.issue && React__default['default'].createElement(
|
|
480
480
|
'p',
|
|
481
481
|
{ className: 'qdeIssue' },
|
|
482
482
|
article.issue
|
|
483
483
|
)
|
|
484
484
|
),
|
|
485
|
-
showIntro && article.summary && React__default[
|
|
485
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
486
486
|
'p',
|
|
487
487
|
{ className: 'pt-2 card-text' },
|
|
488
488
|
entities.clean_html_1(article.summary)
|
|
@@ -491,55 +491,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
491
491
|
);
|
|
492
492
|
}
|
|
493
493
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
494
|
-
return React__default[
|
|
494
|
+
return React__default['default'].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index }, article));
|
|
495
495
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
496
|
-
return React__default[
|
|
496
|
+
return React__default['default'].createElement(ADInfeed.ADInfeed, { index: index, infeedAd: article });
|
|
497
497
|
}
|
|
498
498
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
499
|
-
return React__default[
|
|
500
|
-
React__default[
|
|
499
|
+
return React__default['default'].createElement(
|
|
500
|
+
React__default['default'].Fragment,
|
|
501
501
|
{ key: article._id ? article._id : index },
|
|
502
|
-
React__default[
|
|
502
|
+
React__default['default'].createElement(
|
|
503
503
|
reactBootstrap.Media,
|
|
504
504
|
{
|
|
505
505
|
key: article._id ? article._id : index,
|
|
506
506
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
507
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
507
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
508
508
|
'a',
|
|
509
509
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
510
|
-
React__default[
|
|
510
|
+
React__default['default'].createElement(
|
|
511
511
|
index$1.LazyLoad,
|
|
512
|
-
{ height: imageHeight, placeholder: React__default[
|
|
513
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
512
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
513
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
514
514
|
),
|
|
515
|
-
article.source && React__default[
|
|
515
|
+
article.source && React__default['default'].createElement(
|
|
516
516
|
'div',
|
|
517
517
|
{ className: 'content-category-label' },
|
|
518
|
-
React__default[
|
|
518
|
+
React__default['default'].createElement(
|
|
519
519
|
'div',
|
|
520
520
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
521
521
|
article.source
|
|
522
522
|
)
|
|
523
523
|
)
|
|
524
524
|
),
|
|
525
|
-
React__default[
|
|
525
|
+
React__default['default'].createElement(
|
|
526
526
|
reactBootstrap.Media.Body,
|
|
527
527
|
null,
|
|
528
|
-
React__default[
|
|
528
|
+
React__default['default'].createElement(
|
|
529
529
|
'a',
|
|
530
530
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
531
|
-
article.title && React__default[
|
|
531
|
+
article.title && React__default['default'].createElement(
|
|
532
532
|
'h4',
|
|
533
533
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
534
534
|
article.title
|
|
535
535
|
)
|
|
536
536
|
),
|
|
537
|
-
showPublished && !showTimeDiff && article.published && React__default[
|
|
537
|
+
showPublished && !showTimeDiff && article.published && React__default['default'].createElement(
|
|
538
538
|
'p',
|
|
539
539
|
{ className: 'card-text', style: { color: 'var(--dark)', margin: '.25rem 0' } },
|
|
540
540
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
541
541
|
),
|
|
542
|
-
showTimeDiff && article.published && React__default[
|
|
542
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
543
543
|
'p',
|
|
544
544
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
545
545
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -547,20 +547,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
547
547
|
return null;
|
|
548
548
|
}
|
|
549
549
|
if (index === 3) {
|
|
550
|
-
return React__default[
|
|
551
|
-
React__default[
|
|
550
|
+
return React__default['default'].createElement(
|
|
551
|
+
React__default['default'].Fragment,
|
|
552
552
|
null,
|
|
553
|
-
React__default[
|
|
553
|
+
React__default['default'].createElement(
|
|
554
554
|
'em',
|
|
555
555
|
{ style: { marginRight: '.5rem' } },
|
|
556
556
|
'...'
|
|
557
557
|
)
|
|
558
558
|
);
|
|
559
559
|
}
|
|
560
|
-
return React__default[
|
|
561
|
-
React__default[
|
|
560
|
+
return React__default['default'].createElement(
|
|
561
|
+
React__default['default'].Fragment,
|
|
562
562
|
null,
|
|
563
|
-
React__default[
|
|
563
|
+
React__default['default'].createElement(
|
|
564
564
|
'em',
|
|
565
565
|
null,
|
|
566
566
|
taxonomy.name
|
|
@@ -570,34 +570,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
570
570
|
);
|
|
571
571
|
}),
|
|
572
572
|
' ',
|
|
573
|
-
React__default[
|
|
573
|
+
React__default['default'].createElement(
|
|
574
574
|
'span',
|
|
575
575
|
{ style: { display: 'inline-block' } },
|
|
576
576
|
timeDifferenceCalc(article.published)
|
|
577
577
|
)
|
|
578
578
|
),
|
|
579
|
-
React__default[
|
|
579
|
+
React__default['default'].createElement(
|
|
580
580
|
'div',
|
|
581
581
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
582
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
582
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
583
583
|
index$1.LazyLoad,
|
|
584
584
|
{ height: 50 },
|
|
585
|
-
React__default[
|
|
585
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
586
586
|
)
|
|
587
587
|
),
|
|
588
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
588
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
589
589
|
'div',
|
|
590
590
|
{ className: 'content-category-label' },
|
|
591
|
-
React__default[
|
|
591
|
+
React__default['default'].createElement(
|
|
592
592
|
'div',
|
|
593
593
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
594
594
|
article.source
|
|
595
595
|
)
|
|
596
596
|
),
|
|
597
|
-
React__default[
|
|
597
|
+
React__default['default'].createElement(
|
|
598
598
|
'div',
|
|
599
599
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
600
|
-
showCategory && article.contentCategory && React__default[
|
|
600
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
601
601
|
'p',
|
|
602
602
|
{
|
|
603
603
|
className: 'article-category',
|
|
@@ -611,7 +611,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
611
611
|
} },
|
|
612
612
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
613
613
|
),
|
|
614
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
614
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
615
615
|
'p',
|
|
616
616
|
{
|
|
617
617
|
className: 'issueSection',
|
|
@@ -627,28 +627,28 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
627
627
|
article.issueSection.name
|
|
628
628
|
)
|
|
629
629
|
),
|
|
630
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
630
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
631
631
|
'div',
|
|
632
632
|
{ className: 'pubInfo' },
|
|
633
|
-
article.volume && React__default[
|
|
633
|
+
article.volume && React__default['default'].createElement(
|
|
634
634
|
'p',
|
|
635
635
|
{ className: 'qdeVolume' },
|
|
636
636
|
article.volume
|
|
637
637
|
),
|
|
638
|
-
article.issue && React__default[
|
|
638
|
+
article.issue && React__default['default'].createElement(
|
|
639
639
|
'p',
|
|
640
640
|
{ className: 'qdeIssue' },
|
|
641
641
|
article.issue
|
|
642
642
|
)
|
|
643
643
|
),
|
|
644
|
-
showIntro && article.summary && React__default[
|
|
644
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
645
645
|
'p',
|
|
646
646
|
{ className: 'pt-2 card-text' },
|
|
647
647
|
entities.clean_html_1(article.summary)
|
|
648
648
|
)
|
|
649
649
|
)
|
|
650
650
|
),
|
|
651
|
-
React__default[
|
|
651
|
+
React__default['default'].createElement(
|
|
652
652
|
'div',
|
|
653
653
|
null,
|
|
654
654
|
main.main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -657,7 +657,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
657
657
|
} else return null;
|
|
658
658
|
}) :
|
|
659
659
|
// For Javascript Disabled Cases
|
|
660
|
-
React__default[
|
|
660
|
+
React__default['default'].createElement(
|
|
661
661
|
'noscript',
|
|
662
662
|
null,
|
|
663
663
|
data.map(function (article, index) {
|
|
@@ -666,48 +666,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
666
666
|
if (article._type === 'feature') {
|
|
667
667
|
featureCount++;
|
|
668
668
|
if (article.blank || checkExternalUrl(article.url.current)) {
|
|
669
|
-
return React__default[
|
|
669
|
+
return React__default['default'].createElement(
|
|
670
670
|
reactBootstrap.Media,
|
|
671
671
|
{
|
|
672
672
|
key: article._id ? article._id : index,
|
|
673
673
|
className: 'feature-media',
|
|
674
674
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
675
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
675
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
676
676
|
'a',
|
|
677
677
|
{ rel: 'noopener', href: article.url.current, target: '_blank', className: 'feature-wrapper' },
|
|
678
|
-
React__default[
|
|
678
|
+
React__default['default'].createElement(
|
|
679
679
|
index$1.LazyLoad,
|
|
680
|
-
{ height: imageHeight, placeholder: React__default[
|
|
681
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
680
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
681
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
682
682
|
),
|
|
683
|
-
article.source && React__default[
|
|
683
|
+
article.source && React__default['default'].createElement(
|
|
684
684
|
'div',
|
|
685
685
|
{ className: 'content-category-label' },
|
|
686
|
-
React__default[
|
|
686
|
+
React__default['default'].createElement(
|
|
687
687
|
'div',
|
|
688
688
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
689
689
|
article.source
|
|
690
690
|
)
|
|
691
691
|
)
|
|
692
692
|
),
|
|
693
|
-
React__default[
|
|
693
|
+
React__default['default'].createElement(
|
|
694
694
|
reactBootstrap.Media.Body,
|
|
695
695
|
null,
|
|
696
|
-
React__default[
|
|
696
|
+
React__default['default'].createElement(
|
|
697
697
|
'a',
|
|
698
698
|
{ rel: 'noopener', href: article.url.current, target: '_blank' },
|
|
699
|
-
article.title && React__default[
|
|
699
|
+
article.title && React__default['default'].createElement(
|
|
700
700
|
'h4',
|
|
701
701
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
702
702
|
article.title
|
|
703
703
|
)
|
|
704
704
|
),
|
|
705
|
-
showPublished && article.published && React__default[
|
|
705
|
+
showPublished && article.published && React__default['default'].createElement(
|
|
706
706
|
'p',
|
|
707
707
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
708
708
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
709
709
|
),
|
|
710
|
-
showTimeDiff && article.published && React__default[
|
|
710
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
711
711
|
'p',
|
|
712
712
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
713
713
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -715,20 +715,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
715
715
|
return null;
|
|
716
716
|
}
|
|
717
717
|
if (index === 3) {
|
|
718
|
-
return React__default[
|
|
719
|
-
React__default[
|
|
718
|
+
return React__default['default'].createElement(
|
|
719
|
+
React__default['default'].Fragment,
|
|
720
720
|
null,
|
|
721
|
-
React__default[
|
|
721
|
+
React__default['default'].createElement(
|
|
722
722
|
'em',
|
|
723
723
|
{ style: { marginRight: '.5rem' } },
|
|
724
724
|
'...'
|
|
725
725
|
)
|
|
726
726
|
);
|
|
727
727
|
}
|
|
728
|
-
return React__default[
|
|
729
|
-
React__default[
|
|
728
|
+
return React__default['default'].createElement(
|
|
729
|
+
React__default['default'].Fragment,
|
|
730
730
|
null,
|
|
731
|
-
React__default[
|
|
731
|
+
React__default['default'].createElement(
|
|
732
732
|
'em',
|
|
733
733
|
null,
|
|
734
734
|
taxonomy.name
|
|
@@ -738,30 +738,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
738
738
|
);
|
|
739
739
|
}),
|
|
740
740
|
' ',
|
|
741
|
-
React__default[
|
|
741
|
+
React__default['default'].createElement(
|
|
742
742
|
'span',
|
|
743
743
|
{ style: { display: 'inline-block' } },
|
|
744
744
|
timeDifferenceCalc(article.published)
|
|
745
745
|
)
|
|
746
746
|
),
|
|
747
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
747
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
748
748
|
index$1.LazyLoad,
|
|
749
749
|
{ height: 50 },
|
|
750
|
-
React__default[
|
|
750
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
751
751
|
),
|
|
752
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
752
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
753
753
|
'div',
|
|
754
754
|
{ className: 'content-category-label' },
|
|
755
|
-
React__default[
|
|
755
|
+
React__default['default'].createElement(
|
|
756
756
|
'div',
|
|
757
757
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
758
758
|
article.source
|
|
759
759
|
)
|
|
760
760
|
),
|
|
761
|
-
React__default[
|
|
761
|
+
React__default['default'].createElement(
|
|
762
762
|
'div',
|
|
763
763
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
764
|
-
showCategory && article.contentCategory && React__default[
|
|
764
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
765
765
|
'p',
|
|
766
766
|
{
|
|
767
767
|
className: 'article-category',
|
|
@@ -775,7 +775,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
775
775
|
} },
|
|
776
776
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
777
777
|
),
|
|
778
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
778
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
779
779
|
'p',
|
|
780
780
|
{
|
|
781
781
|
className: 'issueSection',
|
|
@@ -791,21 +791,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
791
791
|
article.issueSection.name
|
|
792
792
|
)
|
|
793
793
|
),
|
|
794
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
794
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
795
795
|
'div',
|
|
796
796
|
{ className: 'pubInfo' },
|
|
797
|
-
article.volume && React__default[
|
|
797
|
+
article.volume && React__default['default'].createElement(
|
|
798
798
|
'p',
|
|
799
799
|
{ className: 'qdeVolume' },
|
|
800
800
|
article.volume
|
|
801
801
|
),
|
|
802
|
-
article.issue && React__default[
|
|
802
|
+
article.issue && React__default['default'].createElement(
|
|
803
803
|
'p',
|
|
804
804
|
{ className: 'qdeIssue' },
|
|
805
805
|
article.issue
|
|
806
806
|
)
|
|
807
807
|
),
|
|
808
|
-
showIntro && article.summary && React__default[
|
|
808
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
809
809
|
'p',
|
|
810
810
|
{ className: 'pt-2 card-text' },
|
|
811
811
|
entities.clean_html_1(article.summary)
|
|
@@ -813,48 +813,48 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
813
813
|
)
|
|
814
814
|
);
|
|
815
815
|
} else {
|
|
816
|
-
return React__default[
|
|
816
|
+
return React__default['default'].createElement(
|
|
817
817
|
reactBootstrap.Media,
|
|
818
818
|
{
|
|
819
819
|
key: article._id ? article._id : index,
|
|
820
820
|
className: 'feature-media',
|
|
821
821
|
style: { flexDirection: 'column', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
822
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
822
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
823
823
|
'a',
|
|
824
824
|
{ href: article.url.current, className: 'feature-wrapper' },
|
|
825
|
-
React__default[
|
|
825
|
+
React__default['default'].createElement(
|
|
826
826
|
index$1.LazyLoad,
|
|
827
|
-
{ height: imageHeight, placeholder: React__default[
|
|
828
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
827
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
828
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
829
829
|
),
|
|
830
|
-
article.source && React__default[
|
|
830
|
+
article.source && React__default['default'].createElement(
|
|
831
831
|
'div',
|
|
832
832
|
{ className: 'content-category-label' },
|
|
833
|
-
React__default[
|
|
833
|
+
React__default['default'].createElement(
|
|
834
834
|
'div',
|
|
835
835
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
836
836
|
article.source
|
|
837
837
|
)
|
|
838
838
|
)
|
|
839
839
|
),
|
|
840
|
-
React__default[
|
|
840
|
+
React__default['default'].createElement(
|
|
841
841
|
reactBootstrap.Media.Body,
|
|
842
842
|
null,
|
|
843
|
-
React__default[
|
|
843
|
+
React__default['default'].createElement(
|
|
844
844
|
'a',
|
|
845
845
|
{ href: article.url.current },
|
|
846
|
-
article.title && React__default[
|
|
846
|
+
article.title && React__default['default'].createElement(
|
|
847
847
|
'h4',
|
|
848
848
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
849
849
|
article.title
|
|
850
850
|
)
|
|
851
851
|
),
|
|
852
|
-
showPublished && article.published && React__default[
|
|
852
|
+
showPublished && article.published && React__default['default'].createElement(
|
|
853
853
|
'p',
|
|
854
854
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
855
855
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
856
856
|
),
|
|
857
|
-
showTimeDiff && article.published && React__default[
|
|
857
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
858
858
|
'p',
|
|
859
859
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
860
860
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -862,20 +862,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
862
862
|
return null;
|
|
863
863
|
}
|
|
864
864
|
if (index === 3) {
|
|
865
|
-
return React__default[
|
|
866
|
-
React__default[
|
|
865
|
+
return React__default['default'].createElement(
|
|
866
|
+
React__default['default'].Fragment,
|
|
867
867
|
null,
|
|
868
|
-
React__default[
|
|
868
|
+
React__default['default'].createElement(
|
|
869
869
|
'em',
|
|
870
870
|
{ style: { marginRight: '.5rem' } },
|
|
871
871
|
'...'
|
|
872
872
|
)
|
|
873
873
|
);
|
|
874
874
|
}
|
|
875
|
-
return React__default[
|
|
876
|
-
React__default[
|
|
875
|
+
return React__default['default'].createElement(
|
|
876
|
+
React__default['default'].Fragment,
|
|
877
877
|
null,
|
|
878
|
-
React__default[
|
|
878
|
+
React__default['default'].createElement(
|
|
879
879
|
'em',
|
|
880
880
|
null,
|
|
881
881
|
taxonomy.name
|
|
@@ -885,30 +885,30 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
885
885
|
);
|
|
886
886
|
}),
|
|
887
887
|
' ',
|
|
888
|
-
React__default[
|
|
888
|
+
React__default['default'].createElement(
|
|
889
889
|
'span',
|
|
890
890
|
{ style: { display: 'inline-block' } },
|
|
891
891
|
timeDifferenceCalc(article.published)
|
|
892
892
|
)
|
|
893
893
|
),
|
|
894
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
894
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
895
895
|
index$1.LazyLoad,
|
|
896
896
|
{ height: 50 },
|
|
897
|
-
React__default[
|
|
897
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
898
898
|
),
|
|
899
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
899
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
900
900
|
'div',
|
|
901
901
|
{ className: 'content-category-label' },
|
|
902
|
-
React__default[
|
|
902
|
+
React__default['default'].createElement(
|
|
903
903
|
'div',
|
|
904
904
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
905
905
|
article.source
|
|
906
906
|
)
|
|
907
907
|
),
|
|
908
|
-
React__default[
|
|
908
|
+
React__default['default'].createElement(
|
|
909
909
|
'div',
|
|
910
910
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
911
|
-
showCategory && article.contentCategory && React__default[
|
|
911
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
912
912
|
'p',
|
|
913
913
|
{
|
|
914
914
|
className: 'article-category',
|
|
@@ -922,7 +922,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
922
922
|
} },
|
|
923
923
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
924
924
|
),
|
|
925
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
925
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
926
926
|
'p',
|
|
927
927
|
{
|
|
928
928
|
className: 'issueSection',
|
|
@@ -938,21 +938,21 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
938
938
|
article.issueSection.name
|
|
939
939
|
)
|
|
940
940
|
),
|
|
941
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
941
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
942
942
|
'div',
|
|
943
943
|
{ className: 'pubInfo' },
|
|
944
|
-
article.volume && React__default[
|
|
944
|
+
article.volume && React__default['default'].createElement(
|
|
945
945
|
'p',
|
|
946
946
|
{ className: 'qdeVolume' },
|
|
947
947
|
article.volume
|
|
948
948
|
),
|
|
949
|
-
article.issue && React__default[
|
|
949
|
+
article.issue && React__default['default'].createElement(
|
|
950
950
|
'p',
|
|
951
951
|
{ className: 'qdeIssue' },
|
|
952
952
|
article.issue
|
|
953
953
|
)
|
|
954
954
|
),
|
|
955
|
-
showIntro && article.summary && React__default[
|
|
955
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
956
956
|
'p',
|
|
957
957
|
{ className: 'pt-2 card-text' },
|
|
958
958
|
entities.clean_html_1(article.summary)
|
|
@@ -961,55 +961,55 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
961
961
|
);
|
|
962
962
|
}
|
|
963
963
|
} else if (article._type === 'lg-infeed' && article.adUnit) {
|
|
964
|
-
return React__default[
|
|
964
|
+
return React__default['default'].createElement(ADlgInfeed.ADlgInfeed, _extends._extends({ index: index }, article));
|
|
965
965
|
} else if (article._type === 'brandInsightAd' && article.adUnit) {
|
|
966
|
-
return React__default[
|
|
966
|
+
return React__default['default'].createElement(ADInfeed.ADInfeed, { index: index, infeedAd: article });
|
|
967
967
|
}
|
|
968
968
|
if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
|
|
969
|
-
return React__default[
|
|
970
|
-
React__default[
|
|
969
|
+
return React__default['default'].createElement(
|
|
970
|
+
React__default['default'].Fragment,
|
|
971
971
|
{ key: article._id ? article._id : index },
|
|
972
|
-
React__default[
|
|
972
|
+
React__default['default'].createElement(
|
|
973
973
|
reactBootstrap.Media,
|
|
974
974
|
{
|
|
975
975
|
key: article._id ? article._id : index,
|
|
976
976
|
style: { flexDirection: 'row', marginBottom: '1.25rem', paddingBottom: '1.25rem', borderBottom: '1px solid #ddd' } },
|
|
977
|
-
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default[
|
|
977
|
+
(article.thumbnail && article.thumbnail.asset || defaultImage) && React__default['default'].createElement(
|
|
978
978
|
'a',
|
|
979
979
|
{ href: mapping[contentCategoryName] + '/' + article.url.current, className: 'img-wrapper' },
|
|
980
|
-
React__default[
|
|
980
|
+
React__default['default'].createElement(
|
|
981
981
|
index$1.LazyLoad,
|
|
982
|
-
{ height: imageHeight, placeholder: React__default[
|
|
983
|
-
article.thumbnail && article.thumbnail.asset ? React__default[
|
|
982
|
+
{ height: imageHeight, placeholder: React__default['default'].createElement(ImagePlaceholder, null) },
|
|
983
|
+
article.thumbnail && article.thumbnail.asset ? React__default['default'].createElement('img', { className: 'mr-3 img-fluid', src: renderCardImage(article, client, imageHeight, imageWidth, imageMaxHeight, imageFit), alt: article.title }) : article.thumbnail ? React__default['default'].createElement('img', { src: article.thumbnail, className: 'mr-3', alt: article.title }) : React__default['default'].createElement('img', { src: defaultImage, src2: article.thumbnail, className: 'mr-3', width: '240', height: '135', alt: article.title })
|
|
984
984
|
),
|
|
985
|
-
article.source && React__default[
|
|
985
|
+
article.source && React__default['default'].createElement(
|
|
986
986
|
'div',
|
|
987
987
|
{ className: 'content-category-label' },
|
|
988
|
-
React__default[
|
|
988
|
+
React__default['default'].createElement(
|
|
989
989
|
'div',
|
|
990
990
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
991
991
|
article.source
|
|
992
992
|
)
|
|
993
993
|
)
|
|
994
994
|
),
|
|
995
|
-
React__default[
|
|
995
|
+
React__default['default'].createElement(
|
|
996
996
|
reactBootstrap.Media.Body,
|
|
997
997
|
null,
|
|
998
|
-
React__default[
|
|
998
|
+
React__default['default'].createElement(
|
|
999
999
|
'a',
|
|
1000
1000
|
{ href: mapping[contentCategoryName] + '/' + article.url.current },
|
|
1001
|
-
article.title && React__default[
|
|
1001
|
+
article.title && React__default['default'].createElement(
|
|
1002
1002
|
'h4',
|
|
1003
1003
|
{ className: 'card-title', style: { fontWeight: '500', color: 'var(--gray-dark)', marginBottom: '.5rem' } },
|
|
1004
1004
|
article.title
|
|
1005
1005
|
)
|
|
1006
1006
|
),
|
|
1007
|
-
showPublished && article.published && React__default[
|
|
1007
|
+
showPublished && article.published && React__default['default'].createElement(
|
|
1008
1008
|
'p',
|
|
1009
1009
|
{ className: 'card-text', style: { color: 'var(--dark)', marginBottom: '.25rem' } },
|
|
1010
1010
|
moment.moment(article.published).format('MMMM DD, YYYY')
|
|
1011
1011
|
),
|
|
1012
|
-
showTimeDiff && article.published && React__default[
|
|
1012
|
+
showTimeDiff && article.published && React__default['default'].createElement(
|
|
1013
1013
|
'p',
|
|
1014
1014
|
{ className: 'card-text', style: { color: '#464644', lineHeight: '1.25', fontSize: '.875rem', margin: '.25rem 0' } },
|
|
1015
1015
|
showTaxonomies && article.taxonomyMapping && article.taxonomyMapping.map(function (taxonomy, index) {
|
|
@@ -1017,20 +1017,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1017
1017
|
return null;
|
|
1018
1018
|
}
|
|
1019
1019
|
if (index === 3) {
|
|
1020
|
-
return React__default[
|
|
1021
|
-
React__default[
|
|
1020
|
+
return React__default['default'].createElement(
|
|
1021
|
+
React__default['default'].Fragment,
|
|
1022
1022
|
null,
|
|
1023
|
-
React__default[
|
|
1023
|
+
React__default['default'].createElement(
|
|
1024
1024
|
'em',
|
|
1025
1025
|
{ style: { marginRight: '.5rem' } },
|
|
1026
1026
|
'...'
|
|
1027
1027
|
)
|
|
1028
1028
|
);
|
|
1029
1029
|
}
|
|
1030
|
-
return React__default[
|
|
1031
|
-
React__default[
|
|
1030
|
+
return React__default['default'].createElement(
|
|
1031
|
+
React__default['default'].Fragment,
|
|
1032
1032
|
null,
|
|
1033
|
-
React__default[
|
|
1033
|
+
React__default['default'].createElement(
|
|
1034
1034
|
'em',
|
|
1035
1035
|
null,
|
|
1036
1036
|
taxonomy.name
|
|
@@ -1040,34 +1040,34 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1040
1040
|
);
|
|
1041
1041
|
}),
|
|
1042
1042
|
' ',
|
|
1043
|
-
React__default[
|
|
1043
|
+
React__default['default'].createElement(
|
|
1044
1044
|
'span',
|
|
1045
1045
|
{ style: { display: 'inline-block' } },
|
|
1046
1046
|
timeDifferenceCalc(article.published)
|
|
1047
1047
|
)
|
|
1048
1048
|
),
|
|
1049
|
-
React__default[
|
|
1049
|
+
React__default['default'].createElement(
|
|
1050
1050
|
'div',
|
|
1051
1051
|
{ className: 'author-sec', style: { lineHeight: 1.5 } },
|
|
1052
|
-
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default[
|
|
1052
|
+
showAuthor && article.authorMapping && article.authorMapping.length > 0 && React__default['default'].createElement(
|
|
1053
1053
|
index$1.LazyLoad,
|
|
1054
1054
|
{ height: 50 },
|
|
1055
|
-
React__default[
|
|
1055
|
+
React__default['default'].createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: article.authorMapping })
|
|
1056
1056
|
)
|
|
1057
1057
|
),
|
|
1058
|
-
!article.thumbnail && !defaultImage && article.source && React__default[
|
|
1058
|
+
!article.thumbnail && !defaultImage && article.source && React__default['default'].createElement(
|
|
1059
1059
|
'div',
|
|
1060
1060
|
{ className: 'content-category-label' },
|
|
1061
|
-
React__default[
|
|
1061
|
+
React__default['default'].createElement(
|
|
1062
1062
|
'div',
|
|
1063
1063
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
1064
1064
|
article.source
|
|
1065
1065
|
)
|
|
1066
1066
|
),
|
|
1067
|
-
React__default[
|
|
1067
|
+
React__default['default'].createElement(
|
|
1068
1068
|
'div',
|
|
1069
1069
|
{ style: { display: 'flex', alignItems: 'center', justifyContent: 'flex-start' } },
|
|
1070
|
-
showCategory && article.contentCategory && React__default[
|
|
1070
|
+
showCategory && article.contentCategory && React__default['default'].createElement(
|
|
1071
1071
|
'p',
|
|
1072
1072
|
{
|
|
1073
1073
|
className: 'article-category',
|
|
@@ -1081,7 +1081,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1081
1081
|
} },
|
|
1082
1082
|
getContentCategory.getContentCategory(article.contentCategory.name, contentCategoryMapping)
|
|
1083
1083
|
),
|
|
1084
|
-
article.issueSection && article.issueSection.name && React__default[
|
|
1084
|
+
article.issueSection && article.issueSection.name && React__default['default'].createElement(
|
|
1085
1085
|
'p',
|
|
1086
1086
|
{
|
|
1087
1087
|
className: 'issueSection',
|
|
@@ -1097,28 +1097,28 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1097
1097
|
article.issueSection.name
|
|
1098
1098
|
)
|
|
1099
1099
|
),
|
|
1100
|
-
showPubInfo && (article.issue || article.volume) && React__default[
|
|
1100
|
+
showPubInfo && (article.issue || article.volume) && React__default['default'].createElement(
|
|
1101
1101
|
'div',
|
|
1102
1102
|
{ className: 'pubInfo' },
|
|
1103
|
-
article.volume && React__default[
|
|
1103
|
+
article.volume && React__default['default'].createElement(
|
|
1104
1104
|
'p',
|
|
1105
1105
|
{ className: 'qdeVolume' },
|
|
1106
1106
|
article.volume
|
|
1107
1107
|
),
|
|
1108
|
-
article.issue && React__default[
|
|
1108
|
+
article.issue && React__default['default'].createElement(
|
|
1109
1109
|
'p',
|
|
1110
1110
|
{ className: 'qdeIssue' },
|
|
1111
1111
|
article.issue
|
|
1112
1112
|
)
|
|
1113
1113
|
),
|
|
1114
|
-
showIntro && article.summary && React__default[
|
|
1114
|
+
showIntro && article.summary && React__default['default'].createElement(
|
|
1115
1115
|
'p',
|
|
1116
1116
|
{ className: 'pt-2 card-text' },
|
|
1117
1117
|
entities.clean_html_1(article.summary)
|
|
1118
1118
|
)
|
|
1119
1119
|
)
|
|
1120
1120
|
),
|
|
1121
|
-
React__default[
|
|
1121
|
+
React__default['default'].createElement(
|
|
1122
1122
|
'div',
|
|
1123
1123
|
null,
|
|
1124
1124
|
main.main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
@@ -1126,20 +1126,20 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1126
1126
|
);
|
|
1127
1127
|
} else return null;
|
|
1128
1128
|
})
|
|
1129
|
-
) : React__default[
|
|
1129
|
+
) : React__default['default'].createElement(
|
|
1130
1130
|
'div',
|
|
1131
1131
|
null,
|
|
1132
|
-
React__default[
|
|
1132
|
+
React__default['default'].createElement(
|
|
1133
1133
|
'h5',
|
|
1134
1134
|
null,
|
|
1135
|
-
React__default[
|
|
1135
|
+
React__default['default'].createElement(
|
|
1136
1136
|
'em',
|
|
1137
1137
|
null,
|
|
1138
1138
|
'New content coming soon, please check back later.'
|
|
1139
1139
|
)
|
|
1140
1140
|
)
|
|
1141
1141
|
),
|
|
1142
|
-
React__default[
|
|
1142
|
+
React__default['default'].createElement(
|
|
1143
1143
|
'style',
|
|
1144
1144
|
{ jsx: 'true' },
|
|
1145
1145
|
'\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 '
|
|
@@ -1148,11 +1148,11 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1148
1148
|
};
|
|
1149
1149
|
|
|
1150
1150
|
var ImagePlaceholder = function ImagePlaceholder() {
|
|
1151
|
-
return React__default[
|
|
1152
|
-
React__default[
|
|
1151
|
+
return React__default['default'].createElement(
|
|
1152
|
+
React__default['default'].Fragment,
|
|
1153
1153
|
null,
|
|
1154
|
-
React__default[
|
|
1155
|
-
React__default[
|
|
1154
|
+
React__default['default'].createElement('div', { className: 'queuedeck-exp-image-placeholder' }),
|
|
1155
|
+
React__default['default'].createElement(
|
|
1156
1156
|
'style',
|
|
1157
1157
|
{ jsx: 'true' },
|
|
1158
1158
|
'\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 '
|
|
@@ -1162,7 +1162,7 @@ var ImagePlaceholder = function ImagePlaceholder() {
|
|
|
1162
1162
|
|
|
1163
1163
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd, rightItems) {
|
|
1164
1164
|
var i = numberOfItemsBeforeAd < 6 ? 0 : ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
1165
|
-
return React__default[
|
|
1165
|
+
return React__default['default'].createElement(
|
|
1166
1166
|
'div',
|
|
1167
1167
|
{ style: { display: 'flex', flex: '1 0 auto' } },
|
|
1168
1168
|
rightItems[i].component
|
|
@@ -1324,25 +1324,25 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1324
1324
|
};
|
|
1325
1325
|
}();
|
|
1326
1326
|
|
|
1327
|
-
return React__default[
|
|
1327
|
+
return React__default['default'].createElement(
|
|
1328
1328
|
'div',
|
|
1329
1329
|
{ className: 'queuedeck-expanded' },
|
|
1330
|
-
isDataLoading ? React__default[
|
|
1330
|
+
isDataLoading ? React__default['default'].createElement(
|
|
1331
1331
|
'div',
|
|
1332
1332
|
{ className: 'd-flex justify-content-center', style: { marginTop: '100px' } },
|
|
1333
|
-
React__default[
|
|
1333
|
+
React__default['default'].createElement(
|
|
1334
1334
|
reactBootstrap.Spinner,
|
|
1335
1335
|
{ animation: 'border', role: 'status' },
|
|
1336
|
-
React__default[
|
|
1336
|
+
React__default['default'].createElement(
|
|
1337
1337
|
'span',
|
|
1338
1338
|
{ className: 'sr-only' },
|
|
1339
1339
|
'Loading...'
|
|
1340
1340
|
)
|
|
1341
1341
|
)
|
|
1342
|
-
) : React__default[
|
|
1342
|
+
) : React__default['default'].createElement(
|
|
1343
1343
|
reactBootstrap.Container,
|
|
1344
1344
|
null,
|
|
1345
|
-
React__default[
|
|
1345
|
+
React__default['default'].createElement(CardLoader, {
|
|
1346
1346
|
data: data,
|
|
1347
1347
|
client: client,
|
|
1348
1348
|
mapping: mapping,
|
|
@@ -1365,17 +1365,17 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1365
1365
|
showTaxonomies: showTaxonomies,
|
|
1366
1366
|
showIntro: showIntro
|
|
1367
1367
|
}),
|
|
1368
|
-
React__default[
|
|
1368
|
+
React__default['default'].createElement(
|
|
1369
1369
|
'div',
|
|
1370
1370
|
{ className: 'pagination-wrapper' },
|
|
1371
|
-
React__default[
|
|
1371
|
+
React__default['default'].createElement(Pagination.Pagination, {
|
|
1372
1372
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
1373
1373
|
pageRangeDisplayed: main.main_43 ? 3 : 9,
|
|
1374
1374
|
currentPage: currentPage,
|
|
1375
1375
|
onPageChange: handlePageChange,
|
|
1376
1376
|
needLargePaginateButtons: props.needLargePaginateButtons
|
|
1377
1377
|
}),
|
|
1378
|
-
React__default[
|
|
1378
|
+
React__default['default'].createElement(
|
|
1379
1379
|
'style',
|
|
1380
1380
|
{ jsx: 'true' },
|
|
1381
1381
|
'\n .pagination-wrapper {\n margin: 3rem 0 100px 0;\n }\n '
|