@mjhls/mjh-framework 1.0.859-segment-targeting-v3 → 1.0.860-beta.0
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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +16 -19
- package/dist/cjs/AD300x250x600.js +16 -19
- package/dist/cjs/AD728x90.js +17 -20
- package/dist/cjs/ADFloatingFooter.js +18 -21
- package/dist/cjs/ADFooter.js +11 -14
- package/dist/cjs/ADGutter.js +18 -21
- package/dist/cjs/{ADInfeed-7cd00f5d.js → ADInfeed-7c09edba.js} +10 -12
- package/dist/cjs/ADSkyscraper.js +18 -21
- package/dist/cjs/ADSponsoredResources.js +18 -21
- package/dist/cjs/ADWebcast.js +18 -21
- package/dist/cjs/ADWelcome.js +22 -25
- package/dist/cjs/{ADlgInfeed-0c68c2d8.js → ADlgInfeed-2e7effc7.js} +7 -8
- package/dist/cjs/AccordionPanel.js +25 -29
- package/dist/cjs/AdSlot.js +20 -23
- package/dist/cjs/AdSlotsProvider.js +907 -18
- package/dist/cjs/AlgoliaSearch.js +849 -959
- package/dist/cjs/AlphabeticList.js +21 -24
- package/dist/cjs/ArticleCarousel.js +15 -18
- package/dist/cjs/ArticleProgramLandingPage.js +34 -37
- package/dist/cjs/ArticleSeriesLandingPage.js +30 -33
- package/dist/cjs/ArticleSeriesListing.js +46 -49
- package/dist/cjs/Auth.js +1203 -245
- package/dist/cjs/AuthWrapper.js +41 -124
- package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-02e827ae.js} +13 -14
- package/dist/cjs/Beam.js +5 -7
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +24 -28
- package/dist/cjs/CMEDeck.js +71 -73
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +25 -30
- package/dist/cjs/Column3.js +41 -46
- package/dist/cjs/ConferenceArticleCard.js +20 -18
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +83 -89
- package/dist/cjs/DeckQueue.js +77 -82
- package/dist/cjs/{Dfp-391fd124.js → Dfp-14d2455c.js} +25 -28
- package/dist/cjs/EventsDeck.js +127 -136
- package/dist/cjs/ExternalResources.js +58 -61
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +37 -40
- package/dist/cjs/GridContent.js +214 -221
- package/dist/cjs/GridHero.js +38 -41
- package/dist/cjs/GroupDeck.js +52 -55
- package/dist/cjs/HamMagazine.js +121 -128
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -10
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalArticleListing.js +48 -51
- package/dist/cjs/HorizontalHero.js +26 -24
- package/dist/cjs/IssueContentDeck.js +68 -75
- package/dist/cjs/IssueDeck.js +66 -73
- package/dist/cjs/IssueLanding.js +40 -43
- package/dist/cjs/LeftNav.js +27 -31
- package/dist/cjs/MasterDeck.js +60 -63
- package/dist/cjs/MediaSeriesLanding.js +792 -741
- package/dist/cjs/NavDvm.js +68 -75
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +121 -128
- package/dist/cjs/NavNative.js +113 -123
- package/dist/cjs/OncliveHero.js +20 -17
- package/dist/cjs/OncliveLargeHero.js +66 -69
- package/dist/cjs/PageFilter.js +11 -14
- package/dist/cjs/PartnerDetailListing.js +1179 -84
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +16 -20
- package/dist/cjs/PubSection.js +27 -30
- package/dist/cjs/PubToc.js +12 -15
- package/dist/cjs/PublicationDeck.js +62 -64
- package/dist/cjs/PublicationLanding.js +118 -124
- package/dist/cjs/QueueDeckExpanded.js +293 -295
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +25 -23
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +15 -21
- package/dist/cjs/Segment.js +25 -15
- package/dist/cjs/SeriesListingDeck.js +31 -33
- package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-94af9fcb.js} +34 -35
- package/dist/cjs/SideFooter.js +28 -31
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-650f6101.js} +35 -39
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +58 -61
- package/dist/cjs/TaxonomyDescription.js +33 -36
- package/dist/cjs/TemplateNormal.js +43 -46
- package/dist/cjs/ThumbnailCard.js +20 -19
- package/dist/cjs/Ustream.js +26 -29
- package/dist/cjs/VerticalHero.js +18 -16
- package/dist/cjs/VideoProgramLandingPage.js +51 -57
- package/dist/cjs/VideoSeriesCard.js +26 -27
- package/dist/cjs/VideoSeriesFilter.js +14 -16
- package/dist/cjs/VideoSeriesLandingPage.js +35 -38
- package/dist/cjs/VideoSeriesListing.js +63 -66
- package/dist/cjs/View.js +216 -228
- package/dist/cjs/YahooHero.js +33 -36
- package/dist/cjs/YoutubeGroup.js +54 -57
- package/dist/cjs/{_is-array-754e012d.js → _is-array-aa52fa1e.js} +9 -9
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-05795553.js} +6 -7
- package/dist/cjs/_object-sap-171b9ea5.js +16 -0
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-9bac8737.js} +4 -4
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-df19209d.js} +65 -67
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/{_to-object-329a650b.js → core.get-iterator-method-f3c44602.js} +239 -3
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-21887c62.js} +3 -3
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{extends-0a918631.js → extends-eed4f016.js} +8 -8
- package/dist/cjs/faundadb.js +5 -7
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +135 -73
- package/dist/cjs/getRootDocGroup.js +4 -6
- package/dist/cjs/getSerializers.js +23 -25
- package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-8874437b.js} +3 -3
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-6367b7bf.js → index-3294d3bc.js} +17 -16
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-2cf30c83.js → index-98e01cb9.js} +8 -9
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-efd6512d.js → index-cdcc0b5e.js} +963 -968
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3ffa049c.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +72 -79
- package/dist/cjs/{inherits-0c7830c5.js → inherits-12d44cca.js} +13 -14
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{keys-a586b7a0.js → keys-d207942e.js} +4 -4
- package/dist/cjs/{lodash-7fd85bcf.js → lodash-fc2922d0.js} +22 -71
- package/dist/cjs/{main-7b5e57b0.js → main-02daeefe.js} +54 -90
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-f7f48f71.js} +11 -12
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-f6d4eaa8.js} +7 -9
- package/dist/cjs/{stringify-7c5aff47.js → stringify-bbc68047.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-c9b8a0d0.js} +8 -10
- package/dist/cjs/{typeof-9d7f610f.js → typeof-5f52cf64.js} +73 -74
- package/dist/cjs/urlFor.js +21 -4
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-e34bf324.js} +8 -9
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +14 -16
- package/dist/esm/AD300x250x600.js +14 -16
- package/dist/esm/AD728x90.js +15 -17
- package/dist/esm/ADFloatingFooter.js +16 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +16 -18
- package/dist/esm/{ADInfeed-77da0e2a.js → ADInfeed-bfd129d9.js} +8 -8
- package/dist/esm/ADSkyscraper.js +16 -18
- package/dist/esm/ADSponsoredResources.js +16 -18
- package/dist/esm/ADWebcast.js +16 -18
- package/dist/esm/ADWelcome.js +20 -22
- package/dist/esm/{ADlgInfeed-d3e3000f.js → ADlgInfeed-0489335b.js} +5 -5
- package/dist/esm/AccordionPanel.js +20 -22
- package/dist/esm/AdSlot.js +12 -14
- package/dist/esm/AdSlotsProvider.js +906 -16
- package/dist/esm/AlgoliaSearch.js +245 -354
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +13 -15
- package/dist/esm/ArticleProgramLandingPage.js +32 -34
- package/dist/esm/ArticleSeriesLandingPage.js +28 -30
- package/dist/esm/ArticleSeriesListing.js +43 -45
- package/dist/esm/Auth.js +1187 -225
- package/dist/esm/AuthWrapper.js +39 -121
- package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-e6f95c2f.js} +11 -11
- package/dist/esm/Beam.js +5 -7
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -16
- package/dist/esm/CMEDeck.js +68 -70
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +23 -25
- package/dist/esm/Column3.js +39 -41
- package/dist/esm/ConferenceArticleCard.js +18 -15
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +79 -81
- package/dist/esm/DeckQueue.js +73 -74
- package/dist/esm/{Dfp-2f9796e1.js → Dfp-f867d061.js} +13 -15
- package/dist/esm/EventsDeck.js +102 -104
- package/dist/esm/ExternalResources.js +53 -55
- package/dist/esm/Feature.js +20 -17
- package/dist/esm/ForbesHero.js +31 -33
- package/dist/esm/GridContent.js +183 -185
- package/dist/esm/GridHero.js +32 -34
- package/dist/esm/GroupDeck.js +40 -42
- package/dist/esm/HamMagazine.js +96 -98
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +46 -48
- package/dist/esm/HorizontalHero.js +24 -21
- package/dist/esm/IssueContentDeck.js +56 -58
- package/dist/esm/IssueDeck.js +60 -62
- package/dist/esm/IssueLanding.js +38 -40
- package/dist/esm/LeftNav.js +23 -25
- package/dist/esm/MasterDeck.js +57 -59
- package/dist/esm/MediaSeriesLanding.js +518 -464
- package/dist/esm/NavDvm.js +51 -53
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +98 -100
- package/dist/esm/NavNative.js +88 -90
- package/dist/esm/OncliveHero.js +18 -14
- package/dist/esm/OncliveLargeHero.js +55 -57
- package/dist/esm/PageFilter.js +9 -11
- package/dist/esm/PartnerDetailListing.js +1178 -83
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +25 -27
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +54 -51
- package/dist/esm/PublicationLanding.js +77 -79
- package/dist/esm/QueueDeckExpanded.js +259 -261
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +20 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +10 -12
- package/dist/esm/Segment.js +25 -15
- package/dist/esm/SeriesListingDeck.js +26 -28
- package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-0371fc11.js} +25 -25
- package/dist/esm/SideFooter.js +25 -27
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-d7dec0c2.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -52
- package/dist/esm/TaxonomyDescription.js +28 -30
- package/dist/esm/TemplateNormal.js +40 -42
- package/dist/esm/ThumbnailCard.js +13 -10
- package/dist/esm/Ustream.js +24 -26
- package/dist/esm/VerticalHero.js +16 -13
- package/dist/esm/VideoProgramLandingPage.js +44 -46
- package/dist/esm/VideoSeriesCard.js +21 -21
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +28 -30
- package/dist/esm/VideoSeriesListing.js +60 -62
- package/dist/esm/View.js +199 -207
- package/dist/esm/YahooHero.js +28 -30
- package/dist/esm/YoutubeGroup.js +39 -41
- package/dist/esm/{_is-array-58e95429.js → _is-array-4df618a6.js} +1 -1
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-130ee549.js} +1 -2
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-c54dd835.js} +1 -1
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7bf8bc4d.js} +3 -5
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{_to-object-a4107da3.js → core.get-iterator-method-86d4db69.js} +230 -1
- package/dist/esm/{define-property-8af5f002.js → define-property-6d26cb48.js} +1 -1
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{extends-6f2fcc99.js → extends-5b1796d4.js} +1 -1
- package/dist/esm/faundadb.js +5 -7
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +130 -68
- package/dist/esm/getRootDocGroup.js +4 -6
- package/dist/esm/getSerializers.js +23 -25
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-277c801e.js} +2 -2
- package/dist/esm/getTargeting.js +5 -7
- package/dist/esm/{index-f7fb1e25.js → index-41a678ea.js} +3 -3
- package/dist/esm/{index-6c12bdd5.js → index-5f7e79e7.js} +4 -4
- package/dist/esm/{index-51a80699.js → index-73819142.js} +19 -20
- package/dist/esm/{index-c00b0bbb.js → index-ef6d5dcf.js} +17 -16
- package/dist/esm/{index-23415831.js → index-fe008ffe.js} +914 -909
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8ee5ff72.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +64 -68
- package/dist/esm/{inherits-75d45541.js → inherits-2409637d.js} +4 -5
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{keys-8eda7a5c.js → keys-69989821.js} +2 -2
- package/dist/esm/{lodash-ec8c6b48.js → lodash-17fdfebb.js} +22 -71
- package/dist/esm/{main-747e7d25.js → main-e4a934b2.js} +52 -87
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-67a08c9c.js} +2 -4
- package/dist/esm/{stringify-4330ccdc.js → stringify-70b72959.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-32282905.js} +2 -4
- package/dist/esm/{typeof-af9c50d8.js → typeof-c05a82ba.js} +4 -5
- package/dist/esm/urlFor.js +19 -2
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-f8f967cd.js} +1 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/_object-sap-5e74ba08.js +0 -16
- package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
- package/dist/cjs/es6.string.iterator-cc0bbaa4.js +0 -210
- package/dist/esm/core.get-iterator-method-e1de7503.js +0 -36
- package/dist/esm/es6.string.iterator-c990c18c.js +0 -201
|
@@ -1,53 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
require('./
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
5
|
+
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
6
|
+
require('./core.get-iterator-method-f3c44602.js');
|
|
6
7
|
require('./_library-dd23b178.js');
|
|
7
|
-
require('./_iter-detect-
|
|
8
|
-
require('./toConsumableArray-
|
|
9
|
-
require('./core.get-iterator-method-f62321d4.js');
|
|
8
|
+
require('./_iter-detect-05795553.js');
|
|
9
|
+
require('./toConsumableArray-c9b8a0d0.js');
|
|
10
10
|
require('./_object-pie-68c5bcbc.js');
|
|
11
|
-
var _extends = require('./extends-
|
|
12
|
-
require('./_object-sap-
|
|
13
|
-
require('./inherits-
|
|
14
|
-
require('./define-property-
|
|
15
|
-
require('./web.dom.iterable-
|
|
16
|
-
require('./typeof-
|
|
17
|
-
require('./_is-array-
|
|
11
|
+
var _extends$1 = require('./extends-eed4f016.js');
|
|
12
|
+
require('./_object-sap-171b9ea5.js');
|
|
13
|
+
require('./inherits-12d44cca.js');
|
|
14
|
+
require('./define-property-21887c62.js');
|
|
15
|
+
require('./web.dom.iterable-e34bf324.js');
|
|
16
|
+
require('./typeof-5f52cf64.js');
|
|
17
|
+
require('./_is-array-aa52fa1e.js');
|
|
18
18
|
var React = require('react');
|
|
19
|
+
var React__default = _interopDefault(React);
|
|
19
20
|
require('./events-1b438fe7.js');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('prop-types');
|
|
21
|
+
require('./index-98e01cb9.js');
|
|
22
|
+
var PropTypes = require('prop-types');
|
|
23
|
+
var PropTypes__default = _interopDefault(PropTypes);
|
|
22
24
|
require('react-bootstrap/Row');
|
|
23
25
|
require('react-bootstrap/Col');
|
|
24
26
|
require('react-bootstrap/Card');
|
|
25
|
-
var moment = require('./moment-
|
|
27
|
+
var moment = require('./moment-575fe24c.js');
|
|
26
28
|
require('next/router');
|
|
27
29
|
require('./isSymbol-04666465.js');
|
|
28
30
|
require('./debounce-529c8d06.js');
|
|
29
31
|
require('./toNumber-36d1e7e5.js');
|
|
30
|
-
require('./index.es-
|
|
32
|
+
require('./index.es-9110add6.js');
|
|
31
33
|
require('react-dom');
|
|
32
|
-
require('./visibility-sensor-
|
|
33
|
-
require('./
|
|
34
|
+
require('./visibility-sensor-ad5e3116.js');
|
|
35
|
+
var slicedToArray = require('./slicedToArray-f6d4eaa8.js');
|
|
36
|
+
require('./index-be0c82be.js');
|
|
34
37
|
var urlFor = require('./urlFor.js');
|
|
35
|
-
require('./index-
|
|
36
|
-
require('./main-
|
|
38
|
+
require('./index-96b3db50.js');
|
|
39
|
+
require('./main-02daeefe.js');
|
|
37
40
|
require('./entities-310b46ee.js');
|
|
38
|
-
|
|
39
|
-
require('./
|
|
40
|
-
var asyncToGenerator = require('./asyncToGenerator-140e5f89.js');
|
|
41
|
+
require('./stringify-bbc68047.js');
|
|
42
|
+
var asyncToGenerator = require('./asyncToGenerator-df19209d.js');
|
|
41
43
|
require('./Segment.js');
|
|
42
44
|
require('./Beam.js');
|
|
43
45
|
require('./AdSlot.js');
|
|
44
|
-
require('./ADInfeed-
|
|
45
|
-
require('./lodash-
|
|
46
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADInfeed-7c09edba.js');
|
|
47
|
+
require('./lodash-fc2922d0.js');
|
|
48
|
+
require('./ADlgInfeed-2e7effc7.js');
|
|
47
49
|
require('./getContentCategory-f38a4c00.js');
|
|
48
|
-
require('./AuthorComponent-
|
|
50
|
+
require('./AuthorComponent-02e827ae.js');
|
|
49
51
|
require('react-bootstrap/Button');
|
|
50
|
-
var BlockContent = require('./BlockContent-
|
|
52
|
+
var BlockContent = require('./BlockContent-091a991f.js');
|
|
51
53
|
require('./index-187c967e.js');
|
|
52
54
|
var smoothscroll = require('./smoothscroll-5054361f.js');
|
|
53
55
|
require('./GroupDeck.js');
|
|
@@ -55,28 +57,1121 @@ require('react-bootstrap');
|
|
|
55
57
|
require('./timeDifferenceCalc.js');
|
|
56
58
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
57
59
|
require('./iconBase-68959171.js');
|
|
58
|
-
require('./index.esm-
|
|
59
|
-
var getSerializers = require('./index-
|
|
60
|
+
require('./index.esm-90433435.js');
|
|
61
|
+
var getSerializers = require('./index-cdcc0b5e.js');
|
|
60
62
|
require('./util-f2c1b65b.js');
|
|
61
|
-
require('./brightcove-react-player-loader.es-
|
|
63
|
+
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
62
64
|
require('next/head');
|
|
63
65
|
require('react-share');
|
|
64
66
|
require('./SocialShare.js');
|
|
65
|
-
require('./_object-to-array-
|
|
67
|
+
require('./_object-to-array-9bac8737.js');
|
|
66
68
|
require('react-bootstrap/Pagination');
|
|
67
69
|
require('react-bootstrap/Figure');
|
|
68
70
|
require('react-bootstrap/OverlayTrigger');
|
|
69
71
|
require('react-bootstrap/Tooltip');
|
|
70
72
|
require('react-bootstrap/Popover');
|
|
73
|
+
var inherits$1$1 = require('./inherits-8d29278d.js');
|
|
71
74
|
require('react-bootstrap/Carousel');
|
|
72
75
|
var Feature = require('./Feature.js');
|
|
73
76
|
require('react-bootstrap/Breadcrumb');
|
|
74
77
|
var Breadcrumbs = require('./Breadcrumbs.js');
|
|
75
|
-
var reactTwitterEmbed = require('react-twitter-embed');
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
var isRequiredIf_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
80
|
+
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.
|
|
81
|
+
}};exports.default=isRequiredIf;
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
var isRequiredIf = _commonjsHelpers.unwrapExports(isRequiredIf_1);
|
|
87
|
+
|
|
88
|
+
var exenv = _commonjsHelpers.createCommonjsModule(function (module) {
|
|
89
|
+
/*!
|
|
90
|
+
Copyright (c) 2015 Jed Watson.
|
|
91
|
+
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
92
|
+
All rights reserved.
|
|
93
|
+
*/
|
|
94
|
+
/* global define */
|
|
95
|
+
|
|
96
|
+
(function () {
|
|
97
|
+
|
|
98
|
+
var canUseDOM = !!(
|
|
99
|
+
typeof window !== 'undefined' &&
|
|
100
|
+
window.document &&
|
|
101
|
+
window.document.createElement
|
|
102
|
+
);
|
|
103
|
+
|
|
104
|
+
var ExecutionEnvironment = {
|
|
105
|
+
|
|
106
|
+
canUseDOM: canUseDOM,
|
|
107
|
+
|
|
108
|
+
canUseWorkers: typeof Worker !== 'undefined',
|
|
109
|
+
|
|
110
|
+
canUseEventListeners:
|
|
111
|
+
canUseDOM && !!(window.addEventListener || window.attachEvent),
|
|
112
|
+
|
|
113
|
+
canUseViewport: canUseDOM && !!window.screen
|
|
114
|
+
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
if ( module.exports) {
|
|
118
|
+
module.exports = ExecutionEnvironment;
|
|
119
|
+
} else {
|
|
120
|
+
window.ExecutionEnvironment = ExecutionEnvironment;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}());
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
|
|
127
|
+
|
|
128
|
+
var TwitterTimelineEmbed =
|
|
129
|
+
/*#__PURE__*/
|
|
130
|
+
function (_Component) {
|
|
131
|
+
inherits$1$1._inherits(TwitterTimelineEmbed, _Component);
|
|
132
|
+
|
|
133
|
+
function TwitterTimelineEmbed(props) {
|
|
134
|
+
var _this;
|
|
135
|
+
|
|
136
|
+
inherits$1$1._classCallCheck(this, TwitterTimelineEmbed);
|
|
137
|
+
|
|
138
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
139
|
+
_this.state = {
|
|
140
|
+
isLoading: true
|
|
141
|
+
};
|
|
142
|
+
return _this;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
inherits$1$1._createClass(TwitterTimelineEmbed, [{
|
|
146
|
+
key: "buildChromeOptions",
|
|
147
|
+
value: function buildChromeOptions(options) {
|
|
148
|
+
options.chrome = '';
|
|
149
|
+
|
|
150
|
+
if (this.props.noHeader) {
|
|
151
|
+
options.chrome = options.chrome + ' noheader';
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (this.props.noFooter) {
|
|
155
|
+
options.chrome = options.chrome + ' nofooter';
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (this.props.noBorders) {
|
|
159
|
+
options.chrome = options.chrome + ' noborders';
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (this.props.noScrollbar) {
|
|
163
|
+
options.chrome = options.chrome + ' noscrollbar';
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (this.props.transparent) {
|
|
167
|
+
options.chrome = options.chrome + ' transparent';
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return options;
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
key: "buildOptions",
|
|
174
|
+
value: function buildOptions() {
|
|
175
|
+
var options = Object.assign({}, this.props.options);
|
|
176
|
+
|
|
177
|
+
if (this.props.autoHeight) {
|
|
178
|
+
options.height = this.refs.embedContainer.parentNode.offsetHeight;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
options = Object.assign({}, options, {
|
|
182
|
+
theme: this.props.theme,
|
|
183
|
+
linkColor: this.props.linkColor,
|
|
184
|
+
borderColor: this.props.borderColor,
|
|
185
|
+
lang: this.props.lang
|
|
186
|
+
});
|
|
187
|
+
return options;
|
|
188
|
+
}
|
|
189
|
+
}, {
|
|
190
|
+
key: "renderWidget",
|
|
191
|
+
value: function renderWidget(options) {
|
|
192
|
+
var _this2 = this;
|
|
193
|
+
|
|
194
|
+
var onLoad = this.props.onLoad;
|
|
195
|
+
|
|
196
|
+
if (!this.isMountCanceled) {
|
|
197
|
+
window.twttr.widgets.createTimeline({
|
|
198
|
+
sourceType: this.props.sourceType,
|
|
199
|
+
screenName: this.props.screenName,
|
|
200
|
+
userId: this.props.userId,
|
|
201
|
+
ownerScreenName: this.props.ownerScreenName,
|
|
202
|
+
slug: this.props.slug,
|
|
203
|
+
id: this.props.id || this.props.widgetId,
|
|
204
|
+
url: this.props.url
|
|
205
|
+
}, this.refs.embedContainer, options).then(function (element) {
|
|
206
|
+
_this2.setState({
|
|
207
|
+
isLoading: false
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
if (onLoad) {
|
|
211
|
+
onLoad(element);
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}, {
|
|
217
|
+
key: "componentDidMount",
|
|
218
|
+
value: function componentDidMount() {
|
|
219
|
+
var _this3 = this;
|
|
220
|
+
|
|
221
|
+
if (exenv.canUseDOM) {
|
|
222
|
+
var script = require('scriptjs');
|
|
223
|
+
|
|
224
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
225
|
+
if (!window.twttr) {
|
|
226
|
+
console.error('Failure to load window.twttr in TwitterTimelineEmbed, aborting load.');
|
|
227
|
+
return;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
var options = _this3.buildOptions();
|
|
231
|
+
/** Append chrome options */
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
options = _this3.buildChromeOptions(options);
|
|
235
|
+
|
|
236
|
+
_this3.renderWidget(options);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}, {
|
|
241
|
+
key: "componentWillUnmount",
|
|
242
|
+
value: function componentWillUnmount() {
|
|
243
|
+
this.isMountCanceled = true;
|
|
244
|
+
}
|
|
245
|
+
}, {
|
|
246
|
+
key: "render",
|
|
247
|
+
value: function render() {
|
|
248
|
+
var isLoading = this.state.isLoading;
|
|
249
|
+
var placeholder = this.props.placeholder;
|
|
250
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
251
|
+
ref: "embedContainer"
|
|
252
|
+
}));
|
|
253
|
+
}
|
|
254
|
+
}]);
|
|
255
|
+
|
|
256
|
+
return TwitterTimelineEmbed;
|
|
257
|
+
}(React.Component);
|
|
258
|
+
|
|
259
|
+
inherits$1$1._defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
260
|
+
/**
|
|
261
|
+
* This can be either of profile, likes, list, collection, URL, widget
|
|
262
|
+
*/
|
|
263
|
+
sourceType: PropTypes__default.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* username of twitter handle as String
|
|
267
|
+
*/
|
|
268
|
+
screenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
269
|
+
return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
270
|
+
}),
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* UserId of twitter handle as number
|
|
274
|
+
*/
|
|
275
|
+
userId: isRequiredIf(PropTypes__default.number, function (props) {
|
|
276
|
+
return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
277
|
+
}),
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* To show list, used along with slug
|
|
281
|
+
*/
|
|
282
|
+
ownerScreenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
283
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
284
|
+
}),
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* To show list, used along with ownerScreenName
|
|
288
|
+
*/
|
|
289
|
+
slug: isRequiredIf(PropTypes__default.string, function (props) {
|
|
290
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
291
|
+
}),
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* To show list, unique list id
|
|
295
|
+
* Also used with collections, in that case its valid collection id
|
|
296
|
+
*/
|
|
297
|
+
id: isRequiredIf(PropTypes__default.oneOfType([PropTypes__default.number, PropTypes__default.string]), function (props) {
|
|
298
|
+
return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
|
|
299
|
+
}),
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* To show twitter content with url.
|
|
303
|
+
* Supported content includes profiles, likes, lists, and collections.
|
|
304
|
+
*/
|
|
305
|
+
url: isRequiredIf(PropTypes__default.string, function (props) {
|
|
306
|
+
return props.sourceType === 'url';
|
|
307
|
+
}),
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* To show custom widget
|
|
311
|
+
*/
|
|
312
|
+
widgetId: isRequiredIf(PropTypes__default.string, function (props) {
|
|
313
|
+
return props.sourceType === 'widget';
|
|
314
|
+
}),
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Additional options to pass to twitter widget plugin
|
|
318
|
+
*/
|
|
319
|
+
options: PropTypes__default.object,
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Automatically fit into parent container height
|
|
323
|
+
*/
|
|
324
|
+
autoHeight: PropTypes__default.bool,
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* With dark or light theme
|
|
328
|
+
*/
|
|
329
|
+
theme: PropTypes__default.oneOf(['dark', 'light']),
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* With custom link colors. Note: Only Hex colors are supported.
|
|
333
|
+
*/
|
|
334
|
+
linkColor: PropTypes__default.string,
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* With custom border colors. Note: Only Hex colors are supported.
|
|
338
|
+
*/
|
|
339
|
+
borderColor: PropTypes__default.string,
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Hide the header from timeline
|
|
343
|
+
*/
|
|
344
|
+
noHeader: PropTypes__default.bool,
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Hide the footer from timeline
|
|
348
|
+
*/
|
|
349
|
+
noFooter: PropTypes__default.bool,
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Hide the border from timeline
|
|
353
|
+
*/
|
|
354
|
+
noBorders: PropTypes__default.bool,
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Hide the scrollbars
|
|
358
|
+
*/
|
|
359
|
+
noScrollbar: PropTypes__default.bool,
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Enable Transparancy
|
|
363
|
+
*/
|
|
364
|
+
transparent: PropTypes__default.bool,
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
|
|
368
|
+
*/
|
|
369
|
+
lang: PropTypes__default.string,
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Placeholder while tweet is loading
|
|
373
|
+
*/
|
|
374
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Function to execute after load, return html element
|
|
378
|
+
*/
|
|
379
|
+
onLoad: PropTypes__default.func
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
var TwitterShareButton =
|
|
383
|
+
/*#__PURE__*/
|
|
384
|
+
function (_Component) {
|
|
385
|
+
inherits$1$1._inherits(TwitterShareButton, _Component);
|
|
386
|
+
|
|
387
|
+
function TwitterShareButton(props) {
|
|
388
|
+
var _this;
|
|
389
|
+
|
|
390
|
+
inherits$1$1._classCallCheck(this, TwitterShareButton);
|
|
391
|
+
|
|
392
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterShareButton).call(this, props));
|
|
393
|
+
_this.state = {
|
|
394
|
+
isLoading: true
|
|
395
|
+
};
|
|
396
|
+
return _this;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
inherits$1$1._createClass(TwitterShareButton, [{
|
|
400
|
+
key: "componentDidMount",
|
|
401
|
+
value: function componentDidMount() {
|
|
402
|
+
var _this2 = this;
|
|
403
|
+
|
|
404
|
+
var onLoad = this.props.onLoad;
|
|
405
|
+
|
|
406
|
+
if (exenv.canUseDOM) {
|
|
407
|
+
var script = require('scriptjs');
|
|
408
|
+
|
|
409
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
410
|
+
if (!window.twttr) {
|
|
411
|
+
console.error('Failure to load window.twttr in TwitterShareButton, aborting load.');
|
|
412
|
+
return;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
if (!_this2.isMountCanceled) {
|
|
416
|
+
window.twttr.widgets.createShareButton(_this2.props.url, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
417
|
+
_this2.setState({
|
|
418
|
+
isLoading: false
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
if (onLoad) {
|
|
422
|
+
onLoad(element);
|
|
423
|
+
}
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}, {
|
|
430
|
+
key: "componentWillUnmount",
|
|
431
|
+
value: function componentWillUnmount() {
|
|
432
|
+
this.isMountCanceled = true;
|
|
433
|
+
}
|
|
434
|
+
}, {
|
|
435
|
+
key: "render",
|
|
436
|
+
value: function render() {
|
|
437
|
+
var isLoading = this.state.isLoading;
|
|
438
|
+
var placeholder = this.props.placeholder;
|
|
439
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
440
|
+
ref: "embedContainer"
|
|
441
|
+
}));
|
|
442
|
+
}
|
|
443
|
+
}]);
|
|
444
|
+
|
|
445
|
+
return TwitterShareButton;
|
|
446
|
+
}(React.Component);
|
|
447
|
+
|
|
448
|
+
inherits$1$1._defineProperty(TwitterShareButton, "propTypes", {
|
|
449
|
+
/**
|
|
450
|
+
* Url for sharing
|
|
451
|
+
*/
|
|
452
|
+
url: PropTypes__default.string.isRequired,
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
|
|
456
|
+
*/
|
|
457
|
+
options: PropTypes__default.object,
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Placeholder while tweet is loading
|
|
461
|
+
*/
|
|
462
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Function to execute after load, return html element
|
|
466
|
+
*/
|
|
467
|
+
onLoad: PropTypes__default.func
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
var TwitterFollowButton =
|
|
471
|
+
/*#__PURE__*/
|
|
472
|
+
function (_Component) {
|
|
473
|
+
inherits$1$1._inherits(TwitterFollowButton, _Component);
|
|
474
|
+
|
|
475
|
+
function TwitterFollowButton(props) {
|
|
476
|
+
var _this;
|
|
477
|
+
|
|
478
|
+
inherits$1$1._classCallCheck(this, TwitterFollowButton);
|
|
479
|
+
|
|
480
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
481
|
+
_this.state = {
|
|
482
|
+
isLoading: true
|
|
483
|
+
};
|
|
484
|
+
return _this;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
inherits$1$1._createClass(TwitterFollowButton, [{
|
|
488
|
+
key: "componentDidMount",
|
|
489
|
+
value: function componentDidMount() {
|
|
490
|
+
var _this2 = this;
|
|
491
|
+
|
|
492
|
+
var onLoad = this.props.onLoad;
|
|
493
|
+
|
|
494
|
+
if (exenv.canUseDOM) {
|
|
495
|
+
var script = require('scriptjs');
|
|
496
|
+
|
|
497
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
498
|
+
if (!window.twttr) {
|
|
499
|
+
console.error('Failure to load window.twttr in TwitterFollowButton, aborting load.');
|
|
500
|
+
return;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
if (!_this2.isMountCanceled) {
|
|
504
|
+
window.twttr.widgets.createFollowButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
505
|
+
_this2.setState({
|
|
506
|
+
isLoading: false
|
|
507
|
+
});
|
|
508
|
+
|
|
509
|
+
if (onLoad) {
|
|
510
|
+
onLoad(element);
|
|
511
|
+
}
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}, {
|
|
518
|
+
key: "componentWillUnmount",
|
|
519
|
+
value: function componentWillUnmount() {
|
|
520
|
+
this.isMountCanceled = true;
|
|
521
|
+
}
|
|
522
|
+
}, {
|
|
523
|
+
key: "render",
|
|
524
|
+
value: function render() {
|
|
525
|
+
var isLoading = this.state.isLoading;
|
|
526
|
+
var placeholder = this.props.placeholder;
|
|
527
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
528
|
+
ref: "embedContainer"
|
|
529
|
+
}));
|
|
530
|
+
}
|
|
531
|
+
}]);
|
|
532
|
+
|
|
533
|
+
return TwitterFollowButton;
|
|
534
|
+
}(React.Component);
|
|
535
|
+
|
|
536
|
+
inherits$1$1._defineProperty(TwitterFollowButton, "propTypes", {
|
|
537
|
+
/**
|
|
538
|
+
* Username of twitter user which will be followed on click
|
|
539
|
+
*/
|
|
540
|
+
screenName: PropTypes__default.string.isRequired,
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Additional options to be added to the button
|
|
544
|
+
*/
|
|
545
|
+
options: PropTypes__default.object,
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Placeholder while tweet is loading
|
|
549
|
+
*/
|
|
550
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Function to execute after load, return html element
|
|
554
|
+
*/
|
|
555
|
+
onLoad: PropTypes__default.func
|
|
556
|
+
});
|
|
557
|
+
|
|
558
|
+
var TwitterHashtagButton =
|
|
559
|
+
/*#__PURE__*/
|
|
560
|
+
function (_Component) {
|
|
561
|
+
inherits$1$1._inherits(TwitterHashtagButton, _Component);
|
|
562
|
+
|
|
563
|
+
function TwitterHashtagButton(props) {
|
|
564
|
+
var _this;
|
|
565
|
+
|
|
566
|
+
inherits$1$1._classCallCheck(this, TwitterHashtagButton);
|
|
567
|
+
|
|
568
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
569
|
+
_this.state = {
|
|
570
|
+
isLoading: true
|
|
571
|
+
};
|
|
572
|
+
return _this;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
inherits$1$1._createClass(TwitterHashtagButton, [{
|
|
576
|
+
key: "componentDidMount",
|
|
577
|
+
value: function componentDidMount() {
|
|
578
|
+
var _this2 = this;
|
|
579
|
+
|
|
580
|
+
var onLoad = this.props.onLoad;
|
|
581
|
+
|
|
582
|
+
if (exenv.canUseDOM) {
|
|
583
|
+
var script = require('scriptjs');
|
|
584
|
+
|
|
585
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
586
|
+
if (!window.twttr) {
|
|
587
|
+
console.error('Failure to load window.twttr in TwitterHashtagButton, aborting load.');
|
|
588
|
+
return;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
if (!_this2.isMountCanceled) {
|
|
592
|
+
window.twttr.widgets.createHashtagButton(_this2.props.tag, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
593
|
+
_this2.setState({
|
|
594
|
+
isLoading: false
|
|
595
|
+
});
|
|
596
|
+
|
|
597
|
+
if (onLoad) {
|
|
598
|
+
onLoad(element);
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
});
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}, {
|
|
606
|
+
key: "componentWillUnmount",
|
|
607
|
+
value: function componentWillUnmount() {
|
|
608
|
+
this.isMountCanceled = true;
|
|
609
|
+
}
|
|
610
|
+
}, {
|
|
611
|
+
key: "render",
|
|
612
|
+
value: function render() {
|
|
613
|
+
var isLoading = this.state.isLoading;
|
|
614
|
+
var placeholder = this.props.placeholder;
|
|
615
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
616
|
+
ref: "embedContainer"
|
|
617
|
+
}));
|
|
618
|
+
}
|
|
619
|
+
}]);
|
|
620
|
+
|
|
621
|
+
return TwitterHashtagButton;
|
|
622
|
+
}(React.Component);
|
|
623
|
+
|
|
624
|
+
inherits$1$1._defineProperty(TwitterHashtagButton, "propTypes", {
|
|
625
|
+
/**
|
|
626
|
+
* Tag name for hashtag button
|
|
627
|
+
*/
|
|
628
|
+
tag: PropTypes__default.string.isRequired,
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Additional options to be added to the button
|
|
632
|
+
*/
|
|
633
|
+
options: PropTypes__default.object,
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Placeholder while tweet is loading
|
|
637
|
+
*/
|
|
638
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Function to execute after load, return html element
|
|
642
|
+
*/
|
|
643
|
+
onLoad: PropTypes__default.func
|
|
644
|
+
});
|
|
645
|
+
|
|
646
|
+
var TwitterMentionButton =
|
|
647
|
+
/*#__PURE__*/
|
|
648
|
+
function (_Component) {
|
|
649
|
+
inherits$1$1._inherits(TwitterMentionButton, _Component);
|
|
650
|
+
|
|
651
|
+
function TwitterMentionButton(props) {
|
|
652
|
+
var _this;
|
|
653
|
+
|
|
654
|
+
inherits$1$1._classCallCheck(this, TwitterMentionButton);
|
|
655
|
+
|
|
656
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
657
|
+
_this.state = {
|
|
658
|
+
isLoading: true
|
|
659
|
+
};
|
|
660
|
+
return _this;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
inherits$1$1._createClass(TwitterMentionButton, [{
|
|
664
|
+
key: "componentDidMount",
|
|
665
|
+
value: function componentDidMount() {
|
|
666
|
+
var _this2 = this;
|
|
667
|
+
|
|
668
|
+
var onLoad = this.props.onLoad;
|
|
669
|
+
|
|
670
|
+
if (exenv.canUseDOM) {
|
|
671
|
+
var script = require('scriptjs');
|
|
672
|
+
|
|
673
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
674
|
+
if (!window.twttr) {
|
|
675
|
+
console.error('Failure to load window.twttr in TwitterMentionButton, aborting load.');
|
|
676
|
+
return;
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
if (!_this2.isMountCanceled) {
|
|
680
|
+
window.twttr.widgets.createMentionButton(_this2.props.screenName, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
681
|
+
_this2.setState({
|
|
682
|
+
isLoading: false
|
|
683
|
+
});
|
|
684
|
+
|
|
685
|
+
if (onLoad) {
|
|
686
|
+
onLoad(element);
|
|
687
|
+
}
|
|
688
|
+
});
|
|
689
|
+
}
|
|
690
|
+
});
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}, {
|
|
694
|
+
key: "componentWillUnmount",
|
|
695
|
+
value: function componentWillUnmount() {
|
|
696
|
+
this.isMountCanceled = true;
|
|
697
|
+
}
|
|
698
|
+
}, {
|
|
699
|
+
key: "render",
|
|
700
|
+
value: function render() {
|
|
701
|
+
var isLoading = this.state.isLoading;
|
|
702
|
+
var placeholder = this.props.placeholder;
|
|
703
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
704
|
+
ref: "embedContainer"
|
|
705
|
+
}));
|
|
706
|
+
}
|
|
707
|
+
}]);
|
|
708
|
+
|
|
709
|
+
return TwitterMentionButton;
|
|
710
|
+
}(React.Component);
|
|
711
|
+
|
|
712
|
+
inherits$1$1._defineProperty(TwitterMentionButton, "propTypes", {
|
|
713
|
+
/**
|
|
714
|
+
* Username to which you will need to tweet
|
|
715
|
+
*/
|
|
716
|
+
screenName: PropTypes__default.string.isRequired,
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* Additional options for overriding config.
|
|
720
|
+
*/
|
|
721
|
+
options: PropTypes__default.object,
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Placeholder while tweet is loading
|
|
725
|
+
*/
|
|
726
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* Function to execute after load, return html element
|
|
730
|
+
*/
|
|
731
|
+
onLoad: PropTypes__default.func
|
|
732
|
+
});
|
|
733
|
+
|
|
734
|
+
var TwitterTweetEmbed =
|
|
735
|
+
/*#__PURE__*/
|
|
736
|
+
function (_Component) {
|
|
737
|
+
inherits$1$1._inherits(TwitterTweetEmbed, _Component);
|
|
738
|
+
|
|
739
|
+
function TwitterTweetEmbed(props) {
|
|
740
|
+
var _this;
|
|
741
|
+
|
|
742
|
+
inherits$1$1._classCallCheck(this, TwitterTweetEmbed);
|
|
743
|
+
|
|
744
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
745
|
+
_this.state = {
|
|
746
|
+
isLoading: true
|
|
747
|
+
};
|
|
748
|
+
return _this;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
inherits$1$1._createClass(TwitterTweetEmbed, [{
|
|
752
|
+
key: "renderWidget",
|
|
753
|
+
value: function renderWidget() {
|
|
754
|
+
var _this2 = this;
|
|
755
|
+
|
|
756
|
+
var onLoad = this.props.onLoad;
|
|
757
|
+
|
|
758
|
+
if (!window.twttr) {
|
|
759
|
+
console.error('Failure to load window.twttr in TwitterTweetEmbed, aborting load.');
|
|
760
|
+
return;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
if (!this.isMountCanceled) {
|
|
764
|
+
window.twttr.widgets.createTweet(this.props.tweetId, this.refs.embedContainer, this.props.options).then(function (element) {
|
|
765
|
+
_this2.setState({
|
|
766
|
+
isLoading: false
|
|
767
|
+
});
|
|
768
|
+
|
|
769
|
+
if (onLoad) {
|
|
770
|
+
onLoad(element);
|
|
771
|
+
}
|
|
772
|
+
});
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
}, {
|
|
776
|
+
key: "componentDidMount",
|
|
777
|
+
value: function componentDidMount() {
|
|
778
|
+
var _this3 = this;
|
|
779
|
+
|
|
780
|
+
if (exenv.canUseDOM) {
|
|
781
|
+
var script = require('scriptjs');
|
|
782
|
+
|
|
783
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
784
|
+
_this3.renderWidget();
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}, {
|
|
789
|
+
key: "componentWillUnmount",
|
|
790
|
+
value: function componentWillUnmount() {
|
|
791
|
+
this.isMountCanceled = true;
|
|
792
|
+
}
|
|
793
|
+
}, {
|
|
794
|
+
key: "render",
|
|
795
|
+
value: function render() {
|
|
796
|
+
var isLoading = this.state.isLoading;
|
|
797
|
+
var placeholder = this.props.placeholder;
|
|
798
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
799
|
+
ref: "embedContainer"
|
|
800
|
+
}));
|
|
801
|
+
}
|
|
802
|
+
}]);
|
|
803
|
+
|
|
804
|
+
return TwitterTweetEmbed;
|
|
805
|
+
}(React.Component);
|
|
806
|
+
|
|
807
|
+
inherits$1$1._defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
808
|
+
/**
|
|
809
|
+
* Tweet id that needs to be shown
|
|
810
|
+
*/
|
|
811
|
+
tweetId: PropTypes__default.string.isRequired,
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Additional options to pass to twitter widget plugin
|
|
815
|
+
*/
|
|
816
|
+
options: PropTypes__default.object,
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Placeholder while tweet is loading
|
|
820
|
+
*/
|
|
821
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Function to execute after load, return html element
|
|
825
|
+
*/
|
|
826
|
+
onLoad: PropTypes__default.func
|
|
827
|
+
});
|
|
828
|
+
|
|
829
|
+
var TwitterMomentShare =
|
|
830
|
+
/*#__PURE__*/
|
|
831
|
+
function (_Component) {
|
|
832
|
+
inherits$1$1._inherits(TwitterMomentShare, _Component);
|
|
833
|
+
|
|
834
|
+
function TwitterMomentShare(props) {
|
|
835
|
+
var _this;
|
|
836
|
+
|
|
837
|
+
inherits$1$1._classCallCheck(this, TwitterMomentShare);
|
|
838
|
+
|
|
839
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
840
|
+
_this.state = {
|
|
841
|
+
isLoading: true
|
|
842
|
+
};
|
|
843
|
+
return _this;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
inherits$1$1._createClass(TwitterMomentShare, [{
|
|
847
|
+
key: "componentDidMount",
|
|
848
|
+
value: function componentDidMount() {
|
|
849
|
+
var _this2 = this;
|
|
850
|
+
|
|
851
|
+
var onLoad = this.props.onLoad;
|
|
852
|
+
|
|
853
|
+
if (exenv.canUseDOM) {
|
|
854
|
+
var script = require('scriptjs');
|
|
855
|
+
|
|
856
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
857
|
+
if (!window.twttr) {
|
|
858
|
+
console.error('Failure to load window.twttr in TwitterMomentShare, aborting load.');
|
|
859
|
+
return;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
if (!_this2.isMountCanceled) {
|
|
863
|
+
window.twttr.widgets.createMoment(_this2.props.momentId, _this2.refs.shareMoment, _this2.props.options).then(function (element) {
|
|
864
|
+
_this2.setState({
|
|
865
|
+
isLoading: false
|
|
866
|
+
});
|
|
867
|
+
|
|
868
|
+
if (onLoad) {
|
|
869
|
+
onLoad(element);
|
|
870
|
+
}
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
});
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}, {
|
|
877
|
+
key: "componentWillUnmount",
|
|
878
|
+
value: function componentWillUnmount() {
|
|
879
|
+
this.isMountCanceled = true;
|
|
880
|
+
}
|
|
881
|
+
}, {
|
|
882
|
+
key: "render",
|
|
883
|
+
value: function render() {
|
|
884
|
+
var isLoading = this.state.isLoading;
|
|
885
|
+
var placeholder = this.props.placeholder;
|
|
886
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
887
|
+
ref: "shareMoment"
|
|
888
|
+
}));
|
|
889
|
+
}
|
|
890
|
+
}]);
|
|
891
|
+
|
|
892
|
+
return TwitterMomentShare;
|
|
893
|
+
}(React.Component);
|
|
894
|
+
|
|
895
|
+
inherits$1$1._defineProperty(TwitterMomentShare, "propTypes", {
|
|
896
|
+
/**
|
|
897
|
+
* id of Twitter moment to show
|
|
898
|
+
*/
|
|
899
|
+
momentId: PropTypes__default.string.isRequired,
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* Additional options for overriding config.
|
|
903
|
+
*/
|
|
904
|
+
options: PropTypes__default.object,
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Placeholder while tweet is loading
|
|
908
|
+
*/
|
|
909
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Function to execute after load, return html element
|
|
913
|
+
*/
|
|
914
|
+
onLoad: PropTypes__default.func
|
|
915
|
+
});
|
|
916
|
+
|
|
917
|
+
var TwitterDMButton =
|
|
918
|
+
/*#__PURE__*/
|
|
919
|
+
function (_Component) {
|
|
920
|
+
inherits$1$1._inherits(TwitterDMButton, _Component);
|
|
921
|
+
|
|
922
|
+
function TwitterDMButton(props) {
|
|
923
|
+
var _this;
|
|
924
|
+
|
|
925
|
+
inherits$1$1._classCallCheck(this, TwitterDMButton);
|
|
926
|
+
|
|
927
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterDMButton).call(this, props));
|
|
928
|
+
_this.state = {
|
|
929
|
+
isLoading: true
|
|
930
|
+
};
|
|
931
|
+
return _this;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
inherits$1$1._createClass(TwitterDMButton, [{
|
|
935
|
+
key: "componentDidMount",
|
|
936
|
+
value: function componentDidMount() {
|
|
937
|
+
var _this2 = this;
|
|
938
|
+
|
|
939
|
+
var onLoad = this.props.onLoad;
|
|
940
|
+
|
|
941
|
+
if (exenv.canUseDOM) {
|
|
942
|
+
var script = require('scriptjs');
|
|
943
|
+
|
|
944
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
945
|
+
if (!window.twttr) {
|
|
946
|
+
console.error('Failure to load window.twttr in TwitterDMButton, aborting load.');
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
if (!_this2.isMountCanceled) {
|
|
951
|
+
window.twttr.widgets.createDMButton(_this2.props.id, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
952
|
+
_this2.setState({
|
|
953
|
+
isLoading: false
|
|
954
|
+
});
|
|
955
|
+
|
|
956
|
+
if (onLoad) {
|
|
957
|
+
onLoad(element);
|
|
958
|
+
}
|
|
959
|
+
});
|
|
960
|
+
}
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}, {
|
|
965
|
+
key: "componentWillUnmount",
|
|
966
|
+
value: function componentWillUnmount() {
|
|
967
|
+
this.isMountCanceled = true;
|
|
968
|
+
}
|
|
969
|
+
}, {
|
|
970
|
+
key: "render",
|
|
971
|
+
value: function render() {
|
|
972
|
+
var isLoading = this.state.isLoading;
|
|
973
|
+
var placeholder = this.props.placeholder;
|
|
974
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
975
|
+
ref: "embedContainer"
|
|
976
|
+
}));
|
|
977
|
+
}
|
|
978
|
+
}]);
|
|
979
|
+
|
|
980
|
+
return TwitterDMButton;
|
|
981
|
+
}(React.Component);
|
|
982
|
+
|
|
983
|
+
inherits$1$1._defineProperty(TwitterDMButton, "propTypes", {
|
|
984
|
+
/**
|
|
985
|
+
* Twitter user id for DM button
|
|
986
|
+
*/
|
|
987
|
+
id: PropTypes__default.number.isRequired,
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Additional options to be added to the button
|
|
991
|
+
*/
|
|
992
|
+
options: PropTypes__default.object,
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Placeholder while tweet is loading
|
|
996
|
+
*/
|
|
997
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Function to execute after load, return html element
|
|
1001
|
+
*/
|
|
1002
|
+
onLoad: PropTypes__default.func
|
|
1003
|
+
});
|
|
1004
|
+
|
|
1005
|
+
var TwitterVideoEmbed =
|
|
1006
|
+
/*#__PURE__*/
|
|
1007
|
+
function (_Component) {
|
|
1008
|
+
inherits$1$1._inherits(TwitterVideoEmbed, _Component);
|
|
1009
|
+
|
|
1010
|
+
function TwitterVideoEmbed(props) {
|
|
1011
|
+
var _this;
|
|
1012
|
+
|
|
1013
|
+
inherits$1$1._classCallCheck(this, TwitterVideoEmbed);
|
|
1014
|
+
|
|
1015
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1016
|
+
_this.state = {
|
|
1017
|
+
isLoading: true
|
|
1018
|
+
};
|
|
1019
|
+
return _this;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
inherits$1$1._createClass(TwitterVideoEmbed, [{
|
|
1023
|
+
key: "componentDidMount",
|
|
1024
|
+
value: function componentDidMount() {
|
|
1025
|
+
var _this2 = this;
|
|
1026
|
+
|
|
1027
|
+
var onLoad = this.props.onLoad;
|
|
1028
|
+
|
|
1029
|
+
if (exenv.canUseDOM) {
|
|
1030
|
+
var script = require('scriptjs');
|
|
1031
|
+
|
|
1032
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1033
|
+
if (!window.twttr) {
|
|
1034
|
+
console.error('Failure to load window.twttr in TwitterVideoEmbed, aborting load.');
|
|
1035
|
+
return;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
if (!_this2.isMountCanceled) {
|
|
1039
|
+
window.twttr.widgets.createVideo(_this2.props.id, _this2.refs.embedContainer).then(function (element) {
|
|
1040
|
+
_this2.setState({
|
|
1041
|
+
isLoading: false
|
|
1042
|
+
});
|
|
1043
|
+
|
|
1044
|
+
if (onLoad) {
|
|
1045
|
+
onLoad(element);
|
|
1046
|
+
}
|
|
1047
|
+
});
|
|
1048
|
+
}
|
|
1049
|
+
});
|
|
1050
|
+
}
|
|
1051
|
+
}
|
|
1052
|
+
}, {
|
|
1053
|
+
key: "componentWillUnmount",
|
|
1054
|
+
value: function componentWillUnmount() {
|
|
1055
|
+
this.isMountCanceled = true;
|
|
1056
|
+
}
|
|
1057
|
+
}, {
|
|
1058
|
+
key: "render",
|
|
1059
|
+
value: function render() {
|
|
1060
|
+
var isLoading = this.state.isLoading;
|
|
1061
|
+
var placeholder = this.props.placeholder;
|
|
1062
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1063
|
+
ref: "embedContainer"
|
|
1064
|
+
}));
|
|
1065
|
+
}
|
|
1066
|
+
}]);
|
|
1067
|
+
|
|
1068
|
+
return TwitterVideoEmbed;
|
|
1069
|
+
}(React.Component);
|
|
1070
|
+
|
|
1071
|
+
inherits$1$1._defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1072
|
+
/**
|
|
1073
|
+
* Id of video tweet.
|
|
1074
|
+
*/
|
|
1075
|
+
id: PropTypes__default.string.isRequired,
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Placeholder while tweet is loading
|
|
1079
|
+
*/
|
|
1080
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Function to execute after load, return html element
|
|
1084
|
+
*/
|
|
1085
|
+
onLoad: PropTypes__default.func
|
|
1086
|
+
});
|
|
1087
|
+
|
|
1088
|
+
var TwitterOnAirButton =
|
|
1089
|
+
/*#__PURE__*/
|
|
1090
|
+
function (_Component) {
|
|
1091
|
+
inherits$1$1._inherits(TwitterOnAirButton, _Component);
|
|
1092
|
+
|
|
1093
|
+
function TwitterOnAirButton(props) {
|
|
1094
|
+
var _this;
|
|
1095
|
+
|
|
1096
|
+
inherits$1$1._classCallCheck(this, TwitterOnAirButton);
|
|
1097
|
+
|
|
1098
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1099
|
+
_this.state = {
|
|
1100
|
+
isLoading: true
|
|
1101
|
+
};
|
|
1102
|
+
return _this;
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
inherits$1$1._createClass(TwitterOnAirButton, [{
|
|
1106
|
+
key: "componentDidMount",
|
|
1107
|
+
value: function componentDidMount() {
|
|
1108
|
+
var _this2 = this;
|
|
1109
|
+
|
|
1110
|
+
var onLoad = this.props.onLoad;
|
|
1111
|
+
|
|
1112
|
+
if (exenv.canUseDOM) {
|
|
1113
|
+
var script = require('scriptjs');
|
|
1114
|
+
|
|
1115
|
+
script(twitterWidgetJs, 'twitter-embed', function () {
|
|
1116
|
+
if (!window.twttr) {
|
|
1117
|
+
console.error('Failure to load window.twttr in TwitterOnAirButton, aborting load.');
|
|
1118
|
+
return;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
if (!_this2.isMountCanceled) {
|
|
1122
|
+
window.twttr.widgets.createPeriscopeOnAirButton(_this2.props.username, _this2.refs.embedContainer, _this2.props.options).then(function (element) {
|
|
1123
|
+
_this2.setState({
|
|
1124
|
+
isLoading: false
|
|
1125
|
+
});
|
|
1126
|
+
|
|
1127
|
+
if (onLoad) {
|
|
1128
|
+
onLoad(element);
|
|
1129
|
+
}
|
|
1130
|
+
});
|
|
1131
|
+
}
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
}, {
|
|
1136
|
+
key: "componentWillUnmount",
|
|
1137
|
+
value: function componentWillUnmount() {
|
|
1138
|
+
this.isMountCanceled = true;
|
|
1139
|
+
}
|
|
1140
|
+
}, {
|
|
1141
|
+
key: "render",
|
|
1142
|
+
value: function render() {
|
|
1143
|
+
var isLoading = this.state.isLoading;
|
|
1144
|
+
var placeholder = this.props.placeholder;
|
|
1145
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1146
|
+
ref: "embedContainer"
|
|
1147
|
+
}));
|
|
1148
|
+
}
|
|
1149
|
+
}]);
|
|
1150
|
+
|
|
1151
|
+
return TwitterOnAirButton;
|
|
1152
|
+
}(React.Component);
|
|
1153
|
+
|
|
1154
|
+
inherits$1$1._defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1155
|
+
/**
|
|
1156
|
+
* Username for which you require periscope on air button
|
|
1157
|
+
*/
|
|
1158
|
+
username: PropTypes__default.string.isRequired,
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* Additional options for overriding config.
|
|
1162
|
+
*/
|
|
1163
|
+
options: PropTypes__default.object,
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Placeholder while tweet is loading
|
|
1167
|
+
*/
|
|
1168
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
78
1169
|
|
|
79
|
-
|
|
1170
|
+
/**
|
|
1171
|
+
* Function to execute after load, return html element
|
|
1172
|
+
*/
|
|
1173
|
+
onLoad: PropTypes__default.func
|
|
1174
|
+
});
|
|
80
1175
|
|
|
81
1176
|
var ImageSlider = function ImageSlider(props) {
|
|
82
1177
|
var innerSlider = React.useRef(null);
|
|
@@ -185,61 +1280,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
185
1280
|
}, []);
|
|
186
1281
|
|
|
187
1282
|
var variant = 'black';
|
|
188
|
-
return React__default
|
|
189
|
-
React__default
|
|
1283
|
+
return React__default.createElement(
|
|
1284
|
+
React__default.Fragment,
|
|
190
1285
|
null,
|
|
191
|
-
React__default
|
|
1286
|
+
React__default.createElement(
|
|
192
1287
|
'div',
|
|
193
1288
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
194
|
-
React__default
|
|
1289
|
+
React__default.createElement(
|
|
195
1290
|
'div',
|
|
196
1291
|
{ className: 'row' },
|
|
197
|
-
showScroller && React__default
|
|
1292
|
+
showScroller && React__default.createElement(
|
|
198
1293
|
'div',
|
|
199
1294
|
{ onClick: function onClick(e) {
|
|
200
1295
|
return scrollSlider(e, 'prev');
|
|
201
1296
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
202
|
-
React__default
|
|
1297
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
203
1298
|
),
|
|
204
|
-
showScroller && React__default
|
|
1299
|
+
showScroller && React__default.createElement(
|
|
205
1300
|
'div',
|
|
206
1301
|
{ onClick: function onClick(e) {
|
|
207
1302
|
return scrollSlider(e, 'next');
|
|
208
1303
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
209
|
-
React__default
|
|
1304
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
210
1305
|
),
|
|
211
|
-
React__default
|
|
1306
|
+
React__default.createElement(
|
|
212
1307
|
'div',
|
|
213
1308
|
{ ref: innerSlider, className: 'row__inner' },
|
|
214
1309
|
props.data.slides.map(function (img, index) {
|
|
215
1310
|
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
216
1311
|
if (!img.slideshowImage.link) {
|
|
217
|
-
return React__default
|
|
1312
|
+
return React__default.createElement(
|
|
218
1313
|
'div',
|
|
219
1314
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
220
|
-
React__default
|
|
1315
|
+
React__default.createElement(
|
|
221
1316
|
'div',
|
|
222
1317
|
{ className: 'tile__media' },
|
|
223
|
-
React__default
|
|
1318
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
224
1319
|
),
|
|
225
|
-
React__default
|
|
1320
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
226
1321
|
);
|
|
227
1322
|
} else {
|
|
228
|
-
return React__default
|
|
1323
|
+
return React__default.createElement(
|
|
229
1324
|
'a',
|
|
230
1325
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
231
|
-
React__default
|
|
1326
|
+
React__default.createElement(
|
|
232
1327
|
'div',
|
|
233
1328
|
{ className: 'tile__media' },
|
|
234
|
-
React__default
|
|
1329
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
235
1330
|
),
|
|
236
|
-
React__default
|
|
1331
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
237
1332
|
);
|
|
238
1333
|
}
|
|
239
1334
|
})
|
|
240
1335
|
)
|
|
241
1336
|
),
|
|
242
|
-
React__default
|
|
1337
|
+
React__default.createElement(
|
|
243
1338
|
'style',
|
|
244
1339
|
{ jsx: 'true' },
|
|
245
1340
|
'\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 '
|
|
@@ -262,95 +1357,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
262
1357
|
pageview = _ref.pageview,
|
|
263
1358
|
page = _ref.page;
|
|
264
1359
|
|
|
265
|
-
return React__default
|
|
266
|
-
React__default
|
|
1360
|
+
return React__default.createElement(
|
|
1361
|
+
React__default.Fragment,
|
|
267
1362
|
null,
|
|
268
|
-
React__default
|
|
269
|
-
React__default
|
|
1363
|
+
React__default.createElement(Breadcrumbs, null),
|
|
1364
|
+
React__default.createElement(
|
|
270
1365
|
'div',
|
|
271
1366
|
{ className: 'partners-page' },
|
|
272
|
-
React__default
|
|
1367
|
+
React__default.createElement(
|
|
273
1368
|
'div',
|
|
274
1369
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
275
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default
|
|
1370
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
276
1371
|
'a',
|
|
277
1372
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
278
|
-
React__default
|
|
1373
|
+
React__default.createElement(
|
|
279
1374
|
'figure',
|
|
280
1375
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
281
|
-
React__default
|
|
1376
|
+
React__default.createElement('img', {
|
|
282
1377
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
283
1378
|
style: { maxWidth: '100%' },
|
|
284
1379
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
285
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1380
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
286
1381
|
'figcaption',
|
|
287
1382
|
null,
|
|
288
1383
|
partnerDetails.thumbnail.caption
|
|
289
1384
|
)
|
|
290
1385
|
)
|
|
291
|
-
) : React__default
|
|
1386
|
+
) : React__default.createElement(
|
|
292
1387
|
'figure',
|
|
293
1388
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
294
|
-
React__default
|
|
1389
|
+
React__default.createElement('img', {
|
|
295
1390
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
296
1391
|
style: { maxWidth: '100%' },
|
|
297
1392
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
298
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1393
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
299
1394
|
'figcaption',
|
|
300
1395
|
null,
|
|
301
1396
|
partnerDetails.thumbnail.caption
|
|
302
1397
|
)
|
|
303
1398
|
),
|
|
304
|
-
React__default
|
|
1399
|
+
React__default.createElement(
|
|
305
1400
|
'style',
|
|
306
1401
|
{ jsx: 'true' },
|
|
307
1402
|
'\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 '
|
|
308
1403
|
),
|
|
309
|
-
partnerDetails.description && React__default
|
|
1404
|
+
partnerDetails.description && React__default.createElement(
|
|
310
1405
|
'div',
|
|
311
1406
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
312
|
-
React__default
|
|
1407
|
+
React__default.createElement(BlockContent.BlockContent, _extends$1._extends({ serializers: getSerializers.getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
313
1408
|
)
|
|
314
1409
|
),
|
|
315
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default
|
|
1410
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default.createElement(
|
|
316
1411
|
'div',
|
|
317
1412
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
318
|
-
partnerDetails.affiliates[0].title && React__default
|
|
1413
|
+
partnerDetails.affiliates[0].title && React__default.createElement(
|
|
319
1414
|
'h2',
|
|
320
1415
|
{ className: 'bb-gold' },
|
|
321
1416
|
partnerDetails.affiliates[0].title
|
|
322
1417
|
),
|
|
323
|
-
React__default
|
|
1418
|
+
React__default.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
324
1419
|
),
|
|
325
|
-
features.length > 0 && React__default
|
|
1420
|
+
features.length > 0 && React__default.createElement(
|
|
326
1421
|
'div',
|
|
327
1422
|
{ className: ' mb-5' },
|
|
328
|
-
React__default
|
|
1423
|
+
React__default.createElement(Feature, { dataset: features, client: client })
|
|
329
1424
|
),
|
|
330
|
-
partnerDetails.twitter && React__default
|
|
331
|
-
React__default
|
|
1425
|
+
partnerDetails.twitter && React__default.createElement(
|
|
1426
|
+
React__default.Fragment,
|
|
332
1427
|
null,
|
|
333
|
-
React__default
|
|
1428
|
+
React__default.createElement(
|
|
334
1429
|
'div',
|
|
335
1430
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
336
|
-
React__default
|
|
1431
|
+
React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
337
1432
|
)
|
|
338
1433
|
),
|
|
339
|
-
React__default
|
|
1434
|
+
React__default.createElement(
|
|
340
1435
|
'div',
|
|
341
1436
|
null,
|
|
342
|
-
posts && posts.length > 0 && React__default
|
|
343
|
-
React__default
|
|
1437
|
+
posts && posts.length > 0 && React__default.createElement(
|
|
1438
|
+
React__default.Fragment,
|
|
344
1439
|
null,
|
|
345
|
-
React__default
|
|
1440
|
+
React__default.createElement(
|
|
346
1441
|
'h2',
|
|
347
1442
|
{ className: 'bb-gold mb-2' },
|
|
348
1443
|
'Latest from ',
|
|
349
1444
|
partnerDetails.name
|
|
350
1445
|
),
|
|
351
|
-
React__default
|
|
1446
|
+
React__default.createElement('hr', null)
|
|
352
1447
|
),
|
|
353
|
-
React__default
|
|
1448
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
354
1449
|
client: client,
|
|
355
1450
|
mapping: Settings.mapping,
|
|
356
1451
|
dataRecord: posts,
|