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