@mjhls/mjh-framework 1.0.973-partner-listing-nojs-v1 → 1.0.973-ptce-test
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 +1 -1
- package/dist/cjs/AD300x250.js +2 -1
- package/dist/cjs/AD300x250x600.js +2 -1
- package/dist/cjs/AD728x90.js +2 -1
- package/dist/cjs/ADFloatingFooter.js +2 -1
- package/dist/cjs/ADGutter.js +2 -1
- package/dist/cjs/ADSkyscraper.js +2 -1
- package/dist/cjs/ADSponsoredResources.js +2 -1
- package/dist/cjs/ADWebcast.js +2 -1
- package/dist/cjs/ADWelcome.js +2 -1
- package/dist/cjs/AdSlot.js +2 -1
- package/dist/cjs/AdSlotsProvider.js +2 -1
- package/dist/cjs/AlgoliaSearch.js +14164 -17
- package/dist/cjs/ArticleProgramLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -3
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/AuthWrapper.js +3 -29
- package/dist/cjs/CMEDeck.js +2 -1
- package/dist/cjs/Column3.js +2 -1
- package/dist/cjs/ConferenceArticleCard.js +15 -15
- package/dist/cjs/ContentCardPaginated.js +5 -3
- package/dist/cjs/DeckContent.js +11 -10
- package/dist/cjs/DeckQueue.js +2 -1
- package/dist/cjs/DeckQueuePaginated.js +4 -2
- package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +2 -1
- package/dist/cjs/EventsDeck.js +17 -17
- package/dist/cjs/ExternalResources.js +4 -3
- package/dist/cjs/GridContent.js +4 -3
- package/dist/cjs/GridContentPaginated.js +6 -4
- package/dist/cjs/HamMagazine.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -3
- package/dist/cjs/IssueLanding.js +35 -34
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -1
- package/dist/cjs/MasterDeck.js +12 -11
- package/dist/cjs/MasterDeckPaginated.js +14 -12
- package/dist/cjs/{MediaSeriesCard-1a62916a.js → MediaSeriesCard-4cf41c60.js} +288 -384
- package/dist/cjs/MediaSeriesLanding.js +13 -11
- package/dist/cjs/MediaSeriesLandingPaginated.js +15 -12
- package/dist/cjs/NavMagazine.js +10 -10
- package/dist/cjs/NavNative.js +9 -9
- package/dist/cjs/Pagination-1e0d5f1d.js +90 -0
- package/dist/cjs/PartnerDetailListing.js +31 -32
- package/dist/cjs/PartnerDetailListingPaginated.js +8 -6
- package/dist/cjs/PtceDeck.js +226 -0
- package/dist/cjs/PubSection.js +4 -3
- package/dist/cjs/PublicationLanding.js +26 -26
- package/dist/cjs/QueueDeckExpanded.js +4 -3
- package/dist/cjs/QueueDeckExpandedPaginated.js +6 -4
- package/dist/cjs/RelatedContent.js +28 -28
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -2
- package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +4 -3
- package/dist/cjs/TemplateNormal.js +2 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -3
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +13 -15
- package/dist/cjs/YoutubeGroup.js +4 -4
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getPtceActivities.js +80 -0
- package/dist/cjs/getSerializers.js +8 -7
- package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/{index-bb00ade7.js → index-3e9b8125.js} +31 -74
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/index-77bc63c7.js +13562 -0
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/index.js +11 -8
- package/dist/cjs/typeof-1358762e.js +33 -0
- package/dist/{esm/util-8ed16d48.js → cjs/util-057669f9.js} +143 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -1
- package/dist/esm/AD300x250x600.js +2 -1
- package/dist/esm/AD728x90.js +2 -1
- package/dist/esm/ADFloatingFooter.js +2 -1
- package/dist/esm/ADGutter.js +2 -1
- package/dist/esm/ADSkyscraper.js +2 -1
- package/dist/esm/ADSponsoredResources.js +2 -1
- package/dist/esm/ADWebcast.js +2 -1
- package/dist/esm/ADWelcome.js +2 -1
- package/dist/esm/AdSlot.js +2 -1
- package/dist/esm/AdSlotsProvider.js +2 -1
- package/dist/esm/AlgoliaSearch.js +14158 -11
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/AuthWrapper.js +2 -28
- package/dist/esm/CMEDeck.js +2 -1
- package/dist/esm/Column3.js +2 -1
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +5 -3
- package/dist/esm/DeckContent.js +11 -10
- package/dist/esm/DeckQueue.js +2 -1
- package/dist/esm/DeckQueuePaginated.js +4 -2
- package/dist/esm/{Dfp-cf85d203.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +17 -17
- package/dist/esm/ExternalResources.js +4 -3
- package/dist/esm/GridContent.js +4 -3
- package/dist/esm/GridContentPaginated.js +6 -4
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/IssueLanding.js +35 -34
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +2 -1
- package/dist/esm/MasterDeck.js +12 -11
- package/dist/esm/MasterDeckPaginated.js +14 -12
- package/dist/esm/{MediaSeriesCard-146e08c8.js → MediaSeriesCard-e87632e9.js} +3 -99
- package/dist/esm/MediaSeriesLanding.js +13 -11
- package/dist/esm/MediaSeriesLandingPaginated.js +15 -12
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/Pagination-cd21f8c2.js +82 -0
- package/dist/esm/PartnerDetailListing.js +31 -32
- package/dist/esm/PartnerDetailListingPaginated.js +8 -6
- package/dist/esm/PtceDeck.js +218 -0
- package/dist/esm/PubSection.js +4 -3
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -3
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -4
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/SeriesListingDeck.js +3 -2
- package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +4 -3
- package/dist/esm/TemplateNormal.js +2 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -3
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -3
- package/dist/esm/VideoSeriesListing.js +2 -1
- package/dist/esm/View.js +12 -15
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getPtceActivities.js +78 -0
- package/dist/esm/getSerializers.js +8 -7
- package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/index-99a4897c.js +13560 -0
- package/dist/esm/{index-e89d33c8.js → index-e9a70085.js} +31 -74
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +11 -8
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/dist/{cjs/util-93a37fd0.js → esm/util-d39bca09.js} +133 -3
- package/package.json +115 -115
- package/dist/cjs/Pagination-2a3d0103.js +0 -97
- package/dist/esm/Pagination-dc30727b.js +0 -90
- /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-81006615.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-0db07099.js} +0 -0
- /package/dist/esm/{ADInfeed-0852ff35.js → ADInfeed-6d1fc6bf.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5fb3b724.js → ADlgInfeed-dc36c928.js} +0 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import ReactPaginate from 'react-paginate';
|
|
3
|
+
import Button from 'react-bootstrap/Button';
|
|
4
|
+
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
|
+
|
|
6
|
+
var Pagination = function Pagination(props) {
|
|
7
|
+
var pageCount = props.pageCount,
|
|
8
|
+
_props$marginPagesDis = props.marginPagesDisplayed,
|
|
9
|
+
marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
|
|
10
|
+
_props$pageRangeDispl = props.pageRangeDisplayed,
|
|
11
|
+
pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
|
|
12
|
+
_props$currentPage = props.currentPage,
|
|
13
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
14
|
+
_onPageChange = props.onPageChange,
|
|
15
|
+
_props$needLargePagin = props.needLargePaginateButtons,
|
|
16
|
+
needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
|
|
17
|
+
|
|
18
|
+
if (!pageCount || pageCount <= 1) return null;
|
|
19
|
+
return React__default.createElement(
|
|
20
|
+
React__default.Fragment,
|
|
21
|
+
null,
|
|
22
|
+
needLargePaginateButtons && React__default.createElement(
|
|
23
|
+
'div',
|
|
24
|
+
{ className: 'pagination-lg-btn-nxt' },
|
|
25
|
+
React__default.createElement(
|
|
26
|
+
Button,
|
|
27
|
+
{
|
|
28
|
+
onClick: function onClick(e) {
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
_onPageChange(currentPage + 1);
|
|
31
|
+
},
|
|
32
|
+
disabled: currentPage === pageCount,
|
|
33
|
+
href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
|
|
34
|
+
'NEXT PAGE',
|
|
35
|
+
React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
|
|
36
|
+
)
|
|
37
|
+
),
|
|
38
|
+
React__default.createElement(ReactPaginate, {
|
|
39
|
+
pageCount: pageCount,
|
|
40
|
+
marginPagesDisplayed: marginPagesDisplayed,
|
|
41
|
+
pageRangeDisplayed: pageRangeDisplayed,
|
|
42
|
+
forcePage: currentPage - 1,
|
|
43
|
+
onPageChange: function onPageChange(_ref) {
|
|
44
|
+
var selected = _ref.selected;
|
|
45
|
+
return _onPageChange(selected + 1);
|
|
46
|
+
},
|
|
47
|
+
hrefBuilder: function hrefBuilder(page) {
|
|
48
|
+
return '?page=' + page;
|
|
49
|
+
},
|
|
50
|
+
previousLabel: '<',
|
|
51
|
+
nextLabel: '>',
|
|
52
|
+
containerClassName: 'pagination-container',
|
|
53
|
+
previousLinkClassName: 'previous',
|
|
54
|
+
nextLinkClassName: 'next',
|
|
55
|
+
disabledClassName: 'disabled',
|
|
56
|
+
activeClassName: 'active'
|
|
57
|
+
}),
|
|
58
|
+
needLargePaginateButtons && React__default.createElement(
|
|
59
|
+
'div',
|
|
60
|
+
{ className: 'pagination-lg-btn-prv' },
|
|
61
|
+
React__default.createElement(
|
|
62
|
+
Button,
|
|
63
|
+
{
|
|
64
|
+
onClick: function onClick(e) {
|
|
65
|
+
e.preventDefault();
|
|
66
|
+
_onPageChange(currentPage - 1);
|
|
67
|
+
},
|
|
68
|
+
disabled: currentPage === 1,
|
|
69
|
+
href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
|
|
70
|
+
React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
71
|
+
'PREVIOUS PAGE'
|
|
72
|
+
)
|
|
73
|
+
),
|
|
74
|
+
React__default.createElement(
|
|
75
|
+
'style',
|
|
76
|
+
{ jsx: 'true' },
|
|
77
|
+
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export { Pagination as P };
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-e9a70085.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -26,12 +26,13 @@ import 'react-bootstrap';
|
|
|
26
26
|
import './index.es-a6137319.js';
|
|
27
27
|
import './visibility-sensor-72fd8f8b.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-f0fc23eb.js';
|
|
30
|
+
import './events-6c3a7a63.js';
|
|
30
31
|
import 'next/router';
|
|
31
32
|
import './index-755f2cc2.js';
|
|
32
33
|
import './main-1894c974.js';
|
|
33
34
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
35
36
|
import 'react-bootstrap/Card';
|
|
36
37
|
import './AdSlot.js';
|
|
37
38
|
import './debounce-533d9748.js';
|
|
@@ -42,14 +43,14 @@ import './stringify-2b084bee.js';
|
|
|
42
43
|
import './Segment.js';
|
|
43
44
|
import './AuthorComponent-11adff02.js';
|
|
44
45
|
import './lodash-f97fd99a.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
46
|
+
import './ADlgInfeed-dc36c928.js';
|
|
46
47
|
import './getContentCategory-15dcc413.js';
|
|
47
48
|
import './timeDifferenceCalc.js';
|
|
48
49
|
import './index-3f5c03b2.js';
|
|
49
50
|
import 'react-bootstrap/Breadcrumb';
|
|
50
51
|
import 'react-bootstrap/Carousel';
|
|
51
52
|
import './index-c7e2ac95.js';
|
|
52
|
-
import './util-
|
|
53
|
+
import './util-d39bca09.js';
|
|
53
54
|
import './urlForFile-b69adffc.js';
|
|
54
55
|
import './typeof-e9fc0c5d.js';
|
|
55
56
|
import './_is-array-8d21b9e3.js';
|
|
@@ -93,8 +94,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
93
94
|
client = _ref.client,
|
|
94
95
|
Settings = _ref.Settings,
|
|
95
96
|
pageview = _ref.pageview,
|
|
96
|
-
page = _ref.page
|
|
97
|
-
nextPagePostsCount = _ref.nextPagePostsCount;
|
|
97
|
+
page = _ref.page;
|
|
98
98
|
|
|
99
99
|
var description = partnerDetails && partnerDetails.description ? partnerDetails.description.filter(function (block) {
|
|
100
100
|
return block._type !== 'slideshows' ? block : null;
|
|
@@ -170,9 +170,24 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
170
170
|
rel: 'noopener noreferrer',
|
|
171
171
|
style: { height: 30, width: 30 }
|
|
172
172
|
}),
|
|
173
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
+
url: partnerDetails.youtube,
|
|
175
|
+
target: '_blank',
|
|
176
|
+
rel: 'noopener noreferrer',
|
|
177
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
178
|
+
}),
|
|
179
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
180
|
+
url: partnerDetails.twitter,
|
|
181
|
+
target: '_blank',
|
|
182
|
+
rel: 'noopener noreferrer',
|
|
183
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
184
|
+
}),
|
|
185
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
186
|
+
url: partnerDetails.facebook,
|
|
187
|
+
target: '_blank',
|
|
188
|
+
rel: 'noopener noreferrer',
|
|
189
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
190
|
+
})
|
|
176
191
|
)
|
|
177
192
|
)
|
|
178
193
|
),
|
|
@@ -229,8 +244,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
229
244
|
defaultImage: Settings.logo,
|
|
230
245
|
showPublished: true,
|
|
231
246
|
showCategory: true,
|
|
232
|
-
pageview: pageview
|
|
233
|
-
nextPagePostsCount: nextPagePostsCount
|
|
247
|
+
pageview: pageview
|
|
234
248
|
})
|
|
235
249
|
)
|
|
236
250
|
)
|
|
@@ -241,7 +255,7 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
241
255
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
|
|
242
256
|
var category = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
243
257
|
|
|
244
|
-
var today, featureQuery, partnerQuery, taxonomyQuery, _ref3, _ref4, features, partnerDetails, taxonomyDetails, articlesQuery,
|
|
258
|
+
var today, featureQuery, partnerQuery, taxonomyQuery, _ref3, _ref4, features, partnerDetails, taxonomyDetails, articlesQuery, articles;
|
|
245
259
|
|
|
246
260
|
return regenerator.wrap(function _callee$(_context) {
|
|
247
261
|
while (1) {
|
|
@@ -274,17 +288,12 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
274
288
|
partnerDetails = _ref4[1];
|
|
275
289
|
taxonomyDetails = _ref4[2];
|
|
276
290
|
articlesQuery = '*[_type == \'article\' && !(_id in path("drafts.**")) && defined(title) && is_visible == true && defined(url) && dateTime(published) <= dateTime(\'' + today + '\') && passwordLocked != true && references(\'' + taxonomyDetails.id + '\')] | order(published desc)[$from...$to]{\n title,\n summary,\n thumbnail{ ..., asset-> },\n url,\n published,\n contentCategory->,\n \'pageNumber\': ' + currentPage + '\n }';
|
|
277
|
-
|
|
278
|
-
_context.next = 17;
|
|
291
|
+
_context.next = 16;
|
|
279
292
|
return client.fetch(articlesQuery, params);
|
|
280
293
|
|
|
281
|
-
case
|
|
294
|
+
case 16:
|
|
282
295
|
articles = _context.sent;
|
|
283
|
-
_context.next = 20;
|
|
284
|
-
return client.fetch('count(' + articlesQuery + ')', _extends({}, params, { from: params.to, to: params.to + itemsPerPage }));
|
|
285
296
|
|
|
286
|
-
case 20:
|
|
287
|
-
nextPagePostsCount = _context.sent;
|
|
288
297
|
|
|
289
298
|
// need to exclude slideshows from body due to the affiliate slider
|
|
290
299
|
if (partnerDetails && partnerDetails.description) {
|
|
@@ -293,19 +302,9 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
293
302
|
});
|
|
294
303
|
}
|
|
295
304
|
|
|
296
|
-
return _context.abrupt('return', {
|
|
297
|
-
articles: articles,
|
|
298
|
-
taxonomyDetails: taxonomyDetails,
|
|
299
|
-
partnerDetails: category ? partnerDetails.partner : partnerDetails,
|
|
300
|
-
features: features,
|
|
301
|
-
featureQuery: featureQuery,
|
|
302
|
-
partnerQuery: partnerQuery,
|
|
303
|
-
taxonomyQuery: taxonomyQuery,
|
|
304
|
-
articlesQuery: articlesQuery,
|
|
305
|
-
nextPagePostsCount: nextPagePostsCount
|
|
306
|
-
});
|
|
305
|
+
return _context.abrupt('return', { articles: articles, taxonomyDetails: taxonomyDetails, partnerDetails: category ? partnerDetails.partner : partnerDetails, features: features, featureQuery: featureQuery, partnerQuery: partnerQuery, taxonomyQuery: taxonomyQuery, articlesQuery: articlesQuery });
|
|
307
306
|
|
|
308
|
-
case
|
|
307
|
+
case 19:
|
|
309
308
|
case 'end':
|
|
310
309
|
return _context.stop();
|
|
311
310
|
}
|
|
@@ -11,7 +11,7 @@ import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
|
11
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
12
|
import Feature from './Feature.js';
|
|
13
13
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-e9a70085.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -23,14 +23,15 @@ import 'prop-types';
|
|
|
23
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
24
|
import './toConsumableArray-f7074d7c.js';
|
|
25
25
|
import 'react-bootstrap';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-f0fc23eb.js';
|
|
27
|
+
import './events-6c3a7a63.js';
|
|
27
28
|
import 'next/router';
|
|
28
29
|
import './index-755f2cc2.js';
|
|
29
30
|
import 'react-dom';
|
|
30
31
|
import './lodash-f97fd99a.js';
|
|
31
32
|
import './main-1894c974.js';
|
|
32
33
|
import './entities-6d9154b4.js';
|
|
33
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
34
35
|
import 'react-bootstrap/Card';
|
|
35
36
|
import './AdSlot.js';
|
|
36
37
|
import './debounce-533d9748.js';
|
|
@@ -40,10 +41,11 @@ import './Beam.js';
|
|
|
40
41
|
import './stringify-2b084bee.js';
|
|
41
42
|
import './Segment.js';
|
|
42
43
|
import './AuthorComponent-11adff02.js';
|
|
43
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-dc36c928.js';
|
|
44
45
|
import './getContentCategory-15dcc413.js';
|
|
45
46
|
import './timeDifferenceCalc.js';
|
|
46
|
-
import './Pagination-
|
|
47
|
+
import './Pagination-cd21f8c2.js';
|
|
48
|
+
import 'react-paginate';
|
|
47
49
|
import 'react-bootstrap/Button';
|
|
48
50
|
import './index.esm-1bd8a0a8.js';
|
|
49
51
|
import './iconBase-ccc56b97.js';
|
|
@@ -51,7 +53,7 @@ import './index-3f5c03b2.js';
|
|
|
51
53
|
import 'react-bootstrap/Breadcrumb';
|
|
52
54
|
import 'react-bootstrap/Carousel';
|
|
53
55
|
import './index-c7e2ac95.js';
|
|
54
|
-
import './util-
|
|
56
|
+
import './util-d39bca09.js';
|
|
55
57
|
import './urlForFile-b69adffc.js';
|
|
56
58
|
import './typeof-e9fc0c5d.js';
|
|
57
59
|
import './_is-array-8d21b9e3.js';
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
|
+
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
6
|
+
import React__default, { useState, useEffect } from 'react';
|
|
7
|
+
import { f as fetch } from './index-99a4897c.js';
|
|
8
|
+
import { Col, Row } from 'react-bootstrap';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import './core.get-iterator-method-ea258bb1.js';
|
|
11
|
+
import './web.dom.iterable-ab4dea5c.js';
|
|
12
|
+
import './_library-528f1934.js';
|
|
13
|
+
import './_iter-detect-98db3b07.js';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
15
|
+
import './util-d39bca09.js';
|
|
16
|
+
|
|
17
|
+
var _this2 = undefined;
|
|
18
|
+
|
|
19
|
+
function PtceDeck(props) {
|
|
20
|
+
var _this = this;
|
|
21
|
+
|
|
22
|
+
var initialData = props.initialData;
|
|
23
|
+
|
|
24
|
+
var _useState = useState(),
|
|
25
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
26
|
+
cmeData = _useState2[0],
|
|
27
|
+
setCmeData = _useState2[1];
|
|
28
|
+
|
|
29
|
+
var _useState3 = useState(),
|
|
30
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
31
|
+
hasMore = _useState4[0],
|
|
32
|
+
setHasMore = _useState4[1];
|
|
33
|
+
|
|
34
|
+
var _useState5 = useState(),
|
|
35
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
36
|
+
paginatedPoint = _useState6[0],
|
|
37
|
+
setPaginatedPoint = _useState6[1];
|
|
38
|
+
|
|
39
|
+
useEffect(function () {
|
|
40
|
+
//set inital data
|
|
41
|
+
|
|
42
|
+
if (initialData && initialData.pageInfo) {
|
|
43
|
+
setHasMore(initialData.pageInfo.hasMore);
|
|
44
|
+
setPaginatedPoint(initialData.pageInfo.cursor);
|
|
45
|
+
setCmeData(initialData.contentItems);
|
|
46
|
+
}
|
|
47
|
+
//set hasMore and breakpoint
|
|
48
|
+
}, []);
|
|
49
|
+
|
|
50
|
+
var loadMore = function () {
|
|
51
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
52
|
+
var response, data;
|
|
53
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
54
|
+
while (1) {
|
|
55
|
+
switch (_context.prev = _context.next) {
|
|
56
|
+
case 0:
|
|
57
|
+
_context.next = 2;
|
|
58
|
+
return fetch('/api/get_activities-CE', {
|
|
59
|
+
headers: {
|
|
60
|
+
'Content-Type': 'application/json',
|
|
61
|
+
Accept: 'application/json'
|
|
62
|
+
},
|
|
63
|
+
method: 'post',
|
|
64
|
+
credentials: 'same-origin',
|
|
65
|
+
body: _JSON$stringify({ params: { paginatedPoint: paginatedPoint } })
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
case 2:
|
|
69
|
+
response = _context.sent;
|
|
70
|
+
_context.next = 5;
|
|
71
|
+
return response.json();
|
|
72
|
+
|
|
73
|
+
case 5:
|
|
74
|
+
data = _context.sent;
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
if (data.pageInfo) {
|
|
78
|
+
setHasMore(data.pageInfo.hasMore);
|
|
79
|
+
setPaginatedPoint(data.pageInfo.cursor);
|
|
80
|
+
setCmeData(function (prevState) {
|
|
81
|
+
return [].concat(_toConsumableArray(prevState), _toConsumableArray(data.contentItems));
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
console.log('data', data);
|
|
85
|
+
|
|
86
|
+
case 8:
|
|
87
|
+
case 'end':
|
|
88
|
+
return _context.stop();
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}, _callee, _this);
|
|
92
|
+
}));
|
|
93
|
+
|
|
94
|
+
return function loadMore() {
|
|
95
|
+
return _ref.apply(this, arguments);
|
|
96
|
+
};
|
|
97
|
+
}();
|
|
98
|
+
|
|
99
|
+
return React__default.createElement(
|
|
100
|
+
'div',
|
|
101
|
+
null,
|
|
102
|
+
cmeData && cmeData.map(function (activity) {
|
|
103
|
+
|
|
104
|
+
var href = activity.url ? activity.url : 'https://www.pharmacytimes.org/courses/' + activity.slug;
|
|
105
|
+
|
|
106
|
+
return React__default.createElement(
|
|
107
|
+
Col,
|
|
108
|
+
{ xl: 12, style: { marginBottom: '1rem' } },
|
|
109
|
+
React__default.createElement(
|
|
110
|
+
Row,
|
|
111
|
+
null,
|
|
112
|
+
React__default.createElement(
|
|
113
|
+
Col,
|
|
114
|
+
{ xs: 3, sm: 4, md: 4, lg: 4, xl: 4, style: { padding: '0' } },
|
|
115
|
+
React__default.createElement(
|
|
116
|
+
'a',
|
|
117
|
+
{ href: href, rel: 'noopener', target: '_blank' },
|
|
118
|
+
React__default.createElement('img', { style: { width: '100%', borderRadius: '0 0 0 10%', marginBottom: '20px', borderTop: '1px solid #EEE' }, src: activity.asset })
|
|
119
|
+
)
|
|
120
|
+
),
|
|
121
|
+
React__default.createElement(
|
|
122
|
+
Col,
|
|
123
|
+
{ xs: 9, sm: 8, md: 8, lg: 8, xl: 8, style: { paddingTop: '10px', marginBottom: '20px', borderTop: '1px solid #EEE' } },
|
|
124
|
+
React__default.createElement(
|
|
125
|
+
'a',
|
|
126
|
+
{ href: href, rel: 'noopener', target: '_blank' },
|
|
127
|
+
React__default.createElement('h4', { className: 'mb-1', style: { fontWeight: '500', fontSize: '22px' }, dangerouslySetInnerHTML: { __html: activity.title } }),
|
|
128
|
+
React__default.createElement(
|
|
129
|
+
'p',
|
|
130
|
+
{ className: 'mb-2' },
|
|
131
|
+
'Expiration Date: ',
|
|
132
|
+
moment(activity.courseEndDate).format('MMM Do YYYY')
|
|
133
|
+
),
|
|
134
|
+
React__default.createElement('p', { dangerouslySetInnerHTML: { __html: activity.description } })
|
|
135
|
+
)
|
|
136
|
+
)
|
|
137
|
+
)
|
|
138
|
+
);
|
|
139
|
+
}),
|
|
140
|
+
hasMore && React__default.createElement(
|
|
141
|
+
'div',
|
|
142
|
+
{ className: 'text-center my-5' },
|
|
143
|
+
React__default.createElement(
|
|
144
|
+
'button',
|
|
145
|
+
{ onClick: loadMore, className: 'btn btn-lg btn-primary' },
|
|
146
|
+
'Load More'
|
|
147
|
+
)
|
|
148
|
+
)
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
var getPtceActivities = function () {
|
|
153
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(params) {
|
|
154
|
+
var hasMore, response, data;
|
|
155
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
156
|
+
while (1) {
|
|
157
|
+
switch (_context2.prev = _context2.next) {
|
|
158
|
+
case 0:
|
|
159
|
+
_context2.prev = 0;
|
|
160
|
+
hasMore = '';
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
if (params.paginatedPoint && params.paginatedPoint !== '') {
|
|
164
|
+
hasMore = '&cursor=' + params.paginatedPoint;
|
|
165
|
+
}
|
|
166
|
+
console.log(hasMore, 'has More', params);
|
|
167
|
+
_context2.next = 6;
|
|
168
|
+
return fetch('https://www.pharmacytimes.org/incoming/v2/content?types[]=courses&sort=publishDate:desc&query=status:published&limit=25' + hasMore, {
|
|
169
|
+
method: 'GET',
|
|
170
|
+
headers: { Authorization: 'Bearer drnc4y57arj3f190cpvqiwxt3cxpbken' }
|
|
171
|
+
});
|
|
172
|
+
|
|
173
|
+
case 6:
|
|
174
|
+
response = _context2.sent;
|
|
175
|
+
_context2.next = 9;
|
|
176
|
+
return response.json();
|
|
177
|
+
|
|
178
|
+
case 9:
|
|
179
|
+
data = _context2.sent;
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
data.contentItems = data.contentItems.filter(function (course) {
|
|
183
|
+
if (course.tags && course.tags[0] && course.tags[0].label == 'Hidden') {
|
|
184
|
+
return false;
|
|
185
|
+
}
|
|
186
|
+
course.pType_id = '1';
|
|
187
|
+
// course.expirationDate = moment(course.courseEndDate).format('MMM Do YYYY')
|
|
188
|
+
|
|
189
|
+
var current_date = new Date();
|
|
190
|
+
var courseEndDate = new Date(course.courseEndDate);
|
|
191
|
+
|
|
192
|
+
return current_date.getTime() < courseEndDate.getTime();
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
return _context2.abrupt('return', data);
|
|
196
|
+
|
|
197
|
+
case 14:
|
|
198
|
+
_context2.prev = 14;
|
|
199
|
+
_context2.t0 = _context2['catch'](0);
|
|
200
|
+
|
|
201
|
+
console.log(_context2.t0);
|
|
202
|
+
return _context2.abrupt('return', []);
|
|
203
|
+
|
|
204
|
+
case 18:
|
|
205
|
+
case 'end':
|
|
206
|
+
return _context2.stop();
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}, _callee2, _this2, [[0, 14]]);
|
|
210
|
+
}));
|
|
211
|
+
|
|
212
|
+
return function getPtceActivities(_x) {
|
|
213
|
+
return _ref2.apply(this, arguments);
|
|
214
|
+
};
|
|
215
|
+
}();
|
|
216
|
+
|
|
217
|
+
export default PtceDeck;
|
|
218
|
+
export { getPtceActivities };
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -17,13 +17,14 @@ import './index.es-a6137319.js';
|
|
|
17
17
|
import './moment-bc12cb97.js';
|
|
18
18
|
import './visibility-sensor-72fd8f8b.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
20
|
+
import './index-f0fc23eb.js';
|
|
21
|
+
import './events-6c3a7a63.js';
|
|
21
22
|
import 'prop-types';
|
|
22
23
|
import 'next/router';
|
|
23
24
|
import './index-755f2cc2.js';
|
|
24
25
|
import './main-1894c974.js';
|
|
25
26
|
import './entities-6d9154b4.js';
|
|
26
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-6d1fc6bf.js';
|
|
27
28
|
import 'react-bootstrap/Card';
|
|
28
29
|
import './AdSlot.js';
|
|
29
30
|
import './debounce-533d9748.js';
|
|
@@ -34,7 +35,7 @@ import './stringify-2b084bee.js';
|
|
|
34
35
|
import './Segment.js';
|
|
35
36
|
import './AuthorComponent-11adff02.js';
|
|
36
37
|
import './lodash-f97fd99a.js';
|
|
37
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-dc36c928.js';
|
|
38
39
|
import './getContentCategory-15dcc413.js';
|
|
39
40
|
import './timeDifferenceCalc.js';
|
|
40
41
|
|
|
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
|
|
|
376
376
|
|
|
377
377
|
var _Set = unwrapExports(set);
|
|
378
378
|
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
379
|
+
/* usage & query
|
|
380
|
+
const Publication = (props) => {
|
|
381
|
+
const { cache, pub, year } = props
|
|
382
|
+
const targeting = {
|
|
383
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
+
}
|
|
386
|
+
return (
|
|
387
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
+
</Shell>
|
|
390
|
+
)
|
|
391
|
+
}
|
|
392
|
+
Publication.getInitialProps = async (ctx) => {
|
|
393
|
+
const { query } = ctx
|
|
394
|
+
const {
|
|
395
|
+
query: { year },
|
|
396
|
+
} = ctx
|
|
397
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
+
**import urlFor from framework**
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
export default Publication
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
407
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -7,15 +7,15 @@ import urlFor from './urlFor.js';
|
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
|
-
import { l as lib_3 } from './index-
|
|
10
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
13
|
import { m as main_43 } from './main-1894c974.js';
|
|
14
14
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
15
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
16
16
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
17
17
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
18
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
18
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
19
19
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
20
20
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -25,6 +25,7 @@ import './_iter-detect-98db3b07.js';
|
|
|
25
25
|
import './_object-pie-133f504a.js';
|
|
26
26
|
import './index-3f5c03b2.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
+
import './events-6c3a7a63.js';
|
|
28
29
|
import 'prop-types';
|
|
29
30
|
import 'react-bootstrap/Card';
|
|
30
31
|
import './AdSlot.js';
|
|
@@ -5,25 +5,26 @@ import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
|
5
5
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
6
6
|
import { Spinner, Container, Media } from 'react-bootstrap';
|
|
7
7
|
import { m as moment } from './moment-bc12cb97.js';
|
|
8
|
-
import { l as lib_3 } from './index-
|
|
8
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
9
9
|
import { useRouter } from 'next/router';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-1894c974.js';
|
|
13
13
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-6d1fc6bf.js';
|
|
15
15
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
16
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
16
|
+
import { A as ADlgInfeed } from './ADlgInfeed-dc36c928.js';
|
|
17
17
|
import { g as getContentCategory } from './getContentCategory-15dcc413.js';
|
|
18
18
|
import timeDifferenceCalc from './timeDifferenceCalc.js';
|
|
19
19
|
import urlFor from './urlFor.js';
|
|
20
|
-
import { P as Pagination } from './Pagination-
|
|
20
|
+
import { P as Pagination } from './Pagination-cd21f8c2.js';
|
|
21
21
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
22
22
|
import './core.get-iterator-method-ea258bb1.js';
|
|
23
23
|
import './web.dom.iterable-ab4dea5c.js';
|
|
24
24
|
import './_library-528f1934.js';
|
|
25
25
|
import './_iter-detect-98db3b07.js';
|
|
26
26
|
import './_object-pie-133f504a.js';
|
|
27
|
+
import './events-6c3a7a63.js';
|
|
27
28
|
import 'prop-types';
|
|
28
29
|
import 'react-dom';
|
|
29
30
|
import 'react-bootstrap/Card';
|
|
@@ -35,6 +36,7 @@ import './Beam.js';
|
|
|
35
36
|
import './stringify-2b084bee.js';
|
|
36
37
|
import './Segment.js';
|
|
37
38
|
import './index-3f5c03b2.js';
|
|
39
|
+
import 'react-paginate';
|
|
38
40
|
import 'react-bootstrap/Button';
|
|
39
41
|
import './index.esm-1bd8a0a8.js';
|
|
40
42
|
import './iconBase-ccc56b97.js';
|