@mjhls/mjh-framework 1.0.992 → 1.0.993-topelement-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 +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-f316b66a.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-2003306e.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlgoliaSearch.js +1334 -1125
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +17 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +23094 -258
- package/dist/cjs/AuthWrapper.js +138 -42
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +65 -61
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +17 -18
- package/dist/cjs/Column3.js +28 -29
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -50
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -47
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-c313a700.js} +17 -17
- package/dist/cjs/EventsDeck.js +137 -110
- package/dist/cjs/ExternalResources.js +40 -39
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -122
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +121 -121
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +31 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-ca708da8.js} +1315 -176
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +51 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +29 -20
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -38
- package/dist/cjs/{MediaSeriesCard-9677fbc3.js → MediaSeriesCard-f6db8f70.js} +673 -577
- package/dist/cjs/MediaSeriesLanding.js +44 -43
- package/dist/cjs/MediaSeriesLandingPaginated.js +43 -43
- package/dist/cjs/NavDvm.js +93 -62
- package/dist/cjs/NavFooter-880e9d87.js +71 -0
- package/dist/cjs/NavMagazine.js +136 -118
- package/dist/cjs/NavNative.js +127 -108
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/Pagination-6359861a.js +97 -0
- package/dist/cjs/PartnerDetailListing.js +71 -56
- package/dist/cjs/PartnerDetailListingPaginated.js +61 -52
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -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 +2 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-f5248377.js} +26 -26
- package/dist/cjs/SideFooter.js +25 -26
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-ca9c0c45.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +51 -47
- package/dist/cjs/TaxonomyDescription.js +14 -13
- package/dist/cjs/TemplateNormal.js +28 -29
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +31 -30
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +235 -230
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/checkSisterSite-b29833b2.js +19 -0
- package/dist/cjs/defineProperty-ad65f5f0.js +110 -0
- package/dist/{esm/util-8ed16d48.js → cjs/empty-559717f3.js} +146 -1
- package/dist/cjs/getSerializers.js +9 -8
- package/dist/cjs/{getTargeting-ba942d9a.js → getTargeting-4439c99d.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/index-0cf4c9fc.js +904 -0
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/{index-5e63adb9.js → index-b10d6863.js} +492 -503
- package/dist/cjs/{index-fc2f1ca2.js → index-d2a6ef75.js} +4 -4
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-f59ef5b4.js} +19 -18
- package/dist/cjs/index.js +107 -113
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -2
- package/dist/esm/AD300x250x600.js +2 -2
- package/dist/esm/AD728x90.js +2 -2
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlgoliaSearch.js +780 -571
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +6 -5
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Auth.js +23019 -181
- package/dist/esm/AuthWrapper.js +112 -16
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +7 -3
- package/dist/esm/Column1.js +1 -2
- package/dist/esm/Column2.js +4 -6
- package/dist/esm/Column3.js +3 -5
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +49 -22
- package/dist/esm/ExternalResources.js +10 -9
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +21 -22
- package/dist/esm/Header.js +1 -2
- package/dist/esm/HealthCareProfessionalModal.js +2 -2
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +6 -5
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-fada4f0c.js} +1257 -119
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +37 -36
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +14 -6
- package/dist/esm/MasterDeck.js +12 -12
- package/dist/esm/MasterDeckPaginated.js +13 -14
- package/dist/esm/{MediaSeriesCard-8b14906f.js → MediaSeriesCard-96ac8ed4.js} +376 -280
- package/dist/esm/MediaSeriesLanding.js +15 -14
- package/dist/esm/MediaSeriesLandingPaginated.js +16 -16
- package/dist/esm/NavDvm.js +38 -8
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-3272e9cd.js} +9 -4
- package/dist/esm/NavMagazine.js +35 -18
- package/dist/esm/NavNative.js +34 -16
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +90 -0
- package/dist/esm/PartnerDetailListing.js +32 -17
- package/dist/esm/PartnerDetailListingPaginated.js +25 -16
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +3 -2
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +3 -3
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-4875823e.js} +5 -5
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +8 -9
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-68d948b9.js} +2 -2
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +8 -4
- package/dist/esm/TaxonomyDescription.js +6 -5
- package/dist/esm/TemplateNormal.js +6 -7
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +6 -5
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +18 -12
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +6 -6
- package/dist/esm/checkSisterSite-baa4fb6b.js +17 -0
- package/dist/esm/defineProperty-50094484.js +101 -0
- package/dist/{cjs/util-93a37fd0.js → esm/empty-a8042e3c.js} +135 -3
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +5 -4
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-9bd28724.js → getTargeting-c6884f34.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-e0aeabc5.js → index-076baa11.js} +8 -18
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/index-e7075467.js +897 -0
- package/dist/esm/{index.esm-37268dca.js → index.esm-07c37a92.js} +5 -4
- package/dist/esm/index.js +16 -22
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -115
- package/dist/cjs/NavFooter-3dcd99a8.js +0 -66
- package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
- package/dist/cjs/defineProperty-9673846a.js +0 -34
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/Pagination-cd21f8c2.js +0 -82
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/defineProperty-8c30428f.js +0 -32
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-777bb0b3.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-e7fd1bb6.js} +0 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { c as createCommonjsModule, a as commonjsGlobal, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
+
import Button from 'react-bootstrap/Button';
|
|
4
|
+
import { d as FaArrowRight, e as FaArrowLeft } from './index.esm-1bd8a0a8.js';
|
|
5
|
+
|
|
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;}])}));
|
|
8
|
+
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
var ReactPaginate = unwrapExports(reactPaginate);
|
|
12
|
+
reactPaginate.ReactPaginate;
|
|
13
|
+
|
|
14
|
+
var Pagination = function Pagination(props) {
|
|
15
|
+
var pageCount = props.pageCount,
|
|
16
|
+
_props$marginPagesDis = props.marginPagesDisplayed,
|
|
17
|
+
marginPagesDisplayed = _props$marginPagesDis === undefined ? 1 : _props$marginPagesDis,
|
|
18
|
+
_props$pageRangeDispl = props.pageRangeDisplayed,
|
|
19
|
+
pageRangeDisplayed = _props$pageRangeDispl === undefined ? 5 : _props$pageRangeDispl,
|
|
20
|
+
_props$currentPage = props.currentPage,
|
|
21
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
22
|
+
_onPageChange = props.onPageChange,
|
|
23
|
+
_props$needLargePagin = props.needLargePaginateButtons,
|
|
24
|
+
needLargePaginateButtons = _props$needLargePagin === undefined ? false : _props$needLargePagin;
|
|
25
|
+
|
|
26
|
+
if (!pageCount || pageCount <= 1) return null;
|
|
27
|
+
return React__default.createElement(
|
|
28
|
+
React__default.Fragment,
|
|
29
|
+
null,
|
|
30
|
+
needLargePaginateButtons && React__default.createElement(
|
|
31
|
+
'div',
|
|
32
|
+
{ className: 'pagination-lg-btn-nxt' },
|
|
33
|
+
React__default.createElement(
|
|
34
|
+
Button,
|
|
35
|
+
{
|
|
36
|
+
onClick: function onClick(e) {
|
|
37
|
+
e.preventDefault();
|
|
38
|
+
_onPageChange(currentPage + 1);
|
|
39
|
+
},
|
|
40
|
+
disabled: currentPage === pageCount,
|
|
41
|
+
href: currentPage === pageCount ? '' : '?page=' + (currentPage + 1) },
|
|
42
|
+
'NEXT PAGE',
|
|
43
|
+
React__default.createElement(FaArrowRight, { className: 'fa-arrow-right' })
|
|
44
|
+
)
|
|
45
|
+
),
|
|
46
|
+
React__default.createElement(ReactPaginate, {
|
|
47
|
+
pageCount: pageCount,
|
|
48
|
+
marginPagesDisplayed: marginPagesDisplayed,
|
|
49
|
+
pageRangeDisplayed: pageRangeDisplayed,
|
|
50
|
+
forcePage: currentPage - 1,
|
|
51
|
+
onPageChange: function onPageChange(_ref) {
|
|
52
|
+
var selected = _ref.selected;
|
|
53
|
+
return _onPageChange(selected + 1);
|
|
54
|
+
},
|
|
55
|
+
hrefBuilder: function hrefBuilder(page) {
|
|
56
|
+
return '?page=' + page;
|
|
57
|
+
},
|
|
58
|
+
previousLabel: '<',
|
|
59
|
+
nextLabel: '>',
|
|
60
|
+
containerClassName: 'pagination-container',
|
|
61
|
+
previousLinkClassName: 'previous',
|
|
62
|
+
nextLinkClassName: 'next',
|
|
63
|
+
disabledClassName: 'disabled',
|
|
64
|
+
activeClassName: 'active'
|
|
65
|
+
}),
|
|
66
|
+
needLargePaginateButtons && React__default.createElement(
|
|
67
|
+
'div',
|
|
68
|
+
{ className: 'pagination-lg-btn-prv' },
|
|
69
|
+
React__default.createElement(
|
|
70
|
+
Button,
|
|
71
|
+
{
|
|
72
|
+
onClick: function onClick(e) {
|
|
73
|
+
e.preventDefault();
|
|
74
|
+
_onPageChange(currentPage - 1);
|
|
75
|
+
},
|
|
76
|
+
disabled: currentPage === 1,
|
|
77
|
+
href: currentPage <= 1 ? '?page=1' : '?page=' + (currentPage - 1) },
|
|
78
|
+
React__default.createElement(FaArrowLeft, { className: 'fa-arrow-left' }),
|
|
79
|
+
'PREVIOUS PAGE'
|
|
80
|
+
)
|
|
81
|
+
),
|
|
82
|
+
React__default.createElement(
|
|
83
|
+
'style',
|
|
84
|
+
{ jsx: 'true' },
|
|
85
|
+
'\n .pagination-container {\n list-style: none;\n padding: 10px 0;\n margin: 0;\n display: flex;\n overflow: auto;\n }\n .pagination-container::before,\n .pagination-container::after {\n content: \'\';\n margin: 0 auto;\n }\n .pagination-container a {\n padding: 10px;\n border: 1px solid #dee2e6;\n }\n .pagination-container a:hover {\n text-decoration: none;\n background-color: #e9ecef;\n border-color: #dee2e6;\n }\n .pagination-container .active a {\n color: #fff;\n background-color: #666;\n background-color: var(--primary);\n }\n .pagination-container li:first-child a {\n border-radius: 5px 0 0 5px;\n }\n .pagination-container li:last-child a {\n border-radius: 0 5px 5px 0;\n }\n .pagination-container .disabled a {\n cursor: default;\n }\n .pagination-lg-btn-nxt,\n .pagination-lg-btn-prv {\n text-align: center;\n }\n .pagination-lg-btn-nxt .btn,\n .pagination-lg-btn-prv .btn {\n min-width: 80%;\n color: #000;\n color: var(--primary);\n background-color: transparent;\n border-color: #000;\n border-color: var(--primary);\n }\n .pagination-lg-btn-nxt {\n margin: 0 0 1.5rem;\n }\n .pagination-lg-btn-prv {\n margin: 1.5rem 0 0;\n }\n .pagination-lg-btn-nxt .btn:not(:disabled):not(.disabled).active,\n .pagination-lg-btn-prv .btn:not(:disabled):not(.disabled):active {\n color: #fff;\n background-color: #000;\n background-color: var(--primary);\n border-color: #000;\n border-color: var(--primary);\n }\n @media only screen and (min-width: 601px) {\n [class^=\'pagination-lg-btn\'] {\n display: none;\n }\n }\n .fa-arrow-left {\n margin-right: 0.5rem;\n }\n .fa-arrow-right {\n margin-left: 0.5rem;\n }\n .pagination-container::-webkit-scrollbar {\n height: 8px;\n }\n .pagination-container::-webkit-scrollbar-track,\n .pagination-container::-webkit-scrollbar-thumb {\n -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);\n border-radius: 4px;\n }\n .pagination-container::-webkit-scrollbar-track {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .pagination-container::-webkit-scrollbar-thumb {\n background-color: rgba(0, 0, 0, 0.3);\n }\n '
|
|
86
|
+
)
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export { Pagination as P };
|
|
@@ -2,23 +2,23 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { TwitterTimelineEmbed } from '
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
5
|
+
import { I as ImageSlider, T as TwitterTimelineEmbed, F as Facebook, P as Page } from './ImageSlider-fada4f0c.js';
|
|
8
6
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
7
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
8
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
11
9
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
10
|
import Feature from './Feature.js';
|
|
13
11
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
15
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
16
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
16
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
17
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
18
|
import './_library-528f1934.js';
|
|
20
19
|
import './_iter-detect-98db3b07.js';
|
|
21
20
|
import './_object-pie-133f504a.js';
|
|
21
|
+
import './defineProperty-50094484.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
24
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -30,9 +30,9 @@ import './index-f0fc23eb.js';
|
|
|
30
30
|
import './events-6c3a7a63.js';
|
|
31
31
|
import 'next/router';
|
|
32
32
|
import './index-755f2cc2.js';
|
|
33
|
-
import './main-
|
|
33
|
+
import './main-9f6806ea.js';
|
|
34
34
|
import './entities-6d9154b4.js';
|
|
35
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-777bb0b3.js';
|
|
36
36
|
import 'react-bootstrap/Card';
|
|
37
37
|
import './AdSlot.js';
|
|
38
38
|
import './debounce-533d9748.js';
|
|
@@ -43,14 +43,14 @@ import './stringify-2b084bee.js';
|
|
|
43
43
|
import './Segment.js';
|
|
44
44
|
import './AuthorComponent-11adff02.js';
|
|
45
45
|
import './lodash-f97fd99a.js';
|
|
46
|
-
import './ADlgInfeed-
|
|
46
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
47
47
|
import './getContentCategory-15dcc413.js';
|
|
48
48
|
import './timeDifferenceCalc.js';
|
|
49
49
|
import './index-3f5c03b2.js';
|
|
50
50
|
import 'react-bootstrap/Breadcrumb';
|
|
51
51
|
import 'react-bootstrap/Carousel';
|
|
52
52
|
import './index-c7e2ac95.js';
|
|
53
|
-
import './
|
|
53
|
+
import './empty-a8042e3c.js';
|
|
54
54
|
import './urlForFile-b69adffc.js';
|
|
55
55
|
import './typeof-e9fc0c5d.js';
|
|
56
56
|
import './_is-array-8d21b9e3.js';
|
|
@@ -58,7 +58,7 @@ import './brightcove-react-player-loader.es-57a70a56.js';
|
|
|
58
58
|
import 'react-bootstrap/Modal';
|
|
59
59
|
import 'react-bootstrap/Button';
|
|
60
60
|
import 'react-bootstrap/Form';
|
|
61
|
-
import '
|
|
61
|
+
import './index-e7075467.js';
|
|
62
62
|
import './GroupDeck.js';
|
|
63
63
|
import './SocialShare.js';
|
|
64
64
|
import 'next/head';
|
|
@@ -112,7 +112,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
112
112
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between' } },
|
|
113
113
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
114
114
|
'a',
|
|
115
|
-
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
115
|
+
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '', rel: checkSisterSite(partnerDetails.thumbnail.link) ? '' : 'noopener noreferrer' },
|
|
116
116
|
React__default.createElement(
|
|
117
117
|
'figure',
|
|
118
118
|
{ style: { width: '100%', textAlign: 'center', marginTop: '2rem' } },
|
|
@@ -162,18 +162,33 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
162
162
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
163
163
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
164
164
|
target: '_blank',
|
|
165
|
-
rel: 'noopener noreferrer',
|
|
165
|
+
rel: checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : 'noopener noreferrer',
|
|
166
166
|
style: { height: 30, width: 30 }
|
|
167
167
|
}),
|
|
168
168
|
partnerDetails.instagram && React__default.createElement(reactSocialIcons_1, {
|
|
169
169
|
url: '' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/'),
|
|
170
170
|
target: '_blank',
|
|
171
|
-
rel: 'noopener noreferrer',
|
|
171
|
+
rel: checkSisterSite('' + partnerDetails.instagram + (partnerDetails.instagram.slice(-1) === '/' ? '' : '/')) ? '' : 'noopener noreferrer',
|
|
172
172
|
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
173
173
|
}),
|
|
174
|
-
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
partnerDetails.youtube && partnerDetails.youtubeIcon && React__default.createElement(reactSocialIcons_1, {
|
|
175
|
+
url: partnerDetails.youtube,
|
|
176
|
+
target: '_blank',
|
|
177
|
+
rel: checkSisterSite(partnerDetails.youtube) ? '' : 'noopener noreferrer',
|
|
178
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
179
|
+
}),
|
|
180
|
+
partnerDetails.twitter && partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
181
|
+
url: partnerDetails.twitter,
|
|
182
|
+
target: '_blank',
|
|
183
|
+
rel: checkSisterSite(partnerDetails.twitter) ? '' : 'noopener noreferrer',
|
|
184
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
185
|
+
}),
|
|
186
|
+
partnerDetails.facebook && !partnerDetails.twitterIcon && React__default.createElement(reactSocialIcons_1, {
|
|
187
|
+
url: partnerDetails.facebook,
|
|
188
|
+
target: '_blank',
|
|
189
|
+
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
190
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
191
|
+
})
|
|
177
192
|
)
|
|
178
193
|
)
|
|
179
194
|
),
|
|
@@ -198,7 +213,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
198
213
|
partnerDetails.twitter && !partnerDetails.twitterIcon ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
199
214
|
Facebook,
|
|
200
215
|
{ appId: ' ' },
|
|
201
|
-
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
216
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer', tabs: 'timeline', width: '500', height: '500' })
|
|
202
217
|
)
|
|
203
218
|
),
|
|
204
219
|
React__default.createElement(
|
|
@@ -319,4 +334,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
319
334
|
};
|
|
320
335
|
}();
|
|
321
336
|
|
|
322
|
-
export default
|
|
337
|
+
export { PartnerDetails as default };
|
|
@@ -2,23 +2,23 @@ import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './async
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
3
3
|
import { _ as _extends } from './extends-6d8e3924.js';
|
|
4
4
|
import React__default from 'react';
|
|
5
|
-
import { TwitterTimelineEmbed } from '
|
|
6
|
-
import { I as ImageSlider, F as Facebook, P as Page } from './ImageSlider-f84174cb.js';
|
|
7
|
-
import './defineProperty-23a8f8cd.js';
|
|
5
|
+
import { I as ImageSlider, T as TwitterTimelineEmbed, F as Facebook, P as Page } from './ImageSlider-fada4f0c.js';
|
|
8
6
|
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
9
7
|
import './moment-bc12cb97.js';
|
|
10
8
|
import QueueDeckExpanded from './QueueDeckExpandedPaginated.js';
|
|
11
9
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
12
10
|
import Feature from './Feature.js';
|
|
13
11
|
import urlFor from './urlFor.js';
|
|
14
|
-
import { g as getSerializers } from './index-
|
|
12
|
+
import { g as getSerializers } from './index-076baa11.js';
|
|
15
13
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
14
|
+
import { c as checkSisterSite } from './checkSisterSite-baa4fb6b.js';
|
|
16
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
16
|
import './core.get-iterator-method-ea258bb1.js';
|
|
18
17
|
import './web.dom.iterable-ab4dea5c.js';
|
|
19
18
|
import './_library-528f1934.js';
|
|
20
19
|
import './_iter-detect-98db3b07.js';
|
|
21
20
|
import './_object-pie-133f504a.js';
|
|
21
|
+
import './defineProperty-50094484.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import './smoothscroll-fa4e3f8c.js';
|
|
24
24
|
import './toConsumableArray-f7074d7c.js';
|
|
@@ -29,9 +29,9 @@ import 'next/router';
|
|
|
29
29
|
import './index-755f2cc2.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './lodash-f97fd99a.js';
|
|
32
|
-
import './main-
|
|
32
|
+
import './main-9f6806ea.js';
|
|
33
33
|
import './entities-6d9154b4.js';
|
|
34
|
-
import './ADInfeed-
|
|
34
|
+
import './ADInfeed-777bb0b3.js';
|
|
35
35
|
import 'react-bootstrap/Card';
|
|
36
36
|
import './AdSlot.js';
|
|
37
37
|
import './debounce-533d9748.js';
|
|
@@ -41,11 +41,10 @@ import './Beam.js';
|
|
|
41
41
|
import './stringify-2b084bee.js';
|
|
42
42
|
import './Segment.js';
|
|
43
43
|
import './AuthorComponent-11adff02.js';
|
|
44
|
-
import './ADlgInfeed-
|
|
44
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
45
45
|
import './getContentCategory-15dcc413.js';
|
|
46
46
|
import './timeDifferenceCalc.js';
|
|
47
|
-
import './Pagination-
|
|
48
|
-
import 'react-paginate';
|
|
47
|
+
import './Pagination-9fe9f61d.js';
|
|
49
48
|
import 'react-bootstrap/Button';
|
|
50
49
|
import './index.esm-1bd8a0a8.js';
|
|
51
50
|
import './iconBase-ccc56b97.js';
|
|
@@ -53,14 +52,14 @@ import './index-3f5c03b2.js';
|
|
|
53
52
|
import 'react-bootstrap/Breadcrumb';
|
|
54
53
|
import 'react-bootstrap/Carousel';
|
|
55
54
|
import './index-c7e2ac95.js';
|
|
56
|
-
import './
|
|
55
|
+
import './empty-a8042e3c.js';
|
|
57
56
|
import './urlForFile-b69adffc.js';
|
|
58
57
|
import './typeof-e9fc0c5d.js';
|
|
59
58
|
import './_is-array-8d21b9e3.js';
|
|
60
59
|
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
61
60
|
import 'react-bootstrap/Modal';
|
|
62
61
|
import 'react-bootstrap/Form';
|
|
63
|
-
import '
|
|
62
|
+
import './index-e7075467.js';
|
|
64
63
|
import './GroupDeck.js';
|
|
65
64
|
import './SocialShare.js';
|
|
66
65
|
import 'next/head';
|
|
@@ -111,7 +110,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
111
110
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
112
111
|
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
113
112
|
'a',
|
|
114
|
-
{
|
|
113
|
+
{
|
|
114
|
+
className: 'partners-logo',
|
|
115
|
+
style: { width: '25%', minWidth: '25%' },
|
|
116
|
+
href: partnerDetails.thumbnail.link,
|
|
117
|
+
rel: checkSisterSite(partnerDetails.thumbnail.link) ? '' : 'noopener noreferrer',
|
|
118
|
+
target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
115
119
|
React__default.createElement(
|
|
116
120
|
'figure',
|
|
117
121
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
@@ -161,10 +165,15 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
161
165
|
partnerDetails.linkedin && React__default.createElement(reactSocialIcons_1, {
|
|
162
166
|
url: '' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all',
|
|
163
167
|
target: '_blank',
|
|
164
|
-
rel: 'noopener noreferrer',
|
|
168
|
+
rel: checkSisterSite('' + partnerDetails.linkedin + (partnerDetails.linkedin.slice(-1) === '/' ? '' : '/') + 'posts/?feedView=all') ? '' : 'noopener noreferrer',
|
|
165
169
|
style: { height: 30, width: 30 }
|
|
166
170
|
}),
|
|
167
|
-
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
171
|
+
(partnerDetails.twitter && partnerDetails.facebook || !partnerDetails.twitter && partnerDetails.facebook && checkIsFacebookGroup(partnerDetails.facebook)) && React__default.createElement(reactSocialIcons_1, {
|
|
172
|
+
url: partnerDetails.facebook,
|
|
173
|
+
target: '_blank',
|
|
174
|
+
rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer',
|
|
175
|
+
style: { height: 30, width: 30, marginLeft: '0.25rem' }
|
|
176
|
+
})
|
|
168
177
|
)
|
|
169
178
|
)
|
|
170
179
|
),
|
|
@@ -189,7 +198,7 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
189
198
|
partnerDetails.twitter ? React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } }) : partnerDetails.facebook && React__default.createElement(
|
|
190
199
|
Facebook,
|
|
191
200
|
{ appId: ' ' },
|
|
192
|
-
React__default.createElement(Page, { href: partnerDetails.facebook, tabs: 'timeline', width: '500', height: '500' })
|
|
201
|
+
React__default.createElement(Page, { href: partnerDetails.facebook, rel: checkSisterSite(partnerDetails.facebook) ? '' : 'noopener noreferrer', tabs: 'timeline', width: '500', height: '500' })
|
|
193
202
|
)
|
|
194
203
|
),
|
|
195
204
|
React__default.createElement(
|
|
@@ -311,4 +320,4 @@ PartnerDetails.returnGetInitialProps = function () {
|
|
|
311
320
|
};
|
|
312
321
|
}();
|
|
313
322
|
|
|
314
|
-
export default
|
|
323
|
+
export { PartnerDetails as default };
|
package/dist/esm/PdfDownload.js
CHANGED
package/dist/esm/PopUpModal.js
CHANGED
package/dist/esm/PtceDeck.js
CHANGED
package/dist/esm/PubSection.js
CHANGED
|
@@ -22,9 +22,9 @@ import './events-6c3a7a63.js';
|
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'next/router';
|
|
24
24
|
import './index-755f2cc2.js';
|
|
25
|
-
import './main-
|
|
25
|
+
import './main-9f6806ea.js';
|
|
26
26
|
import './entities-6d9154b4.js';
|
|
27
|
-
import './ADInfeed-
|
|
27
|
+
import './ADInfeed-777bb0b3.js';
|
|
28
28
|
import 'react-bootstrap/Card';
|
|
29
29
|
import './AdSlot.js';
|
|
30
30
|
import './debounce-533d9748.js';
|
|
@@ -35,7 +35,7 @@ import './stringify-2b084bee.js';
|
|
|
35
35
|
import './Segment.js';
|
|
36
36
|
import './AuthorComponent-11adff02.js';
|
|
37
37
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-e7fd1bb6.js';
|
|
39
39
|
import './getContentCategory-15dcc413.js';
|
|
40
40
|
import './timeDifferenceCalc.js';
|
|
41
41
|
|
|
@@ -112,4 +112,4 @@ PubSection.getInitialProps = function () {
|
|
|
112
112
|
};
|
|
113
113
|
}();
|
|
114
114
|
|
|
115
|
-
export default
|
|
115
|
+
export { PubSection as default };
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -376,32 +376,32 @@ module.exports = { "default": set$1, __esModule: true };
|
|
|
376
376
|
|
|
377
377
|
var _Set = unwrapExports(set);
|
|
378
378
|
|
|
379
|
-
/* usage & query
|
|
380
|
-
const Publication = (props) => {
|
|
381
|
-
const { cache, pub, year } = props
|
|
382
|
-
const targeting = {
|
|
383
|
-
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
-
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
-
}
|
|
386
|
-
return (
|
|
387
|
-
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
-
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
-
</Shell>
|
|
390
|
-
)
|
|
391
|
-
}
|
|
392
|
-
Publication.getInitialProps = async (ctx) => {
|
|
393
|
-
const { query } = ctx
|
|
394
|
-
const {
|
|
395
|
-
query: { year },
|
|
396
|
-
} = ctx
|
|
397
|
-
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
-
**import urlFor from framework**
|
|
399
|
-
pub.issues.map((issue) => {
|
|
400
|
-
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
-
})
|
|
402
|
-
return { pub, year }
|
|
403
|
-
}
|
|
404
|
-
export default Publication
|
|
379
|
+
/* usage & query
|
|
380
|
+
const Publication = (props) => {
|
|
381
|
+
const { cache, pub, year } = props
|
|
382
|
+
const targeting = {
|
|
383
|
+
content_placement: [`/journals/${pub.identifier.current}`],
|
|
384
|
+
document_url: [`/journals/${pub.identifier.current}`],
|
|
385
|
+
}
|
|
386
|
+
return (
|
|
387
|
+
<Shell title={pub.name} cache={cache} settings={Settings} targeting={targeting} ads={Ads} layout='3'>
|
|
388
|
+
<PublicationLanding publication={pub} year={year} href={'journals'} />
|
|
389
|
+
</Shell>
|
|
390
|
+
)
|
|
391
|
+
}
|
|
392
|
+
Publication.getInitialProps = async (ctx) => {
|
|
393
|
+
const { query } = ctx
|
|
394
|
+
const {
|
|
395
|
+
query: { year },
|
|
396
|
+
} = ctx
|
|
397
|
+
const pub = await client.fetch(getQuery('publication'), query)
|
|
398
|
+
**import urlFor from framework**
|
|
399
|
+
pub.issues.map((issue) => {
|
|
400
|
+
issue.thumbnail = urlFor({client, source: issue.thumbnail})
|
|
401
|
+
})
|
|
402
|
+
return { pub, year }
|
|
403
|
+
}
|
|
404
|
+
export default Publication
|
|
405
405
|
*/
|
|
406
406
|
|
|
407
407
|
var generateContentPlacements = function generateContentPlacements(issues) {
|
|
@@ -844,4 +844,4 @@ _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2() {
|
|
|
844
844
|
);
|
|
845
845
|
};
|
|
846
846
|
|
|
847
|
-
export default
|
|
847
|
+
export { PublicationLanding as default };
|
|
@@ -10,12 +10,12 @@ import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
|
10
10
|
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
11
11
|
import { useRouter } from 'next/router';
|
|
12
12
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
13
|
-
import { m as main_43 } from './main-
|
|
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';
|
|
@@ -1532,4 +1532,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1532
1532
|
);
|
|
1533
1533
|
};
|
|
1534
1534
|
|
|
1535
|
-
export default
|
|
1535
|
+
export { QueueDeckExpanded as default };
|
|
@@ -9,15 +9,15 @@ import { l as lib_3 } from './index-f0fc23eb.js';
|
|
|
9
9
|
import { useRouter } from 'next/router';
|
|
10
10
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
11
11
|
import { l as lodash } from './lodash-f97fd99a.js';
|
|
12
|
-
import { m as main_43 } from './main-
|
|
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';
|
|
@@ -36,7 +36,6 @@ import './Beam.js';
|
|
|
36
36
|
import './stringify-2b084bee.js';
|
|
37
37
|
import './Segment.js';
|
|
38
38
|
import './index-3f5c03b2.js';
|
|
39
|
-
import 'react-paginate';
|
|
40
39
|
import 'react-bootstrap/Button';
|
|
41
40
|
import './index.esm-1bd8a0a8.js';
|
|
42
41
|
import './iconBase-ccc56b97.js';
|
|
@@ -1380,4 +1379,4 @@ var QueueDeckExpanded = function QueueDeckExpanded(props) {
|
|
|
1380
1379
|
);
|
|
1381
1380
|
};
|
|
1382
1381
|
|
|
1383
|
-
export default
|
|
1382
|
+
export { QueueDeckExpanded as default };
|
package/dist/esm/RecentNews.js
CHANGED
|
@@ -11,34 +11,34 @@ import './index-3f5c03b2.js';
|
|
|
11
11
|
import 'react-dom';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
|
|
14
|
-
/*
|
|
15
|
-
Sample query
|
|
16
|
-
let references = ''
|
|
17
|
-
if(article.taxonomyMapping.length > 0){
|
|
18
|
-
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
-
references = references + `references('${ref._ref}') `
|
|
20
|
-
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
-
references = references + ` && `
|
|
22
|
-
}
|
|
23
|
-
})
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
-
...,
|
|
28
|
-
title,
|
|
29
|
-
summary,
|
|
30
|
-
thumbnail,
|
|
31
|
-
url,
|
|
32
|
-
published,
|
|
33
|
-
authorMapping[]->,
|
|
34
|
-
contentCategory->
|
|
35
|
-
}`
|
|
36
|
-
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
-
|
|
38
|
-
Sample usage
|
|
39
|
-
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
-
|
|
41
|
-
|
|
14
|
+
/*
|
|
15
|
+
Sample query
|
|
16
|
+
let references = ''
|
|
17
|
+
if(article.taxonomyMapping.length > 0){
|
|
18
|
+
article.taxonomyMapping.forEach((ref, index) => {
|
|
19
|
+
references = references + `references('${ref._ref}') `
|
|
20
|
+
if(index+1 !== article.taxonomyMapping.length){
|
|
21
|
+
references = references + ` && `
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const relatedArticlesQuery = `*[!(_id in path("drafts.**")) && _type == "article" && title !='${article.title}' && defined(title) && is_visible == true && ( references('article.documentGroup._id') || ${references} ) && published <= '${today}'] | order(published desc) [0...4] {
|
|
27
|
+
...,
|
|
28
|
+
title,
|
|
29
|
+
summary,
|
|
30
|
+
thumbnail,
|
|
31
|
+
url,
|
|
32
|
+
published,
|
|
33
|
+
authorMapping[]->,
|
|
34
|
+
contentCategory->
|
|
35
|
+
}`
|
|
36
|
+
const relatedArticles = await client.fetch(relatedArticlesQuery)
|
|
37
|
+
|
|
38
|
+
Sample usage
|
|
39
|
+
<RelatedContent dataRecord={props.relatedArticles} client={client} showAuthor showPublished reverse/>
|
|
40
|
+
|
|
41
|
+
|
|
42
42
|
*/
|
|
43
43
|
var RelatedContent = function RelatedContent(props) {
|
|
44
44
|
var client = props.client,
|
|
@@ -105,4 +105,4 @@ var RelatedContent = function RelatedContent(props) {
|
|
|
105
105
|
);
|
|
106
106
|
};
|
|
107
107
|
|
|
108
|
-
export default
|
|
108
|
+
export { RelatedContent as default };
|