@mjhls/mjh-framework 1.0.861-beta.0 → 1.0.861
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 +168 -168
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +11 -11
- package/dist/cjs/AD300x250x600.js +11 -11
- package/dist/cjs/AD728x90.js +12 -12
- package/dist/cjs/ADFloatingFooter.js +13 -13
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +13 -13
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-ff26342c.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +13 -13
- package/dist/cjs/ADSponsoredResources.js +13 -13
- package/dist/cjs/ADWebcast.js +13 -13
- package/dist/cjs/ADWelcome.js +17 -17
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-ad4953d4.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +15 -15
- package/dist/cjs/AdSlotsProvider.js +11 -903
- package/dist/cjs/AlgoliaSearch.js +49 -14012
- package/dist/cjs/AlphabeticList.js +17 -16
- package/dist/cjs/ArticleCarousel.js +12 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -24
- package/dist/cjs/ArticleSeriesLandingPage.js +21 -21
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +237 -1197
- package/dist/cjs/AuthWrapper.js +26 -561
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -65
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +36 -34
- package/dist/cjs/ConferenceArticleCard.js +33 -32
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +85 -82
- package/dist/cjs/DeckQueue.js +73 -70
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-0bf098b5.js} +23 -23
- package/dist/cjs/EventsDeck.js +141 -134
- package/dist/cjs/ExternalResources.js +49 -48
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +209 -205
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +130 -125
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +39 -38
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +66 -61
- package/dist/cjs/IssueLanding.js +60 -59
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +23 -22
- package/dist/cjs/MasterDeck.js +59 -59
- package/dist/cjs/MediaSeriesLanding.js +801 -909
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +131 -126
- package/dist/cjs/NavNative.js +125 -117
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +288 -188
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +114 -110
- package/dist/cjs/QueueDeckExpanded.js +286 -287
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +51 -50
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -27
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-60fa1342.js} +38 -37
- package/dist/cjs/SideFooter.js +26 -25
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +60 -55
- package/dist/cjs/TaxonomyDescription.js +24 -23
- package/dist/cjs/TemplateNormal.js +36 -36
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +45 -41
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +26 -26
- package/dist/cjs/VideoSeriesListing.js +58 -58
- package/dist/cjs/View.js +206 -202
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +55 -54
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/{extends-0a918631.js → extends-60837c34.js} +0 -1
- package/dist/cjs/faundadb.js +1 -1
- package/dist/cjs/getRelatedArticle.js +67 -131
- package/dist/cjs/getSerializers.js +13 -13
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-3e45e4d4.js} +11 -11
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-98e01cb9.js → index-44481153.js} +494 -47
- package/dist/cjs/{index-edb47fba.js → index-87d0db67.js} +954 -1182
- package/dist/cjs/{index-3294d3bc.js → index-99edf08a.js} +1 -1
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +65 -61
- package/dist/cjs/{inherits-452ff02c.js → inherits-87492b40.js} +1 -4
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +8 -9
- package/dist/esm/AD300x250x600.js +8 -9
- package/dist/esm/AD728x90.js +9 -10
- package/dist/esm/ADFloatingFooter.js +10 -11
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -11
- package/dist/esm/{ADInfeed-1cc9d817.js → ADInfeed-422ad6e6.js} +7 -7
- package/dist/esm/ADSkyscraper.js +10 -11
- package/dist/esm/ADSponsoredResources.js +10 -11
- package/dist/esm/ADWebcast.js +10 -11
- package/dist/esm/ADWelcome.js +14 -15
- package/dist/esm/{ADlgInfeed-8c4f129e.js → ADlgInfeed-f7468db8.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +6 -7
- package/dist/esm/AdSlotsProvider.js +10 -903
- package/dist/esm/AlgoliaSearch.js +41 -14005
- package/dist/esm/AlphabeticList.js +14 -14
- package/dist/esm/ArticleCarousel.js +9 -9
- package/dist/esm/ArticleProgramLandingPage.js +22 -22
- package/dist/esm/ArticleSeriesLandingPage.js +18 -19
- package/dist/esm/ArticleSeriesListing.js +37 -38
- package/dist/esm/Auth.js +217 -1181
- package/dist/esm/AuthWrapper.js +24 -561
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +31 -32
- package/dist/esm/ConferenceArticleCard.js +30 -30
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +77 -78
- package/dist/esm/DeckQueue.js +65 -66
- package/dist/esm/{Dfp-b7236041.js → Dfp-85c9513e.js} +10 -11
- package/dist/esm/EventsDeck.js +110 -110
- package/dist/esm/ExternalResources.js +43 -43
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +173 -174
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +100 -100
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +36 -36
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +55 -55
- package/dist/esm/IssueLanding.js +57 -57
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -18
- package/dist/esm/MasterDeck.js +55 -56
- package/dist/esm/MediaSeriesLanding.js +561 -672
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +103 -103
- package/dist/esm/NavNative.js +92 -92
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +178 -79
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +18 -19
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +96 -96
- package/dist/esm/QueueDeckExpanded.js +252 -253
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +45 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +21 -22
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-05ecb544.js} +28 -28
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +51 -51
- package/dist/esm/TaxonomyDescription.js +18 -18
- package/dist/esm/TemplateNormal.js +32 -33
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +34 -34
- package/dist/esm/VideoSeriesCard.js +18 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +18 -19
- package/dist/esm/VideoSeriesListing.js +54 -55
- package/dist/esm/View.js +185 -185
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +39 -39
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/{extends-6f2fcc99.js → extends-eb69e8ac.js} +1 -1
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +13 -13
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-9cb7e014.js} +10 -10
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{index-41a678ea.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-3dcc1323.js → index-20e503c9.js} +900 -1139
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-fa2ffe86.js} +1 -1
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +54 -53
- package/dist/esm/{inherits-cf8dde54.js → inherits-0d8cda6e.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-e2e62963.js +0 -89
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-aaa2dae0.js +0 -85
- package/dist/esm/inherits-77d5e4fc.js +0 -101
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React, { useEffect, useState, useRef } from 'react';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
3
3
|
|
|
4
4
|
var AuthorComponent = function AuthorComponent(_ref) {
|
|
@@ -13,15 +13,15 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
if (displayName && url && url.current) {
|
|
16
|
-
return
|
|
16
|
+
return React.createElement(
|
|
17
17
|
'span',
|
|
18
18
|
{ key: _id },
|
|
19
|
-
index === 0 &&
|
|
19
|
+
index === 0 && React.createElement(
|
|
20
20
|
'span',
|
|
21
21
|
{ className: 'pr-1' },
|
|
22
22
|
'By'
|
|
23
23
|
),
|
|
24
|
-
|
|
24
|
+
React.createElement(
|
|
25
25
|
'a',
|
|
26
26
|
{ href: '/authors/' + url.current, className: 'author-name', style: { color: '#000', fontWeight: 'bold' } },
|
|
27
27
|
displayName
|
|
@@ -29,15 +29,15 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
29
29
|
length !== index + 1 && ', '
|
|
30
30
|
);
|
|
31
31
|
} else if (displayName) {
|
|
32
|
-
return
|
|
32
|
+
return React.createElement(
|
|
33
33
|
'span',
|
|
34
34
|
{ key: _id },
|
|
35
|
-
index === 0 &&
|
|
35
|
+
index === 0 && React.createElement(
|
|
36
36
|
'span',
|
|
37
37
|
{ className: 'pr-1' },
|
|
38
38
|
'By'
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React.createElement(
|
|
41
41
|
'span',
|
|
42
42
|
{ className: 'author-name', style: { color: '#000', fontWeight: 'bold' } },
|
|
43
43
|
displayName,
|
|
@@ -70,16 +70,16 @@ var AuthorComponent = function AuthorComponent(_ref) {
|
|
|
70
70
|
var overlayRef = useRef(null);
|
|
71
71
|
var authorRef = useRef(null);
|
|
72
72
|
|
|
73
|
-
return
|
|
73
|
+
return React.createElement(
|
|
74
74
|
'div',
|
|
75
75
|
{ id: 'author-sec' + index, ref: authorRef },
|
|
76
|
-
hideContent &&
|
|
76
|
+
hideContent && React.createElement('div', { onClick: function onClick() {
|
|
77
77
|
return onOverlayClick();
|
|
78
78
|
}, ref: overlayRef, id: 'overlay-content' + index }),
|
|
79
79
|
authors.map(function (authorDetail, index) {
|
|
80
80
|
return renderAuthor(authorDetail, index, authors.length);
|
|
81
81
|
}),
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
'style',
|
|
84
84
|
{ jsx: true },
|
|
85
85
|
'\n #author-sec' + index + ' {\n line-height: 25px;\n position: relative;\n height: auto;\n // max-height: 50px;\n }\n .hide-content {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n }\n #overlay-content' + index + ' {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n z-index: 1000;\n }\n '
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import { n as node } from './index-
|
|
3
|
+
import { n as node } from './index-51a80699.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
6
|
object-assign
|
|
@@ -829,7 +829,7 @@ var internals$1 = internals;
|
|
|
829
829
|
|
|
830
830
|
var getSerializers = internals$1.getSerializers;
|
|
831
831
|
|
|
832
|
-
var renderNode =
|
|
832
|
+
var renderNode = React.createElement;
|
|
833
833
|
|
|
834
834
|
var _getSerializers = getSerializers(renderNode),
|
|
835
835
|
defaultSerializers = _getSerializers.defaultSerializers,
|
|
@@ -849,7 +849,7 @@ var getImageUrl$1 = internals$1.getImageUrl,
|
|
|
849
849
|
blocksToNodes$1 = internals$1.blocksToNodes,
|
|
850
850
|
mergeSerializers$1 = internals$1.mergeSerializers;
|
|
851
851
|
|
|
852
|
-
var renderNode$1 =
|
|
852
|
+
var renderNode$1 = React.createElement;
|
|
853
853
|
|
|
854
854
|
var SanityBlockContent = function SanityBlockContent(props) {
|
|
855
855
|
var customSerializers = mergeSerializers$1(SanityBlockContent.defaultSerializers, props.serializers);
|
package/dist/esm/Breadcrumbs.js
CHANGED
|
@@ -3,7 +3,7 @@ import './_to-object-a4107da3.js';
|
|
|
3
3
|
import './es6.string.iterator-c990c18c.js';
|
|
4
4
|
import './core.get-iterator-method-e1de7503.js';
|
|
5
5
|
import './web.dom.iterable-4439f05a.js';
|
|
6
|
-
import
|
|
6
|
+
import React, { useState, useEffect } from 'react';
|
|
7
7
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
8
8
|
import Breadcrumb from 'react-bootstrap/Breadcrumb';
|
|
9
9
|
|
|
@@ -48,17 +48,17 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
48
48
|
}, []);
|
|
49
49
|
|
|
50
50
|
if (data && data.length > 0) {
|
|
51
|
-
return
|
|
51
|
+
return React.createElement(
|
|
52
52
|
Breadcrumb,
|
|
53
53
|
null,
|
|
54
54
|
data.map(function (item, index) {
|
|
55
|
-
return
|
|
55
|
+
return React.createElement(
|
|
56
56
|
Breadcrumb.Item,
|
|
57
57
|
{ key: index, href: item.url, active: item.isActive || false },
|
|
58
58
|
item.name
|
|
59
59
|
);
|
|
60
60
|
}),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'style',
|
|
63
63
|
{ jsx: 'true' },
|
|
64
64
|
'\n .breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb .breadcrumb-item + .breadcrumb-item::before {\n content: \'' + separator + '\';\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
|
|
@@ -66,30 +66,30 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
66
66
|
);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
return
|
|
69
|
+
return React.createElement(
|
|
70
70
|
Breadcrumb,
|
|
71
71
|
null,
|
|
72
|
-
|
|
72
|
+
React.createElement(
|
|
73
73
|
Breadcrumb.Item,
|
|
74
74
|
{ href: '/' },
|
|
75
75
|
'home'
|
|
76
76
|
),
|
|
77
|
-
parentPath.split('/').length > 1 &&
|
|
77
|
+
parentPath.split('/').length > 1 && React.createElement(
|
|
78
78
|
Breadcrumb.Item,
|
|
79
79
|
{ active: true },
|
|
80
80
|
'...'
|
|
81
81
|
),
|
|
82
|
-
|
|
82
|
+
React.createElement(
|
|
83
83
|
Breadcrumb.Item,
|
|
84
84
|
{ href: '/' + parentPath },
|
|
85
85
|
parentPathName
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
React.createElement(
|
|
88
88
|
Breadcrumb.Item,
|
|
89
89
|
{ active: true },
|
|
90
90
|
currentPath
|
|
91
91
|
),
|
|
92
|
-
|
|
92
|
+
React.createElement(
|
|
93
93
|
'style',
|
|
94
94
|
{ jsx: 'true' },
|
|
95
95
|
'\n ol.breadcrumb {\n background: transparent;\n padding-left: 0.25rem;\n }\n .breadcrumb-item.active {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 40ch;\n }\n @media screen and (max-width: 1400px) {\n .breadcrumb-item.active {\n max-width: 20ch;\n }\n }\n @media screen and (max-width: 768px) {\n .breadcrumb-item.active {\n max-width: 40ch;\n }\n }\n '
|
|
@@ -97,6 +97,6 @@ var Breadcrumbs = function Breadcrumbs(_ref) {
|
|
|
97
97
|
);
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
var Breadcrumbs$1 =
|
|
100
|
+
var Breadcrumbs$1 = React.memo(Breadcrumbs);
|
|
101
101
|
|
|
102
102
|
export default Breadcrumbs$1;
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -6,18 +6,17 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
7
|
import './core.get-iterator-method-e1de7503.js';
|
|
8
8
|
import './web.dom.iterable-4439f05a.js';
|
|
9
|
-
import
|
|
10
|
-
import './
|
|
11
|
-
import { l as lib_3 } from './index-41a678ea.js';
|
|
9
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
10
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
12
11
|
import 'prop-types';
|
|
13
12
|
import { useRouter } from 'next/router';
|
|
14
13
|
import './isSymbol-1981418f.js';
|
|
15
14
|
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
16
15
|
import './toNumber-2f7a84cd.js';
|
|
17
|
-
import { I as InfiniteScroll } from './index.es-
|
|
16
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
18
17
|
import 'react-dom';
|
|
19
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
20
|
-
import { m as
|
|
18
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
19
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
21
20
|
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
22
21
|
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
23
22
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
@@ -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.createElement(
|
|
203
202
|
'div',
|
|
204
203
|
{ id: 'ceToggles' },
|
|
205
|
-
|
|
204
|
+
React.createElement(
|
|
206
205
|
'div',
|
|
207
206
|
{ style: { width: 'max-content', padding: '0.5rem' } },
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
React.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.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.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.createElement(
|
|
220
|
+
React.Fragment,
|
|
222
221
|
{ key: index },
|
|
223
|
-
|
|
222
|
+
React.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.createElement(
|
|
230
229
|
Col,
|
|
231
230
|
{ xl: 12, style: { marginBottom: '1rem' } },
|
|
232
|
-
|
|
231
|
+
React.createElement(
|
|
233
232
|
Row,
|
|
234
233
|
null,
|
|
235
|
-
|
|
234
|
+
React.createElement(
|
|
236
235
|
Col,
|
|
237
236
|
{ xs: 3, sm: 4, md: 4, lg: 4, xl: 4, style: { padding: '0' } },
|
|
238
|
-
|
|
237
|
+
React.createElement(
|
|
239
238
|
'a',
|
|
240
239
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
241
|
-
|
|
240
|
+
React.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.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.createElement(
|
|
248
247
|
'a',
|
|
249
248
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
250
|
-
|
|
251
|
-
|
|
249
|
+
React.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: row.title } }),
|
|
250
|
+
React.createElement(
|
|
252
251
|
'p',
|
|
253
252
|
{ className: 'mb-2' },
|
|
254
253
|
row.date
|
|
255
254
|
),
|
|
256
|
-
|
|
255
|
+
React.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
257
256
|
)
|
|
258
257
|
)
|
|
259
258
|
)
|
|
260
|
-
) :
|
|
259
|
+
) : React.createElement(
|
|
261
260
|
Row,
|
|
262
261
|
{ style: { margin: '0', padding: '0' } },
|
|
263
|
-
|
|
262
|
+
React.createElement(
|
|
264
263
|
Col,
|
|
265
264
|
{ xs: 9, sm: 8, lg: 8, xl: 8 },
|
|
266
|
-
|
|
265
|
+
React.createElement(
|
|
267
266
|
'a',
|
|
268
267
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
React.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: row.title } }),
|
|
269
|
+
React.createElement(
|
|
271
270
|
'p',
|
|
272
271
|
null,
|
|
273
272
|
row.date
|
|
274
273
|
),
|
|
275
|
-
|
|
274
|
+
React.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
276
275
|
)
|
|
277
276
|
),
|
|
278
|
-
|
|
277
|
+
React.createElement(
|
|
279
278
|
Col,
|
|
280
279
|
{ xs: 3, sm: 4, lg: 4, xl: 4 },
|
|
281
|
-
|
|
280
|
+
React.createElement(
|
|
282
281
|
'a',
|
|
283
282
|
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
284
|
-
|
|
283
|
+
React.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
|
-
|
|
288
|
+
main_40 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React.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.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.createElement(
|
|
312
311
|
'div',
|
|
313
312
|
{ className: 'd-flex justify-content-between' },
|
|
314
313
|
currentPage > 1 ,
|
|
315
|
-
|
|
314
|
+
React.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.createElement(
|
|
325
324
|
'div',
|
|
326
325
|
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
327
|
-
|
|
326
|
+
React.createElement(
|
|
328
327
|
Spinner,
|
|
329
328
|
{ animation: 'border', role: 'status' },
|
|
330
|
-
|
|
329
|
+
React.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.createElement(
|
|
341
340
|
'div',
|
|
342
341
|
{ className: 'contentDeck' },
|
|
343
|
-
autoScroll ?
|
|
344
|
-
|
|
342
|
+
autoScroll ? React.createElement(
|
|
343
|
+
React.Fragment,
|
|
345
344
|
null,
|
|
346
|
-
|
|
345
|
+
React.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.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.createElement(
|
|
359
358
|
'div',
|
|
360
359
|
{ style: { textAlign: 'center' } },
|
|
361
|
-
|
|
360
|
+
React.createElement(
|
|
362
361
|
Spinner,
|
|
363
362
|
{ animation: 'border', role: 'status' },
|
|
364
|
-
|
|
363
|
+
React.createElement(
|
|
365
364
|
'span',
|
|
366
365
|
{ className: 'sr-only' },
|
|
367
366
|
'Loading...'
|
|
368
367
|
)
|
|
369
368
|
)
|
|
370
369
|
),
|
|
371
|
-
endMessage:
|
|
370
|
+
endMessage: React.createElement(
|
|
372
371
|
'p',
|
|
373
372
|
{ style: { textAlign: 'center' } },
|
|
374
|
-
|
|
373
|
+
React.createElement(
|
|
375
374
|
'b',
|
|
376
375
|
null,
|
|
377
376
|
'Yay! You have seen it all'
|
|
378
377
|
)
|
|
379
378
|
) },
|
|
380
|
-
|
|
379
|
+
React.createElement(
|
|
381
380
|
Container,
|
|
382
381
|
null,
|
|
383
382
|
cardLoader()
|
|
384
383
|
)
|
|
385
384
|
),
|
|
386
|
-
|
|
385
|
+
React.createElement(
|
|
387
386
|
'noscript',
|
|
388
387
|
null,
|
|
389
388
|
renderManualPagination()
|
|
390
389
|
)
|
|
391
|
-
) :
|
|
392
|
-
|
|
390
|
+
) : React.createElement(
|
|
391
|
+
React.Fragment,
|
|
393
392
|
null,
|
|
394
|
-
|
|
393
|
+
React.createElement(
|
|
395
394
|
Container,
|
|
396
395
|
null,
|
|
397
396
|
cardLoader()
|
|
398
397
|
),
|
|
399
|
-
|
|
398
|
+
React.createElement(
|
|
400
399
|
'div',
|
|
401
400
|
{ style: { padding: '0px 10px' } },
|
|
402
|
-
scrolling ?
|
|
401
|
+
scrolling ? React.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.createElement(
|
|
411
410
|
'p',
|
|
412
411
|
{ style: { textAlign: 'center' } },
|
|
413
|
-
|
|
412
|
+
React.createElement(
|
|
414
413
|
'b',
|
|
415
414
|
null,
|
|
416
415
|
'End of data'
|
|
417
416
|
)
|
|
418
417
|
)
|
|
419
418
|
),
|
|
420
|
-
|
|
419
|
+
React.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.createElement(
|
|
429
428
|
'div',
|
|
430
429
|
null,
|
|
431
|
-
|
|
430
|
+
React.createElement(
|
|
432
431
|
'div',
|
|
433
432
|
null,
|
|
434
433
|
'No data found '
|
package/dist/esm/Column1.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import Row
|
|
3
|
-
import Col
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Row from 'react-bootstrap/Row';
|
|
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.createElement(
|
|
9
9
|
'section',
|
|
10
10
|
null,
|
|
11
|
-
|
|
12
|
-
Row
|
|
11
|
+
React.createElement(
|
|
12
|
+
Row,
|
|
13
13
|
{ className: 'justify-content-md-center' },
|
|
14
|
-
|
|
15
|
-
Col
|
|
14
|
+
React.createElement(
|
|
15
|
+
Col,
|
|
16
16
|
{ className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
17
|
-
title &&
|
|
17
|
+
title && React.createElement(
|
|
18
18
|
'h1',
|
|
19
19
|
null,
|
|
20
20
|
title
|
package/dist/esm/Column2.js
CHANGED
|
@@ -6,19 +6,19 @@ import './_iter-detect-5d49a330.js';
|
|
|
6
6
|
import './core.get-iterator-method-e1de7503.js';
|
|
7
7
|
import './define-property-8af5f002.js';
|
|
8
8
|
import './web.dom.iterable-4439f05a.js';
|
|
9
|
-
import
|
|
9
|
+
import React from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import Row
|
|
12
|
-
import Col
|
|
11
|
+
import Row from 'react-bootstrap/Row';
|
|
12
|
+
import Col from 'react-bootstrap/Col';
|
|
13
13
|
import './isSymbol-1981418f.js';
|
|
14
14
|
import './asyncToGenerator-fc1c2e29.js';
|
|
15
15
|
import './Segment.js';
|
|
16
16
|
import './get-1e515072.js';
|
|
17
17
|
import './eq-b470f743.js';
|
|
18
|
-
import './react-social-icons-
|
|
18
|
+
import './react-social-icons-3822f1ce.js';
|
|
19
19
|
import './defineProperty-94fd8bfc.js';
|
|
20
20
|
import SideFooter from './SideFooter.js';
|
|
21
|
-
import { C as ConferenceBanner } from './ConferenceBanner-
|
|
21
|
+
import { C as ConferenceBanner } from './ConferenceBanner-9162d0ca.js';
|
|
22
22
|
|
|
23
23
|
var Column2 = function Column2(props) {
|
|
24
24
|
var rightItems = props.rightItems,
|
|
@@ -26,37 +26,37 @@ var Column2 = function Column2(props) {
|
|
|
26
26
|
website = props.website;
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
return
|
|
29
|
+
return React.createElement(
|
|
30
30
|
'section',
|
|
31
31
|
null,
|
|
32
|
-
|
|
33
|
-
Row
|
|
32
|
+
React.createElement(
|
|
33
|
+
Row,
|
|
34
34
|
{ className: 'justify-content-md-center' },
|
|
35
|
-
|
|
36
|
-
Col
|
|
35
|
+
React.createElement(
|
|
36
|
+
Col,
|
|
37
37
|
{ md: true, className: 'middleCol', style: { marginTop: !title && '10px' } },
|
|
38
|
-
title &&
|
|
38
|
+
title && React.createElement(
|
|
39
39
|
'h1',
|
|
40
40
|
null,
|
|
41
41
|
title
|
|
42
42
|
),
|
|
43
43
|
props.children
|
|
44
44
|
),
|
|
45
|
-
|
|
46
|
-
Col
|
|
45
|
+
React.createElement(
|
|
46
|
+
Col,
|
|
47
47
|
{ xs: 12, className: 'rightCol' },
|
|
48
|
-
website && website.conferenceBannerContent &&
|
|
49
|
-
|
|
48
|
+
website && website.conferenceBannerContent && React.createElement(ConferenceBanner, { website: website }),
|
|
49
|
+
React.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.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.createElement(SideFooter, { website: website })
|
|
60
60
|
)
|
|
61
61
|
)
|
|
62
62
|
)
|