@mjhls/mjh-framework 1.0.992-next-update → 1.0.992-nofollow-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +5 -4
- package/dist/cjs/AD300x250x600.js +5 -4
- package/dist/cjs/AD728x90.js +6 -5
- package/dist/cjs/ADFloatingFooter.js +4 -3
- package/dist/cjs/ADGutter.js +4 -3
- package/dist/cjs/ADSkyscraper.js +4 -3
- package/dist/cjs/ADSponsoredResources.js +4 -3
- package/dist/cjs/ADWebcast.js +4 -3
- package/dist/cjs/ADWelcome.js +4 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +4 -3
- package/dist/cjs/AdSlotsProvider.js +5 -4
- package/dist/cjs/AlgoliaSearch.js +49 -427
- package/dist/cjs/AlphabeticList.js +1 -1
- package/dist/cjs/ArticleCarousel.js +4 -3
- package/dist/cjs/ArticleProgramLandingPage.js +11 -9
- package/dist/cjs/ArticleSeriesLandingPage.js +7 -6
- package/dist/cjs/ArticleSeriesListing.js +8 -7
- package/dist/cjs/Auth.js +1 -1
- package/dist/cjs/CMEDeck.js +4 -3
- package/dist/cjs/Column2.js +4 -4
- package/dist/cjs/Column3.js +9 -8
- package/dist/cjs/ContentCardPaginated.js +13 -11
- package/dist/cjs/DeckContent.js +8 -7
- package/dist/cjs/DeckQueue.js +7 -6
- package/dist/cjs/DeckQueuePaginated.js +12 -10
- package/dist/cjs/{Dfp-e06695e9.js → Dfp-c313a700.js} +2 -1
- package/dist/cjs/EventsDeck.js +32 -5
- package/dist/cjs/ExternalResources.js +15 -11
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +2 -1
- package/dist/cjs/GridContent.js +12 -11
- package/dist/cjs/GridContentPaginated.js +17 -15
- package/dist/cjs/GridHero.js +2 -1
- package/dist/cjs/HamMagazine.js +20 -19
- package/dist/cjs/HorizontalArticleListing.js +11 -8
- package/dist/cjs/HorizontalHero.js +2 -2
- package/dist/cjs/IssueContentDeck.js +2 -1
- package/dist/cjs/IssueDeck.js +3 -2
- package/dist/cjs/IssueLanding.js +12 -10
- package/dist/cjs/LeftNav.js +17 -6
- package/dist/cjs/MasterDeck.js +7 -6
- package/dist/cjs/MasterDeckPaginated.js +11 -10
- package/dist/cjs/MediaSeriesCard-c12acd53.js +9568 -0
- package/dist/cjs/MediaSeriesLanding.js +14 -13
- package/dist/cjs/MediaSeriesLandingPaginated.js +16 -15
- package/dist/cjs/NavDvm.js +38 -6
- package/dist/cjs/{NavFooter-1fda6732.js → NavFooter-01974617.js} +9 -4
- package/dist/cjs/NavMagazine.js +31 -12
- package/dist/cjs/NavNative.js +29 -9
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +2 -1
- package/dist/cjs/{Pagination-15fb574b.js → Pagination-6359861a.js} +1 -1
- package/dist/cjs/PartnerDetailListing.js +36 -18
- package/dist/cjs/PartnerDetailListingPaginated.js +31 -17
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +7 -6
- package/dist/cjs/PublicationDeck.js +2 -1
- package/dist/cjs/{PublicationFeature-831b844f.js → PublicationFeature-a989a2b3.js} +1 -1
- package/dist/cjs/PublicationLanding.js +3 -2
- package/dist/cjs/QueueDeckExpanded.js +9 -8
- package/dist/cjs/QueueDeckExpandedPaginated.js +14 -12
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +2 -1
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +7 -6
- package/dist/cjs/{SeriesSlider-812c18c1.js → SeriesSlider-18fc6e71.js} +7 -7
- package/dist/cjs/SideFooter.js +7 -7
- package/dist/cjs/{SocialSearchComponent-97f282c9.js → SocialSearchComponent-934ee7cb.js} +7 -7
- package/dist/cjs/TaxonomyCard.js +12 -6
- package/dist/cjs/TaxonomyDescription.js +11 -8
- package/dist/cjs/TemplateNormal.js +13 -12
- package/dist/cjs/ThumbnailCard.js +2 -1
- package/dist/cjs/Ustream.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +11 -9
- package/dist/cjs/VideoSeriesCard.js +2 -1
- package/dist/cjs/VideoSeriesLandingPage.js +8 -7
- package/dist/cjs/VideoSeriesListing.js +8 -7
- package/dist/cjs/View.js +19 -17
- package/dist/cjs/YahooHero.js +2 -1
- package/dist/cjs/YoutubeGroup.js +8 -7
- package/dist/cjs/checkSisterSite-537617d0.js +12 -0
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-4ba5ae64.js → extends-7c86182f.js} +1 -0
- package/dist/cjs/getSerializers.js +11 -8
- package/dist/cjs/{getTargeting-04f873fc.js → getTargeting-ba942d9a.js} +1 -1
- package/dist/cjs/getTargeting.js +2 -2
- package/dist/cjs/{iconBase-a4e2124e.js → iconBase-be4097c0.js} +33 -19
- package/dist/cjs/index-50be6759.js +105 -0
- package/dist/cjs/{index-4d9f51e0.js → index-65621b6c.js} +30 -44
- package/dist/cjs/{index-83306c50.js → index-bf53fcae.js} +298 -47
- package/dist/cjs/{index-d4111f6f.js → index-d2a6ef75.js} +11 -497
- package/dist/cjs/{index.esm-e9b0af76.js → index.esm-819f093e.js} +7 -6
- package/dist/cjs/index.esm-c1e16606.js +13 -0
- package/dist/cjs/{index.esm-137096ed.js → index.esm-d51c9ac6.js} +1 -1
- package/dist/cjs/{index.esm-cc867b2a.js → index.esm-d81454e7.js} +1 -1
- package/dist/cjs/index.js +23 -21
- package/dist/cjs/{inherits-34f12d98.js → inherits-de66ea16.js} +3 -0
- package/dist/cjs/{lib-deff1680.js → main-6054981e.js} +461 -671
- package/dist/cjs/{react-social-icons-3750ed83.js → react-social-icons-2c5c389a.js} +23 -107
- package/dist/cjs/websiteList-e5ddc626.js +5 -0
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +5 -4
- package/dist/esm/AD300x250x600.js +5 -4
- package/dist/esm/AD728x90.js +6 -5
- package/dist/esm/ADFloatingFooter.js +4 -3
- package/dist/esm/ADGutter.js +4 -3
- package/dist/esm/ADSkyscraper.js +4 -3
- package/dist/esm/ADSponsoredResources.js +4 -3
- package/dist/esm/ADWebcast.js +4 -3
- package/dist/esm/ADWelcome.js +4 -3
- package/dist/esm/AccordionPanel.js +2 -2
- package/dist/esm/AdSlot.js +4 -3
- package/dist/esm/AdSlotsProvider.js +5 -4
- package/dist/esm/AlgoliaSearch.js +16 -394
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +4 -3
- package/dist/esm/ArticleProgramLandingPage.js +11 -9
- package/dist/esm/ArticleSeriesLandingPage.js +7 -6
- package/dist/esm/ArticleSeriesListing.js +8 -7
- package/dist/esm/Auth.js +1 -1
- package/dist/esm/CMEDeck.js +4 -3
- package/dist/esm/Column2.js +4 -4
- package/dist/esm/Column3.js +9 -8
- package/dist/esm/ContentCardPaginated.js +13 -11
- package/dist/esm/DeckContent.js +8 -7
- package/dist/esm/DeckQueue.js +7 -6
- package/dist/esm/DeckQueuePaginated.js +12 -10
- package/dist/esm/{Dfp-d5e18fc5.js → Dfp-102f0beb.js} +2 -1
- package/dist/esm/EventsDeck.js +31 -4
- package/dist/esm/ExternalResources.js +15 -11
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +2 -1
- package/dist/esm/GridContent.js +12 -11
- package/dist/esm/GridContentPaginated.js +17 -15
- package/dist/esm/GridHero.js +2 -1
- package/dist/esm/HamMagazine.js +20 -19
- package/dist/esm/HorizontalArticleListing.js +11 -8
- package/dist/esm/HorizontalHero.js +2 -2
- package/dist/esm/IssueContentDeck.js +2 -1
- package/dist/esm/IssueDeck.js +3 -2
- package/dist/esm/IssueLanding.js +12 -10
- package/dist/esm/LeftNav.js +17 -6
- package/dist/esm/MasterDeck.js +7 -6
- package/dist/esm/MasterDeckPaginated.js +11 -10
- package/dist/esm/{MediaSeriesCard-f3a44438.js → MediaSeriesCard-d53a35cd.js} +4773 -4855
- package/dist/esm/MediaSeriesLanding.js +14 -13
- package/dist/esm/MediaSeriesLandingPaginated.js +16 -15
- package/dist/esm/NavDvm.js +38 -6
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-2f731a45.js} +9 -4
- package/dist/esm/NavMagazine.js +31 -12
- package/dist/esm/NavNative.js +29 -9
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +2 -1
- package/dist/esm/{Pagination-a77c57b0.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +36 -18
- package/dist/esm/PartnerDetailListingPaginated.js +31 -17
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PubSection.js +7 -6
- package/dist/esm/PublicationDeck.js +2 -1
- package/dist/esm/{PublicationFeature-d0c5fe6b.js → PublicationFeature-d88e76b9.js} +1 -1
- package/dist/esm/PublicationLanding.js +3 -2
- package/dist/esm/QueueDeckExpanded.js +9 -8
- package/dist/esm/QueueDeckExpandedPaginated.js +14 -12
- package/dist/esm/RecentNews.js +2 -2
- package/dist/esm/RelatedContent.js +2 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/SeriesListingDeck.js +7 -6
- package/dist/esm/{SeriesSlider-8de9942e.js → SeriesSlider-5728e349.js} +7 -7
- package/dist/esm/SideFooter.js +7 -7
- package/dist/esm/{SocialSearchComponent-315749c5.js → SocialSearchComponent-f261257b.js} +7 -7
- package/dist/esm/TaxonomyCard.js +12 -6
- package/dist/esm/TaxonomyDescription.js +11 -8
- package/dist/esm/TemplateNormal.js +13 -12
- package/dist/esm/ThumbnailCard.js +2 -1
- package/dist/esm/Ustream.js +6 -6
- package/dist/esm/VideoProgramLandingPage.js +11 -9
- package/dist/esm/VideoSeriesCard.js +2 -1
- package/dist/esm/VideoSeriesLandingPage.js +8 -7
- package/dist/esm/VideoSeriesListing.js +8 -7
- package/dist/esm/View.js +19 -17
- package/dist/esm/YahooHero.js +2 -1
- package/dist/esm/YoutubeGroup.js +8 -7
- package/dist/esm/checkSisterSite-b5022f21.js +10 -0
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-aaefe9f6.js → extends-6d8e3924.js} +1 -1
- package/dist/esm/getSerializers.js +11 -8
- package/dist/esm/{getTargeting-c71ce138.js → getTargeting-9bd28724.js} +1 -1
- package/dist/esm/getTargeting.js +2 -2
- package/dist/esm/{iconBase-8570c2e3.js → iconBase-ccc56b97.js} +16 -18
- package/dist/esm/{index-b62a3b3b.js → index-755f2cc2.js} +29 -44
- package/dist/esm/index-98ca9cec.js +100 -0
- package/dist/esm/{index-1a58463b.js → index-db652c86.js} +297 -46
- package/dist/esm/{index-7b29897f.js → index-f0fc23eb.js} +10 -496
- package/dist/esm/{index.esm-7481c415.js → index.esm-04d7cac5.js} +7 -6
- package/dist/esm/{index.esm-062ce475.js → index.esm-1bd8a0a8.js} +1 -1
- package/dist/esm/index.esm-9b042655.js +10 -0
- package/dist/esm/{index.esm-7ea6376b.js → index.esm-eb1e8e80.js} +1 -1
- package/dist/esm/index.js +23 -21
- package/dist/esm/{inherits-5d6082b1.js → inherits-a6ba2ec4.js} +1 -1
- package/dist/esm/{lib-11a0f0a8.js → main-9f6806ea.js} +455 -665
- package/dist/esm/{react-social-icons-30cb6e77.js → react-social-icons-9be47857.js} +23 -107
- package/dist/esm/websiteList-db717575.js +3 -0
- package/package.json +26 -17
- package/dist/cjs/MediaSeriesCard-5d34eaa3.js +0 -9668
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/cjs/index.esm-12304a8c.js +0 -13
- package/dist/cjs/setPrototypeOf-a9283c41.js +0 -47
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- package/dist/esm/index.esm-7f72be8a.js +0 -10
- package/dist/esm/setPrototypeOf-11d471fa.js +0 -43
- /package/dist/cjs/{ADInfeed-eedb4b70.js → ADInfeed-f316b66a.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-d5cc88dc.js → ADlgInfeed-2003306e.js} +0 -0
- /package/dist/esm/{ADInfeed-519f60cb.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-db2466b4.js → ADlgInfeed-e7fd1bb6.js} +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
3
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
6
|
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
7
|
import './defineProperty-23a8f8cd.js';
|
|
8
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
8
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
10
|
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-db652c86.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
|
+
import { c as checkSisterSite } from './checkSisterSite-b5022f21.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
18
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
19
|
import './web.dom.iterable-ab4dea5c.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
|
-
import './index-
|
|
32
|
-
import './
|
|
33
|
+
import './index-755f2cc2.js';
|
|
34
|
+
import './main-9f6806ea.js';
|
|
33
35
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
36
|
+
import './ADInfeed-777bb0b3.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-e7fd1bb6.js';
|
|
46
48
|
import './getContentCategory-15dcc413.js';
|
|
47
49
|
import './timeDifferenceCalc.js';
|
|
48
50
|
import './index-3f5c03b2.js';
|
|
@@ -66,15 +68,16 @@ import './_object-to-array-2300e51b.js';
|
|
|
66
68
|
import 'react-bootstrap/Pagination';
|
|
67
69
|
import 'react-bootstrap/Row';
|
|
68
70
|
import 'react-bootstrap/Col';
|
|
69
|
-
import './inherits-
|
|
71
|
+
import './inherits-a6ba2ec4.js';
|
|
70
72
|
import './_object-sap-7cee6f84.js';
|
|
71
73
|
import './define-property-5f1bda73.js';
|
|
72
|
-
import './index.esm-
|
|
73
|
-
import './iconBase-
|
|
74
|
+
import './index.esm-eb1e8e80.js';
|
|
75
|
+
import './iconBase-ccc56b97.js';
|
|
74
76
|
import 'react-bootstrap/Figure';
|
|
75
77
|
import 'react-bootstrap/OverlayTrigger';
|
|
76
78
|
import 'react-bootstrap/Tooltip';
|
|
77
79
|
import 'react-bootstrap/Popover';
|
|
80
|
+
import './websiteList-db717575.js';
|
|
78
81
|
|
|
79
82
|
var _this = undefined;
|
|
80
83
|
|
|
@@ -111,7 +114,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
111
114
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between' } },
|
|
112
115
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
113
116
|
'a',
|
|
114
|
-
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
117
|
+
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '', rel: checkSisterSite(partnerDetails.thumbnail.link) ? '' : 'noopener noreferrer' },
|
|
115
118
|
React__default.createElement(
|
|
116
119
|
'figure',
|
|
117
120
|
{ style: { width: '100%', textAlign: 'center', marginTop: '2rem' } },
|
|
@@ -161,18 +164,33 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
161
164
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
162
165
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
163
166
|
target: '_blank',
|
|
164
|
-
rel: 'noopener noreferrer',
|
|
167
|
+
rel: checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : 'noopener noreferrer',
|
|
165
168
|
style: { height: 30, width: 30 }
|
|
166
169
|
}),
|
|
167
170
|
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
168
171
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
169
172
|
target: '_blank',
|
|
170
|
-
rel: 'noopener noreferrer',
|
|
173
|
+
rel: checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? '' : 'noopener noreferrer',
|
|
171
174
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
172
175
|
}),
|
|
173
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
177
|
+
url: partnerDetails.youtube,
|
|
178
|
+
target: '_blank',
|
|
179
|
+
rel: checkSisterSite(partnerDetails.youtube) ? '' : 'noopener noreferrer',
|
|
180
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
181
|
+
}),
|
|
182
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
183
|
+
url: partnerDetails.twitter,
|
|
184
|
+
target: '_blank',
|
|
185
|
+
rel: checkSisterSite(partnerDetails.twitter) ? '' : 'noopener noreferrer',
|
|
186
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
187
|
+
}),
|
|
188
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
189
|
+
url: partnerDetails.facebook,
|
|
190
|
+
target: '_blank',
|
|
191
|
+
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
192
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
193
|
+
})
|
|
176
194
|
)
|
|
177
195
|
)
|
|
178
196
|
),
|
|
@@ -197,7 +215,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
197
215
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
198
216
|
Facebook,
|
|
199
217
|
{ appId: ' ' },
|
|
200
|
-
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
218
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer', tabs: 'timeline', width: '500', height: '500' })
|
|
201
219
|
)
|
|
202
220
|
),
|
|
203
221
|
React__default.createElement(
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
3
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
6
|
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
7
|
import './defineProperty-23a8f8cd.js';
|
|
8
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
8
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
9
|
import './moment-bc12cb97.js';
|
|
10
10
|
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-db652c86.js';
|
|
15
15
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
16
|
+
import { c as checkSisterSite } from './checkSisterSite-b5022f21.js';
|
|
16
17
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
18
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
19
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -23,13 +24,15 @@ import 'prop-types';
|
|
|
23
24
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
25
|
import './toConsumableArray-f7074d7c.js';
|
|
25
26
|
import 'react-bootstrap';
|
|
26
|
-
import './index-
|
|
27
|
+
import './index-f0fc23eb.js';
|
|
28
|
+
import './events-6c3a7a63.js';
|
|
27
29
|
import 'next/router';
|
|
28
|
-
import './index-
|
|
30
|
+
import './index-755f2cc2.js';
|
|
31
|
+
import 'react-dom';
|
|
29
32
|
import './lodash-f97fd99a.js';
|
|
30
|
-
import './
|
|
33
|
+
import './main-9f6806ea.js';
|
|
31
34
|
import './entities-6d9154b4.js';
|
|
32
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-777bb0b3.js';
|
|
33
36
|
import 'react-bootstrap/Card';
|
|
34
37
|
import './AdSlot.js';
|
|
35
38
|
import './debounce-533d9748.js';
|
|
@@ -39,13 +42,13 @@ import './Beam.js';
|
|
|
39
42
|
import './stringify-2b084bee.js';
|
|
40
43
|
import './Segment.js';
|
|
41
44
|
import './AuthorComponent-11adff02.js';
|
|
42
|
-
import './ADlgInfeed-
|
|
45
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
43
46
|
import './getContentCategory-15dcc413.js';
|
|
44
47
|
import './timeDifferenceCalc.js';
|
|
45
|
-
import './Pagination-
|
|
48
|
+
import './Pagination-9fe9f61d.js';
|
|
46
49
|
import 'react-bootstrap/Button';
|
|
47
|
-
import './index.esm-
|
|
48
|
-
import './iconBase-
|
|
50
|
+
import './index.esm-1bd8a0a8.js';
|
|
51
|
+
import './iconBase-ccc56b97.js';
|
|
49
52
|
import './index-3f5c03b2.js';
|
|
50
53
|
import 'react-bootstrap/Breadcrumb';
|
|
51
54
|
import 'react-bootstrap/Carousel';
|
|
@@ -66,14 +69,15 @@ import './_object-to-array-2300e51b.js';
|
|
|
66
69
|
import 'react-bootstrap/Pagination';
|
|
67
70
|
import 'react-bootstrap/Row';
|
|
68
71
|
import 'react-bootstrap/Col';
|
|
69
|
-
import './inherits-
|
|
72
|
+
import './inherits-a6ba2ec4.js';
|
|
70
73
|
import './_object-sap-7cee6f84.js';
|
|
71
74
|
import './define-property-5f1bda73.js';
|
|
72
|
-
import './index.esm-
|
|
75
|
+
import './index.esm-eb1e8e80.js';
|
|
73
76
|
import 'react-bootstrap/Figure';
|
|
74
77
|
import 'react-bootstrap/OverlayTrigger';
|
|
75
78
|
import 'react-bootstrap/Tooltip';
|
|
76
79
|
import 'react-bootstrap/Popover';
|
|
80
|
+
import './websiteList-db717575.js';
|
|
77
81
|
|
|
78
82
|
var _this = undefined;
|
|
79
83
|
|
|
@@ -108,7 +112,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
108
112
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
109
113
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
110
114
|
'a',
|
|
111
|
-
{
|
|
115
|
+
{
|
|
116
|
+
className: 'partners-logo',
|
|
117
|
+
style: { width: '25%', minWidth: '25%' },
|
|
118
|
+
href: partnerDetails.thumbnail.link,
|
|
119
|
+
rel: checkSisterSite(partnerDetails.thumbnail.link) ? '' : 'noopener noreferrer',
|
|
120
|
+
target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
112
121
|
React__default.createElement(
|
|
113
122
|
'figure',
|
|
114
123
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
@@ -158,10 +167,15 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
158
167
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
159
168
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
160
169
|
target: '_blank',
|
|
161
|
-
rel: 'noopener noreferrer',
|
|
170
|
+
rel: checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : 'noopener noreferrer',
|
|
162
171
|
style: { height: 30, width: 30 }
|
|
163
172
|
}),
|
|
164
|
-
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
173
|
+
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
174
|
+
url: partnerDetails.facebook,
|
|
175
|
+
target: '_blank',
|
|
176
|
+
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
177
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
178
|
+
})
|
|
165
179
|
)
|
|
166
180
|
)
|
|
167
181
|
),
|
|
@@ -186,7 +200,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
186
200
|
partnerDetails.twitter ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
187
201
|
Facebook,
|
|
188
202
|
{ appId: ' ' },
|
|
189
|
-
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
203
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer', tabs: 'timeline', width: '500', height: '500' })
|
|
190
204
|
)
|
|
191
205
|
),
|
|
192
206
|
React__default.createElement(
|
package/dist/esm/PdfDownload.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as MdPictureAsPdf } from './index.esm-
|
|
1
|
+
import { a as MdPictureAsPdf } from './index.esm-9b042655.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import './iconBase-
|
|
3
|
+
import './iconBase-ccc56b97.js';
|
|
4
4
|
|
|
5
5
|
var PdfDownload = function PdfDownload(props) {
|
|
6
6
|
return React__default.createElement(
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
3
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -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
|
-
import './index-
|
|
24
|
-
import './
|
|
24
|
+
import './index-755f2cc2.js';
|
|
25
|
+
import './main-9f6806ea.js';
|
|
25
26
|
import './entities-6d9154b4.js';
|
|
26
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-777bb0b3.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-e7fd1bb6.js';
|
|
38
39
|
import './getContentCategory-15dcc413.js';
|
|
39
40
|
import './timeDifferenceCalc.js';
|
|
40
41
|
|
|
@@ -3,10 +3,11 @@ import Row from 'react-bootstrap/Row';
|
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
5
|
import Card from 'react-bootstrap/Card';
|
|
6
|
-
import { L as LazyLoad } from './index-
|
|
6
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
7
7
|
import urlFor from './urlFor.js';
|
|
8
8
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
+
import 'react-dom';
|
|
10
11
|
import 'prop-types';
|
|
11
12
|
import './slicedToArray-6ebcbfea.js';
|
|
12
13
|
import './web.dom.iterable-ab4dea5c.js';
|
|
@@ -2,7 +2,7 @@ import React__default from 'react';
|
|
|
2
2
|
import Row from 'react-bootstrap/Row';
|
|
3
3
|
import Col from 'react-bootstrap/Col';
|
|
4
4
|
import Button from 'react-bootstrap/Button';
|
|
5
|
-
import { L as LazyLoad } from './index-
|
|
5
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
7
|
|
|
8
8
|
var PublicationFeature = function PublicationFeature(_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as _anInstance, c as _forOf, d as _redefineAll, e as _setSpecies, _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import { b as _isObject, c as _objectDp, d as _objectCreate, e as _ctx, f as _descriptors, g as _iterDefine, h as _wks, i as _toObject, j as _iobject, k as _toLength, l as _global, m as _fails, n as _hide, o as _setToStringTag, _ as _export, p as _classof, q as _aFunction, a as _core } from './core.get-iterator-method-ea258bb1.js';
|
|
@@ -12,11 +12,12 @@ import Col from 'react-bootstrap/Col';
|
|
|
12
12
|
import Dropdown from 'react-bootstrap/Dropdown';
|
|
13
13
|
import Card from 'react-bootstrap/Card';
|
|
14
14
|
import { useRouter } from 'next/router';
|
|
15
|
-
import { L as LazyLoad } from './index-
|
|
15
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
16
16
|
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
17
17
|
import './_library-528f1934.js';
|
|
18
18
|
import './_iter-detect-98db3b07.js';
|
|
19
19
|
import './_object-pie-133f504a.js';
|
|
20
|
+
import 'react-dom';
|
|
20
21
|
import 'prop-types';
|
|
21
22
|
|
|
22
23
|
var _validateCollection = function (it, TYPE) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
3
|
-
import { _ as _extends } from './extends-
|
|
3
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default, { useEffect, useState, useRef } from 'react';
|
|
5
5
|
import { Container, Media } from 'react-bootstrap';
|
|
6
6
|
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
|
-
import { L as LazyLoad } from './index-
|
|
13
|
-
import {
|
|
12
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
+
import { m as main_43 } from './main-9f6806ea.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-777bb0b3.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-e7fd1bb6.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';
|
|
@@ -764,7 +765,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
764
765
|
React__default.createElement(
|
|
765
766
|
'div',
|
|
766
767
|
null,
|
|
767
|
-
|
|
768
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
768
769
|
)
|
|
769
770
|
)
|
|
770
771
|
);
|
|
@@ -1270,7 +1271,7 @@ var cardLoader = function cardLoader(data, client, mapping, values, seoPaginate,
|
|
|
1270
1271
|
React__default.createElement(
|
|
1271
1272
|
'div',
|
|
1272
1273
|
null,
|
|
1273
|
-
|
|
1274
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1274
1275
|
)
|
|
1275
1276
|
)
|
|
1276
1277
|
);
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
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
|
-
import { L as LazyLoad } from './index-
|
|
10
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import {
|
|
12
|
+
import { m as main_43 } from './main-9f6806ea.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-777bb0b3.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-e7fd1bb6.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-9fe9f61d.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';
|
|
29
|
+
import 'react-dom';
|
|
28
30
|
import 'react-bootstrap/Card';
|
|
29
31
|
import './AdSlot.js';
|
|
30
32
|
import './debounce-533d9748.js';
|
|
@@ -35,8 +37,8 @@ import './stringify-2b084bee.js';
|
|
|
35
37
|
import './Segment.js';
|
|
36
38
|
import './index-3f5c03b2.js';
|
|
37
39
|
import 'react-bootstrap/Button';
|
|
38
|
-
import './index.esm-
|
|
39
|
-
import './iconBase-
|
|
40
|
+
import './index.esm-1bd8a0a8.js';
|
|
41
|
+
import './iconBase-ccc56b97.js';
|
|
40
42
|
|
|
41
43
|
var _this = undefined;
|
|
42
44
|
|
|
@@ -643,7 +645,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
643
645
|
React__default.createElement(
|
|
644
646
|
'div',
|
|
645
647
|
null,
|
|
646
|
-
|
|
648
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
647
649
|
)
|
|
648
650
|
);
|
|
649
651
|
} else return null;
|
|
@@ -1113,7 +1115,7 @@ var CardLoader = function CardLoader(_ref) {
|
|
|
1113
1115
|
React__default.createElement(
|
|
1114
1116
|
'div',
|
|
1115
1117
|
null,
|
|
1116
|
-
|
|
1118
|
+
main_43 && rightItems && (index + 1) % numberOfItemsBeforeAd === 0 && renderMobileAd(index, numberOfItemsBeforeAd, rightItems)
|
|
1117
1119
|
)
|
|
1118
1120
|
);
|
|
1119
1121
|
} else return null;
|
|
@@ -1362,7 +1364,7 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1362
1364
|
{ className: 'pagination-wrapper' },
|
|
1363
1365
|
React__default.createElement(Pagination, {
|
|
1364
1366
|
pageCount: Math.ceil(totalDataCount / itemsPerPage),
|
|
1365
|
-
pageRangeDisplayed:
|
|
1367
|
+
pageRangeDisplayed: main_43 ? 3 : 9,
|
|
1366
1368
|
currentPage: currentPage,
|
|
1367
1369
|
onPageChange: handlePageChange,
|
|
1368
1370
|
needLargePaginateButtons: props.needLargePaginateButtons
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
3
|
-
import './iconBase-
|
|
2
|
+
import { a as FaLongArrowAltRight } from './index.esm-1bd8a0a8.js';
|
|
3
|
+
import './iconBase-ccc56b97.js';
|
|
4
4
|
|
|
5
5
|
var RecentNews = function RecentNews(_ref) {
|
|
6
6
|
_ref.client;
|
|
@@ -2,12 +2,13 @@ import React__default from 'react';
|
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
3
|
import 'react-bootstrap/Media';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { L as LazyLoad } from './index-
|
|
5
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './slicedToArray-6ebcbfea.js';
|
|
8
8
|
import './web.dom.iterable-ab4dea5c.js';
|
|
9
9
|
import './core.get-iterator-method-ea258bb1.js';
|
|
10
10
|
import './index-3f5c03b2.js';
|
|
11
|
+
import 'react-dom';
|
|
11
12
|
import 'prop-types';
|
|
12
13
|
|
|
13
14
|
/*
|
package/dist/esm/Schema.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _JSON$stringify } from './stringify-2b084bee.js';
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import urlFor from './urlFor.js';
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
2
|
-
import { _ as _extends } from './extends-
|
|
2
|
+
import { _ as _extends } from './extends-6d8e3924.js';
|
|
3
3
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
4
|
import React__default, { useState, useEffect, useRef } from 'react';
|
|
5
5
|
import { useRouter } from 'next/router';
|
|
6
|
-
import { l as lib_3 } from './index-
|
|
6
|
+
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
7
7
|
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
8
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
8
|
+
import { S as SeriesSlider } from './SeriesSlider-5728e349.js';
|
|
9
9
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-ea258bb1.js';
|
|
12
12
|
import './_iter-detect-98db3b07.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './web.dom.iterable-ab4dea5c.js';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
15
16
|
import 'prop-types';
|
|
16
17
|
import './index-c7e2ac95.js';
|
|
17
|
-
import './index-
|
|
18
|
+
import './index-755f2cc2.js';
|
|
19
|
+
import 'react-dom';
|
|
18
20
|
import './smoothscroll-fa4e3f8c.js';
|
|
19
21
|
import './urlFor.js';
|
|
20
22
|
import './index-3f5c03b2.js';
|
|
21
|
-
import './
|
|
22
|
-
import 'react-dom';
|
|
23
|
+
import './main-9f6806ea.js';
|
|
23
24
|
|
|
24
25
|
var usePrevious = function usePrevious(value) {
|
|
25
26
|
var ref = useRef();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
4
|
-
import { L as LazyLoad } from './index-
|
|
4
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import {
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-9f6806ea.js';
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
GROQ query -
|
|
@@ -100,13 +100,13 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
if (
|
|
103
|
+
if (main_43) {
|
|
104
104
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth) / 2);
|
|
105
105
|
if (dataset.length > 2) {
|
|
106
106
|
scrollerVisible = true;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
if (
|
|
109
|
+
if (main_49) {
|
|
110
110
|
thumbSize = Math.floor((viewableArea.current.clientWidth - tileDividerWidth * 2) / 3);
|
|
111
111
|
if (dataset.length > 3) {
|
|
112
112
|
scrollerVisible = true;
|
|
@@ -182,10 +182,10 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
182
182
|
if (viewableWindow.current.offsetWidth < 604) {
|
|
183
183
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
184
184
|
}
|
|
185
|
-
if (
|
|
185
|
+
if (main_49) {
|
|
186
186
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 2;
|
|
187
187
|
}
|
|
188
|
-
if (
|
|
188
|
+
if (main_43) {
|
|
189
189
|
scrollDirection = innerSlider.current.offsetWidth - numberOfSlidesToScroll * 1;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
@@ -318,7 +318,7 @@ var SeriesSlider = function SeriesSlider(_ref) {
|
|
|
318
318
|
React__default.createElement(
|
|
319
319
|
'style',
|
|
320
320
|
{ jsx: 'true' },
|
|
321
|
-
'\n .vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n .vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row {\n margin: 0 -14px;\n }\n .vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n max-width: 800px;\n margin-left: auto;\n margin-right: auto;\n }\n .vid-slider.col {\n padding: 0 1.15rem 0 2.75rem;\n }\n .vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n .vid-slider h1,\n .vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n .vid-slider a:link,\n .vid-slider a:hover,\n .vid-slider a:active,\n .vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n .vid-slider .contain {\n width: 100%;\n }\n .vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n .vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n .vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n .vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n .vid-slider .tile:first-child {\n margin-left: 0;\n }\n .vid-slider .tile__img {\n height: auto;\n border-radius: 3px;\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n .vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n .vid-slider .tile__details:after,\n .vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n .vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n .vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);\n border-radius: 3px;\n }\n\n .vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (
|
|
321
|
+
'\n .vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n .vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n .vid-slider .row {\n margin: 0 -14px;\n }\n .vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n .vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 2.5rem;\n margin-bottom: 2rem;\n max-width: 800px;\n margin-left: auto;\n margin-right: auto;\n }\n .vid-slider.col {\n padding: 0 1.15rem 0 2.75rem;\n }\n .vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n .vid-slider h1,\n .vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n .vid-slider a:link,\n .vid-slider a:hover,\n .vid-slider a:active,\n .vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n .vid-slider .contain {\n width: 100%;\n }\n .vid-slider .row {\n overflow-x: hidden;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n .vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n width: 100%;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n .vid-slider .row__inner {\n display: flex;\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin-top: 1.5rem !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n .vid-slider .tile {\n position: relative;\n display: inline-block;\n height: 100%;\n margin-right: 0.5rem;\n font-size: 20px;\n cursor: pointer;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n .vid-slider .tile:first-child {\n margin-left: 0;\n }\n .vid-slider .tile__img {\n height: auto;\n border-radius: 3px;\n -o-object-fit: cover;\n object-fit: cover;\n object-position: center;\n }\n .vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n .vid-slider .tile__details:after,\n .vid-slider .tile__details:before {\n content: \'\';\n\n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n .vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n .vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n\n .tile__media {\n overflow: hidden;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);\n border-radius: 3px;\n }\n\n .vid-slider .tile__title {\n white-space: normal !important;\n max-width: ' + tileSize + 'px;\n text-align: center;\n color: ' + (dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: ' + (main_42 ? '0.75rem' : '0.9rem') + ';\n font-weight: normal;\n transition: opacity 0.25s;\n }\n\n .vid-slider .tile__slider-prev,\n .vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n margin-left: 10px;\n margin-right: 10px;\n box-shadow: 1px 3px 7px rgba(0, 0, 0, 0.5);\n }\n .vid-slider .tile__slider-prev {\n left: -0.9rem;\n padding: 1rem;\n }\n .vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n .vid-slider,\n .vid-slider .row {\n padding-right: 0 1.2rem;\n }\n\n .vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n .vid-slider i {\n border: solid ' + (dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n .vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n .vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n .vidHolder {\n max-width: 805px;\n }\n @media screen and (max-width: 1399px) {\n .vid-slider {\n max-width: 615px;\n margin: 0 auto;\n }\n .vid-slider .tile__img {\n }\n }\n @media screen and (max-width: 1200px) {\n .vid-slider {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n .vid-slider {\n max-width: 100%;\n }\n .vid-slider .tile__img {\n }\n }\n\n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n\n .vid-slider .tile__img {\n }\n .vid-slider .row__inner {\n margin-top: 1.5rem !important;\n }\n }\n\n @media screen and (max-width: 590px) {\n .vid-slider .tile__img {\n }\n }\n '
|
|
322
322
|
)
|
|
323
323
|
);
|
|
324
324
|
};
|