@mjhls/mjh-framework 1.0.810-disable-social-share-v2 → 1.0.810
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 +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +19 -14100
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +5 -6
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -5
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/DeckContent.js +11 -12
- package/dist/cjs/DeckQueue.js +2 -3
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-3f0ed4c8.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -6
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/GridContent.js +4 -5
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/HorizontalArticleListing.js +5 -6
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueLanding.js +33 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +12 -13
- package/dist/cjs/MediaSeriesLanding.js +408 -308
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -8
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -5
- package/dist/cjs/PublicationLanding.js +29 -29
- package/dist/cjs/QueueDeckExpanded.js +4 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -4
- package/dist/cjs/{SeriesSlider-c022ce04.js → SeriesSlider-2db54929.js} +5 -5
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +3 -2
- package/dist/cjs/TaxonomyDescription.js +5 -6
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VideoProgramLandingPage.js +5 -6
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -5
- package/dist/cjs/VideoSeriesListing.js +4 -5
- package/dist/cjs/View.js +34 -62
- package/dist/cjs/YoutubeGroup.js +5 -5
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getSerializers.js +5 -6
- package/dist/cjs/{getTargeting-c8081c76.js → getTargeting-fbbe92ba.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-667c091e.js → index-a766f892.js} +3 -3
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-9225638f.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +14 -15
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -7
- package/dist/esm/AD300x250x600.js +6 -7
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-6ed88032.js → ADInfeed-33e556f5.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +13 -14
- package/dist/esm/{ADlgInfeed-e02d1d98.js → ADlgInfeed-1270c526.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -6
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +39 -14120
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -6
- package/dist/esm/ArticleProgramLandingPage.js +17 -18
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -32
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -24
- package/dist/esm/ConferenceArticleCard.js +28 -28
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +57 -58
- package/dist/esm/DeckQueue.js +42 -43
- package/dist/esm/{Dfp-43f121ff.js → Dfp-be030f2a.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -36
- package/dist/esm/Feature.js +15 -15
- package/dist/esm/ForbesHero.js +26 -26
- package/dist/esm/GridContent.js +103 -104
- package/dist/esm/GridHero.js +27 -27
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +6 -6
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -32
- package/dist/esm/HorizontalHero.js +20 -20
- package/dist/esm/IssueContentDeck.js +39 -39
- package/dist/esm/IssueDeck.js +33 -33
- package/dist/esm/IssueLanding.js +42 -43
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +46 -47
- package/dist/esm/MediaSeriesLanding.js +431 -331
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +13 -13
- package/dist/esm/OncliveLargeHero.js +50 -50
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +62 -63
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -15
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +33 -33
- package/dist/esm/PublicationLanding.js +78 -78
- package/dist/esm/QueueDeckExpanded.js +246 -247
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-8414085b.js → SeriesSlider-c8477bf3.js} +23 -23
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db963c3e.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +38 -37
- package/dist/esm/TaxonomyDescription.js +13 -14
- package/dist/esm/TemplateNormal.js +30 -31
- package/dist/esm/ThumbnailCard.js +9 -9
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +11 -11
- package/dist/esm/VideoProgramLandingPage.js +24 -25
- package/dist/esm/VideoSeriesCard.js +15 -15
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -13
- package/dist/esm/VideoSeriesListing.js +47 -48
- package/dist/esm/View.js +194 -222
- package/dist/esm/YahooHero.js +23 -23
- package/dist/esm/YoutubeGroup.js +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getSerializers.js +8 -9
- package/dist/esm/{getTargeting-2302c1b4.js → getTargeting-0958ad0e.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-2446af28.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index-d2fb744b.js → index-f354da27.js} +339 -339
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-e874e770.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +39 -40
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +109 -109
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- /package/dist/cjs/{ADInfeed-77f334bb.js → ADInfeed-d9976673.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-0664c67f.js → ADlgInfeed-0610e1bb.js} +0 -0
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -2,14 +2,14 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8
|
|
|
2
2
|
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
3
|
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
5
|
-
import
|
|
5
|
+
import React__default, { useState, useRef, useEffect } from 'react';
|
|
6
6
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
7
|
-
import { I as InfiniteScroll } from './index.es-
|
|
8
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
9
|
-
import { m as main_43 } from './main-
|
|
7
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
9
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
10
10
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
|
-
import { l as lib_3 } from './index-
|
|
12
|
+
import { l as lib_3 } from './index-5cc7b406.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './es6.string.iterator-bc33758b.js';
|
|
15
15
|
import './_to-object-b50e61c3.js';
|
|
@@ -20,7 +20,6 @@ import './_iter-detect-7e5e5ce2.js';
|
|
|
20
20
|
import 'react-dom';
|
|
21
21
|
import './isSymbol-a7e9aafe.js';
|
|
22
22
|
import './toNumber-5aeba6e7.js';
|
|
23
|
-
import './events-6c3a7a63.js';
|
|
24
23
|
import 'prop-types';
|
|
25
24
|
|
|
26
25
|
var itemsPerPage = 12;
|
|
@@ -199,94 +198,94 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
199
198
|
|
|
200
199
|
var cardLoader = function cardLoader() {
|
|
201
200
|
var numberOfItemsBeforeAd = 6;
|
|
202
|
-
return
|
|
201
|
+
return React__default.createElement(
|
|
203
202
|
'div',
|
|
204
203
|
{ id: 'ceToggles' },
|
|
205
|
-
|
|
204
|
+
React__default.createElement(
|
|
206
205
|
'div',
|
|
207
206
|
{ style: { width: 'max-content', padding: '0.5rem' } },
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
React__default.createElement('img', { src: 'https://gotoper-com.s3.amazonaws.com/_media/_image/PER_Logo.svg', style: { width: '100%', maxWidth: '10rem', marginBottom: '1rem' }, alt: 'per logo' }),
|
|
208
|
+
React__default.createElement(
|
|
210
209
|
'p',
|
|
211
210
|
{ style: { margin: '0', fontWeight: '700', width: '100%', textAlign: 'center', fontSize: '1rem' } },
|
|
212
211
|
'Physician Education'
|
|
213
212
|
)
|
|
214
213
|
),
|
|
215
|
-
|
|
214
|
+
React__default.createElement(
|
|
216
215
|
Row,
|
|
217
216
|
null,
|
|
218
217
|
data && data.map(function (row, index) {
|
|
219
218
|
var pageNumber = row.pageNumber || 1;
|
|
220
|
-
return
|
|
221
|
-
|
|
219
|
+
return React__default.createElement(
|
|
220
|
+
React__default.Fragment,
|
|
222
221
|
{ key: index },
|
|
223
|
-
|
|
222
|
+
React__default.createElement(
|
|
224
223
|
VisibilitySensor,
|
|
225
224
|
{
|
|
226
225
|
onChange: function onChange(isVisible) {
|
|
227
226
|
isVisible && changePageNumber(pageNumber);
|
|
228
227
|
} },
|
|
229
|
-
variant === 'left' ?
|
|
228
|
+
variant === 'left' ? React__default.createElement(
|
|
230
229
|
Col,
|
|
231
230
|
{ xl: 12, style: { marginBottom: '1rem' } },
|
|
232
|
-
|
|
231
|
+
React__default.createElement(
|
|
233
232
|
Row,
|
|
234
233
|
null,
|
|
235
|
-
|
|
234
|
+
React__default.createElement(
|
|
236
235
|
Col,
|
|
237
236
|
{ xs: 3, sm: 4, md: 4, lg: 4, xl: 4, style: { padding: '0' } },
|
|
238
|
-
|
|
237
|
+
React__default.createElement(
|
|
239
238
|
'a',
|
|
240
239
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
241
|
-
|
|
240
|
+
React__default.createElement('img', { style: { width: '100%', borderRadius: '0 0 0 10%', marginBottom: '20px', borderTop: '1px solid #EEE' }, src: row.thumbnail })
|
|
242
241
|
)
|
|
243
242
|
),
|
|
244
|
-
|
|
243
|
+
React__default.createElement(
|
|
245
244
|
Col,
|
|
246
245
|
{ xs: 9, sm: 8, md: 8, lg: 8, xl: 8, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
|
|
247
|
-
|
|
246
|
+
React__default.createElement(
|
|
248
247
|
'a',
|
|
249
248
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: row.title } }),
|
|
250
|
+
React__default.createElement(
|
|
252
251
|
'p',
|
|
253
252
|
{ className: 'mb-2' },
|
|
254
253
|
row.date
|
|
255
254
|
),
|
|
256
|
-
|
|
255
|
+
React__default.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
257
256
|
)
|
|
258
257
|
)
|
|
259
258
|
)
|
|
260
|
-
) :
|
|
259
|
+
) : React__default.createElement(
|
|
261
260
|
Row,
|
|
262
261
|
{ style: { margin: '0', padding: '0' } },
|
|
263
|
-
|
|
262
|
+
React__default.createElement(
|
|
264
263
|
Col,
|
|
265
264
|
{ xs: 9, sm: 8, lg: 8, xl: 8 },
|
|
266
|
-
|
|
265
|
+
React__default.createElement(
|
|
267
266
|
'a',
|
|
268
267
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: row.title } }),
|
|
269
|
+
React__default.createElement(
|
|
271
270
|
'p',
|
|
272
271
|
null,
|
|
273
272
|
row.date
|
|
274
273
|
),
|
|
275
|
-
|
|
274
|
+
React__default.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
276
275
|
)
|
|
277
276
|
),
|
|
278
|
-
|
|
277
|
+
React__default.createElement(
|
|
279
278
|
Col,
|
|
280
279
|
{ xs: 3, sm: 4, lg: 4, xl: 4 },
|
|
281
|
-
|
|
280
|
+
React__default.createElement(
|
|
282
281
|
'a',
|
|
283
282
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
284
|
-
|
|
283
|
+
React__default.createElement('img', { style: { width: '100%', borderRadius: '0 0 10% 0' }, src: row.thumbnail && urlFor(row.thumbnail.asset).url() })
|
|
285
284
|
)
|
|
286
285
|
)
|
|
287
286
|
)
|
|
288
287
|
),
|
|
289
|
-
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 &&
|
|
288
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
290
289
|
'div',
|
|
291
290
|
{ style: { margin: '0 auto' } },
|
|
292
291
|
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
@@ -299,7 +298,7 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
299
298
|
|
|
300
299
|
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
301
300
|
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
302
|
-
return
|
|
301
|
+
return React__default.createElement(
|
|
303
302
|
Col,
|
|
304
303
|
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
305
304
|
rightItems[i].component
|
|
@@ -308,11 +307,11 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
308
307
|
|
|
309
308
|
var renderManualPagination = function renderManualPagination() {
|
|
310
309
|
var currentPage = 1;
|
|
311
|
-
return
|
|
310
|
+
return React__default.createElement(
|
|
312
311
|
'div',
|
|
313
312
|
{ className: 'd-flex justify-content-between' },
|
|
314
313
|
currentPage > 1 ,
|
|
315
|
-
|
|
314
|
+
React__default.createElement(
|
|
316
315
|
'a',
|
|
317
316
|
{ href: '?page=' + (currentPage + 1) },
|
|
318
317
|
'Next >>'
|
|
@@ -321,13 +320,13 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
321
320
|
};
|
|
322
321
|
|
|
323
322
|
if (isLoading) {
|
|
324
|
-
return
|
|
323
|
+
return React__default.createElement(
|
|
325
324
|
'div',
|
|
326
325
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
327
|
-
|
|
326
|
+
React__default.createElement(
|
|
328
327
|
Spinner,
|
|
329
328
|
{ animation: 'border', role: 'status' },
|
|
330
|
-
|
|
329
|
+
React__default.createElement(
|
|
331
330
|
'span',
|
|
332
331
|
{ className: 'sr-only' },
|
|
333
332
|
'Loading...'
|
|
@@ -337,69 +336,69 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
337
336
|
}
|
|
338
337
|
|
|
339
338
|
if (data.length > 0) {
|
|
340
|
-
return
|
|
339
|
+
return React__default.createElement(
|
|
341
340
|
'div',
|
|
342
341
|
{ className: 'contentDeck' },
|
|
343
|
-
autoScroll ?
|
|
344
|
-
|
|
342
|
+
autoScroll ? React__default.createElement(
|
|
343
|
+
React__default.Fragment,
|
|
345
344
|
null,
|
|
346
|
-
|
|
345
|
+
React__default.createElement(
|
|
347
346
|
'style',
|
|
348
347
|
{ jsx: true },
|
|
349
348
|
'\n .infinite-scroll-component {\n overflow: hidden !important;\n }\n '
|
|
350
349
|
),
|
|
351
|
-
|
|
350
|
+
React__default.createElement(
|
|
352
351
|
InfiniteScroll,
|
|
353
352
|
{
|
|
354
353
|
dataLength: data.length,
|
|
355
354
|
next: loadMore,
|
|
356
355
|
hasMore: scrolling,
|
|
357
356
|
scrollThreshold: 0.9,
|
|
358
|
-
loader:
|
|
357
|
+
loader: React__default.createElement(
|
|
359
358
|
'div',
|
|
360
359
|
{ style: { textAlign: 'center' } },
|
|
361
|
-
|
|
360
|
+
React__default.createElement(
|
|
362
361
|
Spinner,
|
|
363
362
|
{ animation: 'border', role: 'status' },
|
|
364
|
-
|
|
363
|
+
React__default.createElement(
|
|
365
364
|
'span',
|
|
366
365
|
{ className: 'sr-only' },
|
|
367
366
|
'Loading...'
|
|
368
367
|
)
|
|
369
368
|
)
|
|
370
369
|
),
|
|
371
|
-
endMessage:
|
|
370
|
+
endMessage: React__default.createElement(
|
|
372
371
|
'p',
|
|
373
372
|
{ style: { textAlign: 'center' } },
|
|
374
|
-
|
|
373
|
+
React__default.createElement(
|
|
375
374
|
'b',
|
|
376
375
|
null,
|
|
377
376
|
'Yay! You have seen it all'
|
|
378
377
|
)
|
|
379
378
|
) },
|
|
380
|
-
|
|
379
|
+
React__default.createElement(
|
|
381
380
|
Container,
|
|
382
381
|
null,
|
|
383
382
|
cardLoader()
|
|
384
383
|
)
|
|
385
384
|
),
|
|
386
|
-
|
|
385
|
+
React__default.createElement(
|
|
387
386
|
'noscript',
|
|
388
387
|
null,
|
|
389
388
|
renderManualPagination()
|
|
390
389
|
)
|
|
391
|
-
) :
|
|
392
|
-
|
|
390
|
+
) : React__default.createElement(
|
|
391
|
+
React__default.Fragment,
|
|
393
392
|
null,
|
|
394
|
-
|
|
393
|
+
React__default.createElement(
|
|
395
394
|
Container,
|
|
396
395
|
null,
|
|
397
396
|
cardLoader()
|
|
398
397
|
),
|
|
399
|
-
|
|
398
|
+
React__default.createElement(
|
|
400
399
|
'div',
|
|
401
400
|
{ style: { padding: '0px 10px' } },
|
|
402
|
-
scrolling ?
|
|
401
|
+
scrolling ? React__default.createElement(
|
|
403
402
|
'button',
|
|
404
403
|
{
|
|
405
404
|
style: { margin: 'auto', width: '100%' },
|
|
@@ -407,17 +406,17 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
407
406
|
loadMore();
|
|
408
407
|
} },
|
|
409
408
|
'Load More'
|
|
410
|
-
) :
|
|
409
|
+
) : React__default.createElement(
|
|
411
410
|
'p',
|
|
412
411
|
{ style: { textAlign: 'center' } },
|
|
413
|
-
|
|
412
|
+
React__default.createElement(
|
|
414
413
|
'b',
|
|
415
414
|
null,
|
|
416
415
|
'End of data'
|
|
417
416
|
)
|
|
418
417
|
)
|
|
419
418
|
),
|
|
420
|
-
|
|
419
|
+
React__default.createElement(
|
|
421
420
|
'noscript',
|
|
422
421
|
null,
|
|
423
422
|
renderManualPagination()
|
|
@@ -425,10 +424,10 @@ var CMEDeck = function CMEDeck(_ref) {
|
|
|
425
424
|
)
|
|
426
425
|
);
|
|
427
426
|
} else {
|
|
428
|
-
return
|
|
427
|
+
return React__default.createElement(
|
|
429
428
|
'div',
|
|
430
429
|
null,
|
|
431
|
-
|
|
430
|
+
React__default.createElement(
|
|
432
431
|
'div',
|
|
433
432
|
null,
|
|
434
433
|
'No data found '
|
package/dist/esm/Column1.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Row from 'react-bootstrap/Row';
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
|
|
5
5
|
var Column1 = function Column1(props) {
|
|
6
6
|
var title = props.title;
|
|
7
7
|
|
|
8
|
-
return
|
|
8
|
+
return React__default.createElement(
|
|
9
9
|
'section',
|
|
10
10
|
null,
|
|
11
|
-
|
|
11
|
+
React__default.createElement(
|
|
12
12
|
Row,
|
|
13
13
|
{ className: 'justify-content-md-center' },
|
|
14
|
-
|
|
14
|
+
React__default.createElement(
|
|
15
15
|
Col,
|
|
16
16
|
{ className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
17
|
-
title &&
|
|
17
|
+
title && React__default.createElement(
|
|
18
18
|
'h1',
|
|
19
19
|
null,
|
|
20
20
|
title
|
package/dist/esm/Column2.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Row from 'react-bootstrap/Row';
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
import SideFooter from './SideFooter.js';
|
|
5
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
5
|
+
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
6
6
|
import './defineProperty-f5ff6f5a.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './define-property-fe54dc9f.js';
|
|
9
9
|
import './_to-object-b50e61c3.js';
|
|
10
|
-
import './react-social-icons-
|
|
10
|
+
import './react-social-icons-9be47857.js';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import './get-3c308da4.js';
|
|
13
13
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -26,37 +26,37 @@ var Column2 = function Column2(props) {
|
|
|
26
26
|
website = props.website;
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
'section',
|
|
31
31
|
null,
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
Row,
|
|
34
34
|
{ className: 'justify-content-md-center' },
|
|
35
|
-
|
|
35
|
+
React__default.createElement(
|
|
36
36
|
Col,
|
|
37
37
|
{ md: true, className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
38
|
-
title &&
|
|
38
|
+
title && React__default.createElement(
|
|
39
39
|
'h1',
|
|
40
40
|
null,
|
|
41
41
|
title
|
|
42
42
|
),
|
|
43
43
|
props.children
|
|
44
44
|
),
|
|
45
|
-
|
|
45
|
+
React__default.createElement(
|
|
46
46
|
Col,
|
|
47
47
|
{ xs: 12, className: 'rightCol' },
|
|
48
|
-
website && website.conferenceBannerContent &&
|
|
49
|
-
|
|
48
|
+
website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'sticky-top', style: { top: '60px' } },
|
|
52
52
|
rightItems && rightItems.map(function (row, index) {
|
|
53
|
-
return
|
|
53
|
+
return React__default.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ key: index },
|
|
56
56
|
row.component
|
|
57
57
|
);
|
|
58
58
|
}),
|
|
59
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
59
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website })
|
|
60
60
|
)
|
|
61
61
|
)
|
|
62
62
|
)
|
package/dist/esm/Column3.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default, { useRef, useEffect } from 'react';
|
|
2
2
|
import ADSponsoredResources from './ADSponsoredResources.js';
|
|
3
3
|
import Row from 'react-bootstrap/Row';
|
|
4
4
|
import Col from 'react-bootstrap/Col';
|
|
5
5
|
import LeftNav from './LeftNav.js';
|
|
6
6
|
import SideFooter from './SideFooter.js';
|
|
7
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
7
|
+
import { C as ConferenceBanner } from './ConferenceBanner-8792ebd2.js';
|
|
8
8
|
import PageFilter from './PageFilter.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
10
10
|
import './slicedToArray-be2f7a22.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './web.dom.iterable-4109ff68.js';
|
|
@@ -17,8 +17,7 @@ import './AdSlot.js';
|
|
|
17
17
|
import './extends-f076879e.js';
|
|
18
18
|
import './_object-pie-133f504a.js';
|
|
19
19
|
import 'prop-types';
|
|
20
|
-
import './index-
|
|
21
|
-
import './events-6c3a7a63.js';
|
|
20
|
+
import './index-5cc7b406.js';
|
|
22
21
|
import './debounce-533d9748.js';
|
|
23
22
|
import './isSymbol-a7e9aafe.js';
|
|
24
23
|
import './toNumber-5aeba6e7.js';
|
|
@@ -32,7 +31,7 @@ import 'react-bootstrap/ListGroup';
|
|
|
32
31
|
import './ADWebcast.js';
|
|
33
32
|
import './defineProperty-f5ff6f5a.js';
|
|
34
33
|
import './define-property-fe54dc9f.js';
|
|
35
|
-
import './react-social-icons-
|
|
34
|
+
import './react-social-icons-9be47857.js';
|
|
36
35
|
import './get-3c308da4.js';
|
|
37
36
|
import './eq-bdcbf886.js';
|
|
38
37
|
import 'react-bootstrap';
|
|
@@ -71,62 +70,62 @@ var Column3 = function Column3(props) {
|
|
|
71
70
|
}
|
|
72
71
|
}, []);
|
|
73
72
|
|
|
74
|
-
return
|
|
73
|
+
return React__default.createElement(
|
|
75
74
|
'section',
|
|
76
75
|
null,
|
|
77
|
-
|
|
76
|
+
React__default.createElement(
|
|
78
77
|
Row,
|
|
79
78
|
{ className: 'justify-content-md-center' },
|
|
80
|
-
|
|
79
|
+
React__default.createElement(
|
|
81
80
|
Col,
|
|
82
81
|
{ md: true, className: 'leftCol', style: { width: '200px' } },
|
|
83
|
-
|
|
84
|
-
website && website.sponsoredAd &&
|
|
85
|
-
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide &&
|
|
82
|
+
React__default.createElement(LeftNav, { leftItems: leftItems }),
|
|
83
|
+
website && website.sponsoredAd && React__default.createElement(ADSponsoredResources, { sponsoredAd: website.sponsoredAd }),
|
|
84
|
+
website && website.sideFooterContent && website.sideFooterContent.length && website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
86
85
|
),
|
|
87
|
-
|
|
86
|
+
React__default.createElement(
|
|
88
87
|
Col,
|
|
89
88
|
{ md: true, className: 'middleCol', style: { maxWidth: '640px', marginTop: !title && '10px' } },
|
|
90
|
-
showFilter ?
|
|
89
|
+
showFilter ? React__default.createElement(
|
|
91
90
|
'div',
|
|
92
91
|
{ className: 'title-wrap' },
|
|
93
|
-
|
|
92
|
+
React__default.createElement(
|
|
94
93
|
'h1',
|
|
95
94
|
{ className: 'title' },
|
|
96
95
|
title
|
|
97
96
|
),
|
|
98
|
-
|
|
97
|
+
React__default.createElement(
|
|
99
98
|
'div',
|
|
100
99
|
{ className: 'filter-box' },
|
|
101
|
-
|
|
100
|
+
React__default.createElement(PageFilter, { getParams: getParams, filters: filters, defaultFilter: defaultFilter })
|
|
102
101
|
)
|
|
103
|
-
) : title &&
|
|
102
|
+
) : title && React__default.createElement(
|
|
104
103
|
'h1',
|
|
105
104
|
{ className: 'title' },
|
|
106
105
|
title
|
|
107
106
|
),
|
|
108
107
|
props.children
|
|
109
108
|
),
|
|
110
|
-
|
|
109
|
+
React__default.createElement(
|
|
111
110
|
'style',
|
|
112
111
|
{ jsx: 'true' },
|
|
113
112
|
'\n .filter-box {\n float: right;\n padding-top: 6px;\n padding-right: 18px;\n }\n @media only screen and (min-width: 768px) {\n .title-wrap {\n display: flex;\n justify-content: space-between;\n }\n }\n @media only screen and (max-width: 767px) {\n /* .filter-box {\n float: right;\n display: flex;\n justify-content: flex-end;\n } */\n .title-wrap {\n display: flex;\n flex-direction: column;\n margin-bottom: 10px;\n }\n }\n '
|
|
114
113
|
),
|
|
115
|
-
(!main_43 || showRightAd) &&
|
|
114
|
+
(!main_43 || showRightAd) && React__default.createElement(
|
|
116
115
|
Col,
|
|
117
116
|
{ xs: 12, className: 'rightCol' },
|
|
118
|
-
website && website.conferenceBannerContent &&
|
|
119
|
-
|
|
117
|
+
website && website.conferenceBannerContent && React__default.createElement(ConferenceBanner, { website: website }),
|
|
118
|
+
React__default.createElement(
|
|
120
119
|
'div',
|
|
121
120
|
{ ref: adRef },
|
|
122
121
|
rightItems && rightItems.map(function (row, index) {
|
|
123
|
-
return
|
|
122
|
+
return React__default.createElement(
|
|
124
123
|
'div',
|
|
125
124
|
{ key: index },
|
|
126
125
|
row.component
|
|
127
126
|
);
|
|
128
127
|
}),
|
|
129
|
-
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide &&
|
|
128
|
+
website && website.sideFooterContent && website.sideFooterContent.length && !website.showFooterOnLeftSide && React__default.createElement(SideFooter, { website: website, cache: website.cache, logo: logo })
|
|
130
129
|
)
|
|
131
130
|
)
|
|
132
131
|
)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
|
|
6
|
-
/*
|
|
7
|
-
Example usage - targetedonc.com/latest-conference
|
|
8
|
-
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
9
|
-
...,
|
|
10
|
-
title,
|
|
11
|
-
summary,
|
|
12
|
-
thumbnail,
|
|
13
|
-
url,
|
|
14
|
-
published,
|
|
15
|
-
documentGroup->,
|
|
16
|
-
contentCategory->,
|
|
17
|
-
'pageNumber': ${currentPage}
|
|
18
|
-
}`
|
|
19
|
-
|
|
20
|
-
const posts = await client.fetch(query, params)
|
|
6
|
+
/*
|
|
7
|
+
Example usage - targetedonc.com/latest-conference
|
|
8
|
+
const query = `*[!(_id in path("drafts.**")) && _type == "article" && defined(title) && is_visible == true && published <= '${today}' && references('b49d36b8-aa56-4183-a2bc-1568c229fb72') ] | order(published desc) [$from...$to] {
|
|
9
|
+
...,
|
|
10
|
+
title,
|
|
11
|
+
summary,
|
|
12
|
+
thumbnail,
|
|
13
|
+
url,
|
|
14
|
+
published,
|
|
15
|
+
documentGroup->,
|
|
16
|
+
contentCategory->,
|
|
17
|
+
'pageNumber': ${currentPage}
|
|
18
|
+
}`
|
|
19
|
+
|
|
20
|
+
const posts = await client.fetch(query, params)
|
|
21
21
|
*/
|
|
22
22
|
|
|
23
23
|
var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
@@ -34,51 +34,51 @@ var ConferenceArticleCard = function ConferenceArticleCard(props) {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
// title, thumbnail, summary, published, documentGroup.identifier.current, documentGroup.identifier.name
|
|
37
|
-
return
|
|
37
|
+
return React__default.createElement(
|
|
38
38
|
'div',
|
|
39
39
|
{ className: 'conference-media' },
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'a',
|
|
42
42
|
{ className: 'img-wrapper', href: '/view/' + (data.url ? data.url.current : '') },
|
|
43
|
-
|
|
43
|
+
React__default.createElement('img', {
|
|
44
44
|
className: 'mr-3 img-fluid',
|
|
45
45
|
src: data.thumbnail && urlFor(data.thumbnail.asset).width(350).url(),
|
|
46
46
|
alt: data.title
|
|
47
47
|
})
|
|
48
48
|
),
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'div',
|
|
51
51
|
{ className: 'media-body' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement(
|
|
53
53
|
'a',
|
|
54
54
|
{ href: '/view/' + (data.url ? data.url.current : '') },
|
|
55
|
-
|
|
55
|
+
React__default.createElement(
|
|
56
56
|
'h4',
|
|
57
57
|
{ className: 'conf-media__card-title' },
|
|
58
58
|
data.title
|
|
59
59
|
)
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'p',
|
|
63
63
|
{ className: 'conf-media__card-text' },
|
|
64
64
|
moment(data.published).format('MMMM Do YYYY, h:mma')
|
|
65
65
|
),
|
|
66
|
-
|
|
66
|
+
React__default.createElement(
|
|
67
67
|
'p',
|
|
68
68
|
{ className: 'mb-1 conference-group' },
|
|
69
|
-
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ?
|
|
69
|
+
data.documentGroup && data.documentGroup.identifier && (data.documentGroup.identifier.current.includes('/') ? React__default.createElement(
|
|
70
70
|
'a',
|
|
71
71
|
{ href: '/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
72
72
|
data.documentGroup.name
|
|
73
|
-
) :
|
|
73
|
+
) : React__default.createElement(
|
|
74
74
|
'a',
|
|
75
75
|
{ href: '/conference/' + data.documentGroup.identifier.current, alt: data.thumbnail && data.thumbnail.alt || data.title },
|
|
76
76
|
data.documentGroup.name
|
|
77
77
|
))
|
|
78
78
|
),
|
|
79
|
-
|
|
79
|
+
React__default.createElement('p', { className: 'pt-2 card-text', dangerouslySetInnerHTML: { __html: data.summary } })
|
|
80
80
|
),
|
|
81
|
-
|
|
81
|
+
React__default.createElement(
|
|
82
82
|
'style',
|
|
83
83
|
{ jsx: 'true' },
|
|
84
84
|
'\n .conference-media {\n display: flex;\n flex-direction: row;\n margin-bottom: 1.25rem;\n padding-bottom: 1.25rem;\n border-bottom: 1px solid #ddd;\n }\n .conf-media__card-title {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.5rem;\n font-size: 1.5rem;\n }\n .conf-media__card-text {\n color: var(--dark);\n margin-bottom: 0.25rem;\n }\n .conference-media a img {\n width: 175px;\n min-width: 175px;\n height: auto;\n object-fit: contain;\n }\n .conference-media .conference-group {\n background: #003767;\n color: white;\n border-radius: 5px;\n display: inline-block;\n padding: 0 0.25rem;\n }\n .conference-media .conference-group a {\n color: white;\n font-size: 0.8rem;\n }\n @media screen and (max-width: 1064px) {\n .conf-media__card-title {\n font-size: 1.1rem;\n }\n }\n @media screen and (max-width: 768px) {\n .conference-media {\n flex-direction: column;\n }\n .conference-media a img {\n width: 100%;\n height: auto;\n max-height: 175px;\n object-fit: contain;\n margin-bottom: 1rem;\n }\n }\n '
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
var ConferenceBanner = function ConferenceBanner(props) {
|
|
4
4
|
var website = props.website;
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
return
|
|
7
|
+
return React__default.createElement(
|
|
8
8
|
"div",
|
|
9
9
|
{ className: "conf-img" },
|
|
10
|
-
|
|
10
|
+
React__default.createElement(
|
|
11
11
|
"a",
|
|
12
12
|
{ href: website.conferenceBannerContent.href },
|
|
13
|
-
|
|
13
|
+
React__default.createElement("img", { src: website.conferenceBannerContent.src, alt: website.conferenceBannerContent.alt })
|
|
14
14
|
)
|
|
15
15
|
);
|
|
16
16
|
};
|