@mjhls/mjh-framework 1.0.1067 → 1.0.1068-publication-pixel-v1
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 +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-0519664d.js → ADInfeed-3a68b356.js} +6 -6
- 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-e544ac1c.js → ADlgInfeed-d88a0250.js} +4 -4
- 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 +896 -1409
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +16 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +12 -11
- package/dist/cjs/ArticleSeriesListing.js +30 -29
- package/dist/cjs/AuthWrapper.js +1497 -315
- 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 +69 -68
- package/dist/cjs/CMEDeck.js +62 -61
- package/dist/cjs/Column1.js +6 -6
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +27 -26
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +51 -50
- package/dist/cjs/DeckContent.js +68 -67
- package/dist/cjs/DeckQueue.js +59 -58
- package/dist/cjs/DeckQueuePaginated.js +48 -47
- package/dist/cjs/{Dfp-67646058.js → Dfp-9be904d5.js} +18 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +36 -35
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +136 -135
- package/dist/cjs/GridContentPaginated.js +123 -122
- package/dist/cjs/GridHero.js +27 -27
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +120 -120
- package/dist/cjs/Header.js +25 -25
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +6 -6
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +30 -29
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-62a43659.js → ImageSlider-294d3fc0.js} +164 -221
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +53 -49
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +18 -17
- package/dist/cjs/MasterDeck.js +48 -47
- package/dist/cjs/MasterDeckPaginated.js +38 -37
- package/dist/cjs/{MediaSeriesCard-ce34b9ee.js → MediaSeriesCard-b842b86f.js} +17 -17
- package/dist/cjs/MediaSeriesLanding.js +44 -43
- package/dist/cjs/MediaSeriesLandingPaginated.js +43 -42
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-b7b16d48.js → NavFooter-fa5fae05.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +50 -50
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +52 -50
- package/dist/cjs/PartnerDetailListingPaginated.js +51 -49
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PodcastsLanding.js +24 -23
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +15 -14
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-e945bd55.js → PublicationFeature-03de3225.js} +29 -29
- package/dist/cjs/PublicationLanding.js +101 -101
- package/dist/cjs/QueueDeckExpanded.js +247 -246
- package/dist/cjs/QueueDeckExpandedPaginated.js +224 -223
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- 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-edcb8e4b.js → SeriesSlider-621d0cbb.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-e9ec9c63.js → SocialSearchComponent-f874175b.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +13 -12
- package/dist/cjs/TemplateNormal.js +28 -27
- package/dist/cjs/ThumbnailCard.js +11 -11
- package/dist/cjs/{Tooltip-980a1d1a.js → Tooltip-f075b7ef.js} +608 -493
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +30 -29
- package/dist/cjs/VideoSeriesCard.js +14 -14
- 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 +243 -238
- package/dist/cjs/YahooHero.js +23 -23
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
- package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getSerializers.js +8 -7
- package/dist/cjs/{getTargeting-45ffbee8.js → getTargeting-5b954783.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-8041a4eb.js → index-50be6759.js} +15 -9
- package/dist/cjs/{index-58778b87.js → index-6900cba9.js} +491 -491
- 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-2ea9e9ff.js → index.esm-f51609ab.js} +14 -14
- package/dist/cjs/index.js +106 -103
- package/dist/cjs/{main-47be4f9f.js → main-1ec1de84.js} +13 -13
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/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 +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 +513 -1026
- package/dist/esm/ArticleProgramLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -3
- package/dist/esm/ArticleSeriesListing.js +2 -1
- package/dist/esm/AuthWrapper.js +1470 -288
- package/dist/esm/CEDeckSupabase.js +3 -2
- 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 -4
- package/dist/esm/DeckContent.js +12 -11
- 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 +18 -18
- package/dist/esm/ExternalResources.js +5 -4
- package/dist/esm/GridContent.js +5 -4
- package/dist/esm/GridContentPaginated.js +6 -5
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -3
- package/dist/esm/{ImageSlider-aea3a615.js → ImageSlider-497e9c88.js} +10 -67
- package/dist/esm/IssueLanding.js +38 -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 +13 -12
- package/dist/esm/{MediaSeriesCard-6a972372.js → MediaSeriesCard-ba6a0d3b.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +14 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +15 -14
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +8 -6
- package/dist/esm/PartnerDetailListingPaginated.js +9 -7
- package/dist/esm/PodcastsLanding.js +7 -6
- package/dist/esm/PubSection.js +5 -4
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +5 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +6 -5
- 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-2e83e861.js → SeriesSlider-07be99e0.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/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-51957f7c.js → Tooltip-95655b44.js} +170 -55
- 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 -7
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/defineProperty-23a8f8cd.js +68 -0
- package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getSerializers.js +4 -3
- package/dist/esm/{getTargeting-a569a9cc.js → getTargeting-5a281334.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/{index-67e1773f.js → index-98ca9cec.js} +15 -9
- package/dist/esm/{index-b672e697.js → index-c10c03a2.js} +2 -2
- package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
- package/dist/esm/index.js +13 -10
- package/dist/esm/typeof-2f07d0e8.js +30 -0
- package/package.json +116 -116
- /package/dist/esm/{ADInfeed-c3f5613e.js → ADInfeed-74cc728c.js} +0 -0
- /package/dist/esm/{ADlgInfeed-2b148f3f.js → ADlgInfeed-b6217567.js} +0 -0
package/dist/esm/IssueLanding.js
CHANGED
|
@@ -3,7 +3,8 @@ import React__default from 'react';
|
|
|
3
3
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
4
4
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
5
5
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
6
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
7
|
+
import { PixelTrackingLandingPages } from './PixelTracking.js';
|
|
7
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
9
10
|
import './slicedToArray-6ebcbfea.js';
|
|
@@ -17,13 +18,14 @@ import './index.es-a6137319.js';
|
|
|
17
18
|
import './moment-bc12cb97.js';
|
|
18
19
|
import './visibility-sensor-72fd8f8b.js';
|
|
19
20
|
import 'react-dom';
|
|
20
|
-
import './index-
|
|
21
|
+
import './index-f0fc23eb.js';
|
|
22
|
+
import './events-6c3a7a63.js';
|
|
21
23
|
import 'prop-types';
|
|
22
24
|
import 'next/router';
|
|
23
25
|
import './index-755f2cc2.js';
|
|
24
26
|
import './main-f97773b2.js';
|
|
25
|
-
import './entities-
|
|
26
|
-
import './ADInfeed-
|
|
27
|
+
import './entities-6d9154b4.js';
|
|
28
|
+
import './ADInfeed-74cc728c.js';
|
|
27
29
|
import 'react-bootstrap/Card';
|
|
28
30
|
import './AdSlot.js';
|
|
29
31
|
import './debounce-533d9748.js';
|
|
@@ -37,7 +39,7 @@ import './_set-species-2cd9340f.js';
|
|
|
37
39
|
import './Segment.js';
|
|
38
40
|
import './AuthorComponent-11adff02.js';
|
|
39
41
|
import './lodash-f97fd99a.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
42
|
+
import './ADlgInfeed-b6217567.js';
|
|
41
43
|
import './getContentCategory-15dcc413.js';
|
|
42
44
|
import './timeDifferenceCalc.js';
|
|
43
45
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -71,35 +73,35 @@ import 'react-bootstrap/Tooltip';
|
|
|
71
73
|
import 'react-bootstrap/Popover';
|
|
72
74
|
import './checkSisterSite-a7218fda.js';
|
|
73
75
|
|
|
74
|
-
/* usage
|
|
75
|
-
import Settings, { Ads } from '../../../../settings'
|
|
76
|
-
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
77
|
-
import client from '../../../../client'
|
|
78
|
-
import moment from 'moment'
|
|
79
|
-
import Shell from '../../../../components/2.0/Shell'
|
|
80
|
-
import { pageview } from '../../../../utilities/gtag'
|
|
81
|
-
|
|
82
|
-
const Issue = (props) => {
|
|
83
|
-
const { pubIssue, cache } = props
|
|
84
|
-
const targeting = {
|
|
85
|
-
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
86
|
-
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
87
|
-
}
|
|
88
|
-
return (
|
|
89
|
-
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
90
|
-
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
91
|
-
</Shell>
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
Issue.getInitialProps = async (ctx) => {
|
|
96
|
-
const { query } = ctx
|
|
97
|
-
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
98
|
-
)
|
|
99
|
-
return { pubIssue }
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
export default Issue
|
|
76
|
+
/* usage
|
|
77
|
+
import Settings, { Ads } from '../../../../settings'
|
|
78
|
+
import { IssueLanding, getQuery } from '@mjhls/mjh-framework'
|
|
79
|
+
import client from '../../../../client'
|
|
80
|
+
import moment from 'moment'
|
|
81
|
+
import Shell from '../../../../components/2.0/Shell'
|
|
82
|
+
import { pageview } from '../../../../utilities/gtag'
|
|
83
|
+
|
|
84
|
+
const Issue = (props) => {
|
|
85
|
+
const { pubIssue, cache } = props
|
|
86
|
+
const targeting = {
|
|
87
|
+
content_placement: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
88
|
+
document_url: [`/publications/${pubIssue.identifier.current}/${pubIssue.issue.identifier.current}`],
|
|
89
|
+
}
|
|
90
|
+
return (
|
|
91
|
+
<Shell cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3' title={pubIssue.issue.name}>
|
|
92
|
+
<IssueLanding pubIssue={pubIssue} client={client} settings={Settings} pageview={pageview} rightItems={Ads.getMobileAds(targeting)} />
|
|
93
|
+
</Shell>
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
Issue.getInitialProps = async (ctx) => {
|
|
98
|
+
const { query } = ctx
|
|
99
|
+
const pubIssue = await client.fetch(getQuery('issue'), { ...query, currentDate: moment().utc().format() }
|
|
100
|
+
)
|
|
101
|
+
return { pubIssue }
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export default Issue
|
|
103
105
|
*/
|
|
104
106
|
|
|
105
107
|
var IssueLanding = function IssueLanding(props) {
|
|
@@ -127,6 +129,7 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
127
129
|
_props$nextPagePostsC = props.nextPagePostsCount,
|
|
128
130
|
nextPagePostsCount = _props$nextPagePostsC === undefined ? 1 : _props$nextPagePostsC;
|
|
129
131
|
|
|
132
|
+
console.log('i m pubIssue: ', pubIssue.issue);
|
|
130
133
|
return React__default.createElement(
|
|
131
134
|
'div',
|
|
132
135
|
{ id: 'issueLanding' },
|
|
@@ -142,6 +145,7 @@ var IssueLanding = function IssueLanding(props) {
|
|
|
142
145
|
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: pubIssue.issue.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
143
146
|
React__default.createElement('div', { style: { clear: 'both' } })
|
|
144
147
|
),
|
|
148
|
+
pubIssue.issue.pixelTrackingCode && React__default.createElement(PixelTrackingLandingPages, { pixelTracking: pubIssue.issue.pixelTrackingCode }),
|
|
145
149
|
React__default.createElement(QueueDeckExpanded, {
|
|
146
150
|
client: client,
|
|
147
151
|
mapping: settings.mapping,
|
package/dist/esm/KMTracker.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
var KMTracker = function KMTracker(props) {
|
|
2
|
-
|
|
2
|
+
var id = props.id;
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
if (document && id) {
|
|
5
5
|
(function () {
|
|
6
|
-
|
|
6
|
+
var ecnJquery = document.createElement('script');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
ecnJquery.type = 'text/javascript';
|
|
9
|
+
ecnJquery.async = true;
|
|
10
|
+
ecnJquery.src = 'https://apidt.ecn5.com/ECN_jQuery.min.js';
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
var ecnScript = document.createElement('script');
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
ecnScript.type = 'text/javascript';
|
|
15
|
+
ecnScript.async = true;
|
|
16
|
+
ecnScript.id = 'km-tracker';
|
|
17
|
+
ecnScript.src = 'https://apidt.ecn5.com/ECN_tracker_Secure.js?TrackerKey=' + id;
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
document.head.appendChild(ecnJquery);
|
|
20
|
+
document.head.appendChild(ecnScript);
|
|
21
|
+
})();
|
|
22
|
+
}
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export { KMTracker as default };
|
package/dist/esm/LeftNav.js
CHANGED
|
@@ -10,7 +10,8 @@ import './slicedToArray-6ebcbfea.js';
|
|
|
10
10
|
import './web.dom.iterable-ab4dea5c.js';
|
|
11
11
|
import './AdSlot.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-f0fc23eb.js';
|
|
14
|
+
import './events-6c3a7a63.js';
|
|
14
15
|
import './debounce-533d9748.js';
|
|
15
16
|
import './isSymbol-a7e9aafe.js';
|
|
16
17
|
import './toNumber-5aeba6e7.js';
|
package/dist/esm/MasterDeck.js
CHANGED
|
@@ -3,7 +3,7 @@ import { a as _Promise } from './asyncToGenerator-64822ccc.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.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 'react-bootstrap/Row';
|
|
9
9
|
import 'react-bootstrap/Col';
|
|
@@ -16,8 +16,8 @@ import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import './slicedToArray-6ebcbfea.js';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
20
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
19
|
+
import { A as ADlgInfeed } from './ADlgInfeed-b6217567.js';
|
|
20
|
+
import { A as ADInfeed } from './ADInfeed-74cc728c.js';
|
|
21
21
|
import './main-f97773b2.js';
|
|
22
22
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
23
23
|
import './core.get-iterator-method-ea258bb1.js';
|
|
@@ -29,6 +29,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
29
29
|
import './define-property-5f1bda73.js';
|
|
30
30
|
import './typeof-657f25da.js';
|
|
31
31
|
import './_is-array-8d21b9e3.js';
|
|
32
|
+
import './events-6c3a7a63.js';
|
|
32
33
|
import 'prop-types';
|
|
33
34
|
import './isSymbol-a7e9aafe.js';
|
|
34
35
|
import './toNumber-5aeba6e7.js';
|
|
@@ -222,14 +223,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
222
223
|
}
|
|
223
224
|
|
|
224
225
|
// please leave this for later debug purpose : Yong Jun.
|
|
225
|
-
/* console.log('page change reported', {
|
|
226
|
-
currentPage: currentPage,
|
|
227
|
-
pageNumber: pageNumber,
|
|
228
|
-
pathname: pathname,
|
|
229
|
-
path: path,
|
|
230
|
-
newPath: newPath,
|
|
231
|
-
firstPage: pageNumber === 1,
|
|
232
|
-
queryString: queryString
|
|
226
|
+
/* console.log('page change reported', {
|
|
227
|
+
currentPage: currentPage,
|
|
228
|
+
pageNumber: pageNumber,
|
|
229
|
+
pathname: pathname,
|
|
230
|
+
path: path,
|
|
231
|
+
newPath: newPath,
|
|
232
|
+
firstPage: pageNumber === 1,
|
|
233
|
+
queryString: queryString
|
|
233
234
|
}) */
|
|
234
235
|
|
|
235
236
|
if (pageview) {
|
|
@@ -4,15 +4,15 @@ import { _ as _extends } from './extends-1559c147.js';
|
|
|
4
4
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
5
5
|
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d21b4ef9.js';
|
|
6
6
|
import React__default from 'react';
|
|
7
|
-
import { l as lib_3 } from './index-
|
|
7
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
8
8
|
import Container from 'react-bootstrap/Container';
|
|
9
9
|
import Spinner from 'react-bootstrap/Spinner';
|
|
10
10
|
import { withRouter } from 'next/router';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
12
|
import { m as main_43 } from './main-f97773b2.js';
|
|
13
|
-
import { A as ADlgInfeed } from './ADlgInfeed-
|
|
14
|
-
import { A as ADInfeed } from './ADInfeed-
|
|
15
|
-
import { P as Pagination } from './Pagination-
|
|
13
|
+
import { A as ADlgInfeed } from './ADlgInfeed-b6217567.js';
|
|
14
|
+
import { A as ADInfeed } from './ADInfeed-74cc728c.js';
|
|
15
|
+
import { P as Pagination } from './Pagination-dc30727b.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
17
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
18
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -23,6 +23,7 @@ import './_object-sap-7cee6f84.js';
|
|
|
23
23
|
import './define-property-5f1bda73.js';
|
|
24
24
|
import './typeof-657f25da.js';
|
|
25
25
|
import './_is-array-8d21b9e3.js';
|
|
26
|
+
import './events-6c3a7a63.js';
|
|
26
27
|
import 'prop-types';
|
|
27
28
|
import './slicedToArray-6ebcbfea.js';
|
|
28
29
|
import 'react-bootstrap/Card';
|
|
@@ -106,14 +107,14 @@ var MasterDeck = function (_React$Component) {
|
|
|
106
107
|
}
|
|
107
108
|
|
|
108
109
|
// please leave this for later debug purpose : Yong Jun.
|
|
109
|
-
/* console.log('page change reported', {
|
|
110
|
-
currentPage: currentPage,
|
|
111
|
-
pageNumber: pageNumber,
|
|
112
|
-
pathname: pathname,
|
|
113
|
-
path: path,
|
|
114
|
-
newPath: newPath,
|
|
115
|
-
firstPage: pageNumber === 1,
|
|
116
|
-
queryString: queryString
|
|
110
|
+
/* console.log('page change reported', {
|
|
111
|
+
currentPage: currentPage,
|
|
112
|
+
pageNumber: pageNumber,
|
|
113
|
+
pathname: pathname,
|
|
114
|
+
path: path,
|
|
115
|
+
newPath: newPath,
|
|
116
|
+
firstPage: pageNumber === 1,
|
|
117
|
+
queryString: queryString
|
|
117
118
|
}) */
|
|
118
119
|
|
|
119
120
|
if (pageview) {
|
|
@@ -5,9 +5,9 @@ import urlFor from './urlFor.js';
|
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
9
9
|
|
|
10
|
-
var css = ".MediaSeriesCard-module_article__SAFYK {\
|
|
10
|
+
var css = ".MediaSeriesCard-module_article__SAFYK {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.MediaSeriesCard-module_article__SAFYK a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.MediaSeriesCard-module_thumb__3jRAU {\n width: 25%;\n}\n.MediaSeriesCard-module_thumb__3jRAU img {\n width: 100%;\n height: auto;\n}\n.MediaSeriesCard-module_info__3L7_o {\n width: 75%;\n font-size: 1rem;\n}\n.MediaSeriesCard-module_info__3L7_o h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.MediaSeriesCard-module_published__E4oiz {\n color: #6d6d6d;\n margin: 0;\n}\n.MediaSeriesCard-module_summary__1xanh {\n margin: 0.5rem 0 0 0;\n}\n.MediaSeriesCard-module_author__e5fuR {\n margin: 0;\n}\n.MediaSeriesCard-module_author__e5fuR span {\n color: #6d6d6d;\n}\n.MediaSeriesCard-module_name__2m5KY {\n font-size: 1.3rem;\n font-weight: bold;\n}\n@media only screen and (max-width: 568px) {\n .MediaSeriesCard-module_article__SAFYK {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .MediaSeriesCard-module_article__SAFYK a {\n flex-direction: column;\n align-items: center;\n }\n .MediaSeriesCard-module_thumb__3jRAU {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .MediaSeriesCard-module_thumb__3jRAU img{\n border-radius: 10px 10px 0 0; \n }\n .MediaSeriesCard-module_thumb__3jRAU figure {\n margin: 0;\n }\n .MediaSeriesCard-module_info__3L7_o {\n width: 90%;\n padding: 0rem !important;\n }\n .MediaSeriesCard-module_info__3L7_o h2 {\n font-size: 1rem;\n }\n .MediaSeriesCard-module_name__2m5KY {\n font-size: 1rem;\n \n }\n}\n";
|
|
11
11
|
var styles = { "article": "MediaSeriesCard-module_article__SAFYK", "thumb": "MediaSeriesCard-module_thumb__3jRAU", "info": "MediaSeriesCard-module_info__3L7_o", "published": "MediaSeriesCard-module_published__E4oiz", "summary": "MediaSeriesCard-module_summary__1xanh", "author": "MediaSeriesCard-module_author__e5fuR", "name": "MediaSeriesCard-module_name__2m5KY" };
|
|
12
12
|
styleInject(css);
|
|
13
13
|
|
|
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-95655b44.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import MasterDeck from './MasterDeck.js';
|
|
11
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
11
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-ba6a0d3b.js';
|
|
12
12
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
13
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -23,7 +23,8 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
23
23
|
import './inherits-d21b4ef9.js';
|
|
24
24
|
import './_object-sap-7cee6f84.js';
|
|
25
25
|
import './define-property-5f1bda73.js';
|
|
26
|
-
import './index-
|
|
26
|
+
import './index-f0fc23eb.js';
|
|
27
|
+
import './events-6c3a7a63.js';
|
|
27
28
|
import 'react-bootstrap/Container';
|
|
28
29
|
import 'react-bootstrap/Row';
|
|
29
30
|
import 'react-bootstrap/Col';
|
|
@@ -37,13 +38,13 @@ import './toNumber-5aeba6e7.js';
|
|
|
37
38
|
import './index.es-a6137319.js';
|
|
38
39
|
import './visibility-sensor-72fd8f8b.js';
|
|
39
40
|
import './index-3f5c03b2.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-b6217567.js';
|
|
41
42
|
import './AdSlot.js';
|
|
42
43
|
import './Beam.js';
|
|
43
44
|
import './stringify-2b084bee.js';
|
|
44
45
|
import './Segment.js';
|
|
45
46
|
import './main-f97773b2.js';
|
|
46
|
-
import './ADInfeed-
|
|
47
|
+
import './ADInfeed-74cc728c.js';
|
|
47
48
|
import './index-755f2cc2.js';
|
|
48
49
|
import './urlFor.js';
|
|
49
50
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -63,7 +64,7 @@ import './SocialShare.js';
|
|
|
63
64
|
import 'next/head';
|
|
64
65
|
import 'react-share';
|
|
65
66
|
import 'react-bootstrap/Pagination';
|
|
66
|
-
import './entities-
|
|
67
|
+
import './entities-6d9154b4.js';
|
|
67
68
|
import './index.esm-eb1e8e80.js';
|
|
68
69
|
import './iconBase-ccc56b97.js';
|
|
69
70
|
import 'react-bootstrap/Figure';
|
|
@@ -94,11 +95,11 @@ var Filter = function Filter(_ref) {
|
|
|
94
95
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
95
96
|
grandChildData = _useState6[0],
|
|
96
97
|
setGrandChildData = _useState6[1];
|
|
97
|
-
/*
|
|
98
|
-
{parent: showAll,
|
|
99
|
-
chidlren: show selected from parent,
|
|
100
|
-
grandchildren: show selected from children
|
|
101
|
-
}
|
|
98
|
+
/*
|
|
99
|
+
{parent: showAll,
|
|
100
|
+
chidlren: show selected from parent,
|
|
101
|
+
grandchildren: show selected from children
|
|
102
|
+
}
|
|
102
103
|
*/
|
|
103
104
|
|
|
104
105
|
|
|
@@ -3,14 +3,14 @@ import { _ as _typeof } from './typeof-657f25da.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
5
5
|
import React__default, { useState, useEffect } from 'react';
|
|
6
|
-
import { D as DropdownButton, a as Dropdown } from './Tooltip-
|
|
7
|
-
import './index-
|
|
6
|
+
import { D as DropdownButton, a as Dropdown } from './Tooltip-95655b44.js';
|
|
7
|
+
import './index-98ca9cec.js';
|
|
8
8
|
import 'react-dom';
|
|
9
9
|
import Link from 'next/link';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
11
|
import MasterDeck from './MasterDeckPaginated.js';
|
|
12
|
-
import { M as MediaSeriesCard } from './MediaSeriesCard-
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { M as MediaSeriesCard } from './MediaSeriesCard-ba6a0d3b.js';
|
|
13
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
14
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
15
15
|
import './core.get-iterator-method-ea258bb1.js';
|
|
16
16
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -25,13 +25,14 @@ import './toConsumableArray-f7074d7c.js';
|
|
|
25
25
|
import './inherits-d21b4ef9.js';
|
|
26
26
|
import './_object-sap-7cee6f84.js';
|
|
27
27
|
import './define-property-5f1bda73.js';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-f0fc23eb.js';
|
|
29
|
+
import './events-6c3a7a63.js';
|
|
29
30
|
import 'react-bootstrap/Container';
|
|
30
31
|
import 'react-bootstrap/Spinner';
|
|
31
32
|
import 'next/router';
|
|
32
33
|
import './lodash-f97fd99a.js';
|
|
33
34
|
import './main-f97773b2.js';
|
|
34
|
-
import './ADlgInfeed-
|
|
35
|
+
import './ADlgInfeed-b6217567.js';
|
|
35
36
|
import 'react-bootstrap/Card';
|
|
36
37
|
import './AdSlot.js';
|
|
37
38
|
import './debounce-533d9748.js';
|
|
@@ -39,8 +40,8 @@ import './isSymbol-a7e9aafe.js';
|
|
|
39
40
|
import './toNumber-5aeba6e7.js';
|
|
40
41
|
import './Beam.js';
|
|
41
42
|
import './Segment.js';
|
|
42
|
-
import './ADInfeed-
|
|
43
|
-
import './Pagination-
|
|
43
|
+
import './ADInfeed-74cc728c.js';
|
|
44
|
+
import './Pagination-dc30727b.js';
|
|
44
45
|
import 'react-bootstrap/Button';
|
|
45
46
|
import './index.esm-1bd8a0a8.js';
|
|
46
47
|
import './iconBase-ccc56b97.js';
|
|
@@ -63,7 +64,7 @@ import './SocialShare.js';
|
|
|
63
64
|
import 'next/head';
|
|
64
65
|
import 'react-share';
|
|
65
66
|
import 'react-bootstrap/Pagination';
|
|
66
|
-
import './entities-
|
|
67
|
+
import './entities-6d9154b4.js';
|
|
67
68
|
import 'react-bootstrap/Row';
|
|
68
69
|
import 'react-bootstrap/Col';
|
|
69
70
|
import './index.esm-eb1e8e80.js';
|
|
@@ -95,11 +96,11 @@ var Filter = function Filter(_ref) {
|
|
|
95
96
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
96
97
|
grandChildData = _useState6[0],
|
|
97
98
|
setGrandChildData = _useState6[1];
|
|
98
|
-
/*
|
|
99
|
-
{parent: showAll,
|
|
100
|
-
chidlren: show selected from parent,
|
|
101
|
-
grandchildren: show selected from children
|
|
102
|
-
}
|
|
99
|
+
/*
|
|
100
|
+
{parent: showAll,
|
|
101
|
+
chidlren: show selected from parent,
|
|
102
|
+
grandchildren: show selected from children
|
|
103
|
+
}
|
|
103
104
|
*/
|
|
104
105
|
|
|
105
106
|
|
package/dist/esm/NavMagazine.js
CHANGED
|
@@ -29,16 +29,16 @@ import 'react-bootstrap/FormControl';
|
|
|
29
29
|
import 'react-bootstrap/Button';
|
|
30
30
|
|
|
31
31
|
var NavMagazine = function NavMagazine(props) {
|
|
32
|
-
/*
|
|
33
|
-
Example Nav with acceptable props
|
|
34
|
-
<MagazineNav
|
|
35
|
-
showLogin
|
|
36
|
-
user={props.cache.user}
|
|
37
|
-
logo={props.settings.logo}
|
|
38
|
-
dataObject={props.cache.mainNavCache}
|
|
39
|
-
website={website}
|
|
40
|
-
subNav={props.cache.subNavCache}
|
|
41
|
-
/>
|
|
32
|
+
/*
|
|
33
|
+
Example Nav with acceptable props
|
|
34
|
+
<MagazineNav
|
|
35
|
+
showLogin
|
|
36
|
+
user={props.cache.user}
|
|
37
|
+
logo={props.settings.logo}
|
|
38
|
+
dataObject={props.cache.mainNavCache}
|
|
39
|
+
website={website}
|
|
40
|
+
subNav={props.cache.subNavCache}
|
|
41
|
+
/>
|
|
42
42
|
*/
|
|
43
43
|
|
|
44
44
|
// Setting 'socialIconVariant' as 'light' as default to make the social icons and search icon black
|
package/dist/esm/NavNative.js
CHANGED
|
@@ -303,15 +303,15 @@ function chunk(array, size, guard) {
|
|
|
303
303
|
var chunk_1 = chunk;
|
|
304
304
|
|
|
305
305
|
var NavNative = function NavNative(props) {
|
|
306
|
-
/*
|
|
307
|
-
Example Nav with acceptable props
|
|
308
|
-
<MagazineNav
|
|
309
|
-
showLogin
|
|
310
|
-
logo={props.settings.logo}
|
|
311
|
-
dataObject={props.cache.mainNavCache}
|
|
312
|
-
website={website}
|
|
313
|
-
subNav={props.cache.subNavCache}
|
|
314
|
-
/>
|
|
306
|
+
/*
|
|
307
|
+
Example Nav with acceptable props
|
|
308
|
+
<MagazineNav
|
|
309
|
+
showLogin
|
|
310
|
+
logo={props.settings.logo}
|
|
311
|
+
dataObject={props.cache.mainNavCache}
|
|
312
|
+
website={website}
|
|
313
|
+
subNav={props.cache.subNavCache}
|
|
314
|
+
/>
|
|
315
315
|
*/
|
|
316
316
|
// Setting 'socialIconVariant' as 'dark' as default to make the social icons and search icon black
|
|
317
317
|
var logo = props.logo,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-
|
|
4
|
+
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
|
|
6
6
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -4,7 +4,7 @@ import Button from 'react-bootstrap/Button';
|
|
|
4
4
|
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
5
|
|
|
6
6
|
var reactPaginate = createCommonjsModule(function (module, exports) {
|
|
7
|
-
!function(e,a){module.exports=a(React__default);}(commonjsGlobal,(function(e){return function(e){var a={};function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r});},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(r,n,function(a){return e[a]}.bind(null,n));return r},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=4)}([function(e,a,t){e.exports=t(2)();},function(a,t){a.exports=e;},function(e,a,t){var r=t(3);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,a,t,n,i,s){if(s!==r){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function a(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t};},function(e,a,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},function(e,a,t){t.r(a);var r=t(1),n=t.n(r),i=t(0),s=t.n(i);function o(){return (o=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var l=function(e){var a=e.pageClassName,t=e.pageLinkClassName,r=e.page,i=e.selected,s=e.activeClassName,l=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,p=e.href,f=e.extraAriaContext,g=e.pageLabelBuilder,d=e.ariaLabel||"Page "+r+(f?" "+f:""),b=null;return i&&(b="page",d=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+s:s,void 0!==t?void 0!==l&&(t=t+" "+l):t=l),n.a.createElement("li",{className:a},n.a.createElement("a",o({role:"button",className:t,href:p,tabIndex:"0","aria-label":d,"aria-current":b,onKeyPress:c},u(c)),g(r)))};l.propTypes={pageSelectedHandler:s.a.func.isRequired,selected:s.a.bool.isRequired,pageClassName:s.a.string,pageLinkClassName:s.a.string,activeClassName:s.a.string,activeLinkClassName:s.a.string,extraAriaContext:s.a.string,href:s.a.string,ariaLabel:s.a.string,page:s.a.number.isRequired,getEventListener:s.a.func.isRequired,pageLabelBuilder:s.a.func.isRequired};var u=l;function c(){return (c=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var p=function(e){var a=e.breakLabel,t=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,s=e.getEventListener,o=t||"break";return n.a.createElement("li",{className:o},n.a.createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},s(i)),a))};p.propTypes={breakLabel:s.a.oneOfType([s.a.string,s.a.node]),breakClassName:s.a.string,breakLinkClassName:s.a.string,breakHandler:s.a.func.isRequired,getEventListener:s.a.func.isRequired};var f=p;function g(e){return (g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return (d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function b(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function v(e,a){return (v=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function m(e){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return !1}}();return function(){var t,r=C(e);if(a){var n=C(this).constructor;t=Reflect.construct(r,arguments,n);}else t=r.apply(this,arguments);return h(this,t)}}function h(e,a){if(a&&("object"===g(a)||"function"==typeof a))return a;if(void 0!==a)throw new TypeError("Derived constructors may only return object or undefined");return y(e)}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return (C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var k=function(e){!function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&v(e,a);}(s,e);var a,t,i=m(s);function s(e){var a,t;return function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,s),P(y(a=i.call(this,e)),"handlePreviousPage",(function(e){var t=a.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,t>0&&a.handlePageSelected(t-1,e);})),P(y(a),"handleNextPage",(function(e){var t=a.state.selected,r=a.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,t<r-1&&a.handlePageSelected(t+1,e);})),P(y(a),"handlePageSelected",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,a.state.selected!==e?(a.setState({selected:e}),a.callCallback(e)):a.callActiveCallback(e);})),P(y(a),"getEventListener",(function(e){return P({},a.props.eventListener,e)})),P(y(a),"handleBreakClick",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1;var r=a.state.selected;a.handlePageSelected(r<e?a.getForwardJump():a.getBackwardJump(),t);})),P(y(a),"callCallback",(function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e});})),P(y(a),"callActiveCallback",(function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e});})),P(y(a),"pagination",(function(){var e=[],t=a.props,r=t.pageRangeDisplayed,i=t.pageCount,s=t.marginPagesDisplayed,o=t.breakLabel,l=t.breakClassName,u=t.breakLinkClassName,c=a.state.selected;if(i<=r)for(var p=0;p<i;p++)e.push(a.getPageElement(p));else {var g,d,b,v=r/2,m=r-v;c>i-r/2?v=r-(m=i-c):c<r/2&&(m=r-(v=c));var h=function(e){return a.getPageElement(e)};for(g=0;g<i;g++)(d=g+1)<=s||d>i-s||g>=c-v&&g<=c+m?e.push(h(g)):o&&e[e.length-1]!==b&&(b=n.a.createElement(f,{key:g,breakLabel:o,breakClassName:l,breakLinkClassName:u,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),e.push(b));}return e})),void 0!==e.initialPage&&void 0!==e.forcePage&&console.warn("(react-paginate): Both initialPage (".concat(e.initialPage,") and forcePage (").concat(e.forcePage,") props are provided, which is discouraged.")+" Use exclusively forcePage prop for a controlled component.\nSee https://reactjs.org/docs/forms.html#controlled-components"),t=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,a.state={selected:t},a}return a=s,(t=[{key:"componentDidMount",value:function(){var e=this.props,a=e.initialPage,t=e.disableInitialCallback,r=e.extraAriaContext,n=e.pageCount;void 0===a||t||this.callCallback(a),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."),Number.isInteger(n)||console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage}),Number.isInteger(e.pageCount)&&!Number.isInteger(this.props.pageCount)&&console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount,"). Did you forget a Math.ceil()?"));}},{key:"getForwardJump",value:function(){var e=this.state.selected,a=this.props,t=a.pageCount,r=e+a.pageRangeDisplayed;return r>=t?t-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var a=this.props,t=a.hrefBuilder,r=a.pageCount;if(t&&e!==this.state.selected&&e>=0&&e<r)return t(e+1)}},{key:"ariaLabelBuilder",value:function(e){var a=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var t=this.props.ariaLabelBuilder(e+1,a);return this.props.extraAriaContext&&!a&&(t=t+" "+this.props.extraAriaContext),t}}},{key:"getPageElement",value:function(e){var a=this.state.selected,t=this.props,r=t.pageClassName,i=t.pageLinkClassName,s=t.activeClassName,o=t.activeLinkClassName,l=t.extraAriaContext,c=t.pageLabelBuilder;return n.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,pageClassName:r,pageLinkClassName:i,activeClassName:s,activeLinkClassName:o,extraAriaContext:l,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props.renderOnZeroPageCount;if(0===this.props.pageCount&&void 0!==e)return e?e(this.props):e;var a=this.props,t=a.disabledClassName,r=a.pageCount,i=a.className,s=a.containerClassName,o=a.previousLabel,l=a.previousClassName,u=a.previousLinkClassName,c=a.previousAriaLabel,p=a.prevRel,f=a.nextLabel,g=a.nextClassName,b=a.nextLinkClassName,v=a.nextAriaLabel,m=a.nextRel,h=this.state.selected,y=l+(0===h?" ".concat(t):""),C=g+(h===r-1?" ".concat(t):""),P=0===h?"true":"false",k=h===r-1?"true":"false";return n.a.createElement("ul",{className:i||s},n.a.createElement("li",{className:y},n.a.createElement("a",d({className:u,href:this.hrefBuilder(h-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":P,"aria-label":c,rel:p},this.getEventListener(this.handlePreviousPage)),o)),this.pagination(),n.a.createElement("li",{className:C},n.a.createElement("a",d({className:b,href:this.hrefBuilder(h+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":k,"aria-label":v,rel:m},this.getEventListener(this.handleNextPage)),f)))}}])&&b(a.prototype,t),s}(r.Component);P(k,"propTypes",{pageCount:s.a.number.isRequired,pageRangeDisplayed:s.a.number.isRequired,marginPagesDisplayed:s.a.number.isRequired,previousLabel:s.a.node,previousAriaLabel:s.a.string,prevRel:s.a.string,nextLabel:s.a.node,nextAriaLabel:s.a.string,nextRel:s.a.string,breakLabel:s.a.oneOfType([s.a.string,s.a.node]),hrefBuilder:s.a.func,onPageChange:s.a.func,onPageActive:s.a.func,initialPage:s.a.number,forcePage:s.a.number,disableInitialCallback:s.a.bool,containerClassName:s.a.string,className:s.a.string,pageClassName:s.a.string,pageLinkClassName:s.a.string,pageLabelBuilder:s.a.func,activeClassName:s.a.string,activeLinkClassName:s.a.string,previousClassName:s.a.string,nextClassName:s.a.string,previousLinkClassName:s.a.string,nextLinkClassName:s.a.string,disabledClassName:s.a.string,breakClassName:s.a.string,breakLinkClassName:s.a.string,extraAriaContext:s.a.string,ariaLabelBuilder:s.a.func,eventListener:s.a.string,renderOnZeroPageCount:s.a.func}),P(k,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick",renderOnZeroPageCount:void 0});a.default=k;}])}));
|
|
7
|
+
!function(e,a){module.exports=a(React__default);}(commonjsGlobal,(function(e){return function(e){var a={};function t(r){if(a[r])return a[r].exports;var n=a[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,t),n.l=!0,n.exports}return t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{enumerable:!0,get:r});},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0});},t.t=function(e,a){if(1&a&&(e=t(e)),8&a)return e;if(4&a&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&a&&"string"!=typeof e)for(var n in e)t.d(r,n,function(a){return e[a]}.bind(null,n));return r},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},t.p="",t(t.s=4)}([function(e,a,t){e.exports=t(2)();},function(a,t){a.exports=e;},function(e,a,t){var r=t(3);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,a,t,n,i,s){if(s!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function a(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:a,element:e,elementType:e,instanceOf:a,node:e,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t};},function(e,a,t){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";},function(e,a,t){t.r(a);var r=t(1),n=t.n(r),i=t(0),s=t.n(i);function l(){return (l=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var o=function(e){var a=e.pageClassName,t=e.pageLinkClassName,r=e.page,i=e.selected,s=e.activeClassName,o=e.activeLinkClassName,u=e.getEventListener,c=e.pageSelectedHandler,p=e.href,f=e.extraAriaContext,g=e.pageLabelBuilder,d=e.ariaLabel||"Page "+r+(f?" "+f:""),b=null;return i&&(b="page",d=e.ariaLabel||"Page "+r+" is your current page",a=void 0!==a?a+" "+s:s,void 0!==t?void 0!==o&&(t=t+" "+o):t=o),n.a.createElement("li",{className:a},n.a.createElement("a",l({role:"button",className:t,href:p,tabIndex:"0","aria-label":d,"aria-current":b,onKeyPress:c},u(c)),g(r)))};o.propTypes={pageSelectedHandler:s.a.func.isRequired,selected:s.a.bool.isRequired,pageClassName:s.a.string,pageLinkClassName:s.a.string,activeClassName:s.a.string,activeLinkClassName:s.a.string,extraAriaContext:s.a.string,href:s.a.string,ariaLabel:s.a.string,page:s.a.number.isRequired,getEventListener:s.a.func.isRequired,pageLabelBuilder:s.a.func.isRequired};var u=o;function c(){return (c=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}var p=function(e){var a=e.breakLabel,t=e.breakClassName,r=e.breakLinkClassName,i=e.breakHandler,s=e.getEventListener,l=t||"break";return n.a.createElement("li",{className:l},n.a.createElement("a",c({className:r,role:"button",tabIndex:"0",onKeyPress:i},s(i)),a))};p.propTypes={breakLabel:s.a.oneOfType([s.a.string,s.a.node]),breakClassName:s.a.string,breakLinkClassName:s.a.string,breakHandler:s.a.func.isRequired,getEventListener:s.a.func.isRequired};var f=p;function g(e){return (g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(){return (d=Object.assign||function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);}return e}).apply(this,arguments)}function b(e,a){for(var t=0;t<a.length;t++){var r=a[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r);}}function v(e,a){return (v=Object.setPrototypeOf||function(e,a){return e.__proto__=a,e})(e,a)}function m(e){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return !1}}();return function(){var t,r=C(e);if(a){var n=C(this).constructor;t=Reflect.construct(r,arguments,n);}else t=r.apply(this,arguments);return h(this,t)}}function h(e,a){return !a||"object"!==g(a)&&"function"!=typeof a?y(e):a}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C(e){return (C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var k=function(e){!function(e,a){if("function"!=typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(a&&a.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a&&v(e,a);}(s,e);var a,t,i=m(s);function s(e){var a,t;return function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,s),P(y(a=i.call(this,e)),"handlePreviousPage",(function(e){var t=a.state.selected;e.preventDefault?e.preventDefault():e.returnValue=!1,t>0&&a.handlePageSelected(t-1,e);})),P(y(a),"handleNextPage",(function(e){var t=a.state.selected,r=a.props.pageCount;e.preventDefault?e.preventDefault():e.returnValue=!1,t<r-1&&a.handlePageSelected(t+1,e);})),P(y(a),"handlePageSelected",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1,a.state.selected!==e?(a.setState({selected:e}),a.callCallback(e)):a.callActiveCallback(e);})),P(y(a),"getEventListener",(function(e){return P({},a.props.eventListener,e)})),P(y(a),"handleBreakClick",(function(e,t){t.preventDefault?t.preventDefault():t.returnValue=!1;var r=a.state.selected;a.handlePageSelected(r<e?a.getForwardJump():a.getBackwardJump(),t);})),P(y(a),"callCallback",(function(e){void 0!==a.props.onPageChange&&"function"==typeof a.props.onPageChange&&a.props.onPageChange({selected:e});})),P(y(a),"callActiveCallback",(function(e){void 0!==a.props.onPageActive&&"function"==typeof a.props.onPageActive&&a.props.onPageActive({selected:e});})),P(y(a),"pagination",(function(){var e=[],t=a.props,r=t.pageRangeDisplayed,i=t.pageCount,s=t.marginPagesDisplayed,l=t.breakLabel,o=t.breakClassName,u=t.breakLinkClassName,c=a.state.selected;if(i<=r)for(var p=0;p<i;p++)e.push(a.getPageElement(p));else {var g,d,b,v=r/2,m=r-v;c>i-r/2?v=r-(m=i-c):c<r/2&&(m=r-(v=c));var h=function(e){return a.getPageElement(e)};for(g=0;g<i;g++)(d=g+1)<=s||d>i-s||g>=c-v&&g<=c+m?e.push(h(g)):l&&e[e.length-1]!==b&&(b=n.a.createElement(f,{key:g,breakLabel:l,breakClassName:o,breakLinkClassName:u,breakHandler:a.handleBreakClick.bind(null,g),getEventListener:a.getEventListener}),e.push(b));}return e})),t=e.initialPage?e.initialPage:e.forcePage?e.forcePage:0,a.state={selected:t},a}return a=s,(t=[{key:"componentDidMount",value:function(){var e=this.props,a=e.initialPage,t=e.disableInitialCallback,r=e.extraAriaContext;void 0===a||t||this.callCallback(a),r&&console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead.");}},{key:"componentDidUpdate",value:function(e){void 0!==this.props.forcePage&&this.props.forcePage!==e.forcePage&&this.setState({selected:this.props.forcePage});}},{key:"getForwardJump",value:function(){var e=this.state.selected,a=this.props,t=a.pageCount,r=e+a.pageRangeDisplayed;return r>=t?t-1:r}},{key:"getBackwardJump",value:function(){var e=this.state.selected-this.props.pageRangeDisplayed;return e<0?0:e}},{key:"hrefBuilder",value:function(e){var a=this.props,t=a.hrefBuilder,r=a.pageCount;if(t&&e!==this.state.selected&&e>=0&&e<r)return t(e+1)}},{key:"ariaLabelBuilder",value:function(e){var a=e===this.state.selected;if(this.props.ariaLabelBuilder&&e>=0&&e<this.props.pageCount){var t=this.props.ariaLabelBuilder(e+1,a);return this.props.extraAriaContext&&!a&&(t=t+" "+this.props.extraAriaContext),t}}},{key:"getPageElement",value:function(e){var a=this.state.selected,t=this.props,r=t.pageClassName,i=t.pageLinkClassName,s=t.activeClassName,l=t.activeLinkClassName,o=t.extraAriaContext,c=t.pageLabelBuilder;return n.a.createElement(u,{key:e,pageSelectedHandler:this.handlePageSelected.bind(null,e),selected:a===e,pageClassName:r,pageLinkClassName:i,activeClassName:s,activeLinkClassName:l,extraAriaContext:o,href:this.hrefBuilder(e),ariaLabel:this.ariaLabelBuilder(e),page:e+1,pageLabelBuilder:c,getEventListener:this.getEventListener})}},{key:"render",value:function(){var e=this.props,a=e.disabledClassName,t=e.pageCount,r=e.containerClassName,i=e.previousLabel,s=e.previousClassName,l=e.previousLinkClassName,o=e.previousAriaLabel,u=e.prevRel,c=e.nextLabel,p=e.nextClassName,f=e.nextLinkClassName,g=e.nextAriaLabel,b=e.nextRel,v=this.state.selected,m=s+(0===v?" ".concat(a):""),h=p+(v===t-1?" ".concat(a):""),y=0===v?"true":"false",C=v===t-1?"true":"false";return n.a.createElement("ul",{className:r},n.a.createElement("li",{className:m},n.a.createElement("a",d({className:l,href:this.hrefBuilder(v-1),tabIndex:"0",role:"button",onKeyPress:this.handlePreviousPage,"aria-disabled":y,"aria-label":o,rel:u},this.getEventListener(this.handlePreviousPage)),i)),this.pagination(),n.a.createElement("li",{className:h},n.a.createElement("a",d({className:f,href:this.hrefBuilder(v+1),tabIndex:"0",role:"button",onKeyPress:this.handleNextPage,"aria-disabled":C,"aria-label":g,rel:b},this.getEventListener(this.handleNextPage)),c)))}}])&&b(a.prototype,t),s}(r.Component);P(k,"propTypes",{pageCount:s.a.number.isRequired,pageRangeDisplayed:s.a.number.isRequired,marginPagesDisplayed:s.a.number.isRequired,previousLabel:s.a.node,previousAriaLabel:s.a.string,prevRel:s.a.string,nextLabel:s.a.node,nextAriaLabel:s.a.string,nextRel:s.a.string,breakLabel:s.a.oneOfType([s.a.string,s.a.node]),hrefBuilder:s.a.func,onPageChange:s.a.func,onPageActive:s.a.func,initialPage:s.a.number,forcePage:s.a.number,disableInitialCallback:s.a.bool,containerClassName:s.a.string,pageClassName:s.a.string,pageLinkClassName:s.a.string,pageLabelBuilder:s.a.func,activeClassName:s.a.string,activeLinkClassName:s.a.string,previousClassName:s.a.string,nextClassName:s.a.string,previousLinkClassName:s.a.string,nextLinkClassName:s.a.string,disabledClassName:s.a.string,breakClassName:s.a.string,breakLinkClassName:s.a.string,extraAriaContext:s.a.string,ariaLabelBuilder:s.a.func,eventListener:s.a.string}),P(k,"defaultProps",{pageCount:10,pageRangeDisplayed:2,marginPagesDisplayed:3,activeClassName:"selected",previousLabel:"Previous",previousClassName:"previous",previousAriaLabel:"Previous page",prevRel:"prev",nextLabel:"Next",nextClassName:"next",nextAriaLabel:"Next page",nextRel:"next",breakLabel:"...",disabledClassName:"disabled",disableInitialCallback:!1,pageLabelBuilder:function(e){return e},eventListener:"onClick"});a.default=k;}])}));
|
|
8
8
|
|
|
9
9
|
});
|
|
10
10
|
|
|
@@ -3,14 +3,15 @@ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
|
3
3
|
import { _ as _extends } from './extends-1559c147.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-
|
|
6
|
+
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-497e9c88.js';
|
|
7
|
+
import './defineProperty-23a8f8cd.js';
|
|
7
8
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
8
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
10
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
11
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
12
|
import Feature from './Feature.js';
|
|
12
13
|
import urlFor from './urlFor.js';
|
|
13
|
-
import { g as getSerializers } from './index-
|
|
14
|
+
import { g as getSerializers } from './index-c10c03a2.js';
|
|
14
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
15
16
|
import { c as checkSisterSite } from './checkSisterSite-a7218fda.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -26,12 +27,13 @@ import 'react-bootstrap';
|
|
|
26
27
|
import './index.es-a6137319.js';
|
|
27
28
|
import './visibility-sensor-72fd8f8b.js';
|
|
28
29
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
30
|
+
import './index-f0fc23eb.js';
|
|
31
|
+
import './events-6c3a7a63.js';
|
|
30
32
|
import 'next/router';
|
|
31
33
|
import './index-755f2cc2.js';
|
|
32
34
|
import './main-f97773b2.js';
|
|
33
|
-
import './entities-
|
|
34
|
-
import './ADInfeed-
|
|
35
|
+
import './entities-6d9154b4.js';
|
|
36
|
+
import './ADInfeed-74cc728c.js';
|
|
35
37
|
import 'react-bootstrap/Card';
|
|
36
38
|
import './AdSlot.js';
|
|
37
39
|
import './debounce-533d9748.js';
|
|
@@ -42,7 +44,7 @@ import './stringify-2b084bee.js';
|
|
|
42
44
|
import './Segment.js';
|
|
43
45
|
import './AuthorComponent-11adff02.js';
|
|
44
46
|
import './lodash-f97fd99a.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
47
|
+
import './ADlgInfeed-b6217567.js';
|
|
46
48
|
import './getContentCategory-15dcc413.js';
|
|
47
49
|
import './timeDifferenceCalc.js';
|
|
48
50
|
import './index-3f5c03b2.js';
|