@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splittingv2
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 +172 -172
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +27 -27
- package/dist/cjs/AD300x250x600.js +27 -27
- package/dist/cjs/AD728x90.js +30 -30
- package/dist/cjs/ADFloatingFooter.js +33 -33
- package/dist/cjs/ADFooter.js +16 -14
- package/dist/cjs/ADGutter.js +30 -30
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-d36dc3ca.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +30 -30
- package/dist/cjs/ADSponsoredResources.js +30 -30
- package/dist/cjs/ADWebcast.js +30 -30
- package/dist/cjs/ADWelcome.js +34 -34
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-93205fa0.js} +9 -8
- package/dist/cjs/AccordionPanel.js +32 -29
- package/dist/cjs/AdSlot.js +35 -35
- package/dist/cjs/AdSlotsProvider.js +8 -9
- package/dist/cjs/AlphabeticList.js +27 -25
- package/dist/cjs/ArticleCarousel.js +24 -25
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +154 -149
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-482218ce.js} +14 -13
- package/dist/cjs/Beam.js +21 -20
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-eca358e4.js} +27 -24
- package/dist/cjs/Breadcrumbs.js +30 -27
- package/dist/cjs/BrowseVideosListing.js +42 -43
- package/dist/cjs/CMEDeck.js +83 -85
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +37 -35
- package/dist/cjs/Column3.js +60 -58
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +109 -107
- package/dist/cjs/DeckQueue.js +95 -93
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-80c3d853.js} +34 -35
- package/dist/cjs/EventsDeck.js +164 -157
- package/dist/cjs/ExternalResources.js +77 -78
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +187 -185
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +54 -52
- package/dist/cjs/HamMagazine.js +143 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +78 -75
- package/dist/cjs/IssueDeck.js +77 -74
- package/dist/cjs/IssueLanding.js +73 -74
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -40
- package/dist/cjs/MasterDeck.js +87 -88
- package/dist/cjs/NavDvm.js +81 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -148
- package/dist/cjs/NavNative.js +131 -124
- package/dist/cjs/NavNormal.js +54 -48
- package/dist/cjs/OncliveHero.js +20 -19
- package/dist/cjs/OncliveLargeHero.js +68 -69
- package/dist/cjs/PageFilter.js +16 -14
- package/dist/cjs/PartnerDetailListing.js +112 -113
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +22 -19
- package/dist/cjs/PublicationDeck.js +68 -66
- package/dist/cjs/PublicationLanding.js +146 -144
- package/dist/cjs/QueueDeckExpanded.js +298 -300
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -55
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +23 -18
- package/dist/cjs/Segment.js +21 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +41 -41
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-a49e8e9d.js} +36 -32
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -61
- package/dist/cjs/TemplateNormal.js +78 -78
- package/dist/cjs/ThumbnailCard.js +22 -23
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +35 -36
- package/dist/cjs/VideoSeriesFilter.js +22 -21
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +229 -228
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +73 -74
- package/dist/cjs/{_export-a917dedd.js → _export-7e018e14.js} +17 -161
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-4c61cfba.js} +17 -16
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-2a826637.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-4ac28868.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-d088ff6e.js} +18 -17
- package/dist/cjs/_to-object-233fc5c9.js +149 -0
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-7ca8f87e.js} +72 -71
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-a195642e.js} +7 -6
- package/dist/cjs/core.get-iterator-method-14f49e03.js +40 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-fd46a81e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-edc12c5a.js} +2 -2
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-a390d61f.js} +36 -35
- package/dist/cjs/{extends-5fde0677.js → extends-0a166456.js} +12 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +22 -21
- package/dist/cjs/getSerializers.js +42 -44
- package/dist/cjs/getSeriesDetail.js +1 -1
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-57edbc60.js} +11 -11
- package/dist/cjs/getTargeting.js +9 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b1ee7cd9.js → index-0e3597c2.js} +423 -418
- package/dist/cjs/{index-d7577df6.js → index-5ad2b070.js} +14 -11
- package/dist/cjs/{index-29e3f3a9.js → index-80f57cff.js} +19 -16
- package/dist/cjs/{index-949261b4.js → index-cb6ed1fc.js} +4 -4
- package/dist/cjs/{index-ff69979f.js → index-d48b231c.js} +3 -3
- package/dist/cjs/{index.es-e9d84959.js → index.es-f3e47207.js} +8 -7
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-8123cf40.js} +18 -17
- package/dist/cjs/index.js +9 -264
- package/dist/cjs/{inherits-02a27fbf.js → inherits-a9209207.js} +19 -18
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-d2f5bcf0.js} +6 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-4ef21f0f.js} +2 -2
- package/dist/cjs/{main-1442052b.js → main-eeffe77b.js} +70 -67
- package/dist/cjs/{moment-29403f08.js → moment-aca40de1.js} +1 -2
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-af932527.js} +29 -26
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-60dafa9c.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-1abb448e.js} +2 -2
- package/dist/cjs/{stringify-e064b7d0.js → stringify-44244c64.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-4bb00640.js} +14 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-03c3fdc8.js} +85 -84
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-8b54af99.js} +8 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-2d47ebe6.js} +11 -10
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +29 -30
- package/dist/esm/ADFooter.js +12 -11
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-bf7de12d.js} +8 -8
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +30 -31
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-3ac04591.js} +7 -7
- package/dist/esm/AccordionPanel.js +25 -24
- package/dist/esm/AdSlot.js +26 -27
- package/dist/esm/AdSlotsProvider.js +4 -6
- package/dist/esm/AlphabeticList.js +23 -22
- package/dist/esm/ArticleCarousel.js +20 -22
- package/dist/esm/ArticleSeriesListing.js +55 -57
- package/dist/esm/Auth.js +135 -134
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-22790017.js} +11 -11
- package/dist/esm/Beam.js +21 -20
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-d8cd739c.js} +21 -23
- package/dist/esm/Breadcrumbs.js +18 -17
- package/dist/esm/BrowseVideosListing.js +38 -40
- package/dist/esm/CMEDeck.js +80 -82
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +28 -29
- package/dist/esm/Column3.js +50 -51
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +86 -88
- package/dist/esm/DeckQueue.js +69 -71
- package/dist/esm/{Dfp-7db56716.js → Dfp-08279047.js} +23 -25
- package/dist/esm/EventsDeck.js +120 -120
- package/dist/esm/ExternalResources.js +71 -73
- package/dist/esm/Feature.js +17 -18
- package/dist/esm/ForbesHero.js +35 -37
- package/dist/esm/GridContent.js +145 -147
- package/dist/esm/GridHero.js +37 -39
- package/dist/esm/GroupDeck.js +49 -48
- package/dist/esm/HamMagazine.js +111 -112
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +50 -52
- package/dist/esm/IssueDeck.js +47 -49
- package/dist/esm/IssueLanding.js +69 -71
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -36
- package/dist/esm/MasterDeck.js +80 -82
- package/dist/esm/NavDvm.js +58 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +122 -123
- package/dist/esm/NavNative.js +99 -100
- package/dist/esm/NavNormal.js +36 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -62
- package/dist/esm/PageFilter.js +13 -12
- package/dist/esm/PartnerDetailListing.js +107 -109
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +15 -14
- package/dist/esm/PublicationDeck.js +40 -43
- package/dist/esm/PublicationLanding.js +123 -125
- package/dist/esm/QueueDeckExpanded.js +278 -280
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -50
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +13 -12
- package/dist/esm/Segment.js +21 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +36 -37
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-46ea0f4d.js} +24 -24
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -44
- package/dist/esm/TemplateNormal.js +68 -69
- package/dist/esm/ThumbnailCard.js +13 -16
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +27 -29
- package/dist/esm/VideoSeriesFilter.js +19 -18
- package/dist/esm/VideoSeriesListing.js +69 -71
- package/dist/esm/View.js +216 -219
- package/dist/esm/YahooHero.js +35 -37
- package/dist/esm/YoutubeGroup.js +57 -59
- package/dist/esm/{_export-f7ec2adf.js → _export-9029ebab.js} +2 -133
- package/dist/esm/{_is-array-5bea6006.js → _is-array-46713c19.js} +16 -15
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-60cd145f.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/_object-sap-108a1939.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-a4b3fe39.js} +15 -14
- package/dist/esm/_to-object-62924b74.js +135 -0
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7714cea4.js} +72 -71
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/core.get-iterator-method-6636b3ef.js +37 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-f2d6f244.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-69f06029.js} +2 -2
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-2efae22d.js} +29 -28
- package/dist/esm/{extends-8e0228d5.js → extends-f866c8d0.js} +12 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +16 -15
- package/dist/esm/getSerializers.js +42 -44
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-5cdca4e1.js} +11 -11
- package/dist/esm/getTargeting.js +9 -8
- package/dist/esm/{index-f7fdcc91.js → index-3f5c03b2.js} +3 -3
- package/dist/esm/{index-4540328d.js → index-5db919a6.js} +382 -384
- package/dist/esm/{index-17490425.js → index-669ff425.js} +9 -11
- package/dist/esm/{index-1295881c.js → index-750a7380.js} +2 -2
- package/dist/esm/{index-a4e850af.js → index-752d1dae.js} +13 -16
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-3fdda599.js → index.esm-57f377a5.js} +1 -1
- package/dist/esm/{index.esm-4838a32e.js → index.esm-8016b507.js} +15 -15
- package/dist/esm/index.js +11 -176
- package/dist/esm/{inherits-d1948b66.js → inherits-75d6495f.js} +17 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-78217618.js} +6 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ad27652f.js} +2 -2
- package/dist/esm/{main-140f99b4.js → main-decc48f4.js} +66 -67
- package/dist/esm/{moment-8797a4d3.js → moment-bc12cb97.js} +2 -2
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-91f9716f.js} +24 -26
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-fa9240c4.js} +10 -10
- package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-dedf4a20.js → stringify-22907f56.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-bd01c637.js} +14 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-668f30cd.js} +86 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-082c757b.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-89515070.js} +11 -10
- package/package.json +105 -105
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
|
@@ -1,71 +1,69 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator, a as _Promise } from './asyncToGenerator-7714cea4.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
3
|
+
import { _ as _extends } from './extends-f866c8d0.js';
|
|
4
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
5
|
+
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
7
|
+
import { s as smoothscroll } from './smoothscroll-ab6e0238.js';
|
|
8
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
+
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
|
+
import Feature from './Feature.js';
|
|
12
|
+
import urlFor from './urlFor.js';
|
|
13
|
+
import { g as getSerializers } from './index-5db919a6.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
1
15
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './
|
|
9
|
-
import
|
|
10
|
-
import './_object-
|
|
11
|
-
import './
|
|
12
|
-
import '
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import '
|
|
16
|
-
import
|
|
17
|
-
import './index-17490425.js';
|
|
16
|
+
import './es6.string.iterator-2efae22d.js';
|
|
17
|
+
import './_to-object-62924b74.js';
|
|
18
|
+
import './_export-9029ebab.js';
|
|
19
|
+
import './web.dom.iterable-89515070.js';
|
|
20
|
+
import './_library-528f1934.js';
|
|
21
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
22
|
+
import './_set-species-a4b3fe39.js';
|
|
23
|
+
import './_iter-detect-60cd145f.js';
|
|
24
|
+
import './_object-pie-33c40e79.js';
|
|
25
|
+
import './toConsumableArray-bd01c637.js';
|
|
26
|
+
import 'react-bootstrap';
|
|
27
|
+
import './index.es-c6222053.js';
|
|
28
|
+
import './visibility-sensor-082c757b.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import './index-669ff425.js';
|
|
18
31
|
import 'prop-types';
|
|
19
|
-
import './_react_commonjs-external-22b61490.js';
|
|
20
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
21
|
-
import 'react-bootstrap/Row';
|
|
22
|
-
import 'react-bootstrap/Col';
|
|
23
|
-
import 'react-bootstrap/Card';
|
|
24
|
-
import { m as moment } from './moment-8797a4d3.js';
|
|
25
32
|
import 'next/router';
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import '
|
|
30
|
-
import './
|
|
31
|
-
import '
|
|
32
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
33
|
-
import './index-a4e850af.js';
|
|
34
|
-
import './main-140f99b4.js';
|
|
35
|
-
import './entities-7cc3bf45.js';
|
|
36
|
-
import './stringify-dedf4a20.js';
|
|
37
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
38
|
-
import { a as _asyncToGenerator, b as _regeneratorRuntime, _ as _Promise } from './asyncToGenerator-0c61f551.js';
|
|
39
|
-
import './_set-species-26ee5c2a.js';
|
|
40
|
-
import './Segment.js';
|
|
41
|
-
import './Beam.js';
|
|
33
|
+
import './index-752d1dae.js';
|
|
34
|
+
import './main-decc48f4.js';
|
|
35
|
+
import './entities-932b50cf.js';
|
|
36
|
+
import './ADInfeed-bf7de12d.js';
|
|
37
|
+
import './stringify-22907f56.js';
|
|
38
|
+
import 'react-bootstrap/Card';
|
|
42
39
|
import './AdSlot.js';
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
import './
|
|
40
|
+
import './debounce-1a993acf.js';
|
|
41
|
+
import './isSymbol-807e927e.js';
|
|
42
|
+
import './Beam.js';
|
|
43
|
+
import './Segment.js';
|
|
44
|
+
import './AuthorComponent-22790017.js';
|
|
45
|
+
import './lodash-ad27652f.js';
|
|
46
|
+
import './ADlgInfeed-3ac04591.js';
|
|
46
47
|
import './getContentCategory-15dcc413.js';
|
|
47
|
-
import './AuthorComponent-8ffb1deb.js';
|
|
48
|
-
import { B as BlockContent } from './BlockContent-e6f64e62.js';
|
|
49
|
-
import { s as smoothscroll } from './smoothscroll-2d74941c.js';
|
|
50
|
-
import './GroupDeck.js';
|
|
51
|
-
import 'react-bootstrap';
|
|
52
48
|
import './timeDifferenceCalc.js';
|
|
53
|
-
import
|
|
54
|
-
import '
|
|
55
|
-
import './
|
|
56
|
-
import '
|
|
57
|
-
import
|
|
58
|
-
import './
|
|
59
|
-
import './
|
|
49
|
+
import 'react-bootstrap/Breadcrumb';
|
|
50
|
+
import 'react-bootstrap/Carousel';
|
|
51
|
+
import './util-3ab476bf.js';
|
|
52
|
+
import './typeof-668f30cd.js';
|
|
53
|
+
import './_is-array-46713c19.js';
|
|
54
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
55
|
+
import './GroupDeck.js';
|
|
60
56
|
import 'react-bootstrap/Pagination';
|
|
57
|
+
import 'react-bootstrap/Button';
|
|
58
|
+
import 'react-bootstrap/Row';
|
|
59
|
+
import 'react-bootstrap/Col';
|
|
61
60
|
import 'next/head';
|
|
61
|
+
import './inherits-75d6495f.js';
|
|
62
|
+
import './_object-sap-108a1939.js';
|
|
63
|
+
import './define-property-f2d6f244.js';
|
|
64
|
+
import './index.esm-57f377a5.js';
|
|
65
|
+
import './iconBase-602d52fe.js';
|
|
62
66
|
import 'react-bootstrap/Figure';
|
|
63
|
-
import 'react-bootstrap/Carousel';
|
|
64
|
-
import Feature from './Feature.js';
|
|
65
|
-
import 'react-bootstrap/Breadcrumb';
|
|
66
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
67
|
-
import urlFor from './urlFor.js';
|
|
68
|
-
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
69
67
|
|
|
70
68
|
var ImageSlider = function ImageSlider(props) {
|
|
71
69
|
var innerSlider = useRef(null);
|
|
@@ -171,61 +169,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
171
169
|
}, []);
|
|
172
170
|
|
|
173
171
|
var variant = 'black';
|
|
174
|
-
return
|
|
175
|
-
|
|
172
|
+
return React.createElement(
|
|
173
|
+
React.Fragment,
|
|
176
174
|
null,
|
|
177
|
-
|
|
175
|
+
React.createElement(
|
|
178
176
|
'div',
|
|
179
177
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
180
|
-
|
|
178
|
+
React.createElement(
|
|
181
179
|
'div',
|
|
182
180
|
{ className: 'row' },
|
|
183
|
-
showScroller &&
|
|
181
|
+
showScroller && React.createElement(
|
|
184
182
|
'div',
|
|
185
183
|
{ onClick: function onClick(e) {
|
|
186
184
|
return scrollSlider(e, 'prev');
|
|
187
185
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
188
|
-
|
|
186
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
189
187
|
),
|
|
190
|
-
showScroller &&
|
|
188
|
+
showScroller && React.createElement(
|
|
191
189
|
'div',
|
|
192
190
|
{ onClick: function onClick(e) {
|
|
193
191
|
return scrollSlider(e, 'next');
|
|
194
192
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
195
|
-
|
|
193
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
196
194
|
),
|
|
197
|
-
|
|
195
|
+
React.createElement(
|
|
198
196
|
'div',
|
|
199
197
|
{ ref: innerSlider, className: 'row__inner' },
|
|
200
198
|
props.data.slides.map(function (img, index) {
|
|
201
199
|
var thumbnail = urlFor(img.slideshowImage).width(250);
|
|
202
200
|
if (!img.slideshowImage.link) {
|
|
203
|
-
return
|
|
201
|
+
return React.createElement(
|
|
204
202
|
'div',
|
|
205
203
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
206
|
-
|
|
204
|
+
React.createElement(
|
|
207
205
|
'div',
|
|
208
206
|
{ className: 'tile__media' },
|
|
209
|
-
|
|
207
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
210
208
|
),
|
|
211
|
-
|
|
209
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
212
210
|
);
|
|
213
211
|
} else {
|
|
214
|
-
return
|
|
212
|
+
return React.createElement(
|
|
215
213
|
'a',
|
|
216
214
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
217
|
-
|
|
215
|
+
React.createElement(
|
|
218
216
|
'div',
|
|
219
217
|
{ className: 'tile__media' },
|
|
220
|
-
|
|
218
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
221
219
|
),
|
|
222
|
-
|
|
220
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
223
221
|
);
|
|
224
222
|
}
|
|
225
223
|
})
|
|
226
224
|
)
|
|
227
225
|
),
|
|
228
|
-
|
|
226
|
+
React.createElement(
|
|
229
227
|
'style',
|
|
230
228
|
{ jsx: 'true' },
|
|
231
229
|
'\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::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\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,\n #vidHolder {\n max-width: 805px;\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 a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\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 text-align: center;\n color: ' + (props.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 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: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\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 #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\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 top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\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 margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.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 @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
|
|
@@ -248,95 +246,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
248
246
|
pageview = _ref.pageview,
|
|
249
247
|
page = _ref.page;
|
|
250
248
|
|
|
251
|
-
return
|
|
252
|
-
|
|
249
|
+
return React.createElement(
|
|
250
|
+
React.Fragment,
|
|
253
251
|
null,
|
|
254
|
-
|
|
255
|
-
|
|
252
|
+
React.createElement(Breadcrumbs, null),
|
|
253
|
+
React.createElement(
|
|
256
254
|
'div',
|
|
257
255
|
{ className: 'partners-page' },
|
|
258
|
-
|
|
256
|
+
React.createElement(
|
|
259
257
|
'div',
|
|
260
258
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
261
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ?
|
|
259
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React.createElement(
|
|
262
260
|
'a',
|
|
263
261
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
264
|
-
|
|
262
|
+
React.createElement(
|
|
265
263
|
'figure',
|
|
266
264
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
267
|
-
|
|
265
|
+
React.createElement('img', {
|
|
268
266
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
269
267
|
style: { maxWidth: '100%' },
|
|
270
268
|
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
271
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
269
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
272
270
|
'figcaption',
|
|
273
271
|
null,
|
|
274
272
|
partnerDetails.thumbnail.caption
|
|
275
273
|
)
|
|
276
274
|
)
|
|
277
|
-
) :
|
|
275
|
+
) : React.createElement(
|
|
278
276
|
'figure',
|
|
279
277
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
280
|
-
|
|
278
|
+
React.createElement('img', {
|
|
281
279
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
282
280
|
style: { maxWidth: '100%' },
|
|
283
281
|
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
284
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
282
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
285
283
|
'figcaption',
|
|
286
284
|
null,
|
|
287
285
|
partnerDetails.thumbnail.caption
|
|
288
286
|
)
|
|
289
287
|
),
|
|
290
|
-
|
|
288
|
+
React.createElement(
|
|
291
289
|
'style',
|
|
292
290
|
{ jsx: 'true' },
|
|
293
291
|
'\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
|
|
294
292
|
),
|
|
295
|
-
partnerDetails.description &&
|
|
293
|
+
partnerDetails.description && React.createElement(
|
|
296
294
|
'div',
|
|
297
295
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
298
|
-
|
|
296
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
299
297
|
)
|
|
300
298
|
),
|
|
301
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides &&
|
|
299
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React.createElement(
|
|
302
300
|
'div',
|
|
303
301
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
304
|
-
partnerDetails.affiliates[0].title &&
|
|
302
|
+
partnerDetails.affiliates[0].title && React.createElement(
|
|
305
303
|
'h2',
|
|
306
304
|
{ className: 'bb-gold' },
|
|
307
305
|
partnerDetails.affiliates[0].title
|
|
308
306
|
),
|
|
309
|
-
|
|
307
|
+
React.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
310
308
|
),
|
|
311
|
-
features.length > 0 &&
|
|
309
|
+
features.length > 0 && React.createElement(
|
|
312
310
|
'div',
|
|
313
311
|
{ className: ' mb-5' },
|
|
314
|
-
|
|
312
|
+
React.createElement(Feature, { dataset: features, client: client })
|
|
315
313
|
),
|
|
316
|
-
partnerDetails.twitter &&
|
|
317
|
-
|
|
314
|
+
partnerDetails.twitter && React.createElement(
|
|
315
|
+
React.Fragment,
|
|
318
316
|
null,
|
|
319
|
-
|
|
317
|
+
React.createElement(
|
|
320
318
|
'div',
|
|
321
319
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
322
|
-
|
|
320
|
+
React.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
323
321
|
)
|
|
324
322
|
),
|
|
325
|
-
|
|
323
|
+
React.createElement(
|
|
326
324
|
'div',
|
|
327
325
|
null,
|
|
328
|
-
posts && posts.length > 0 &&
|
|
329
|
-
|
|
326
|
+
posts && posts.length > 0 && React.createElement(
|
|
327
|
+
React.Fragment,
|
|
330
328
|
null,
|
|
331
|
-
|
|
329
|
+
React.createElement(
|
|
332
330
|
'h2',
|
|
333
331
|
{ className: 'bb-gold mb-2' },
|
|
334
332
|
'Latest from ',
|
|
335
333
|
partnerDetails.name
|
|
336
334
|
),
|
|
337
|
-
|
|
335
|
+
React.createElement('hr', null)
|
|
338
336
|
),
|
|
339
|
-
|
|
337
|
+
React.createElement(QueueDeckExpanded, {
|
|
340
338
|
client: client,
|
|
341
339
|
mapping: Settings.mapping,
|
|
342
340
|
dataRecord: posts,
|
|
@@ -359,12 +357,12 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
359
357
|
};
|
|
360
358
|
|
|
361
359
|
PartnerDetails.returnGetInitialProps = function () {
|
|
362
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/
|
|
360
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(identifier, partnerPageUrl, partnerDocumentGroupID, params, currentPage, client) {
|
|
363
361
|
var category = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
364
362
|
|
|
365
363
|
var today, featureQuery, partnerQuery, taxonomyQuery, _ref3, _ref4, features, partnerDetails, taxonomyDetails, articlesQuery, articles;
|
|
366
364
|
|
|
367
|
-
return
|
|
365
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
368
366
|
while (1) {
|
|
369
367
|
switch (_context.prev = _context.next) {
|
|
370
368
|
case 0:
|
package/dist/esm/PdfDownload.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import React__default from 'react';
|
|
2
|
-
import './iconBase-602d52fe.js';
|
|
3
1
|
import { b as MdPictureAsPdf } from './index.esm-d6f88d94.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './iconBase-602d52fe.js';
|
|
4
4
|
|
|
5
5
|
var PdfDownload = function PdfDownload(props) {
|
|
6
|
-
return
|
|
6
|
+
return React.createElement(
|
|
7
7
|
'div',
|
|
8
8
|
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
9
|
-
|
|
9
|
+
React.createElement(
|
|
10
10
|
'a',
|
|
11
11
|
{ rel: 'noopener', href: props.issueInfo.asset.url, target: '_blank' },
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
React.createElement(MdPictureAsPdf, { style: { fontSize: '65px', color: '#ff0000' } }),
|
|
13
|
+
React.createElement(
|
|
14
14
|
'span',
|
|
15
15
|
null,
|
|
16
16
|
'Click to download this publication issue.'
|
package/dist/esm/PopUpModal.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './es6.string.iterator-13b94db0.js';
|
|
4
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
5
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
6
|
-
import React__default, { useState } from 'react';
|
|
7
|
-
import { _ as _slicedToArray } from './slicedToArray-8818fe95.js';
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import React, { useState } from 'react';
|
|
8
3
|
import Modal from 'react-bootstrap/Modal';
|
|
4
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
+
import './web.dom.iterable-89515070.js';
|
|
6
|
+
import './es6.string.iterator-2efae22d.js';
|
|
7
|
+
import './_to-object-62924b74.js';
|
|
8
|
+
import './_export-9029ebab.js';
|
|
9
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
9
10
|
|
|
10
11
|
var PopUpModal = function PopUpModal(props) {
|
|
11
12
|
var _ref = props.ModalImage ? useState(true) : useState(false),
|
|
@@ -18,22 +19,22 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
18
19
|
setShow(false);
|
|
19
20
|
};
|
|
20
21
|
|
|
21
|
-
return
|
|
22
|
+
return React.createElement(
|
|
22
23
|
Modal,
|
|
23
24
|
{ show: show, onHide: function onHide() {
|
|
24
25
|
return setShow(false);
|
|
25
26
|
}, 'aria-labelledby': 'Popup-Modal' },
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
React.createElement(Modal.Title, null),
|
|
28
|
+
React.createElement(
|
|
28
29
|
Modal.Body,
|
|
29
30
|
null,
|
|
30
|
-
|
|
31
|
+
React.createElement(
|
|
31
32
|
'div',
|
|
32
33
|
{ className: 'modalImageHolder' },
|
|
33
|
-
|
|
34
|
+
React.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
|
|
34
35
|
return launchModalButton();
|
|
35
36
|
} }),
|
|
36
|
-
|
|
37
|
+
React.createElement(
|
|
37
38
|
'div',
|
|
38
39
|
{ className: 'modalClose', onClick: function onClick() {
|
|
39
40
|
return setShow(false);
|
|
@@ -42,7 +43,7 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
42
43
|
)
|
|
43
44
|
)
|
|
44
45
|
),
|
|
45
|
-
|
|
46
|
+
React.createElement(
|
|
46
47
|
'style',
|
|
47
48
|
{ jsx: 'true' },
|
|
48
49
|
'\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import 'prop-types';
|
|
4
|
-
import './_react_commonjs-external-22b61490.js';
|
|
5
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
1
|
+
import React from 'react';
|
|
6
2
|
import Row from 'react-bootstrap/Row';
|
|
7
3
|
import Col from 'react-bootstrap/Col';
|
|
4
|
+
import Button from 'react-bootstrap/Button';
|
|
8
5
|
import Card from 'react-bootstrap/Card';
|
|
6
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
8
|
+
import { l as lodash } from './lodash-ad27652f.js';
|
|
9
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
10
|
import 'react-dom';
|
|
10
|
-
import '
|
|
11
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
12
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
13
|
-
import { _ } from './lodash-2b866578.js';
|
|
14
|
-
import Button from 'react-bootstrap/Button';
|
|
11
|
+
import 'prop-types';
|
|
15
12
|
|
|
16
13
|
var PublicationDeck = function PublicationDeck(props) {
|
|
17
14
|
var data = props.data,
|
|
@@ -28,11 +25,11 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
28
25
|
return a.is_legacy === true;
|
|
29
26
|
});
|
|
30
27
|
|
|
31
|
-
var sortedLegacyPubs =
|
|
28
|
+
var sortedLegacyPubs = lodash.sortBy(legacyPubs, [function (o) {
|
|
32
29
|
return o.childIssue && o.childIssue.year ? o.childIssue.year : null;
|
|
33
30
|
}]);
|
|
34
31
|
|
|
35
|
-
var sortedRegPubs =
|
|
32
|
+
var sortedRegPubs = lodash.sortBy(regPubs, [function (o) {
|
|
36
33
|
return o.childIssue && o.childIssue.year ? o.childIssue.year : null;
|
|
37
34
|
}]);
|
|
38
35
|
|
|
@@ -53,43 +50,43 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
53
50
|
};
|
|
54
51
|
|
|
55
52
|
if (sortedRegPubs && sortedRegPubs.length || sortedLegacyPubs && sortedLegacyPubs.length) {
|
|
56
|
-
return
|
|
53
|
+
return React.createElement(
|
|
57
54
|
'div',
|
|
58
55
|
{ className: 'publication-wrapper', style: { paddingBottom: '150px' } },
|
|
59
|
-
sortedRegPubs && sortedRegPubs.length > 0 &&
|
|
56
|
+
sortedRegPubs && sortedRegPubs.length > 0 && React.createElement(
|
|
60
57
|
Row,
|
|
61
58
|
{ className: 'regular-publication-wrapper' },
|
|
62
59
|
sortedRegPubs.map(function (row, index) {
|
|
63
|
-
return row.identifier && row.identifier.current &&
|
|
60
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
64
61
|
Col,
|
|
65
62
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
66
|
-
|
|
63
|
+
React.createElement(
|
|
67
64
|
Card,
|
|
68
65
|
{ className: 'block-card', style: { width: '200px' } },
|
|
69
|
-
|
|
66
|
+
React.createElement(
|
|
70
67
|
'a',
|
|
71
68
|
{ href: href + '/' + row.identifier.current },
|
|
72
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
69
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
73
70
|
LazyLoad,
|
|
74
71
|
{ height: imageHeight },
|
|
75
|
-
|
|
76
|
-
) :
|
|
77
|
-
|
|
72
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
73
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
74
|
+
React.createElement(
|
|
78
75
|
Card.Body,
|
|
79
76
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
80
|
-
|
|
77
|
+
React.createElement(
|
|
81
78
|
Card.Title,
|
|
82
79
|
null,
|
|
83
80
|
row.name
|
|
84
81
|
),
|
|
85
|
-
|
|
82
|
+
React.createElement(
|
|
86
83
|
Button,
|
|
87
84
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
88
85
|
'Browse Issues'
|
|
89
86
|
)
|
|
90
87
|
)
|
|
91
88
|
),
|
|
92
|
-
|
|
89
|
+
React.createElement(
|
|
93
90
|
'style',
|
|
94
91
|
{ jsx: 'true' },
|
|
95
92
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -98,53 +95,53 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
98
95
|
);
|
|
99
96
|
})
|
|
100
97
|
),
|
|
101
|
-
sortedLegacyPubs && sortedLegacyPubs.length > 0 &&
|
|
102
|
-
|
|
98
|
+
sortedLegacyPubs && sortedLegacyPubs.length > 0 && React.createElement(
|
|
99
|
+
React.Fragment,
|
|
103
100
|
null,
|
|
104
|
-
|
|
101
|
+
React.createElement(
|
|
105
102
|
'div',
|
|
106
103
|
{ className: 'legacy-publication-title' },
|
|
107
|
-
|
|
104
|
+
React.createElement(
|
|
108
105
|
'h2',
|
|
109
106
|
null,
|
|
110
107
|
'Legacy'
|
|
111
108
|
),
|
|
112
|
-
|
|
109
|
+
React.createElement('hr', null)
|
|
113
110
|
),
|
|
114
|
-
|
|
111
|
+
React.createElement(
|
|
115
112
|
Row,
|
|
116
113
|
{ className: 'legacy-publication-wrapper' },
|
|
117
114
|
sortedLegacyPubs.map(function (row, index) {
|
|
118
|
-
return row.identifier && row.identifier.current &&
|
|
115
|
+
return row.identifier && row.identifier.current && React.createElement(
|
|
119
116
|
Col,
|
|
120
117
|
{ xs: 6, sm: 6, md: 6, lg: 4, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
121
|
-
|
|
118
|
+
React.createElement(
|
|
122
119
|
Card,
|
|
123
120
|
{ className: 'block-card', style: { width: '200px' } },
|
|
124
|
-
|
|
121
|
+
React.createElement(
|
|
125
122
|
'a',
|
|
126
123
|
{ href: href + '/' + row.identifier.current },
|
|
127
|
-
row.childIssue && row.childIssue.thumbnail ?
|
|
124
|
+
row.childIssue && row.childIssue.thumbnail ? React.createElement(
|
|
128
125
|
LazyLoad,
|
|
129
126
|
{ height: imageHeight },
|
|
130
|
-
|
|
131
|
-
) :
|
|
132
|
-
|
|
127
|
+
React.createElement(Card.Img, { variant: 'top', src: renderCardImage(row.childIssue.thumbnail), style: { objectFit: 'contain', maxHeight: '200px', maxWidth: '200px' } })
|
|
128
|
+
) : React.createElement('p', { className: 'placeholder-tag' }),
|
|
129
|
+
React.createElement(
|
|
133
130
|
Card.Body,
|
|
134
131
|
{ style: { paddingTop: '0', paddingBottom: '2.75rem' } },
|
|
135
|
-
|
|
132
|
+
React.createElement(
|
|
136
133
|
Card.Title,
|
|
137
134
|
null,
|
|
138
135
|
row.name
|
|
139
136
|
),
|
|
140
|
-
|
|
137
|
+
React.createElement(
|
|
141
138
|
Button,
|
|
142
139
|
{ style: { position: 'absolute', bottom: '1rem', margin: '0px', width: '78%' }, variant: 'secondary' },
|
|
143
140
|
'Browse Issues'
|
|
144
141
|
)
|
|
145
142
|
)
|
|
146
143
|
),
|
|
147
|
-
|
|
144
|
+
React.createElement(
|
|
148
145
|
'style',
|
|
149
146
|
{ jsx: 'true' },
|
|
150
147
|
'\n .lazyload-placeholder {\n padding: 0 1.25rem 2.75rem;\n }\n .placeholder-tag {\n min-height: 200px;\n }\n '
|
|
@@ -156,13 +153,13 @@ var PublicationDeck = function PublicationDeck(props) {
|
|
|
156
153
|
)
|
|
157
154
|
);
|
|
158
155
|
} else {
|
|
159
|
-
return
|
|
156
|
+
return React.createElement(
|
|
160
157
|
'div',
|
|
161
158
|
null,
|
|
162
|
-
|
|
159
|
+
React.createElement(
|
|
163
160
|
'h5',
|
|
164
161
|
null,
|
|
165
|
-
|
|
162
|
+
React.createElement(
|
|
166
163
|
'em',
|
|
167
164
|
{ className: 'pl-3' },
|
|
168
165
|
'New content coming soon, please check back later.'
|