@x-edu/live-player 0.0.6 → 0.0.7
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.
|
@@ -8384,7 +8384,7 @@ module.exports = __webpack_require__(5666);
|
|
|
8384
8384
|
/***/ 3006:
|
|
8385
8385
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
8386
8386
|
|
|
8387
|
-
var _regeneratorRuntime = __webpack_require__(
|
|
8387
|
+
var _regeneratorRuntime = __webpack_require__(7757);
|
|
8388
8388
|
|
|
8389
8389
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
8390
8390
|
|
|
@@ -9500,6 +9500,14 @@ module.exports = __webpack_require__.p + "img/reload.3cf8ef22.png?x-bce-process=
|
|
|
9500
9500
|
|
|
9501
9501
|
/***/ }),
|
|
9502
9502
|
|
|
9503
|
+
/***/ 7943:
|
|
9504
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
9505
|
+
|
|
9506
|
+
"use strict";
|
|
9507
|
+
module.exports = __webpack_require__.p + "img/empty.f5848cfc.png";
|
|
9508
|
+
|
|
9509
|
+
/***/ }),
|
|
9510
|
+
|
|
9503
9511
|
/***/ 6996:
|
|
9504
9512
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
9505
9513
|
|
|
@@ -12572,7 +12580,6 @@ var index_module_update = injectStylesIntoStyleTag_default()(index_module/* defa
|
|
|
12572
12580
|
|
|
12573
12581
|
|
|
12574
12582
|
|
|
12575
|
-
var emptyImg = '@/component/Empty/img/empty.png';
|
|
12576
12583
|
function Empty_Empty(_ref) {
|
|
12577
12584
|
var _ref$hideBack = _ref.hideBack,
|
|
12578
12585
|
hideBack = _ref$hideBack === void 0 ? false : _ref$hideBack,
|
|
@@ -12589,7 +12596,7 @@ function Empty_Empty(_ref) {
|
|
|
12589
12596
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
|
|
12590
12597
|
className: classnames_default()(Empty_index_module["empty-wrap"], className)
|
|
12591
12598
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("img", {
|
|
12592
|
-
src:
|
|
12599
|
+
src: __webpack_require__(7943),
|
|
12593
12600
|
alt: ""
|
|
12594
12601
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("p", null, tip), description, !hideBack && (buttonRender || /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("a", {
|
|
12595
12602
|
className: Empty_index_module["go-other"],
|
|
@@ -12597,9 +12604,6 @@ function Empty_Empty(_ref) {
|
|
|
12597
12604
|
to: url
|
|
12598
12605
|
}, "\u770B\u770B\u5176\u5B83\u7684")));
|
|
12599
12606
|
}
|
|
12600
|
-
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
12601
|
-
var runtime_regenerator = __webpack_require__(5273);
|
|
12602
|
-
var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
|
|
12603
12607
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|
|
12604
12608
|
var axios = __webpack_require__(9669);
|
|
12605
12609
|
var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
|
|
@@ -13409,7 +13413,7 @@ function getServiceConfig(_x) {
|
|
|
13409
13413
|
}
|
|
13410
13414
|
|
|
13411
13415
|
function _getServiceConfig() {
|
|
13412
|
-
_getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/
|
|
13416
|
+
_getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(serviceName) {
|
|
13413
13417
|
var sdpAppId,
|
|
13414
13418
|
env,
|
|
13415
13419
|
key,
|
|
@@ -13421,7 +13425,7 @@ function _getServiceConfig() {
|
|
|
13421
13425
|
result,
|
|
13422
13426
|
ttl,
|
|
13423
13427
|
_args = arguments;
|
|
13424
|
-
return
|
|
13428
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
13425
13429
|
while (1) {
|
|
13426
13430
|
switch (_context.prev = _context.next) {
|
|
13427
13431
|
case 0:
|
|
@@ -13685,13 +13689,13 @@ function withOnce(fn) {
|
|
|
13685
13689
|
var lockPool = createLockPool();
|
|
13686
13690
|
|
|
13687
13691
|
var newFn = /*#__PURE__*/function () {
|
|
13688
|
-
var _ref3 = hof_asyncToGenerator( /*#__PURE__*/
|
|
13692
|
+
var _ref3 = hof_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2() {
|
|
13689
13693
|
var key,
|
|
13690
13694
|
lock,
|
|
13691
13695
|
lockId,
|
|
13692
13696
|
result,
|
|
13693
13697
|
_args2 = arguments;
|
|
13694
|
-
return
|
|
13698
|
+
return regenerator_default().wrap(function _callee2$(_context2) {
|
|
13695
13699
|
while (1) {
|
|
13696
13700
|
switch (_context2.prev = _context2.next) {
|
|
13697
13701
|
case 0:
|
|
@@ -14197,9 +14201,9 @@ function _getLiveAPICache() {
|
|
|
14197
14201
|
}
|
|
14198
14202
|
|
|
14199
14203
|
function _getLiveAPICache2() {
|
|
14200
|
-
_getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/
|
|
14204
|
+
_getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee11() {
|
|
14201
14205
|
var url, result, serverTime;
|
|
14202
|
-
return
|
|
14206
|
+
return regenerator_default().wrap(function _callee11$(_context11) {
|
|
14203
14207
|
while (1) {
|
|
14204
14208
|
switch (_context11.prev = _context11.next) {
|
|
14205
14209
|
case 0:
|
|
@@ -14239,9 +14243,9 @@ function getOpenClassWithCache(_x11) {
|
|
|
14239
14243
|
} // 公开直播详情变化部分,失败要降级处理
|
|
14240
14244
|
|
|
14241
14245
|
function _getOpenClassWithCache() {
|
|
14242
|
-
_getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/
|
|
14246
|
+
_getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee12(url) {
|
|
14243
14247
|
var fullUrl, cacheInfo, cacheData, result, serverTime;
|
|
14244
|
-
return
|
|
14248
|
+
return regenerator_default().wrap(function _callee12$(_context12) {
|
|
14245
14249
|
while (1) {
|
|
14246
14250
|
switch (_context12.prev = _context12.next) {
|
|
14247
14251
|
case 0:
|
|
@@ -14313,9 +14317,9 @@ function getOpenClassLiveSimple(_x12) {
|
|
|
14313
14317
|
} // 公开直播详情拆分成两个接口
|
|
14314
14318
|
|
|
14315
14319
|
function _getOpenClassLiveSimple() {
|
|
14316
|
-
_getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/
|
|
14320
|
+
_getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee13(liveInfo) {
|
|
14317
14321
|
var url, data;
|
|
14318
|
-
return
|
|
14322
|
+
return regenerator_default().wrap(function _callee13$(_context13) {
|
|
14319
14323
|
while (1) {
|
|
14320
14324
|
switch (_context13.prev = _context13.next) {
|
|
14321
14325
|
case 0:
|
|
@@ -14354,9 +14358,9 @@ function getOpenClassLiveBase(_x13) {
|
|
|
14354
14358
|
} // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
|
|
14355
14359
|
|
|
14356
14360
|
function _getOpenClassLiveBase() {
|
|
14357
|
-
_getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/
|
|
14361
|
+
_getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee14(id) {
|
|
14358
14362
|
var url, data, subType, dynamicInfo;
|
|
14359
|
-
return
|
|
14363
|
+
return regenerator_default().wrap(function _callee14$(_context14) {
|
|
14360
14364
|
while (1) {
|
|
14361
14365
|
switch (_context14.prev = _context14.next) {
|
|
14362
14366
|
case 0:
|
|
@@ -14436,9 +14440,9 @@ function getOpenClassLive(_x15) {
|
|
|
14436
14440
|
}
|
|
14437
14441
|
|
|
14438
14442
|
function _getOpenClassLive() {
|
|
14439
|
-
_getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/
|
|
14443
|
+
_getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee16(id) {
|
|
14440
14444
|
var serviceConfig, liveCloseLogin, data;
|
|
14441
|
-
return
|
|
14445
|
+
return regenerator_default().wrap(function _callee16$(_context16) {
|
|
14442
14446
|
while (1) {
|
|
14443
14447
|
switch (_context16.prev = _context16.next) {
|
|
14444
14448
|
case 0:
|
|
@@ -14559,9 +14563,9 @@ function imBroadcasts_asyncToGenerator(fn) { return function () { var self = thi
|
|
|
14559
14563
|
// https://wiki.doc.101.com/index.php?title=IM%E7%9B%B4%E6%92%ADv2#.5BGET.5D_.2Fapis.2Fbroadcasts.2F.7BroomId.7D_.E6.A0.B9.E6.8D.AEroomId_.E8.8E.B7.E5.8F.96.E7.9B.B4.E6.92.AD.E4.BF.A1.E6.81.AF
|
|
14560
14564
|
|
|
14561
14565
|
var getIMLiveInfo = /*#__PURE__*/function () {
|
|
14562
|
-
var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
14566
|
+
var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(roomId) {
|
|
14563
14567
|
var url, response;
|
|
14564
|
-
return
|
|
14568
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
14565
14569
|
while (1) {
|
|
14566
14570
|
switch (_context.prev = _context.next) {
|
|
14567
14571
|
case 0:
|
|
@@ -14594,10 +14598,10 @@ var getIMLiveInfo = /*#__PURE__*/function () {
|
|
|
14594
14598
|
*/
|
|
14595
14599
|
|
|
14596
14600
|
var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
14597
|
-
var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
14601
|
+
var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(bId) {
|
|
14598
14602
|
var _yield$imBroadcastsSt, data;
|
|
14599
14603
|
|
|
14600
|
-
return
|
|
14604
|
+
return regenerator_default().wrap(function _callee2$(_context2) {
|
|
14601
14605
|
while (1) {
|
|
14602
14606
|
switch (_context2.prev = _context2.next) {
|
|
14603
14607
|
case 0:
|
|
@@ -14624,10 +14628,10 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
|
|
|
14624
14628
|
// 访客获取直播接口
|
|
14625
14629
|
|
|
14626
14630
|
var getGuestIMLiveInfo = /*#__PURE__*/function () {
|
|
14627
|
-
var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/
|
|
14631
|
+
var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee3(bId) {
|
|
14628
14632
|
var _yield$imBroadcastsAP, data;
|
|
14629
14633
|
|
|
14630
|
-
return
|
|
14634
|
+
return regenerator_default().wrap(function _callee3$(_context3) {
|
|
14631
14635
|
while (1) {
|
|
14632
14636
|
switch (_context3.prev = _context3.next) {
|
|
14633
14637
|
case 0:
|
|
@@ -14695,162 +14699,6 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
|
|
|
14695
14699
|
;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
|
|
14696
14700
|
|
|
14697
14701
|
|
|
14698
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
14699
|
-
function esm_extends_extends() {
|
|
14700
|
-
esm_extends_extends = Object.assign || function (target) {
|
|
14701
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
14702
|
-
var source = arguments[i];
|
|
14703
|
-
|
|
14704
|
-
for (var key in source) {
|
|
14705
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
14706
|
-
target[key] = source[key];
|
|
14707
|
-
}
|
|
14708
|
-
}
|
|
14709
|
-
}
|
|
14710
|
-
|
|
14711
|
-
return target;
|
|
14712
|
-
};
|
|
14713
|
-
|
|
14714
|
-
return esm_extends_extends.apply(this, arguments);
|
|
14715
|
-
}
|
|
14716
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
14717
|
-
function defineProperty_defineProperty(obj, key, value) {
|
|
14718
|
-
if (key in obj) {
|
|
14719
|
-
Object.defineProperty(obj, key, {
|
|
14720
|
-
value: value,
|
|
14721
|
-
enumerable: true,
|
|
14722
|
-
configurable: true,
|
|
14723
|
-
writable: true
|
|
14724
|
-
});
|
|
14725
|
-
} else {
|
|
14726
|
-
obj[key] = value;
|
|
14727
|
-
}
|
|
14728
|
-
|
|
14729
|
-
return obj;
|
|
14730
|
-
}
|
|
14731
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
14732
|
-
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
14733
|
-
if (!(instance instanceof Constructor)) {
|
|
14734
|
-
throw new TypeError("Cannot call a class as a function");
|
|
14735
|
-
}
|
|
14736
|
-
}
|
|
14737
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
14738
|
-
function createClass_defineProperties(target, props) {
|
|
14739
|
-
for (var i = 0; i < props.length; i++) {
|
|
14740
|
-
var descriptor = props[i];
|
|
14741
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
14742
|
-
descriptor.configurable = true;
|
|
14743
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
14744
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
14745
|
-
}
|
|
14746
|
-
}
|
|
14747
|
-
|
|
14748
|
-
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
14749
|
-
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
14750
|
-
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
14751
|
-
return Constructor;
|
|
14752
|
-
}
|
|
14753
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
14754
|
-
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
14755
|
-
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
14756
|
-
o.__proto__ = p;
|
|
14757
|
-
return o;
|
|
14758
|
-
};
|
|
14759
|
-
|
|
14760
|
-
return setPrototypeOf_setPrototypeOf(o, p);
|
|
14761
|
-
}
|
|
14762
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
14763
|
-
|
|
14764
|
-
function inherits_inherits(subClass, superClass) {
|
|
14765
|
-
if (typeof superClass !== "function" && superClass !== null) {
|
|
14766
|
-
throw new TypeError("Super expression must either be null or a function");
|
|
14767
|
-
}
|
|
14768
|
-
|
|
14769
|
-
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
14770
|
-
constructor: {
|
|
14771
|
-
value: subClass,
|
|
14772
|
-
writable: true,
|
|
14773
|
-
configurable: true
|
|
14774
|
-
}
|
|
14775
|
-
});
|
|
14776
|
-
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
14777
|
-
}
|
|
14778
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
14779
|
-
function getPrototypeOf_getPrototypeOf(o) {
|
|
14780
|
-
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14781
|
-
return o.__proto__ || Object.getPrototypeOf(o);
|
|
14782
|
-
};
|
|
14783
|
-
return getPrototypeOf_getPrototypeOf(o);
|
|
14784
|
-
}
|
|
14785
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
14786
|
-
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
14787
|
-
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
14788
|
-
if (Reflect.construct.sham) return false;
|
|
14789
|
-
if (typeof Proxy === "function") return true;
|
|
14790
|
-
|
|
14791
|
-
try {
|
|
14792
|
-
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
14793
|
-
return true;
|
|
14794
|
-
} catch (e) {
|
|
14795
|
-
return false;
|
|
14796
|
-
}
|
|
14797
|
-
}
|
|
14798
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
14799
|
-
function esm_typeof_typeof(obj) {
|
|
14800
|
-
"@babel/helpers - typeof";
|
|
14801
|
-
|
|
14802
|
-
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
14803
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
14804
|
-
return typeof obj;
|
|
14805
|
-
};
|
|
14806
|
-
} else {
|
|
14807
|
-
esm_typeof_typeof = function _typeof(obj) {
|
|
14808
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
14809
|
-
};
|
|
14810
|
-
}
|
|
14811
|
-
|
|
14812
|
-
return esm_typeof_typeof(obj);
|
|
14813
|
-
}
|
|
14814
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
14815
|
-
function assertThisInitialized_assertThisInitialized(self) {
|
|
14816
|
-
if (self === void 0) {
|
|
14817
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
14818
|
-
}
|
|
14819
|
-
|
|
14820
|
-
return self;
|
|
14821
|
-
}
|
|
14822
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
14823
|
-
|
|
14824
|
-
|
|
14825
|
-
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
14826
|
-
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
14827
|
-
return call;
|
|
14828
|
-
} else if (call !== void 0) {
|
|
14829
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
14830
|
-
}
|
|
14831
|
-
|
|
14832
|
-
return assertThisInitialized_assertThisInitialized(self);
|
|
14833
|
-
}
|
|
14834
|
-
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
14835
|
-
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
|
-
function createSuper_createSuper(Derived) {
|
|
14839
|
-
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
14840
|
-
return function _createSuperInternal() {
|
|
14841
|
-
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
14842
|
-
result;
|
|
14843
|
-
|
|
14844
|
-
if (hasNativeReflectConstruct) {
|
|
14845
|
-
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
14846
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
|
14847
|
-
} else {
|
|
14848
|
-
result = Super.apply(this, arguments);
|
|
14849
|
-
}
|
|
14850
|
-
|
|
14851
|
-
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
14852
|
-
};
|
|
14853
|
-
}
|
|
14854
14702
|
// EXTERNAL MODULE: ./node_modules/lodash/debounce.js
|
|
14855
14703
|
var debounce = __webpack_require__(3279);
|
|
14856
14704
|
var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
|
|
@@ -14959,14 +14807,14 @@ function shouldDelay(spinning, delay) {
|
|
|
14959
14807
|
}
|
|
14960
14808
|
|
|
14961
14809
|
var Spin = /*#__PURE__*/function (_React$Component) {
|
|
14962
|
-
|
|
14810
|
+
_inherits(Spin, _React$Component);
|
|
14963
14811
|
|
|
14964
|
-
var _super =
|
|
14812
|
+
var _super = _createSuper(Spin);
|
|
14965
14813
|
|
|
14966
14814
|
function Spin(props) {
|
|
14967
14815
|
var _this;
|
|
14968
14816
|
|
|
14969
|
-
|
|
14817
|
+
_classCallCheck(this, Spin);
|
|
14970
14818
|
|
|
14971
14819
|
_this = _super.call(this, props);
|
|
14972
14820
|
|
|
@@ -15009,10 +14857,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
15009
14857
|
|
|
15010
14858
|
var spinning = _this.state.spinning;
|
|
15011
14859
|
var prefixCls = getPrefixCls('spin', customizePrefixCls);
|
|
15012
|
-
var spinClassName = classnames_default()(prefixCls, (_classNames = {},
|
|
14860
|
+
var spinClassName = classnames_default()(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), _defineProperty(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), _defineProperty(_classNames, "".concat(prefixCls, "-spinning"), spinning), _defineProperty(_classNames, "".concat(prefixCls, "-show-text"), !!tip), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
|
|
15013
14861
|
|
|
15014
14862
|
var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
|
|
15015
|
-
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
14863
|
+
var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
|
|
15016
14864
|
style: style,
|
|
15017
14865
|
className: spinClassName
|
|
15018
14866
|
}), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
@@ -15020,8 +14868,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
15020
14868
|
}, tip) : null);
|
|
15021
14869
|
|
|
15022
14870
|
if (_this.isNestedPattern()) {
|
|
15023
|
-
var containerClassName = classnames_default()("".concat(prefixCls, "-container"),
|
|
15024
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div",
|
|
14871
|
+
var containerClassName = classnames_default()("".concat(prefixCls, "-container"), _defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
|
|
14872
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
|
|
15025
14873
|
className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
|
|
15026
14874
|
}), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
|
|
15027
14875
|
key: "loading"
|
|
@@ -15047,7 +14895,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
|
|
|
15047
14895
|
return _this;
|
|
15048
14896
|
}
|
|
15049
14897
|
|
|
15050
|
-
|
|
14898
|
+
_createClass(Spin, [{
|
|
15051
14899
|
key: "componentDidMount",
|
|
15052
14900
|
value: function componentDidMount() {
|
|
15053
14901
|
this.updateSpinning();
|
|
@@ -15193,8 +15041,8 @@ var ImPush = /*#__PURE__*/function () {
|
|
|
15193
15041
|
push_createClass(ImPush, [{
|
|
15194
15042
|
key: "init",
|
|
15195
15043
|
value: function () {
|
|
15196
|
-
var _init = push_asyncToGenerator( /*#__PURE__*/
|
|
15197
|
-
return
|
|
15044
|
+
var _init = push_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
15045
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
15198
15046
|
while (1) {
|
|
15199
15047
|
switch (_context.prev = _context.next) {
|
|
15200
15048
|
case 0:
|
|
@@ -15400,14 +15248,14 @@ var videoCdnPrefix = '//gcdncs.101.com/v0.1/static/share/fish/videoplayer';
|
|
|
15400
15248
|
var defaultVideoUrl = getVideoUrl(videoCdnPrefix, video_version);
|
|
15401
15249
|
|
|
15402
15250
|
var Video = /*#__PURE__*/function (_React$Component) {
|
|
15403
|
-
|
|
15251
|
+
_inherits(Video, _React$Component);
|
|
15404
15252
|
|
|
15405
|
-
var _super =
|
|
15253
|
+
var _super = _createSuper(Video);
|
|
15406
15254
|
|
|
15407
15255
|
function Video() {
|
|
15408
15256
|
var _this;
|
|
15409
15257
|
|
|
15410
|
-
|
|
15258
|
+
_classCallCheck(this, Video);
|
|
15411
15259
|
|
|
15412
15260
|
_this = _super.apply(this, arguments);
|
|
15413
15261
|
_this.videoUrl = {}; // eslint-disable-next-line class-methods-use-this
|
|
@@ -15420,12 +15268,12 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
15420
15268
|
csOriginUrl = getVideoUrl(cdnPrefix, video_version);
|
|
15421
15269
|
}
|
|
15422
15270
|
|
|
15423
|
-
return
|
|
15271
|
+
return extends_extends(extends_extends({}, csOriginUrl), Video.url);
|
|
15424
15272
|
};
|
|
15425
15273
|
|
|
15426
15274
|
_this.loadVideoPlayer = function () {
|
|
15427
|
-
return __awaiter(
|
|
15428
|
-
return
|
|
15275
|
+
return __awaiter(_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
15276
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
15429
15277
|
while (1) {
|
|
15430
15278
|
switch (_context.prev = _context.next) {
|
|
15431
15279
|
case 0:
|
|
@@ -15475,7 +15323,7 @@ var Video = /*#__PURE__*/function (_React$Component) {
|
|
|
15475
15323
|
return _this;
|
|
15476
15324
|
}
|
|
15477
15325
|
|
|
15478
|
-
|
|
15326
|
+
_createClass(Video, [{
|
|
15479
15327
|
key: "componentDidMount",
|
|
15480
15328
|
value: function componentDidMount() {
|
|
15481
15329
|
var _this2 = this;
|
|
@@ -15753,6 +15601,9 @@ var LiveCountDown_index_module_update = injectStylesIntoStyleTag_default()(LiveC
|
|
|
15753
15601
|
|
|
15754
15602
|
/* harmony default export */ var detail_LiveCountDown_index_module = (LiveCountDown_index_module/* default */.Z && LiveCountDown_index_module/* default.locals */.Z.locals ? LiveCountDown_index_module/* default.locals */.Z.locals : undefined);
|
|
15755
15603
|
|
|
15604
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
|
|
15605
|
+
var runtime_regenerator = __webpack_require__(5273);
|
|
15606
|
+
var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
|
|
15756
15607
|
;// CONCATENATED MODULE: ./src/hook/useIsMounted.js
|
|
15757
15608
|
|
|
15758
15609
|
|
|
@@ -16518,8 +16369,8 @@ function AliPlayer(_ref) {
|
|
|
16518
16369
|
var aliPlayer;
|
|
16519
16370
|
|
|
16520
16371
|
var init = /*#__PURE__*/function () {
|
|
16521
|
-
var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/
|
|
16522
|
-
return
|
|
16372
|
+
var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
16373
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
16523
16374
|
while (1) {
|
|
16524
16375
|
switch (_context.prev = _context.next) {
|
|
16525
16376
|
case 0:
|
|
@@ -16644,6 +16495,39 @@ var button_style_update = injectStylesIntoStyleTag_default()(button_style/* defa
|
|
|
16644
16495
|
// style dependencies
|
|
16645
16496
|
|
|
16646
16497
|
|
|
16498
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
16499
|
+
function defineProperty_defineProperty(obj, key, value) {
|
|
16500
|
+
if (key in obj) {
|
|
16501
|
+
Object.defineProperty(obj, key, {
|
|
16502
|
+
value: value,
|
|
16503
|
+
enumerable: true,
|
|
16504
|
+
configurable: true,
|
|
16505
|
+
writable: true
|
|
16506
|
+
});
|
|
16507
|
+
} else {
|
|
16508
|
+
obj[key] = value;
|
|
16509
|
+
}
|
|
16510
|
+
|
|
16511
|
+
return obj;
|
|
16512
|
+
}
|
|
16513
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
|
|
16514
|
+
function esm_extends_extends() {
|
|
16515
|
+
esm_extends_extends = Object.assign || function (target) {
|
|
16516
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
16517
|
+
var source = arguments[i];
|
|
16518
|
+
|
|
16519
|
+
for (var key in source) {
|
|
16520
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
16521
|
+
target[key] = source[key];
|
|
16522
|
+
}
|
|
16523
|
+
}
|
|
16524
|
+
}
|
|
16525
|
+
|
|
16526
|
+
return target;
|
|
16527
|
+
};
|
|
16528
|
+
|
|
16529
|
+
return esm_extends_extends.apply(this, arguments);
|
|
16530
|
+
}
|
|
16647
16531
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
|
|
16648
16532
|
function arrayWithHoles_arrayWithHoles(arr) {
|
|
16649
16533
|
if (Array.isArray(arr)) return arr;
|
|
@@ -16710,6 +16594,129 @@ function nonIterableRest_nonIterableRest() {
|
|
|
16710
16594
|
function slicedToArray_slicedToArray(arr, i) {
|
|
16711
16595
|
return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
|
|
16712
16596
|
}
|
|
16597
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
16598
|
+
function classCallCheck_classCallCheck(instance, Constructor) {
|
|
16599
|
+
if (!(instance instanceof Constructor)) {
|
|
16600
|
+
throw new TypeError("Cannot call a class as a function");
|
|
16601
|
+
}
|
|
16602
|
+
}
|
|
16603
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
16604
|
+
function createClass_defineProperties(target, props) {
|
|
16605
|
+
for (var i = 0; i < props.length; i++) {
|
|
16606
|
+
var descriptor = props[i];
|
|
16607
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
16608
|
+
descriptor.configurable = true;
|
|
16609
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
16610
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
16611
|
+
}
|
|
16612
|
+
}
|
|
16613
|
+
|
|
16614
|
+
function createClass_createClass(Constructor, protoProps, staticProps) {
|
|
16615
|
+
if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
|
|
16616
|
+
if (staticProps) createClass_defineProperties(Constructor, staticProps);
|
|
16617
|
+
return Constructor;
|
|
16618
|
+
}
|
|
16619
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
16620
|
+
function setPrototypeOf_setPrototypeOf(o, p) {
|
|
16621
|
+
setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
16622
|
+
o.__proto__ = p;
|
|
16623
|
+
return o;
|
|
16624
|
+
};
|
|
16625
|
+
|
|
16626
|
+
return setPrototypeOf_setPrototypeOf(o, p);
|
|
16627
|
+
}
|
|
16628
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
16629
|
+
|
|
16630
|
+
function inherits_inherits(subClass, superClass) {
|
|
16631
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
16632
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
16633
|
+
}
|
|
16634
|
+
|
|
16635
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
16636
|
+
constructor: {
|
|
16637
|
+
value: subClass,
|
|
16638
|
+
writable: true,
|
|
16639
|
+
configurable: true
|
|
16640
|
+
}
|
|
16641
|
+
});
|
|
16642
|
+
if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
|
|
16643
|
+
}
|
|
16644
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
16645
|
+
function getPrototypeOf_getPrototypeOf(o) {
|
|
16646
|
+
getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
16647
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
16648
|
+
};
|
|
16649
|
+
return getPrototypeOf_getPrototypeOf(o);
|
|
16650
|
+
}
|
|
16651
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
16652
|
+
function isNativeReflectConstruct_isNativeReflectConstruct() {
|
|
16653
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
16654
|
+
if (Reflect.construct.sham) return false;
|
|
16655
|
+
if (typeof Proxy === "function") return true;
|
|
16656
|
+
|
|
16657
|
+
try {
|
|
16658
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
16659
|
+
return true;
|
|
16660
|
+
} catch (e) {
|
|
16661
|
+
return false;
|
|
16662
|
+
}
|
|
16663
|
+
}
|
|
16664
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
16665
|
+
function esm_typeof_typeof(obj) {
|
|
16666
|
+
"@babel/helpers - typeof";
|
|
16667
|
+
|
|
16668
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
16669
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
16670
|
+
return typeof obj;
|
|
16671
|
+
};
|
|
16672
|
+
} else {
|
|
16673
|
+
esm_typeof_typeof = function _typeof(obj) {
|
|
16674
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
16675
|
+
};
|
|
16676
|
+
}
|
|
16677
|
+
|
|
16678
|
+
return esm_typeof_typeof(obj);
|
|
16679
|
+
}
|
|
16680
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
16681
|
+
function assertThisInitialized_assertThisInitialized(self) {
|
|
16682
|
+
if (self === void 0) {
|
|
16683
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
16684
|
+
}
|
|
16685
|
+
|
|
16686
|
+
return self;
|
|
16687
|
+
}
|
|
16688
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
16689
|
+
|
|
16690
|
+
|
|
16691
|
+
function possibleConstructorReturn_possibleConstructorReturn(self, call) {
|
|
16692
|
+
if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
|
|
16693
|
+
return call;
|
|
16694
|
+
} else if (call !== void 0) {
|
|
16695
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
16696
|
+
}
|
|
16697
|
+
|
|
16698
|
+
return assertThisInitialized_assertThisInitialized(self);
|
|
16699
|
+
}
|
|
16700
|
+
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
16701
|
+
|
|
16702
|
+
|
|
16703
|
+
|
|
16704
|
+
function createSuper_createSuper(Derived) {
|
|
16705
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
|
|
16706
|
+
return function _createSuperInternal() {
|
|
16707
|
+
var Super = getPrototypeOf_getPrototypeOf(Derived),
|
|
16708
|
+
result;
|
|
16709
|
+
|
|
16710
|
+
if (hasNativeReflectConstruct) {
|
|
16711
|
+
var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
|
|
16712
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
16713
|
+
} else {
|
|
16714
|
+
result = Super.apply(this, arguments);
|
|
16715
|
+
}
|
|
16716
|
+
|
|
16717
|
+
return possibleConstructorReturn_possibleConstructorReturn(this, result);
|
|
16718
|
+
};
|
|
16719
|
+
}
|
|
16713
16720
|
;// CONCATENATED MODULE: ./node_modules/rc-util/es/raf.js
|
|
16714
16721
|
var raf = function raf(callback) {
|
|
16715
16722
|
return +setTimeout(callback, 16);
|
|
@@ -36363,7 +36370,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
36363
36370
|
} // ===================== Icons =====================
|
|
36364
36371
|
|
|
36365
36372
|
|
|
36366
|
-
var _getIcons = getIcons(
|
|
36373
|
+
var _getIcons = getIcons(extends_extends(extends_extends({}, props), {
|
|
36367
36374
|
multiple: isMultiple,
|
|
36368
36375
|
prefixCls: prefixCls
|
|
36369
36376
|
})),
|
|
@@ -36373,10 +36380,10 @@ var InternalSelect = function InternalSelect(_a, ref) {
|
|
|
36373
36380
|
clearIcon = _getIcons.clearIcon;
|
|
36374
36381
|
|
|
36375
36382
|
var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
|
|
36376
|
-
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName,
|
|
36383
|
+
var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, _defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
|
|
36377
36384
|
var mergedSize = customizeSize || size;
|
|
36378
|
-
var mergedClassName = classnames_default()((_classNames2 = {},
|
|
36379
|
-
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es,
|
|
36385
|
+
var mergedClassName = classnames_default()((_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), _defineProperty(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), _defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
|
|
36386
|
+
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, extends_extends({
|
|
36380
36387
|
ref: ref,
|
|
36381
36388
|
virtual: virtual,
|
|
36382
36389
|
dropdownMatchSelectWidth: dropdownMatchSelectWidth
|
|
@@ -37668,9 +37675,9 @@ function LiveOnlineCount(_ref) {
|
|
|
37668
37675
|
};
|
|
37669
37676
|
|
|
37670
37677
|
(0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
|
|
37671
|
-
LiveOnlineCount_asyncToGenerator( /*#__PURE__*/
|
|
37678
|
+
LiveOnlineCount_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
|
37672
37679
|
var count, likesData, currentCount;
|
|
37673
|
-
return
|
|
37680
|
+
return regenerator_default().wrap(function _callee$(_context) {
|
|
37674
37681
|
while (1) {
|
|
37675
37682
|
switch (_context.prev = _context.next) {
|
|
37676
37683
|
case 0:
|
|
@@ -38203,7 +38210,7 @@ function PublicLiveDetail(_ref) {
|
|
|
38203
38210
|
if (!isExist) {
|
|
38204
38211
|
return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(Empty_Empty, {
|
|
38205
38212
|
hideBack: true,
|
|
38206
|
-
tip: "\
|
|
38213
|
+
tip: "\u5185\u5BB9\u5DF2\u5931\u6548",
|
|
38207
38214
|
className: src_detail_index_module["live-empty"]
|
|
38208
38215
|
});
|
|
38209
38216
|
}
|