@mjhls/mjh-framework 1.0.859 → 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 +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +17 -19
- package/dist/cjs/AD300x250x600.js +17 -19
- package/dist/cjs/AD728x90.js +18 -20
- package/dist/cjs/ADFloatingFooter.js +19 -21
- package/dist/cjs/ADFooter.js +11 -14
- package/dist/cjs/ADGutter.js +19 -21
- package/dist/cjs/{ADInfeed-ff26342c.js → ADInfeed-7c09edba.js} +10 -12
- package/dist/cjs/ADSkyscraper.js +19 -21
- package/dist/cjs/ADSponsoredResources.js +19 -21
- package/dist/cjs/ADWebcast.js +19 -21
- package/dist/cjs/ADWelcome.js +23 -25
- package/dist/cjs/{ADlgInfeed-ad4953d4.js → ADlgInfeed-2e7effc7.js} +7 -8
- package/dist/cjs/AccordionPanel.js +25 -29
- package/dist/cjs/AdSlot.js +21 -23
- package/dist/cjs/AdSlotsProvider.js +908 -18
- package/dist/cjs/AlgoliaSearch.js +14018 -55
- package/dist/cjs/AlphabeticList.js +21 -24
- package/dist/cjs/ArticleCarousel.js +15 -18
- package/dist/cjs/ArticleProgramLandingPage.js +35 -38
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -33
- package/dist/cjs/ArticleSeriesListing.js +47 -49
- package/dist/cjs/Auth.js +1203 -245
- package/dist/cjs/AuthWrapper.js +564 -31
- 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 +72 -73
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +25 -30
- package/dist/cjs/Column3.js +42 -46
- package/dist/cjs/ConferenceArticleCard.js +35 -33
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +92 -97
- package/dist/cjs/DeckQueue.js +78 -82
- package/dist/cjs/{Dfp-0bf098b5.js → Dfp-14d2455c.js} +26 -28
- package/dist/cjs/EventsDeck.js +144 -153
- package/dist/cjs/ExternalResources.js +59 -62
- package/dist/cjs/Feature.js +26 -25
- package/dist/cjs/ForbesHero.js +37 -40
- package/dist/cjs/GridContent.js +215 -221
- package/dist/cjs/GridHero.js +38 -41
- package/dist/cjs/GroupDeck.js +52 -55
- package/dist/cjs/HamMagazine.js +130 -137
- 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 +49 -52
- 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 +70 -73
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +28 -31
- package/dist/cjs/MasterDeck.js +69 -71
- package/dist/cjs/MediaSeriesLanding.js +920 -814
- package/dist/cjs/NavDvm.js +68 -75
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +131 -138
- package/dist/cjs/NavNative.js +122 -132
- 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 +199 -301
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +16 -20
- package/dist/cjs/PubSection.js +28 -30
- package/dist/cjs/PubToc.js +12 -15
- package/dist/cjs/PublicationDeck.js +62 -64
- package/dist/cjs/PublicationLanding.js +144 -150
- package/dist/cjs/QueueDeckExpanded.js +294 -295
- package/dist/cjs/RecentNews.js +19 -20
- package/dist/cjs/RelatedContent.js +53 -51
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +15 -21
- package/dist/cjs/Segment.js +4 -6
- package/dist/cjs/SeriesListingDeck.js +32 -33
- package/dist/cjs/{SeriesSlider-60fa1342.js → SeriesSlider-94af9fcb.js} +38 -39
- package/dist/cjs/SideFooter.js +30 -33
- 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 +34 -37
- package/dist/cjs/TemplateNormal.js +44 -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 +52 -58
- package/dist/cjs/VideoSeriesCard.js +27 -28
- package/dist/cjs/VideoSeriesFilter.js +14 -16
- package/dist/cjs/VideoSeriesLandingPage.js +36 -38
- package/dist/cjs/VideoSeriesListing.js +64 -66
- package/dist/cjs/View.js +214 -220
- package/dist/cjs/YahooHero.js +33 -36
- package/dist/cjs/YoutubeGroup.js +58 -61
- 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/events-1b438fe7.js +469 -0
- package/dist/cjs/{extends-60837c34.js → extends-eed4f016.js} +9 -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 +24 -26
- package/dist/cjs/{getTargeting-3e45e4d4.js → getTargeting-8874437b.js} +12 -12
- package/dist/cjs/getTargeting.js +5 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-9d365128.js → index-96b3db50.js} +10 -12
- package/dist/cjs/{index-44481153.js → index-98e01cb9.js} +47 -494
- package/dist/cjs/{index-b5eb3ff8.js → index-be0c82be.js} +19 -20
- package/dist/cjs/{index-cf3e6aca.js → index-cdcc0b5e.js} +1207 -962
- package/dist/cjs/index-e2e62963.js +89 -0
- 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 +74 -80
- package/dist/cjs/{inherits-87492b40.js → inherits-12d44cca.js} +16 -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 +15 -16
- package/dist/esm/AD300x250x600.js +15 -16
- package/dist/esm/AD728x90.js +16 -17
- package/dist/esm/ADFloatingFooter.js +17 -18
- package/dist/esm/ADFooter.js +9 -11
- package/dist/esm/ADGutter.js +17 -18
- package/dist/esm/{ADInfeed-422ad6e6.js → ADInfeed-bfd129d9.js} +8 -8
- package/dist/esm/ADSkyscraper.js +17 -18
- package/dist/esm/ADSponsoredResources.js +17 -18
- package/dist/esm/ADWebcast.js +17 -18
- package/dist/esm/ADWelcome.js +21 -22
- package/dist/esm/{ADlgInfeed-f7468db8.js → ADlgInfeed-0489335b.js} +5 -5
- package/dist/esm/AccordionPanel.js +20 -22
- package/dist/esm/AdSlot.js +13 -14
- package/dist/esm/AdSlotsProvider.js +907 -16
- package/dist/esm/AlgoliaSearch.js +14011 -47
- package/dist/esm/AlphabeticList.js +19 -21
- package/dist/esm/ArticleCarousel.js +13 -15
- package/dist/esm/ArticleProgramLandingPage.js +33 -35
- package/dist/esm/ArticleSeriesLandingPage.js +29 -30
- package/dist/esm/ArticleSeriesListing.js +44 -45
- package/dist/esm/Auth.js +1187 -225
- package/dist/esm/AuthWrapper.js +564 -29
- 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 +69 -70
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +23 -25
- package/dist/esm/Column3.js +40 -41
- package/dist/esm/ConferenceArticleCard.js +33 -30
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +88 -89
- package/dist/esm/DeckQueue.js +74 -74
- package/dist/esm/{Dfp-85c9513e.js → Dfp-f867d061.js} +14 -15
- package/dist/esm/EventsDeck.js +119 -121
- package/dist/esm/ExternalResources.js +54 -56
- package/dist/esm/Feature.js +20 -17
- package/dist/esm/ForbesHero.js +31 -33
- package/dist/esm/GridContent.js +184 -185
- package/dist/esm/GridHero.js +32 -34
- package/dist/esm/GroupDeck.js +40 -42
- package/dist/esm/HamMagazine.js +105 -107
- 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 +47 -49
- 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 +68 -70
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +24 -25
- package/dist/esm/MasterDeck.js +66 -67
- package/dist/esm/MediaSeriesLanding.js +684 -575
- package/dist/esm/NavDvm.js +51 -53
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +108 -110
- package/dist/esm/NavNative.js +97 -99
- 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 +90 -191
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +11 -13
- package/dist/esm/PubSection.js +26 -27
- package/dist/esm/PubToc.js +10 -12
- package/dist/esm/PublicationDeck.js +54 -51
- package/dist/esm/PublicationLanding.js +103 -105
- package/dist/esm/QueueDeckExpanded.js +260 -261
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +48 -45
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +10 -12
- package/dist/esm/Segment.js +4 -6
- package/dist/esm/SeriesListingDeck.js +27 -28
- package/dist/esm/{SeriesSlider-05ecb544.js → SeriesSlider-0371fc11.js} +29 -29
- package/dist/esm/SideFooter.js +27 -29
- 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 +29 -31
- package/dist/esm/TemplateNormal.js +41 -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 +45 -47
- package/dist/esm/VideoSeriesCard.js +22 -22
- package/dist/esm/VideoSeriesFilter.js +11 -13
- package/dist/esm/VideoSeriesLandingPage.js +29 -30
- package/dist/esm/VideoSeriesListing.js +61 -62
- package/dist/esm/View.js +197 -199
- package/dist/esm/YahooHero.js +28 -30
- package/dist/esm/YoutubeGroup.js +43 -45
- 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/events-6c3a7a63.js +467 -0
- package/dist/esm/{extends-eb69e8ac.js → extends-5b1796d4.js} +2 -2
- 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 +24 -26
- package/dist/esm/{getTargeting-9cb7e014.js → getTargeting-277c801e.js} +11 -11
- package/dist/esm/getTargeting.js +5 -7
- package/dist/esm/{index-1819118a.js → index-41a678ea.js} +41 -487
- 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-aaa2dae0.js +85 -0
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index-9bed8450.js → index-fe008ffe.js} +1162 -906
- 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 +66 -69
- package/dist/esm/{inherits-0d8cda6e.js → inherits-2409637d.js} +5 -6
- 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 +110 -110
- 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,52 +1,55 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
require('./
|
|
5
|
-
require('./es6.string.iterator-cc0bbaa4.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
|
-
|
|
19
|
+
var React__default = _interopDefault(React);
|
|
20
|
+
require('./events-1b438fe7.js');
|
|
21
|
+
require('./index-98e01cb9.js');
|
|
20
22
|
var PropTypes = require('prop-types');
|
|
23
|
+
var PropTypes__default = _interopDefault(PropTypes);
|
|
21
24
|
require('react-bootstrap/Row');
|
|
22
25
|
require('react-bootstrap/Col');
|
|
23
26
|
require('react-bootstrap/Card');
|
|
24
|
-
var moment = require('./moment-
|
|
27
|
+
var moment = require('./moment-575fe24c.js');
|
|
25
28
|
require('next/router');
|
|
26
29
|
require('./isSymbol-04666465.js');
|
|
27
30
|
require('./debounce-529c8d06.js');
|
|
28
31
|
require('./toNumber-36d1e7e5.js');
|
|
29
|
-
require('./index.es-
|
|
32
|
+
require('./index.es-9110add6.js');
|
|
30
33
|
require('react-dom');
|
|
31
|
-
require('./visibility-sensor-
|
|
32
|
-
require('./
|
|
34
|
+
require('./visibility-sensor-ad5e3116.js');
|
|
35
|
+
var slicedToArray = require('./slicedToArray-f6d4eaa8.js');
|
|
36
|
+
require('./index-be0c82be.js');
|
|
33
37
|
var urlFor = require('./urlFor.js');
|
|
34
|
-
require('./index-
|
|
35
|
-
require('./main-
|
|
38
|
+
require('./index-96b3db50.js');
|
|
39
|
+
require('./main-02daeefe.js');
|
|
36
40
|
require('./entities-310b46ee.js');
|
|
37
|
-
|
|
38
|
-
require('./
|
|
39
|
-
var asyncToGenerator = require('./asyncToGenerator-140e5f89.js');
|
|
41
|
+
require('./stringify-bbc68047.js');
|
|
42
|
+
var asyncToGenerator = require('./asyncToGenerator-df19209d.js');
|
|
40
43
|
require('./Segment.js');
|
|
41
44
|
require('./Beam.js');
|
|
42
45
|
require('./AdSlot.js');
|
|
43
|
-
require('./ADInfeed-
|
|
44
|
-
require('./lodash-
|
|
45
|
-
require('./ADlgInfeed-
|
|
46
|
+
require('./ADInfeed-7c09edba.js');
|
|
47
|
+
require('./lodash-fc2922d0.js');
|
|
48
|
+
require('./ADlgInfeed-2e7effc7.js');
|
|
46
49
|
require('./getContentCategory-f38a4c00.js');
|
|
47
|
-
require('./AuthorComponent-
|
|
50
|
+
require('./AuthorComponent-02e827ae.js');
|
|
48
51
|
require('react-bootstrap/Button');
|
|
49
|
-
var BlockContent = require('./BlockContent-
|
|
52
|
+
var BlockContent = require('./BlockContent-091a991f.js');
|
|
50
53
|
require('./index-187c967e.js');
|
|
51
54
|
var smoothscroll = require('./smoothscroll-5054361f.js');
|
|
52
55
|
require('./GroupDeck.js');
|
|
@@ -54,130 +57,25 @@ require('react-bootstrap');
|
|
|
54
57
|
require('./timeDifferenceCalc.js');
|
|
55
58
|
var QueueDeckExpanded = require('./QueueDeckExpanded.js');
|
|
56
59
|
require('./iconBase-68959171.js');
|
|
57
|
-
require('./index.esm-
|
|
58
|
-
var getSerializers = require('./index-
|
|
60
|
+
require('./index.esm-90433435.js');
|
|
61
|
+
var getSerializers = require('./index-cdcc0b5e.js');
|
|
59
62
|
require('./util-f2c1b65b.js');
|
|
60
|
-
require('./brightcove-react-player-loader.es-
|
|
63
|
+
require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
61
64
|
require('next/head');
|
|
62
65
|
require('react-share');
|
|
63
66
|
require('./SocialShare.js');
|
|
64
|
-
require('./_object-to-array-
|
|
67
|
+
require('./_object-to-array-9bac8737.js');
|
|
65
68
|
require('react-bootstrap/Pagination');
|
|
66
69
|
require('react-bootstrap/Figure');
|
|
67
70
|
require('react-bootstrap/OverlayTrigger');
|
|
68
71
|
require('react-bootstrap/Tooltip');
|
|
69
72
|
require('react-bootstrap/Popover');
|
|
70
|
-
require('
|
|
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
78
|
|
|
76
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
77
|
-
|
|
78
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
79
|
-
var PropTypes__default = /*#__PURE__*/_interopDefaultLegacy(PropTypes);
|
|
80
|
-
|
|
81
|
-
function _classCallCheck(instance, Constructor) {
|
|
82
|
-
if (!(instance instanceof Constructor)) {
|
|
83
|
-
throw new TypeError("Cannot call a class as a function");
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
function _defineProperties(target, props) {
|
|
88
|
-
for (var i = 0; i < props.length; i++) {
|
|
89
|
-
var descriptor = props[i];
|
|
90
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
91
|
-
descriptor.configurable = true;
|
|
92
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
93
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
98
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
99
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
100
|
-
return Constructor;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function _typeof(obj) {
|
|
104
|
-
"@babel/helpers - typeof";
|
|
105
|
-
|
|
106
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
107
|
-
_typeof = function _typeof(obj) {
|
|
108
|
-
return typeof obj;
|
|
109
|
-
};
|
|
110
|
-
} else {
|
|
111
|
-
_typeof = function _typeof(obj) {
|
|
112
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
return _typeof(obj);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
function _assertThisInitialized(self) {
|
|
120
|
-
if (self === void 0) {
|
|
121
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
return self;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
function _possibleConstructorReturn(self, call) {
|
|
128
|
-
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
129
|
-
return call;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
return _assertThisInitialized(self);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
function _getPrototypeOf(o) {
|
|
136
|
-
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
137
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
138
|
-
};
|
|
139
|
-
return _getPrototypeOf(o);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function _setPrototypeOf(o, p) {
|
|
143
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
144
|
-
o.__proto__ = p;
|
|
145
|
-
return o;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
return _setPrototypeOf(o, p);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
function _inherits(subClass, superClass) {
|
|
152
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
153
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
157
|
-
constructor: {
|
|
158
|
-
value: subClass,
|
|
159
|
-
writable: true,
|
|
160
|
-
configurable: true
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
function _defineProperty(obj, key, value) {
|
|
167
|
-
if (key in obj) {
|
|
168
|
-
Object.defineProperty(obj, key, {
|
|
169
|
-
value: value,
|
|
170
|
-
enumerable: true,
|
|
171
|
-
configurable: true,
|
|
172
|
-
writable: true
|
|
173
|
-
});
|
|
174
|
-
} else {
|
|
175
|
-
obj[key] = value;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
return obj;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
79
|
var isRequiredIf_1 = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
182
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.
|
|
183
81
|
}};exports.default=isRequiredIf;
|
|
@@ -230,21 +128,21 @@ var twitterWidgetJs = 'https://platform.twitter.com/widgets.js';
|
|
|
230
128
|
var TwitterTimelineEmbed =
|
|
231
129
|
/*#__PURE__*/
|
|
232
130
|
function (_Component) {
|
|
233
|
-
_inherits(TwitterTimelineEmbed, _Component);
|
|
131
|
+
inherits$1$1._inherits(TwitterTimelineEmbed, _Component);
|
|
234
132
|
|
|
235
133
|
function TwitterTimelineEmbed(props) {
|
|
236
134
|
var _this;
|
|
237
135
|
|
|
238
|
-
_classCallCheck(this, TwitterTimelineEmbed);
|
|
136
|
+
inherits$1$1._classCallCheck(this, TwitterTimelineEmbed);
|
|
239
137
|
|
|
240
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
138
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTimelineEmbed).call(this, props));
|
|
241
139
|
_this.state = {
|
|
242
140
|
isLoading: true
|
|
243
141
|
};
|
|
244
142
|
return _this;
|
|
245
143
|
}
|
|
246
144
|
|
|
247
|
-
_createClass(TwitterTimelineEmbed, [{
|
|
145
|
+
inherits$1$1._createClass(TwitterTimelineEmbed, [{
|
|
248
146
|
key: "buildChromeOptions",
|
|
249
147
|
value: function buildChromeOptions(options) {
|
|
250
148
|
options.chrome = '';
|
|
@@ -349,7 +247,7 @@ function (_Component) {
|
|
|
349
247
|
value: function render() {
|
|
350
248
|
var isLoading = this.state.isLoading;
|
|
351
249
|
var placeholder = this.props.placeholder;
|
|
352
|
-
return React__default
|
|
250
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
353
251
|
ref: "embedContainer"
|
|
354
252
|
}));
|
|
355
253
|
}
|
|
@@ -358,37 +256,37 @@ function (_Component) {
|
|
|
358
256
|
return TwitterTimelineEmbed;
|
|
359
257
|
}(React.Component);
|
|
360
258
|
|
|
361
|
-
_defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
259
|
+
inherits$1$1._defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
362
260
|
/**
|
|
363
261
|
* This can be either of profile, likes, list, collection, URL, widget
|
|
364
262
|
*/
|
|
365
|
-
sourceType: PropTypes__default
|
|
263
|
+
sourceType: PropTypes__default.oneOf(['profile', 'likes', 'list', 'collection', 'url', 'widget']).isRequired,
|
|
366
264
|
|
|
367
265
|
/**
|
|
368
266
|
* username of twitter handle as String
|
|
369
267
|
*/
|
|
370
|
-
screenName: isRequiredIf(PropTypes__default
|
|
268
|
+
screenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
371
269
|
return !props.hasOwnProperty('userId') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
372
270
|
}),
|
|
373
271
|
|
|
374
272
|
/**
|
|
375
273
|
* UserId of twitter handle as number
|
|
376
274
|
*/
|
|
377
|
-
userId: isRequiredIf(PropTypes__default
|
|
275
|
+
userId: isRequiredIf(PropTypes__default.number, function (props) {
|
|
378
276
|
return !props.hasOwnProperty('screenName') && (props.sourceType === 'profile' || props.sourceType === 'likes');
|
|
379
277
|
}),
|
|
380
278
|
|
|
381
279
|
/**
|
|
382
280
|
* To show list, used along with slug
|
|
383
281
|
*/
|
|
384
|
-
ownerScreenName: isRequiredIf(PropTypes__default
|
|
282
|
+
ownerScreenName: isRequiredIf(PropTypes__default.string, function (props) {
|
|
385
283
|
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
386
284
|
}),
|
|
387
285
|
|
|
388
286
|
/**
|
|
389
287
|
* To show list, used along with ownerScreenName
|
|
390
288
|
*/
|
|
391
|
-
slug: isRequiredIf(PropTypes__default
|
|
289
|
+
slug: isRequiredIf(PropTypes__default.string, function (props) {
|
|
392
290
|
return props.sourceType === 'list' && !props.hasOwnProperty('id');
|
|
393
291
|
}),
|
|
394
292
|
|
|
@@ -396,7 +294,7 @@ _defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
|
396
294
|
* To show list, unique list id
|
|
397
295
|
* Also used with collections, in that case its valid collection id
|
|
398
296
|
*/
|
|
399
|
-
id: isRequiredIf(PropTypes__default
|
|
297
|
+
id: isRequiredIf(PropTypes__default.oneOfType([PropTypes__default.number, PropTypes__default.string]), function (props) {
|
|
400
298
|
return props.sourceType === 'list' && !props.hasOwnProperty('ownerScreenName') && !props.hasOwnProperty('slug') || props.sourceType === 'collection';
|
|
401
299
|
}),
|
|
402
300
|
|
|
@@ -404,101 +302,101 @@ _defineProperty(TwitterTimelineEmbed, "propTypes", {
|
|
|
404
302
|
* To show twitter content with url.
|
|
405
303
|
* Supported content includes profiles, likes, lists, and collections.
|
|
406
304
|
*/
|
|
407
|
-
url: isRequiredIf(PropTypes__default
|
|
305
|
+
url: isRequiredIf(PropTypes__default.string, function (props) {
|
|
408
306
|
return props.sourceType === 'url';
|
|
409
307
|
}),
|
|
410
308
|
|
|
411
309
|
/**
|
|
412
310
|
* To show custom widget
|
|
413
311
|
*/
|
|
414
|
-
widgetId: isRequiredIf(PropTypes__default
|
|
312
|
+
widgetId: isRequiredIf(PropTypes__default.string, function (props) {
|
|
415
313
|
return props.sourceType === 'widget';
|
|
416
314
|
}),
|
|
417
315
|
|
|
418
316
|
/**
|
|
419
317
|
* Additional options to pass to twitter widget plugin
|
|
420
318
|
*/
|
|
421
|
-
options: PropTypes__default
|
|
319
|
+
options: PropTypes__default.object,
|
|
422
320
|
|
|
423
321
|
/**
|
|
424
322
|
* Automatically fit into parent container height
|
|
425
323
|
*/
|
|
426
|
-
autoHeight: PropTypes__default
|
|
324
|
+
autoHeight: PropTypes__default.bool,
|
|
427
325
|
|
|
428
326
|
/**
|
|
429
327
|
* With dark or light theme
|
|
430
328
|
*/
|
|
431
|
-
theme: PropTypes__default
|
|
329
|
+
theme: PropTypes__default.oneOf(['dark', 'light']),
|
|
432
330
|
|
|
433
331
|
/**
|
|
434
332
|
* With custom link colors. Note: Only Hex colors are supported.
|
|
435
333
|
*/
|
|
436
|
-
linkColor: PropTypes__default
|
|
334
|
+
linkColor: PropTypes__default.string,
|
|
437
335
|
|
|
438
336
|
/**
|
|
439
337
|
* With custom border colors. Note: Only Hex colors are supported.
|
|
440
338
|
*/
|
|
441
|
-
borderColor: PropTypes__default
|
|
339
|
+
borderColor: PropTypes__default.string,
|
|
442
340
|
|
|
443
341
|
/**
|
|
444
342
|
* Hide the header from timeline
|
|
445
343
|
*/
|
|
446
|
-
noHeader: PropTypes__default
|
|
344
|
+
noHeader: PropTypes__default.bool,
|
|
447
345
|
|
|
448
346
|
/**
|
|
449
347
|
* Hide the footer from timeline
|
|
450
348
|
*/
|
|
451
|
-
noFooter: PropTypes__default
|
|
349
|
+
noFooter: PropTypes__default.bool,
|
|
452
350
|
|
|
453
351
|
/**
|
|
454
352
|
* Hide the border from timeline
|
|
455
353
|
*/
|
|
456
|
-
noBorders: PropTypes__default
|
|
354
|
+
noBorders: PropTypes__default.bool,
|
|
457
355
|
|
|
458
356
|
/**
|
|
459
357
|
* Hide the scrollbars
|
|
460
358
|
*/
|
|
461
|
-
noScrollbar: PropTypes__default
|
|
359
|
+
noScrollbar: PropTypes__default.bool,
|
|
462
360
|
|
|
463
361
|
/**
|
|
464
362
|
* Enable Transparancy
|
|
465
363
|
*/
|
|
466
|
-
transparent: PropTypes__default
|
|
364
|
+
transparent: PropTypes__default.bool,
|
|
467
365
|
|
|
468
366
|
/**
|
|
469
367
|
* Custom language code. Supported codes here: https://developer.twitter.com/en/docs/twitter-for-websites/twitter-for-websites-supported-languages/overview.html
|
|
470
368
|
*/
|
|
471
|
-
lang: PropTypes__default
|
|
369
|
+
lang: PropTypes__default.string,
|
|
472
370
|
|
|
473
371
|
/**
|
|
474
372
|
* Placeholder while tweet is loading
|
|
475
373
|
*/
|
|
476
|
-
placeholder: PropTypes__default
|
|
374
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
477
375
|
|
|
478
376
|
/**
|
|
479
377
|
* Function to execute after load, return html element
|
|
480
378
|
*/
|
|
481
|
-
onLoad: PropTypes__default
|
|
379
|
+
onLoad: PropTypes__default.func
|
|
482
380
|
});
|
|
483
381
|
|
|
484
382
|
var TwitterShareButton =
|
|
485
383
|
/*#__PURE__*/
|
|
486
384
|
function (_Component) {
|
|
487
|
-
_inherits(TwitterShareButton, _Component);
|
|
385
|
+
inherits$1$1._inherits(TwitterShareButton, _Component);
|
|
488
386
|
|
|
489
387
|
function TwitterShareButton(props) {
|
|
490
388
|
var _this;
|
|
491
389
|
|
|
492
|
-
_classCallCheck(this, TwitterShareButton);
|
|
390
|
+
inherits$1$1._classCallCheck(this, TwitterShareButton);
|
|
493
391
|
|
|
494
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterShareButton).call(this, props));
|
|
392
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterShareButton).call(this, props));
|
|
495
393
|
_this.state = {
|
|
496
394
|
isLoading: true
|
|
497
395
|
};
|
|
498
396
|
return _this;
|
|
499
397
|
}
|
|
500
398
|
|
|
501
|
-
_createClass(TwitterShareButton, [{
|
|
399
|
+
inherits$1$1._createClass(TwitterShareButton, [{
|
|
502
400
|
key: "componentDidMount",
|
|
503
401
|
value: function componentDidMount() {
|
|
504
402
|
var _this2 = this;
|
|
@@ -538,7 +436,7 @@ function (_Component) {
|
|
|
538
436
|
value: function render() {
|
|
539
437
|
var isLoading = this.state.isLoading;
|
|
540
438
|
var placeholder = this.props.placeholder;
|
|
541
|
-
return React__default
|
|
439
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
542
440
|
ref: "embedContainer"
|
|
543
441
|
}));
|
|
544
442
|
}
|
|
@@ -547,46 +445,46 @@ function (_Component) {
|
|
|
547
445
|
return TwitterShareButton;
|
|
548
446
|
}(React.Component);
|
|
549
447
|
|
|
550
|
-
_defineProperty(TwitterShareButton, "propTypes", {
|
|
448
|
+
inherits$1$1._defineProperty(TwitterShareButton, "propTypes", {
|
|
551
449
|
/**
|
|
552
450
|
* Url for sharing
|
|
553
451
|
*/
|
|
554
|
-
url: PropTypes__default
|
|
452
|
+
url: PropTypes__default.string.isRequired,
|
|
555
453
|
|
|
556
454
|
/**
|
|
557
455
|
* Additional options for overriding config. Details at : https://dev.twitter.com/web/tweet-button/parameters
|
|
558
456
|
*/
|
|
559
|
-
options: PropTypes__default
|
|
457
|
+
options: PropTypes__default.object,
|
|
560
458
|
|
|
561
459
|
/**
|
|
562
460
|
* Placeholder while tweet is loading
|
|
563
461
|
*/
|
|
564
|
-
placeholder: PropTypes__default
|
|
462
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
565
463
|
|
|
566
464
|
/**
|
|
567
465
|
* Function to execute after load, return html element
|
|
568
466
|
*/
|
|
569
|
-
onLoad: PropTypes__default
|
|
467
|
+
onLoad: PropTypes__default.func
|
|
570
468
|
});
|
|
571
469
|
|
|
572
470
|
var TwitterFollowButton =
|
|
573
471
|
/*#__PURE__*/
|
|
574
472
|
function (_Component) {
|
|
575
|
-
_inherits(TwitterFollowButton, _Component);
|
|
473
|
+
inherits$1$1._inherits(TwitterFollowButton, _Component);
|
|
576
474
|
|
|
577
475
|
function TwitterFollowButton(props) {
|
|
578
476
|
var _this;
|
|
579
477
|
|
|
580
|
-
_classCallCheck(this, TwitterFollowButton);
|
|
478
|
+
inherits$1$1._classCallCheck(this, TwitterFollowButton);
|
|
581
479
|
|
|
582
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
480
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterFollowButton).call(this, props));
|
|
583
481
|
_this.state = {
|
|
584
482
|
isLoading: true
|
|
585
483
|
};
|
|
586
484
|
return _this;
|
|
587
485
|
}
|
|
588
486
|
|
|
589
|
-
_createClass(TwitterFollowButton, [{
|
|
487
|
+
inherits$1$1._createClass(TwitterFollowButton, [{
|
|
590
488
|
key: "componentDidMount",
|
|
591
489
|
value: function componentDidMount() {
|
|
592
490
|
var _this2 = this;
|
|
@@ -626,7 +524,7 @@ function (_Component) {
|
|
|
626
524
|
value: function render() {
|
|
627
525
|
var isLoading = this.state.isLoading;
|
|
628
526
|
var placeholder = this.props.placeholder;
|
|
629
|
-
return React__default
|
|
527
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
630
528
|
ref: "embedContainer"
|
|
631
529
|
}));
|
|
632
530
|
}
|
|
@@ -635,46 +533,46 @@ function (_Component) {
|
|
|
635
533
|
return TwitterFollowButton;
|
|
636
534
|
}(React.Component);
|
|
637
535
|
|
|
638
|
-
_defineProperty(TwitterFollowButton, "propTypes", {
|
|
536
|
+
inherits$1$1._defineProperty(TwitterFollowButton, "propTypes", {
|
|
639
537
|
/**
|
|
640
538
|
* Username of twitter user which will be followed on click
|
|
641
539
|
*/
|
|
642
|
-
screenName: PropTypes__default
|
|
540
|
+
screenName: PropTypes__default.string.isRequired,
|
|
643
541
|
|
|
644
542
|
/**
|
|
645
543
|
* Additional options to be added to the button
|
|
646
544
|
*/
|
|
647
|
-
options: PropTypes__default
|
|
545
|
+
options: PropTypes__default.object,
|
|
648
546
|
|
|
649
547
|
/**
|
|
650
548
|
* Placeholder while tweet is loading
|
|
651
549
|
*/
|
|
652
|
-
placeholder: PropTypes__default
|
|
550
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
653
551
|
|
|
654
552
|
/**
|
|
655
553
|
* Function to execute after load, return html element
|
|
656
554
|
*/
|
|
657
|
-
onLoad: PropTypes__default
|
|
555
|
+
onLoad: PropTypes__default.func
|
|
658
556
|
});
|
|
659
557
|
|
|
660
558
|
var TwitterHashtagButton =
|
|
661
559
|
/*#__PURE__*/
|
|
662
560
|
function (_Component) {
|
|
663
|
-
_inherits(TwitterHashtagButton, _Component);
|
|
561
|
+
inherits$1$1._inherits(TwitterHashtagButton, _Component);
|
|
664
562
|
|
|
665
563
|
function TwitterHashtagButton(props) {
|
|
666
564
|
var _this;
|
|
667
565
|
|
|
668
|
-
_classCallCheck(this, TwitterHashtagButton);
|
|
566
|
+
inherits$1$1._classCallCheck(this, TwitterHashtagButton);
|
|
669
567
|
|
|
670
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
568
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterHashtagButton).call(this, props));
|
|
671
569
|
_this.state = {
|
|
672
570
|
isLoading: true
|
|
673
571
|
};
|
|
674
572
|
return _this;
|
|
675
573
|
}
|
|
676
574
|
|
|
677
|
-
_createClass(TwitterHashtagButton, [{
|
|
575
|
+
inherits$1$1._createClass(TwitterHashtagButton, [{
|
|
678
576
|
key: "componentDidMount",
|
|
679
577
|
value: function componentDidMount() {
|
|
680
578
|
var _this2 = this;
|
|
@@ -714,7 +612,7 @@ function (_Component) {
|
|
|
714
612
|
value: function render() {
|
|
715
613
|
var isLoading = this.state.isLoading;
|
|
716
614
|
var placeholder = this.props.placeholder;
|
|
717
|
-
return React__default
|
|
615
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
718
616
|
ref: "embedContainer"
|
|
719
617
|
}));
|
|
720
618
|
}
|
|
@@ -723,46 +621,46 @@ function (_Component) {
|
|
|
723
621
|
return TwitterHashtagButton;
|
|
724
622
|
}(React.Component);
|
|
725
623
|
|
|
726
|
-
_defineProperty(TwitterHashtagButton, "propTypes", {
|
|
624
|
+
inherits$1$1._defineProperty(TwitterHashtagButton, "propTypes", {
|
|
727
625
|
/**
|
|
728
626
|
* Tag name for hashtag button
|
|
729
627
|
*/
|
|
730
|
-
tag: PropTypes__default
|
|
628
|
+
tag: PropTypes__default.string.isRequired,
|
|
731
629
|
|
|
732
630
|
/**
|
|
733
631
|
* Additional options to be added to the button
|
|
734
632
|
*/
|
|
735
|
-
options: PropTypes__default
|
|
633
|
+
options: PropTypes__default.object,
|
|
736
634
|
|
|
737
635
|
/**
|
|
738
636
|
* Placeholder while tweet is loading
|
|
739
637
|
*/
|
|
740
|
-
placeholder: PropTypes__default
|
|
638
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
741
639
|
|
|
742
640
|
/**
|
|
743
641
|
* Function to execute after load, return html element
|
|
744
642
|
*/
|
|
745
|
-
onLoad: PropTypes__default
|
|
643
|
+
onLoad: PropTypes__default.func
|
|
746
644
|
});
|
|
747
645
|
|
|
748
646
|
var TwitterMentionButton =
|
|
749
647
|
/*#__PURE__*/
|
|
750
648
|
function (_Component) {
|
|
751
|
-
_inherits(TwitterMentionButton, _Component);
|
|
649
|
+
inherits$1$1._inherits(TwitterMentionButton, _Component);
|
|
752
650
|
|
|
753
651
|
function TwitterMentionButton(props) {
|
|
754
652
|
var _this;
|
|
755
653
|
|
|
756
|
-
_classCallCheck(this, TwitterMentionButton);
|
|
654
|
+
inherits$1$1._classCallCheck(this, TwitterMentionButton);
|
|
757
655
|
|
|
758
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
656
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMentionButton).call(this, props));
|
|
759
657
|
_this.state = {
|
|
760
658
|
isLoading: true
|
|
761
659
|
};
|
|
762
660
|
return _this;
|
|
763
661
|
}
|
|
764
662
|
|
|
765
|
-
_createClass(TwitterMentionButton, [{
|
|
663
|
+
inherits$1$1._createClass(TwitterMentionButton, [{
|
|
766
664
|
key: "componentDidMount",
|
|
767
665
|
value: function componentDidMount() {
|
|
768
666
|
var _this2 = this;
|
|
@@ -802,7 +700,7 @@ function (_Component) {
|
|
|
802
700
|
value: function render() {
|
|
803
701
|
var isLoading = this.state.isLoading;
|
|
804
702
|
var placeholder = this.props.placeholder;
|
|
805
|
-
return React__default
|
|
703
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
806
704
|
ref: "embedContainer"
|
|
807
705
|
}));
|
|
808
706
|
}
|
|
@@ -811,46 +709,46 @@ function (_Component) {
|
|
|
811
709
|
return TwitterMentionButton;
|
|
812
710
|
}(React.Component);
|
|
813
711
|
|
|
814
|
-
_defineProperty(TwitterMentionButton, "propTypes", {
|
|
712
|
+
inherits$1$1._defineProperty(TwitterMentionButton, "propTypes", {
|
|
815
713
|
/**
|
|
816
714
|
* Username to which you will need to tweet
|
|
817
715
|
*/
|
|
818
|
-
screenName: PropTypes__default
|
|
716
|
+
screenName: PropTypes__default.string.isRequired,
|
|
819
717
|
|
|
820
718
|
/**
|
|
821
719
|
* Additional options for overriding config.
|
|
822
720
|
*/
|
|
823
|
-
options: PropTypes__default
|
|
721
|
+
options: PropTypes__default.object,
|
|
824
722
|
|
|
825
723
|
/**
|
|
826
724
|
* Placeholder while tweet is loading
|
|
827
725
|
*/
|
|
828
|
-
placeholder: PropTypes__default
|
|
726
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
829
727
|
|
|
830
728
|
/**
|
|
831
729
|
* Function to execute after load, return html element
|
|
832
730
|
*/
|
|
833
|
-
onLoad: PropTypes__default
|
|
731
|
+
onLoad: PropTypes__default.func
|
|
834
732
|
});
|
|
835
733
|
|
|
836
734
|
var TwitterTweetEmbed =
|
|
837
735
|
/*#__PURE__*/
|
|
838
736
|
function (_Component) {
|
|
839
|
-
_inherits(TwitterTweetEmbed, _Component);
|
|
737
|
+
inherits$1$1._inherits(TwitterTweetEmbed, _Component);
|
|
840
738
|
|
|
841
739
|
function TwitterTweetEmbed(props) {
|
|
842
740
|
var _this;
|
|
843
741
|
|
|
844
|
-
_classCallCheck(this, TwitterTweetEmbed);
|
|
742
|
+
inherits$1$1._classCallCheck(this, TwitterTweetEmbed);
|
|
845
743
|
|
|
846
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
744
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterTweetEmbed).call(this, props));
|
|
847
745
|
_this.state = {
|
|
848
746
|
isLoading: true
|
|
849
747
|
};
|
|
850
748
|
return _this;
|
|
851
749
|
}
|
|
852
750
|
|
|
853
|
-
_createClass(TwitterTweetEmbed, [{
|
|
751
|
+
inherits$1$1._createClass(TwitterTweetEmbed, [{
|
|
854
752
|
key: "renderWidget",
|
|
855
753
|
value: function renderWidget() {
|
|
856
754
|
var _this2 = this;
|
|
@@ -897,7 +795,7 @@ function (_Component) {
|
|
|
897
795
|
value: function render() {
|
|
898
796
|
var isLoading = this.state.isLoading;
|
|
899
797
|
var placeholder = this.props.placeholder;
|
|
900
|
-
return React__default
|
|
798
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
901
799
|
ref: "embedContainer"
|
|
902
800
|
}));
|
|
903
801
|
}
|
|
@@ -906,46 +804,46 @@ function (_Component) {
|
|
|
906
804
|
return TwitterTweetEmbed;
|
|
907
805
|
}(React.Component);
|
|
908
806
|
|
|
909
|
-
_defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
807
|
+
inherits$1$1._defineProperty(TwitterTweetEmbed, "propTypes", {
|
|
910
808
|
/**
|
|
911
809
|
* Tweet id that needs to be shown
|
|
912
810
|
*/
|
|
913
|
-
tweetId: PropTypes__default
|
|
811
|
+
tweetId: PropTypes__default.string.isRequired,
|
|
914
812
|
|
|
915
813
|
/**
|
|
916
814
|
* Additional options to pass to twitter widget plugin
|
|
917
815
|
*/
|
|
918
|
-
options: PropTypes__default
|
|
816
|
+
options: PropTypes__default.object,
|
|
919
817
|
|
|
920
818
|
/**
|
|
921
819
|
* Placeholder while tweet is loading
|
|
922
820
|
*/
|
|
923
|
-
placeholder: PropTypes__default
|
|
821
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
924
822
|
|
|
925
823
|
/**
|
|
926
824
|
* Function to execute after load, return html element
|
|
927
825
|
*/
|
|
928
|
-
onLoad: PropTypes__default
|
|
826
|
+
onLoad: PropTypes__default.func
|
|
929
827
|
});
|
|
930
828
|
|
|
931
829
|
var TwitterMomentShare =
|
|
932
830
|
/*#__PURE__*/
|
|
933
831
|
function (_Component) {
|
|
934
|
-
_inherits(TwitterMomentShare, _Component);
|
|
832
|
+
inherits$1$1._inherits(TwitterMomentShare, _Component);
|
|
935
833
|
|
|
936
834
|
function TwitterMomentShare(props) {
|
|
937
835
|
var _this;
|
|
938
836
|
|
|
939
|
-
_classCallCheck(this, TwitterMomentShare);
|
|
837
|
+
inherits$1$1._classCallCheck(this, TwitterMomentShare);
|
|
940
838
|
|
|
941
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
839
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterMomentShare).call(this, props));
|
|
942
840
|
_this.state = {
|
|
943
841
|
isLoading: true
|
|
944
842
|
};
|
|
945
843
|
return _this;
|
|
946
844
|
}
|
|
947
845
|
|
|
948
|
-
_createClass(TwitterMomentShare, [{
|
|
846
|
+
inherits$1$1._createClass(TwitterMomentShare, [{
|
|
949
847
|
key: "componentDidMount",
|
|
950
848
|
value: function componentDidMount() {
|
|
951
849
|
var _this2 = this;
|
|
@@ -985,7 +883,7 @@ function (_Component) {
|
|
|
985
883
|
value: function render() {
|
|
986
884
|
var isLoading = this.state.isLoading;
|
|
987
885
|
var placeholder = this.props.placeholder;
|
|
988
|
-
return React__default
|
|
886
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
989
887
|
ref: "shareMoment"
|
|
990
888
|
}));
|
|
991
889
|
}
|
|
@@ -994,46 +892,46 @@ function (_Component) {
|
|
|
994
892
|
return TwitterMomentShare;
|
|
995
893
|
}(React.Component);
|
|
996
894
|
|
|
997
|
-
_defineProperty(TwitterMomentShare, "propTypes", {
|
|
895
|
+
inherits$1$1._defineProperty(TwitterMomentShare, "propTypes", {
|
|
998
896
|
/**
|
|
999
897
|
* id of Twitter moment to show
|
|
1000
898
|
*/
|
|
1001
|
-
momentId: PropTypes__default
|
|
899
|
+
momentId: PropTypes__default.string.isRequired,
|
|
1002
900
|
|
|
1003
901
|
/**
|
|
1004
902
|
* Additional options for overriding config.
|
|
1005
903
|
*/
|
|
1006
|
-
options: PropTypes__default
|
|
904
|
+
options: PropTypes__default.object,
|
|
1007
905
|
|
|
1008
906
|
/**
|
|
1009
907
|
* Placeholder while tweet is loading
|
|
1010
908
|
*/
|
|
1011
|
-
placeholder: PropTypes__default
|
|
909
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1012
910
|
|
|
1013
911
|
/**
|
|
1014
912
|
* Function to execute after load, return html element
|
|
1015
913
|
*/
|
|
1016
|
-
onLoad: PropTypes__default
|
|
914
|
+
onLoad: PropTypes__default.func
|
|
1017
915
|
});
|
|
1018
916
|
|
|
1019
917
|
var TwitterDMButton =
|
|
1020
918
|
/*#__PURE__*/
|
|
1021
919
|
function (_Component) {
|
|
1022
|
-
_inherits(TwitterDMButton, _Component);
|
|
920
|
+
inherits$1$1._inherits(TwitterDMButton, _Component);
|
|
1023
921
|
|
|
1024
922
|
function TwitterDMButton(props) {
|
|
1025
923
|
var _this;
|
|
1026
924
|
|
|
1027
|
-
_classCallCheck(this, TwitterDMButton);
|
|
925
|
+
inherits$1$1._classCallCheck(this, TwitterDMButton);
|
|
1028
926
|
|
|
1029
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterDMButton).call(this, props));
|
|
927
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterDMButton).call(this, props));
|
|
1030
928
|
_this.state = {
|
|
1031
929
|
isLoading: true
|
|
1032
930
|
};
|
|
1033
931
|
return _this;
|
|
1034
932
|
}
|
|
1035
933
|
|
|
1036
|
-
_createClass(TwitterDMButton, [{
|
|
934
|
+
inherits$1$1._createClass(TwitterDMButton, [{
|
|
1037
935
|
key: "componentDidMount",
|
|
1038
936
|
value: function componentDidMount() {
|
|
1039
937
|
var _this2 = this;
|
|
@@ -1073,7 +971,7 @@ function (_Component) {
|
|
|
1073
971
|
value: function render() {
|
|
1074
972
|
var isLoading = this.state.isLoading;
|
|
1075
973
|
var placeholder = this.props.placeholder;
|
|
1076
|
-
return React__default
|
|
974
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1077
975
|
ref: "embedContainer"
|
|
1078
976
|
}));
|
|
1079
977
|
}
|
|
@@ -1082,46 +980,46 @@ function (_Component) {
|
|
|
1082
980
|
return TwitterDMButton;
|
|
1083
981
|
}(React.Component);
|
|
1084
982
|
|
|
1085
|
-
_defineProperty(TwitterDMButton, "propTypes", {
|
|
983
|
+
inherits$1$1._defineProperty(TwitterDMButton, "propTypes", {
|
|
1086
984
|
/**
|
|
1087
985
|
* Twitter user id for DM button
|
|
1088
986
|
*/
|
|
1089
|
-
id: PropTypes__default
|
|
987
|
+
id: PropTypes__default.number.isRequired,
|
|
1090
988
|
|
|
1091
989
|
/**
|
|
1092
990
|
* Additional options to be added to the button
|
|
1093
991
|
*/
|
|
1094
|
-
options: PropTypes__default
|
|
992
|
+
options: PropTypes__default.object,
|
|
1095
993
|
|
|
1096
994
|
/**
|
|
1097
995
|
* Placeholder while tweet is loading
|
|
1098
996
|
*/
|
|
1099
|
-
placeholder: PropTypes__default
|
|
997
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1100
998
|
|
|
1101
999
|
/**
|
|
1102
1000
|
* Function to execute after load, return html element
|
|
1103
1001
|
*/
|
|
1104
|
-
onLoad: PropTypes__default
|
|
1002
|
+
onLoad: PropTypes__default.func
|
|
1105
1003
|
});
|
|
1106
1004
|
|
|
1107
1005
|
var TwitterVideoEmbed =
|
|
1108
1006
|
/*#__PURE__*/
|
|
1109
1007
|
function (_Component) {
|
|
1110
|
-
_inherits(TwitterVideoEmbed, _Component);
|
|
1008
|
+
inherits$1$1._inherits(TwitterVideoEmbed, _Component);
|
|
1111
1009
|
|
|
1112
1010
|
function TwitterVideoEmbed(props) {
|
|
1113
1011
|
var _this;
|
|
1114
1012
|
|
|
1115
|
-
_classCallCheck(this, TwitterVideoEmbed);
|
|
1013
|
+
inherits$1$1._classCallCheck(this, TwitterVideoEmbed);
|
|
1116
1014
|
|
|
1117
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1015
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterVideoEmbed).call(this, props));
|
|
1118
1016
|
_this.state = {
|
|
1119
1017
|
isLoading: true
|
|
1120
1018
|
};
|
|
1121
1019
|
return _this;
|
|
1122
1020
|
}
|
|
1123
1021
|
|
|
1124
|
-
_createClass(TwitterVideoEmbed, [{
|
|
1022
|
+
inherits$1$1._createClass(TwitterVideoEmbed, [{
|
|
1125
1023
|
key: "componentDidMount",
|
|
1126
1024
|
value: function componentDidMount() {
|
|
1127
1025
|
var _this2 = this;
|
|
@@ -1161,7 +1059,7 @@ function (_Component) {
|
|
|
1161
1059
|
value: function render() {
|
|
1162
1060
|
var isLoading = this.state.isLoading;
|
|
1163
1061
|
var placeholder = this.props.placeholder;
|
|
1164
|
-
return React__default
|
|
1062
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1165
1063
|
ref: "embedContainer"
|
|
1166
1064
|
}));
|
|
1167
1065
|
}
|
|
@@ -1170,41 +1068,41 @@ function (_Component) {
|
|
|
1170
1068
|
return TwitterVideoEmbed;
|
|
1171
1069
|
}(React.Component);
|
|
1172
1070
|
|
|
1173
|
-
_defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1071
|
+
inherits$1$1._defineProperty(TwitterVideoEmbed, "propTypes", {
|
|
1174
1072
|
/**
|
|
1175
1073
|
* Id of video tweet.
|
|
1176
1074
|
*/
|
|
1177
|
-
id: PropTypes__default
|
|
1075
|
+
id: PropTypes__default.string.isRequired,
|
|
1178
1076
|
|
|
1179
1077
|
/**
|
|
1180
1078
|
* Placeholder while tweet is loading
|
|
1181
1079
|
*/
|
|
1182
|
-
placeholder: PropTypes__default
|
|
1080
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1183
1081
|
|
|
1184
1082
|
/**
|
|
1185
1083
|
* Function to execute after load, return html element
|
|
1186
1084
|
*/
|
|
1187
|
-
onLoad: PropTypes__default
|
|
1085
|
+
onLoad: PropTypes__default.func
|
|
1188
1086
|
});
|
|
1189
1087
|
|
|
1190
1088
|
var TwitterOnAirButton =
|
|
1191
1089
|
/*#__PURE__*/
|
|
1192
1090
|
function (_Component) {
|
|
1193
|
-
_inherits(TwitterOnAirButton, _Component);
|
|
1091
|
+
inherits$1$1._inherits(TwitterOnAirButton, _Component);
|
|
1194
1092
|
|
|
1195
1093
|
function TwitterOnAirButton(props) {
|
|
1196
1094
|
var _this;
|
|
1197
1095
|
|
|
1198
|
-
_classCallCheck(this, TwitterOnAirButton);
|
|
1096
|
+
inherits$1$1._classCallCheck(this, TwitterOnAirButton);
|
|
1199
1097
|
|
|
1200
|
-
_this = _possibleConstructorReturn(this, _getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1098
|
+
_this = inherits$1$1._possibleConstructorReturn(this, inherits$1$1._getPrototypeOf(TwitterOnAirButton).call(this, props));
|
|
1201
1099
|
_this.state = {
|
|
1202
1100
|
isLoading: true
|
|
1203
1101
|
};
|
|
1204
1102
|
return _this;
|
|
1205
1103
|
}
|
|
1206
1104
|
|
|
1207
|
-
_createClass(TwitterOnAirButton, [{
|
|
1105
|
+
inherits$1$1._createClass(TwitterOnAirButton, [{
|
|
1208
1106
|
key: "componentDidMount",
|
|
1209
1107
|
value: function componentDidMount() {
|
|
1210
1108
|
var _this2 = this;
|
|
@@ -1244,7 +1142,7 @@ function (_Component) {
|
|
|
1244
1142
|
value: function render() {
|
|
1245
1143
|
var isLoading = this.state.isLoading;
|
|
1246
1144
|
var placeholder = this.props.placeholder;
|
|
1247
|
-
return React__default
|
|
1145
|
+
return React__default.createElement(React__default.Fragment, null, isLoading && placeholder, React__default.createElement("div", {
|
|
1248
1146
|
ref: "embedContainer"
|
|
1249
1147
|
}));
|
|
1250
1148
|
}
|
|
@@ -1253,26 +1151,26 @@ function (_Component) {
|
|
|
1253
1151
|
return TwitterOnAirButton;
|
|
1254
1152
|
}(React.Component);
|
|
1255
1153
|
|
|
1256
|
-
_defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1154
|
+
inherits$1$1._defineProperty(TwitterOnAirButton, "propTypes", {
|
|
1257
1155
|
/**
|
|
1258
1156
|
* Username for which you require periscope on air button
|
|
1259
1157
|
*/
|
|
1260
|
-
username: PropTypes__default
|
|
1158
|
+
username: PropTypes__default.string.isRequired,
|
|
1261
1159
|
|
|
1262
1160
|
/**
|
|
1263
1161
|
* Additional options for overriding config.
|
|
1264
1162
|
*/
|
|
1265
|
-
options: PropTypes__default
|
|
1163
|
+
options: PropTypes__default.object,
|
|
1266
1164
|
|
|
1267
1165
|
/**
|
|
1268
1166
|
* Placeholder while tweet is loading
|
|
1269
1167
|
*/
|
|
1270
|
-
placeholder: PropTypes__default
|
|
1168
|
+
placeholder: PropTypes__default.oneOfType([PropTypes__default.string, PropTypes__default.element]),
|
|
1271
1169
|
|
|
1272
1170
|
/**
|
|
1273
1171
|
* Function to execute after load, return html element
|
|
1274
1172
|
*/
|
|
1275
|
-
onLoad: PropTypes__default
|
|
1173
|
+
onLoad: PropTypes__default.func
|
|
1276
1174
|
});
|
|
1277
1175
|
|
|
1278
1176
|
var ImageSlider = function ImageSlider(props) {
|
|
@@ -1382,61 +1280,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
1382
1280
|
}, []);
|
|
1383
1281
|
|
|
1384
1282
|
var variant = 'black';
|
|
1385
|
-
return React__default
|
|
1386
|
-
React__default
|
|
1283
|
+
return React__default.createElement(
|
|
1284
|
+
React__default.Fragment,
|
|
1387
1285
|
null,
|
|
1388
|
-
React__default
|
|
1286
|
+
React__default.createElement(
|
|
1389
1287
|
'div',
|
|
1390
1288
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
1391
|
-
React__default
|
|
1289
|
+
React__default.createElement(
|
|
1392
1290
|
'div',
|
|
1393
1291
|
{ className: 'row' },
|
|
1394
|
-
showScroller && React__default
|
|
1292
|
+
showScroller && React__default.createElement(
|
|
1395
1293
|
'div',
|
|
1396
1294
|
{ onClick: function onClick(e) {
|
|
1397
1295
|
return scrollSlider(e, 'prev');
|
|
1398
1296
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
1399
|
-
React__default
|
|
1297
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
1400
1298
|
),
|
|
1401
|
-
showScroller && React__default
|
|
1299
|
+
showScroller && React__default.createElement(
|
|
1402
1300
|
'div',
|
|
1403
1301
|
{ onClick: function onClick(e) {
|
|
1404
1302
|
return scrollSlider(e, 'next');
|
|
1405
1303
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
1406
|
-
React__default
|
|
1304
|
+
React__default.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
1407
1305
|
),
|
|
1408
|
-
React__default
|
|
1306
|
+
React__default.createElement(
|
|
1409
1307
|
'div',
|
|
1410
1308
|
{ ref: innerSlider, className: 'row__inner' },
|
|
1411
1309
|
props.data.slides.map(function (img, index) {
|
|
1412
1310
|
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
1413
1311
|
if (!img.slideshowImage.link) {
|
|
1414
|
-
return React__default
|
|
1312
|
+
return React__default.createElement(
|
|
1415
1313
|
'div',
|
|
1416
1314
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
1417
|
-
React__default
|
|
1315
|
+
React__default.createElement(
|
|
1418
1316
|
'div',
|
|
1419
1317
|
{ className: 'tile__media' },
|
|
1420
|
-
React__default
|
|
1318
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1421
1319
|
),
|
|
1422
|
-
React__default
|
|
1320
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1423
1321
|
);
|
|
1424
1322
|
} else {
|
|
1425
|
-
return React__default
|
|
1323
|
+
return React__default.createElement(
|
|
1426
1324
|
'a',
|
|
1427
1325
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
1428
|
-
React__default
|
|
1326
|
+
React__default.createElement(
|
|
1429
1327
|
'div',
|
|
1430
1328
|
{ className: 'tile__media' },
|
|
1431
|
-
React__default
|
|
1329
|
+
React__default.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
1432
1330
|
),
|
|
1433
|
-
React__default
|
|
1331
|
+
React__default.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
1434
1332
|
);
|
|
1435
1333
|
}
|
|
1436
1334
|
})
|
|
1437
1335
|
)
|
|
1438
1336
|
),
|
|
1439
|
-
React__default
|
|
1337
|
+
React__default.createElement(
|
|
1440
1338
|
'style',
|
|
1441
1339
|
{ jsx: 'true' },
|
|
1442
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 '
|
|
@@ -1459,95 +1357,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
1459
1357
|
pageview = _ref.pageview,
|
|
1460
1358
|
page = _ref.page;
|
|
1461
1359
|
|
|
1462
|
-
return React__default
|
|
1463
|
-
React__default
|
|
1360
|
+
return React__default.createElement(
|
|
1361
|
+
React__default.Fragment,
|
|
1464
1362
|
null,
|
|
1465
|
-
React__default
|
|
1466
|
-
React__default
|
|
1363
|
+
React__default.createElement(Breadcrumbs, null),
|
|
1364
|
+
React__default.createElement(
|
|
1467
1365
|
'div',
|
|
1468
1366
|
{ className: 'partners-page' },
|
|
1469
|
-
React__default
|
|
1367
|
+
React__default.createElement(
|
|
1470
1368
|
'div',
|
|
1471
1369
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
1472
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default
|
|
1370
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React__default.createElement(
|
|
1473
1371
|
'a',
|
|
1474
1372
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
1475
|
-
React__default
|
|
1373
|
+
React__default.createElement(
|
|
1476
1374
|
'figure',
|
|
1477
1375
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
1478
|
-
React__default
|
|
1376
|
+
React__default.createElement('img', {
|
|
1479
1377
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1480
1378
|
style: { maxWidth: '100%' },
|
|
1481
1379
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
1482
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1380
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
1483
1381
|
'figcaption',
|
|
1484
1382
|
null,
|
|
1485
1383
|
partnerDetails.thumbnail.caption
|
|
1486
1384
|
)
|
|
1487
1385
|
)
|
|
1488
|
-
) : React__default
|
|
1386
|
+
) : React__default.createElement(
|
|
1489
1387
|
'figure',
|
|
1490
1388
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
1491
|
-
React__default
|
|
1389
|
+
React__default.createElement('img', {
|
|
1492
1390
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
1493
1391
|
style: { maxWidth: '100%' },
|
|
1494
1392
|
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
1495
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default
|
|
1393
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React__default.createElement(
|
|
1496
1394
|
'figcaption',
|
|
1497
1395
|
null,
|
|
1498
1396
|
partnerDetails.thumbnail.caption
|
|
1499
1397
|
)
|
|
1500
1398
|
),
|
|
1501
|
-
React__default
|
|
1399
|
+
React__default.createElement(
|
|
1502
1400
|
'style',
|
|
1503
1401
|
{ jsx: 'true' },
|
|
1504
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 '
|
|
1505
1403
|
),
|
|
1506
|
-
partnerDetails.description && React__default
|
|
1404
|
+
partnerDetails.description && React__default.createElement(
|
|
1507
1405
|
'div',
|
|
1508
1406
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
1509
|
-
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()))
|
|
1510
1408
|
)
|
|
1511
1409
|
),
|
|
1512
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default
|
|
1410
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React__default.createElement(
|
|
1513
1411
|
'div',
|
|
1514
1412
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
1515
|
-
partnerDetails.affiliates[0].title && React__default
|
|
1413
|
+
partnerDetails.affiliates[0].title && React__default.createElement(
|
|
1516
1414
|
'h2',
|
|
1517
1415
|
{ className: 'bb-gold' },
|
|
1518
1416
|
partnerDetails.affiliates[0].title
|
|
1519
1417
|
),
|
|
1520
|
-
React__default
|
|
1418
|
+
React__default.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
1521
1419
|
),
|
|
1522
|
-
features.length > 0 && React__default
|
|
1420
|
+
features.length > 0 && React__default.createElement(
|
|
1523
1421
|
'div',
|
|
1524
1422
|
{ className: ' mb-5' },
|
|
1525
|
-
React__default
|
|
1423
|
+
React__default.createElement(Feature, { dataset: features, client: client })
|
|
1526
1424
|
),
|
|
1527
|
-
partnerDetails.twitter && React__default
|
|
1528
|
-
React__default
|
|
1425
|
+
partnerDetails.twitter && React__default.createElement(
|
|
1426
|
+
React__default.Fragment,
|
|
1529
1427
|
null,
|
|
1530
|
-
React__default
|
|
1428
|
+
React__default.createElement(
|
|
1531
1429
|
'div',
|
|
1532
1430
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
1533
|
-
React__default
|
|
1431
|
+
React__default.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
1534
1432
|
)
|
|
1535
1433
|
),
|
|
1536
|
-
React__default
|
|
1434
|
+
React__default.createElement(
|
|
1537
1435
|
'div',
|
|
1538
1436
|
null,
|
|
1539
|
-
posts && posts.length > 0 && React__default
|
|
1540
|
-
React__default
|
|
1437
|
+
posts && posts.length > 0 && React__default.createElement(
|
|
1438
|
+
React__default.Fragment,
|
|
1541
1439
|
null,
|
|
1542
|
-
React__default
|
|
1440
|
+
React__default.createElement(
|
|
1543
1441
|
'h2',
|
|
1544
1442
|
{ className: 'bb-gold mb-2' },
|
|
1545
1443
|
'Latest from ',
|
|
1546
1444
|
partnerDetails.name
|
|
1547
1445
|
),
|
|
1548
|
-
React__default
|
|
1446
|
+
React__default.createElement('hr', null)
|
|
1549
1447
|
),
|
|
1550
|
-
React__default
|
|
1448
|
+
React__default.createElement(QueueDeckExpanded, {
|
|
1551
1449
|
client: client,
|
|
1552
1450
|
mapping: Settings.mapping,
|
|
1553
1451
|
dataRecord: posts,
|