@mjhls/mjh-framework 1.0.1004 → 1.0.1005-ce-test-v2
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 +6 -5
- package/dist/cjs/AD300x250x600.js +6 -5
- package/dist/cjs/AD728x90.js +7 -6
- package/dist/cjs/ADFloatingFooter.js +9 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +9 -8
- package/dist/cjs/{ADInfeed-ef933a08.js → ADInfeed-e87afe8a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +9 -8
- package/dist/cjs/ADSponsoredResources.js +9 -8
- package/dist/cjs/ADWebcast.js +9 -8
- package/dist/cjs/ADWelcome.js +13 -12
- package/dist/cjs/{ADlgInfeed-0e931f24.js → ADlgInfeed-b5a3d436.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +10 -9
- package/dist/cjs/AdSlotsProvider.js +6 -5
- package/dist/cjs/AlgoliaSearch.js +902 -1451
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +18 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/Auth.js +85 -114
- package/dist/cjs/AuthWrapper.js +43 -113
- 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 +445 -0
- package/dist/cjs/CMEDeck.js +62 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +28 -27
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +50 -49
- package/dist/cjs/DeckContent.js +59 -58
- package/dist/cjs/DeckQueue.js +58 -57
- package/dist/cjs/DeckQueuePaginated.js +47 -46
- package/dist/cjs/{Dfp-67646058.js → Dfp-9be904d5.js} +18 -17
- package/dist/cjs/EventsDeck.js +93 -120
- package/dist/cjs/ExternalResources.js +38 -36
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +135 -134
- package/dist/cjs/GridContentPaginated.js +122 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +105 -105
- package/dist/cjs/Header.js +9 -9
- 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 +32 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-1ec0408b.js → ImageSlider-6c00b878.js} +172 -212
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +23 -21
- package/dist/cjs/LeftNav.js +18 -17
- package/dist/cjs/MasterDeck.js +40 -39
- package/dist/cjs/MasterDeckPaginated.js +30 -29
- package/dist/cjs/{MediaSeriesCard-78f709ca.js → MediaSeriesCard-594c5edf.js} +16 -16
- package/dist/cjs/MediaSeriesLanding.js +40 -38
- package/dist/cjs/MediaSeriesLandingPaginated.js +39 -37
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-880e9d87.js → NavFooter-4799de4b.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-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +54 -51
- package/dist/cjs/PartnerDetailListingPaginated.js +53 -50
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PodcastsLanding.js +25 -23
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +14 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +246 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +223 -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 +19 -18
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-594b19eb.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-ca9c0c45.js → SocialSearchComponent-d2ab3d62.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +15 -13
- package/dist/cjs/TemplateNormal.js +28 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/{Tooltip-71754b2a.js → Tooltip-f075b7ef.js} +621 -704
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +32 -30
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +12 -11
- package/dist/cjs/VideoSeriesListing.js +47 -46
- package/dist/cjs/View.js +225 -224
- 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/defineProperty-9673846a.js +34 -0
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +10 -8
- package/dist/cjs/getTIData.js +61 -0
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-e4f1fe32.js → index-144b90c4.js} +637 -575
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-7435b964.js → index-fc2f1ca2.js} +6 -471
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-f59ef5b4.js → index.esm-1461604c.js} +14 -14
- package/dist/cjs/index.js +106 -102
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/typeof-1358762e.js +33 -0
- 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/AD.js +1 -1
- package/dist/esm/AD300x250.js +3 -2
- package/dist/esm/AD300x250x600.js +3 -2
- package/dist/esm/AD728x90.js +3 -2
- package/dist/esm/ADFloatingFooter.js +3 -2
- package/dist/esm/ADGutter.js +3 -2
- package/dist/esm/ADSkyscraper.js +3 -2
- package/dist/esm/ADSponsoredResources.js +3 -2
- package/dist/esm/ADWebcast.js +3 -2
- package/dist/esm/ADWelcome.js +3 -2
- package/dist/esm/AdSlot.js +3 -2
- package/dist/esm/AdSlotsProvider.js +3 -2
- package/dist/esm/AlgoliaSearch.js +516 -1065
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +7 -5
- package/dist/esm/ArticleSeriesLandingPage.js +5 -4
- package/dist/esm/ArticleSeriesListing.js +3 -2
- package/dist/esm/Auth.js +11 -40
- package/dist/esm/AuthWrapper.js +16 -86
- package/dist/esm/CEDeckSupabase.js +439 -0
- package/dist/esm/CMEDeck.js +3 -2
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ContentCardPaginated.js +5 -4
- package/dist/esm/DeckContent.js +4 -3
- package/dist/esm/DeckQueue.js +3 -2
- package/dist/esm/DeckQueuePaginated.js +4 -3
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +4 -31
- package/dist/esm/ExternalResources.js +8 -6
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +7 -5
- package/dist/esm/{ImageSlider-83913c4c.js → ImageSlider-f84174cb.js} +117 -157
- package/dist/esm/IssueLanding.js +9 -7
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +5 -4
- package/dist/esm/MasterDeckPaginated.js +6 -5
- package/dist/esm/{MediaSeriesCard-db0176b5.js → MediaSeriesCard-f56c8274.js} +1 -1
- package/dist/esm/MediaSeriesLanding.js +11 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +12 -10
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +11 -8
- package/dist/esm/PartnerDetailListingPaginated.js +12 -9
- package/dist/esm/PodcastsLanding.js +9 -7
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- package/dist/esm/SeriesListingDeck.js +4 -3
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-f771e20d.js} +1 -1
- package/dist/esm/{SocialSearchComponent-68d948b9.js → SocialSearchComponent-165b4ae7.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +7 -5
- package/dist/esm/TemplateNormal.js +4 -3
- package/dist/esm/{Tooltip-8307d9d1.js → Tooltip-95655b44.js} +67 -150
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +7 -5
- package/dist/esm/VideoSeriesLandingPage.js +5 -4
- package/dist/esm/VideoSeriesListing.js +3 -2
- package/dist/esm/View.js +6 -5
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/defineProperty-8c30428f.js +32 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +7 -5
- package/dist/esm/getTIData.js +59 -0
- package/dist/esm/{index-3bb56969.js → index-5d8b0a9d.js} +161 -99
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +14 -10
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +3 -2
- package/dist/cjs/index-b95410f0.js +0 -54
- package/dist/esm/index-174b5baf.js +0 -52
- /package/dist/esm/{ADInfeed-f946441a.js → ADInfeed-5765a73a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-012e6f16.js → ADlgInfeed-5e36f317.js} +0 -0
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8c30428f.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
|
+
import React__default, { useState, useEffect } from 'react';
|
|
4
|
+
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
5
|
+
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
8
|
+
import { useRouter } from 'next/router';
|
|
9
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
10
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
11
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
+
import './define-property-5f1bda73.js';
|
|
13
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
14
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
15
|
+
import 'react-dom';
|
|
16
|
+
import './events-6c3a7a63.js';
|
|
17
|
+
import 'prop-types';
|
|
18
|
+
|
|
19
|
+
var css = "#CMEDeck-module_ceToggles__1QFCs {\n display: flex;\n padding: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div {\n box-sizing: border-box;\n padding: 0.5rem;\n width: 50%;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-end;\n justify-content: center;\n cursor: pointer;\n border-bottom: 3px solid #fff;\n }\n #CMEDeck-module_ceToggles__1QFCs div:hover {\n opacity: 1 !important;\n border-color: #cecece;\n }\n #CMEDeck-module_ceToggles__1QFCs div p {\n margin: 0;\n font-weight: 700;\n width: 100%;\n text-align: center;\n font-size: 1rem;\n }\n #CMEDeck-module_ceToggles__1QFCs div img {\n width: 100%;\n max-width: 10rem;\n }\n\n .CMEDeck-module_cardImage__3yM5u{\n width: 268px;\n max-width: 100%;\n border-radius: 0 0 0 10%;\n margin-bottom: 20px;\n margin-top: 10px;\n border-top: 1px solid #EEE;\n }\n .CMEDeck-module_cardText__2zCzZ{\n font-size:22px;\n font-weight: 500;\n\n }\n @media (max-width: 500px){\n .CMEDeck-module_cardText__2zCzZ{\n font-size: 12px;\n font-weight: 500;\n }\n }";
|
|
20
|
+
var styles = { "ceToggles": "CMEDeck-module_ceToggles__1QFCs", "cardImage": "CMEDeck-module_cardImage__3yM5u", "cardText": "CMEDeck-module_cardText__2zCzZ" };
|
|
21
|
+
styleInject(css);
|
|
22
|
+
|
|
23
|
+
var CMEDeck = function CMEDeck(_ref) {
|
|
24
|
+
var _ref$autoScroll = _ref.autoScroll,
|
|
25
|
+
autoScroll = _ref$autoScroll === undefined ? true : _ref$autoScroll,
|
|
26
|
+
_ref$variant = _ref.variant,
|
|
27
|
+
variant = _ref$variant === undefined ? 'left' : _ref$variant,
|
|
28
|
+
rightItems = _ref.rightItems,
|
|
29
|
+
_ref$seoPaginate = _ref.seoPaginate,
|
|
30
|
+
seoPaginate = _ref$seoPaginate === undefined ? true : _ref$seoPaginate,
|
|
31
|
+
pageview = _ref.pageview,
|
|
32
|
+
_ref$enablePer = _ref.enablePer,
|
|
33
|
+
enablePer = _ref$enablePer === undefined ? true : _ref$enablePer,
|
|
34
|
+
perData = _ref.perData,
|
|
35
|
+
_ref$enablePtce = _ref.enablePtce,
|
|
36
|
+
enablePtce = _ref$enablePtce === undefined ? false : _ref$enablePtce,
|
|
37
|
+
ptceData = _ref.ptceData,
|
|
38
|
+
_ref$itemsPerPage = _ref.itemsPerPage,
|
|
39
|
+
itemsPerPage = _ref$itemsPerPage === undefined ? 10 : _ref$itemsPerPage,
|
|
40
|
+
_ref$numberOfItemsBef = _ref.numberOfItemsBeforeAd,
|
|
41
|
+
numberOfItemsBeforeAd = _ref$numberOfItemsBef === undefined ? 6 : _ref$numberOfItemsBef;
|
|
42
|
+
|
|
43
|
+
var router = useRouter();
|
|
44
|
+
|
|
45
|
+
var _useState = useState(true),
|
|
46
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
47
|
+
isLoading = _useState2[0],
|
|
48
|
+
setIsLoading = _useState2[1];
|
|
49
|
+
|
|
50
|
+
var _useState3 = useState(true),
|
|
51
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
52
|
+
scrolling = _useState4[0],
|
|
53
|
+
setScrolling = _useState4[1];
|
|
54
|
+
|
|
55
|
+
var _useState5 = useState(router && router.query && router.query.page ? parseInt(router.query.page) : 1),
|
|
56
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
57
|
+
currentPage = _useState6[0],
|
|
58
|
+
setCurrentPage = _useState6[1];
|
|
59
|
+
|
|
60
|
+
var _useState7 = useState([]),
|
|
61
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
62
|
+
data = _useState8[0],
|
|
63
|
+
setData = _useState8[1];
|
|
64
|
+
|
|
65
|
+
var _useState9 = useState(itemsPerPage),
|
|
66
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
67
|
+
to = _useState10[0],
|
|
68
|
+
setTo = _useState10[1];
|
|
69
|
+
|
|
70
|
+
var _useState11 = useState(enablePer ? 'per' : 'ptce'),
|
|
71
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
72
|
+
active = _useState12[0],
|
|
73
|
+
setActive = _useState12[1];
|
|
74
|
+
|
|
75
|
+
var getData = function getData() {
|
|
76
|
+
if (active == 'per') {
|
|
77
|
+
setIsLoading(true);
|
|
78
|
+
var currentData = void 0;
|
|
79
|
+
if (to >= perData.length - 1) {
|
|
80
|
+
currentData = perData.slice(0, perData.length);
|
|
81
|
+
} else {
|
|
82
|
+
currentData = perData.length && perData.slice(0, to);
|
|
83
|
+
}
|
|
84
|
+
setIsLoading(false);
|
|
85
|
+
setData(currentData);
|
|
86
|
+
if (data.length == perData.length) setScrolling(false);
|
|
87
|
+
} else {
|
|
88
|
+
setIsLoading(true);
|
|
89
|
+
var _currentData = void 0;
|
|
90
|
+
if (to >= ptceData.length - 1) {
|
|
91
|
+
_currentData = ptceData.slice(0, ptceData.length);
|
|
92
|
+
} else {
|
|
93
|
+
_currentData = ptceData.length && ptceData.slice(0, to);
|
|
94
|
+
}
|
|
95
|
+
setIsLoading(false);
|
|
96
|
+
setData(_currentData);
|
|
97
|
+
if (data.length == ptceData.length) setScrolling(false);
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
var changePageNumber = function changePageNumber(pageNumber) {
|
|
102
|
+
if (seoPaginate) {
|
|
103
|
+
var path = router.asPath;
|
|
104
|
+
var qrIndex = path.indexOf('?');
|
|
105
|
+
var pathname = router.pathname;
|
|
106
|
+
var queryString = '';
|
|
107
|
+
|
|
108
|
+
if (qrIndex > 0) {
|
|
109
|
+
path = path.substring(1, qrIndex);
|
|
110
|
+
|
|
111
|
+
var partialQS = router.asPath.substring(qrIndex + 1);
|
|
112
|
+
var partialQSArr = partialQS.split('&');
|
|
113
|
+
|
|
114
|
+
// exclude page=xxx from query string
|
|
115
|
+
partialQSArr.map(function (item) {
|
|
116
|
+
var itemArr = item.split('=');
|
|
117
|
+
var key = itemArr[0];
|
|
118
|
+
var val = itemArr[1];
|
|
119
|
+
|
|
120
|
+
if (key !== 'page') {
|
|
121
|
+
queryString += (queryString.length === 0 ? '' : '&') + key + '=' + val;
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (queryString.length > 0) {
|
|
127
|
+
path += '?' + queryString;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
pageNumber = parseInt(pageNumber);
|
|
131
|
+
|
|
132
|
+
if (currentPage !== pageNumber) {
|
|
133
|
+
lib_3.refresh();
|
|
134
|
+
|
|
135
|
+
setCurrentPage(pageNumber);
|
|
136
|
+
if (path[0] !== '/') {
|
|
137
|
+
path = '/' + path;
|
|
138
|
+
}
|
|
139
|
+
var newPath = pageNumber === 1 ? '' + path : path + '?page=' + pageNumber;
|
|
140
|
+
|
|
141
|
+
if (pageview) {
|
|
142
|
+
pageview(newPath);
|
|
143
|
+
}
|
|
144
|
+
router.push(pathname, newPath, {
|
|
145
|
+
shallow: true
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
var loadMore = function loadMore() {
|
|
152
|
+
console.log('am i getting called loadmore');
|
|
153
|
+
setTo(function (prevTo) {
|
|
154
|
+
return prevTo + itemsPerPage;
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
useEffect(function () {
|
|
158
|
+
console.log('is this useEffect getting called');
|
|
159
|
+
getData();
|
|
160
|
+
}, [to, active]);
|
|
161
|
+
|
|
162
|
+
var cardLoader = function cardLoader() {
|
|
163
|
+
return React__default.createElement(
|
|
164
|
+
'div',
|
|
165
|
+
null,
|
|
166
|
+
React__default.createElement(
|
|
167
|
+
'div',
|
|
168
|
+
{ id: styles.ceToggles },
|
|
169
|
+
enablePer && React__default.createElement(
|
|
170
|
+
'div',
|
|
171
|
+
{ onClick: function onClick() {
|
|
172
|
+
setActive('per');
|
|
173
|
+
setTo(itemsPerPage);
|
|
174
|
+
if (perData.length > itemsPerPage) setScrolling(true);
|
|
175
|
+
}, style: { borderColor: active === 'per' && '#10222e', filter: active !== 'per' && 'grayscale(1)', opacity: active !== 'per' && 0.5 } },
|
|
176
|
+
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' }),
|
|
177
|
+
React__default.createElement(
|
|
178
|
+
'p',
|
|
179
|
+
{ style: { margin: '0', fontWeight: '700', width: '100%', textAlign: 'center', fontSize: '1rem' } },
|
|
180
|
+
'Physician Education'
|
|
181
|
+
)
|
|
182
|
+
),
|
|
183
|
+
enablePtce && React__default.createElement(
|
|
184
|
+
'div',
|
|
185
|
+
{ onClick: function onClick() {
|
|
186
|
+
setActive('ptce');
|
|
187
|
+
setTo(itemsPerPage);
|
|
188
|
+
if (ptceData.length > itemsPerPage) setScrolling(true);
|
|
189
|
+
}, style: { borderColor: active === 'ptce' && '#10222e', filter: active !== 'ptce' && 'grayscale(1)', opacity: active !== 'ptce' && 0.5 } },
|
|
190
|
+
React__default.createElement('img', { src: 'https://ptce.s3.amazonaws.com/_media/_image/PTCE_Logo_Mocks_030220v4_PTCE_ALL_PTCE.png', alt: 'ptce logo' }),
|
|
191
|
+
React__default.createElement(
|
|
192
|
+
'p',
|
|
193
|
+
null,
|
|
194
|
+
'Pharmacist Education'
|
|
195
|
+
)
|
|
196
|
+
)
|
|
197
|
+
),
|
|
198
|
+
React__default.createElement(
|
|
199
|
+
Row,
|
|
200
|
+
null,
|
|
201
|
+
data && data.map(function (row, index) {
|
|
202
|
+
var pageNumber = Math.ceil((index + 1) / itemsPerPage);
|
|
203
|
+
var baseUrl = void 0;
|
|
204
|
+
if (row.brandName && row.brandName === 'AllPtce') {
|
|
205
|
+
baseUrl = 'https://www.pharmacytimes.org/courses';
|
|
206
|
+
} else {
|
|
207
|
+
baseUrl = 'https://www.gotoper.com/courses';
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
if (variant === 'left') {
|
|
211
|
+
var _React$createElement;
|
|
212
|
+
|
|
213
|
+
return React__default.createElement(
|
|
214
|
+
React__default.Fragment,
|
|
215
|
+
{ key: index },
|
|
216
|
+
React__default.createElement(
|
|
217
|
+
VisibilitySensor,
|
|
218
|
+
{
|
|
219
|
+
partialVisibility: true,
|
|
220
|
+
onChange: function onChange(isVisible) {
|
|
221
|
+
isVisible && changePageNumber(pageNumber);
|
|
222
|
+
} },
|
|
223
|
+
React__default.createElement(
|
|
224
|
+
Col,
|
|
225
|
+
{ xl: 12, style: { marginBottom: '1rem' } },
|
|
226
|
+
React__default.createElement(
|
|
227
|
+
Row,
|
|
228
|
+
null,
|
|
229
|
+
React__default.createElement(
|
|
230
|
+
Col,
|
|
231
|
+
{ xs: 3, sm: 4, md: 4, lg: 4, xl: 4, style: { padding: '0', borderTop: '1px solid #EEE' } },
|
|
232
|
+
React__default.createElement(
|
|
233
|
+
'a',
|
|
234
|
+
{ rel: 'noopener', href: baseUrl + '/' + row.slug, target: '_blank' },
|
|
235
|
+
React__default.createElement('img', { className: styles.cardImage, src: row.thumbnail })
|
|
236
|
+
)
|
|
237
|
+
),
|
|
238
|
+
React__default.createElement(
|
|
239
|
+
Col,
|
|
240
|
+
{ xs: 9, sm: 8, md: 8, lg: 8, xl: 8, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
|
|
241
|
+
React__default.createElement(
|
|
242
|
+
'a',
|
|
243
|
+
{ rel: 'noopener', href: baseUrl + '/' + row.slug, target: '_blank' },
|
|
244
|
+
React__default.createElement('h4', (_React$createElement = { className: 'mb-1' }, _defineProperty(_React$createElement, 'className', styles.cardText), _defineProperty(_React$createElement, 'dangerouslySetInnerHTML', { __html: row.title }), _React$createElement)),
|
|
245
|
+
React__default.createElement(
|
|
246
|
+
'p',
|
|
247
|
+
_defineProperty({ className: 'mb-2' }, 'className', styles.cardText),
|
|
248
|
+
' ',
|
|
249
|
+
row.expirationDate && 'Expiration Date: ' + row.expirationDate
|
|
250
|
+
),
|
|
251
|
+
React__default.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
252
|
+
)
|
|
253
|
+
)
|
|
254
|
+
)
|
|
255
|
+
)
|
|
256
|
+
),
|
|
257
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
258
|
+
'div',
|
|
259
|
+
{ style: { margin: '0 auto' } },
|
|
260
|
+
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
261
|
+
)
|
|
262
|
+
);
|
|
263
|
+
} else {
|
|
264
|
+
return React__default.createElement(
|
|
265
|
+
React__default.Fragment,
|
|
266
|
+
{ key: index },
|
|
267
|
+
React__default.createElement(
|
|
268
|
+
VisibilitySensor,
|
|
269
|
+
{
|
|
270
|
+
partialVisibility: true,
|
|
271
|
+
onChange: function onChange(isVisible) {
|
|
272
|
+
isVisible && changePageNumber(pageNumber);
|
|
273
|
+
} },
|
|
274
|
+
React__default.createElement(
|
|
275
|
+
Row,
|
|
276
|
+
{ style: { margin: '0', padding: '0' } },
|
|
277
|
+
React__default.createElement(
|
|
278
|
+
Col,
|
|
279
|
+
{ xs: 9, sm: 8, lg: 8, xl: 8 },
|
|
280
|
+
React__default.createElement(
|
|
281
|
+
'a',
|
|
282
|
+
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
283
|
+
React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: row.title } }),
|
|
284
|
+
React__default.createElement(
|
|
285
|
+
'p',
|
|
286
|
+
{ className: 'mb-2' },
|
|
287
|
+
' ',
|
|
288
|
+
row.expirationDate && 'Expiration Date: ' + row.expirationDate
|
|
289
|
+
),
|
|
290
|
+
React__default.createElement('p', { dangerouslySetInnerHTML: { __html: row.intro } })
|
|
291
|
+
)
|
|
292
|
+
),
|
|
293
|
+
React__default.createElement(
|
|
294
|
+
Col,
|
|
295
|
+
{ xs: 3, sm: 4, lg: 4, xl: 4 },
|
|
296
|
+
React__default.createElement(
|
|
297
|
+
'a',
|
|
298
|
+
{ rel: 'noopener', href: row.href, target: '_blank' },
|
|
299
|
+
React__default.createElement('img', { style: { width: '100%', borderRadius: '0 0 10% 0' }, src: row.thumbnail })
|
|
300
|
+
)
|
|
301
|
+
)
|
|
302
|
+
)
|
|
303
|
+
),
|
|
304
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && React__default.createElement(
|
|
305
|
+
'div',
|
|
306
|
+
{ style: { margin: '0 auto' } },
|
|
307
|
+
renderMobileAd(index, numberOfItemsBeforeAd)
|
|
308
|
+
)
|
|
309
|
+
);
|
|
310
|
+
}
|
|
311
|
+
})
|
|
312
|
+
)
|
|
313
|
+
);
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
var renderMobileAd = function renderMobileAd(index, numberOfItemsBeforeAd) {
|
|
317
|
+
var i = ((index + 1) / numberOfItemsBeforeAd - 1) % rightItems.length;
|
|
318
|
+
return React__default.createElement(
|
|
319
|
+
Col,
|
|
320
|
+
{ md: 12, style: { display: 'flex', flex: '1 0 auto' } },
|
|
321
|
+
rightItems[i].component
|
|
322
|
+
);
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
var renderManualPagination = function renderManualPagination() {
|
|
326
|
+
var currentPage = 1;
|
|
327
|
+
return React__default.createElement(
|
|
328
|
+
'div',
|
|
329
|
+
{ className: 'd-flex justify-content-between' },
|
|
330
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
331
|
+
'a',
|
|
332
|
+
{ href: '?page=' + (currentPage - 1) },
|
|
333
|
+
'<< Previous'
|
|
334
|
+
),
|
|
335
|
+
React__default.createElement(
|
|
336
|
+
'a',
|
|
337
|
+
{ href: '?page=' + (currentPage + 1) },
|
|
338
|
+
'Next >>'
|
|
339
|
+
)
|
|
340
|
+
);
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
if (isLoading) {
|
|
344
|
+
return React__default.createElement(
|
|
345
|
+
'div',
|
|
346
|
+
{ style: { display: 'flex', justifyContent: 'center', marginTop: '48px' } },
|
|
347
|
+
React__default.createElement(
|
|
348
|
+
Spinner,
|
|
349
|
+
{ animation: 'border', role: 'status' },
|
|
350
|
+
React__default.createElement(
|
|
351
|
+
'span',
|
|
352
|
+
{ className: 'sr-only' },
|
|
353
|
+
'Loading...'
|
|
354
|
+
)
|
|
355
|
+
)
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (data.length > 0) {
|
|
360
|
+
return React__default.createElement(
|
|
361
|
+
'div',
|
|
362
|
+
{ className: 'contentDeck' },
|
|
363
|
+
autoScroll ? React__default.createElement(
|
|
364
|
+
React__default.Fragment,
|
|
365
|
+
null,
|
|
366
|
+
React__default.createElement(
|
|
367
|
+
'style',
|
|
368
|
+
{ jsx: true },
|
|
369
|
+
'\n .infinite-scroll-component {\n overflow: hidden !important;\n }\n '
|
|
370
|
+
),
|
|
371
|
+
React__default.createElement(
|
|
372
|
+
InfiniteScroll,
|
|
373
|
+
{
|
|
374
|
+
dataLength: data && data.length,
|
|
375
|
+
next: loadMore,
|
|
376
|
+
hasMore: scrolling,
|
|
377
|
+
scrollThreshold: 0.8
|
|
378
|
+
},
|
|
379
|
+
React__default.createElement(
|
|
380
|
+
Container,
|
|
381
|
+
null,
|
|
382
|
+
cardLoader()
|
|
383
|
+
)
|
|
384
|
+
),
|
|
385
|
+
React__default.createElement(
|
|
386
|
+
'noscript',
|
|
387
|
+
null,
|
|
388
|
+
renderManualPagination()
|
|
389
|
+
)
|
|
390
|
+
) : React__default.createElement(
|
|
391
|
+
React__default.Fragment,
|
|
392
|
+
null,
|
|
393
|
+
React__default.createElement(
|
|
394
|
+
Container,
|
|
395
|
+
null,
|
|
396
|
+
cardLoader()
|
|
397
|
+
),
|
|
398
|
+
React__default.createElement(
|
|
399
|
+
'div',
|
|
400
|
+
{ style: { padding: '0px 10px' } },
|
|
401
|
+
scrolling ? React__default.createElement(
|
|
402
|
+
'button',
|
|
403
|
+
{
|
|
404
|
+
style: { margin: 'auto', width: '100%' },
|
|
405
|
+
onClick: function onClick(e) {
|
|
406
|
+
loadMore();
|
|
407
|
+
} },
|
|
408
|
+
'Load More'
|
|
409
|
+
) : React__default.createElement(
|
|
410
|
+
'p',
|
|
411
|
+
{ style: { textAlign: 'center' } },
|
|
412
|
+
React__default.createElement(
|
|
413
|
+
'b',
|
|
414
|
+
null,
|
|
415
|
+
'End of data'
|
|
416
|
+
)
|
|
417
|
+
)
|
|
418
|
+
),
|
|
419
|
+
React__default.createElement(
|
|
420
|
+
'noscript',
|
|
421
|
+
null,
|
|
422
|
+
renderManualPagination()
|
|
423
|
+
)
|
|
424
|
+
)
|
|
425
|
+
);
|
|
426
|
+
} else {
|
|
427
|
+
return React__default.createElement(
|
|
428
|
+
'div',
|
|
429
|
+
null,
|
|
430
|
+
React__default.createElement(
|
|
431
|
+
'div',
|
|
432
|
+
null,
|
|
433
|
+
'No data found '
|
|
434
|
+
)
|
|
435
|
+
);
|
|
436
|
+
}
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
export { CMEDeck as default };
|
package/dist/esm/CMEDeck.js
CHANGED
|
@@ -6,10 +6,10 @@ import React__default, { useState, useRef, useEffect } from 'react';
|
|
|
6
6
|
import { Spinner, Container, Row, Col } from 'react-bootstrap';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
9
|
-
import { m as main_43 } from './main-
|
|
9
|
+
import { m as main_43 } from './main-1894c974.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-f0fc23eb.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
14
|
import './core.get-iterator-method-ea258bb1.js';
|
|
15
15
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -18,6 +18,7 @@ import './_iter-detect-98db3b07.js';
|
|
|
18
18
|
import 'react-dom';
|
|
19
19
|
import './isSymbol-a7e9aafe.js';
|
|
20
20
|
import './toNumber-5aeba6e7.js';
|
|
21
|
+
import './events-6c3a7a63.js';
|
|
21
22
|
import 'prop-types';
|
|
22
23
|
|
|
23
24
|
var itemsPerPage = 12;
|
package/dist/esm/Column3.js
CHANGED
|
@@ -6,7 +6,7 @@ import LeftNav from './LeftNav.js';
|
|
|
6
6
|
import SideFooter from './SideFooter.js';
|
|
7
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-1894c974.js';
|
|
10
10
|
import './slicedToArray-6ebcbfea.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -15,7 +15,8 @@ import './AdSlot.js';
|
|
|
15
15
|
import './extends-6d8e3924.js';
|
|
16
16
|
import './_object-pie-133f504a.js';
|
|
17
17
|
import 'prop-types';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-f0fc23eb.js';
|
|
19
|
+
import './events-6c3a7a63.js';
|
|
19
20
|
import './debounce-533d9748.js';
|
|
20
21
|
import './isSymbol-a7e9aafe.js';
|
|
21
22
|
import './toNumber-5aeba6e7.js';
|
|
@@ -3,7 +3,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
@@ -12,10 +12,10 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
12
12
|
import { withRouter } from 'next/router';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
|
-
import { m as main_43 } from './main-
|
|
15
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
16
16
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
17
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
18
|
-
import { P as Pagination } from './Pagination-
|
|
17
|
+
import { A as ADInfeed } from './ADInfeed-5765a73a.js';
|
|
18
|
+
import { P as Pagination } from './Pagination-dc30727b.js';
|
|
19
19
|
import Spinner from 'react-bootstrap/Spinner';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -27,6 +27,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
27
27
|
import './define-property-5f1bda73.js';
|
|
28
28
|
import './typeof-e9fc0c5d.js';
|
|
29
29
|
import './_is-array-8d21b9e3.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
30
31
|
import 'prop-types';
|
|
31
32
|
import './slicedToArray-6ebcbfea.js';
|
|
32
33
|
import './index-3f5c03b2.js';
|
package/dist/esm/DeckContent.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
2
2
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
@@ -14,9 +14,9 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
14
14
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
15
15
|
import urlFor from './urlFor.js';
|
|
16
16
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
17
|
-
import { m as main_43 } from './main-
|
|
17
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADInfeed } from './ADInfeed-5765a73a.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './_iter-detect-98db3b07.js';
|
|
@@ -27,6 +27,7 @@ import './typeof-e9fc0c5d.js';
|
|
|
27
27
|
import './web.dom.iterable-ab4dea5c.js';
|
|
28
28
|
import './_is-array-8d21b9e3.js';
|
|
29
29
|
import './_library-528f1934.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
30
31
|
import 'prop-types';
|
|
31
32
|
import './isSymbol-a7e9aafe.js';
|
|
32
33
|
import './toNumber-5aeba6e7.js';
|
package/dist/esm/DeckQueue.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
2
2
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { l as lib_3 } from './index-
|
|
5
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
6
6
|
import Container from 'react-bootstrap/Container';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
@@ -15,7 +15,7 @@ import { g as get_1 } from './get-3c308da4.js';
|
|
|
15
15
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
16
16
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
|
-
import { m as main_43 } from './main-
|
|
18
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
19
19
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -27,6 +27,7 @@ import './typeof-e9fc0c5d.js';
|
|
|
27
27
|
import './web.dom.iterable-ab4dea5c.js';
|
|
28
28
|
import './_is-array-8d21b9e3.js';
|
|
29
29
|
import './_library-528f1934.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
30
31
|
import 'prop-types';
|
|
31
32
|
import 'react-dom';
|
|
32
33
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -3,7 +3,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958
|
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-a6ba2ec4.js';
|
|
5
5
|
import React__default from 'react';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import Container from 'react-bootstrap/Container';
|
|
8
8
|
import Row from 'react-bootstrap/Row';
|
|
9
9
|
import Col from 'react-bootstrap/Col';
|
|
@@ -13,10 +13,10 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
13
13
|
import { withRouter } from 'next/router';
|
|
14
14
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
15
15
|
import { g as get_1 } from './get-3c308da4.js';
|
|
16
|
-
import { m as main_43 } from './main-
|
|
16
|
+
import { m as main_43 } from './main-1894c974.js';
|
|
17
17
|
import urlFor from './urlFor.js';
|
|
18
18
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
19
|
-
import { P as Pagination } from './Pagination-
|
|
19
|
+
import { P as Pagination } from './Pagination-dc30727b.js';
|
|
20
20
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
21
21
|
import './core.get-iterator-method-ea258bb1.js';
|
|
22
22
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -27,6 +27,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
27
27
|
import './define-property-5f1bda73.js';
|
|
28
28
|
import './typeof-e9fc0c5d.js';
|
|
29
29
|
import './_is-array-8d21b9e3.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
30
31
|
import 'prop-types';
|
|
31
32
|
import 'react-dom';
|
|
32
33
|
import './isSymbol-a7e9aafe.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import React__default, { useState } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import { b as lib_1, a as lib_2 } from './index-
|
|
4
|
+
import { b as lib_1, a as lib_2 } from './index-f0fc23eb.js';
|
|
5
5
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
6
6
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
10
|
+
import './events-6c3a7a63.js';
|
|
10
11
|
import 'react-dom';
|
|
11
12
|
import './isSymbol-a7e9aafe.js';
|
|
12
13
|
import './toNumber-5aeba6e7.js';
|
package/dist/esm/EventsDeck.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-8c30428f.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { d as defineProperty$1 } from './define-property-5f1bda73.js';
|
|
3
3
|
import { _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
4
4
|
import { _ as _objectToArray } from './_object-to-array-2300e51b.js';
|
|
5
5
|
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-6ebcbfea.js';
|
|
@@ -15,43 +15,16 @@ import Col from 'react-bootstrap/Col';
|
|
|
15
15
|
import Card from 'react-bootstrap/Card';
|
|
16
16
|
import Form from 'react-bootstrap/Form';
|
|
17
17
|
import Button from 'react-bootstrap/Button';
|
|
18
|
-
import './main-
|
|
19
|
-
import { m as momentTimezone } from './index-
|
|
18
|
+
import './main-1894c974.js';
|
|
19
|
+
import { m as momentTimezone } from './index-79cfd25c.js';
|
|
20
20
|
import { j as js_cookie } from './js.cookie-6874175c.js';
|
|
21
21
|
import { useRouter } from 'next/router';
|
|
22
|
+
import './define-property-5f1bda73.js';
|
|
22
23
|
import './_object-pie-133f504a.js';
|
|
23
24
|
import './web.dom.iterable-ab4dea5c.js';
|
|
24
25
|
import './_iter-detect-98db3b07.js';
|
|
25
26
|
import './moment-bc12cb97.js';
|
|
26
27
|
|
|
27
|
-
var defineProperty = createCommonjsModule(function (module, exports) {
|
|
28
|
-
|
|
29
|
-
exports.__esModule = true;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
var _defineProperty2 = _interopRequireDefault(defineProperty$1);
|
|
34
|
-
|
|
35
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
36
|
-
|
|
37
|
-
exports.default = function (obj, key, value) {
|
|
38
|
-
if (key in obj) {
|
|
39
|
-
(0, _defineProperty2.default)(obj, key, {
|
|
40
|
-
value: value,
|
|
41
|
-
enumerable: true,
|
|
42
|
-
configurable: true,
|
|
43
|
-
writable: true
|
|
44
|
-
});
|
|
45
|
-
} else {
|
|
46
|
-
obj[key] = value;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
return obj;
|
|
50
|
-
};
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
var _defineProperty = unwrapExports(defineProperty);
|
|
54
|
-
|
|
55
28
|
// https://github.com/tc39/proposal-object-values-entries
|
|
56
29
|
|
|
57
30
|
var $entries = _objectToArray(true);
|