@mjhls/mjh-framework 1.0.709-ad-refresh-v2 → 1.0.709
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +25 -24
- package/dist/cjs/AD300x250x600.js +25 -24
- package/dist/cjs/AD728x90.js +28 -27
- package/dist/cjs/ADFloatingFooter.js +27 -26
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +27 -26
- package/dist/cjs/{ADInfeed-766b8949.js → ADInfeed-2c7a6dd8.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +27 -26
- package/dist/cjs/ADSponsoredResources.js +27 -26
- package/dist/cjs/ADWebcast.js +27 -26
- package/dist/cjs/ADWelcome.js +31 -30
- package/dist/cjs/{ADlgInfeed-59dae10c.js → ADlgInfeed-fb101797.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +32 -31
- package/dist/cjs/AdSlotsProvider.js +11 -17
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +23 -22
- package/dist/cjs/ArticleSeriesListing.js +59 -58
- package/dist/cjs/Auth.js +816 -530
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-80b15fac.js → BlockContent-eca358e4.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +41 -40
- package/dist/cjs/CMEDeck.js +78 -78
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +58 -55
- package/dist/cjs/ConferenceArticleCard.js +23 -22
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +98 -94
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-390337bf.js → Dfp-a863cf48.js} +31 -30
- package/dist/cjs/EventsDeck.js +136 -129
- package/dist/cjs/ExternalResources.js +75 -74
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +181 -177
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +135 -130
- 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 +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +41 -40
- package/dist/cjs/LeftNav.js +38 -36
- package/dist/cjs/MasterDeck.js +72 -71
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +123 -115
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +106 -1302
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +78 -74
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -35
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TaxonomyDescription.js +51 -50
- package/dist/cjs/TemplateNormal.js +73 -72
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +33 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +74 -73
- package/dist/cjs/View.js +223 -220
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +59 -58
- package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-2edcb6ad.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
- package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +424 -13
- package/dist/cjs/getSerializers.js +41 -41
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-497b581d.js} +2 -2
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
- package/dist/cjs/{index-099d45ae.js → index-5ad2b070.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/{index-fb139660.js → index-bb09dc7c.js} +440 -429
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-39beccb3.js → index-d48b231c.js} +29 -24
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +128 -127
- package/dist/cjs/{inherits-513d81cd.js → inherits-2eb23889.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-4ef21f0f.js} +1 -1
- package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +24 -24
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-07b705de.js → ADInfeed-a9a35a5c.js} +7 -7
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-a02c8625.js → ADlgInfeed-ce2e0e3a.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +7 -14
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +19 -19
- package/dist/esm/ArticleSeriesListing.js +53 -53
- package/dist/esm/Auth.js +797 -515
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-c29a0075.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-c409aca5.js → BlockContent-d8cd739c.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +37 -37
- package/dist/esm/CMEDeck.js +74 -74
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-741c01be.js → Dfp-db06d7dc.js} +20 -20
- package/dist/esm/EventsDeck.js +82 -82
- package/dist/esm/ExternalResources.js +68 -68
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- 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 +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +65 -65
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +103 -1299
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +50 -50
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8ac29f4f.js → SocialSearchComponent-fab3e851.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +45 -45
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +67 -67
- package/dist/esm/View.js +210 -211
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +45 -45
- package/dist/esm/{_is-array-49698029.js → _is-array-9383b394.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-d4d262ee.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-6a003379.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-0b056cff.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-9bef3b62.js} +5 -5
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-acd1cc47.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-1b116089.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-9a008401.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-ddd52c29.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-b24a54f2.js} +3 -3
- package/dist/esm/{extends-cc5da797.js → extends-c2b1c9d7.js} +1 -1
- package/dist/esm/getRelatedArticle.js +424 -13
- package/dist/esm/getSerializers.js +41 -41
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-b1a7be54.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-3849e3fe.js → index-3f5c03b2.js} +29 -24
- package/dist/esm/{index-0bb373e2.js → index-48a08226.js} +384 -380
- package/dist/esm/{index-3f4dd6f2.js → index-669ff425.js} +10 -12
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +106 -105
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-18d4a779.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-9bb7939c.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-ad27652f.js} +1 -1
- package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-34468155.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-8a4f19f7.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-5212fee7.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-64422756.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-ca37144a.js} +3 -3
- package/package.json +3 -3
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,1264 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-acd1cc47.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-34468155.js';
|
|
3
|
+
import { _ as _extends } from './extends-c2b1c9d7.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-48a08226.js';
|
|
14
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
15
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
|
+
import './es6.string.iterator-b24a54f2.js';
|
|
17
|
+
import './_to-object-9bef3b62.js';
|
|
18
|
+
import './web.dom.iterable-ca37144a.js';
|
|
4
19
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './
|
|
20
|
+
import './core.get-iterator-method-1b116089.js';
|
|
21
|
+
import './_set-species-0b056cff.js';
|
|
22
|
+
import './_iter-detect-d4d262ee.js';
|
|
8
23
|
import './_object-pie-71ac75a4.js';
|
|
9
|
-
import
|
|
10
|
-
import '
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import '
|
|
14
|
-
import './
|
|
15
|
-
import '
|
|
16
|
-
import React__default, { Component, useRef, useState, useEffect } from 'react';
|
|
17
|
-
import './index-3f4dd6f2.js';
|
|
18
|
-
import PropTypes from 'prop-types';
|
|
19
|
-
import 'react-bootstrap/Row';
|
|
20
|
-
import 'react-bootstrap/Col';
|
|
21
|
-
import 'react-bootstrap/Card';
|
|
22
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
|
+
import './toConsumableArray-5212fee7.js';
|
|
25
|
+
import 'react-bootstrap';
|
|
26
|
+
import './index.es-c6222053.js';
|
|
27
|
+
import './visibility-sensor-082c757b.js';
|
|
28
|
+
import 'react-dom';
|
|
29
|
+
import './index-669ff425.js';
|
|
30
|
+
import 'prop-types';
|
|
23
31
|
import 'next/router';
|
|
24
|
-
import './
|
|
32
|
+
import './index-752d1dae.js';
|
|
33
|
+
import './main-1450d277.js';
|
|
34
|
+
import './entities-932b50cf.js';
|
|
35
|
+
import './ADInfeed-a9a35a5c.js';
|
|
36
|
+
import './stringify-8a4f19f7.js';
|
|
37
|
+
import 'react-bootstrap/Card';
|
|
38
|
+
import './AdSlot.js';
|
|
25
39
|
import './debounce-1a993acf.js';
|
|
26
|
-
import './
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import './visibility-sensor-0baa4eea.js';
|
|
29
|
-
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
30
|
-
import './index-5f9f807a.js';
|
|
31
|
-
import './main-e4a934b2.js';
|
|
32
|
-
import './entities-7cc3bf45.js';
|
|
33
|
-
import './stringify-008c8802.js';
|
|
34
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
35
|
-
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7c654f36.js';
|
|
36
|
-
import './_set-species-cede29f8.js';
|
|
37
|
-
import './Segment.js';
|
|
40
|
+
import './isSymbol-807e927e.js';
|
|
38
41
|
import './Beam.js';
|
|
39
|
-
import './
|
|
40
|
-
import './
|
|
41
|
-
import './lodash-
|
|
42
|
-
import './ADlgInfeed-
|
|
42
|
+
import './Segment.js';
|
|
43
|
+
import './AuthorComponent-c29a0075.js';
|
|
44
|
+
import './lodash-ad27652f.js';
|
|
45
|
+
import './ADlgInfeed-ce2e0e3a.js';
|
|
43
46
|
import './getContentCategory-15dcc413.js';
|
|
44
|
-
import './AuthorComponent-00f13201.js';
|
|
45
|
-
import { B as BlockContent } from './BlockContent-c409aca5.js';
|
|
46
|
-
import { s as smoothscroll } from './smoothscroll-4b699764.js';
|
|
47
|
-
import './GroupDeck.js';
|
|
48
|
-
import 'react-bootstrap';
|
|
49
47
|
import './timeDifferenceCalc.js';
|
|
50
|
-
import
|
|
51
|
-
import '
|
|
52
|
-
import './
|
|
53
|
-
import '
|
|
54
|
-
import
|
|
55
|
-
import './
|
|
56
|
-
import './
|
|
48
|
+
import 'react-bootstrap/Breadcrumb';
|
|
49
|
+
import 'react-bootstrap/Carousel';
|
|
50
|
+
import './util-3ab476bf.js';
|
|
51
|
+
import './typeof-64422756.js';
|
|
52
|
+
import './_is-array-9383b394.js';
|
|
53
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
54
|
+
import './GroupDeck.js';
|
|
57
55
|
import 'react-bootstrap/Pagination';
|
|
56
|
+
import 'react-bootstrap/Button';
|
|
57
|
+
import 'react-bootstrap/Row';
|
|
58
|
+
import 'react-bootstrap/Col';
|
|
58
59
|
import 'next/head';
|
|
60
|
+
import './inherits-18d4a779.js';
|
|
61
|
+
import './_object-sap-6a003379.js';
|
|
62
|
+
import './define-property-9a008401.js';
|
|
63
|
+
import './index.esm-3fdda599.js';
|
|
64
|
+
import './iconBase-602d52fe.js';
|
|
59
65
|
import 'react-bootstrap/Figure';
|
|
60
|
-
import 'react-bootstrap/Carousel';
|
|
61
|
-
import Feature from './Feature.js';
|
|
62
|
-
import 'react-bootstrap/Breadcrumb';
|
|
63
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
64
|
-
import urlFor from './urlFor.js';
|
|
65
|
-
|
|
66
|
-
function _classCallCheck(instance, Constructor) {
|
|
67
|
-
if (!(instance instanceof Constructor)) {
|
|
68
|
-
throw new TypeError("Cannot call a class as a function");
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function _defineProperties(target, props) {
|
|
73
|
-
for (var i = 0; i < props.length; i++) {
|
|
74
|
-
var descriptor = props[i];
|
|
75
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
76
|
-
descriptor.configurable = true;
|
|
77
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
78
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
83
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
84
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
85
|
-
return Constructor;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
function _typeof(obj) {
|
|
89
|
-
"@babel/helpers - typeof";
|
|
90
|
-
|
|
91
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
92
|
-
_typeof = function _typeof(obj) {
|
|
93
|
-
return typeof obj;
|
|
94
|
-
};
|
|
95
|
-
} else {
|
|
96
|
-
_typeof = function _typeof(obj) {
|
|
97
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return _typeof(obj);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
function _assertThisInitialized(self) {
|
|
105
|
-
if (self === void 0) {
|
|
106
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return self;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
function _possibleConstructorReturn(self, call) {
|
|
113
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
114
|
-
return call;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
return _assertThisInitialized(self);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
function _getPrototypeOf(o) {
|
|
121
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
122
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
123
|
-
};
|
|
124
|
-
return _getPrototypeOf(o);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
function _setPrototypeOf(o, p) {
|
|
128
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
129
|
-
o.__proto__ = p;
|
|
130
|
-
return o;
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
return _setPrototypeOf(o, p);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
function _inherits(subClass, superClass) {
|
|
137
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
138
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
142
|
-
constructor: {
|
|
143
|
-
value: subClass,
|
|
144
|
-
writable: true,
|
|
145
|
-
configurable: true
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
function _defineProperty(obj, key, value) {
|
|
152
|
-
if (key in obj) {
|
|
153
|
-
Object.defineProperty(obj, key, {
|
|
154
|
-
value: value,
|
|
155
|
-
enumerable: true,
|
|
156
|
-
configurable: true,
|
|
157
|
-
writable: true
|
|
158
|
-
});
|
|
159
|
-
} else {
|
|
160
|
-
obj[key] = value;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
return obj;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
var isRequiredIf_1 = createCommonjsModule(function (module, exports) {
|
|
167
|
-
Object.defineProperty(exports,'__esModule',{value:!0});var VALIDATOR_ARG_ERROR_MESSAGE='The typeValidator argument must be a function with the signature function(props, propName, componentName).',MESSAGE_ARG_ERROR_MESSAGE='The error message is optional, but must be a string if provided.',propIsRequired=function propIsRequired(a,b,c,d){if('boolean'==typeof a)return a;return 'function'==typeof a?a(b,c,d):!(!0!==!!a)&&!!a},propExists=function propExists(a,b){return Object.hasOwnProperty.call(a,b)},missingPropError=function missingPropError(a,b,c,d){return d?new Error(d):new Error('Required '+a[b]+' `'+b+'`'+(' was not specified in `'+c+'`.'))},guardAgainstInvalidArgTypes=function guardAgainstInvalidArgTypes(a,b){if('function'!=typeof a)throw new TypeError(VALIDATOR_ARG_ERROR_MESSAGE);if(!!b&&'string'!=typeof b)throw new TypeError(MESSAGE_ARG_ERROR_MESSAGE)},isRequiredIf=function isRequiredIf(a,b,c){return guardAgainstInvalidArgTypes(a,c),function(d,e,f){for(var _len=arguments.length,g=Array(3<_len?_len-3:0),_key=3;_key<_len;_key++)g[_key-3]=arguments[_key];return propIsRequired(b,d,e,f)?propExists(d,e)?a.apply(void 0,[d,e,f].concat(g)):missingPropError(d,e,f,c):a.apply(void 0,[d,e,f].concat(g));// Is not required, so just run typeValidator.
|
|
168
|
-
}};exports.default=isRequiredIf;
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
});
|
|
172
|
-
|
|
173
|
-
var isRequiredIf = unwrapExports(isRequiredIf_1);
|
|
174
|
-
|
|
175
|
-
var exenv = createCommonjsModule(function (module) {
|
|
176
|
-
/*!
|
|
177
|
-
Copyright (c) 2015 Jed Watson.
|
|
178
|
-
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
179
|
-
All rights reserved.
|
|
180
|
-
*/
|
|
181
|
-
/* global define */
|
|
182
|
-
|
|
183
|
-
(function () {
|
|
184
|
-
|
|
185
|
-
var canUseDOM = !!(
|
|
186
|
-
typeof window !== 'undefined' &&
|
|
187
|
-
window.document &&
|
|
188
|
-
window.document.createElement
|
|
189
|
-
);
|
|
190
|
-
|
|
191
|
-
var ExecutionEnvironment = {
|
|
192
|
-
|
|
193
|
-
canUseDOM: canUseDOM,
|
|
194
|
-
|
|
195
|
-
canUseWorkers: typeof Worker !== 'undefined',
|
|
196
|
-
|
|
197
|
-
canUseEventListeners:
|
|
198
|
-
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
|
199
|
-
|
|
200
|
-
canUseViewport: canUseDOM && !!window.screen
|
|
201
|
-
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
if ( module.exports) {
|
|
205
|
-
module.exports = ExecutionEnvironment;
|
|
206
|
-
} else {
|
|
207
|
-
window.ExecutionEnvironment = ExecutionEnvironment;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
}());
|
|
211
|
-
});
|
|
212
|
-
|
|
213
|
-
var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
|
|
214
|
-
|
|
215
|
-
var TwitterTimelineEmbed =
|
|
216
|
-
/*#__PURE__*/
|
|
217
|
-
function (_Component) {
|
|
218
|
-
_inherits(TwitterTimelineEmbed, _Component);
|
|
219
|
-
|
|
220
|
-
function TwitterTimelineEmbed(props) {
|
|
221
|
-
var _this;
|
|
222
|
-
|
|
223
|
-
_classCallCheck(this, TwitterTimelineEmbed);
|
|
224
|
-
|
|
225
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
226
|
-
_this.state = {
|
|
227
|
-
isLoading: true
|
|
228
|
-
};
|
|
229
|
-
return _this;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
_createClass(TwitterTimelineEmbed, [{
|
|
233
|
-
key: "buildChromeOptions",
|
|
234
|
-
value: function buildChromeOptions(options) {
|
|
235
|
-
options.chrome = '';
|
|
236
|
-
|
|
237
|
-
if (this.props.noHeader) {
|
|
238
|
-
options.chrome = options.chrome + ' noheader';
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
if (this.props.noFooter) {
|
|
242
|
-
options.chrome = options.chrome + ' nofooter';
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
if (this.props.noBorders) {
|
|
246
|
-
options.chrome = options.chrome + ' noborders';
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
if (this.props.noScrollbar) {
|
|
250
|
-
options.chrome = options.chrome + ' noscrollbar';
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
if (this.props.transparent) {
|
|
254
|
-
options.chrome = options.chrome + ' transparent';
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
return options;
|
|
258
|
-
}
|
|
259
|
-
}, {
|
|
260
|
-
key: "buildOptions",
|
|
261
|
-
value: function buildOptions() {
|
|
262
|
-
var options = Object.assign({}, this.props.options);
|
|
263
|
-
|
|
264
|
-
if (this.props.autoHeight) {
|
|
265
|
-
options.height = this.refs.embedContainer.parentNode.offsetHeight;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
options = Object.assign({}, options, {
|
|
269
|
-
theme: this.props.theme,
|
|
270
|
-
linkColor: this.props.linkColor,
|
|
271
|
-
borderColor: this.props.borderColor,
|
|
272
|
-
lang: this.props.lang
|
|
273
|
-
});
|
|
274
|
-
return options;
|
|
275
|
-
}
|
|
276
|
-
}, {
|
|
277
|
-
key: "renderWidget",
|
|
278
|
-
value: function renderWidget(options) {
|
|
279
|
-
var _this2 = this;
|
|
280
|
-
|
|
281
|
-
var onLoad = this.props.onLoad;
|
|
282
|
-
|
|
283
|
-
if (!this.isMountCanceled) {
|
|
284
|
-
window.twttr.widgets.createTimeline({
|
|
285
|
-
sourceType: this.props.sourceType,
|
|
286
|
-
screenName: this.props.screenName,
|
|
287
|
-
userId: this.props.userId,
|
|
288
|
-
ownerScreenName: this.props.ownerScreenName,
|
|
289
|
-
slug: this.props.slug,
|
|
290
|
-
id: this.props.id || this.props.widgetId,
|
|
291
|
-
url: this.props.url
|
|
292
|
-
}, this.refs.embedContainer, options).then(function (element) {
|
|
293
|
-
_this2.setState({
|
|
294
|
-
isLoading: false
|
|
295
|
-
});
|
|
296
|
-
|
|
297
|
-
if (onLoad) {
|
|
298
|
-
onLoad(element);
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}, {
|
|
304
|
-
key: "componentDidMount",
|
|
305
|
-
value: function componentDidMount() {
|
|
306
|
-
var _this3 = this;
|
|
307
|
-
|
|
308
|
-
if (exenv.canUseDOM) {
|
|
309
|
-
var script = require('scriptjs');
|
|
310
|
-
|
|
311
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
312
|
-
if (!window.twttr) {
|
|
313
|
-
console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
|
|
314
|
-
return;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
var options = _this3.buildOptions();
|
|
318
|
-
/** Append chrome options */
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
options = _this3.buildChromeOptions(options);
|
|
322
|
-
|
|
323
|
-
_this3.renderWidget(options);
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}, {
|
|
328
|
-
key: "componentWillUnmount",
|
|
329
|
-
value: function componentWillUnmount() {
|
|
330
|
-
this.isMountCanceled = true;
|
|
331
|
-
}
|
|
332
|
-
}, {
|
|
333
|
-
key: "render",
|
|
334
|
-
value: function render() {
|
|
335
|
-
var isLoading = this.state.isLoading;
|
|
336
|
-
var placeholder = this.props.placeholder;
|
|
337
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
338
|
-
ref: "embedContainer"
|
|
339
|
-
}));
|
|
340
|
-
}
|
|
341
|
-
}]);
|
|
342
|
-
|
|
343
|
-
return TwitterTimelineEmbed;
|
|
344
|
-
}(Component);
|
|
345
|
-
|
|
346
|
-
_defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
347
|
-
/**
|
|
348
|
-
* This can be either of profile, likes, list, collection, URL, widget
|
|
349
|
-
*/
|
|
350
|
-
sourceType: PropTypes.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
|
|
351
|
-
|
|
352
|
-
/**
|
|
353
|
-
* username of twitter handle as String
|
|
354
|
-
*/
|
|
355
|
-
screenName: isRequiredIf(PropTypes.string, function (props) {
|
|
356
|
-
return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
357
|
-
}),
|
|
358
|
-
|
|
359
|
-
/**
|
|
360
|
-
* UserId of twitter handle as number
|
|
361
|
-
*/
|
|
362
|
-
userId: isRequiredIf(PropTypes.number, function (props) {
|
|
363
|
-
return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
364
|
-
}),
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* To show list, used along with slug
|
|
368
|
-
*/
|
|
369
|
-
ownerScreenName: isRequiredIf(PropTypes.string, function (props) {
|
|
370
|
-
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
371
|
-
}),
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* To show list, used along with ownerScreenName
|
|
375
|
-
*/
|
|
376
|
-
slug: isRequiredIf(PropTypes.string, function (props) {
|
|
377
|
-
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
378
|
-
}),
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* To show list, unique list id
|
|
382
|
-
* Also used with collections, in that case its valid collection id
|
|
383
|
-
*/
|
|
384
|
-
id: isRequiredIf(PropTypes.oneOfType([PropTypes.number, PropTypes.string]), function (props) {
|
|
385
|
-
return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
|
|
386
|
-
}),
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* To show twitter content with url.
|
|
390
|
-
* Supported content includes profiles, likes, lists, and collections.
|
|
391
|
-
*/
|
|
392
|
-
url: isRequiredIf(PropTypes.string, function (props) {
|
|
393
|
-
return props.sourceType === 'url';
|
|
394
|
-
}),
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* To show custom widget
|
|
398
|
-
*/
|
|
399
|
-
widgetId: isRequiredIf(PropTypes.string, function (props) {
|
|
400
|
-
return props.sourceType === 'widget';
|
|
401
|
-
}),
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* Additional options to pass to twitter widget plugin
|
|
405
|
-
*/
|
|
406
|
-
options: PropTypes.object,
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Automatically fit into parent container height
|
|
410
|
-
*/
|
|
411
|
-
autoHeight: PropTypes.bool,
|
|
412
|
-
|
|
413
|
-
/**
|
|
414
|
-
* With dark or light theme
|
|
415
|
-
*/
|
|
416
|
-
theme: PropTypes.oneOf(['dark', 'light']),
|
|
417
|
-
|
|
418
|
-
/**
|
|
419
|
-
* With custom link colors. Note: Only Hex colors are supported.
|
|
420
|
-
*/
|
|
421
|
-
linkColor: PropTypes.string,
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* With custom border colors. Note: Only Hex colors are supported.
|
|
425
|
-
*/
|
|
426
|
-
borderColor: PropTypes.string,
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Hide the header from timeline
|
|
430
|
-
*/
|
|
431
|
-
noHeader: PropTypes.bool,
|
|
432
|
-
|
|
433
|
-
/**
|
|
434
|
-
* Hide the footer from timeline
|
|
435
|
-
*/
|
|
436
|
-
noFooter: PropTypes.bool,
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* Hide the border from timeline
|
|
440
|
-
*/
|
|
441
|
-
noBorders: PropTypes.bool,
|
|
442
|
-
|
|
443
|
-
/**
|
|
444
|
-
* Hide the scrollbars
|
|
445
|
-
*/
|
|
446
|
-
noScrollbar: PropTypes.bool,
|
|
447
|
-
|
|
448
|
-
/**
|
|
449
|
-
* Enable Transparancy
|
|
450
|
-
*/
|
|
451
|
-
transparent: PropTypes.bool,
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
|
|
455
|
-
*/
|
|
456
|
-
lang: PropTypes.string,
|
|
457
|
-
|
|
458
|
-
/**
|
|
459
|
-
* Placeholder while tweet is loading
|
|
460
|
-
*/
|
|
461
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Function to execute after load, return html element
|
|
465
|
-
*/
|
|
466
|
-
onLoad: PropTypes.func
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
var TwitterShareButton =
|
|
470
|
-
/*#__PURE__*/
|
|
471
|
-
function (_Component) {
|
|
472
|
-
_inherits(TwitterShareButton, _Component);
|
|
473
|
-
|
|
474
|
-
function TwitterShareButton(props) {
|
|
475
|
-
var _this;
|
|
476
|
-
|
|
477
|
-
_classCallCheck(this, TwitterShareButton);
|
|
478
|
-
|
|
479
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
|
|
480
|
-
_this.state = {
|
|
481
|
-
isLoading: true
|
|
482
|
-
};
|
|
483
|
-
return _this;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
_createClass(TwitterShareButton, [{
|
|
487
|
-
key: "componentDidMount",
|
|
488
|
-
value: function componentDidMount() {
|
|
489
|
-
var _this2 = this;
|
|
490
|
-
|
|
491
|
-
var onLoad = this.props.onLoad;
|
|
492
|
-
|
|
493
|
-
if (exenv.canUseDOM) {
|
|
494
|
-
var script = require('scriptjs');
|
|
495
|
-
|
|
496
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
497
|
-
if (!window.twttr) {
|
|
498
|
-
console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
|
|
499
|
-
return;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
if (!_this2.isMountCanceled) {
|
|
503
|
-
window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
504
|
-
_this2.setState({
|
|
505
|
-
isLoading: false
|
|
506
|
-
});
|
|
507
|
-
|
|
508
|
-
if (onLoad) {
|
|
509
|
-
onLoad(element);
|
|
510
|
-
}
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
});
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
}, {
|
|
517
|
-
key: "componentWillUnmount",
|
|
518
|
-
value: function componentWillUnmount() {
|
|
519
|
-
this.isMountCanceled = true;
|
|
520
|
-
}
|
|
521
|
-
}, {
|
|
522
|
-
key: "render",
|
|
523
|
-
value: function render() {
|
|
524
|
-
var isLoading = this.state.isLoading;
|
|
525
|
-
var placeholder = this.props.placeholder;
|
|
526
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
527
|
-
ref: "embedContainer"
|
|
528
|
-
}));
|
|
529
|
-
}
|
|
530
|
-
}]);
|
|
531
|
-
|
|
532
|
-
return TwitterShareButton;
|
|
533
|
-
}(Component);
|
|
534
|
-
|
|
535
|
-
_defineProperty(TwitterShareButton, "propTypes", {
|
|
536
|
-
/**
|
|
537
|
-
* Url for sharing
|
|
538
|
-
*/
|
|
539
|
-
url: PropTypes.string.isRequired,
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
* Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
|
|
543
|
-
*/
|
|
544
|
-
options: PropTypes.object,
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* Placeholder while tweet is loading
|
|
548
|
-
*/
|
|
549
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* Function to execute after load, return html element
|
|
553
|
-
*/
|
|
554
|
-
onLoad: PropTypes.func
|
|
555
|
-
});
|
|
556
|
-
|
|
557
|
-
var TwitterFollowButton =
|
|
558
|
-
/*#__PURE__*/
|
|
559
|
-
function (_Component) {
|
|
560
|
-
_inherits(TwitterFollowButton, _Component);
|
|
561
|
-
|
|
562
|
-
function TwitterFollowButton(props) {
|
|
563
|
-
var _this;
|
|
564
|
-
|
|
565
|
-
_classCallCheck(this, TwitterFollowButton);
|
|
566
|
-
|
|
567
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
568
|
-
_this.state = {
|
|
569
|
-
isLoading: true
|
|
570
|
-
};
|
|
571
|
-
return _this;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
_createClass(TwitterFollowButton, [{
|
|
575
|
-
key: "componentDidMount",
|
|
576
|
-
value: function componentDidMount() {
|
|
577
|
-
var _this2 = this;
|
|
578
|
-
|
|
579
|
-
var onLoad = this.props.onLoad;
|
|
580
|
-
|
|
581
|
-
if (exenv.canUseDOM) {
|
|
582
|
-
var script = require('scriptjs');
|
|
583
|
-
|
|
584
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
585
|
-
if (!window.twttr) {
|
|
586
|
-
console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
|
|
587
|
-
return;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
if (!_this2.isMountCanceled) {
|
|
591
|
-
window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
592
|
-
_this2.setState({
|
|
593
|
-
isLoading: false
|
|
594
|
-
});
|
|
595
|
-
|
|
596
|
-
if (onLoad) {
|
|
597
|
-
onLoad(element);
|
|
598
|
-
}
|
|
599
|
-
});
|
|
600
|
-
}
|
|
601
|
-
});
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
}, {
|
|
605
|
-
key: "componentWillUnmount",
|
|
606
|
-
value: function componentWillUnmount() {
|
|
607
|
-
this.isMountCanceled = true;
|
|
608
|
-
}
|
|
609
|
-
}, {
|
|
610
|
-
key: "render",
|
|
611
|
-
value: function render() {
|
|
612
|
-
var isLoading = this.state.isLoading;
|
|
613
|
-
var placeholder = this.props.placeholder;
|
|
614
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
615
|
-
ref: "embedContainer"
|
|
616
|
-
}));
|
|
617
|
-
}
|
|
618
|
-
}]);
|
|
619
|
-
|
|
620
|
-
return TwitterFollowButton;
|
|
621
|
-
}(Component);
|
|
622
|
-
|
|
623
|
-
_defineProperty(TwitterFollowButton, "propTypes", {
|
|
624
|
-
/**
|
|
625
|
-
* Username of twitter user which will be followed on click
|
|
626
|
-
*/
|
|
627
|
-
screenName: PropTypes.string.isRequired,
|
|
628
|
-
|
|
629
|
-
/**
|
|
630
|
-
* Additional options to be added to the button
|
|
631
|
-
*/
|
|
632
|
-
options: PropTypes.object,
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* Placeholder while tweet is loading
|
|
636
|
-
*/
|
|
637
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
638
|
-
|
|
639
|
-
/**
|
|
640
|
-
* Function to execute after load, return html element
|
|
641
|
-
*/
|
|
642
|
-
onLoad: PropTypes.func
|
|
643
|
-
});
|
|
644
|
-
|
|
645
|
-
var TwitterHashtagButton =
|
|
646
|
-
/*#__PURE__*/
|
|
647
|
-
function (_Component) {
|
|
648
|
-
_inherits(TwitterHashtagButton, _Component);
|
|
649
|
-
|
|
650
|
-
function TwitterHashtagButton(props) {
|
|
651
|
-
var _this;
|
|
652
|
-
|
|
653
|
-
_classCallCheck(this, TwitterHashtagButton);
|
|
654
|
-
|
|
655
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
656
|
-
_this.state = {
|
|
657
|
-
isLoading: true
|
|
658
|
-
};
|
|
659
|
-
return _this;
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
_createClass(TwitterHashtagButton, [{
|
|
663
|
-
key: "componentDidMount",
|
|
664
|
-
value: function componentDidMount() {
|
|
665
|
-
var _this2 = this;
|
|
666
|
-
|
|
667
|
-
var onLoad = this.props.onLoad;
|
|
668
|
-
|
|
669
|
-
if (exenv.canUseDOM) {
|
|
670
|
-
var script = require('scriptjs');
|
|
671
|
-
|
|
672
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
673
|
-
if (!window.twttr) {
|
|
674
|
-
console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
|
|
675
|
-
return;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
if (!_this2.isMountCanceled) {
|
|
679
|
-
window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
680
|
-
_this2.setState({
|
|
681
|
-
isLoading: false
|
|
682
|
-
});
|
|
683
|
-
|
|
684
|
-
if (onLoad) {
|
|
685
|
-
onLoad(element);
|
|
686
|
-
}
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
});
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
}, {
|
|
693
|
-
key: "componentWillUnmount",
|
|
694
|
-
value: function componentWillUnmount() {
|
|
695
|
-
this.isMountCanceled = true;
|
|
696
|
-
}
|
|
697
|
-
}, {
|
|
698
|
-
key: "render",
|
|
699
|
-
value: function render() {
|
|
700
|
-
var isLoading = this.state.isLoading;
|
|
701
|
-
var placeholder = this.props.placeholder;
|
|
702
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
703
|
-
ref: "embedContainer"
|
|
704
|
-
}));
|
|
705
|
-
}
|
|
706
|
-
}]);
|
|
707
|
-
|
|
708
|
-
return TwitterHashtagButton;
|
|
709
|
-
}(Component);
|
|
710
|
-
|
|
711
|
-
_defineProperty(TwitterHashtagButton, "propTypes", {
|
|
712
|
-
/**
|
|
713
|
-
* Tag name for hashtag button
|
|
714
|
-
*/
|
|
715
|
-
tag: PropTypes.string.isRequired,
|
|
716
|
-
|
|
717
|
-
/**
|
|
718
|
-
* Additional options to be added to the button
|
|
719
|
-
*/
|
|
720
|
-
options: PropTypes.object,
|
|
721
|
-
|
|
722
|
-
/**
|
|
723
|
-
* Placeholder while tweet is loading
|
|
724
|
-
*/
|
|
725
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Function to execute after load, return html element
|
|
729
|
-
*/
|
|
730
|
-
onLoad: PropTypes.func
|
|
731
|
-
});
|
|
732
|
-
|
|
733
|
-
var TwitterMentionButton =
|
|
734
|
-
/*#__PURE__*/
|
|
735
|
-
function (_Component) {
|
|
736
|
-
_inherits(TwitterMentionButton, _Component);
|
|
737
|
-
|
|
738
|
-
function TwitterMentionButton(props) {
|
|
739
|
-
var _this;
|
|
740
|
-
|
|
741
|
-
_classCallCheck(this, TwitterMentionButton);
|
|
742
|
-
|
|
743
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
744
|
-
_this.state = {
|
|
745
|
-
isLoading: true
|
|
746
|
-
};
|
|
747
|
-
return _this;
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
_createClass(TwitterMentionButton, [{
|
|
751
|
-
key: "componentDidMount",
|
|
752
|
-
value: function componentDidMount() {
|
|
753
|
-
var _this2 = this;
|
|
754
|
-
|
|
755
|
-
var onLoad = this.props.onLoad;
|
|
756
|
-
|
|
757
|
-
if (exenv.canUseDOM) {
|
|
758
|
-
var script = require('scriptjs');
|
|
759
|
-
|
|
760
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
761
|
-
if (!window.twttr) {
|
|
762
|
-
console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
|
|
763
|
-
return;
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
if (!_this2.isMountCanceled) {
|
|
767
|
-
window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
768
|
-
_this2.setState({
|
|
769
|
-
isLoading: false
|
|
770
|
-
});
|
|
771
|
-
|
|
772
|
-
if (onLoad) {
|
|
773
|
-
onLoad(element);
|
|
774
|
-
}
|
|
775
|
-
});
|
|
776
|
-
}
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}, {
|
|
781
|
-
key: "componentWillUnmount",
|
|
782
|
-
value: function componentWillUnmount() {
|
|
783
|
-
this.isMountCanceled = true;
|
|
784
|
-
}
|
|
785
|
-
}, {
|
|
786
|
-
key: "render",
|
|
787
|
-
value: function render() {
|
|
788
|
-
var isLoading = this.state.isLoading;
|
|
789
|
-
var placeholder = this.props.placeholder;
|
|
790
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
791
|
-
ref: "embedContainer"
|
|
792
|
-
}));
|
|
793
|
-
}
|
|
794
|
-
}]);
|
|
795
|
-
|
|
796
|
-
return TwitterMentionButton;
|
|
797
|
-
}(Component);
|
|
798
|
-
|
|
799
|
-
_defineProperty(TwitterMentionButton, "propTypes", {
|
|
800
|
-
/**
|
|
801
|
-
* Username to which you will need to tweet
|
|
802
|
-
*/
|
|
803
|
-
screenName: PropTypes.string.isRequired,
|
|
804
|
-
|
|
805
|
-
/**
|
|
806
|
-
* Additional options for overriding config.
|
|
807
|
-
*/
|
|
808
|
-
options: PropTypes.object,
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* Placeholder while tweet is loading
|
|
812
|
-
*/
|
|
813
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* Function to execute after load, return html element
|
|
817
|
-
*/
|
|
818
|
-
onLoad: PropTypes.func
|
|
819
|
-
});
|
|
820
|
-
|
|
821
|
-
var TwitterTweetEmbed =
|
|
822
|
-
/*#__PURE__*/
|
|
823
|
-
function (_Component) {
|
|
824
|
-
_inherits(TwitterTweetEmbed, _Component);
|
|
825
|
-
|
|
826
|
-
function TwitterTweetEmbed(props) {
|
|
827
|
-
var _this;
|
|
828
|
-
|
|
829
|
-
_classCallCheck(this, TwitterTweetEmbed);
|
|
830
|
-
|
|
831
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
832
|
-
_this.state = {
|
|
833
|
-
isLoading: true
|
|
834
|
-
};
|
|
835
|
-
return _this;
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
_createClass(TwitterTweetEmbed, [{
|
|
839
|
-
key: "renderWidget",
|
|
840
|
-
value: function renderWidget() {
|
|
841
|
-
var _this2 = this;
|
|
842
|
-
|
|
843
|
-
var onLoad = this.props.onLoad;
|
|
844
|
-
|
|
845
|
-
if (!window.twttr) {
|
|
846
|
-
console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
|
|
847
|
-
return;
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
if (!this.isMountCanceled) {
|
|
851
|
-
window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
|
|
852
|
-
_this2.setState({
|
|
853
|
-
isLoading: false
|
|
854
|
-
});
|
|
855
|
-
|
|
856
|
-
if (onLoad) {
|
|
857
|
-
onLoad(element);
|
|
858
|
-
}
|
|
859
|
-
});
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
}, {
|
|
863
|
-
key: "componentDidMount",
|
|
864
|
-
value: function componentDidMount() {
|
|
865
|
-
var _this3 = this;
|
|
866
|
-
|
|
867
|
-
if (exenv.canUseDOM) {
|
|
868
|
-
var script = require('scriptjs');
|
|
869
|
-
|
|
870
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
871
|
-
_this3.renderWidget();
|
|
872
|
-
});
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}, {
|
|
876
|
-
key: "componentWillUnmount",
|
|
877
|
-
value: function componentWillUnmount() {
|
|
878
|
-
this.isMountCanceled = true;
|
|
879
|
-
}
|
|
880
|
-
}, {
|
|
881
|
-
key: "render",
|
|
882
|
-
value: function render() {
|
|
883
|
-
var isLoading = this.state.isLoading;
|
|
884
|
-
var placeholder = this.props.placeholder;
|
|
885
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
886
|
-
ref: "embedContainer"
|
|
887
|
-
}));
|
|
888
|
-
}
|
|
889
|
-
}]);
|
|
890
|
-
|
|
891
|
-
return TwitterTweetEmbed;
|
|
892
|
-
}(Component);
|
|
893
|
-
|
|
894
|
-
_defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
895
|
-
/**
|
|
896
|
-
* Tweet id that needs to be shown
|
|
897
|
-
*/
|
|
898
|
-
tweetId: PropTypes.string.isRequired,
|
|
899
|
-
|
|
900
|
-
/**
|
|
901
|
-
* Additional options to pass to twitter widget plugin
|
|
902
|
-
*/
|
|
903
|
-
options: PropTypes.object,
|
|
904
|
-
|
|
905
|
-
/**
|
|
906
|
-
* Placeholder while tweet is loading
|
|
907
|
-
*/
|
|
908
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
909
|
-
|
|
910
|
-
/**
|
|
911
|
-
* Function to execute after load, return html element
|
|
912
|
-
*/
|
|
913
|
-
onLoad: PropTypes.func
|
|
914
|
-
});
|
|
915
|
-
|
|
916
|
-
var TwitterMomentShare =
|
|
917
|
-
/*#__PURE__*/
|
|
918
|
-
function (_Component) {
|
|
919
|
-
_inherits(TwitterMomentShare, _Component);
|
|
920
|
-
|
|
921
|
-
function TwitterMomentShare(props) {
|
|
922
|
-
var _this;
|
|
923
|
-
|
|
924
|
-
_classCallCheck(this, TwitterMomentShare);
|
|
925
|
-
|
|
926
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
927
|
-
_this.state = {
|
|
928
|
-
isLoading: true
|
|
929
|
-
};
|
|
930
|
-
return _this;
|
|
931
|
-
}
|
|
932
|
-
|
|
933
|
-
_createClass(TwitterMomentShare, [{
|
|
934
|
-
key: "componentDidMount",
|
|
935
|
-
value: function componentDidMount() {
|
|
936
|
-
var _this2 = this;
|
|
937
|
-
|
|
938
|
-
var onLoad = this.props.onLoad;
|
|
939
|
-
|
|
940
|
-
if (exenv.canUseDOM) {
|
|
941
|
-
var script = require('scriptjs');
|
|
942
|
-
|
|
943
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
944
|
-
if (!window.twttr) {
|
|
945
|
-
console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
|
|
946
|
-
return;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
if (!_this2.isMountCanceled) {
|
|
950
|
-
window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
|
|
951
|
-
_this2.setState({
|
|
952
|
-
isLoading: false
|
|
953
|
-
});
|
|
954
|
-
|
|
955
|
-
if (onLoad) {
|
|
956
|
-
onLoad(element);
|
|
957
|
-
}
|
|
958
|
-
});
|
|
959
|
-
}
|
|
960
|
-
});
|
|
961
|
-
}
|
|
962
|
-
}
|
|
963
|
-
}, {
|
|
964
|
-
key: "componentWillUnmount",
|
|
965
|
-
value: function componentWillUnmount() {
|
|
966
|
-
this.isMountCanceled = true;
|
|
967
|
-
}
|
|
968
|
-
}, {
|
|
969
|
-
key: "render",
|
|
970
|
-
value: function render() {
|
|
971
|
-
var isLoading = this.state.isLoading;
|
|
972
|
-
var placeholder = this.props.placeholder;
|
|
973
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
974
|
-
ref: "shareMoment"
|
|
975
|
-
}));
|
|
976
|
-
}
|
|
977
|
-
}]);
|
|
978
|
-
|
|
979
|
-
return TwitterMomentShare;
|
|
980
|
-
}(Component);
|
|
981
|
-
|
|
982
|
-
_defineProperty(TwitterMomentShare, "propTypes", {
|
|
983
|
-
/**
|
|
984
|
-
* id of Twitter moment to show
|
|
985
|
-
*/
|
|
986
|
-
momentId: PropTypes.string.isRequired,
|
|
987
|
-
|
|
988
|
-
/**
|
|
989
|
-
* Additional options for overriding config.
|
|
990
|
-
*/
|
|
991
|
-
options: PropTypes.object,
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* Placeholder while tweet is loading
|
|
995
|
-
*/
|
|
996
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
997
|
-
|
|
998
|
-
/**
|
|
999
|
-
* Function to execute after load, return html element
|
|
1000
|
-
*/
|
|
1001
|
-
onLoad: PropTypes.func
|
|
1002
|
-
});
|
|
1003
|
-
|
|
1004
|
-
var TwitterDMButton =
|
|
1005
|
-
/*#__PURE__*/
|
|
1006
|
-
function (_Component) {
|
|
1007
|
-
_inherits(TwitterDMButton, _Component);
|
|
1008
|
-
|
|
1009
|
-
function TwitterDMButton(props) {
|
|
1010
|
-
var _this;
|
|
1011
|
-
|
|
1012
|
-
_classCallCheck(this, TwitterDMButton);
|
|
1013
|
-
|
|
1014
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
|
|
1015
|
-
_this.state = {
|
|
1016
|
-
isLoading: true
|
|
1017
|
-
};
|
|
1018
|
-
return _this;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
_createClass(TwitterDMButton, [{
|
|
1022
|
-
key: "componentDidMount",
|
|
1023
|
-
value: function componentDidMount() {
|
|
1024
|
-
var _this2 = this;
|
|
1025
|
-
|
|
1026
|
-
var onLoad = this.props.onLoad;
|
|
1027
|
-
|
|
1028
|
-
if (exenv.canUseDOM) {
|
|
1029
|
-
var script = require('scriptjs');
|
|
1030
|
-
|
|
1031
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1032
|
-
if (!window.twttr) {
|
|
1033
|
-
console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
|
|
1034
|
-
return;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
|
-
if (!_this2.isMountCanceled) {
|
|
1038
|
-
window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
1039
|
-
_this2.setState({
|
|
1040
|
-
isLoading: false
|
|
1041
|
-
});
|
|
1042
|
-
|
|
1043
|
-
if (onLoad) {
|
|
1044
|
-
onLoad(element);
|
|
1045
|
-
}
|
|
1046
|
-
});
|
|
1047
|
-
}
|
|
1048
|
-
});
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}, {
|
|
1052
|
-
key: "componentWillUnmount",
|
|
1053
|
-
value: function componentWillUnmount() {
|
|
1054
|
-
this.isMountCanceled = true;
|
|
1055
|
-
}
|
|
1056
|
-
}, {
|
|
1057
|
-
key: "render",
|
|
1058
|
-
value: function render() {
|
|
1059
|
-
var isLoading = this.state.isLoading;
|
|
1060
|
-
var placeholder = this.props.placeholder;
|
|
1061
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1062
|
-
ref: "embedContainer"
|
|
1063
|
-
}));
|
|
1064
|
-
}
|
|
1065
|
-
}]);
|
|
1066
|
-
|
|
1067
|
-
return TwitterDMButton;
|
|
1068
|
-
}(Component);
|
|
1069
|
-
|
|
1070
|
-
_defineProperty(TwitterDMButton, "propTypes", {
|
|
1071
|
-
/**
|
|
1072
|
-
* Twitter user id for DM button
|
|
1073
|
-
*/
|
|
1074
|
-
id: PropTypes.number.isRequired,
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* Additional options to be added to the button
|
|
1078
|
-
*/
|
|
1079
|
-
options: PropTypes.object,
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* Placeholder while tweet is loading
|
|
1083
|
-
*/
|
|
1084
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
1085
|
-
|
|
1086
|
-
/**
|
|
1087
|
-
* Function to execute after load, return html element
|
|
1088
|
-
*/
|
|
1089
|
-
onLoad: PropTypes.func
|
|
1090
|
-
});
|
|
1091
|
-
|
|
1092
|
-
var TwitterVideoEmbed =
|
|
1093
|
-
/*#__PURE__*/
|
|
1094
|
-
function (_Component) {
|
|
1095
|
-
_inherits(TwitterVideoEmbed, _Component);
|
|
1096
|
-
|
|
1097
|
-
function TwitterVideoEmbed(props) {
|
|
1098
|
-
var _this;
|
|
1099
|
-
|
|
1100
|
-
_classCallCheck(this, TwitterVideoEmbed);
|
|
1101
|
-
|
|
1102
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1103
|
-
_this.state = {
|
|
1104
|
-
isLoading: true
|
|
1105
|
-
};
|
|
1106
|
-
return _this;
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
_createClass(TwitterVideoEmbed, [{
|
|
1110
|
-
key: "componentDidMount",
|
|
1111
|
-
value: function componentDidMount() {
|
|
1112
|
-
var _this2 = this;
|
|
1113
|
-
|
|
1114
|
-
var onLoad = this.props.onLoad;
|
|
1115
|
-
|
|
1116
|
-
if (exenv.canUseDOM) {
|
|
1117
|
-
var script = require('scriptjs');
|
|
1118
|
-
|
|
1119
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1120
|
-
if (!window.twttr) {
|
|
1121
|
-
console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
|
|
1122
|
-
return;
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
if (!_this2.isMountCanceled) {
|
|
1126
|
-
window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
|
|
1127
|
-
_this2.setState({
|
|
1128
|
-
isLoading: false
|
|
1129
|
-
});
|
|
1130
|
-
|
|
1131
|
-
if (onLoad) {
|
|
1132
|
-
onLoad(element);
|
|
1133
|
-
}
|
|
1134
|
-
});
|
|
1135
|
-
}
|
|
1136
|
-
});
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
}, {
|
|
1140
|
-
key: "componentWillUnmount",
|
|
1141
|
-
value: function componentWillUnmount() {
|
|
1142
|
-
this.isMountCanceled = true;
|
|
1143
|
-
}
|
|
1144
|
-
}, {
|
|
1145
|
-
key: "render",
|
|
1146
|
-
value: function render() {
|
|
1147
|
-
var isLoading = this.state.isLoading;
|
|
1148
|
-
var placeholder = this.props.placeholder;
|
|
1149
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1150
|
-
ref: "embedContainer"
|
|
1151
|
-
}));
|
|
1152
|
-
}
|
|
1153
|
-
}]);
|
|
1154
|
-
|
|
1155
|
-
return TwitterVideoEmbed;
|
|
1156
|
-
}(Component);
|
|
1157
|
-
|
|
1158
|
-
_defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1159
|
-
/**
|
|
1160
|
-
* Id of video tweet.
|
|
1161
|
-
*/
|
|
1162
|
-
id: PropTypes.string.isRequired,
|
|
1163
|
-
|
|
1164
|
-
/**
|
|
1165
|
-
* Placeholder while tweet is loading
|
|
1166
|
-
*/
|
|
1167
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
1168
|
-
|
|
1169
|
-
/**
|
|
1170
|
-
* Function to execute after load, return html element
|
|
1171
|
-
*/
|
|
1172
|
-
onLoad: PropTypes.func
|
|
1173
|
-
});
|
|
1174
|
-
|
|
1175
|
-
var TwitterOnAirButton =
|
|
1176
|
-
/*#__PURE__*/
|
|
1177
|
-
function (_Component) {
|
|
1178
|
-
_inherits(TwitterOnAirButton, _Component);
|
|
1179
|
-
|
|
1180
|
-
function TwitterOnAirButton(props) {
|
|
1181
|
-
var _this;
|
|
1182
|
-
|
|
1183
|
-
_classCallCheck(this, TwitterOnAirButton);
|
|
1184
|
-
|
|
1185
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1186
|
-
_this.state = {
|
|
1187
|
-
isLoading: true
|
|
1188
|
-
};
|
|
1189
|
-
return _this;
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
_createClass(TwitterOnAirButton, [{
|
|
1193
|
-
key: "componentDidMount",
|
|
1194
|
-
value: function componentDidMount() {
|
|
1195
|
-
var _this2 = this;
|
|
1196
|
-
|
|
1197
|
-
var onLoad = this.props.onLoad;
|
|
1198
|
-
|
|
1199
|
-
if (exenv.canUseDOM) {
|
|
1200
|
-
var script = require('scriptjs');
|
|
1201
|
-
|
|
1202
|
-
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1203
|
-
if (!window.twttr) {
|
|
1204
|
-
console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
|
|
1205
|
-
return;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
if (!_this2.isMountCanceled) {
|
|
1209
|
-
window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
1210
|
-
_this2.setState({
|
|
1211
|
-
isLoading: false
|
|
1212
|
-
});
|
|
1213
|
-
|
|
1214
|
-
if (onLoad) {
|
|
1215
|
-
onLoad(element);
|
|
1216
|
-
}
|
|
1217
|
-
});
|
|
1218
|
-
}
|
|
1219
|
-
});
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
}, {
|
|
1223
|
-
key: "componentWillUnmount",
|
|
1224
|
-
value: function componentWillUnmount() {
|
|
1225
|
-
this.isMountCanceled = true;
|
|
1226
|
-
}
|
|
1227
|
-
}, {
|
|
1228
|
-
key: "render",
|
|
1229
|
-
value: function render() {
|
|
1230
|
-
var isLoading = this.state.isLoading;
|
|
1231
|
-
var placeholder = this.props.placeholder;
|
|
1232
|
-
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1233
|
-
ref: "embedContainer"
|
|
1234
|
-
}));
|
|
1235
|
-
}
|
|
1236
|
-
}]);
|
|
1237
|
-
|
|
1238
|
-
return TwitterOnAirButton;
|
|
1239
|
-
}(Component);
|
|
1240
|
-
|
|
1241
|
-
_defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1242
|
-
/**
|
|
1243
|
-
* Username for which you require periscope on air button
|
|
1244
|
-
*/
|
|
1245
|
-
username: PropTypes.string.isRequired,
|
|
1246
|
-
|
|
1247
|
-
/**
|
|
1248
|
-
* Additional options for overriding config.
|
|
1249
|
-
*/
|
|
1250
|
-
options: PropTypes.object,
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* Placeholder while tweet is loading
|
|
1254
|
-
*/
|
|
1255
|
-
placeholder: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* Function to execute after load, return html element
|
|
1259
|
-
*/
|
|
1260
|
-
onLoad: PropTypes.func
|
|
1261
|
-
});
|
|
1262
66
|
|
|
1263
67
|
var ImageSlider = function ImageSlider(props) {
|
|
1264
68
|
var innerSlider = useRef(null);
|
|
@@ -1364,61 +168,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
1364
168
|
}, []);
|
|
1365
169
|
|
|
1366
170
|
var variant = 'black';
|
|
1367
|
-
return
|
|
1368
|
-
|
|
171
|
+
return React.createElement(
|
|
172
|
+
React.Fragment,
|
|
1369
173
|
null,
|
|
1370
|
-
|
|
174
|
+
React.createElement(
|
|
1371
175
|
'div',
|
|
1372
176
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
1373
|
-
|
|
177
|
+
React.createElement(
|
|
1374
178
|
'div',
|
|
1375
179
|
{ className: 'row' },
|
|
1376
|
-
showScroller &&
|
|
180
|
+
showScroller && React.createElement(
|
|
1377
181
|
'div',
|
|
1378
182
|
{ onClick: function onClick(e) {
|
|
1379
183
|
return scrollSlider(e, 'prev');
|
|
1380
184
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
1381
|
-
|
|
185
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
1382
186
|
),
|
|
1383
|
-
showScroller &&
|
|
187
|
+
showScroller && React.createElement(
|
|
1384
188
|
'div',
|
|
1385
189
|
{ onClick: function onClick(e) {
|
|
1386
190
|
return scrollSlider(e, 'next');
|
|
1387
191
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
1388
|
-
|
|
192
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
1389
193
|
),
|
|
1390
|
-
|
|
194
|
+
React.createElement(
|
|
1391
195
|
'div',
|
|
1392
196
|
{ ref: innerSlider, className: 'row__inner' },
|
|
1393
197
|
props.data.slides.map(function (img, index) {
|
|
1394
198
|
var thumbnail = urlFor(img.slideshowImage).width(250);
|
|
1395
199
|
if (!img.slideshowImage.link) {
|
|
1396
|
-
return
|
|
200
|
+
return React.createElement(
|
|
1397
201
|
'div',
|
|
1398
202
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
1399
|
-
|
|
203
|
+
React.createElement(
|
|
1400
204
|
'div',
|
|
1401
205
|
{ className: 'tile__media' },
|
|
1402
|
-
|
|
206
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1403
207
|
),
|
|
1404
|
-
|
|
208
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1405
209
|
);
|
|
1406
210
|
} else {
|
|
1407
|
-
return
|
|
211
|
+
return React.createElement(
|
|
1408
212
|
'a',
|
|
1409
213
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
1410
|
-
|
|
214
|
+
React.createElement(
|
|
1411
215
|
'div',
|
|
1412
216
|
{ className: 'tile__media' },
|
|
1413
|
-
|
|
217
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1414
218
|
),
|
|
1415
|
-
|
|
219
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1416
220
|
);
|
|
1417
221
|
}
|
|
1418
222
|
})
|
|
1419
223
|
)
|
|
1420
224
|
),
|
|
1421
|
-
|
|
225
|
+
React.createElement(
|
|
1422
226
|
'style',
|
|
1423
227
|
{ jsx: 'true' },
|
|
1424
228
|
'\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 '
|
|
@@ -1441,95 +245,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
1441
245
|
pageview = _ref.pageview,
|
|
1442
246
|
page = _ref.page;
|
|
1443
247
|
|
|
1444
|
-
return
|
|
1445
|
-
|
|
248
|
+
return React.createElement(
|
|
249
|
+
React.Fragment,
|
|
1446
250
|
null,
|
|
1447
|
-
|
|
1448
|
-
|
|
251
|
+
React.createElement(Breadcrumbs, null),
|
|
252
|
+
React.createElement(
|
|
1449
253
|
'div',
|
|
1450
254
|
{ className: 'partners-page' },
|
|
1451
|
-
|
|
255
|
+
React.createElement(
|
|
1452
256
|
'div',
|
|
1453
257
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
1454
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ?
|
|
258
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React.createElement(
|
|
1455
259
|
'a',
|
|
1456
260
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
1457
|
-
|
|
261
|
+
React.createElement(
|
|
1458
262
|
'figure',
|
|
1459
263
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
1460
|
-
|
|
264
|
+
React.createElement('img', {
|
|
1461
265
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1462
266
|
style: { maxWidth: '100%' },
|
|
1463
267
|
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
1464
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
268
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
1465
269
|
'figcaption',
|
|
1466
270
|
null,
|
|
1467
271
|
partnerDetails.thumbnail.caption
|
|
1468
272
|
)
|
|
1469
273
|
)
|
|
1470
|
-
) :
|
|
274
|
+
) : React.createElement(
|
|
1471
275
|
'figure',
|
|
1472
276
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
1473
|
-
|
|
277
|
+
React.createElement('img', {
|
|
1474
278
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1475
279
|
style: { maxWidth: '100%' },
|
|
1476
280
|
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
1477
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
281
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
1478
282
|
'figcaption',
|
|
1479
283
|
null,
|
|
1480
284
|
partnerDetails.thumbnail.caption
|
|
1481
285
|
)
|
|
1482
286
|
),
|
|
1483
|
-
|
|
287
|
+
React.createElement(
|
|
1484
288
|
'style',
|
|
1485
289
|
{ jsx: 'true' },
|
|
1486
290
|
'\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 '
|
|
1487
291
|
),
|
|
1488
|
-
partnerDetails.description &&
|
|
292
|
+
partnerDetails.description && React.createElement(
|
|
1489
293
|
'div',
|
|
1490
294
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
1491
|
-
|
|
295
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
1492
296
|
)
|
|
1493
297
|
),
|
|
1494
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides &&
|
|
298
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React.createElement(
|
|
1495
299
|
'div',
|
|
1496
300
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
1497
|
-
partnerDetails.affiliates[0].title &&
|
|
301
|
+
partnerDetails.affiliates[0].title && React.createElement(
|
|
1498
302
|
'h2',
|
|
1499
303
|
{ className: 'bb-gold' },
|
|
1500
304
|
partnerDetails.affiliates[0].title
|
|
1501
305
|
),
|
|
1502
|
-
|
|
306
|
+
React.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
1503
307
|
),
|
|
1504
|
-
features.length > 0 &&
|
|
308
|
+
features.length > 0 && React.createElement(
|
|
1505
309
|
'div',
|
|
1506
310
|
{ className: ' mb-5' },
|
|
1507
|
-
|
|
311
|
+
React.createElement(Feature, { dataset: features, client: client })
|
|
1508
312
|
),
|
|
1509
|
-
partnerDetails.twitter &&
|
|
1510
|
-
|
|
313
|
+
partnerDetails.twitter && React.createElement(
|
|
314
|
+
React.Fragment,
|
|
1511
315
|
null,
|
|
1512
|
-
|
|
316
|
+
React.createElement(
|
|
1513
317
|
'div',
|
|
1514
318
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
1515
|
-
|
|
319
|
+
React.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
1516
320
|
)
|
|
1517
321
|
),
|
|
1518
|
-
|
|
322
|
+
React.createElement(
|
|
1519
323
|
'div',
|
|
1520
324
|
null,
|
|
1521
|
-
posts && posts.length > 0 &&
|
|
1522
|
-
|
|
325
|
+
posts && posts.length > 0 && React.createElement(
|
|
326
|
+
React.Fragment,
|
|
1523
327
|
null,
|
|
1524
|
-
|
|
328
|
+
React.createElement(
|
|
1525
329
|
'h2',
|
|
1526
330
|
{ className: 'bb-gold mb-2' },
|
|
1527
331
|
'Latest from ',
|
|
1528
332
|
partnerDetails.name
|
|
1529
333
|
),
|
|
1530
|
-
|
|
334
|
+
React.createElement('hr', null)
|
|
1531
335
|
),
|
|
1532
|
-
|
|
336
|
+
React.createElement(QueueDeckExpanded, {
|
|
1533
337
|
client: client,
|
|
1534
338
|
mapping: Settings.mapping,
|
|
1535
339
|
dataRecord: posts,
|