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