@mjhls/mjh-framework 1.0.702 → 1.0.703-testing-module-splitting
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
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-69f06029.js';
|
|
2
|
+
import React, { useRef, useEffect } from 'react';
|
|
3
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
4
|
+
import { g as get_1 } from './get-5ee14cda.js';
|
|
5
|
+
import Segment from './Segment.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './_library-90219a8d.js';
|
|
5
|
-
import './_iter-detect-65720de7.js';
|
|
6
|
-
import './core.get-iterator-method-dbbb346b.js';
|
|
7
|
-
import './define-property-7a40a451.js';
|
|
8
|
-
import './web.dom.iterable-c3ba4d37.js';
|
|
9
|
-
import React__default, { useRef, useEffect } from 'react';
|
|
7
|
+
import './define-property-f2d6f244.js';
|
|
8
|
+
import './_export-9029ebab.js';
|
|
10
9
|
import 'prop-types';
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
10
|
+
import './isSymbol-807e927e.js';
|
|
11
|
+
import './asyncToGenerator-7714cea4.js';
|
|
12
|
+
import './es6.string.iterator-2efae22d.js';
|
|
13
|
+
import './_to-object-62924b74.js';
|
|
14
|
+
import './web.dom.iterable-89515070.js';
|
|
15
|
+
import './_library-528f1934.js';
|
|
16
|
+
import './core.get-iterator-method-6636b3ef.js';
|
|
17
|
+
import './_set-species-a4b3fe39.js';
|
|
18
|
+
import './_iter-detect-60cd145f.js';
|
|
20
19
|
|
|
21
20
|
var year = new Date().getFullYear();
|
|
22
21
|
|
|
23
22
|
var renderLink = function renderLink(row) {
|
|
24
23
|
if (row.blank) {
|
|
25
|
-
return
|
|
24
|
+
return React.createElement(
|
|
26
25
|
'a',
|
|
27
26
|
_defineProperty({ rel: 'noopener', href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '', target: '_blank' }, 'rel', 'noopener noreferrer'),
|
|
28
27
|
row.title
|
|
29
28
|
);
|
|
30
29
|
}
|
|
31
|
-
return
|
|
30
|
+
return React.createElement(
|
|
32
31
|
'a',
|
|
33
32
|
{ href: row.url, needsegmentsupport: row.needSegmentSupport ? 'true' : '' },
|
|
34
33
|
row.title
|
|
@@ -36,10 +35,10 @@ var renderLink = function renderLink(row) {
|
|
|
36
35
|
};
|
|
37
36
|
|
|
38
37
|
var SideFooter = function SideFooter(props) {
|
|
39
|
-
/*
|
|
40
|
-
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
38
|
+
/*
|
|
39
|
+
useage example: <SideFooter cache={props.cache} logo='https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png' />
|
|
41
40
|
*/
|
|
42
|
-
var _get =
|
|
41
|
+
var _get = get_1(props, 'cache.siteSettingCache', {}),
|
|
43
42
|
socialLinks = _get.socialLinks,
|
|
44
43
|
footerLinks = _get.footerLinks,
|
|
45
44
|
name = _get.name,
|
|
@@ -71,24 +70,24 @@ var SideFooter = function SideFooter(props) {
|
|
|
71
70
|
name = copyRightText;
|
|
72
71
|
}
|
|
73
72
|
|
|
74
|
-
return
|
|
73
|
+
return React.createElement(
|
|
75
74
|
'div',
|
|
76
75
|
{ className: 'side-footer', ref: sfRef },
|
|
77
|
-
|
|
76
|
+
React.createElement(
|
|
78
77
|
'ul',
|
|
79
78
|
null,
|
|
80
79
|
footerLinks && footerLinks.map(function (row, index) {
|
|
81
|
-
return
|
|
80
|
+
return React.createElement(
|
|
82
81
|
'li',
|
|
83
82
|
{ key: index },
|
|
84
83
|
renderLink(row)
|
|
85
84
|
);
|
|
86
85
|
}),
|
|
87
|
-
|
|
86
|
+
React.createElement(
|
|
88
87
|
'li',
|
|
89
88
|
{ style: { marginTop: '10px' } },
|
|
90
89
|
socialLinks && socialLinks.map(function (row, index) {
|
|
91
|
-
return
|
|
90
|
+
return React.createElement(reactSocialIcons_1, {
|
|
92
91
|
target: row.blank ? '_blank' : '_self',
|
|
93
92
|
rel: 'noopener noreferrer',
|
|
94
93
|
key: index,
|
|
@@ -101,39 +100,39 @@ var SideFooter = function SideFooter(props) {
|
|
|
101
100
|
})
|
|
102
101
|
)
|
|
103
102
|
),
|
|
104
|
-
logo &&
|
|
103
|
+
logo && React.createElement(
|
|
105
104
|
'ul',
|
|
106
105
|
null,
|
|
107
|
-
|
|
106
|
+
React.createElement(
|
|
108
107
|
'li',
|
|
109
108
|
{ className: 'pt-2' },
|
|
110
|
-
|
|
109
|
+
React.createElement(
|
|
111
110
|
'a',
|
|
112
111
|
{ href: 'https://www.mjhlifesciences.com' },
|
|
113
|
-
|
|
112
|
+
React.createElement('img', { style: { maxWidth: '100%' }, alt: 'MJHLS Brand Logo', src: logo })
|
|
114
113
|
)
|
|
115
114
|
)
|
|
116
115
|
),
|
|
117
|
-
showAddress &&
|
|
116
|
+
showAddress && React.createElement(
|
|
118
117
|
'div',
|
|
119
118
|
null,
|
|
120
|
-
address ? address :
|
|
119
|
+
address ? address : React.createElement(
|
|
121
120
|
'p',
|
|
122
121
|
null,
|
|
123
122
|
'2 Clarke Drive',
|
|
124
|
-
|
|
123
|
+
React.createElement('br', null),
|
|
125
124
|
'Suite 100',
|
|
126
|
-
|
|
125
|
+
React.createElement('br', null),
|
|
127
126
|
'Cranbury, NJ 08512'
|
|
128
127
|
)
|
|
129
128
|
),
|
|
130
|
-
|
|
129
|
+
React.createElement(
|
|
131
130
|
'p',
|
|
132
131
|
null,
|
|
133
132
|
'\xA9 ',
|
|
134
133
|
year,
|
|
135
134
|
' MJH Life Sciences',
|
|
136
|
-
|
|
135
|
+
React.createElement(
|
|
137
136
|
'sup',
|
|
138
137
|
null,
|
|
139
138
|
'\u2122'
|
package/dist/esm/SocialIcons.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// SVGs for light icons
|
|
4
4
|
var lightIcons = [{
|
|
@@ -63,12 +63,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
63
63
|
if (icon) {
|
|
64
64
|
// Creating icon component
|
|
65
65
|
var Icon = function Icon() {
|
|
66
|
-
return
|
|
66
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
67
67
|
};
|
|
68
|
-
return
|
|
68
|
+
return React.createElement(
|
|
69
69
|
'a',
|
|
70
70
|
{ href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
71
|
-
|
|
71
|
+
React.createElement(Icon, null)
|
|
72
72
|
);
|
|
73
73
|
} else return null;
|
|
74
74
|
});
|
|
@@ -82,12 +82,12 @@ var SocialIcons = function SocialIcons(props) {
|
|
|
82
82
|
if (icon) {
|
|
83
83
|
// Creating icon component
|
|
84
84
|
var Icon = function Icon() {
|
|
85
|
-
return
|
|
85
|
+
return React.createElement('p', { dangerouslySetInnerHTML: { __html: icon } });
|
|
86
86
|
};
|
|
87
|
-
return
|
|
87
|
+
return React.createElement(
|
|
88
88
|
'a',
|
|
89
89
|
{ href: link.url, target: link.blank ? '_blank' : '_self', style: { marginRight: '4px' } },
|
|
90
|
-
|
|
90
|
+
React.createElement(Icon, null)
|
|
91
91
|
);
|
|
92
92
|
} else return null;
|
|
93
93
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-fa9240c4.js';
|
|
2
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
+
import SocialIcons from './SocialIcons.js';
|
|
4
|
+
import { G as GoSearch } from './index.esm-8016b507.js';
|
|
4
5
|
import { I as IconContext } from './iconBase-602d52fe.js';
|
|
5
|
-
import Button from 'react-bootstrap/Button';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
|
-
import { G as GoSearch } from './index.esm-4838a32e.js';
|
|
8
|
-
import SocialIcons from './SocialIcons.js';
|
|
9
7
|
import FormControl from 'react-bootstrap/FormControl';
|
|
8
|
+
import Button from 'react-bootstrap/Button';
|
|
9
|
+
import { d as main_31, c as main_41 } from './main-decc48f4.js';
|
|
10
10
|
|
|
11
11
|
var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
12
12
|
var type = _ref.type,
|
|
@@ -85,21 +85,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
var socialSearchDesktop = function socialSearchDesktop() {
|
|
88
|
-
return
|
|
88
|
+
return React.createElement(
|
|
89
89
|
'div',
|
|
90
90
|
{ id: 'search-content-desktop', ref: desktopComponent, style: { display: 'flex' } },
|
|
91
|
-
|
|
91
|
+
React.createElement(
|
|
92
92
|
'div',
|
|
93
93
|
{ id: 'search-bar-desktop', style: { top: topOffset, right: rightOffset } },
|
|
94
|
-
|
|
94
|
+
React.createElement(
|
|
95
95
|
Form,
|
|
96
96
|
{ style: { padding: '6px' }, inline: true, onSubmit: function onSubmit(e) {
|
|
97
97
|
return submitSearch(e);
|
|
98
98
|
} },
|
|
99
|
-
|
|
99
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
100
100
|
return setSearchKey(e.target.value);
|
|
101
101
|
} }),
|
|
102
|
-
|
|
102
|
+
React.createElement(
|
|
103
103
|
Button,
|
|
104
104
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
105
105
|
return submitSearch(e);
|
|
@@ -108,22 +108,22 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
108
108
|
)
|
|
109
109
|
)
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
React.createElement(
|
|
112
112
|
IconContext.Provider,
|
|
113
113
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-desktop', size: '35px' } },
|
|
114
|
-
|
|
114
|
+
React.createElement(GoSearch, {
|
|
115
115
|
onClick: function onClick() {
|
|
116
116
|
toggleClass('search-bar-desktop', 'id', 'show');
|
|
117
117
|
toggleClass('search-btn-desktop', 'class', 'active-search');
|
|
118
118
|
}
|
|
119
119
|
})
|
|
120
120
|
),
|
|
121
|
-
website && website.socialLinks && website.socialLinks.length !== 0 &&
|
|
121
|
+
website && website.socialLinks && website.socialLinks.length !== 0 && React.createElement(
|
|
122
122
|
'div',
|
|
123
123
|
{ id: 'social-tab-desktop', style: { display: 'flex', left: '0px', position: 'relative', paddingTop: '3px', maxHeight: '35px' } },
|
|
124
|
-
website.socialLinks &&
|
|
124
|
+
website.socialLinks && React.createElement(SocialIcons, { socialLinks: website.socialLinks, variant: socialIconVariant })
|
|
125
125
|
),
|
|
126
|
-
|
|
126
|
+
React.createElement(
|
|
127
127
|
'style',
|
|
128
128
|
{ jsx: 'true' },
|
|
129
129
|
'\n #search-content-desktop .search-btn-desktop {\n padding: 5px;\n cursor: pointer;\n }\n #search-content-desktop #search-bar-desktop {\n display: none;\n background-color: var(--primary);\n position: absolute;\n width: 400px;\n border-radius: 5px;\n height: 48px;\n right: 15%;\n }\n #search-content-desktop .search-btn-desktop.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary) !important;\n }\n #search-content-desktop #search-bar-desktop.show {\n display: block !important;\n }\n '
|
|
@@ -132,21 +132,21 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
var socialSearchMobile = function socialSearchMobile() {
|
|
135
|
-
return
|
|
135
|
+
return React.createElement(
|
|
136
136
|
'div',
|
|
137
137
|
{ id: 'search-content-mobile', ref: mobileComponent },
|
|
138
|
-
|
|
138
|
+
React.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ id: 'search-bar-mobile', style: { top: topOffset } },
|
|
141
|
-
|
|
141
|
+
React.createElement(
|
|
142
142
|
Form,
|
|
143
143
|
{ inline: true, style: { padding: '6px', width: '100%' }, onSubmit: function onSubmit(e) {
|
|
144
144
|
return submitSearch(e);
|
|
145
145
|
} },
|
|
146
|
-
|
|
146
|
+
React.createElement(FormControl, { style: { width: '78%' }, placeholder: 'Search', type: 'text', value: searchKey, onChange: function onChange(e) {
|
|
147
147
|
return setSearchKey(e.target.value);
|
|
148
148
|
} }),
|
|
149
|
-
|
|
149
|
+
React.createElement(
|
|
150
150
|
Button,
|
|
151
151
|
{ variant: 'primary', style: { backgroundColor: 'var(--secondary)', border: 'none', width: '20%', marginLeft: '2%' }, onClick: function onClick(e) {
|
|
152
152
|
return submitSearch(e);
|
|
@@ -155,10 +155,10 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
155
155
|
)
|
|
156
156
|
)
|
|
157
157
|
),
|
|
158
|
-
|
|
158
|
+
React.createElement(
|
|
159
159
|
IconContext.Provider,
|
|
160
160
|
{ value: { color: socialIconVariant === 'light' ? 'white' : 'black', className: 'search-btn-mobile', size: '35px' } },
|
|
161
|
-
|
|
161
|
+
React.createElement(GoSearch, {
|
|
162
162
|
onClick: function onClick() {
|
|
163
163
|
var navToggle = document.getElementsByClassName('navbar-toggler')[0];
|
|
164
164
|
if (navToggle && navToggle.classList && !navToggle.classList.contains('collapsed')) {
|
|
@@ -174,7 +174,7 @@ var SocialSearchComponent = function SocialSearchComponent(_ref) {
|
|
|
174
174
|
}
|
|
175
175
|
})
|
|
176
176
|
),
|
|
177
|
-
|
|
177
|
+
React.createElement(
|
|
178
178
|
'style',
|
|
179
179
|
{ jsx: 'true' },
|
|
180
180
|
'\n #search-content-mobile {\n display: flex;\n z-index: 999;\n }\n @media screen and (min-width: 1200px) {\n #search-content-mobile {\n display: none;\n }\n }\n #search-content-mobile .search-btn-mobile {\n padding: 5px;\n right: 4%;\n height: 35px;\n width: 35px;\n margin-top: 4px;\n cursor: pointer;\n }\n #search-content-mobile #search-bar-mobile {\n position: ' + (main_31 ? 'absolute' : 'fixed') + ';\n display: none;\n left: 0px;\n width: 100%;\n border-radius: 5px;\n padding: 10px;\n background-color: var(--primary);\n }\n #search-content-mobile #search-bar-mobile .form-inline {\n margin-top: 0px;\n width: 100% !important;\n }\n #search-content-mobile #search-bar-mobile .form-inline .form-control {\n width: 78%;\n border-radius: 5px;\n height: 45px;\n }\n #search-content-mobile #search-bar-mobile .form-inline .btn {\n width: 20%;\n border-radius: 5px;\n background-color: #040c5a;\n height: 45px;\n margin-left: 5px;\n padding: 1px;\n }\n #search-content-mobile .search-btn-mobile.active-search {\n border-radius: 5px;\n border: 1px solid var(--secondary);\n }\n #search-content-mobile #search-bar-mobile.show {\n display: block !important;\n }\n '
|
package/dist/esm/SocialShare.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
3
|
import { FacebookShareButton, FacebookIcon, TwitterShareButton, TwitterIcon, LinkedinShareButton, LinkedinIcon, PinterestShareButton, PinterestIcon, EmailShareButton, EmailIcon } from 'react-share';
|
|
4
4
|
|
|
@@ -17,51 +17,51 @@ var SocialShare = function SocialShare(props) {
|
|
|
17
17
|
hidePinterest = props.hidePinterest,
|
|
18
18
|
hideFacebook = props.hideFacebook;
|
|
19
19
|
|
|
20
|
-
return
|
|
21
|
-
|
|
20
|
+
return React.createElement(
|
|
21
|
+
React.Fragment,
|
|
22
22
|
null,
|
|
23
|
-
!disableMeta &&
|
|
23
|
+
!disableMeta && React.createElement(
|
|
24
24
|
Head,
|
|
25
25
|
null,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
React.createElement('meta', { property: 'og:url', content: shareUrl, key: 'og:url' }),
|
|
27
|
+
React.createElement('meta', { property: 'og:title', content: shareTitle, key: 'og:title' }),
|
|
28
|
+
React.createElement('meta', { property: 'og:image', content: shareImage, key: 'og:image' }),
|
|
29
|
+
React.createElement('meta', { property: 'og:site_name', content: siteName, key: 'og:site_name' }),
|
|
30
|
+
React.createElement('meta', { property: 'og:description', content: shareSummary, key: 'og:description' }),
|
|
31
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'og:card' }),
|
|
32
|
+
React.createElement('meta', { name: 'twitter:title', content: shareTitle, key: 'og:title' }),
|
|
33
|
+
React.createElement('meta', { name: 'twitter:image', content: shareImage, key: 'og:image' }),
|
|
34
|
+
React.createElement('meta', { name: 'twitter:site', content: twitterSiteName, key: 'og:site' }),
|
|
35
|
+
React.createElement('meta', { name: 'twitter:description', content: shareSummary, key: 'og:description' })
|
|
36
36
|
),
|
|
37
|
-
!hideFacebook &&
|
|
37
|
+
!hideFacebook && React.createElement(
|
|
38
38
|
FacebookShareButton,
|
|
39
39
|
{ url: shareUrl, quote: shareTitle },
|
|
40
|
-
|
|
40
|
+
React.createElement(FacebookIcon, { size: size, round: true })
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
TwitterShareButton,
|
|
44
44
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
45
|
-
|
|
45
|
+
React.createElement(TwitterIcon, { size: size, round: true })
|
|
46
46
|
),
|
|
47
|
-
|
|
47
|
+
React.createElement(
|
|
48
48
|
LinkedinShareButton,
|
|
49
49
|
{ url: shareUrl, title: shareTitle, via: shareVia },
|
|
50
|
-
|
|
50
|
+
React.createElement(LinkedinIcon, { size: size, round: true })
|
|
51
51
|
),
|
|
52
|
-
!hidePinterest &&
|
|
52
|
+
!hidePinterest && React.createElement(
|
|
53
53
|
PinterestShareButton,
|
|
54
54
|
{ url: shareUrl, media: shareImage, description: shareSummary },
|
|
55
|
-
|
|
55
|
+
React.createElement(PinterestIcon, { size: size, round: true })
|
|
56
56
|
),
|
|
57
|
-
|
|
57
|
+
React.createElement(
|
|
58
58
|
EmailShareButton,
|
|
59
59
|
{ url: shareUrl, subject: shareSubject, body: shareSummary },
|
|
60
|
-
|
|
60
|
+
React.createElement(EmailIcon, { size: size, round: true })
|
|
61
61
|
)
|
|
62
62
|
);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
var SocialShare$1 =
|
|
65
|
+
var SocialShare$1 = React.memo(SocialShare);
|
|
66
66
|
|
|
67
67
|
export default SocialShare$1;
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import '
|
|
3
|
-
import './
|
|
4
|
-
import { _ as _extends } from './extends-8e0228d5.js';
|
|
5
|
-
import React__default from 'react';
|
|
6
|
-
import 'prop-types';
|
|
7
|
-
import './_react_commonjs-external-22b61490.js';
|
|
8
|
-
import './_prop-types_commonjs-external-9481d338.js';
|
|
1
|
+
import { _ as _extends } from './extends-f866c8d0.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
9
4
|
import Container from 'react-bootstrap/Container';
|
|
10
5
|
import Row from 'react-bootstrap/Row';
|
|
11
6
|
import Col from 'react-bootstrap/Col';
|
|
12
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
9
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
+
import './_export-9029ebab.js';
|
|
13
|
+
import './_to-object-62924b74.js';
|
|
14
|
+
import './_object-pie-33c40e79.js';
|
|
15
|
+
import 'prop-types';
|
|
13
16
|
import 'react-dom';
|
|
14
|
-
import './_react-dom_commonjs-external-f1a1ac81.js';
|
|
15
|
-
import { i as imageUrlBuilder } from './index-f7fdcc91.js';
|
|
16
|
-
import { L as LazyLoad } from './index-a4e850af.js';
|
|
17
|
-
import { B as BlockContent } from './BlockContent-e6f64e62.js';
|
|
18
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-40e8d28f.js';
|
|
19
17
|
|
|
20
18
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
21
19
|
// setting default value for imageHeight
|
|
@@ -49,13 +47,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
49
47
|
var itemCounter = 0;
|
|
50
48
|
var lgVar = 12;
|
|
51
49
|
|
|
52
|
-
return
|
|
50
|
+
return React.createElement(
|
|
53
51
|
'div',
|
|
54
52
|
{ className: 'contentDeck' },
|
|
55
|
-
|
|
53
|
+
React.createElement(
|
|
56
54
|
Container,
|
|
57
55
|
null,
|
|
58
|
-
|
|
56
|
+
React.createElement(
|
|
59
57
|
Row,
|
|
60
58
|
null,
|
|
61
59
|
data && data.map(function (row, index) {
|
|
@@ -94,33 +92,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
94
92
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
95
93
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
96
94
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
97
|
-
return
|
|
95
|
+
return React.createElement(
|
|
98
96
|
Col,
|
|
99
97
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
100
|
-
|
|
98
|
+
React.createElement(
|
|
101
99
|
Card,
|
|
102
100
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
103
|
-
|
|
101
|
+
React.createElement(
|
|
104
102
|
Card.Body,
|
|
105
103
|
null,
|
|
106
|
-
|
|
104
|
+
React.createElement(
|
|
107
105
|
Row,
|
|
108
106
|
null,
|
|
109
|
-
thumbnailURL &&
|
|
107
|
+
thumbnailURL && React.createElement(
|
|
110
108
|
Col,
|
|
111
109
|
null,
|
|
112
|
-
|
|
110
|
+
React.createElement(
|
|
113
111
|
LazyLoad,
|
|
114
112
|
{ height: imageHeight },
|
|
115
|
-
row && row.thumbnail &&
|
|
113
|
+
row && row.thumbnail && React.createElement(
|
|
116
114
|
'figure',
|
|
117
115
|
null,
|
|
118
|
-
row.thumbnail.link ?
|
|
116
|
+
row.thumbnail.link ? React.createElement(
|
|
119
117
|
'a',
|
|
120
118
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
121
|
-
|
|
122
|
-
) :
|
|
123
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
119
|
+
React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
120
|
+
) : React.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
121
|
+
row && row.thumbnail && row.thumbnail.caption && React.createElement(
|
|
124
122
|
'figcaption',
|
|
125
123
|
null,
|
|
126
124
|
row.thumbnail.caption
|
|
@@ -128,30 +126,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
128
126
|
)
|
|
129
127
|
)
|
|
130
128
|
),
|
|
131
|
-
|
|
129
|
+
React.createElement(
|
|
132
130
|
Col,
|
|
133
131
|
null,
|
|
134
|
-
|
|
132
|
+
React.createElement(
|
|
135
133
|
Row,
|
|
136
134
|
{ className: 'details-content-wrapper' },
|
|
137
|
-
|
|
135
|
+
React.createElement(
|
|
138
136
|
'div',
|
|
139
137
|
{ className: 'details-content-inner-wrapper' },
|
|
140
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
138
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React.createElement(
|
|
141
139
|
'div',
|
|
142
140
|
{ className: 'details-wrapper' },
|
|
143
|
-
companyDetails && companyDetails.length > 0 &&
|
|
141
|
+
companyDetails && companyDetails.length > 0 && React.createElement(
|
|
144
142
|
'div',
|
|
145
143
|
{ className: 'company-wrapper' },
|
|
146
144
|
companyDetails.map(function (field, index) {
|
|
147
145
|
if (field.value && field.key === 'company') {
|
|
148
|
-
return
|
|
146
|
+
return React.createElement(
|
|
149
147
|
'p',
|
|
150
148
|
{ className: 'details-field', key: index },
|
|
151
149
|
field.value
|
|
152
150
|
);
|
|
153
151
|
} else if (field.value && field.key === 'url') {
|
|
154
|
-
return
|
|
152
|
+
return React.createElement(
|
|
155
153
|
'a',
|
|
156
154
|
{ className: 'details-field', href: field.value, key: index },
|
|
157
155
|
field.value
|
|
@@ -166,12 +164,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
166
164
|
// }
|
|
167
165
|
})
|
|
168
166
|
),
|
|
169
|
-
address && address.length > 0 &&
|
|
167
|
+
address && address.length > 0 && React.createElement(
|
|
170
168
|
'div',
|
|
171
169
|
{ className: 'address-wrapper' },
|
|
172
170
|
address.map(function (field, index) {
|
|
173
171
|
if (field) {
|
|
174
|
-
return
|
|
172
|
+
return React.createElement(
|
|
175
173
|
'p',
|
|
176
174
|
{ className: 'details-field', key: index },
|
|
177
175
|
field
|
|
@@ -179,18 +177,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
179
177
|
}
|
|
180
178
|
})
|
|
181
179
|
),
|
|
182
|
-
|
|
180
|
+
React.createElement(
|
|
183
181
|
'style',
|
|
184
182
|
{ jsx: 'true' },
|
|
185
183
|
'\n .details-content-wrapper,\n .details-content-inner-wrapper {\n width: 100%;\n }\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
186
184
|
)
|
|
187
185
|
),
|
|
188
|
-
socialLinks && socialLinks.length &&
|
|
186
|
+
socialLinks && socialLinks.length && React.createElement(
|
|
189
187
|
'div',
|
|
190
188
|
{ className: 'social-icons' },
|
|
191
189
|
socialLinks.map(function (url, index) {
|
|
192
190
|
if (url && url.length) {
|
|
193
|
-
return
|
|
191
|
+
return React.createElement(reactSocialIcons_1, {
|
|
194
192
|
target: '_blank',
|
|
195
193
|
rel: 'noopener noreferrer',
|
|
196
194
|
key: index,
|
|
@@ -200,22 +198,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
200
198
|
});
|
|
201
199
|
}
|
|
202
200
|
}),
|
|
203
|
-
|
|
201
|
+
React.createElement(
|
|
204
202
|
'style',
|
|
205
203
|
{ jsx: 'true' },
|
|
206
204
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
207
205
|
)
|
|
208
206
|
),
|
|
209
|
-
|
|
207
|
+
React.createElement(
|
|
210
208
|
Card.Text,
|
|
211
209
|
null,
|
|
212
|
-
|
|
210
|
+
React.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
213
211
|
)
|
|
214
212
|
)
|
|
215
213
|
)
|
|
216
214
|
)
|
|
217
215
|
),
|
|
218
|
-
icon &&
|
|
216
|
+
icon && React.createElement(
|
|
219
217
|
'span',
|
|
220
218
|
{
|
|
221
219
|
className: 'taxonomy-icon',
|
|
@@ -235,7 +233,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
235
233
|
})
|
|
236
234
|
)
|
|
237
235
|
),
|
|
238
|
-
icon &&
|
|
236
|
+
icon && React.createElement(
|
|
239
237
|
'style',
|
|
240
238
|
{ jsx: 'true' },
|
|
241
239
|
'\n .taxonomy-card:hover .taxonomy-icon {\n transform: translateY(-50%) scale(1.5) translateX(0) !important;\n }\n '
|