hexo-component-inferno 3.0.0 → 3.1.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/lib/schema/comment/giscus.json +105 -0
- package/lib/schema/schema/comment/giscus.json +105 -0
- package/lib/view/comment/changyan.js +11 -12
- package/lib/view/comment/disqus.js +11 -12
- package/lib/view/comment/disqusjs.js +11 -12
- package/lib/view/comment/facebook.js +11 -12
- package/lib/view/comment/giscus.js +198 -0
- package/lib/view/comment/gitalk.js +11 -12
- package/lib/view/comment/gitment.js +11 -12
- package/lib/view/comment/isso.js +11 -12
- package/lib/view/comment/livere.js +11 -12
- package/lib/view/comment/twikoo.js +11 -12
- package/lib/view/comment/utterances.js +12 -13
- package/lib/view/comment/valine.js +11 -12
- package/lib/view/comment/waline.js +11 -12
- package/lib/view/common/article_media.js +11 -12
- package/lib/view/donate/afdian.js +11 -12
- package/lib/view/donate/alipay.js +11 -12
- package/lib/view/donate/buymeacoffee.js +11 -12
- package/lib/view/donate/patreon.js +11 -12
- package/lib/view/donate/paypal.js +11 -12
- package/lib/view/donate/wechat.js +11 -12
- package/lib/view/misc/article_licensing.js +11 -12
- package/lib/view/misc/meta.js +12 -13
- package/lib/view/misc/open_graph.js +11 -12
- package/lib/view/misc/paginator.js +11 -12
- package/lib/view/misc/structured_data.js +11 -12
- package/lib/view/misc/web_app.js +16 -17
- package/lib/view/plugin/baidu_analytics.js +11 -12
- package/lib/view/plugin/bing_webmaster.js +11 -12
- package/lib/view/plugin/busuanzi.js +11 -12
- package/lib/view/plugin/cnzz.js +11 -12
- package/lib/view/plugin/cookie_consent.js +11 -12
- package/lib/view/plugin/gallery.js +11 -12
- package/lib/view/plugin/google_analytics.js +11 -12
- package/lib/view/plugin/hotjar.js +11 -12
- package/lib/view/plugin/katex.js +11 -12
- package/lib/view/plugin/mathjax.js +11 -12
- package/lib/view/plugin/outdated_browser.js +11 -12
- package/lib/view/plugin/progressbar.js +11 -12
- package/lib/view/plugin/statcounter.js +11 -12
- package/lib/view/plugin/twitter_conversion_tracking.js +11 -12
- package/lib/view/search/algolia.js +11 -12
- package/lib/view/search/baidu.js +11 -12
- package/lib/view/search/google_cse.js +11 -12
- package/lib/view/search/insight.js +11 -12
- package/lib/view/share/addthis.js +11 -12
- package/lib/view/share/addtoany.js +11 -12
- package/lib/view/share/bdshare.js +11 -12
- package/lib/view/share/sharejs.js +11 -12
- package/lib/view/share/sharethis.js +11 -12
- package/lib/view/widget/adsense.js +11 -12
- package/lib/view/widget/archives.js +11 -12
- package/lib/view/widget/categories.js +11 -12
- package/lib/view/widget/followit.js +11 -12
- package/lib/view/widget/links.js +11 -12
- package/lib/view/widget/recent_posts.js +11 -12
- package/lib/view/widget/subscribe_email.js +11 -12
- package/lib/view/widget/tags.js +11 -12
- package/lib/view/widget/toc.js +14 -15
- package/lib/view/widget/toc.test.js +2 -2
- package/package.json +3 -2
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Statcounter statistics plugin JSX component.
|
|
19
19
|
* @module view/plugin/statcounter
|
|
@@ -31,12 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <Statcounter project="******" security="******" />
|
|
32
32
|
*/
|
|
33
33
|
var Statcounter = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(Statcounter, _Component);
|
|
35
34
|
function Statcounter() {
|
|
36
35
|
_classCallCheck(this, Statcounter);
|
|
37
36
|
return _callSuper(this, Statcounter, arguments);
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
_inherits(Statcounter, _Component);
|
|
39
|
+
return _createClass(Statcounter, [{
|
|
40
40
|
key: "render",
|
|
41
41
|
value: function render() {
|
|
42
42
|
var _this$props = this.props,
|
|
@@ -56,7 +56,6 @@ var Statcounter = /*#__PURE__*/function (_Component) {
|
|
|
56
56
|
}), 2), 2)], 4);
|
|
57
57
|
}
|
|
58
58
|
}]);
|
|
59
|
-
return Statcounter;
|
|
60
59
|
}(Component);
|
|
61
60
|
/**
|
|
62
61
|
* Cacheable Statcounter statistics plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Twitter conversion tracking plugin JSX component.
|
|
19
19
|
* @module view/plugin/twitter_conversion_tracking
|
|
@@ -31,12 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <TwiterCT pixelId="******" />
|
|
32
32
|
*/
|
|
33
33
|
var TwiterCT = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(TwiterCT, _Component);
|
|
35
34
|
function TwiterCT() {
|
|
36
35
|
_classCallCheck(this, TwiterCT);
|
|
37
36
|
return _callSuper(this, TwiterCT, arguments);
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
_inherits(TwiterCT, _Component);
|
|
39
|
+
return _createClass(TwiterCT, [{
|
|
40
40
|
key: "render",
|
|
41
41
|
value: function render() {
|
|
42
42
|
var pixelId = this.props.pixelId;
|
|
@@ -48,7 +48,6 @@ var TwiterCT = /*#__PURE__*/function (_Component) {
|
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
}]);
|
|
51
|
-
return TwiterCT;
|
|
52
51
|
}(Component);
|
|
53
52
|
/**
|
|
54
53
|
* Cacheable Twitter conversion tracking plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Algolia search engine JSX component.
|
|
19
19
|
* @module view/search/algolia
|
|
@@ -43,12 +43,12 @@ var _require2 = require('../../util/cache'),
|
|
|
43
43
|
* instantSearchUrl="******" />
|
|
44
44
|
*/
|
|
45
45
|
var Algolia = /*#__PURE__*/function (_Component) {
|
|
46
|
-
_inherits(Algolia, _Component);
|
|
47
46
|
function Algolia() {
|
|
48
47
|
_classCallCheck(this, Algolia);
|
|
49
48
|
return _callSuper(this, Algolia, arguments);
|
|
50
49
|
}
|
|
51
|
-
|
|
50
|
+
_inherits(Algolia, _Component);
|
|
51
|
+
return _createClass(Algolia, [{
|
|
52
52
|
key: "render",
|
|
53
53
|
value: function render() {
|
|
54
54
|
var _this$props = this.props,
|
|
@@ -93,7 +93,6 @@ var Algolia = /*#__PURE__*/function (_Component) {
|
|
|
93
93
|
})], 4);
|
|
94
94
|
}
|
|
95
95
|
}]);
|
|
96
|
-
return Algolia;
|
|
97
96
|
}(Component);
|
|
98
97
|
/**
|
|
99
98
|
* Cacheable Algolia search engine JSX component.
|
package/lib/view/search/baidu.js
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Baidu search engine JSX component.
|
|
19
19
|
* @module view/search/baidu
|
|
@@ -30,12 +30,12 @@ var _require2 = require('../../util/cache'),
|
|
|
30
30
|
* <Baidu url="/site/url" hint="Placeholder text" />
|
|
31
31
|
*/
|
|
32
32
|
var Baidu = /*#__PURE__*/function (_Component) {
|
|
33
|
-
_inherits(Baidu, _Component);
|
|
34
33
|
function Baidu() {
|
|
35
34
|
_classCallCheck(this, Baidu);
|
|
36
35
|
return _callSuper(this, Baidu, arguments);
|
|
37
36
|
}
|
|
38
|
-
|
|
37
|
+
_inherits(Baidu, _Component);
|
|
38
|
+
return _createClass(Baidu, [{
|
|
39
39
|
key: "render",
|
|
40
40
|
value: function render() {
|
|
41
41
|
var _this$props = this.props,
|
|
@@ -56,7 +56,6 @@ var Baidu = /*#__PURE__*/function (_Component) {
|
|
|
56
56
|
})], 4);
|
|
57
57
|
}
|
|
58
58
|
}]);
|
|
59
|
-
return Baidu;
|
|
60
59
|
}(Component);
|
|
61
60
|
/**
|
|
62
61
|
* Cacheable Baidu search engine JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Google custom search engine JSX component.
|
|
19
19
|
* @module view/search/google_cse
|
|
@@ -34,12 +34,12 @@ var _require2 = require('../../util/cache'),
|
|
|
34
34
|
* jsUrl="******" />
|
|
35
35
|
*/
|
|
36
36
|
var GoogleCSE = /*#__PURE__*/function (_Component) {
|
|
37
|
-
_inherits(GoogleCSE, _Component);
|
|
38
37
|
function GoogleCSE() {
|
|
39
38
|
_classCallCheck(this, GoogleCSE);
|
|
40
39
|
return _callSuper(this, GoogleCSE, arguments);
|
|
41
40
|
}
|
|
42
|
-
|
|
41
|
+
_inherits(GoogleCSE, _Component);
|
|
42
|
+
return _createClass(GoogleCSE, [{
|
|
43
43
|
key: "render",
|
|
44
44
|
value: function render() {
|
|
45
45
|
var _this$props = this.props,
|
|
@@ -76,7 +76,6 @@ var GoogleCSE = /*#__PURE__*/function (_Component) {
|
|
|
76
76
|
})], 4);
|
|
77
77
|
}
|
|
78
78
|
}]);
|
|
79
|
-
return GoogleCSE;
|
|
80
79
|
}(Component);
|
|
81
80
|
/**
|
|
82
81
|
* Cacheable Google custom search engine JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Insight search plugin JSX component.
|
|
19
19
|
* @module view/search/insight
|
|
@@ -40,12 +40,12 @@ var _require2 = require('../../util/cache'),
|
|
|
40
40
|
* jsUrl="/path/to/insight.js" />
|
|
41
41
|
*/
|
|
42
42
|
var Insight = /*#__PURE__*/function (_Component) {
|
|
43
|
-
_inherits(Insight, _Component);
|
|
44
43
|
function Insight() {
|
|
45
44
|
_classCallCheck(this, Insight);
|
|
46
45
|
return _callSuper(this, Insight, arguments);
|
|
47
46
|
}
|
|
48
|
-
|
|
47
|
+
_inherits(Insight, _Component);
|
|
48
|
+
return _createClass(Insight, [{
|
|
49
49
|
key: "render",
|
|
50
50
|
value: function render() {
|
|
51
51
|
var _this$props = this.props,
|
|
@@ -70,7 +70,6 @@ var Insight = /*#__PURE__*/function (_Component) {
|
|
|
70
70
|
})], 4);
|
|
71
71
|
}
|
|
72
72
|
}]);
|
|
73
|
-
return Insight;
|
|
74
73
|
}(Component);
|
|
75
74
|
/**
|
|
76
75
|
* Cacheable Insight search plugin JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* AddThis share buttons JSX component.
|
|
19
19
|
* @module view/share/addthis
|
|
@@ -31,12 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <AddThis installUrl="******" />
|
|
32
32
|
*/
|
|
33
33
|
var AddThis = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(AddThis, _Component);
|
|
35
34
|
function AddThis() {
|
|
36
35
|
_classCallCheck(this, AddThis);
|
|
37
36
|
return _callSuper(this, AddThis, arguments);
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
_inherits(AddThis, _Component);
|
|
39
|
+
return _createClass(AddThis, [{
|
|
40
40
|
key: "render",
|
|
41
41
|
value: function render() {
|
|
42
42
|
var installUrl = this.props.installUrl;
|
|
@@ -49,7 +49,6 @@ var AddThis = /*#__PURE__*/function (_Component) {
|
|
|
49
49
|
})], 4);
|
|
50
50
|
}
|
|
51
51
|
}]);
|
|
52
|
-
return AddThis;
|
|
53
52
|
}(Component);
|
|
54
53
|
/**
|
|
55
54
|
* Cacheable AddThis share buttons JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* AddToAny share buttons JSX component.
|
|
19
19
|
* @module view/share/addtoany
|
|
@@ -31,12 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <AddToAny />
|
|
32
32
|
*/
|
|
33
33
|
var AddToAny = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(AddToAny, _Component);
|
|
35
34
|
function AddToAny() {
|
|
36
35
|
_classCallCheck(this, AddToAny);
|
|
37
36
|
return _callSuper(this, AddToAny, arguments);
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
_inherits(AddToAny, _Component);
|
|
39
|
+
return _createClass(AddToAny, [{
|
|
40
40
|
key: "render",
|
|
41
41
|
value: function render() {
|
|
42
42
|
return (0, _inferno.createFragment)([(0, _inferno.createVNode)(1, "div", "a2a_kit a2a_kit_size_32 a2a_default_style", [(0, _inferno.createVNode)(1, "a", "a2a_dd", null, 1, {
|
|
@@ -47,7 +47,6 @@ var AddToAny = /*#__PURE__*/function (_Component) {
|
|
|
47
47
|
})], 4);
|
|
48
48
|
}
|
|
49
49
|
}]);
|
|
50
|
-
return AddToAny;
|
|
51
50
|
}(Component);
|
|
52
51
|
/**
|
|
53
52
|
* Cacheable AddToAny share buttons JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Baidu share buttons JSX component.
|
|
19
19
|
* @module view/share/bdshare
|
|
@@ -31,12 +31,12 @@ var _require2 = require('../../util/cache'),
|
|
|
31
31
|
* <BdShare />
|
|
32
32
|
*/
|
|
33
33
|
var BdShare = /*#__PURE__*/function (_Component) {
|
|
34
|
-
_inherits(BdShare, _Component);
|
|
35
34
|
function BdShare() {
|
|
36
35
|
_classCallCheck(this, BdShare);
|
|
37
36
|
return _callSuper(this, BdShare, arguments);
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
_inherits(BdShare, _Component);
|
|
39
|
+
return _createClass(BdShare, [{
|
|
40
40
|
key: "render",
|
|
41
41
|
value: function render() {
|
|
42
42
|
var js = 'window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdPic": "", "bdStyle": "0", "bdSize": "16" }, "share": {} }; with (document) 0[(getElementsByTagName(\'head\')[0] || body).appendChild(createElement(\'script\')).src = \'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=\' + ~(-new Date() / 36e5)];';
|
|
@@ -70,7 +70,6 @@ var BdShare = /*#__PURE__*/function (_Component) {
|
|
|
70
70
|
})], 4);
|
|
71
71
|
}
|
|
72
72
|
}]);
|
|
73
|
-
return BdShare;
|
|
74
73
|
}(Component);
|
|
75
74
|
/**
|
|
76
75
|
* Cacheable Baidu share buttons JSX component.
|