@x-edu/live-player 0.0.15 → 0.0.17

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.
@@ -2376,7 +2376,7 @@ ___CSS_LOADER_EXPORT___.locals = {
2376
2376
 
2377
2377
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2378
2378
  // Module
2379
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_like-wrap_HlnhT{background-color:#eaeeff;border-radius:20px}.index-module_like-wrap_HlnhT,.index-module_like-wrap_HlnhT .index-module_icon_Np0pp{display:flex;align-items:center;height:25px}.index-module_like-wrap_HlnhT .index-module_icon_Np0pp{background:#3554ff;color:#fff;font-size:16px;width:25px;justify-content:center;border-radius:100%}.index-module_like-wrap_HlnhT .index-module_icon_Np0pp img{transform:rotate(180deg);height:20px;width:20px}.index-module_like-count_o19tX{color:#999;font-size:16px;line-height:16px;padding:0 15px 0 10px;color:#3554ff}", ""]);
2379
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_like-wrap_HlnhT{background-color:#eaeeff;border-radius:20px}.index-module_like-wrap_HlnhT,.index-module_like-wrap_HlnhT .index-module_icon_Np0pp{display:flex;align-items:center;height:20px}.index-module_like-wrap_HlnhT .index-module_icon_Np0pp{background:#3554ff;color:#fff;font-size:16px;flex:0 0 20px;justify-content:center;border-radius:100%}.index-module_like-wrap_HlnhT .index-module_icon_Np0pp img{transform:rotate(180deg);height:10px;width:10px}.index-module_like-count_o19tX{color:#999;font-size:12px;line-height:12px;padding:0 16px 0 4px;color:#3554ff;white-space:nowrap}", ""]);
2380
2380
  // Exports
2381
2381
  ___CSS_LOADER_EXPORT___.locals = {
2382
2382
  "like-wrap": "index-module_like-wrap_HlnhT",
@@ -2527,7 +2527,7 @@ ___CSS_LOADER_EXPORT___.locals = {
2527
2527
 
2528
2528
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
2529
2529
  // Module
2530
- ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_public-live-detail-wrapper_xhXm-{max-width:1300px;margin:0 auto}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-panel_6tl4B{margin-top:42px;padding:32px 50px 24px;border-radius:12px;background-color:#fff;box-shadow:0 0 20px 0 hsla(0,0%,60%,.1)}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-title_JoktE{display:flex;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-online-count_Hj8Q2{margin:0 20px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-end_DGmY\\+{color:#7f7f7f;padding:2px 5px;margin-left:10px;border-radius:5px;background-color:#d7d7d7}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-video-wrapper_c4cR9{height:auto}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-video-wrapper_c4cR9 .index-module_live-line-switch_TzpBr{margin-top:5px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-name_ve8Lq{font-size:20px;line-height:36px;font-weight:700}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas{display:flex;align-items:center;height:30px;line-height:30px;margin-top:12px;font-size:14px;color:#333;margin-bottom:26px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI{display:flex;margin-right:41px;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI span{display:inline-block;max-width:500px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI.index-module_empty-user_GcR-t{display:none}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_avatar_X6O45{display:inline-block;width:30px;height:30px;margin-right:8px;border-radius:15px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-time_T0jMw{display:flex;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-time_T0jMw span{color:#7f7f7f;vertical-align:middle}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_icon-time_VKDn6{font-size:16px;color:#7f7f7f;vertical-align:middle;margin-right:6px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk{padding:16px 50px;margin:32px 0;border-radius:12px;background-color:#fff;box-shadow:0 0 20px 0 hsla(0,0%,60%,.1)}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-title_mnh-Z{font-size:20px;margin:10px 0;font-weight:700}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-content_uCBv3{margin-top:10px;display:flex;justify-content:flex-start;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-content-img_jQvQc{max-width:100%}.index-module_live-empty_67Ck-{width:100%;height:100%;background-repeat:no-repeat;background-position:50%;position:relative}.index-module_live-empty_67Ck- .index-module_empty-marker_IEbmT{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5)}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7 p{color:#fff;font-size:24px}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7 img{width:54px;height:54px;margin-bottom:8px}.index-module_live-wrap_JMzNr{display:flex;justify-content:center;align-items:center;width:100%;height:675px}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt{border:1px solid #eee;flex:0 0 300px;height:100%;display:flex;flex-direction:column}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .index-module_chatroom-title_P7e0u{height:50px;font-size:18px;padding:10px;width:100%;border-bottom:1px solid #eee}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .index-module_chatroom-top-hint_JE1bj{background:#efefef;height:80px;padding:6px}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .pc{height:calc(100% - 130px);flex:1 1 auto;width:100%}", ""]);
2530
+ ___CSS_LOADER_EXPORT___.push([module.id, ".index-module_public-live-detail-wrapper_xhXm-{max-width:1300px;margin:0 auto}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-panel_6tl4B{margin-top:42px;padding:32px 50px 24px;border-radius:12px;background-color:#fff;box-shadow:0 0 20px 0 hsla(0,0%,60%,.1)}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-title_JoktE{display:flex;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-online-count_Hj8Q2{margin:0 8px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-end_DGmY\\+{color:#7f7f7f;padding:2px 5px;margin-left:10px;border-radius:5px;background-color:#d7d7d7}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-video-wrapper_c4cR9{height:auto}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-video-wrapper_c4cR9 .index-module_live-line-switch_TzpBr{margin-top:5px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-name_ve8Lq{font-size:20px;line-height:36px;font-weight:700}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas{display:flex;align-items:center;height:30px;line-height:30px;margin-top:12px;font-size:14px;color:#333;margin-bottom:26px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI{display:flex;margin-right:41px;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI span{display:inline-block;max-width:500px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-user_QCPNI.index-module_empty-user_GcR-t{display:none}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_avatar_X6O45{display:inline-block;width:30px;height:30px;margin-right:8px;border-radius:15px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-time_T0jMw{display:flex;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_live-time_T0jMw span{color:#7f7f7f;vertical-align:middle}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-info_zHIas .index-module_icon-time_VKDn6{font-size:16px;color:#7f7f7f;vertical-align:middle;margin-right:6px}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk{padding:16px 50px;margin:32px 0;border-radius:12px;background-color:#fff;box-shadow:0 0 20px 0 hsla(0,0%,60%,.1)}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-title_mnh-Z{font-size:20px;margin:10px 0;font-weight:700}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-content_uCBv3{margin-top:10px;display:flex;justify-content:flex-start;align-items:center}.index-module_public-live-detail-wrapper_xhXm- .index-module_live-description-panel_fKJYk .index-module_desc-content-img_jQvQc{max-width:100%}.index-module_live-empty_67Ck-{width:100%;height:100%;background-repeat:no-repeat;background-position:50%;position:relative}.index-module_live-empty_67Ck- .index-module_empty-marker_IEbmT{position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.5)}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7 p{color:#fff;font-size:24px}.index-module_live-empty_67Ck- .index-module_empty-content_hvFJ7 img{width:54px;height:54px;margin-bottom:8px}.index-module_live-wrap_JMzNr{display:flex;justify-content:center;align-items:center;width:100%;height:675px}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt{border:1px solid #eee;flex:0 0 300px;height:100%;display:flex;flex-direction:column}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .index-module_chatroom-title_P7e0u{height:50px;font-size:18px;padding:10px;width:100%;border-bottom:1px solid #eee}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .index-module_chatroom-top-hint_JE1bj{background:#efefef;height:80px;padding:6px}.index-module_live-wrap_JMzNr .index-module_chatroom-wrap_VIflt .pc{height:calc(100% - 130px);flex:1 1 auto;width:100%}", ""]);
2531
2531
  // Exports
2532
2532
  ___CSS_LOADER_EXPORT___.locals = {
2533
2533
  "public-live-detail-wrapper": "index-module_public-live-detail-wrapper_xhXm-",
@@ -25808,10 +25808,17 @@ module.exports = styleTagTransform;
25808
25808
 
25809
25809
  /***/ }),
25810
25810
 
25811
+ /***/ 5273:
25812
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
25813
+
25814
+ module.exports = __webpack_require__(5666);
25815
+
25816
+ /***/ }),
25817
+
25811
25818
  /***/ 3006:
25812
25819
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
25813
25820
 
25814
- var _regeneratorRuntime = __webpack_require__(7757);
25821
+ var _regeneratorRuntime = __webpack_require__(5273);
25815
25822
 
25816
25823
  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); } }
25817
25824
 
@@ -29988,6 +29995,9 @@ var parseAdapter = function parseAdapter(option, dayjsClass) {
29988
29995
  // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
29989
29996
  var regenerator = __webpack_require__(7757);
29990
29997
  var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
29998
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
29999
+ var runtime_regenerator = __webpack_require__(5273);
30000
+ var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
29991
30001
  // EXTERNAL MODULE: ./node_modules/axios/index.js
29992
30002
  var axios = __webpack_require__(9669);
29993
30003
  var axios_default = /*#__PURE__*/__webpack_require__.n(axios);
@@ -30813,7 +30823,7 @@ function getServiceConfig(_x) {
30813
30823
  }
30814
30824
 
30815
30825
  function _getServiceConfig() {
30816
- _getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(serviceName) {
30826
+ _getServiceConfig = getServiceConfig_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(serviceName) {
30817
30827
  var sdpAppId,
30818
30828
  env,
30819
30829
  key,
@@ -30825,7 +30835,7 @@ function _getServiceConfig() {
30825
30835
  result,
30826
30836
  ttl,
30827
30837
  _args = arguments;
30828
- return regenerator_default().wrap(function _callee$(_context) {
30838
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
30829
30839
  while (1) {
30830
30840
  switch (_context.prev = _context.next) {
30831
30841
  case 0:
@@ -31089,13 +31099,13 @@ function withOnce(fn) {
31089
31099
  var lockPool = createLockPool();
31090
31100
 
31091
31101
  var newFn = /*#__PURE__*/function () {
31092
- var _ref3 = hof_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2() {
31102
+ var _ref3 = hof_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2() {
31093
31103
  var key,
31094
31104
  lock,
31095
31105
  lockId,
31096
31106
  result,
31097
31107
  _args2 = arguments;
31098
- return regenerator_default().wrap(function _callee2$(_context2) {
31108
+ return runtime_regenerator_default().wrap(function _callee2$(_context2) {
31099
31109
  while (1) {
31100
31110
  switch (_context2.prev = _context2.next) {
31101
31111
  case 0:
@@ -31601,9 +31611,9 @@ function _getLiveAPICache() {
31601
31611
  }
31602
31612
 
31603
31613
  function _getLiveAPICache2() {
31604
- _getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee11() {
31614
+ _getLiveAPICache2 = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee11() {
31605
31615
  var url, result, serverTime;
31606
- return regenerator_default().wrap(function _callee11$(_context11) {
31616
+ return runtime_regenerator_default().wrap(function _callee11$(_context11) {
31607
31617
  while (1) {
31608
31618
  switch (_context11.prev = _context11.next) {
31609
31619
  case 0:
@@ -31643,9 +31653,9 @@ function getOpenClassWithCache(_x11) {
31643
31653
  } // 公开直播详情变化部分,失败要降级处理
31644
31654
 
31645
31655
  function _getOpenClassWithCache() {
31646
- _getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee12(url) {
31656
+ _getOpenClassWithCache = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee12(url) {
31647
31657
  var fullUrl, cacheInfo, cacheData, result, serverTime;
31648
- return regenerator_default().wrap(function _callee12$(_context12) {
31658
+ return runtime_regenerator_default().wrap(function _callee12$(_context12) {
31649
31659
  while (1) {
31650
31660
  switch (_context12.prev = _context12.next) {
31651
31661
  case 0:
@@ -31717,9 +31727,9 @@ function getOpenClassLiveSimple(_x12) {
31717
31727
  } // 公开直播详情拆分成两个接口
31718
31728
 
31719
31729
  function _getOpenClassLiveSimple() {
31720
- _getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee13(liveInfo) {
31730
+ _getOpenClassLiveSimple = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee13(liveInfo) {
31721
31731
  var url, data;
31722
- return regenerator_default().wrap(function _callee13$(_context13) {
31732
+ return runtime_regenerator_default().wrap(function _callee13$(_context13) {
31723
31733
  while (1) {
31724
31734
  switch (_context13.prev = _context13.next) {
31725
31735
  case 0:
@@ -31758,9 +31768,9 @@ function getOpenClassLiveBase(_x13) {
31758
31768
  } // 公开实时直播-发起直播-公共直播邀请页使用,适配为班级直播数据
31759
31769
 
31760
31770
  function _getOpenClassLiveBase() {
31761
- _getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee14(id) {
31771
+ _getOpenClassLiveBase = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee14(id) {
31762
31772
  var url, data, subType, dynamicInfo;
31763
- return regenerator_default().wrap(function _callee14$(_context14) {
31773
+ return runtime_regenerator_default().wrap(function _callee14$(_context14) {
31764
31774
  while (1) {
31765
31775
  switch (_context14.prev = _context14.next) {
31766
31776
  case 0:
@@ -31840,9 +31850,9 @@ function getOpenClassLive(_x15) {
31840
31850
  }
31841
31851
 
31842
31852
  function _getOpenClassLive() {
31843
- _getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee16(id) {
31853
+ _getOpenClassLive = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee16(id) {
31844
31854
  var serviceConfig, liveCloseLogin, data;
31845
- return regenerator_default().wrap(function _callee16$(_context16) {
31855
+ return runtime_regenerator_default().wrap(function _callee16$(_context16) {
31846
31856
  while (1) {
31847
31857
  switch (_context16.prev = _context16.next) {
31848
31858
  case 0:
@@ -31955,9 +31965,9 @@ function OpenLiveSearchFront(_x18) {
31955
31965
  */
31956
31966
 
31957
31967
  function _OpenLiveSearchFront() {
31958
- _OpenLiveSearchFront = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee19(_ref2) {
31968
+ _OpenLiveSearchFront = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee19(_ref2) {
31959
31969
  var status, scopeType, scopeId, offset, limit, url, response;
31960
- return regenerator_default().wrap(function _callee19$(_context19) {
31970
+ return runtime_regenerator_default().wrap(function _callee19$(_context19) {
31961
31971
  while (1) {
31962
31972
  switch (_context19.prev = _context19.next) {
31963
31973
  case 0:
@@ -32008,9 +32018,9 @@ function getSubscription() {
32008
32018
  */
32009
32019
 
32010
32020
  function _getSubscription() {
32011
- _getSubscription = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee20() {
32021
+ _getSubscription = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee20() {
32012
32022
  var url, response;
32013
- return regenerator_default().wrap(function _callee20$(_context20) {
32023
+ return runtime_regenerator_default().wrap(function _callee20$(_context20) {
32014
32024
  while (1) {
32015
32025
  switch (_context20.prev = _context20.next) {
32016
32026
  case 0:
@@ -32043,9 +32053,9 @@ function openLiveSubscribe(_x19) {
32043
32053
  }
32044
32054
 
32045
32055
  function _openLiveSubscribe() {
32046
- _openLiveSubscribe = live_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee21(_ref3) {
32056
+ _openLiveSubscribe = live_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee21(_ref3) {
32047
32057
  var liveId, url, response;
32048
- return regenerator_default().wrap(function _callee21$(_context21) {
32058
+ return runtime_regenerator_default().wrap(function _callee21$(_context21) {
32049
32059
  while (1) {
32050
32060
  switch (_context21.prev = _context21.next) {
32051
32061
  case 0:
@@ -32087,9 +32097,9 @@ function imBroadcasts_asyncToGenerator(fn) { return function () { var self = thi
32087
32097
  // 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
32088
32098
 
32089
32099
  var getIMLiveInfo = /*#__PURE__*/function () {
32090
- var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(roomId) {
32100
+ var _ref = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(roomId) {
32091
32101
  var url, response;
32092
- return regenerator_default().wrap(function _callee$(_context) {
32102
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
32093
32103
  while (1) {
32094
32104
  switch (_context.prev = _context.next) {
32095
32105
  case 0:
@@ -32122,10 +32132,10 @@ var getIMLiveInfo = /*#__PURE__*/function () {
32122
32132
  */
32123
32133
 
32124
32134
  var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
32125
- var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(bId) {
32135
+ var _ref2 = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(bId) {
32126
32136
  var _yield$imBroadcastsSt, data;
32127
32137
 
32128
- return regenerator_default().wrap(function _callee2$(_context2) {
32138
+ return runtime_regenerator_default().wrap(function _callee2$(_context2) {
32129
32139
  while (1) {
32130
32140
  switch (_context2.prev = _context2.next) {
32131
32141
  case 0:
@@ -32152,10 +32162,10 @@ var getGuestIMLiveInfoStatic = /*#__PURE__*/function () {
32152
32162
  // 访客获取直播接口
32153
32163
 
32154
32164
  var getGuestIMLiveInfo = /*#__PURE__*/function () {
32155
- var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee3(bId) {
32165
+ var _ref3 = imBroadcasts_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(bId) {
32156
32166
  var _yield$imBroadcastsAP, data;
32157
32167
 
32158
- return regenerator_default().wrap(function _callee3$(_context3) {
32168
+ return runtime_regenerator_default().wrap(function _callee3$(_context3) {
32159
32169
  while (1) {
32160
32170
  switch (_context3.prev = _context3.next) {
32161
32171
  case 0:
@@ -32223,6 +32233,162 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
32223
32233
  ;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
32224
32234
 
32225
32235
 
32236
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
32237
+ function esm_extends_extends() {
32238
+ esm_extends_extends = Object.assign || function (target) {
32239
+ for (var i = 1; i < arguments.length; i++) {
32240
+ var source = arguments[i];
32241
+
32242
+ for (var key in source) {
32243
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
32244
+ target[key] = source[key];
32245
+ }
32246
+ }
32247
+ }
32248
+
32249
+ return target;
32250
+ };
32251
+
32252
+ return esm_extends_extends.apply(this, arguments);
32253
+ }
32254
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
32255
+ function defineProperty_defineProperty(obj, key, value) {
32256
+ if (key in obj) {
32257
+ Object.defineProperty(obj, key, {
32258
+ value: value,
32259
+ enumerable: true,
32260
+ configurable: true,
32261
+ writable: true
32262
+ });
32263
+ } else {
32264
+ obj[key] = value;
32265
+ }
32266
+
32267
+ return obj;
32268
+ }
32269
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
32270
+ function classCallCheck_classCallCheck(instance, Constructor) {
32271
+ if (!(instance instanceof Constructor)) {
32272
+ throw new TypeError("Cannot call a class as a function");
32273
+ }
32274
+ }
32275
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
32276
+ function createClass_defineProperties(target, props) {
32277
+ for (var i = 0; i < props.length; i++) {
32278
+ var descriptor = props[i];
32279
+ descriptor.enumerable = descriptor.enumerable || false;
32280
+ descriptor.configurable = true;
32281
+ if ("value" in descriptor) descriptor.writable = true;
32282
+ Object.defineProperty(target, descriptor.key, descriptor);
32283
+ }
32284
+ }
32285
+
32286
+ function createClass_createClass(Constructor, protoProps, staticProps) {
32287
+ if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
32288
+ if (staticProps) createClass_defineProperties(Constructor, staticProps);
32289
+ return Constructor;
32290
+ }
32291
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
32292
+ function setPrototypeOf_setPrototypeOf(o, p) {
32293
+ setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
32294
+ o.__proto__ = p;
32295
+ return o;
32296
+ };
32297
+
32298
+ return setPrototypeOf_setPrototypeOf(o, p);
32299
+ }
32300
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
32301
+
32302
+ function inherits_inherits(subClass, superClass) {
32303
+ if (typeof superClass !== "function" && superClass !== null) {
32304
+ throw new TypeError("Super expression must either be null or a function");
32305
+ }
32306
+
32307
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
32308
+ constructor: {
32309
+ value: subClass,
32310
+ writable: true,
32311
+ configurable: true
32312
+ }
32313
+ });
32314
+ if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
32315
+ }
32316
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
32317
+ function getPrototypeOf_getPrototypeOf(o) {
32318
+ getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
32319
+ return o.__proto__ || Object.getPrototypeOf(o);
32320
+ };
32321
+ return getPrototypeOf_getPrototypeOf(o);
32322
+ }
32323
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
32324
+ function isNativeReflectConstruct_isNativeReflectConstruct() {
32325
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
32326
+ if (Reflect.construct.sham) return false;
32327
+ if (typeof Proxy === "function") return true;
32328
+
32329
+ try {
32330
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
32331
+ return true;
32332
+ } catch (e) {
32333
+ return false;
32334
+ }
32335
+ }
32336
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
32337
+ function esm_typeof_typeof(obj) {
32338
+ "@babel/helpers - typeof";
32339
+
32340
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
32341
+ esm_typeof_typeof = function _typeof(obj) {
32342
+ return typeof obj;
32343
+ };
32344
+ } else {
32345
+ esm_typeof_typeof = function _typeof(obj) {
32346
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
32347
+ };
32348
+ }
32349
+
32350
+ return esm_typeof_typeof(obj);
32351
+ }
32352
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
32353
+ function assertThisInitialized_assertThisInitialized(self) {
32354
+ if (self === void 0) {
32355
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
32356
+ }
32357
+
32358
+ return self;
32359
+ }
32360
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
32361
+
32362
+
32363
+ function possibleConstructorReturn_possibleConstructorReturn(self, call) {
32364
+ if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
32365
+ return call;
32366
+ } else if (call !== void 0) {
32367
+ throw new TypeError("Derived constructors may only return object or undefined");
32368
+ }
32369
+
32370
+ return assertThisInitialized_assertThisInitialized(self);
32371
+ }
32372
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
32373
+
32374
+
32375
+
32376
+ function createSuper_createSuper(Derived) {
32377
+ var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
32378
+ return function _createSuperInternal() {
32379
+ var Super = getPrototypeOf_getPrototypeOf(Derived),
32380
+ result;
32381
+
32382
+ if (hasNativeReflectConstruct) {
32383
+ var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
32384
+ result = Reflect.construct(Super, arguments, NewTarget);
32385
+ } else {
32386
+ result = Super.apply(this, arguments);
32387
+ }
32388
+
32389
+ return possibleConstructorReturn_possibleConstructorReturn(this, result);
32390
+ };
32391
+ }
32226
32392
  // EXTERNAL MODULE: ./node_modules/lodash/debounce.js
32227
32393
  var debounce = __webpack_require__(3279);
32228
32394
  var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
@@ -32331,14 +32497,14 @@ function shouldDelay(spinning, delay) {
32331
32497
  }
32332
32498
 
32333
32499
  var Spin = /*#__PURE__*/function (_React$Component) {
32334
- _inherits(Spin, _React$Component);
32500
+ inherits_inherits(Spin, _React$Component);
32335
32501
 
32336
- var _super = _createSuper(Spin);
32502
+ var _super = createSuper_createSuper(Spin);
32337
32503
 
32338
32504
  function Spin(props) {
32339
32505
  var _this;
32340
32506
 
32341
- _classCallCheck(this, Spin);
32507
+ classCallCheck_classCallCheck(this, Spin);
32342
32508
 
32343
32509
  _this = _super.call(this, props);
32344
32510
 
@@ -32381,10 +32547,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
32381
32547
 
32382
32548
  var spinning = _this.state.spinning;
32383
32549
  var prefixCls = getPrefixCls('spin', customizePrefixCls);
32384
- 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
32550
+ var spinClassName = classnames_default()(prefixCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-sm"), size === 'small'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-lg"), size === 'large'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-spinning"), spinning), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-show-text"), !!tip), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className); // fix https://fb.me/react-unknown-prop
32385
32551
 
32386
32552
  var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
32387
- var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
32553
+ var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
32388
32554
  style: style,
32389
32555
  className: spinClassName
32390
32556
  }), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
@@ -32392,8 +32558,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
32392
32558
  }, tip) : null);
32393
32559
 
32394
32560
  if (_this.isNestedPattern()) {
32395
- var containerClassName = classnames_default()("".concat(prefixCls, "-container"), _defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
32396
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
32561
+ var containerClassName = classnames_default()("".concat(prefixCls, "-container"), defineProperty_defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
32562
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
32397
32563
  className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
32398
32564
  }), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
32399
32565
  key: "loading"
@@ -32419,7 +32585,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
32419
32585
  return _this;
32420
32586
  }
32421
32587
 
32422
- _createClass(Spin, [{
32588
+ createClass_createClass(Spin, [{
32423
32589
  key: "componentDidMount",
32424
32590
  value: function componentDidMount() {
32425
32591
  this.updateSpinning();
@@ -32533,119 +32699,6 @@ function Loading_Loading(_ref) {
32533
32699
  wrapperClassName: classnames_default()('x-edu-nested-loading', wrapperClassName)
32534
32700
  }, children);
32535
32701
  }
32536
- // EXTERNAL MODULE: ./node_modules/@sdp.nd/fish/es/loader/style/index.js
32537
- var loader_style = __webpack_require__(4646);
32538
- ;// CONCATENATED MODULE: ./src/util/push/index.js
32539
-
32540
-
32541
-
32542
-
32543
- function push_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); } }
32544
-
32545
- function push_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { push_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { push_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
32546
-
32547
- function push_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
32548
-
32549
- function push_defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
32550
-
32551
- function push_createClass(Constructor, protoProps, staticProps) { if (protoProps) push_defineProperties(Constructor.prototype, protoProps); if (staticProps) push_defineProperties(Constructor, staticProps); return Constructor; }
32552
-
32553
-
32554
- var push_url = '/3rd/im-web-push/index.umd.js';
32555
- var push_loadJS = loader.loadJS;
32556
- var instPromise; // http://git.sdp.nd/component-h5/web-im-push/-/tree/master
32557
-
32558
- var ImPush = /*#__PURE__*/function () {
32559
- function ImPush() {
32560
- push_classCallCheck(this, ImPush);
32561
-
32562
- this.listeners = [];
32563
- }
32564
-
32565
- push_createClass(ImPush, [{
32566
- key: "init",
32567
- value: function () {
32568
- var _init = push_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
32569
- return regenerator_default().wrap(function _callee$(_context) {
32570
- while (1) {
32571
- switch (_context.prev = _context.next) {
32572
- case 0:
32573
- if (!instPromise) {
32574
- _context.next = 2;
32575
- break;
32576
- }
32577
-
32578
- return _context.abrupt("return", instPromise);
32579
-
32580
- case 2:
32581
- instPromise = push_loadJS(push_url, 'ndiot_push').then(function () {
32582
- window.ndiot_push.open({
32583
- url: env["default"].push.host,
32584
- appId: env["default"].app.appid,
32585
- disableSharedWorker: true
32586
- });
32587
- return window.ndiot_push;
32588
- });
32589
- return _context.abrupt("return", instPromise);
32590
-
32591
- case 4:
32592
- case "end":
32593
- return _context.stop();
32594
- }
32595
- }
32596
- }, _callee);
32597
- }));
32598
-
32599
- function init() {
32600
- return _init.apply(this, arguments);
32601
- }
32602
-
32603
- return init;
32604
- }()
32605
- }, {
32606
- key: "getInstance",
32607
- value: function getInstance() {
32608
- return window.ndiot_push;
32609
- }
32610
- }, {
32611
- key: "addTopicListener",
32612
- value: function addTopicListener(name, listener) {
32613
- var inst = this.getInstance();
32614
- this.listeners.push(listener);
32615
- inst.subscribe(name);
32616
- this.listen();
32617
- }
32618
- }, {
32619
- key: "removeTopicListener",
32620
- value: function removeTopicListener(name, listener) {
32621
- var inst = this.getInstance();
32622
- this.listeners = this.listeners.filter(function (l) {
32623
- return l !== listener;
32624
- });
32625
- inst.unsubscribe(name);
32626
- this.listen();
32627
- }
32628
- }, {
32629
- key: "listen",
32630
- value: function listen() {
32631
- var _this = this;
32632
-
32633
- var inst = this.getInstance();
32634
-
32635
- inst.onNewMessage = function (data) {
32636
- console.log('im-push', data);
32637
-
32638
- _this.listeners.forEach(function (l) {
32639
- l(data);
32640
- });
32641
- };
32642
- }
32643
- }]);
32644
-
32645
- return ImPush;
32646
- }();
32647
-
32648
- /* harmony default export */ var push = (new ImPush());
32649
32702
  ;// CONCATENATED MODULE: ./src/util/object.js
32650
32703
  function pick(obj, keys) {
32651
32704
  if (!Array.isArray(keys)) {
@@ -32661,7 +32714,7 @@ function pick(obj, keys) {
32661
32714
  }, {});
32662
32715
  }
32663
32716
  var isEmpty = function isEmpty(obj) {
32664
- return !obj || Object.keys(obj) === 0;
32717
+ return !obj || Object.keys(obj).length === 0;
32665
32718
  };
32666
32719
  // EXTERNAL MODULE: ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[2]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[3]!./node_modules/less-loader/dist/cjs.js??ruleSet[1].rules[10].oneOf[1].use[4]!./node_modules/@sdp.nd/fish/es/video/style/index.less
32667
32720
  var video_style = __webpack_require__(9018);
@@ -32772,14 +32825,14 @@ var videoCdnPrefix = '//gcdncs.101.com/v0.1/static/share/fish/videoplayer';
32772
32825
  var defaultVideoUrl = getVideoUrl(videoCdnPrefix, video_version);
32773
32826
 
32774
32827
  var Video = /*#__PURE__*/function (_React$Component) {
32775
- _inherits(Video, _React$Component);
32828
+ inherits_inherits(Video, _React$Component);
32776
32829
 
32777
- var _super = _createSuper(Video);
32830
+ var _super = createSuper_createSuper(Video);
32778
32831
 
32779
32832
  function Video() {
32780
32833
  var _this;
32781
32834
 
32782
- _classCallCheck(this, Video);
32835
+ classCallCheck_classCallCheck(this, Video);
32783
32836
 
32784
32837
  _this = _super.apply(this, arguments);
32785
32838
  _this.videoUrl = {}; // eslint-disable-next-line class-methods-use-this
@@ -32792,12 +32845,12 @@ var Video = /*#__PURE__*/function (_React$Component) {
32792
32845
  csOriginUrl = getVideoUrl(cdnPrefix, video_version);
32793
32846
  }
32794
32847
 
32795
- return extends_extends(extends_extends({}, csOriginUrl), Video.url);
32848
+ return esm_extends_extends(esm_extends_extends({}, csOriginUrl), Video.url);
32796
32849
  };
32797
32850
 
32798
32851
  _this.loadVideoPlayer = function () {
32799
- return __awaiter(_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
32800
- return regenerator_default().wrap(function _callee$(_context) {
32852
+ return __awaiter(assertThisInitialized_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
32853
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
32801
32854
  while (1) {
32802
32855
  switch (_context.prev = _context.next) {
32803
32856
  case 0:
@@ -32847,7 +32900,7 @@ var Video = /*#__PURE__*/function (_React$Component) {
32847
32900
  return _this;
32848
32901
  }
32849
32902
 
32850
- _createClass(Video, [{
32903
+ createClass_createClass(Video, [{
32851
32904
  key: "componentDidMount",
32852
32905
  value: function componentDidMount() {
32853
32906
  var _this2 = this;
@@ -33191,9 +33244,9 @@ function isSourceReady(_x) {
33191
33244
  }
33192
33245
 
33193
33246
  function _isSourceReady() {
33194
- _isSourceReady = usePullState_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(liveInfo) {
33247
+ _isSourceReady = usePullState_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(liveInfo) {
33195
33248
  var newLiveInfo;
33196
- return regenerator_default().wrap(function _callee$(_context) {
33249
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
33197
33250
  while (1) {
33198
33251
  switch (_context.prev = _context.next) {
33199
33252
  case 0:
@@ -33343,64 +33396,179 @@ function usePullSource_asyncToGenerator(fn) { return function () { var self = th
33343
33396
 
33344
33397
 
33345
33398
 
33399
+
33400
+
33346
33401
  var usePullSource_pullInterval = 10 * 1000;
33402
+ var pullStatusInterval = 30 * 1000;
33403
+ var pullMultiply = pullStatusInterval / usePullSource_pullInterval;
33347
33404
  var pullTimeout = 10 * 1000;
33348
33405
  function usePullSource(_ref) {
33349
- var sourceSrc = _ref.sourceSrc,
33406
+ var _liveInfo$imInfo, _liveInfo$imInfo$para, _liveInfo$imInfo2, _liveInfo$imInfo2$par, _liveInfo$imInfo2$par2;
33407
+
33408
+ var liveInfo = _ref.liveInfo,
33350
33409
  reload = _ref.reload,
33410
+ onStatusChange = _ref.onStatusChange,
33351
33411
  shouldStartPull = _ref.shouldStartPull;
33412
+ var sourceSrc = (liveInfo === null || liveInfo === void 0 ? void 0 : (_liveInfo$imInfo = liveInfo.imInfo) === null || _liveInfo$imInfo === void 0 ? void 0 : (_liveInfo$imInfo$para = _liveInfo$imInfo.param) === null || _liveInfo$imInfo$para === void 0 ? void 0 : _liveInfo$imInfo$para.url) || (liveInfo === null || liveInfo === void 0 ? void 0 : (_liveInfo$imInfo2 = liveInfo.imInfo) === null || _liveInfo$imInfo2 === void 0 ? void 0 : (_liveInfo$imInfo2$par = _liveInfo$imInfo2.param) === null || _liveInfo$imInfo2$par === void 0 ? void 0 : (_liveInfo$imInfo2$par2 = _liveInfo$imInfo2$par.playurl) === null || _liveInfo$imInfo2$par2 === void 0 ? void 0 : _liveInfo$imInfo2$par2[0]);
33352
33413
  var isMounted = hook_useIsMounted();
33353
33414
  var counterIdRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
33415
+ var loopIndex = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
33354
33416
 
33355
- function checkSourceReadyInterval() {
33356
- usePullSource_isSourceReady(sourceSrc).then(function () {
33357
- if (isMounted) {
33358
- reload();
33359
- }
33360
- }, function () {
33361
- if (isMounted) {
33362
- counterIdRef.current = setTimeout(function () {
33363
- checkSourceReadyInterval();
33364
- }, usePullSource_pullInterval);
33365
- }
33366
- });
33417
+ var getIsCurrentLop = function getIsCurrentLop(index) {
33418
+ return index <= loopIndex.current;
33419
+ };
33420
+
33421
+ function checkLiveReadyInterval() {
33422
+ return _checkLiveReadyInterval.apply(this, arguments);
33423
+ }
33424
+
33425
+ function _checkLiveReadyInterval() {
33426
+ _checkLiveReadyInterval = usePullSource_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
33427
+ var i,
33428
+ liveStatus,
33429
+ isSourceReady,
33430
+ _args = arguments;
33431
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
33432
+ while (1) {
33433
+ switch (_context.prev = _context.next) {
33434
+ case 0:
33435
+ i = _args.length > 0 && _args[0] !== undefined ? _args[0] : 0;
33436
+ loopIndex.current = i;
33437
+
33438
+ if (!(i % pullMultiply === 0)) {
33439
+ _context.next = 7;
33440
+ break;
33441
+ }
33442
+
33443
+ _context.next = 5;
33444
+ return getLiveNewStatus(liveInfo);
33445
+
33446
+ case 5:
33447
+ liveStatus = _context.sent;
33448
+
33449
+ if (getIsCurrentLop(i)) {
33450
+ onStatusChange(liveStatus);
33451
+ }
33452
+
33453
+ case 7:
33454
+ if (!(liveStatus !== publicLive_PUBLIC_LIVE_STATUS.COMPLETEED && sourceSrc)) {
33455
+ _context.next = 15;
33456
+ break;
33457
+ }
33458
+
33459
+ _context.next = 10;
33460
+ return checkSourceReady(sourceSrc);
33461
+
33462
+ case 10:
33463
+ isSourceReady = _context.sent;
33464
+
33465
+ if (!getIsCurrentLop(i)) {
33466
+ _context.next = 15;
33467
+ break;
33468
+ }
33469
+
33470
+ if (!(isSourceReady && isMounted)) {
33471
+ _context.next = 15;
33472
+ break;
33473
+ }
33474
+
33475
+ reload();
33476
+ return _context.abrupt("return");
33477
+
33478
+ case 15:
33479
+ if (isMounted && getIsCurrentLop(i)) {
33480
+ counterIdRef.current = setTimeout(function () {
33481
+ checkLiveReadyInterval(i + 1);
33482
+ }, usePullSource_pullInterval);
33483
+ }
33484
+
33485
+ case 16:
33486
+ case "end":
33487
+ return _context.stop();
33488
+ }
33489
+ }
33490
+ }, _callee);
33491
+ }));
33492
+ return _checkLiveReadyInterval.apply(this, arguments);
33367
33493
  }
33368
33494
 
33369
33495
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
33370
- if (sourceSrc && shouldStartPull) {
33371
- checkSourceReadyInterval();
33496
+ clearTimeout(counterIdRef.current);
33497
+
33498
+ if (shouldStartPull) {
33499
+ counterIdRef.current = setTimeout(function () {
33500
+ checkLiveReadyInterval(0);
33501
+ }, usePullSource_pullInterval);
33372
33502
  }
33373
33503
 
33374
33504
  return function () {
33375
- if (sourceSrc && shouldStartPull) {
33505
+ if (shouldStartPull) {
33376
33506
  clearTimeout(counterIdRef.current);
33377
33507
  }
33378
33508
  };
33379
- }, [sourceSrc, shouldStartPull]);
33509
+ }, [sourceSrc, liveInfo.status, shouldStartPull]);
33380
33510
  }
33381
33511
 
33382
- function usePullSource_isSourceReady(_x) {
33383
- return hook_usePullSource_isSourceReady.apply(this, arguments);
33512
+ function checkSourceReady(_x) {
33513
+ return _checkSourceReady.apply(this, arguments);
33384
33514
  }
33385
33515
 
33386
- function hook_usePullSource_isSourceReady() {
33387
- hook_usePullSource_isSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(url) {
33388
- return regenerator_default().wrap(function _callee$(_context) {
33516
+ function _checkSourceReady() {
33517
+ _checkSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(url) {
33518
+ return runtime_regenerator_default().wrap(function _callee2$(_context2) {
33389
33519
  while (1) {
33390
- switch (_context.prev = _context.next) {
33520
+ switch (_context2.prev = _context2.next) {
33391
33521
  case 0:
33392
- return _context.abrupt("return", axios_default().get(url, {
33522
+ _context2.prev = 0;
33523
+ _context2.next = 3;
33524
+ return axios_default().get(url, {
33393
33525
  timeout: pullTimeout
33394
- }));
33526
+ });
33395
33527
 
33396
- case 1:
33528
+ case 3:
33529
+ return _context2.abrupt("return", true);
33530
+
33531
+ case 6:
33532
+ _context2.prev = 6;
33533
+ _context2.t0 = _context2["catch"](0);
33534
+ return _context2.abrupt("return", false);
33535
+
33536
+ case 9:
33397
33537
  case "end":
33398
- return _context.stop();
33538
+ return _context2.stop();
33399
33539
  }
33400
33540
  }
33401
- }, _callee);
33541
+ }, _callee2, null, [[0, 6]]);
33542
+ }));
33543
+ return _checkSourceReady.apply(this, arguments);
33544
+ }
33545
+
33546
+ function getLiveNewStatus(_x2) {
33547
+ return _getLiveNewStatus.apply(this, arguments);
33548
+ }
33549
+
33550
+ function _getLiveNewStatus() {
33551
+ _getLiveNewStatus = usePullSource_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(liveInfo) {
33552
+ var newLiveInfo;
33553
+ return runtime_regenerator_default().wrap(function _callee3$(_context3) {
33554
+ while (1) {
33555
+ switch (_context3.prev = _context3.next) {
33556
+ case 0:
33557
+ _context3.next = 2;
33558
+ return getOpenClassLiveSimple(liveInfo);
33559
+
33560
+ case 2:
33561
+ newLiveInfo = _context3.sent;
33562
+ return _context3.abrupt("return", newLiveInfo.status);
33563
+
33564
+ case 4:
33565
+ case "end":
33566
+ return _context3.stop();
33567
+ }
33568
+ }
33569
+ }, _callee3);
33402
33570
  }));
33403
- return hook_usePullSource_isSourceReady.apply(this, arguments);
33571
+ return _getLiveNewStatus.apply(this, arguments);
33404
33572
  }
33405
33573
  ;// CONCATENATED MODULE: ./src/detail/LiveStatus/AnchorOnTheWay.jsx
33406
33574
  function AnchorOnTheWay_slicedToArray(arr, i) { return AnchorOnTheWay_arrayWithHoles(arr) || AnchorOnTheWay_iterableToArrayLimit(arr, i) || AnchorOnTheWay_unsupportedIterableToArray(arr, i) || AnchorOnTheWay_nonIterableRest(); }
@@ -33421,13 +33589,15 @@ function AnchorOnTheWay_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr
33421
33589
 
33422
33590
 
33423
33591
 
33592
+
33424
33593
  function AnchorOnTheWay(_ref) {
33425
- var _liveInfo$imInfo, _liveInfo$imInfo$para, _liveInfo$imInfo2, _liveInfo$imInfo2$par, _liveInfo$imInfo2$par2;
33594
+ var _liveInfo$imInfo, _liveInfo$imInfo$para, _liveInfo$imInfo$para2;
33426
33595
 
33427
33596
  var liveInfo = _ref.liveInfo,
33428
33597
  isStreamLive = _ref.isStreamLive,
33429
33598
  hasPlayed = _ref.hasPlayed,
33430
- reload = _ref.reload;
33599
+ reload = _ref.reload,
33600
+ onStatusChange = _ref.onStatusChange;
33431
33601
 
33432
33602
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(dayjs_min_default()().isAfter(dayjs_min_default()(liveInfo.end_time))),
33433
33603
  _useState2 = AnchorOnTheWay_slicedToArray(_useState, 2),
@@ -33437,14 +33607,15 @@ function AnchorOnTheWay(_ref) {
33437
33607
  hook_useInterval(function () {
33438
33608
  setIsAfterEndTime(dayjs_min_default()().isAfter(dayjs_min_default()(liveInfo.end_time)));
33439
33609
  }, 1000);
33440
- var sourceSrc = liveInfo === null || liveInfo === void 0 ? void 0 : (_liveInfo$imInfo = liveInfo.imInfo) === null || _liveInfo$imInfo === void 0 ? void 0 : (_liveInfo$imInfo$para = _liveInfo$imInfo.param) === null || _liveInfo$imInfo$para === void 0 ? void 0 : _liveInfo$imInfo$para.url;
33441
- var hasMultiLines = (liveInfo === null || liveInfo === void 0 ? void 0 : (_liveInfo$imInfo2 = liveInfo.imInfo) === null || _liveInfo$imInfo2 === void 0 ? void 0 : (_liveInfo$imInfo2$par = _liveInfo$imInfo2.param) === null || _liveInfo$imInfo2$par === void 0 ? void 0 : (_liveInfo$imInfo2$par2 = _liveInfo$imInfo2$par.lines) === null || _liveInfo$imInfo2$par2 === void 0 ? void 0 : _liveInfo$imInfo2$par2.length) > 1;
33442
33610
  usePullSource({
33443
- sourceSrc: sourceSrc,
33611
+ liveInfo: liveInfo,
33444
33612
  reload: reload,
33613
+ onStatusChange: onStatusChange,
33445
33614
  shouldStartPull: isStreamLive
33446
33615
  });
33447
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, isAfterEndTime ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33616
+ var hasMultiLines = (liveInfo === null || liveInfo === void 0 ? void 0 : (_liveInfo$imInfo = liveInfo.imInfo) === null || _liveInfo$imInfo === void 0 ? void 0 : (_liveInfo$imInfo$para = _liveInfo$imInfo.param) === null || _liveInfo$imInfo$para === void 0 ? void 0 : (_liveInfo$imInfo$para2 = _liveInfo$imInfo$para.lines) === null || _liveInfo$imInfo$para2 === void 0 ? void 0 : _liveInfo$imInfo$para2.length) > 1;
33617
+ var isNDMeeting = liveInfo.sub_type === SUB_TYPE.NET_DRAGON;
33618
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, isAfterEndTime && !isNDMeeting ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33448
33619
  className: detail_LiveStatus_index_module["status-completed"]
33449
33620
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33450
33621
  className: detail_LiveStatus_index_module.icon
@@ -33456,13 +33627,13 @@ function AnchorOnTheWay(_ref) {
33456
33627
  className: detail_LiveStatus_index_module.icon
33457
33628
  }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33458
33629
  className: detail_LiveStatus_index_module.text
33459
- }, isStreamLive ? hasPlayed ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u52A0\u8F7D\u4E2D..."), hasMultiLines ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33630
+ }, isStreamLive ? hasPlayed ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, isNDMeeting ? '主播正在赶来的路上...' : '加载中...'), hasMultiLines ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33460
33631
  style: {
33461
33632
  fontSize: '20px',
33462
33633
  fontWeight: 'normal',
33463
33634
  margin: '10px 0'
33464
33635
  }
33465
- }, "\u5C1D\u8BD5\u5207\u6362\u7EBF\u8DEF\u770B\u770B\u5427~") : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null)) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, "\u7B49\u5F85\u5F00\u64AD\u4E2D...")) : '主播正在赶来的路上...')));
33636
+ }, "\u5C1D\u8BD5\u5207\u6362\u7EBF\u8DEF\u770B\u770B\u5427~") : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null)) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", null, isNDMeeting ? '主播正在赶来的路上...' : '等待开播中...')) : '主播正在赶来的路上...')));
33466
33637
  }
33467
33638
  ;// CONCATENATED MODULE: ./src/detail/LiveStatus/index.jsx
33468
33639
 
@@ -33482,6 +33653,7 @@ function LiveStatus_iterableToArrayLimit(arr, i) { var _i = arr == null ? null :
33482
33653
 
33483
33654
  function LiveStatus_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33484
33655
 
33656
+ /* eslint-disable no-nested-ternary */
33485
33657
 
33486
33658
 
33487
33659
 
@@ -33490,7 +33662,8 @@ function LiveStatus_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33490
33662
 
33491
33663
 
33492
33664
  function LiveStatus(_ref) {
33493
- var handleLogin = _ref.handleLogin,
33665
+ var isStreamLive = _ref.isStreamLive,
33666
+ handleLogin = _ref.handleLogin,
33494
33667
  userInfo = _ref.userInfo,
33495
33668
  liveInfo = _ref.liveInfo,
33496
33669
  hasPlayed = _ref.hasPlayed,
@@ -33511,6 +33684,8 @@ function LiveStatus(_ref) {
33511
33684
  return undefined;
33512
33685
  } : _ref$onReloadLive;
33513
33686
 
33687
+ // 调试代码 模拟倒计时2S
33688
+ // const [countDownTime, setCountDownTime] = useState(2000)
33514
33689
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(dayjs_min_default()(liveInfo.begin_time).valueOf() - visitTime),
33515
33690
  _useState2 = LiveStatus_slicedToArray(_useState, 2),
33516
33691
  countDownTime = _useState2[0],
@@ -33521,8 +33696,7 @@ function LiveStatus(_ref) {
33521
33696
  var isCompleted = liveInfo.status === publicLive_PUBLIC_LIVE_STATUS.COMPLETEED;
33522
33697
  var isPaused = liveInfo.status === publicLive_PUBLIC_LIVE_STATUS.PASUED;
33523
33698
  var isOffline = liveInfo.status === publicLive_PUBLIC_LIVE_STATUS.OFFLINE;
33524
- var isRecordLive = liveInfo.type === PUBLIC_LIVE_MODE.RECORDED;
33525
- var isStreamLive = liveInfo.type === PUBLIC_LIVE_MODE.LIVING && (liveInfo.sub_type === SUB_TYPE.OUTSIDE || liveInfo.sub_type === SUB_TYPE.REBROADCAST); // 当前时间是否在回放时间开始前, 如果没有回放开始时间, 则直接判断未回放还没生成
33699
+ var isRecordLive = liveInfo.type === PUBLIC_LIVE_MODE.RECORDED; // 当前时间是否在回放时间开始前, 如果没有回放开始时间, 则直接判断未回放还没生成
33526
33700
 
33527
33701
  var isBeforeRecordTime = liveInfo.replay_begin_time ? dayjs_min_default()().isBefore(dayjs_min_default()(liveInfo.replay_begin_time)) : true;
33528
33702
  var mustLogin = !userInfo && liveInfo.login;
@@ -33535,6 +33709,7 @@ function LiveStatus(_ref) {
33535
33709
 
33536
33710
  var startLiving = function startLiving() {
33537
33711
  if (isRecordLive || isStreamLive) {
33712
+ setCountDownTime(0);
33538
33713
  onStatusChange(publicLive_PUBLIC_LIVE_STATUS.LIVEING, {
33539
33714
  play: !mustLogin
33540
33715
  });
@@ -33549,19 +33724,25 @@ function LiveStatus(_ref) {
33549
33724
  } else {
33550
33725
  onPlayReplay();
33551
33726
  }
33552
- };
33553
-
33554
- if (canLiveStart && !isLiveException && !isLiveLoading && !isLiveLoadError) {
33555
- return null;
33556
- } // 播放状态
33727
+ }; // 播放状态
33557
33728
 
33558
33729
 
33559
33730
  if (canLiveStart) {
33731
+ if (!isLiveException && !isLiveLoading && !isLiveLoadError) {
33732
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null);
33733
+ }
33734
+
33560
33735
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33561
33736
  className: detail_LiveStatus_index_module["live-status-wrapper"]
33562
33737
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33563
33738
  className: detail_LiveStatus_index_module["live-status"]
33564
- }, isLiveLoadError && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33739
+ }, isLiveException ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(AnchorOnTheWay, {
33740
+ liveInfo: liveInfo,
33741
+ isStreamLive: isStreamLive,
33742
+ hasPlayed: hasPlayed,
33743
+ reload: onReloadLive,
33744
+ onStatusChange: onStatusChange
33745
+ }) : isLiveLoadError ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33565
33746
  className: detail_LiveStatus_index_module["status-load-error"]
33566
33747
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_icon, {
33567
33748
  type: "exclamation-circle",
@@ -33571,12 +33752,7 @@ function LiveStatus(_ref) {
33571
33752
  }, "\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5")), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("button", {
33572
33753
  className: detail_LiveStatus_index_module["primary-btn"],
33573
33754
  onClick: onReloadLive
33574
- }, "\u91CD\u8BD5")), !isLiveLoadError && isLiveException && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(AnchorOnTheWay, {
33575
- liveInfo: liveInfo,
33576
- isStreamLive: isStreamLive,
33577
- hasPlayed: hasPlayed,
33578
- reload: onReloadLive
33579
- }), !isLiveLoadError && !isLiveException && isLiveLoading && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33755
+ }, "\u91CD\u8BD5")) : isLiveLoading ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33580
33756
  className: detail_LiveStatus_index_module["status-living-loading"]
33581
33757
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(spin, {
33582
33758
  indicator: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_icon, {
@@ -33586,7 +33762,7 @@ function LiveStatus(_ref) {
33586
33762
  })
33587
33763
  }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33588
33764
  className: detail_LiveStatus_index_module.text
33589
- }, "\u52A0\u8F7D\u4E2D...")))), !isRecordLive && (isLiveLoadError || isLiveException) && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33765
+ }, "\u52A0\u8F7D\u4E2D...")) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null))), !isRecordLive && (isLiveLoadError || isLiveException) && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33590
33766
  className: detail_LiveStatus_index_module["video-poster"],
33591
33767
  style: coverBgStyle
33592
33768
  }));
@@ -33606,7 +33782,8 @@ function LiveStatus(_ref) {
33606
33782
  liveInfo: liveInfo,
33607
33783
  isStreamLive: isStreamLive,
33608
33784
  hasPlayed: hasPlayed,
33609
- reload: onReloadLive
33785
+ reload: onReloadLive,
33786
+ onStatusChange: onStatusChange
33610
33787
  })), isLiving && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33611
33788
  className: detail_LiveStatus_index_module["status-living"]
33612
33789
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
@@ -33623,7 +33800,8 @@ function LiveStatus(_ref) {
33623
33800
  liveInfo: liveInfo,
33624
33801
  isStreamLive: isStreamLive,
33625
33802
  hasPlayed: hasPlayed,
33626
- reload: onReloadLive
33803
+ reload: onReloadLive,
33804
+ onStatusChange: onStatusChange
33627
33805
  }), isOffline && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("div", {
33628
33806
  className: detail_LiveStatus_index_module["status-offline"]
33629
33807
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_icon, {
@@ -33701,7 +33879,8 @@ function RecordVideo_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
33701
33879
 
33702
33880
 
33703
33881
  function RecordVideo(_ref) {
33704
- var userInfo = _ref.userInfo,
33882
+ var isStreamLive = _ref.isStreamLive,
33883
+ userInfo = _ref.userInfo,
33705
33884
  liveInfo = _ref.liveInfo,
33706
33885
  visitTime = _ref.visitTime,
33707
33886
  diffTime = _ref.diffTime,
@@ -33842,6 +34021,7 @@ function RecordVideo(_ref) {
33842
34021
  options: options,
33843
34022
  onReady: handleVideoReady
33844
34023
  }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(detail_LiveStatus, {
34024
+ isStreamLive: isStreamLive,
33845
34025
  userInfo: userInfo,
33846
34026
  visitTime: visitTime,
33847
34027
  diffTime: diffTime,
@@ -33853,6 +34033,8 @@ function RecordVideo(_ref) {
33853
34033
  onReloadLive: handleVideoReload
33854
34034
  }));
33855
34035
  }
34036
+ // EXTERNAL MODULE: ./node_modules/@sdp.nd/fish/es/loader/style/index.js
34037
+ var loader_style = __webpack_require__(4646);
33856
34038
  ;// CONCATENATED MODULE: ./src/component/AliPlayer/index.jsx
33857
34039
 
33858
34040
 
@@ -33892,8 +34074,8 @@ function AliPlayer(_ref) {
33892
34074
  var aliPlayer;
33893
34075
 
33894
34076
  var init = /*#__PURE__*/function () {
33895
- var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
33896
- return regenerator_default().wrap(function _callee$(_context) {
34077
+ var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
34078
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
33897
34079
  while (1) {
33898
34080
  switch (_context.prev = _context.next) {
33899
34081
  case 0:
@@ -34052,6 +34234,26 @@ function iterableToArrayLimit_iterableToArrayLimit(arr, i) {
34052
34234
 
34053
34235
  return _arr;
34054
34236
  }
34237
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
34238
+ function arrayLikeToArray_arrayLikeToArray(arr, len) {
34239
+ if (len == null || len > arr.length) len = arr.length;
34240
+
34241
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
34242
+ arr2[i] = arr[i];
34243
+ }
34244
+
34245
+ return arr2;
34246
+ }
34247
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
34248
+
34249
+ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
34250
+ if (!o) return;
34251
+ if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
34252
+ var n = Object.prototype.toString.call(o).slice(8, -1);
34253
+ if (n === "Object" && o.constructor) n = o.constructor.name;
34254
+ if (n === "Map" || n === "Set") return Array.from(o);
34255
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
34256
+ }
34055
34257
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
34056
34258
  function nonIterableRest_nonIterableRest() {
34057
34259
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -34062,7 +34264,7 @@ function nonIterableRest_nonIterableRest() {
34062
34264
 
34063
34265
 
34064
34266
  function slicedToArray_slicedToArray(arr, i) {
34065
- return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
34267
+ return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
34066
34268
  }
34067
34269
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/raf.js
34068
34270
  var raf = function raf(callback) {
@@ -34289,6 +34491,27 @@ var cacheStyle = {};
34289
34491
  }
34290
34492
  }
34291
34493
  });
34494
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
34495
+
34496
+ function arrayWithoutHoles_arrayWithoutHoles(arr) {
34497
+ if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
34498
+ }
34499
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js
34500
+ function iterableToArray_iterableToArray(iter) {
34501
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
34502
+ }
34503
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
34504
+ function nonIterableSpread_nonIterableSpread() {
34505
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
34506
+ }
34507
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
34508
+
34509
+
34510
+
34511
+
34512
+ function toConsumableArray_toConsumableArray(arr) {
34513
+ return arrayWithoutHoles_arrayWithoutHoles(arr) || iterableToArray_iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || nonIterableSpread_nonIterableSpread();
34514
+ }
34292
34515
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/Dom/scrollLocker.js
34293
34516
 
34294
34517
 
@@ -34305,7 +34528,7 @@ var scrollLocker_cacheStyle = new Map();
34305
34528
  var ScrollLocker = function ScrollLocker(_options) {
34306
34529
  var _this = this;
34307
34530
 
34308
- _classCallCheck(this, ScrollLocker);
34531
+ classCallCheck_classCallCheck(this, ScrollLocker);
34309
34532
 
34310
34533
  this.lockTarget = void 0;
34311
34534
  this.options = void 0;
@@ -34353,7 +34576,7 @@ var ScrollLocker = function ScrollLocker(_options) {
34353
34576
  var options = _ref3.options;
34354
34577
  return (options === null || options === void 0 ? void 0 : options.container) === ((_this$options2 = _this.options) === null || _this$options2 === void 0 ? void 0 : _this$options2.container);
34355
34578
  })) {
34356
- locks = [].concat(_toConsumableArray(locks), [{
34579
+ locks = [].concat(toConsumableArray_toConsumableArray(locks), [{
34357
34580
  target: _this.lockTarget,
34358
34581
  options: _this.options
34359
34582
  }]);
@@ -34391,7 +34614,7 @@ var ScrollLocker = function ScrollLocker(_options) {
34391
34614
  container.className = addClassName.trim();
34392
34615
  }
34393
34616
 
34394
- locks = [].concat(_toConsumableArray(locks), [{
34617
+ locks = [].concat(toConsumableArray_toConsumableArray(locks), [{
34395
34618
  target: _this.lockTarget,
34396
34619
  options: _this.options
34397
34620
  }]);
@@ -34475,7 +34698,7 @@ var getParent = function getParent(getContainer) {
34475
34698
  return getContainer();
34476
34699
  }
34477
34700
 
34478
- if (typeof_typeof(getContainer) === 'object' && getContainer instanceof window.HTMLElement) {
34701
+ if (esm_typeof_typeof(getContainer) === 'object' && getContainer instanceof window.HTMLElement) {
34479
34702
  return getContainer;
34480
34703
  }
34481
34704
  }
@@ -34484,14 +34707,14 @@ var getParent = function getParent(getContainer) {
34484
34707
  };
34485
34708
 
34486
34709
  var PortalWrapper = /*#__PURE__*/function (_React$Component) {
34487
- _inherits(PortalWrapper, _React$Component);
34710
+ inherits_inherits(PortalWrapper, _React$Component);
34488
34711
 
34489
- var _super = _createSuper(PortalWrapper);
34712
+ var _super = createSuper_createSuper(PortalWrapper);
34490
34713
 
34491
34714
  function PortalWrapper(props) {
34492
34715
  var _this;
34493
34716
 
34494
- _classCallCheck(this, PortalWrapper);
34717
+ classCallCheck_classCallCheck(this, PortalWrapper);
34495
34718
 
34496
34719
  _this = _super.call(this, props);
34497
34720
  _this.container = void 0;
@@ -34611,7 +34834,7 @@ var PortalWrapper = /*#__PURE__*/function (_React$Component) {
34611
34834
  return _this;
34612
34835
  }
34613
34836
 
34614
- _createClass(PortalWrapper, [{
34837
+ createClass_createClass(PortalWrapper, [{
34615
34838
  key: "componentDidMount",
34616
34839
  value: function componentDidMount() {
34617
34840
  var _this2 = this;
@@ -34679,6 +34902,46 @@ var PortalWrapper = /*#__PURE__*/function (_React$Component) {
34679
34902
  }(external_commonjs_react_commonjs2_react_root_React_namespaceObject.Component);
34680
34903
 
34681
34904
  /* harmony default export */ var es_PortalWrapper = (PortalWrapper);
34905
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
34906
+
34907
+
34908
+ function objectSpread2_ownKeys(object, enumerableOnly) {
34909
+ var keys = Object.keys(object);
34910
+
34911
+ if (Object.getOwnPropertySymbols) {
34912
+ var symbols = Object.getOwnPropertySymbols(object);
34913
+
34914
+ if (enumerableOnly) {
34915
+ symbols = symbols.filter(function (sym) {
34916
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
34917
+ });
34918
+ }
34919
+
34920
+ keys.push.apply(keys, symbols);
34921
+ }
34922
+
34923
+ return keys;
34924
+ }
34925
+
34926
+ function objectSpread2_objectSpread2(target) {
34927
+ for (var i = 1; i < arguments.length; i++) {
34928
+ var source = arguments[i] != null ? arguments[i] : {};
34929
+
34930
+ if (i % 2) {
34931
+ objectSpread2_ownKeys(Object(source), true).forEach(function (key) {
34932
+ defineProperty_defineProperty(target, key, source[key]);
34933
+ });
34934
+ } else if (Object.getOwnPropertyDescriptors) {
34935
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
34936
+ } else {
34937
+ objectSpread2_ownKeys(Object(source)).forEach(function (key) {
34938
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
34939
+ });
34940
+ }
34941
+ }
34942
+
34943
+ return target;
34944
+ }
34682
34945
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/KeyCode.js
34683
34946
  /**
34684
34947
  * @ignore
@@ -35345,7 +35608,7 @@ function pickAttrs(props) {
35345
35608
  aria: true
35346
35609
  };
35347
35610
  } else {
35348
- mergedConfig = _objectSpread2({}, ariaOnly);
35611
+ mergedConfig = objectSpread2_objectSpread2({}, ariaOnly);
35349
35612
  }
35350
35613
 
35351
35614
  var attrs = {};
@@ -35378,7 +35641,7 @@ var react_is = __webpack_require__(9864);
35378
35641
  function fillRef(ref, node) {
35379
35642
  if (typeof ref === 'function') {
35380
35643
  ref(node);
35381
- } else if (typeof_typeof(ref) === 'object' && ref && 'current' in ref) {
35644
+ } else if (esm_typeof_typeof(ref) === 'object' && ref && 'current' in ref) {
35382
35645
  ref.current = node;
35383
35646
  }
35384
35647
  }
@@ -35488,7 +35751,7 @@ var transitionEndName = internalTransitionEndName || 'transitionend';
35488
35751
  function getTransitionName(transitionName, transitionType) {
35489
35752
  if (!transitionName) return null;
35490
35753
 
35491
- if (typeof_typeof(transitionName) === 'object') {
35754
+ if (esm_typeof_typeof(transitionName) === 'object') {
35492
35755
  var type = transitionType.replace(/-\w/g, function (match) {
35493
35756
  return match[1].toUpperCase();
35494
35757
  });
@@ -35781,13 +36044,13 @@ function useStatus(supportMotion, visible, getElement, _ref) {
35781
36044
 
35782
36045
  switch (status) {
35783
36046
  case 'appear':
35784
- return _ref2 = {}, _defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), _defineProperty(_ref2, STEP_START, onAppearStart), _defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
36047
+ return _ref2 = {}, defineProperty_defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), defineProperty_defineProperty(_ref2, STEP_START, onAppearStart), defineProperty_defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
35785
36048
 
35786
36049
  case 'enter':
35787
- return _ref3 = {}, _defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), _defineProperty(_ref3, STEP_START, onEnterStart), _defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
36050
+ return _ref3 = {}, defineProperty_defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), defineProperty_defineProperty(_ref3, STEP_START, onEnterStart), defineProperty_defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
35788
36051
 
35789
36052
  case 'leave':
35790
- return _ref4 = {}, _defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty(_ref4, STEP_START, onLeaveStart), _defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
36053
+ return _ref4 = {}, defineProperty_defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), defineProperty_defineProperty(_ref4, STEP_START, onLeaveStart), defineProperty_defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
35791
36054
 
35792
36055
  default:
35793
36056
  return {};
@@ -35895,7 +36158,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
35895
36158
  var mergedStyle = style;
35896
36159
 
35897
36160
  if (eventHandlers[STEP_PREPARE] && step === STEP_START) {
35898
- mergedStyle = _objectSpread2({
36161
+ mergedStyle = objectSpread2_objectSpread2({
35899
36162
  transition: 'none'
35900
36163
  }, mergedStyle);
35901
36164
  }
@@ -35910,17 +36173,17 @@ function useStatus(supportMotion, visible, getElement, _ref) {
35910
36173
 
35911
36174
 
35912
36175
  var DomWrapper = /*#__PURE__*/function (_React$Component) {
35913
- _inherits(DomWrapper, _React$Component);
36176
+ inherits_inherits(DomWrapper, _React$Component);
35914
36177
 
35915
- var _super = _createSuper(DomWrapper);
36178
+ var _super = createSuper_createSuper(DomWrapper);
35916
36179
 
35917
36180
  function DomWrapper() {
35918
- _classCallCheck(this, DomWrapper);
36181
+ classCallCheck_classCallCheck(this, DomWrapper);
35919
36182
 
35920
36183
  return _super.apply(this, arguments);
35921
36184
  }
35922
36185
 
35923
- _createClass(DomWrapper, [{
36186
+ createClass_createClass(DomWrapper, [{
35924
36187
  key: "render",
35925
36188
  value: function render() {
35926
36189
  return this.props.children;
@@ -35956,7 +36219,7 @@ var DomWrapper = /*#__PURE__*/function (_React$Component) {
35956
36219
  function genCSSMotion(config) {
35957
36220
  var transitionSupport = config;
35958
36221
 
35959
- if (typeof_typeof(config) === 'object') {
36222
+ if (esm_typeof_typeof(config) === 'object') {
35960
36223
  transitionSupport = config.transitionSupport;
35961
36224
  }
35962
36225
 
@@ -36014,7 +36277,7 @@ function genCSSMotion(config) {
36014
36277
 
36015
36278
  var motionChildren;
36016
36279
 
36017
- var mergedProps = _objectSpread2(_objectSpread2({}, eventProps), {}, {
36280
+ var mergedProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, eventProps), {}, {
36018
36281
  visible: visible
36019
36282
  });
36020
36283
 
@@ -36024,13 +36287,13 @@ function genCSSMotion(config) {
36024
36287
  } else if (status === STATUS_NONE || !isSupportTransition(props)) {
36025
36288
  // Stable children
36026
36289
  if (mergedVisible) {
36027
- motionChildren = children(_objectSpread2({}, mergedProps), setNodeRef);
36290
+ motionChildren = children(objectSpread2_objectSpread2({}, mergedProps), setNodeRef);
36028
36291
  } else if (!removeOnLeave && renderedRef.current) {
36029
- motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
36292
+ motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
36030
36293
  className: leavedClassName
36031
36294
  }), setNodeRef);
36032
36295
  } else if (forceRender) {
36033
- motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
36296
+ motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
36034
36297
  style: {
36035
36298
  display: 'none'
36036
36299
  }
@@ -36052,8 +36315,8 @@ function genCSSMotion(config) {
36052
36315
  statusSuffix = 'start';
36053
36316
  }
36054
36317
 
36055
- motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
36056
- className: classnames_default()(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)),
36318
+ motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
36319
+ className: classnames_default()(getTransitionName(motionName, status), (_classNames = {}, defineProperty_defineProperty(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), defineProperty_defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)),
36057
36320
  style: statusStyle
36058
36321
  }), setNodeRef);
36059
36322
  }
@@ -36066,6 +36329,41 @@ function genCSSMotion(config) {
36066
36329
  return CSSMotion;
36067
36330
  }
36068
36331
  /* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
36332
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
36333
+ function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
36334
+ if (source == null) return {};
36335
+ var target = {};
36336
+ var sourceKeys = Object.keys(source);
36337
+ var key, i;
36338
+
36339
+ for (i = 0; i < sourceKeys.length; i++) {
36340
+ key = sourceKeys[i];
36341
+ if (excluded.indexOf(key) >= 0) continue;
36342
+ target[key] = source[key];
36343
+ }
36344
+
36345
+ return target;
36346
+ }
36347
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
36348
+
36349
+ function objectWithoutProperties_objectWithoutProperties(source, excluded) {
36350
+ if (source == null) return {};
36351
+ var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
36352
+ var key, i;
36353
+
36354
+ if (Object.getOwnPropertySymbols) {
36355
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
36356
+
36357
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
36358
+ key = sourceSymbolKeys[i];
36359
+ if (excluded.indexOf(key) >= 0) continue;
36360
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
36361
+ target[key] = source[key];
36362
+ }
36363
+ }
36364
+
36365
+ return target;
36366
+ }
36069
36367
  ;// CONCATENATED MODULE: ./node_modules/rc-motion/es/util/diff.js
36070
36368
 
36071
36369
 
@@ -36076,7 +36374,7 @@ var STATUS_REMOVED = 'removed';
36076
36374
  function wrapKeyToObject(key) {
36077
36375
  var keyObj;
36078
36376
 
36079
- if (key && typeof_typeof(key) === 'object' && 'key' in key) {
36377
+ if (key && esm_typeof_typeof(key) === 'object' && 'key' in key) {
36080
36378
  keyObj = key;
36081
36379
  } else {
36082
36380
  keyObj = {
@@ -36084,7 +36382,7 @@ function wrapKeyToObject(key) {
36084
36382
  };
36085
36383
  }
36086
36384
 
36087
- return _objectSpread2(_objectSpread2({}, keyObj), {}, {
36385
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, keyObj), {}, {
36088
36386
  key: String(keyObj.key)
36089
36387
  });
36090
36388
  }
@@ -36111,14 +36409,14 @@ function diffKeys() {
36111
36409
  // New added keys should add before current key
36112
36410
  if (currentIndex < i) {
36113
36411
  list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {
36114
- return _objectSpread2(_objectSpread2({}, obj), {}, {
36412
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, obj), {}, {
36115
36413
  status: STATUS_ADD
36116
36414
  });
36117
36415
  }));
36118
36416
  currentIndex = i;
36119
36417
  }
36120
36418
 
36121
- list.push(_objectSpread2(_objectSpread2({}, currentKeyObj), {}, {
36419
+ list.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, currentKeyObj), {}, {
36122
36420
  status: STATUS_KEEP
36123
36421
  }));
36124
36422
  currentIndex += 1;
@@ -36129,7 +36427,7 @@ function diffKeys() {
36129
36427
 
36130
36428
 
36131
36429
  if (!hit) {
36132
- list.push(_objectSpread2(_objectSpread2({}, keyObj), {}, {
36430
+ list.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, keyObj), {}, {
36133
36431
  status: STATUS_REMOVE
36134
36432
  }));
36135
36433
  }
@@ -36137,7 +36435,7 @@ function diffKeys() {
36137
36435
 
36138
36436
  if (currentIndex < currentLen) {
36139
36437
  list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {
36140
- return _objectSpread2(_objectSpread2({}, obj), {}, {
36438
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, obj), {}, {
36141
36439
  status: STATUS_ADD
36142
36440
  });
36143
36441
  }));
@@ -36198,14 +36496,14 @@ function genCSSMotionList(transitionSupport) {
36198
36496
  var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : es_CSSMotion;
36199
36497
 
36200
36498
  var CSSMotionList = /*#__PURE__*/function (_React$Component) {
36201
- _inherits(CSSMotionList, _React$Component);
36499
+ inherits_inherits(CSSMotionList, _React$Component);
36202
36500
 
36203
- var _super = _createSuper(CSSMotionList);
36501
+ var _super = createSuper_createSuper(CSSMotionList);
36204
36502
 
36205
36503
  function CSSMotionList() {
36206
36504
  var _this;
36207
36505
 
36208
- _classCallCheck(this, CSSMotionList);
36506
+ classCallCheck_classCallCheck(this, CSSMotionList);
36209
36507
 
36210
36508
  _this = _super.apply(this, arguments);
36211
36509
  _this.state = {
@@ -36218,7 +36516,7 @@ function genCSSMotionList(transitionSupport) {
36218
36516
  return {
36219
36517
  keyEntities: keyEntities.map(function (entity) {
36220
36518
  if (entity.key !== removeKey) return entity;
36221
- return _objectSpread2(_objectSpread2({}, entity), {}, {
36519
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, entity), {}, {
36222
36520
  status: STATUS_REMOVED
36223
36521
  });
36224
36522
  })
@@ -36229,7 +36527,7 @@ function genCSSMotionList(transitionSupport) {
36229
36527
  return _this;
36230
36528
  }
36231
36529
 
36232
- _createClass(CSSMotionList, [{
36530
+ createClass_createClass(CSSMotionList, [{
36233
36531
  key: "render",
36234
36532
  value: function render() {
36235
36533
  var _this2 = this;
@@ -36240,7 +36538,7 @@ function genCSSMotionList(transitionSupport) {
36240
36538
  component = _this$props.component,
36241
36539
  children = _this$props.children,
36242
36540
  _onVisibleChanged = _this$props.onVisibleChanged,
36243
- restProps = _objectWithoutProperties(_this$props, ["component", "children", "onVisibleChanged"]);
36541
+ restProps = objectWithoutProperties_objectWithoutProperties(_this$props, ["component", "children", "onVisibleChanged"]);
36244
36542
 
36245
36543
  var Component = component || external_commonjs_react_commonjs2_react_root_React_namespaceObject.Fragment;
36246
36544
  var motionProps = {};
@@ -36251,10 +36549,10 @@ function genCSSMotionList(transitionSupport) {
36251
36549
  delete restProps.keys;
36252
36550
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, restProps, keyEntities.map(function (_ref2) {
36253
36551
  var status = _ref2.status,
36254
- eventProps = _objectWithoutProperties(_ref2, ["status"]);
36552
+ eventProps = objectWithoutProperties_objectWithoutProperties(_ref2, ["status"]);
36255
36553
 
36256
36554
  var visible = status === STATUS_ADD || status === STATUS_KEEP;
36257
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(CSSMotion, extends_extends({}, motionProps, {
36555
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(CSSMotion, esm_extends_extends({}, motionProps, {
36258
36556
  key: eventProps.key,
36259
36557
  visible: visible,
36260
36558
  eventProps: eventProps,
@@ -36328,8 +36626,8 @@ function Mask(props) {
36328
36626
  }, function (_ref) {
36329
36627
  var motionClassName = _ref.className,
36330
36628
  motionStyle = _ref.style;
36331
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
36332
- style: _objectSpread2(_objectSpread2({}, motionStyle), style),
36629
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
36630
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), style),
36333
36631
  className: classnames_default()("".concat(prefixCls, "-mask"), motionClassName)
36334
36632
  }, maskProps));
36335
36633
  });
@@ -36512,7 +36810,7 @@ var Content = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_na
36512
36810
 
36513
36811
  var content = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
36514
36812
  className: "".concat(prefixCls, "-content")
36515
- }, closer, headerNode, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
36813
+ }, closer, headerNode, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
36516
36814
  className: "".concat(prefixCls, "-body"),
36517
36815
  style: bodyStyle
36518
36816
  }, bodyProps), children), footerNode);
@@ -36532,7 +36830,7 @@ var Content = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_na
36532
36830
  key: "dialog-element",
36533
36831
  role: "document",
36534
36832
  ref: motionRef,
36535
- style: _objectSpread2(_objectSpread2(_objectSpread2({}, motionStyle), style), contentStyle),
36833
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), style), contentStyle),
36536
36834
  className: classnames_default()(prefixCls, className, motionClassName),
36537
36835
  onMouseDown: onMouseDown,
36538
36836
  onMouseUp: onMouseUp
@@ -36714,7 +37012,7 @@ function Dialog(props) {
36714
37012
  return function () {};
36715
37013
  }, [animatedVisible, scrollLocker]); // ========================= Render =========================
36716
37014
 
36717
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
37015
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
36718
37016
  className: "".concat(prefixCls, "-root")
36719
37017
  }, pickAttrs(props, {
36720
37018
  data: true
@@ -36722,11 +37020,11 @@ function Dialog(props) {
36722
37020
  prefixCls: prefixCls,
36723
37021
  visible: mask && visible,
36724
37022
  motionName: getMotionName(prefixCls, maskTransitionName, maskAnimation),
36725
- style: _objectSpread2({
37023
+ style: objectSpread2_objectSpread2({
36726
37024
  zIndex: zIndex
36727
37025
  }, maskStyle),
36728
37026
  maskProps: maskProps
36729
- }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
37027
+ }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
36730
37028
  tabIndex: -1,
36731
37029
  onKeyDown: onWrapperKeyDown,
36732
37030
  className: classnames_default()("".concat(prefixCls, "-wrap"), wrapClassName),
@@ -36734,12 +37032,12 @@ function Dialog(props) {
36734
37032
  onClick: onWrapperClick,
36735
37033
  role: "dialog",
36736
37034
  "aria-labelledby": title ? ariaIdRef.current : null,
36737
- style: _objectSpread2(_objectSpread2({
37035
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({
36738
37036
  zIndex: zIndex
36739
37037
  }, wrapStyle), {}, {
36740
37038
  display: !animatedVisible ? 'none' : null
36741
37039
  })
36742
- }, wrapProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog_Content, extends_extends({}, props, {
37040
+ }, wrapProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog_Content, esm_extends_extends({}, props, {
36743
37041
  onMouseDown: onContentMouseDown,
36744
37042
  onMouseUp: onContentMouseUp,
36745
37043
  ref: contentRef,
@@ -36787,7 +37085,7 @@ var DialogWrap = function DialogWrap(props) {
36787
37085
  }, [visible]); // 渲染在当前 dom 里;
36788
37086
 
36789
37087
  if (getContainer === false) {
36790
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, extends_extends({}, props, {
37088
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, esm_extends_extends({}, props, {
36791
37089
  getOpenCount: function getOpenCount() {
36792
37090
  return 2;
36793
37091
  } // 不对 body 做任何操作。。
@@ -36805,7 +37103,7 @@ var DialogWrap = function DialogWrap(props) {
36805
37103
  forceRender: forceRender,
36806
37104
  getContainer: getContainer
36807
37105
  }, function (childProps) {
36808
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, extends_extends({}, props, {
37106
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, esm_extends_extends({}, props, {
36809
37107
  destroyOnClose: destroyOnClose,
36810
37108
  afterClose: function afterClose() {
36811
37109
  _afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();
@@ -36840,8 +37138,8 @@ function getConfirmLocale() {
36840
37138
 
36841
37139
 
36842
37140
 
36843
- var UnreachableException = /*#__PURE__*/_createClass(function UnreachableException(value) {
36844
- _classCallCheck(this, UnreachableException);
37141
+ var UnreachableException = /*#__PURE__*/createClass_createClass(function UnreachableException(value) {
37142
+ classCallCheck_classCallCheck(this, UnreachableException);
36845
37143
 
36846
37144
  this.error = new Error("unreachable case: ".concat(JSON.stringify(value)));
36847
37145
  });
@@ -36904,8 +37202,8 @@ var ButtonGroup = function ButtonGroup(props) {
36904
37202
  console.warn(new UnreachableException(size).error);
36905
37203
  }
36906
37204
 
36907
- var classes = classnames_default()(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
36908
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, others, {
37205
+ var classes = classnames_default()(prefixCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
37206
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, others, {
36909
37207
  className: classes
36910
37208
  }));
36911
37209
  });
@@ -36976,14 +37274,14 @@ function isNotGrey(color) {
36976
37274
  }
36977
37275
 
36978
37276
  var Wave = /*#__PURE__*/function (_React$Component) {
36979
- _inherits(Wave, _React$Component);
37277
+ inherits_inherits(Wave, _React$Component);
36980
37278
 
36981
- var _super = _createSuper(Wave);
37279
+ var _super = createSuper_createSuper(Wave);
36982
37280
 
36983
37281
  function Wave() {
36984
37282
  var _this;
36985
37283
 
36986
- _classCallCheck(this, Wave);
37284
+ classCallCheck_classCallCheck(this, Wave);
36987
37285
 
36988
37286
  _this = _super.apply(this, arguments);
36989
37287
  _this.containerRef = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createRef();
@@ -37003,7 +37301,7 @@ var Wave = /*#__PURE__*/function (_React$Component) {
37003
37301
 
37004
37302
  _this.extraNode = document.createElement('div');
37005
37303
 
37006
- var _assertThisInitialize = _assertThisInitialized(_this),
37304
+ var _assertThisInitialize = assertThisInitialized_assertThisInitialized(_this),
37007
37305
  extraNode = _assertThisInitialize.extraNode;
37008
37306
 
37009
37307
  var getPrefixCls = _this.context.getPrefixCls;
@@ -37110,7 +37408,7 @@ var Wave = /*#__PURE__*/function (_React$Component) {
37110
37408
  return _this;
37111
37409
  }
37112
37410
 
37113
- _createClass(Wave, [{
37411
+ createClass_createClass(Wave, [{
37114
37412
  key: "componentDidMount",
37115
37413
  value: function componentDidMount() {
37116
37414
  var node = this.containerRef.current;
@@ -37337,7 +37635,7 @@ function spaceChildren(children, needInserted) {
37337
37635
  var isPrevChildPure = false;
37338
37636
  var childList = [];
37339
37637
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.Children.forEach(children, function (child) {
37340
- var type = typeof_typeof(child);
37638
+ var type = esm_typeof_typeof(child);
37341
37639
 
37342
37640
  var isCurrentChildPure = type === 'string' || type === 'number';
37343
37641
 
@@ -37437,7 +37735,7 @@ var InternalButton = function InternalButton(props, ref) {
37437
37735
  }; // =============== Update Loading ===============
37438
37736
 
37439
37737
 
37440
- var loadingOrDelay = typeof_typeof(loading) === 'object' && loading.delay ? loading.delay || true : !!loading;
37738
+ var loadingOrDelay = esm_typeof_typeof(loading) === 'object' && loading.delay ? loading.delay || true : !!loading;
37441
37739
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect(function () {
37442
37740
  clearTimeout(delayTimeoutRef.current);
37443
37741
 
@@ -37477,7 +37775,7 @@ var InternalButton = function InternalButton(props, ref) {
37477
37775
  var sizeFullname = customizeSize || size;
37478
37776
  var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
37479
37777
  var iconType = innerLoading ? 'loading' : icon;
37480
- var classes = classnames_default()(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), _defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), _defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), _defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), _defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), _defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), _defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), _defineProperty(_classNames, "".concat(prefixCls, "-block"), block), _defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
37778
+ var classes = classnames_default()(prefixCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(type), type), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(shape), shape !== 'default' && shape), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-icon-only"), !children && children !== 0 && !!iconType), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-background-ghost"), ghost && !isUnborderedButtonType(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-loading"), innerLoading), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-two-chinese-chars"), hasTwoCNChar && autoInsertSpace), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-block"), block), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-dangerous"), !!danger), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
37481
37779
  var iconNode;
37482
37780
 
37483
37781
  if (typeof iconType === 'string' && iconType !== 'loading') {
@@ -37496,14 +37794,14 @@ var InternalButton = function InternalButton(props, ref) {
37496
37794
  var linkButtonRestProps = omit(rest, ['navigate']);
37497
37795
 
37498
37796
  if (linkButtonRestProps.href !== undefined) {
37499
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("a", extends_extends({}, linkButtonRestProps, {
37797
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("a", esm_extends_extends({}, linkButtonRestProps, {
37500
37798
  className: classes,
37501
37799
  onClick: handleClick,
37502
37800
  ref: buttonRef
37503
37801
  }), iconNode, kids);
37504
37802
  }
37505
37803
 
37506
- var buttonNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("button", extends_extends({}, rest, {
37804
+ var buttonNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("button", esm_extends_extends({}, rest, {
37507
37805
  type: htmlType,
37508
37806
  className: classes,
37509
37807
  onClick: handleClick,
@@ -37681,9 +37979,9 @@ var Modal = function Modal(props) {
37681
37979
  okType = props.okType,
37682
37980
  cancelText = props.cancelText,
37683
37981
  confirmLoading = props.confirmLoading;
37684
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, extends_extends({
37982
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement((external_commonjs_react_commonjs2_react_root_React_default()).Fragment, null, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, esm_extends_extends({
37685
37983
  onClick: handleCancel
37686
- }, props.cancelButtonProps), cancelText || locale.cancelText), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, extends_extends({}, convertLegacyProps(okType), {
37984
+ }, props.cancelButtonProps), cancelText || locale.cancelText), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, esm_extends_extends({}, convertLegacyProps(okType), {
37687
37985
  loading: confirmLoading,
37688
37986
  onClick: handleOk
37689
37987
  }, props.okButtonProps), okText || locale.okText));
@@ -37718,8 +38016,8 @@ var Modal = function Modal(props) {
37718
38016
  type: "close",
37719
38017
  className: "".concat(prefixCls, "-close-icon")
37720
38018
  }));
37721
- var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-centered"), !!centered), _defineProperty(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
37722
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, extends_extends({}, restProps, {
38019
+ var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-centered"), !!centered), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
38020
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, esm_extends_extends({}, restProps, {
37723
38021
  getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,
37724
38022
  prefixCls: prefixCls,
37725
38023
  wrapClassName: wrapClassNameExtended,
@@ -37845,7 +38143,7 @@ var ActionButton = function ActionButton(props) {
37845
38143
  children = props.children,
37846
38144
  prefixCls = props.prefixCls,
37847
38145
  buttonProps = props.buttonProps;
37848
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_button, extends_extends({}, convertLegacyProps(type), {
38146
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_button, esm_extends_extends({}, convertLegacyProps(type), {
37849
38147
  onClick: onClick,
37850
38148
  loading: loading,
37851
38149
  prefixCls: prefixCls
@@ -39362,7 +39660,7 @@ function get(entity, path) {
39362
39660
 
39363
39661
 
39364
39662
  function _toArray(arr) {
39365
- return arrayWithHoles_arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
39663
+ return arrayWithHoles_arrayWithHoles(arr) || iterableToArray_iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
39366
39664
  }
39367
39665
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/utils/set.js
39368
39666
 
@@ -39384,9 +39682,9 @@ function internalSet(entity, paths, value, removeIfUndefined) {
39384
39682
  if (!entity && typeof path === 'number') {
39385
39683
  clone = [];
39386
39684
  } else if (Array.isArray(entity)) {
39387
- clone = _toConsumableArray(entity);
39685
+ clone = toConsumableArray_toConsumableArray(entity);
39388
39686
  } else {
39389
- clone = _objectSpread2({}, entity);
39687
+ clone = objectSpread2_objectSpread2({}, entity);
39390
39688
  } // Delete prop if `removeIfUndefined` and value is undefined
39391
39689
 
39392
39690
 
@@ -39450,7 +39748,7 @@ function containsNamePath(namePathList, namePath) {
39450
39748
  }
39451
39749
 
39452
39750
  function isObject(obj) {
39453
- return typeof_typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
39751
+ return esm_typeof_typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
39454
39752
  }
39455
39753
  /**
39456
39754
  * Copy values into store and return a new values object
@@ -39459,7 +39757,7 @@ function isObject(obj) {
39459
39757
 
39460
39758
 
39461
39759
  function internalSetValues(store, values) {
39462
- var newStore = Array.isArray(store) ? _toConsumableArray(store) : _objectSpread2({}, store);
39760
+ var newStore = Array.isArray(store) ? toConsumableArray_toConsumableArray(store) : objectSpread2_objectSpread2({}, store);
39463
39761
 
39464
39762
  if (!values) {
39465
39763
  return newStore;
@@ -39502,14 +39800,14 @@ function isSimilar(source, target) {
39502
39800
  return false;
39503
39801
  }
39504
39802
 
39505
- if (!source || !target || typeof_typeof(source) !== 'object' || typeof_typeof(target) !== 'object') {
39803
+ if (!source || !target || esm_typeof_typeof(source) !== 'object' || esm_typeof_typeof(target) !== 'object') {
39506
39804
  return false;
39507
39805
  }
39508
39806
 
39509
39807
  var sourceKeys = Object.keys(source);
39510
39808
  var targetKeys = Object.keys(target);
39511
- var keys = new Set([].concat(_toConsumableArray(sourceKeys), _toConsumableArray(targetKeys)));
39512
- return _toConsumableArray(keys).every(function (key) {
39809
+ var keys = new Set([].concat(toConsumableArray_toConsumableArray(sourceKeys), toConsumableArray_toConsumableArray(targetKeys)));
39810
+ return toConsumableArray_toConsumableArray(keys).every(function (key) {
39513
39811
  var sourceValue = source[key];
39514
39812
  var targetValue = target[key];
39515
39813
 
@@ -39552,12 +39850,12 @@ function valueUtil_move(array, moveIndex, toIndex) {
39552
39850
 
39553
39851
  if (diff > 0) {
39554
39852
  // move left
39555
- return [].concat(_toConsumableArray(array.slice(0, toIndex)), [item], _toConsumableArray(array.slice(toIndex, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, length)));
39853
+ return [].concat(toConsumableArray_toConsumableArray(array.slice(0, toIndex)), [item], toConsumableArray_toConsumableArray(array.slice(toIndex, moveIndex)), toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, length)));
39556
39854
  }
39557
39855
 
39558
39856
  if (diff < 0) {
39559
39857
  // move right
39560
- return [].concat(_toConsumableArray(array.slice(0, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], _toConsumableArray(array.slice(toIndex + 1, length)));
39858
+ return [].concat(toConsumableArray_toConsumableArray(array.slice(0, moveIndex)), toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], toConsumableArray_toConsumableArray(array.slice(toIndex + 1, length)));
39561
39859
  }
39562
39860
 
39563
39861
  return array;
@@ -39597,13 +39895,13 @@ function validateRule(_x, _x2, _x3, _x4, _x5) {
39597
39895
 
39598
39896
 
39599
39897
  function _validateRule() {
39600
- _validateRule = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(name, value, rule, options, messageVariables) {
39898
+ _validateRule = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(name, value, rule, options, messageVariables) {
39601
39899
  var cloneRule, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;
39602
- return regenerator_default().wrap(function _callee2$(_context2) {
39900
+ return runtime_regenerator_default().wrap(function _callee2$(_context2) {
39603
39901
  while (1) {
39604
39902
  switch (_context2.prev = _context2.next) {
39605
39903
  case 0:
39606
- cloneRule = _objectSpread2({}, rule); // Bug of `async-validator`
39904
+ cloneRule = objectSpread2_objectSpread2({}, rule); // Bug of `async-validator`
39607
39905
  // https://github.com/react-component/field-form/issues/316
39608
39906
  // https://github.com/react-component/field-form/issues/313
39609
39907
 
@@ -39616,13 +39914,13 @@ function _validateRule() {
39616
39914
  delete cloneRule.defaultField;
39617
39915
  }
39618
39916
 
39619
- validator = new AsyncValidator(_defineProperty({}, name, [cloneRule]));
39917
+ validator = new AsyncValidator(defineProperty_defineProperty({}, name, [cloneRule]));
39620
39918
  messages = setValues({}, defaultValidateMessages, options.validateMessages);
39621
39919
  validator.messages(messages);
39622
39920
  result = [];
39623
39921
  _context2.prev = 8;
39624
39922
  _context2.next = 11;
39625
- return Promise.resolve(validator.validate(_defineProperty({}, name, value), _objectSpread2({}, options)));
39923
+ return Promise.resolve(validator.validate(defineProperty_defineProperty({}, name, value), objectSpread2_objectSpread2({}, options)));
39626
39924
 
39627
39925
  case 11:
39628
39926
  _context2.next = 16;
@@ -39662,12 +39960,12 @@ function _validateRule() {
39662
39960
  case 19:
39663
39961
  subResults = _context2.sent;
39664
39962
  return _context2.abrupt("return", subResults.reduce(function (prev, errors) {
39665
- return [].concat(_toConsumableArray(prev), _toConsumableArray(errors));
39963
+ return [].concat(toConsumableArray_toConsumableArray(prev), toConsumableArray_toConsumableArray(errors));
39666
39964
  }, []));
39667
39965
 
39668
39966
  case 21:
39669
39967
  // Replace message with variables
39670
- kv = _objectSpread2(_objectSpread2({}, rule), {}, {
39968
+ kv = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, rule), {}, {
39671
39969
  name: name,
39672
39970
  enum: (rule.enum || []).join(', ')
39673
39971
  }, messageVariables);
@@ -39696,7 +39994,7 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
39696
39994
  var filledRules = rules.map(function (currentRule, ruleIndex) {
39697
39995
  var originValidatorFunc = currentRule.validator;
39698
39996
 
39699
- var cloneRule = _objectSpread2(_objectSpread2({}, currentRule), {}, {
39997
+ var cloneRule = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, currentRule), {}, {
39700
39998
  ruleIndex: ruleIndex
39701
39999
  }); // Replace validator if needed
39702
40000
 
@@ -39764,9 +40062,9 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
39764
40062
  if (validateFirst === true) {
39765
40063
  // >>>>> Validate by serialization
39766
40064
  summaryPromise = new Promise( /*#__PURE__*/function () {
39767
- var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
40065
+ var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(resolve, reject) {
39768
40066
  var i, rule, errors;
39769
- return regenerator_default().wrap(function _callee$(_context) {
40067
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
39770
40068
  while (1) {
39771
40069
  switch (_context.prev = _context.next) {
39772
40070
  case 0:
@@ -39845,15 +40143,15 @@ function finishOnAllFailed(_x8) {
39845
40143
  }
39846
40144
 
39847
40145
  function _finishOnAllFailed() {
39848
- _finishOnAllFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee3(rulePromises) {
39849
- return regenerator_default().wrap(function _callee3$(_context3) {
40146
+ _finishOnAllFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(rulePromises) {
40147
+ return runtime_regenerator_default().wrap(function _callee3$(_context3) {
39850
40148
  while (1) {
39851
40149
  switch (_context3.prev = _context3.next) {
39852
40150
  case 0:
39853
40151
  return _context3.abrupt("return", Promise.all(rulePromises).then(function (errorsList) {
39854
40152
  var _ref5;
39855
40153
 
39856
- var errors = (_ref5 = []).concat.apply(_ref5, _toConsumableArray(errorsList));
40154
+ var errors = (_ref5 = []).concat.apply(_ref5, toConsumableArray_toConsumableArray(errorsList));
39857
40155
 
39858
40156
  return errors;
39859
40157
  }));
@@ -39873,9 +40171,9 @@ function finishOnFirstFailed(_x9) {
39873
40171
  }
39874
40172
 
39875
40173
  function _finishOnFirstFailed() {
39876
- _finishOnFirstFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee4(rulePromises) {
40174
+ _finishOnFirstFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee4(rulePromises) {
39877
40175
  var count;
39878
- return regenerator_default().wrap(function _callee4$(_context4) {
40176
+ return runtime_regenerator_default().wrap(function _callee4$(_context4) {
39879
40177
  while (1) {
39880
40178
  switch (_context4.prev = _context4.next) {
39881
40179
  case 0:
@@ -39938,9 +40236,9 @@ function requireUpdate(shouldUpdate, prev, next, prevValue, nextValue, info) {
39938
40236
 
39939
40237
 
39940
40238
  var Field = /*#__PURE__*/function (_React$Component) {
39941
- _inherits(Field, _React$Component);
40239
+ inherits_inherits(Field, _React$Component);
39942
40240
 
39943
- var _super = _createSuper(Field);
40241
+ var _super = createSuper_createSuper(Field);
39944
40242
 
39945
40243
  /**
39946
40244
  * Follow state should not management in State since it will async update by React.
@@ -39956,7 +40254,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
39956
40254
  function Field(props) {
39957
40255
  var _this;
39958
40256
 
39959
- _classCallCheck(this, Field);
40257
+ classCallCheck_classCallCheck(this, Field);
39960
40258
 
39961
40259
  _this = _super.call(this, props); // Register on init
39962
40260
 
@@ -39991,7 +40289,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
39991
40289
  fieldContext = _this$props2.fieldContext;
39992
40290
  var _fieldContext$prefixN = fieldContext.prefixName,
39993
40291
  prefixName = _fieldContext$prefixN === void 0 ? [] : _fieldContext$prefixN;
39994
- return name !== undefined ? [].concat(_toConsumableArray(prefixName), _toConsumableArray(name)) : [];
40292
+ return name !== undefined ? [].concat(toConsumableArray_toConsumableArray(prefixName), toConsumableArray_toConsumableArray(name)) : [];
39995
40293
  };
39996
40294
 
39997
40295
  _this.getRules = function () {
@@ -40024,7 +40322,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
40024
40322
 
40025
40323
  _this.triggerMetaEvent = function (destroy) {
40026
40324
  var onMetaChange = _this.props.onMetaChange;
40027
- onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(_objectSpread2(_objectSpread2({}, _this.getMeta()), {}, {
40325
+ onMetaChange === null || onMetaChange === void 0 ? void 0 : onMetaChange(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getMeta()), {}, {
40028
40326
  destroy: destroy
40029
40327
  }));
40030
40328
  };
@@ -40213,9 +40511,9 @@ var Field = /*#__PURE__*/function (_React$Component) {
40213
40511
  errors = _ref3$errors === void 0 ? EMPTY_ERRORS : _ref3$errors;
40214
40512
 
40215
40513
  if (warningOnly) {
40216
- nextWarnings.push.apply(nextWarnings, _toConsumableArray(errors));
40514
+ nextWarnings.push.apply(nextWarnings, toConsumableArray_toConsumableArray(errors));
40217
40515
  } else {
40218
- nextErrors.push.apply(nextErrors, _toConsumableArray(errors));
40516
+ nextErrors.push.apply(nextErrors, toConsumableArray_toConsumableArray(errors));
40219
40517
  }
40220
40518
  });
40221
40519
  _this.errors = nextErrors;
@@ -40306,7 +40604,7 @@ var Field = /*#__PURE__*/function (_React$Component) {
40306
40604
  if (typeof children === 'function') {
40307
40605
  var meta = _this.getMeta();
40308
40606
 
40309
- return _objectSpread2(_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {
40607
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, _this.getOnlyChild(children(_this.getControlled(), meta, _this.props.fieldContext))), {}, {
40310
40608
  isFunction: true
40311
40609
  });
40312
40610
  } // Filed element only
@@ -40358,13 +40656,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
40358
40656
  var value = _this.getValue();
40359
40657
 
40360
40658
  var mergedGetValueProps = getValueProps || function (val) {
40361
- return _defineProperty({}, valuePropName, val);
40659
+ return defineProperty_defineProperty({}, valuePropName, val);
40362
40660
  }; // eslint-disable-next-line @typescript-eslint/no-explicit-any
40363
40661
 
40364
40662
 
40365
40663
  var originTriggerFunc = childProps[trigger];
40366
40664
 
40367
- var control = _objectSpread2(_objectSpread2({}, childProps), mergedGetValueProps(value)); // Add trigger
40665
+ var control = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, childProps), mergedGetValueProps(value)); // Add trigger
40368
40666
 
40369
40667
 
40370
40668
  control[trigger] = function () {
@@ -40435,13 +40733,13 @@ var Field = /*#__PURE__*/function (_React$Component) {
40435
40733
  var _getInternalHooks2 = getInternalHooks(HOOK_MARK),
40436
40734
  initEntityValue = _getInternalHooks2.initEntityValue;
40437
40735
 
40438
- initEntityValue(_assertThisInitialized(_this));
40736
+ initEntityValue(assertThisInitialized_assertThisInitialized(_this));
40439
40737
  }
40440
40738
 
40441
40739
  return _this;
40442
40740
  }
40443
40741
 
40444
- _createClass(Field, [{
40742
+ createClass_createClass(Field, [{
40445
40743
  key: "componentDidMount",
40446
40744
  value: function componentDidMount() {
40447
40745
  var _this$props7 = this.props,
@@ -40515,7 +40813,7 @@ Field.defaultProps = {
40515
40813
 
40516
40814
  function WrapperField(_ref5) {
40517
40815
  var name = _ref5.name,
40518
- restProps = _objectWithoutProperties(_ref5, Field_excluded);
40816
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref5, Field_excluded);
40519
40817
 
40520
40818
  var fieldContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FieldContext);
40521
40819
  var namePath = name !== undefined ? getNamePath(name) : undefined;
@@ -40529,7 +40827,7 @@ function WrapperField(_ref5) {
40529
40827
 
40530
40828
  if (false) {}
40531
40829
 
40532
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field, extends_extends({
40830
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Field, esm_extends_extends({
40533
40831
  key: key,
40534
40832
  name: namePath
40535
40833
  }, restProps, {
@@ -40566,7 +40864,7 @@ var List = function List(_ref) {
40566
40864
  }
40567
40865
 
40568
40866
  var parentPrefixName = getNamePath(context.prefixName) || [];
40569
- var prefixName = [].concat(_toConsumableArray(parentPrefixName), _toConsumableArray(getNamePath(name)));
40867
+ var prefixName = [].concat(toConsumableArray_toConsumableArray(parentPrefixName), toConsumableArray_toConsumableArray(getNamePath(name)));
40570
40868
 
40571
40869
  var shouldUpdate = function shouldUpdate(prevValue, nextValue, _ref2) {
40572
40870
  var source = _ref2.source;
@@ -40579,7 +40877,7 @@ var List = function List(_ref) {
40579
40877
  };
40580
40878
 
40581
40879
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FieldContext.Provider, {
40582
- value: _objectSpread2(_objectSpread2({}, context), {}, {
40880
+ value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, context), {}, {
40583
40881
  prefixName: prefixName
40584
40882
  })
40585
40883
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Field, {
@@ -40610,13 +40908,13 @@ var List = function List(_ref) {
40610
40908
  var newValue = getNewValue();
40611
40909
 
40612
40910
  if (index >= 0 && index <= newValue.length) {
40613
- keyManager.keys = [].concat(_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], _toConsumableArray(keyManager.keys.slice(index)));
40614
- onChange([].concat(_toConsumableArray(newValue.slice(0, index)), [defaultValue], _toConsumableArray(newValue.slice(index))));
40911
+ keyManager.keys = [].concat(toConsumableArray_toConsumableArray(keyManager.keys.slice(0, index)), [keyManager.id], toConsumableArray_toConsumableArray(keyManager.keys.slice(index)));
40912
+ onChange([].concat(toConsumableArray_toConsumableArray(newValue.slice(0, index)), [defaultValue], toConsumableArray_toConsumableArray(newValue.slice(index))));
40615
40913
  } else {
40616
40914
  if (false) {}
40617
40915
 
40618
- keyManager.keys = [].concat(_toConsumableArray(keyManager.keys), [keyManager.id]);
40619
- onChange([].concat(_toConsumableArray(newValue), [defaultValue]));
40916
+ keyManager.keys = [].concat(toConsumableArray_toConsumableArray(keyManager.keys), [keyManager.id]);
40917
+ onChange([].concat(toConsumableArray_toConsumableArray(newValue), [defaultValue]));
40620
40918
  }
40621
40919
 
40622
40920
  keyManager.id += 1;
@@ -40725,7 +41023,7 @@ var SPLIT = '__@field_split__';
40725
41023
 
40726
41024
  function normalize(namePath) {
40727
41025
  return namePath.map(function (cell) {
40728
- return "".concat(typeof_typeof(cell), ":").concat(cell);
41026
+ return "".concat(esm_typeof_typeof(cell), ":").concat(cell);
40729
41027
  }) // Magic split
40730
41028
  .join(SPLIT);
40731
41029
  }
@@ -40736,12 +41034,12 @@ function normalize(namePath) {
40736
41034
 
40737
41035
  var NameMap = /*#__PURE__*/function () {
40738
41036
  function NameMap() {
40739
- _classCallCheck(this, NameMap);
41037
+ classCallCheck_classCallCheck(this, NameMap);
40740
41038
 
40741
41039
  this.kvs = new Map();
40742
41040
  }
40743
41041
 
40744
- _createClass(NameMap, [{
41042
+ createClass_createClass(NameMap, [{
40745
41043
  key: "set",
40746
41044
  value: function set(key, value) {
40747
41045
  this.kvs.set(normalize(key), value);
@@ -40772,7 +41070,7 @@ var NameMap = /*#__PURE__*/function () {
40772
41070
  }, {
40773
41071
  key: "map",
40774
41072
  value: function map(callback) {
40775
- return _toConsumableArray(this.kvs.entries()).map(function (_ref) {
41073
+ return toConsumableArray_toConsumableArray(this.kvs.entries()).map(function (_ref) {
40776
41074
  var _ref2 = slicedToArray_slicedToArray(_ref, 2),
40777
41075
  key = _ref2[0],
40778
41076
  value = _ref2[1];
@@ -40826,7 +41124,7 @@ var useForm_excluded = ["name", "errors"];
40826
41124
  var FormStore = function FormStore(forceRootUpdate) {
40827
41125
  var _this = this;
40828
41126
 
40829
- _classCallCheck(this, FormStore);
41127
+ classCallCheck_classCallCheck(this, FormStore);
40830
41128
 
40831
41129
  this.formHooked = false;
40832
41130
  this.forceRootUpdate = void 0;
@@ -41086,7 +41384,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41086
41384
  return fieldNamePath[i] === nameUnit;
41087
41385
  })) {
41088
41386
  map.update(shortNamePath, function (list) {
41089
- return [].concat(_toConsumableArray(list), [field]);
41387
+ return [].concat(toConsumableArray_toConsumableArray(list), [field]);
41090
41388
  });
41091
41389
  }
41092
41390
  });
@@ -41177,7 +41475,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41177
41475
 
41178
41476
 
41179
41477
  if (!info.skipExist || originValue === undefined) {
41180
- _this.store = setValue(_this.store, namePath, _toConsumableArray(records)[0].value);
41478
+ _this.store = setValue(_this.store, namePath, toConsumableArray_toConsumableArray(records)[0].value);
41181
41479
  }
41182
41480
  }
41183
41481
  }
@@ -41197,7 +41495,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41197
41495
  if (records) {
41198
41496
  var _requiredFieldEntitie;
41199
41497
 
41200
- (_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, _toConsumableArray(_toConsumableArray(records).map(function (r) {
41498
+ (_requiredFieldEntitie = requiredFieldEntities).push.apply(_requiredFieldEntitie, toConsumableArray_toConsumableArray(toConsumableArray_toConsumableArray(records).map(function (r) {
41201
41499
  return r.entity;
41202
41500
  })));
41203
41501
  }
@@ -41250,7 +41548,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41250
41548
  fields.forEach(function (fieldData) {
41251
41549
  var name = fieldData.name,
41252
41550
  errors = fieldData.errors,
41253
- data = _objectWithoutProperties(fieldData, useForm_excluded);
41551
+ data = objectWithoutProperties_objectWithoutProperties(fieldData, useForm_excluded);
41254
41552
 
41255
41553
  var namePath = getNamePath(name); // Value
41256
41554
 
@@ -41272,7 +41570,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41272
41570
  var namePath = field.getNamePath();
41273
41571
  var meta = field.getMeta();
41274
41572
 
41275
- var fieldData = _objectSpread2(_objectSpread2({}, meta), {}, {
41573
+ var fieldData = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, meta), {}, {
41276
41574
  name: namePath,
41277
41575
  value: _this.getFieldValue(namePath)
41278
41576
  });
@@ -41371,7 +41669,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41371
41669
 
41372
41670
  this.notifyObservers = function (prevStore, namePathList, info) {
41373
41671
  if (_this.subscribable) {
41374
- var mergedInfo = _objectSpread2(_objectSpread2({}, info), {}, {
41672
+ var mergedInfo = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
41375
41673
  store: _this.getFieldsValue(true)
41376
41674
  });
41377
41675
 
@@ -41404,7 +41702,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41404
41702
 
41405
41703
  _this.notifyObservers(prevStore, childrenFields, {
41406
41704
  type: 'dependenciesUpdate',
41407
- relatedFields: [namePath].concat(_toConsumableArray(childrenFields))
41705
+ relatedFields: [namePath].concat(toConsumableArray_toConsumableArray(childrenFields))
41408
41706
  }); // trigger callback function
41409
41707
 
41410
41708
 
@@ -41415,7 +41713,7 @@ var FormStore = function FormStore(forceRootUpdate) {
41415
41713
  onValuesChange(changedValues, _this.getFieldsValue());
41416
41714
  }
41417
41715
 
41418
- _this.triggerOnFieldsChange([namePath].concat(_toConsumableArray(childrenFields)));
41716
+ _this.triggerOnFieldsChange([namePath].concat(toConsumableArray_toConsumableArray(childrenFields)));
41419
41717
  };
41420
41718
 
41421
41719
  this.setFieldsValue = function (store) {
@@ -41543,8 +41841,8 @@ var FormStore = function FormStore(forceRootUpdate) {
41543
41841
  var fieldNamePath = field.getNamePath(); // Add field validate rule in to promise list
41544
41842
 
41545
41843
  if (!provideNameList || containsNamePath(namePathList, fieldNamePath)) {
41546
- var promise = field.validateRules(_objectSpread2({
41547
- validateMessages: _objectSpread2(_objectSpread2({}, defaultValidateMessages), _this.validateMessages)
41844
+ var promise = field.validateRules(objectSpread2_objectSpread2({
41845
+ validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, defaultValidateMessages), _this.validateMessages)
41548
41846
  }, options)); // Wrap promise with field
41549
41847
 
41550
41848
  promiseList.push(promise.then(function () {
@@ -41561,9 +41859,9 @@ var FormStore = function FormStore(forceRootUpdate) {
41561
41859
  errors = _ref5.errors;
41562
41860
 
41563
41861
  if (warningOnly) {
41564
- mergedWarnings.push.apply(mergedWarnings, _toConsumableArray(errors));
41862
+ mergedWarnings.push.apply(mergedWarnings, toConsumableArray_toConsumableArray(errors));
41565
41863
  } else {
41566
- mergedErrors.push.apply(mergedErrors, _toConsumableArray(errors));
41864
+ mergedErrors.push.apply(mergedErrors, toConsumableArray_toConsumableArray(errors));
41567
41865
  }
41568
41866
  });
41569
41867
 
@@ -41694,8 +41992,8 @@ var FormProvider = function FormProvider(_ref) {
41694
41992
  var formContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(FormContext);
41695
41993
  var formsRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
41696
41994
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(FormContext.Provider, {
41697
- value: _objectSpread2(_objectSpread2({}, formContext), {}, {
41698
- validateMessages: _objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages),
41995
+ value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext), {}, {
41996
+ validateMessages: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages),
41699
41997
  // =========================================================
41700
41998
  // = Global Form Control =
41701
41999
  // =========================================================
@@ -41721,13 +42019,13 @@ var FormProvider = function FormProvider(_ref) {
41721
42019
  },
41722
42020
  registerForm: function registerForm(name, form) {
41723
42021
  if (name) {
41724
- formsRef.current = _objectSpread2(_objectSpread2({}, formsRef.current), {}, _defineProperty({}, name, form));
42022
+ formsRef.current = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formsRef.current), {}, defineProperty_defineProperty({}, name, form));
41725
42023
  }
41726
42024
 
41727
42025
  formContext.registerForm(name, form);
41728
42026
  },
41729
42027
  unregisterForm: function unregisterForm(name) {
41730
- var newForms = _objectSpread2({}, formsRef.current);
42028
+ var newForms = objectSpread2_objectSpread2({}, formsRef.current);
41731
42029
 
41732
42030
  delete newForms[name];
41733
42031
  formsRef.current = newForms;
@@ -41767,7 +42065,7 @@ var Form = function Form(_ref, ref) {
41767
42065
  _onFieldsChange = _ref.onFieldsChange,
41768
42066
  _onFinish = _ref.onFinish,
41769
42067
  onFinishFailed = _ref.onFinishFailed,
41770
- restProps = _objectWithoutProperties(_ref, Form_excluded);
42068
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, Form_excluded);
41771
42069
 
41772
42070
  var formContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(es_FormContext); // We customize handle event since Context will makes all the consumer re-render:
41773
42071
  // https://reactjs.org/docs/context.html#contextprovider
@@ -41795,7 +42093,7 @@ var Form = function Form(_ref, ref) {
41795
42093
  };
41796
42094
  }, [formContext, formInstance, name]); // Pass props to store
41797
42095
 
41798
- setValidateMessages(_objectSpread2(_objectSpread2({}, formContext.validateMessages), validateMessages));
42096
+ setValidateMessages(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formContext.validateMessages), validateMessages));
41799
42097
  setCallbacks({
41800
42098
  onValuesChange: onValuesChange,
41801
42099
  onFieldsChange: function onFieldsChange(changedFields) {
@@ -41848,7 +42146,7 @@ var Form = function Form(_ref, ref) {
41848
42146
  prevFieldsRef.current = fields;
41849
42147
  }, [fields, formInstance]);
41850
42148
  var formContextValue = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo(function () {
41851
- return _objectSpread2(_objectSpread2({}, formInstance), {}, {
42149
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, formInstance), {}, {
41852
42150
  validateTrigger: validateTrigger
41853
42151
  });
41854
42152
  }, [formInstance, validateTrigger]);
@@ -41860,7 +42158,7 @@ var Form = function Form(_ref, ref) {
41860
42158
  return wrapperNode;
41861
42159
  }
41862
42160
 
41863
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, extends_extends({}, restProps, {
42161
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({}, restProps, {
41864
42162
  onSubmit: function onSubmit(event) {
41865
42163
  event.preventDefault();
41866
42164
  event.stopPropagation();
@@ -42042,14 +42340,14 @@ LocaleProvider.defaultProps = {
42042
42340
 
42043
42341
 
42044
42342
  var Notice = /*#__PURE__*/function (_Component) {
42045
- _inherits(Notice, _Component);
42343
+ inherits_inherits(Notice, _Component);
42046
42344
 
42047
- var _super = _createSuper(Notice);
42345
+ var _super = createSuper_createSuper(Notice);
42048
42346
 
42049
42347
  function Notice() {
42050
42348
  var _this;
42051
42349
 
42052
- _classCallCheck(this, Notice);
42350
+ classCallCheck_classCallCheck(this, Notice);
42053
42351
 
42054
42352
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
42055
42353
  args[_key] = arguments[_key];
@@ -42092,7 +42390,7 @@ var Notice = /*#__PURE__*/function (_Component) {
42092
42390
  return _this;
42093
42391
  }
42094
42392
 
42095
- _createClass(Notice, [{
42393
+ createClass_createClass(Notice, [{
42096
42394
  key: "componentDidMount",
42097
42395
  value: function componentDidMount() {
42098
42396
  this.startCloseTimer();
@@ -42138,8 +42436,8 @@ var Notice = /*#__PURE__*/function (_Component) {
42138
42436
 
42139
42437
  return acc;
42140
42438
  }, {});
42141
- var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
42142
- className: classnames_default()(componentClass, className, _defineProperty({}, "".concat(componentClass, "-closable"), closable)),
42439
+ var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
42440
+ className: classnames_default()(componentClass, className, defineProperty_defineProperty({}, "".concat(componentClass, "-closable"), closable)),
42143
42441
  style: style,
42144
42442
  onMouseEnter: this.clearCloseTimer,
42145
42443
  onMouseLeave: this.startCloseTimer,
@@ -42170,6 +42468,52 @@ Notice.defaultProps = {
42170
42468
  duration: 1.5
42171
42469
  };
42172
42470
 
42471
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
42472
+ function esm_arrayWithHoles_arrayWithHoles(arr) {
42473
+ if (Array.isArray(arr)) return arr;
42474
+ }
42475
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
42476
+ function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
42477
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
42478
+
42479
+ if (_i == null) return;
42480
+ var _arr = [];
42481
+ var _n = true;
42482
+ var _d = false;
42483
+
42484
+ var _s, _e;
42485
+
42486
+ try {
42487
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
42488
+ _arr.push(_s.value);
42489
+
42490
+ if (i && _arr.length === i) break;
42491
+ }
42492
+ } catch (err) {
42493
+ _d = true;
42494
+ _e = err;
42495
+ } finally {
42496
+ try {
42497
+ if (!_n && _i["return"] != null) _i["return"]();
42498
+ } finally {
42499
+ if (_d) throw _e;
42500
+ }
42501
+ }
42502
+
42503
+ return _arr;
42504
+ }
42505
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
42506
+ function esm_nonIterableRest_nonIterableRest() {
42507
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
42508
+ }
42509
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
42510
+
42511
+
42512
+
42513
+
42514
+ function esm_slicedToArray_slicedToArray(arr, i) {
42515
+ return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
42516
+ }
42173
42517
  ;// CONCATENATED MODULE: ./node_modules/rc-notification/es/useNotification.js
42174
42518
 
42175
42519
 
@@ -42180,7 +42524,7 @@ function useNotification_useNotification(notificationInstance) {
42180
42524
  var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
42181
42525
 
42182
42526
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
42183
- _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
42527
+ _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
42184
42528
  elements = _React$useState2[0],
42185
42529
  setElements = _React$useState2[1];
42186
42530
 
@@ -42241,14 +42585,14 @@ function getUuid() {
42241
42585
  }
42242
42586
 
42243
42587
  var Notification = /*#__PURE__*/function (_Component) {
42244
- _inherits(Notification, _Component);
42588
+ inherits_inherits(Notification, _Component);
42245
42589
 
42246
- var _super = _createSuper(Notification);
42590
+ var _super = createSuper_createSuper(Notification);
42247
42591
 
42248
42592
  function Notification() {
42249
42593
  var _this;
42250
42594
 
42251
- _classCallCheck(this, Notification);
42595
+ classCallCheck_classCallCheck(this, Notification);
42252
42596
 
42253
42597
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
42254
42598
  args[_key] = arguments[_key];
@@ -42263,7 +42607,7 @@ var Notification = /*#__PURE__*/function (_Component) {
42263
42607
  _this.add = function (originNotice, holderCallback) {
42264
42608
  var key = originNotice.key || getUuid();
42265
42609
 
42266
- var notice = _objectSpread2(_objectSpread2({}, originNotice), {}, {
42610
+ var notice = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, originNotice), {}, {
42267
42611
  key: key
42268
42612
  });
42269
42613
 
@@ -42330,7 +42674,7 @@ var Notification = /*#__PURE__*/function (_Component) {
42330
42674
  return _this;
42331
42675
  }
42332
42676
 
42333
- _createClass(Notification, [{
42677
+ createClass_createClass(Notification, [{
42334
42678
  key: "getTransitionName",
42335
42679
  value: function getTransitionName() {
42336
42680
  var _this$props = this.props,
@@ -42363,7 +42707,7 @@ var Notification = /*#__PURE__*/function (_Component) {
42363
42707
  var key = notice.key,
42364
42708
  userPassKey = notice.userPassKey;
42365
42709
 
42366
- var noticeProps = _objectSpread2(_objectSpread2(_objectSpread2({
42710
+ var noticeProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
42367
42711
  prefixCls: prefixCls,
42368
42712
  closeIcon: closeIcon
42369
42713
  }, notice), notice.props), {}, {
@@ -42414,7 +42758,7 @@ var Notification = /*#__PURE__*/function (_Component) {
42414
42758
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
42415
42759
  key: key,
42416
42760
  className: classnames_default()(motionClassName, "".concat(prefixCls, "-hook-holder")),
42417
- style: _objectSpread2({}, motionStyle),
42761
+ style: objectSpread2_objectSpread2({}, motionStyle),
42418
42762
  ref: function ref(div) {
42419
42763
  if (typeof key === 'undefined') {
42420
42764
  return;
@@ -42431,9 +42775,9 @@ var Notification = /*#__PURE__*/function (_Component) {
42431
42775
  });
42432
42776
  }
42433
42777
 
42434
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, extends_extends({}, noticeProps, {
42778
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, noticeProps, {
42435
42779
  className: classnames_default()(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),
42436
- style: _objectSpread2(_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
42780
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
42437
42781
  visible: visible
42438
42782
  }));
42439
42783
  }));
@@ -42456,7 +42800,7 @@ Notification.defaultProps = {
42456
42800
  Notification.newInstance = function newNotificationInstance(properties, callback) {
42457
42801
  var _ref6 = properties || {},
42458
42802
  getContainer = _ref6.getContainer,
42459
- props = _objectWithoutProperties(_ref6, ["getContainer"]);
42803
+ props = objectWithoutProperties_objectWithoutProperties(_ref6, ["getContainer"]);
42460
42804
 
42461
42805
  var div = document.createElement('div');
42462
42806
 
@@ -42500,7 +42844,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
42500
42844
 
42501
42845
  if (false) {}
42502
42846
 
42503
- external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notification, extends_extends({}, props, {
42847
+ external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notification, esm_extends_extends({}, props, {
42504
42848
  ref: ref
42505
42849
  })), div);
42506
42850
  };
@@ -42530,7 +42874,7 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {
42530
42874
  };
42531
42875
 
42532
42876
  var _useRCNotification = useNotification_useNotification(proxy),
42533
- _useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
42877
+ _useRCNotification2 = esm_slicedToArray_slicedToArray(_useRCNotification, 2),
42534
42878
  hookNotify = _useRCNotification2[0],
42535
42879
  holder = _useRCNotification2[1];
42536
42880
 
@@ -42859,7 +43203,7 @@ function createUseNotification(getNotificationInstance, getRCNoticeProps) {
42859
43203
  };
42860
43204
 
42861
43205
  var _useRCNotification = useNotification_useNotification(proxy),
42862
- _useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
43206
+ _useRCNotification2 = esm_slicedToArray_slicedToArray(_useRCNotification, 2),
42863
43207
  hookNotify = _useRCNotification2[0],
42864
43208
  holder = _useRCNotification2[1];
42865
43209
 
@@ -43486,7 +43830,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
43486
43830
 
43487
43831
  var maskClosable = props.maskClosable === undefined ? false : props.maskClosable;
43488
43832
  var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';
43489
- var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), _defineProperty({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
43833
+ var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), defineProperty_defineProperty({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
43490
43834
  var cancelButton = okCancel && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(_util_ActionButton, {
43491
43835
  actionFn: onCancel,
43492
43836
  close: close,
@@ -43504,7 +43848,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
43504
43848
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_Modal, {
43505
43849
  prefixCls: prefixCls,
43506
43850
  className: classString,
43507
- wrapClassName: classnames_default()(_defineProperty({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
43851
+ wrapClassName: classnames_default()(defineProperty_defineProperty({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
43508
43852
  onCancel: function onCancel() {
43509
43853
  return close({
43510
43854
  triggerCancel: true
@@ -43588,7 +43932,7 @@ function getRootPrefixCls() {
43588
43932
  function confirm_confirm(config) {
43589
43933
  var container = document.createDocumentFragment(); // eslint-disable-next-line @typescript-eslint/no-use-before-define
43590
43934
 
43591
- var currentConfig = extends_extends(extends_extends({}, config), {
43935
+ var currentConfig = esm_extends_extends(esm_extends_extends({}, config), {
43592
43936
  close: close,
43593
43937
  visible: true
43594
43938
  });
@@ -43641,7 +43985,7 @@ function confirm_confirm(config) {
43641
43985
  var rootPrefixCls = getPrefixCls(undefined, getRootPrefixCls());
43642
43986
  var prefixCls = customizePrefixCls || "".concat(rootPrefixCls, "-modal");
43643
43987
  var iconPrefixCls = getIconPrefixCls();
43644
- external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject.render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, extends_extends({}, props, {
43988
+ external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject.render( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, esm_extends_extends({}, props, {
43645
43989
  prefixCls: prefixCls,
43646
43990
  rootPrefixCls: rootPrefixCls,
43647
43991
  iconPrefixCls: iconPrefixCls,
@@ -43658,7 +44002,7 @@ function confirm_confirm(config) {
43658
44002
  args[_key2] = arguments[_key2];
43659
44003
  }
43660
44004
 
43661
- currentConfig = extends_extends(extends_extends({}, currentConfig), {
44005
+ currentConfig = esm_extends_extends(esm_extends_extends({}, currentConfig), {
43662
44006
  visible: false,
43663
44007
  afterClose: function afterClose() {
43664
44008
  if (typeof config.afterClose === 'function') {
@@ -43675,7 +44019,7 @@ function confirm_confirm(config) {
43675
44019
  if (typeof configUpdate === 'function') {
43676
44020
  currentConfig = configUpdate(currentConfig);
43677
44021
  } else {
43678
- currentConfig = extends_extends(extends_extends({}, currentConfig), configUpdate);
44022
+ currentConfig = esm_extends_extends(esm_extends_extends({}, currentConfig), configUpdate);
43679
44023
  }
43680
44024
 
43681
44025
  render(currentConfig);
@@ -43689,7 +44033,7 @@ function confirm_confirm(config) {
43689
44033
  };
43690
44034
  }
43691
44035
  function withWarn(props) {
43692
- return extends_extends(extends_extends({
44036
+ return esm_extends_extends(esm_extends_extends({
43693
44037
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
43694
44038
  type: "exclamation-circle"
43695
44039
  }),
@@ -43699,7 +44043,7 @@ function withWarn(props) {
43699
44043
  });
43700
44044
  }
43701
44045
  function withInfo(props) {
43702
- return extends_extends(extends_extends({
44046
+ return esm_extends_extends(esm_extends_extends({
43703
44047
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
43704
44048
  type: "exclamation-circle"
43705
44049
  }),
@@ -43709,7 +44053,7 @@ function withInfo(props) {
43709
44053
  });
43710
44054
  }
43711
44055
  function withSuccess(props) {
43712
- return extends_extends(extends_extends({
44056
+ return esm_extends_extends(esm_extends_extends({
43713
44057
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
43714
44058
  type: "check-circle"
43715
44059
  }),
@@ -43719,7 +44063,7 @@ function withSuccess(props) {
43719
44063
  });
43720
44064
  }
43721
44065
  function withError(props) {
43722
- return extends_extends(extends_extends({
44066
+ return esm_extends_extends(esm_extends_extends({
43723
44067
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
43724
44068
  type: "close-circle"
43725
44069
  }),
@@ -43729,7 +44073,7 @@ function withError(props) {
43729
44073
  });
43730
44074
  }
43731
44075
  function withConfirm(props) {
43732
- return extends_extends(extends_extends({
44076
+ return esm_extends_extends(esm_extends_extends({
43733
44077
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
43734
44078
  type: "question-circle"
43735
44079
  }),
@@ -43756,7 +44100,7 @@ function usePatchElement() {
43756
44100
  var patchElement = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useCallback(function (element) {
43757
44101
  // append a new element to elements (and create a new ref)
43758
44102
  setElements(function (originElements) {
43759
- return [].concat(_toConsumableArray(originElements), [element]);
44103
+ return [].concat(toConsumableArray_toConsumableArray(originElements), [element]);
43760
44104
  }); // return a function that removes the new element out of elements (and create a new ref)
43761
44105
  // it works a little like useEffect
43762
44106
 
@@ -43821,7 +44165,7 @@ var HookModal = function HookModal(_ref, ref) {
43821
44165
  destroy: close,
43822
44166
  update: function update(newConfig) {
43823
44167
  setInnerConfig(function (originConfig) {
43824
- return extends_extends(extends_extends({}, originConfig), newConfig);
44168
+ return esm_extends_extends(esm_extends_extends({}, originConfig), newConfig);
43825
44169
  });
43826
44170
  }
43827
44171
  };
@@ -43830,7 +44174,7 @@ var HookModal = function HookModal(_ref, ref) {
43830
44174
  componentName: "Modal",
43831
44175
  defaultLocale: locale_default.Modal
43832
44176
  }, function (modalLocale) {
43833
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, extends_extends({
44177
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, esm_extends_extends({
43834
44178
  prefixCls: prefixCls,
43835
44179
  rootPrefixCls: rootPrefixCls
43836
44180
  }, innerConfig, {
@@ -43877,7 +44221,7 @@ function useModal() {
43877
44221
 
43878
44222
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect(function () {
43879
44223
  if (actionQueue.length) {
43880
- var cloneQueue = _toConsumableArray(actionQueue);
44224
+ var cloneQueue = toConsumableArray_toConsumableArray(actionQueue);
43881
44225
 
43882
44226
  cloneQueue.forEach(function (action) {
43883
44227
  action();
@@ -43914,7 +44258,7 @@ function useModal() {
43914
44258
  destroyAction();
43915
44259
  } else {
43916
44260
  setActionQueue(function (prev) {
43917
- return [].concat(_toConsumableArray(prev), [destroyAction]);
44261
+ return [].concat(toConsumableArray_toConsumableArray(prev), [destroyAction]);
43918
44262
  });
43919
44263
  }
43920
44264
  },
@@ -43929,7 +44273,7 @@ function useModal() {
43929
44273
  updateAction();
43930
44274
  } else {
43931
44275
  setActionQueue(function (prev) {
43932
- return [].concat(_toConsumableArray(prev), [updateAction]);
44276
+ return [].concat(toConsumableArray_toConsumableArray(prev), [updateAction]);
43933
44277
  });
43934
44278
  }
43935
44279
  }
@@ -44154,7 +44498,8 @@ var shouldfixedLoading = window.navigator.userAgent.indexOf('iPad') > -1 || wind
44154
44498
  function LiveVideo(_ref) {
44155
44499
  var _liveInfo$imInfo9, _liveInfo$imInfo9$par;
44156
44500
 
44157
- var handleLogin = _ref.handleLogin,
44501
+ var isStreamLive = _ref.isStreamLive,
44502
+ handleLogin = _ref.handleLogin,
44158
44503
  userInfo = _ref.userInfo,
44159
44504
  liveInfo = _ref.liveInfo,
44160
44505
  visitTime = _ref.visitTime,
@@ -44288,6 +44633,7 @@ function LiveVideo(_ref) {
44288
44633
  options: options,
44289
44634
  onReady: handleVideoReady
44290
44635
  }), supportM3u8 && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(detail_LiveStatus, {
44636
+ isStreamLive: isStreamLive,
44291
44637
  handleLogin: handleLogin,
44292
44638
  userInfo: userInfo,
44293
44639
  visitTime: visitTime,
@@ -44372,40 +44718,44 @@ var empty_style_update = injectStylesIntoStyleTag_default()(empty_style/* defaul
44372
44718
 
44373
44719
 
44374
44720
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/extends.js
44375
- function esm_extends_extends() {
44376
- esm_extends_extends = Object.assign ? Object.assign.bind() : function (target) {
44721
+ function helpers_esm_extends_extends() {
44722
+ helpers_esm_extends_extends = Object.assign ? Object.assign.bind() : function (target) {
44377
44723
  for (var i = 1; i < arguments.length; i++) {
44378
44724
  var source = arguments[i];
44725
+
44379
44726
  for (var key in source) {
44380
44727
  if (Object.prototype.hasOwnProperty.call(source, key)) {
44381
44728
  target[key] = source[key];
44382
44729
  }
44383
44730
  }
44384
44731
  }
44732
+
44385
44733
  return target;
44386
44734
  };
44387
- return esm_extends_extends.apply(this, arguments);
44735
+ return helpers_esm_extends_extends.apply(this, arguments);
44388
44736
  }
44389
44737
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/typeof.js
44390
- function esm_typeof_typeof(obj) {
44738
+ function helpers_esm_typeof_typeof(obj) {
44391
44739
  "@babel/helpers - typeof";
44392
44740
 
44393
- return esm_typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
44741
+ return helpers_esm_typeof_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
44394
44742
  return typeof obj;
44395
44743
  } : function (obj) {
44396
44744
  return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
44397
- }, esm_typeof_typeof(obj);
44745
+ }, helpers_esm_typeof_typeof(obj);
44398
44746
  }
44399
44747
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/toPrimitive.js
44400
44748
 
44401
44749
  function _toPrimitive(input, hint) {
44402
- if (esm_typeof_typeof(input) !== "object" || input === null) return input;
44750
+ if (helpers_esm_typeof_typeof(input) !== "object" || input === null) return input;
44403
44751
  var prim = input[Symbol.toPrimitive];
44752
+
44404
44753
  if (prim !== undefined) {
44405
44754
  var res = prim.call(input, hint || "default");
44406
- if (esm_typeof_typeof(res) !== "object") return res;
44755
+ if (helpers_esm_typeof_typeof(res) !== "object") return res;
44407
44756
  throw new TypeError("@@toPrimitive must return a primitive value.");
44408
44757
  }
44758
+
44409
44759
  return (hint === "string" ? String : Number)(input);
44410
44760
  }
44411
44761
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
@@ -44413,12 +44763,13 @@ function _toPrimitive(input, hint) {
44413
44763
 
44414
44764
  function _toPropertyKey(arg) {
44415
44765
  var key = _toPrimitive(arg, "string");
44416
- return esm_typeof_typeof(key) === "symbol" ? key : String(key);
44766
+ return helpers_esm_typeof_typeof(key) === "symbol" ? key : String(key);
44417
44767
  }
44418
44768
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/defineProperty.js
44419
44769
 
44420
- function defineProperty_defineProperty(obj, key, value) {
44770
+ function esm_defineProperty_defineProperty(obj, key, value) {
44421
44771
  key = _toPropertyKey(key);
44772
+
44422
44773
  if (key in obj) {
44423
44774
  Object.defineProperty(obj, key, {
44424
44775
  value: value,
@@ -44429,51 +44780,61 @@ function defineProperty_defineProperty(obj, key, value) {
44429
44780
  } else {
44430
44781
  obj[key] = value;
44431
44782
  }
44783
+
44432
44784
  return obj;
44433
44785
  }
44434
44786
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/objectSpread2.js
44435
44787
 
44436
- function objectSpread2_ownKeys(object, enumerableOnly) {
44788
+
44789
+ function esm_objectSpread2_ownKeys(object, enumerableOnly) {
44437
44790
  var keys = Object.keys(object);
44791
+
44438
44792
  if (Object.getOwnPropertySymbols) {
44439
44793
  var symbols = Object.getOwnPropertySymbols(object);
44440
44794
  enumerableOnly && (symbols = symbols.filter(function (sym) {
44441
44795
  return Object.getOwnPropertyDescriptor(object, sym).enumerable;
44442
44796
  })), keys.push.apply(keys, symbols);
44443
44797
  }
44798
+
44444
44799
  return keys;
44445
44800
  }
44446
- function objectSpread2_objectSpread2(target) {
44801
+
44802
+ function esm_objectSpread2_objectSpread2(target) {
44447
44803
  for (var i = 1; i < arguments.length; i++) {
44448
44804
  var source = null != arguments[i] ? arguments[i] : {};
44449
- i % 2 ? objectSpread2_ownKeys(Object(source), !0).forEach(function (key) {
44450
- defineProperty_defineProperty(target, key, source[key]);
44451
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : objectSpread2_ownKeys(Object(source)).forEach(function (key) {
44805
+ i % 2 ? esm_objectSpread2_ownKeys(Object(source), !0).forEach(function (key) {
44806
+ esm_defineProperty_defineProperty(target, key, source[key]);
44807
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : esm_objectSpread2_ownKeys(Object(source)).forEach(function (key) {
44452
44808
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
44453
44809
  });
44454
44810
  }
44811
+
44455
44812
  return target;
44456
44813
  }
44457
44814
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
44458
- function esm_arrayWithHoles_arrayWithHoles(arr) {
44815
+ function helpers_esm_arrayWithHoles_arrayWithHoles(arr) {
44459
44816
  if (Array.isArray(arr)) return arr;
44460
44817
  }
44461
44818
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
44462
- function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
44819
+ function helpers_esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
44463
44820
  var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
44821
+
44464
44822
  if (null != _i) {
44465
44823
  var _s,
44466
- _e,
44467
- _x,
44468
- _r,
44469
- _arr = [],
44470
- _n = !0,
44471
- _d = !1;
44824
+ _e,
44825
+ _x,
44826
+ _r,
44827
+ _arr = [],
44828
+ _n = !0,
44829
+ _d = !1;
44830
+
44472
44831
  try {
44473
44832
  if (_x = (_i = _i.call(arr)).next, 0 === i) {
44474
44833
  if (Object(_i) !== _i) return;
44475
44834
  _n = !1;
44476
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
44835
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) {
44836
+ ;
44837
+ }
44477
44838
  } catch (err) {
44478
44839
  _d = !0, _e = err;
44479
44840
  } finally {
@@ -44483,27 +44844,32 @@ function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
44483
44844
  if (_d) throw _e;
44484
44845
  }
44485
44846
  }
44847
+
44486
44848
  return _arr;
44487
44849
  }
44488
44850
  }
44489
44851
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
44490
- function arrayLikeToArray_arrayLikeToArray(arr, len) {
44852
+ function esm_arrayLikeToArray_arrayLikeToArray(arr, len) {
44491
44853
  if (len == null || len > arr.length) len = arr.length;
44492
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
44854
+
44855
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
44856
+ arr2[i] = arr[i];
44857
+ }
44858
+
44493
44859
  return arr2;
44494
44860
  }
44495
44861
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
44496
44862
 
44497
- function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
44863
+ function esm_unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
44498
44864
  if (!o) return;
44499
- if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
44865
+ if (typeof o === "string") return esm_arrayLikeToArray_arrayLikeToArray(o, minLen);
44500
44866
  var n = Object.prototype.toString.call(o).slice(8, -1);
44501
44867
  if (n === "Object" && o.constructor) n = o.constructor.name;
44502
44868
  if (n === "Map" || n === "Set") return Array.from(o);
44503
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
44869
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return esm_arrayLikeToArray_arrayLikeToArray(o, minLen);
44504
44870
  }
44505
44871
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
44506
- function esm_nonIterableRest_nonIterableRest() {
44872
+ function helpers_esm_nonIterableRest_nonIterableRest() {
44507
44873
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
44508
44874
  }
44509
44875
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/slicedToArray.js
@@ -44511,30 +44877,34 @@ function esm_nonIterableRest_nonIterableRest() {
44511
44877
 
44512
44878
 
44513
44879
 
44514
- function esm_slicedToArray_slicedToArray(arr, i) {
44515
- return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
44880
+ function helpers_esm_slicedToArray_slicedToArray(arr, i) {
44881
+ return helpers_esm_arrayWithHoles_arrayWithHoles(arr) || helpers_esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || esm_unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || helpers_esm_nonIterableRest_nonIterableRest();
44516
44882
  }
44517
44883
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
44518
- function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
44884
+ function esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
44519
44885
  if (source == null) return {};
44520
44886
  var target = {};
44521
44887
  var sourceKeys = Object.keys(source);
44522
44888
  var key, i;
44889
+
44523
44890
  for (i = 0; i < sourceKeys.length; i++) {
44524
44891
  key = sourceKeys[i];
44525
44892
  if (excluded.indexOf(key) >= 0) continue;
44526
44893
  target[key] = source[key];
44527
44894
  }
44895
+
44528
44896
  return target;
44529
44897
  }
44530
44898
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
44531
44899
 
44532
- function objectWithoutProperties_objectWithoutProperties(source, excluded) {
44900
+ function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
44533
44901
  if (source == null) return {};
44534
- var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
44902
+ var target = esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
44535
44903
  var key, i;
44904
+
44536
44905
  if (Object.getOwnPropertySymbols) {
44537
44906
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
44907
+
44538
44908
  for (i = 0; i < sourceSymbolKeys.length; i++) {
44539
44909
  key = sourceSymbolKeys[i];
44540
44910
  if (excluded.indexOf(key) >= 0) continue;
@@ -44542,6 +44912,7 @@ function objectWithoutProperties_objectWithoutProperties(source, excluded) {
44542
44912
  target[key] = source[key];
44543
44913
  }
44544
44914
  }
44915
+
44545
44916
  return target;
44546
44917
  }
44547
44918
  ;// CONCATENATED MODULE: ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
@@ -45489,14 +45860,14 @@ var index = (function () {
45489
45860
  var INTERNAL_PREFIX_KEY = 'rc-observer-key'; // Still need to be compatible with React 15, we use class component here
45490
45861
 
45491
45862
  var ReactResizeObserver = /*#__PURE__*/function (_React$Component) {
45492
- _inherits(ReactResizeObserver, _React$Component);
45863
+ inherits_inherits(ReactResizeObserver, _React$Component);
45493
45864
 
45494
- var _super = _createSuper(ReactResizeObserver);
45865
+ var _super = createSuper_createSuper(ReactResizeObserver);
45495
45866
 
45496
45867
  function ReactResizeObserver() {
45497
45868
  var _this;
45498
45869
 
45499
- _classCallCheck(this, ReactResizeObserver);
45870
+ classCallCheck_classCallCheck(this, ReactResizeObserver);
45500
45871
 
45501
45872
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
45502
45873
  args[_key] = arguments[_key];
@@ -45547,7 +45918,7 @@ var ReactResizeObserver = /*#__PURE__*/function (_React$Component) {
45547
45918
  var mergedOffsetHeight = offsetHeight === Math.round(height) ? height : offsetHeight; // defer the callback but not defer to next frame
45548
45919
 
45549
45920
  Promise.resolve().then(function () {
45550
- onResize(_objectSpread2(_objectSpread2({}, size), {}, {
45921
+ onResize(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, size), {}, {
45551
45922
  offsetWidth: mergedOffsetWidth,
45552
45923
  offsetHeight: mergedOffsetHeight
45553
45924
  }), target);
@@ -45563,7 +45934,7 @@ var ReactResizeObserver = /*#__PURE__*/function (_React$Component) {
45563
45934
  return _this;
45564
45935
  }
45565
45936
 
45566
- _createClass(ReactResizeObserver, [{
45937
+ createClass_createClass(ReactResizeObserver, [{
45567
45938
  key: "componentDidMount",
45568
45939
  value: function componentDidMount() {
45569
45940
  this.onComponentUpdated();
@@ -45677,7 +46048,7 @@ var Filler = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_nam
45677
46048
  position: 'relative',
45678
46049
  overflow: 'hidden'
45679
46050
  };
45680
- innerStyle = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, innerStyle), {}, {
46051
+ innerStyle = esm_objectSpread2_objectSpread2(esm_objectSpread2_objectSpread2({}, innerStyle), {}, {
45681
46052
  transform: "translateY(".concat(offset, "px)"),
45682
46053
  position: 'absolute',
45683
46054
  left: 0,
@@ -45694,23 +46065,24 @@ var Filler = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_nam
45694
46065
  onInnerResize();
45695
46066
  }
45696
46067
  }
45697
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
46068
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", helpers_esm_extends_extends({
45698
46069
  style: innerStyle,
45699
- className: classnames_default()(defineProperty_defineProperty({}, "".concat(prefixCls, "-holder-inner"), prefixCls)),
46070
+ className: classnames_default()(esm_defineProperty_defineProperty({}, "".concat(prefixCls, "-holder-inner"), prefixCls)),
45700
46071
  ref: ref
45701
46072
  }, innerProps), children)));
45702
46073
  });
45703
46074
  Filler.displayName = 'Filler';
45704
46075
  /* harmony default export */ var es_Filler = (Filler);
45705
46076
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/classCallCheck.js
45706
- function classCallCheck_classCallCheck(instance, Constructor) {
46077
+ function esm_classCallCheck_classCallCheck(instance, Constructor) {
45707
46078
  if (!(instance instanceof Constructor)) {
45708
46079
  throw new TypeError("Cannot call a class as a function");
45709
46080
  }
45710
46081
  }
45711
46082
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/createClass.js
45712
46083
 
45713
- function createClass_defineProperties(target, props) {
46084
+
46085
+ function esm_createClass_defineProperties(target, props) {
45714
46086
  for (var i = 0; i < props.length; i++) {
45715
46087
  var descriptor = props[i];
45716
46088
  descriptor.enumerable = descriptor.enumerable || false;
@@ -45719,28 +46091,30 @@ function createClass_defineProperties(target, props) {
45719
46091
  Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
45720
46092
  }
45721
46093
  }
45722
- function createClass_createClass(Constructor, protoProps, staticProps) {
45723
- if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
45724
- if (staticProps) createClass_defineProperties(Constructor, staticProps);
46094
+
46095
+ function esm_createClass_createClass(Constructor, protoProps, staticProps) {
46096
+ if (protoProps) esm_createClass_defineProperties(Constructor.prototype, protoProps);
46097
+ if (staticProps) esm_createClass_defineProperties(Constructor, staticProps);
45725
46098
  Object.defineProperty(Constructor, "prototype", {
45726
46099
  writable: false
45727
46100
  });
45728
46101
  return Constructor;
45729
46102
  }
45730
46103
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
45731
- function setPrototypeOf_setPrototypeOf(o, p) {
45732
- setPrototypeOf_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
46104
+ function esm_setPrototypeOf_setPrototypeOf(o, p) {
46105
+ esm_setPrototypeOf_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
45733
46106
  o.__proto__ = p;
45734
46107
  return o;
45735
46108
  };
45736
- return setPrototypeOf_setPrototypeOf(o, p);
46109
+ return esm_setPrototypeOf_setPrototypeOf(o, p);
45737
46110
  }
45738
46111
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/inherits.js
45739
46112
 
45740
- function inherits_inherits(subClass, superClass) {
46113
+ function esm_inherits_inherits(subClass, superClass) {
45741
46114
  if (typeof superClass !== "function" && superClass !== null) {
45742
46115
  throw new TypeError("Super expression must either be null or a function");
45743
46116
  }
46117
+
45744
46118
  subClass.prototype = Object.create(superClass && superClass.prototype, {
45745
46119
  constructor: {
45746
46120
  value: subClass,
@@ -45751,20 +46125,21 @@ function inherits_inherits(subClass, superClass) {
45751
46125
  Object.defineProperty(subClass, "prototype", {
45752
46126
  writable: false
45753
46127
  });
45754
- if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
46128
+ if (superClass) esm_setPrototypeOf_setPrototypeOf(subClass, superClass);
45755
46129
  }
45756
46130
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
45757
- function getPrototypeOf_getPrototypeOf(o) {
45758
- getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
46131
+ function esm_getPrototypeOf_getPrototypeOf(o) {
46132
+ esm_getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
45759
46133
  return o.__proto__ || Object.getPrototypeOf(o);
45760
46134
  };
45761
- return getPrototypeOf_getPrototypeOf(o);
46135
+ return esm_getPrototypeOf_getPrototypeOf(o);
45762
46136
  }
45763
46137
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
45764
- function isNativeReflectConstruct_isNativeReflectConstruct() {
46138
+ function esm_isNativeReflectConstruct_isNativeReflectConstruct() {
45765
46139
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
45766
46140
  if (Reflect.construct.sham) return false;
45767
46141
  if (typeof Proxy === "function") return true;
46142
+
45768
46143
  try {
45769
46144
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
45770
46145
  return true;
@@ -45773,39 +46148,43 @@ function isNativeReflectConstruct_isNativeReflectConstruct() {
45773
46148
  }
45774
46149
  }
45775
46150
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
45776
- function assertThisInitialized_assertThisInitialized(self) {
46151
+ function esm_assertThisInitialized_assertThisInitialized(self) {
45777
46152
  if (self === void 0) {
45778
46153
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
45779
46154
  }
46155
+
45780
46156
  return self;
45781
46157
  }
45782
46158
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
45783
46159
 
45784
46160
 
45785
- function possibleConstructorReturn_possibleConstructorReturn(self, call) {
45786
- if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
46161
+ function esm_possibleConstructorReturn_possibleConstructorReturn(self, call) {
46162
+ if (call && (helpers_esm_typeof_typeof(call) === "object" || typeof call === "function")) {
45787
46163
  return call;
45788
46164
  } else if (call !== void 0) {
45789
46165
  throw new TypeError("Derived constructors may only return object or undefined");
45790
46166
  }
45791
- return assertThisInitialized_assertThisInitialized(self);
46167
+
46168
+ return esm_assertThisInitialized_assertThisInitialized(self);
45792
46169
  }
45793
46170
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/createSuper.js
45794
46171
 
45795
46172
 
45796
46173
 
45797
- function createSuper_createSuper(Derived) {
45798
- var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
46174
+ function esm_createSuper_createSuper(Derived) {
46175
+ var hasNativeReflectConstruct = esm_isNativeReflectConstruct_isNativeReflectConstruct();
45799
46176
  return function _createSuperInternal() {
45800
- var Super = getPrototypeOf_getPrototypeOf(Derived),
45801
- result;
46177
+ var Super = esm_getPrototypeOf_getPrototypeOf(Derived),
46178
+ result;
46179
+
45802
46180
  if (hasNativeReflectConstruct) {
45803
- var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
46181
+ var NewTarget = esm_getPrototypeOf_getPrototypeOf(this).constructor;
45804
46182
  result = Reflect.construct(Super, arguments, NewTarget);
45805
46183
  } else {
45806
46184
  result = Super.apply(this, arguments);
45807
46185
  }
45808
- return possibleConstructorReturn_possibleConstructorReturn(this, result);
46186
+
46187
+ return esm_possibleConstructorReturn_possibleConstructorReturn(this, result);
45809
46188
  };
45810
46189
  }
45811
46190
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/rc-util/es/raf.js
@@ -45880,11 +46259,11 @@ function getPageY(e) {
45880
46259
  return 'touches' in e ? e.touches[0].pageY : e.pageY;
45881
46260
  }
45882
46261
  var ScrollBar = /*#__PURE__*/function (_React$Component) {
45883
- inherits_inherits(ScrollBar, _React$Component);
45884
- var _super = createSuper_createSuper(ScrollBar);
46262
+ esm_inherits_inherits(ScrollBar, _React$Component);
46263
+ var _super = esm_createSuper_createSuper(ScrollBar);
45885
46264
  function ScrollBar() {
45886
46265
  var _this;
45887
- classCallCheck_classCallCheck(this, ScrollBar);
46266
+ esm_classCallCheck_classCallCheck(this, ScrollBar);
45888
46267
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
45889
46268
  args[_key] = arguments[_key];
45890
46269
  }
@@ -46012,7 +46391,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
46012
46391
  };
46013
46392
  return _this;
46014
46393
  }
46015
- createClass_createClass(ScrollBar, [{
46394
+ esm_createClass_createClass(ScrollBar, [{
46016
46395
  key: "componentDidMount",
46017
46396
  value: function componentDidMount() {
46018
46397
  this.scrollbarRef.current.addEventListener('touchstart', this.onScrollbarTouchStart);
@@ -46046,7 +46425,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
46046
46425
  var mergedVisible = canScroll && visible;
46047
46426
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
46048
46427
  ref: this.scrollbarRef,
46049
- className: classnames_default()("".concat(prefixCls, "-scrollbar"), defineProperty_defineProperty({}, "".concat(prefixCls, "-scrollbar-show"), canScroll)),
46428
+ className: classnames_default()("".concat(prefixCls, "-scrollbar"), esm_defineProperty_defineProperty({}, "".concat(prefixCls, "-scrollbar-show"), canScroll)),
46050
46429
  style: {
46051
46430
  width: 8,
46052
46431
  top: 0,
@@ -46059,7 +46438,7 @@ var ScrollBar = /*#__PURE__*/function (_React$Component) {
46059
46438
  onMouseMove: this.delayHidden
46060
46439
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
46061
46440
  ref: this.thumbRef,
46062
- className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"), defineProperty_defineProperty({}, "".concat(prefixCls, "-scrollbar-thumb-moving"), dragging)),
46441
+ className: classnames_default()("".concat(prefixCls, "-scrollbar-thumb"), esm_defineProperty_defineProperty({}, "".concat(prefixCls, "-scrollbar-thumb-moving"), dragging)),
46063
46442
  style: {
46064
46443
  width: '100%',
46065
46444
  height: spinHeight,
@@ -46138,11 +46517,11 @@ function findDOMNode_findDOMNode(node) {
46138
46517
  // Firefox has low performance of map.
46139
46518
  var CacheMap = /*#__PURE__*/function () {
46140
46519
  function CacheMap() {
46141
- classCallCheck_classCallCheck(this, CacheMap);
46520
+ esm_classCallCheck_classCallCheck(this, CacheMap);
46142
46521
  this.maps = void 0;
46143
46522
  this.maps = Object.create(null);
46144
46523
  }
46145
- createClass_createClass(CacheMap, [{
46524
+ esm_createClass_createClass(CacheMap, [{
46146
46525
  key: "set",
46147
46526
  value: function set(key, value) {
46148
46527
  this.maps[key] = value;
@@ -46165,7 +46544,7 @@ var CacheMap = /*#__PURE__*/function () {
46165
46544
 
46166
46545
  function useHeights(getKey, onItemAdd, onItemRemove) {
46167
46546
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(0),
46168
- _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
46547
+ _React$useState2 = helpers_esm_slicedToArray_slicedToArray(_React$useState, 2),
46169
46548
  updatedMark = _React$useState2[0],
46170
46549
  setUpdatedMark = _React$useState2[1];
46171
46550
  var instanceRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)(new Map());
@@ -46232,7 +46611,7 @@ function useScrollTo(containerRef, data, heights, itemHeight, getKey, collectHei
46232
46611
  es_raf.cancel(scrollRef.current);
46233
46612
  if (typeof arg === 'number') {
46234
46613
  syncScrollTop(arg);
46235
- } else if (arg && esm_typeof_typeof(arg) === 'object') {
46614
+ } else if (arg && helpers_esm_typeof_typeof(arg) === 'object') {
46236
46615
  var index;
46237
46616
  var align = arg.align;
46238
46617
  if ('index' in arg) {
@@ -46388,11 +46767,11 @@ function findListDiffIndex(originList, targetList, getKey) {
46388
46767
 
46389
46768
  function useDiffItem(data, getKey, onDiff) {
46390
46769
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(data),
46391
- _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
46770
+ _React$useState2 = helpers_esm_slicedToArray_slicedToArray(_React$useState, 2),
46392
46771
  prevData = _React$useState2[0],
46393
46772
  setPrevData = _React$useState2[1];
46394
46773
  var _React$useState3 = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(null),
46395
- _React$useState4 = esm_slicedToArray_slicedToArray(_React$useState3, 2),
46774
+ _React$useState4 = helpers_esm_slicedToArray_slicedToArray(_React$useState3, 2),
46396
46775
  diffItem = _React$useState4[0],
46397
46776
  setDiffItem = _React$useState4[1];
46398
46777
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect(function () {
@@ -46407,7 +46786,7 @@ function useDiffItem(data, getKey, onDiff) {
46407
46786
  }
46408
46787
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/es/utils/isFirefox.js
46409
46788
 
46410
- var isFF = (typeof navigator === "undefined" ? "undefined" : esm_typeof_typeof(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
46789
+ var isFF = (typeof navigator === "undefined" ? "undefined" : helpers_esm_typeof_typeof(navigator)) === 'object' && /Firefox/i.test(navigator.userAgent);
46411
46790
  /* harmony default export */ var isFirefox = (isFF);
46412
46791
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/es/hooks/useOriginScroll.js
46413
46792
 
@@ -46626,16 +47005,16 @@ function RawList(props, ref) {
46626
47005
  onScroll = props.onScroll,
46627
47006
  onVisibleChange = props.onVisibleChange,
46628
47007
  innerProps = props.innerProps,
46629
- restProps = objectWithoutProperties_objectWithoutProperties(props, List_excluded);
47008
+ restProps = esm_objectWithoutProperties_objectWithoutProperties(props, List_excluded);
46630
47009
  // ================================= MISC =================================
46631
47010
  var useVirtual = !!(virtual !== false && height && itemHeight);
46632
47011
  var inVirtual = useVirtual && data && itemHeight * data.length > height;
46633
47012
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(0),
46634
- _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
47013
+ _useState2 = helpers_esm_slicedToArray_slicedToArray(_useState, 2),
46635
47014
  scrollTop = _useState2[0],
46636
47015
  setScrollTop = _useState2[1];
46637
47016
  var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
46638
- _useState4 = esm_slicedToArray_slicedToArray(_useState3, 2),
47017
+ _useState4 = helpers_esm_slicedToArray_slicedToArray(_useState3, 2),
46639
47018
  scrollMoving = _useState4[0],
46640
47019
  setScrollMoving = _useState4[1];
46641
47020
  var mergedClassName = classnames_default()(prefixCls, className);
@@ -46675,12 +47054,12 @@ function RawList(props, ref) {
46675
47054
  });
46676
47055
  var diffItemRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
46677
47056
  var _useDiffItem = useDiffItem(mergedData, getKey),
46678
- _useDiffItem2 = esm_slicedToArray_slicedToArray(_useDiffItem, 1),
47057
+ _useDiffItem2 = helpers_esm_slicedToArray_slicedToArray(_useDiffItem, 1),
46679
47058
  diffItem = _useDiffItem2[0];
46680
47059
  diffItemRef.current = diffItem;
46681
47060
  // ================================ Height ================================
46682
47061
  var _useHeights = useHeights(getKey, null, null),
46683
- _useHeights2 = esm_slicedToArray_slicedToArray(_useHeights, 4),
47062
+ _useHeights2 = helpers_esm_slicedToArray_slicedToArray(_useHeights, 4),
46684
47063
  setInstanceRef = _useHeights2[0],
46685
47064
  collectHeight = _useHeights2[1],
46686
47065
  heights = _useHeights2[2],
@@ -46786,7 +47165,7 @@ function RawList(props, ref) {
46786
47165
  return newTop;
46787
47166
  });
46788
47167
  }),
46789
- _useFrameWheel2 = esm_slicedToArray_slicedToArray(_useFrameWheel, 2),
47168
+ _useFrameWheel2 = helpers_esm_slicedToArray_slicedToArray(_useFrameWheel, 2),
46790
47169
  onRawWheel = _useFrameWheel2[0],
46791
47170
  onFireFoxScroll = _useFrameWheel2[1];
46792
47171
  // Mobile touch move
@@ -46840,7 +47219,7 @@ function RawList(props, ref) {
46840
47219
  var listChildren = useChildren(mergedData, start, end, setInstanceRef, children, sharedConfig);
46841
47220
  var componentStyle = null;
46842
47221
  if (height) {
46843
- componentStyle = objectSpread2_objectSpread2(defineProperty_defineProperty({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
47222
+ componentStyle = esm_objectSpread2_objectSpread2(esm_defineProperty_defineProperty({}, fullHeight ? 'height' : 'maxHeight', height), ScrollStyle);
46844
47223
  if (useVirtual) {
46845
47224
  componentStyle.overflowY = 'hidden';
46846
47225
  if (scrollMoving) {
@@ -46848,8 +47227,8 @@ function RawList(props, ref) {
46848
47227
  }
46849
47228
  }
46850
47229
  }
46851
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
46852
- style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, style), {}, {
47230
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", helpers_esm_extends_extends({
47231
+ style: esm_objectSpread2_objectSpread2(esm_objectSpread2_objectSpread2({}, style), {}, {
46853
47232
  position: 'relative'
46854
47233
  }),
46855
47234
  className: mergedClassName
@@ -46995,7 +47374,7 @@ function toOuterValues(valueList, _ref2) {
46995
47374
  return values;
46996
47375
  }
46997
47376
  function removeLastEnabledValue(measureValues, values) {
46998
- var newValues = _toConsumableArray(values);
47377
+ var newValues = toConsumableArray_toConsumableArray(values);
46999
47378
 
47000
47379
  var removeIndex;
47001
47380
 
@@ -47129,7 +47508,7 @@ function flattenOptions(options) {
47129
47508
  */
47130
47509
 
47131
47510
  function injectPropsWithOption(option) {
47132
- var newOption = _objectSpread2({}, option);
47511
+ var newOption = objectSpread2_objectSpread2({}, option);
47133
47512
 
47134
47513
  if (!('props' in newOption)) {
47135
47514
  Object.defineProperty(newOption, 'props', {
@@ -47163,7 +47542,7 @@ function findValueOption(values, options) {
47163
47542
  var option = optionMap.get(val); // Fallback to try to find prev options
47164
47543
 
47165
47544
  if (!option) {
47166
- option = _objectSpread2({}, prevValueOptions.find(function (opt) {
47545
+ option = objectSpread2_objectSpread2({}, prevValueOptions.find(function (opt) {
47167
47546
  return opt._INTERNAL_OPTION_VALUE_ === val;
47168
47547
  }));
47169
47548
  }
@@ -47182,7 +47561,7 @@ var getLabeledValue = function getLabeledValue(value, _ref5) {
47182
47561
  };
47183
47562
  var prevValItem = labelInValue ? prevValueMap.get(value) : undefined;
47184
47563
 
47185
- if (prevValItem && typeof_typeof(prevValItem) === 'object' && 'label' in prevValItem) {
47564
+ if (prevValItem && esm_typeof_typeof(prevValItem) === 'object' && 'label' in prevValItem) {
47186
47565
  result.label = prevValItem.label;
47187
47566
 
47188
47567
  if (item && typeof prevValItem.label === 'string' && typeof item[optionLabelProp] === 'string' && prevValItem.label.trim() !== item[optionLabelProp].trim()) {
@@ -47230,7 +47609,7 @@ function filterOptions(searchValue, options, _ref6) {
47230
47609
  var filterFunc;
47231
47610
 
47232
47611
  if (filterOption === false) {
47233
- return _toConsumableArray(options);
47612
+ return toConsumableArray_toConsumableArray(options);
47234
47613
  }
47235
47614
 
47236
47615
  if (typeof filterOption === 'function') {
@@ -47254,7 +47633,7 @@ function filterOptions(searchValue, options, _ref6) {
47254
47633
  });
47255
47634
 
47256
47635
  if (subOptions.length) {
47257
- filteredOptions.push(_objectSpread2(_objectSpread2({}, item), {}, {
47636
+ filteredOptions.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
47258
47637
  options: subOptions
47259
47638
  }));
47260
47639
  }
@@ -47288,7 +47667,7 @@ function getSeparatedContent(text, tokens) {
47288
47667
  var list = str.split(token);
47289
47668
  match = match || list.length > 1;
47290
47669
  return list.reduce(function (prevList, unitStr) {
47291
- return [].concat(_toConsumableArray(prevList), _toConsumableArray(separate(unitStr, restTokens)));
47670
+ return [].concat(toConsumableArray_toConsumableArray(prevList), toConsumableArray_toConsumableArray(separate(unitStr, restTokens)));
47292
47671
  }, []).filter(function (unit) {
47293
47672
  return unit;
47294
47673
  });
@@ -47308,7 +47687,7 @@ function isValueDisabled(value, options) {
47308
47687
  function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInValue) {
47309
47688
  var values = commonUtil_toArray(value).slice().sort();
47310
47689
 
47311
- var cloneOptions = _toConsumableArray(options); // Convert options value to set
47690
+ var cloneOptions = toConsumableArray_toConsumableArray(options); // Convert options value to set
47312
47691
 
47313
47692
 
47314
47693
  var optionValues = new Set();
@@ -47328,7 +47707,7 @@ function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInVal
47328
47707
  if (!optionValues.has(val)) {
47329
47708
  var _ref9;
47330
47709
 
47331
- cloneOptions.push(labelInValue ? (_ref9 = {}, _defineProperty(_ref9, optionLabelProp, item.label), _defineProperty(_ref9, "value", val), _ref9) : {
47710
+ cloneOptions.push(labelInValue ? (_ref9 = {}, defineProperty_defineProperty(_ref9, optionLabelProp, item.label), defineProperty_defineProperty(_ref9, "value", val), _ref9) : {
47332
47711
  value: val
47333
47712
  });
47334
47713
  }
@@ -47594,7 +47973,7 @@ var OptionList = function OptionList(_ref, ref) {
47594
47973
  children = itemData.children;
47595
47974
  var attrs = pickAttrs(itemData, true);
47596
47975
  var mergedLabel = childrenAsData ? children : label;
47597
- return item ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
47976
+ return item ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
47598
47977
  "aria-label": typeof mergedLabel === 'string' ? mergedLabel : null
47599
47978
  }, attrs, {
47600
47979
  key: index,
@@ -47644,13 +48023,13 @@ var OptionList = function OptionList(_ref, ref) {
47644
48023
  children = data.children,
47645
48024
  style = data.style,
47646
48025
  className = data.className,
47647
- otherProps = _objectWithoutProperties(data, OptionList_excluded);
48026
+ otherProps = objectWithoutProperties_objectWithoutProperties(data, OptionList_excluded);
47648
48027
 
47649
48028
  var passedProps = omit(otherProps, omitFieldNameList); // Option
47650
48029
 
47651
48030
  var selected = values.has(value);
47652
48031
  var optionPrefixCls = "".concat(itemPrefixCls, "-option");
47653
- var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {}, _defineProperty(_classNames, "".concat(optionPrefixCls, "-grouped"), groupOption), _defineProperty(_classNames, "".concat(optionPrefixCls, "-active"), activeIndex === itemIndex && !disabled), _defineProperty(_classNames, "".concat(optionPrefixCls, "-disabled"), disabled), _defineProperty(_classNames, "".concat(optionPrefixCls, "-selected"), selected), _classNames));
48032
+ var optionClassName = classnames_default()(itemPrefixCls, optionPrefixCls, className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(optionPrefixCls, "-grouped"), groupOption), defineProperty_defineProperty(_classNames, "".concat(optionPrefixCls, "-active"), activeIndex === itemIndex && !disabled), defineProperty_defineProperty(_classNames, "".concat(optionPrefixCls, "-disabled"), disabled), defineProperty_defineProperty(_classNames, "".concat(optionPrefixCls, "-selected"), selected), _classNames));
47654
48033
  var mergedLabel = childrenAsData ? children : label;
47655
48034
  var iconVisible = !menuItemSelectedIcon || typeof menuItemSelectedIcon === 'function' || selected;
47656
48035
  var content = mergedLabel || value; // https://github.com/ant-design/ant-design/issues/26717
@@ -47661,7 +48040,7 @@ var OptionList = function OptionList(_ref, ref) {
47661
48040
  optionTitle = title;
47662
48041
  }
47663
48042
 
47664
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, passedProps, {
48043
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, passedProps, {
47665
48044
  "aria-selected": selected,
47666
48045
  className: optionClassName,
47667
48046
  title: optionTitle,
@@ -47722,9 +48101,9 @@ function convertNodeToOption(node) {
47722
48101
  _node$props = node.props,
47723
48102
  children = _node$props.children,
47724
48103
  value = _node$props.value,
47725
- restProps = _objectWithoutProperties(_node$props, legacyUtil_excluded);
48104
+ restProps = objectWithoutProperties_objectWithoutProperties(_node$props, legacyUtil_excluded);
47726
48105
 
47727
- return _objectSpread2({
48106
+ return objectSpread2_objectSpread2({
47728
48107
  key: key,
47729
48108
  value: value !== undefined ? value : key,
47730
48109
  children: children
@@ -47742,13 +48121,13 @@ function convertChildrenToData(nodes) {
47742
48121
  key = node.key,
47743
48122
  _node$props2 = node.props,
47744
48123
  children = _node$props2.children,
47745
- restProps = _objectWithoutProperties(_node$props2, _excluded2);
48124
+ restProps = objectWithoutProperties_objectWithoutProperties(_node$props2, _excluded2);
47746
48125
 
47747
48126
  if (optionOnly || !isSelectOptGroup) {
47748
48127
  return convertNodeToOption(node);
47749
48128
  }
47750
48129
 
47751
- return _objectSpread2(_objectSpread2({
48130
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
47752
48131
  key: "__RC_SELECT_GRP__".concat(key === null ? index : key, "__"),
47753
48132
  label: key
47754
48133
  }, restProps), {}, {
@@ -47850,7 +48229,7 @@ function InternalItem(props, ref) {
47850
48229
  order = props.order,
47851
48230
  _props$component = props.component,
47852
48231
  Component = _props$component === void 0 ? 'div' : _props$component,
47853
- restProps = _objectWithoutProperties(props, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]);
48232
+ restProps = objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]);
47854
48233
 
47855
48234
  var mergedHidden = responsive && !display; // ================================ Effect ================================
47856
48235
 
@@ -47884,9 +48263,9 @@ function InternalItem(props, ref) {
47884
48263
  overflowProps['aria-hidden'] = true;
47885
48264
  }
47886
48265
 
47887
- var itemNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, extends_extends({
48266
+ var itemNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({
47888
48267
  className: classnames_default()(!invalidate && prefixCls, className),
47889
- style: _objectSpread2(_objectSpread2({}, overflowStyle), style)
48268
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, overflowStyle), style)
47890
48269
  }, overflowProps, restProps, {
47891
48270
  ref: ref
47892
48271
  }), childNode);
@@ -47971,23 +48350,23 @@ var InternalRawItem = function InternalRawItem(props, ref) {
47971
48350
  if (!context) {
47972
48351
  var _props$component = props.component,
47973
48352
  Component = _props$component === void 0 ? 'div' : _props$component,
47974
- _restProps = _objectWithoutProperties(props, ["component"]);
48353
+ _restProps = objectWithoutProperties_objectWithoutProperties(props, ["component"]);
47975
48354
 
47976
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, extends_extends({}, _restProps, {
48355
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({}, _restProps, {
47977
48356
  ref: ref
47978
48357
  }));
47979
48358
  }
47980
48359
 
47981
48360
  var contextClassName = context.className,
47982
- restContext = _objectWithoutProperties(context, ["className"]);
48361
+ restContext = objectWithoutProperties_objectWithoutProperties(context, ["className"]);
47983
48362
 
47984
48363
  var className = props.className,
47985
- restProps = _objectWithoutProperties(props, ["className"]); // Do not pass context to sub item to avoid multiple measure
48364
+ restProps = objectWithoutProperties_objectWithoutProperties(props, ["className"]); // Do not pass context to sub item to avoid multiple measure
47986
48365
 
47987
48366
 
47988
48367
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(OverflowContext.Provider, {
47989
48368
  value: null
47990
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, extends_extends({
48369
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, esm_extends_extends({
47991
48370
  ref: ref,
47992
48371
  className: classnames_default()(contextClassName, className)
47993
48372
  }, restContext, restProps)));
@@ -48037,7 +48416,7 @@ function Overflow(props, ref) {
48037
48416
  Component = _props$component === void 0 ? 'div' : _props$component,
48038
48417
  itemComponent = props.itemComponent,
48039
48418
  onVisibleChange = props.onVisibleChange,
48040
- restProps = _objectWithoutProperties(props, ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]);
48419
+ restProps = objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]);
48041
48420
 
48042
48421
  var createUseState = useBatchFrameState();
48043
48422
  var fullySSR = ssr === 'full';
@@ -48247,7 +48626,7 @@ function Overflow(props, ref) {
48247
48626
  var key = getKey(item, index);
48248
48627
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(OverflowContext.Provider, {
48249
48628
  key: key,
48250
- value: _objectSpread2(_objectSpread2({}, itemSharedProps), {}, {
48629
+ value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, itemSharedProps), {}, {
48251
48630
  order: index,
48252
48631
  item: item,
48253
48632
  itemKey: key,
@@ -48257,7 +48636,7 @@ function Overflow(props, ref) {
48257
48636
  }, renderRawItem(item, index));
48258
48637
  } : function (item, index) {
48259
48638
  var key = getKey(item, index);
48260
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, extends_extends({}, itemSharedProps, {
48639
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, esm_extends_extends({}, itemSharedProps, {
48261
48640
  order: index,
48262
48641
  key: key,
48263
48642
  item: item,
@@ -48278,18 +48657,18 @@ function Overflow(props, ref) {
48278
48657
 
48279
48658
  if (!renderRawRest) {
48280
48659
  var mergedRenderRest = renderRest || defaultRenderRest;
48281
- restNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, extends_extends({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
48660
+ restNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, esm_extends_extends({}, itemSharedProps, restContextProps), typeof mergedRenderRest === 'function' ? mergedRenderRest(omittedItems) : mergedRenderRest);
48282
48661
  } else if (renderRawRest) {
48283
48662
  restNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(OverflowContext.Provider, {
48284
- value: _objectSpread2(_objectSpread2({}, itemSharedProps), restContextProps)
48663
+ value: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, itemSharedProps), restContextProps)
48285
48664
  }, renderRawRest(omittedItems));
48286
48665
  }
48287
48666
 
48288
- var overflowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, extends_extends({
48667
+ var overflowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({
48289
48668
  className: classnames_default()(!invalidate && prefixCls, className),
48290
48669
  style: style,
48291
48670
  ref: ref
48292
- }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, extends_extends({}, itemSharedProps, {
48671
+ }, restProps), mergedData.map(internalRenderItemNode), showRest ? restNode : null, suffix && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Item, esm_extends_extends({}, itemSharedProps, {
48293
48672
  order: mergedDisplayCount,
48294
48673
  className: "".concat(itemPrefixCls, "-suffix"),
48295
48674
  registerSize: registerSuffixSize,
@@ -48354,7 +48733,7 @@ var Input = function Input(_ref, ref) {
48354
48733
  onOriginCompositionStart = _inputNode$props.onCompositionStart,
48355
48734
  onOriginCompositionEnd = _inputNode$props.onCompositionEnd,
48356
48735
  style = _inputNode$props.style;
48357
- inputNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(inputNode, _objectSpread2(_objectSpread2({
48736
+ inputNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(inputNode, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
48358
48737
  id: id,
48359
48738
  ref: composeRef(ref, originRef),
48360
48739
  disabled: disabled,
@@ -48363,7 +48742,7 @@ var Input = function Input(_ref, ref) {
48363
48742
  type: 'search',
48364
48743
  autoFocus: autoFocus,
48365
48744
  className: classnames_default()("".concat(prefixCls, "-selection-search-input"), (_inputNode2 = inputNode) === null || _inputNode2 === void 0 ? void 0 : (_inputNode2$props = _inputNode2.props) === null || _inputNode2$props === void 0 ? void 0 : _inputNode2$props.className),
48366
- style: _objectSpread2(_objectSpread2({}, style), {}, {
48745
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, style), {}, {
48367
48746
  opacity: editable ? null : 0
48368
48747
  }),
48369
48748
  role: 'combobox',
@@ -48511,7 +48890,7 @@ var SelectSelector = function SelectSelector(props) {
48511
48890
 
48512
48891
  function defaultRenderSelector(title, content, itemDisabled, closable, onClose) {
48513
48892
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
48514
- className: classnames_default()("".concat(selectionPrefixCls, "-item"), _defineProperty({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
48893
+ className: classnames_default()("".concat(selectionPrefixCls, "-item"), defineProperty_defineProperty({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
48515
48894
  title: typeof title === 'string' || typeof title === 'number' ? title.toString() : undefined
48516
48895
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
48517
48896
  className: "".concat(selectionPrefixCls, "-item-content")
@@ -48926,7 +49305,7 @@ var Selector = function Selector(props, ref) {
48926
49305
  onInputCompositionStart: onInputCompositionStart,
48927
49306
  onInputCompositionEnd: onInputCompositionEnd
48928
49307
  };
48929
- var selectNode = multiple ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(MultipleSelector, extends_extends({}, props, sharedProps)) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Selector_SingleSelector, extends_extends({}, props, sharedProps));
49308
+ var selectNode = multiple ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(MultipleSelector, esm_extends_extends({}, props, sharedProps)) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Selector_SingleSelector, esm_extends_extends({}, props, sharedProps));
48930
49309
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
48931
49310
  ref: domRef,
48932
49311
  className: "".concat(prefixCls, "-selector"),
@@ -48971,7 +49350,7 @@ function isPointsEq(a1, a2, isAlignPoint) {
48971
49350
 
48972
49351
  function getAlignFromPlacement(builtinPlacements, placementStr, align) {
48973
49352
  var baseAlign = builtinPlacements[placementStr] || {};
48974
- return _objectSpread2(_objectSpread2({}, baseAlign), align);
49353
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, baseAlign), align);
48975
49354
  }
48976
49355
  function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {
48977
49356
  var points = align.points;
@@ -49035,7 +49414,7 @@ function Mask_Mask(props) {
49035
49414
  var motion = {};
49036
49415
 
49037
49416
  if (maskMotion || maskTransitionName || maskAnimation) {
49038
- motion = _objectSpread2({
49417
+ motion = objectSpread2_objectSpread2({
49039
49418
  motionAppear: true
49040
49419
  }, getMotion({
49041
49420
  motion: maskMotion,
@@ -49045,7 +49424,7 @@ function Mask_Mask(props) {
49045
49424
  }));
49046
49425
  }
49047
49426
 
49048
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, extends_extends({}, motion, {
49427
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, esm_extends_extends({}, motion, {
49049
49428
  visible: visible,
49050
49429
  removeOnLeave: true
49051
49430
  }), function (_ref) {
@@ -50557,7 +50936,7 @@ function getElement(func) {
50557
50936
  }
50558
50937
 
50559
50938
  function getPoint(point) {
50560
- if (typeof_typeof(point) !== 'object' || !point) return null;
50939
+ if (esm_typeof_typeof(point) !== 'object' || !point) return null;
50561
50940
  return point;
50562
50941
  }
50563
50942
 
@@ -50771,9 +51150,9 @@ var StatusQueue = ['measure', 'align', null, 'motion'];
50771
51150
  }
50772
51151
 
50773
51152
  if (status) {
50774
- rafRef.current = wrapperRaf( /*#__PURE__*/asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
51153
+ rafRef.current = wrapperRaf( /*#__PURE__*/asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
50775
51154
  var index, nextStatus;
50776
- return regenerator_default().wrap(function _callee$(_context) {
51155
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
50777
51156
  while (1) {
50778
51157
  switch (_context.prev = _context.next) {
50779
51158
  case 0:
@@ -50946,7 +51325,7 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
50946
51325
  } // ======================== Motion ========================
50947
51326
 
50948
51327
 
50949
- var motion = _objectSpread2({}, getMotion(props));
51328
+ var motion = objectSpread2_objectSpread2({}, getMotion(props));
50950
51329
 
50951
51330
  ['onAppearEnd', 'onEnterEnd', 'onLeaveEnd'].forEach(function (eventName) {
50952
51331
  var originHandler = motion[eventName];
@@ -50979,7 +51358,7 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
50979
51358
  };
50980
51359
  }); // ======================== Render ========================
50981
51360
 
50982
- var mergedStyle = _objectSpread2(_objectSpread2({}, stretchStyle), {}, {
51361
+ var mergedStyle = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, stretchStyle), {}, {
50983
51362
  zIndex: zIndex,
50984
51363
  opacity: status === 'motion' || status === 'stable' || !visible ? undefined : 0,
50985
51364
  pointerEvents: status === 'stable' ? undefined : 'none'
@@ -51000,7 +51379,7 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
51000
51379
  }, children);
51001
51380
  }
51002
51381
 
51003
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, extends_extends({
51382
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, esm_extends_extends({
51004
51383
  visible: visible,
51005
51384
  ref: elementRef,
51006
51385
  leavedClassName: "".concat(prefixCls, "-hidden")
@@ -51028,7 +51407,7 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
51028
51407
  onMouseLeave: onMouseLeave,
51029
51408
  onMouseDownCapture: onMouseDown,
51030
51409
  onTouchStartCapture: onTouchStart,
51031
- style: _objectSpread2(_objectSpread2({}, motionStyle), mergedStyle)
51410
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), mergedStyle)
51032
51411
  }, childNode));
51033
51412
  });
51034
51413
  });
@@ -51063,7 +51442,7 @@ var MobilePopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root
51063
51442
  };
51064
51443
  }); // ======================== Render ========================
51065
51444
 
51066
- var mergedStyle = _objectSpread2({
51445
+ var mergedStyle = objectSpread2_objectSpread2({
51067
51446
  zIndex: zIndex
51068
51447
  }, popupStyle);
51069
51448
 
@@ -51080,7 +51459,7 @@ var MobilePopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root
51080
51459
  childNode = popupRender(childNode);
51081
51460
  }
51082
51461
 
51083
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, extends_extends({
51462
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, esm_extends_extends({
51084
51463
  visible: visible,
51085
51464
  ref: elementRef,
51086
51465
  removeOnLeave: true
@@ -51091,7 +51470,7 @@ var MobilePopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root
51091
51470
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
51092
51471
  ref: motionRef,
51093
51472
  className: mergedClassName,
51094
- style: _objectSpread2(_objectSpread2({}, motionStyle), mergedStyle)
51473
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), mergedStyle)
51095
51474
  }, childNode);
51096
51475
  });
51097
51476
  });
@@ -51112,7 +51491,7 @@ var Popup_excluded = ["visible", "mobile"];
51112
51491
  var Popup = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.forwardRef(function (_ref, ref) {
51113
51492
  var visible = _ref.visible,
51114
51493
  mobile = _ref.mobile,
51115
- props = _objectWithoutProperties(_ref, Popup_excluded);
51494
+ props = objectWithoutProperties_objectWithoutProperties(_ref, Popup_excluded);
51116
51495
 
51117
51496
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(visible),
51118
51497
  _useState2 = slicedToArray_slicedToArray(_useState, 2),
@@ -51124,7 +51503,7 @@ var Popup = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_name
51124
51503
  inMobile = _useState4[0],
51125
51504
  setInMobile = _useState4[1];
51126
51505
 
51127
- var cloneProps = _objectSpread2(_objectSpread2({}, props), {}, {
51506
+ var cloneProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, props), {}, {
51128
51507
  visible: innerVisible
51129
51508
  }); // We check mobile in visible changed here.
51130
51509
  // And this also delay set `innerVisible` to avoid popup component render flash
@@ -51137,10 +51516,10 @@ var Popup = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_name
51137
51516
  setInMobile(isMobile());
51138
51517
  }
51139
51518
  }, [visible, mobile]);
51140
- var popupNode = inMobile ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Popup_MobilePopupInner, extends_extends({}, cloneProps, {
51519
+ var popupNode = inMobile ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Popup_MobilePopupInner, esm_extends_extends({}, cloneProps, {
51141
51520
  mobile: mobile,
51142
51521
  ref: ref
51143
- })) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Popup_PopupInner, extends_extends({}, cloneProps, {
51522
+ })) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Popup_PopupInner, esm_extends_extends({}, cloneProps, {
51144
51523
  ref: ref
51145
51524
  })); // We can use fragment directly but this may failed some selector usage. Keep as origin logic
51146
51525
 
@@ -51194,14 +51573,14 @@ var ALL_HANDLERS = ['onClick', 'onMouseDown', 'onTouchStart', 'onMouseEnter', 'o
51194
51573
 
51195
51574
  function generateTrigger(PortalComponent) {
51196
51575
  var Trigger = /*#__PURE__*/function (_React$Component) {
51197
- _inherits(Trigger, _React$Component);
51576
+ inherits_inherits(Trigger, _React$Component);
51198
51577
 
51199
- var _super = _createSuper(Trigger);
51578
+ var _super = createSuper_createSuper(Trigger);
51200
51579
 
51201
51580
  function Trigger(props) {
51202
51581
  var _this;
51203
51582
 
51204
- _classCallCheck(this, Trigger);
51583
+ classCallCheck_classCallCheck(this, Trigger);
51205
51584
 
51206
51585
  _this = _super.call(this, props);
51207
51586
  _this.popupRef = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createRef();
@@ -51389,7 +51768,7 @@ function generateTrigger(PortalComponent) {
51389
51768
  } catch (err) {// Do nothing
51390
51769
  }
51391
51770
 
51392
- return external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().findDOMNode(_assertThisInitialized(_this));
51771
+ return external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default().findDOMNode(assertThisInitialized_assertThisInitialized(_this));
51393
51772
  };
51394
51773
 
51395
51774
  _this.getPopupClassNameFromAlign = function (align) {
@@ -51450,7 +51829,7 @@ function generateTrigger(PortalComponent) {
51450
51829
 
51451
51830
  mouseProps.onMouseDown = _this.onPopupMouseDown;
51452
51831
  mouseProps.onTouchStart = _this.onPopupMouseDown;
51453
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Popup, extends_extends({
51832
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Popup, esm_extends_extends({
51454
51833
  prefixCls: prefixCls,
51455
51834
  destroyPopupOnHide: destroyPopupOnHide,
51456
51835
  visible: popupVisible,
@@ -51563,7 +51942,7 @@ function generateTrigger(PortalComponent) {
51563
51942
  return _this;
51564
51943
  }
51565
51944
 
51566
- _createClass(Trigger, [{
51945
+ createClass_createClass(Trigger, [{
51567
51946
  key: "componentDidMount",
51568
51947
  value: function componentDidMount() {
51569
51948
  this.componentDidUpdate();
@@ -51888,7 +52267,7 @@ function generateTrigger(PortalComponent) {
51888
52267
  newChildProps.className = childrenClassName;
51889
52268
  }
51890
52269
 
51891
- var cloneProps = _objectSpread2({}, newChildProps);
52270
+ var cloneProps = objectSpread2_objectSpread2({}, newChildProps);
51892
52271
 
51893
52272
  if (supportRef(child)) {
51894
52273
  cloneProps.ref = composeRef(this.triggerRef, child.ref);
@@ -52029,7 +52408,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
52029
52408
  empty = props.empty,
52030
52409
  getTriggerDOMNode = props.getTriggerDOMNode,
52031
52410
  onPopupVisibleChange = props.onPopupVisibleChange,
52032
- restProps = _objectWithoutProperties(props, SelectTrigger_excluded);
52411
+ restProps = objectWithoutProperties_objectWithoutProperties(props, SelectTrigger_excluded);
52033
52412
 
52034
52413
  var dropdownPrefixCls = "".concat(prefixCls, "-dropdown");
52035
52414
  var popupNode = popupElement;
@@ -52053,7 +52432,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
52053
52432
  };
52054
52433
  });
52055
52434
 
52056
- var popupStyle = _objectSpread2({
52435
+ var popupStyle = objectSpread2_objectSpread2({
52057
52436
  minWidth: containerWidth
52058
52437
  }, dropdownStyle);
52059
52438
 
@@ -52063,7 +52442,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
52063
52442
  popupStyle.width = containerWidth;
52064
52443
  }
52065
52444
 
52066
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, extends_extends({}, restProps, {
52445
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, esm_extends_extends({}, restProps, {
52067
52446
  showAction: onPopupVisibleChange ? ['click'] : [],
52068
52447
  hideAction: onPopupVisibleChange ? ['click'] : [],
52069
52448
  popupPlacement: placement || (direction === 'rtl' ? 'bottomRight' : 'bottomLeft'),
@@ -52076,7 +52455,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
52076
52455
  popupAlign: dropdownAlign,
52077
52456
  popupVisible: visible,
52078
52457
  getPopupContainer: getPopupContainer,
52079
- popupClassName: classnames_default()(dropdownClassName, _defineProperty({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
52458
+ popupClassName: classnames_default()(dropdownClassName, defineProperty_defineProperty({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
52080
52459
  popupStyle: popupStyle,
52081
52460
  getTriggerDOMNode: getTriggerDOMNode,
52082
52461
  onPopupVisibleChange: onPopupVisibleChange
@@ -52179,7 +52558,7 @@ function useCacheDisplayValue(values) {
52179
52558
  var cacheLabel = valueLabels.get(item.value);
52180
52559
 
52181
52560
  if (item.isCacheable && cacheLabel) {
52182
- return _objectSpread2(_objectSpread2({}, item), {}, {
52561
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
52183
52562
  label: cacheLabel
52184
52563
  });
52185
52564
  }
@@ -52341,7 +52720,7 @@ function generateSelector(config) {
52341
52720
  onClear = props.onClear,
52342
52721
  _props$internalProps = props.internalProps,
52343
52722
  internalProps = _props$internalProps === void 0 ? {} : _props$internalProps,
52344
- restProps = _objectWithoutProperties(props, generate_excluded);
52723
+ restProps = objectWithoutProperties_objectWithoutProperties(props, generate_excluded);
52345
52724
 
52346
52725
  var useInternalProps = internalProps.mark === INTERNAL_PROPS_MARK;
52347
52726
  var domProps = omitDOMProps ? omitDOMProps(restProps) : restProps;
@@ -52479,7 +52858,7 @@ function generateSelector(config) {
52479
52858
 
52480
52859
  var displayOptions = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo)(function () {
52481
52860
  if (!mergedSearchValue || !mergedShowSearch) {
52482
- return _toConsumableArray(mergedOptions);
52861
+ return toConsumableArray_toConsumableArray(mergedOptions);
52483
52862
  }
52484
52863
 
52485
52864
  var filteredOptions = filterOptions(mergedSearchValue, mergedOptions, {
@@ -52500,7 +52879,7 @@ function generateSelector(config) {
52500
52879
  }
52501
52880
 
52502
52881
  if (filterSort && Array.isArray(filteredOptions)) {
52503
- return _toConsumableArray(filteredOptions).sort(filterSort);
52882
+ return toConsumableArray_toConsumableArray(filteredOptions).sort(filterSort);
52504
52883
  }
52505
52884
 
52506
52885
  return filteredOptions;
@@ -52523,7 +52902,7 @@ function generateSelector(config) {
52523
52902
  labelInValue: mergedLabelInValue,
52524
52903
  optionLabelProp: mergedOptionLabelProp
52525
52904
  });
52526
- return _objectSpread2(_objectSpread2({}, displayValue), {}, {
52905
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, displayValue), {}, {
52527
52906
  disabled: isValueDisabled(val, valueOptions)
52528
52907
  });
52529
52908
  });
@@ -52597,7 +52976,7 @@ function generateSelector(config) {
52597
52976
  }); // We will cache option in case it removed by ajax
52598
52977
 
52599
52978
  setPrevValueOptions(outOptions.map(function (option, index) {
52600
- var clone = _objectSpread2({}, option);
52979
+ var clone = objectSpread2_objectSpread2({}, option);
52601
52980
 
52602
52981
  Object.defineProperty(clone, '_INTERNAL_OPTION_VALUE_', {
52603
52982
  get: function get() {
@@ -52653,13 +53032,13 @@ function generateSelector(config) {
52653
53032
  };
52654
53033
 
52655
53034
  var onInternalOptionSelect = function onInternalOptionSelect(newValue, info) {
52656
- onInternalSelect(newValue, _objectSpread2(_objectSpread2({}, info), {}, {
53035
+ onInternalSelect(newValue, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
52657
53036
  source: 'option'
52658
53037
  }));
52659
53038
  };
52660
53039
 
52661
53040
  var onInternalSelectionSelect = function onInternalSelectionSelect(newValue, info) {
52662
- onInternalSelect(newValue, _objectSpread2(_objectSpread2({}, info), {}, {
53041
+ onInternalSelect(newValue, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
52663
53042
  source: 'selection'
52664
53043
  }));
52665
53044
  }; // ============================= Input ==============================
@@ -52743,7 +53122,7 @@ function generateSelector(config) {
52743
53122
  });
52744
53123
  }
52745
53124
 
52746
- var newRawValues = Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), _toConsumableArray(patchRawValues))));
53125
+ var newRawValues = Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), toConsumableArray_toConsumableArray(patchRawValues))));
52747
53126
  triggerChange(newRawValues);
52748
53127
  newRawValues.forEach(function (newRawValue) {
52749
53128
  triggerSelect(newRawValue, true, 'input');
@@ -52772,7 +53151,7 @@ function generateSelector(config) {
52772
53151
  return;
52773
53152
  }
52774
53153
 
52775
- var newRawValues = Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), [searchText])));
53154
+ var newRawValues = Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), [searchText])));
52776
53155
  triggerChange(newRawValues);
52777
53156
  newRawValues.forEach(function (newRawValue) {
52778
53157
  triggerSelect(newRawValue, true, 'input');
@@ -52905,7 +53284,7 @@ function generateSelector(config) {
52905
53284
  // `tags` mode should move `searchValue` into values
52906
53285
  if (mode === 'tags') {
52907
53286
  triggerSearch('', false, false);
52908
- triggerChange(Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), [mergedSearchValue]))));
53287
+ triggerChange(Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), [mergedSearchValue]))));
52909
53288
  } else if (mode === 'multiple') {
52910
53289
  // `multiple` mode only clean the search value but not trigger event
52911
53290
  setInnerSearchValue('');
@@ -53063,7 +53442,7 @@ function generateSelector(config) {
53063
53442
 
53064
53443
  if (mergedShowArrow) {
53065
53444
  arrowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_TransBtn, {
53066
- className: classnames_default()("".concat(prefixCls, "-arrow"), _defineProperty({}, "".concat(prefixCls, "-arrow-loading"), loading)),
53445
+ className: classnames_default()("".concat(prefixCls, "-arrow"), defineProperty_defineProperty({}, "".concat(prefixCls, "-arrow-loading"), loading)),
53067
53446
  customizeIcon: inputIcon,
53068
53447
  customizeIconProps: {
53069
53448
  loading: loading,
@@ -53079,7 +53458,7 @@ function generateSelector(config) {
53079
53458
  if (false) {} // ============================= Render =============================
53080
53459
 
53081
53460
 
53082
- var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {}, _defineProperty(_classNames2, "".concat(prefixCls, "-focused"), mockFocused), _defineProperty(_classNames2, "".concat(prefixCls, "-multiple"), isMultiple), _defineProperty(_classNames2, "".concat(prefixCls, "-single"), !isMultiple), _defineProperty(_classNames2, "".concat(prefixCls, "-allow-clear"), allowClear), _defineProperty(_classNames2, "".concat(prefixCls, "-show-arrow"), mergedShowArrow), _defineProperty(_classNames2, "".concat(prefixCls, "-disabled"), disabled), _defineProperty(_classNames2, "".concat(prefixCls, "-loading"), loading), _defineProperty(_classNames2, "".concat(prefixCls, "-open"), mergedOpen), _defineProperty(_classNames2, "".concat(prefixCls, "-customize-input"), customizeInputElement), _defineProperty(_classNames2, "".concat(prefixCls, "-show-search"), mergedShowSearch), _classNames2));
53461
+ var mergedClassName = classnames_default()(prefixCls, className, (_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-focused"), mockFocused), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-multiple"), isMultiple), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-single"), !isMultiple), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-allow-clear"), allowClear), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-show-arrow"), mergedShowArrow), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-disabled"), disabled), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-loading"), loading), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-open"), mergedOpen), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-customize-input"), customizeInputElement), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-show-search"), mergedShowSearch), _classNames2));
53083
53462
  var selectorNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_SelectTrigger, {
53084
53463
  ref: triggerRef,
53085
53464
  disabled: disabled,
@@ -53104,7 +53483,7 @@ function generateSelector(config) {
53104
53483
  onPopupVisibleChange: onTriggerVisibleChange
53105
53484
  }, customizeRawInputElement ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(customizeRawInputElement, {
53106
53485
  ref: composeRef(selectorDomRef, customizeRawInputElement.props.ref)
53107
- }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Selector, extends_extends({}, props, {
53486
+ }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Selector, esm_extends_extends({}, props, {
53108
53487
  domRef: selectorDomRef,
53109
53488
  prefixCls: prefixCls,
53110
53489
  inputElement: customizeInputElement,
@@ -53130,7 +53509,7 @@ function generateSelector(config) {
53130
53509
  return selectorNode;
53131
53510
  }
53132
53511
 
53133
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
53512
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
53134
53513
  className: mergedClassName
53135
53514
  }, domProps, {
53136
53515
  ref: containerRef,
@@ -53217,7 +53596,7 @@ function warningProps(props) {
53217
53596
  if (value !== undefined && value !== null) {
53218
53597
  var values = commonUtil_toArray(value);
53219
53598
  es_warning(!labelInValue || values.every(function (val) {
53220
- return typeof_typeof(val) === 'object' && ('key' in val || 'value' in val);
53599
+ return esm_typeof_typeof(val) === 'object' && ('key' in val || 'value' in val);
53221
53600
  }), '`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`');
53222
53601
  es_warning(!multiple || Array.isArray(value), '`value` should be array when `mode` is `multiple` or `tags`');
53223
53602
  } // Syntactic sugar should use correct children type
@@ -53331,14 +53710,14 @@ var RefSelect = generateSelector({
53331
53710
  */
53332
53711
 
53333
53712
  var Select = /*#__PURE__*/function (_React$Component) {
53334
- _inherits(Select, _React$Component);
53713
+ inherits_inherits(Select, _React$Component);
53335
53714
 
53336
- var _super = _createSuper(Select);
53715
+ var _super = createSuper_createSuper(Select);
53337
53716
 
53338
53717
  function Select() {
53339
53718
  var _this;
53340
53719
 
53341
- _classCallCheck(this, Select);
53720
+ classCallCheck_classCallCheck(this, Select);
53342
53721
 
53343
53722
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
53344
53723
  args[_key] = arguments[_key];
@@ -53358,10 +53737,10 @@ var Select = /*#__PURE__*/function (_React$Component) {
53358
53737
  return _this;
53359
53738
  }
53360
53739
 
53361
- _createClass(Select, [{
53740
+ createClass_createClass(Select, [{
53362
53741
  key: "render",
53363
53742
  value: function render() {
53364
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(RefSelect, extends_extends({
53743
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(RefSelect, esm_extends_extends({
53365
53744
  ref: this.selectRef
53366
53745
  }, this.props));
53367
53746
  }
@@ -53542,7 +53921,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
53542
53921
  } // ===================== Icons =====================
53543
53922
 
53544
53923
 
53545
- var _getIcons = getIcons(extends_extends(extends_extends({}, props), {
53924
+ var _getIcons = getIcons(esm_extends_extends(esm_extends_extends({}, props), {
53546
53925
  multiple: isMultiple,
53547
53926
  prefixCls: prefixCls
53548
53927
  })),
@@ -53552,10 +53931,10 @@ var InternalSelect = function InternalSelect(_a, ref) {
53552
53931
  clearIcon = _getIcons.clearIcon;
53553
53932
 
53554
53933
  var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
53555
- var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, _defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
53934
+ var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, defineProperty_defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
53556
53935
  var mergedSize = customizeSize || size;
53557
- 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);
53558
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, extends_extends({
53936
+ var mergedClassName = classnames_default()((_classNames2 = {}, defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-lg"), mergedSize === 'large'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-sm"), mergedSize === 'small'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames2, "".concat(prefixCls, "-borderless"), !bordered), _classNames2), className);
53937
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, esm_extends_extends({
53559
53938
  ref: ref,
53560
53939
  virtual: virtual,
53561
53940
  dropdownMatchSelectWidth: dropdownMatchSelectWidth
@@ -54847,9 +55226,9 @@ function LiveOnlineCount(_ref) {
54847
55226
  };
54848
55227
 
54849
55228
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
54850
- LiveOnlineCount_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
55229
+ LiveOnlineCount_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
54851
55230
  var count, likesData, currentCount;
54852
- return regenerator_default().wrap(function _callee$(_context) {
55231
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
54853
55232
  while (1) {
54854
55233
  switch (_context.prev = _context.next) {
54855
55234
  case 0:
@@ -55025,7 +55404,6 @@ function detail_arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
55025
55404
 
55026
55405
 
55027
55406
 
55028
-
55029
55407
  // import IMChatroom from '@/component/IMChatroom'
55030
55408
 
55031
55409
 
@@ -55116,7 +55494,7 @@ function PublicLiveDetail(_ref) {
55116
55494
  userRole = loginInfo.userRole,
55117
55495
  loginStatus = loginInfo.loginStatus;
55118
55496
  var isLiveToReplay = !replay;
55119
- var isStreamLive = liveInfo && liveInfo.type === PUBLIC_LIVE_MODE.LIVING && (liveInfo.sub_type === SUB_TYPE.OUTSIDE || liveInfo.sub_type === SUB_TYPE.REBROADCAST);
55497
+ var isStreamLive = liveInfo && liveInfo.type === PUBLIC_LIVE_MODE.LIVING;
55120
55498
 
55121
55499
  var handleStatusChange = /*#__PURE__*/function () {
55122
55500
  var _ref2 = detail_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(status) {
@@ -55133,7 +55511,7 @@ function PublicLiveDetail(_ref) {
55133
55511
  onStateChange(newLiveInfo);
55134
55512
  isRecordLive = liveInfo.type === PUBLIC_LIVE_MODE.RECORDED;
55135
55513
 
55136
- if (!(!isRecordLive && status === publicLive_PUBLIC_LIVE_STATUS.LIVEING && isEmpty(liveInfo.imInfo))) {
55514
+ if (!(!isRecordLive && [publicLive_PUBLIC_LIVE_STATUS.NOSTARTED, publicLive_PUBLIC_LIVE_STATUS.LIVEING, publicLive_PUBLIC_LIVE_STATUS.PASUED].includes(status) && isEmpty(liveInfo.imInfo))) {
55137
55515
  _context.next = 18;
55138
55516
  break;
55139
55517
  }
@@ -55236,6 +55614,8 @@ function PublicLiveDetail(_ref) {
55236
55614
  return _context2.abrupt("return");
55237
55615
 
55238
55616
  case 10:
55617
+ // 调试代码 模拟直播倒计时结束
55618
+ // data.status = PUBLIC_LIVE_STATUS.NOSTARTED
55239
55619
  isRecordLive = data.type === PUBLIC_LIVE_MODE.RECORDED;
55240
55620
  isNoStarted = data.status === publicLive_PUBLIC_LIVE_STATUS.NOSTARTED;
55241
55621
  isCompleted = data.status === publicLive_PUBLIC_LIVE_STATUS.COMPLETEED;
@@ -55299,19 +55679,6 @@ function PublicLiveDetail(_ref) {
55299
55679
  data.imInfo = imLiveInfoResp;
55300
55680
 
55301
55681
  case 31:
55302
- if (!(data.type === PUBLIC_LIVE_MODE.LIVING && data.sub_type === SUB_TYPE.OUTSIDE)) {
55303
- _context2.next = 34;
55304
- break;
55305
- }
55306
-
55307
- _context2.next = 36;
55308
- break;
55309
-
55310
- case 34:
55311
- _context2.next = 36;
55312
- return push.init();
55313
-
55314
- case 36:
55315
55682
  // 如果是转播或者是推流 直接播放(用于调试模式)
55316
55683
  _getUrlQuery2 = (0,url/* getUrlQuery */.pf)(), preview = _getUrlQuery2.preview; // 后台点预览会加这个参数
55317
55684
 
@@ -55320,7 +55687,7 @@ function PublicLiveDetail(_ref) {
55320
55687
  }) : data;
55321
55688
  setLiveInfo(generateInfo);
55322
55689
 
55323
- case 39:
55690
+ case 34:
55324
55691
  case "end":
55325
55692
  return _context2.stop();
55326
55693
  }
@@ -55335,31 +55702,6 @@ function PublicLiveDetail(_ref) {
55335
55702
 
55336
55703
  init();
55337
55704
  }, []);
55338
- (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
55339
- if (!liveInfo || liveInfo.sub_type === SUB_TYPE.OUTSIDE) {
55340
- return;
55341
- }
55342
-
55343
- var handler = function handler(data) {
55344
- var _data$extraFields = data.extraFields,
55345
- extraFields = _data$extraFields === void 0 ? {} : _data$extraFields;
55346
- console.log('public Live:', data);
55347
-
55348
- if (extraFields.event === PUBLIC_LIVE_PUSH_EVENT.STATUS_CHANGE && extraFields.liveId === liveId) {
55349
- console.log("public Live: receive push status ".concat(parseInt(extraFields.status, 10)));
55350
- handleStatusChange(parseInt(extraFields.status, 10));
55351
- }
55352
- };
55353
-
55354
- push.addTopicListener("".concat(PUBLIC_LIVE_PUSH_TOPIC, "_").concat(liveId), handler);
55355
- return function () {
55356
- if (!liveInfo || liveInfo.sub_type === SUB_TYPE.OUTSIDE) {
55357
- return;
55358
- }
55359
-
55360
- push.removeTopicListener("".concat(PUBLIC_LIVE_PUSH_TOPIC, "_").concat(liveId), handler);
55361
- };
55362
- }, [!!liveInfo]);
55363
55705
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
55364
55706
  if (userInfo) {
55365
55707
  onReportProgress();
@@ -55486,6 +55828,7 @@ function PublicLiveDetail(_ref) {
55486
55828
  },
55487
55829
  onRequestFullScreen: handleRequestFullScreen
55488
55830
  }) : isRecordLive ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(RecordVideo, {
55831
+ isStreamLive: isStreamLive,
55489
55832
  userInfo: userInfo,
55490
55833
  liveInfo: liveInfo,
55491
55834
  visitTime: visitTime,
@@ -55499,6 +55842,7 @@ function PublicLiveDetail(_ref) {
55499
55842
  },
55500
55843
  onRequestFullScreen: handleRequestFullScreen
55501
55844
  }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(LiveVideo, {
55845
+ isStreamLive: isStreamLive,
55502
55846
  handleLogin: handleLogin,
55503
55847
  userInfo: userInfo,
55504
55848
  liveInfo: liveInfo,
@@ -55512,7 +55856,7 @@ function PublicLiveDetail(_ref) {
55512
55856
  handleVideoPlay(true);
55513
55857
  },
55514
55858
  onRequestFullScreen: handleRequestFullScreen
55515
- })), !isReplayMode && !isRecordLive && isStreamLive && liveInfo.status !== publicLive_PUBLIC_LIVE_STATUS.COMPLETEED && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(LineSwitch, {
55859
+ })), !isReplayMode && !isRecordLive && liveInfo.sub_type !== SUB_TYPE.NET_DRAGON && liveInfo.status !== publicLive_PUBLIC_LIVE_STATUS.COMPLETEED && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(LineSwitch, {
55516
55860
  className: src_detail_index_module["live-line-switch"],
55517
55861
  liveInfo: liveInfo,
55518
55862
  onChange: handleSelectChange
@@ -55705,7 +56049,7 @@ function TabNode(_ref, ref) {
55705
56049
  var node = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
55706
56050
  key: key,
55707
56051
  ref: ref,
55708
- className: classnames_default()(tabPrefix, (_classNames = {}, _defineProperty(_classNames, "".concat(tabPrefix, "-with-remove"), removable), _defineProperty(_classNames, "".concat(tabPrefix, "-active"), active), _defineProperty(_classNames, "".concat(tabPrefix, "-disabled"), disabled), _classNames)),
56052
+ className: classnames_default()(tabPrefix, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(tabPrefix, "-with-remove"), removable), defineProperty_defineProperty(_classNames, "".concat(tabPrefix, "-active"), active), defineProperty_defineProperty(_classNames, "".concat(tabPrefix, "-disabled"), disabled), _classNames)),
55709
56053
  style: style,
55710
56054
  onClick: onInternalClick
55711
56055
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
@@ -55768,7 +56112,7 @@ function useOffsets(tabs, tabSizes, holderScrollWidth) {
55768
56112
  data = tabSizes.get((_tabs = tabs[i - 1]) === null || _tabs === void 0 ? void 0 : _tabs.key) || DEFAULT_SIZE;
55769
56113
  }
55770
56114
 
55771
- var entity = map.get(key) || _objectSpread2({}, data); // Right
56115
+ var entity = map.get(key) || objectSpread2_objectSpread2({}, data); // Right
55772
56116
 
55773
56117
 
55774
56118
  entity.right = rightOffset - entity.left - entity.width; // Update entity
@@ -55863,7 +56207,7 @@ var MenuContext_excluded = ["children", "locked"];
55863
56207
  var MenuContext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createContext(null);
55864
56208
 
55865
56209
  function mergeProps(origin, target) {
55866
- var clone = _objectSpread2({}, origin);
56210
+ var clone = objectSpread2_objectSpread2({}, origin);
55867
56211
 
55868
56212
  Object.keys(target).forEach(function (key) {
55869
56213
  var value = target[key];
@@ -55878,7 +56222,7 @@ function mergeProps(origin, target) {
55878
56222
  function InheritableContextProvider(_ref) {
55879
56223
  var children = _ref.children,
55880
56224
  locked = _ref.locked,
55881
- restProps = _objectWithoutProperties(_ref, MenuContext_excluded);
56225
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, MenuContext_excluded);
55882
56226
 
55883
56227
  var context = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(MenuContext);
55884
56228
  var inheritableContext = useMemo(function () {
@@ -55934,7 +56278,7 @@ var warnUtil_excluded = ["item"];
55934
56278
 
55935
56279
  function warnItemProp(_ref) {
55936
56280
  var item = _ref.item,
55937
- restInfo = _objectWithoutProperties(_ref, warnUtil_excluded);
56281
+ restInfo = objectWithoutProperties_objectWithoutProperties(_ref, warnUtil_excluded);
55938
56282
 
55939
56283
  Object.defineProperty(restInfo, 'item', {
55940
56284
  get: function get() {
@@ -55954,7 +56298,7 @@ function es_Icon_Icon(_ref) {
55954
56298
  var iconNode;
55955
56299
 
55956
56300
  if (typeof icon === 'function') {
55957
- iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(icon, _objectSpread2({}, props));
56301
+ iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(icon, objectSpread2_objectSpread2({}, props));
55958
56302
  } else {
55959
56303
  // Compatible for origin definition
55960
56304
  iconNode = icon;
@@ -55995,7 +56339,7 @@ var PathTrackerContext = /*#__PURE__*/external_commonjs_react_commonjs2_react_ro
55995
56339
  function useFullPath(eventKey) {
55996
56340
  var parentKeyPath = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(PathTrackerContext);
55997
56341
  return external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo(function () {
55998
- return eventKey !== undefined ? [].concat(_toConsumableArray(parentKeyPath), [eventKey]) : parentKeyPath;
56342
+ return eventKey !== undefined ? [].concat(toConsumableArray_toConsumableArray(parentKeyPath), [eventKey]) : parentKeyPath;
55999
56343
  }, [parentKeyPath, eventKey]);
56000
56344
  }
56001
56345
  var PathUserContext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createContext(null);
@@ -56052,28 +56396,28 @@ var MenuItem_excluded = ["title", "attribute", "elementRef"],
56052
56396
  // This should be removed from doc & api in future.
56053
56397
 
56054
56398
  var LegacyMenuItem = /*#__PURE__*/function (_React$Component) {
56055
- _inherits(LegacyMenuItem, _React$Component);
56399
+ inherits_inherits(LegacyMenuItem, _React$Component);
56056
56400
 
56057
- var _super = _createSuper(LegacyMenuItem);
56401
+ var _super = createSuper_createSuper(LegacyMenuItem);
56058
56402
 
56059
56403
  function LegacyMenuItem() {
56060
- _classCallCheck(this, LegacyMenuItem);
56404
+ classCallCheck_classCallCheck(this, LegacyMenuItem);
56061
56405
 
56062
56406
  return _super.apply(this, arguments);
56063
56407
  }
56064
56408
 
56065
- _createClass(LegacyMenuItem, [{
56409
+ createClass_createClass(LegacyMenuItem, [{
56066
56410
  key: "render",
56067
56411
  value: function render() {
56068
56412
  var _this$props = this.props,
56069
56413
  title = _this$props.title,
56070
56414
  attribute = _this$props.attribute,
56071
56415
  elementRef = _this$props.elementRef,
56072
- restProps = _objectWithoutProperties(_this$props, MenuItem_excluded);
56416
+ restProps = objectWithoutProperties_objectWithoutProperties(_this$props, MenuItem_excluded);
56073
56417
 
56074
56418
  var passedProps = omit(restProps, ['eventKey']);
56075
56419
  es_warning(!attribute, '`attribute` of Menu.Item is deprecated. Please pass attribute directly.');
56076
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es.Item, extends_extends({}, attribute, {
56420
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es.Item, esm_extends_extends({}, attribute, {
56077
56421
  title: typeof title === 'string' ? title : undefined
56078
56422
  }, passedProps, {
56079
56423
  ref: elementRef
@@ -56104,7 +56448,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
56104
56448
  onClick = props.onClick,
56105
56449
  onKeyDown = props.onKeyDown,
56106
56450
  onFocus = props.onFocus,
56107
- restProps = _objectWithoutProperties(props, MenuItem_excluded2);
56451
+ restProps = objectWithoutProperties_objectWithoutProperties(props, MenuItem_excluded2);
56108
56452
 
56109
56453
  var domDataId = useMenuId(eventKey);
56110
56454
 
@@ -56133,7 +56477,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
56133
56477
  return {
56134
56478
  key: eventKey,
56135
56479
  // Note: For legacy code is reversed which not like other antd component
56136
- keyPath: _toConsumableArray(connectedKeys).reverse(),
56480
+ keyPath: toConsumableArray_toConsumableArray(connectedKeys).reverse(),
56137
56481
  item: legacyMenuItemRef.current,
56138
56482
  domEvent: e
56139
56483
  };
@@ -56144,7 +56488,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
56144
56488
 
56145
56489
  var _useActive = useActive(eventKey, mergedDisabled, onMouseEnter, onMouseLeave),
56146
56490
  active = _useActive.active,
56147
- activeProps = _objectWithoutProperties(_useActive, _excluded3); // ============================ Select ============================
56491
+ activeProps = objectWithoutProperties_objectWithoutProperties(_useActive, _excluded3); // ============================ Select ============================
56148
56492
 
56149
56493
 
56150
56494
  var selected = selectedKeys.includes(eventKey); // ======================== DirectionStyle ========================
@@ -56189,7 +56533,7 @@ var InternalMenuItem = function InternalMenuItem(props) {
56189
56533
  optionRoleProps['aria-selected'] = selected;
56190
56534
  }
56191
56535
 
56192
- var renderNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(LegacyMenuItem, extends_extends({
56536
+ var renderNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(LegacyMenuItem, esm_extends_extends({
56193
56537
  ref: legacyMenuItemRef,
56194
56538
  elementRef: elementRef,
56195
56539
  role: role === null ? 'none' : role || 'menuitem',
@@ -56198,13 +56542,13 @@ var InternalMenuItem = function InternalMenuItem(props) {
56198
56542
  }, restProps, activeProps, optionRoleProps, {
56199
56543
  component: "li",
56200
56544
  "aria-disabled": disabled,
56201
- style: _objectSpread2(_objectSpread2({}, directionStyle), style),
56202
- className: classnames_default()(itemCls, (_classNames = {}, _defineProperty(_classNames, "".concat(itemCls, "-active"), active), _defineProperty(_classNames, "".concat(itemCls, "-selected"), selected), _defineProperty(_classNames, "".concat(itemCls, "-disabled"), mergedDisabled), _classNames), className),
56545
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, directionStyle), style),
56546
+ className: classnames_default()(itemCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(itemCls, "-active"), active), defineProperty_defineProperty(_classNames, "".concat(itemCls, "-selected"), selected), defineProperty_defineProperty(_classNames, "".concat(itemCls, "-disabled"), mergedDisabled), _classNames), className),
56203
56547
  onClick: onInternalClick,
56204
56548
  onKeyDown: onInternalKeyDown,
56205
56549
  onFocus: onInternalFocus
56206
56550
  }), children, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Icon_Icon, {
56207
- props: _objectSpread2(_objectSpread2({}, props), {}, {
56551
+ props: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, props), {}, {
56208
56552
  isSelected: selected
56209
56553
  }),
56210
56554
  icon: mergedItemIcon
@@ -56257,7 +56601,7 @@ function parseChildren(children, keyPath) {
56257
56601
  var emptyKey = eventKey === null || eventKey === undefined;
56258
56602
 
56259
56603
  if (emptyKey) {
56260
- eventKey = "tmp_key-".concat([].concat(_toConsumableArray(keyPath), [index]).join('-'));
56604
+ eventKey = "tmp_key-".concat([].concat(toConsumableArray_toConsumableArray(keyPath), [index]).join('-'));
56261
56605
  }
56262
56606
 
56263
56607
  var cloneProps = {
@@ -56305,14 +56649,14 @@ var SubMenuList_excluded = ["className", "children"];
56305
56649
  var InternalSubMenuList = function InternalSubMenuList(_ref, ref) {
56306
56650
  var className = _ref.className,
56307
56651
  children = _ref.children,
56308
- restProps = _objectWithoutProperties(_ref, SubMenuList_excluded);
56652
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, SubMenuList_excluded);
56309
56653
 
56310
56654
  var _React$useContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(MenuContext),
56311
56655
  prefixCls = _React$useContext.prefixCls,
56312
56656
  mode = _React$useContext.mode,
56313
56657
  rtl = _React$useContext.rtl;
56314
56658
 
56315
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("ul", extends_extends({
56659
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("ul", esm_extends_extends({
56316
56660
  className: classnames_default()(prefixCls, rtl && "".concat(prefixCls, "-rtl"), "".concat(prefixCls, "-sub"), "".concat(prefixCls, "-").concat(mode === 'inline' ? 'inline' : 'vertical'), className)
56317
56661
  }, restProps, {
56318
56662
  "data-menu-list": true,
@@ -56429,11 +56773,11 @@ function PopupTrigger(_ref) {
56429
56773
  innerVisible = _React$useState2[0],
56430
56774
  setInnerVisible = _React$useState2[1];
56431
56775
 
56432
- var placement = rtl ? _objectSpread2(_objectSpread2({}, placementsRtl), builtinPlacements) : _objectSpread2(_objectSpread2({}, placements), builtinPlacements);
56776
+ var placement = rtl ? objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, placementsRtl), builtinPlacements) : objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, placements), builtinPlacements);
56433
56777
  var popupPlacement = popupPlacementMap[mode];
56434
56778
  var targetMotion = motionUtil_getMotion(mode, motion, defaultMotions);
56435
56779
 
56436
- var mergedMotion = _objectSpread2(_objectSpread2({}, targetMotion), {}, {
56780
+ var mergedMotion = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, targetMotion), {}, {
56437
56781
  leavedClassName: "".concat(prefixCls, "-hidden"),
56438
56782
  removeOnLeave: false,
56439
56783
  motionAppear: true
@@ -56451,7 +56795,7 @@ function PopupTrigger(_ref) {
56451
56795
  }, [visible]);
56452
56796
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, {
56453
56797
  prefixCls: prefixCls,
56454
- popupClassName: classnames_default()("".concat(prefixCls, "-popup"), _defineProperty({}, "".concat(prefixCls, "-rtl"), rtl), popupClassName),
56798
+ popupClassName: classnames_default()("".concat(prefixCls, "-popup"), defineProperty_defineProperty({}, "".concat(prefixCls, "-rtl"), rtl), popupClassName),
56455
56799
  stretch: mode === 'horizontal' ? 'minWidth' : null,
56456
56800
  getPopupContainer: getPopupContainer,
56457
56801
  builtinPlacements: placement,
@@ -56511,7 +56855,7 @@ function InlineSubMenuList(_ref) {
56511
56855
  }
56512
56856
  }, [mode]); // ================================= Render =================================
56513
56857
 
56514
- var mergedMotion = _objectSpread2({}, motionUtil_getMotion(fixedMode, motion, defaultMotions)); // No need appear since nest inlineCollapse changed
56858
+ var mergedMotion = objectSpread2_objectSpread2({}, motionUtil_getMotion(fixedMode, motion, defaultMotions)); // No need appear since nest inlineCollapse changed
56515
56859
 
56516
56860
 
56517
56861
  if (keyPath.length > 1) {
@@ -56536,7 +56880,7 @@ function InlineSubMenuList(_ref) {
56536
56880
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(InheritableContextProvider, {
56537
56881
  mode: fixedMode,
56538
56882
  locked: !sameModeRef.current
56539
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, extends_extends({
56883
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es, esm_extends_extends({
56540
56884
  visible: mergedOpen
56541
56885
  }, mergedMotion, {
56542
56886
  forceRender: forceSubMenuRender,
@@ -56599,7 +56943,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
56599
56943
  onTitleClick = props.onTitleClick,
56600
56944
  onTitleMouseEnter = props.onTitleMouseEnter,
56601
56945
  onTitleMouseLeave = props.onTitleMouseLeave,
56602
- restProps = _objectWithoutProperties(props, SubMenu_excluded);
56946
+ restProps = objectWithoutProperties_objectWithoutProperties(props, SubMenu_excluded);
56603
56947
 
56604
56948
  var domDataId = useMenuId(eventKey);
56605
56949
 
@@ -56642,7 +56986,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
56642
56986
 
56643
56987
  var _useActive = useActive(eventKey, mergedDisabled, onTitleMouseEnter, onTitleMouseLeave),
56644
56988
  active = _useActive.active,
56645
- activeProps = _objectWithoutProperties(_useActive, SubMenu_excluded2); // Fallback of active check to avoid hover on menu title or disabled item
56989
+ activeProps = objectWithoutProperties_objectWithoutProperties(_useActive, SubMenu_excluded2); // Fallback of active check to avoid hover on menu title or disabled item
56646
56990
 
56647
56991
 
56648
56992
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(false),
@@ -56727,7 +57071,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
56727
57071
 
56728
57072
  var popupId = domDataId && "".concat(domDataId, "-popup"); // >>>>> Title
56729
57073
 
56730
- var titleNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
57074
+ var titleNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
56731
57075
  role: "menuitem",
56732
57076
  style: directionStyle,
56733
57077
  className: "".concat(subMenuPrefixCls, "-title"),
@@ -56743,7 +57087,7 @@ var InternalSubMenu = function InternalSubMenu(props) {
56743
57087
  onFocus: onInternalFocus
56744
57088
  }, activeProps), title, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Icon_Icon, {
56745
57089
  icon: mode !== 'horizontal' ? mergedExpandIcon : null,
56746
- props: _objectSpread2(_objectSpread2({}, props), {}, {
57090
+ props: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, props), {}, {
56747
57091
  isOpen: open,
56748
57092
  // [Legacy] Not sure why need this mark
56749
57093
  isSubMenu: true
@@ -56781,12 +57125,12 @@ var InternalSubMenu = function InternalSubMenu(props) {
56781
57125
  } // >>>>> List node
56782
57126
 
56783
57127
 
56784
- var listNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es.Item, extends_extends({
57128
+ var listNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es.Item, esm_extends_extends({
56785
57129
  role: "none"
56786
57130
  }, restProps, {
56787
57131
  component: "li",
56788
57132
  style: style,
56789
- className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {}, _defineProperty(_classNames, "".concat(subMenuPrefixCls, "-open"), open), _defineProperty(_classNames, "".concat(subMenuPrefixCls, "-active"), mergedActive), _defineProperty(_classNames, "".concat(subMenuPrefixCls, "-selected"), childrenSelected), _defineProperty(_classNames, "".concat(subMenuPrefixCls, "-disabled"), mergedDisabled), _classNames)),
57133
+ className: classnames_default()(subMenuPrefixCls, "".concat(subMenuPrefixCls, "-").concat(mode), className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(subMenuPrefixCls, "-open"), open), defineProperty_defineProperty(_classNames, "".concat(subMenuPrefixCls, "-active"), mergedActive), defineProperty_defineProperty(_classNames, "".concat(subMenuPrefixCls, "-selected"), childrenSelected), defineProperty_defineProperty(_classNames, "".concat(subMenuPrefixCls, "-disabled"), mergedDisabled), _classNames)),
56790
57134
  onMouseEnter: onInternalMouseEnter,
56791
57135
  onMouseLeave: onInternalMouseLeave
56792
57136
  }), titleNode, !overflowDisabled && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(InlineSubMenuList, {
@@ -56879,7 +57223,7 @@ function focusable(node) {
56879
57223
  function getFocusNodeList(node) {
56880
57224
  var includePositive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
56881
57225
 
56882
- var res = _toConsumableArray(node.querySelectorAll('*')).filter(function (child) {
57226
+ var res = toConsumableArray_toConsumableArray(node.querySelectorAll('*')).filter(function (child) {
56883
57227
  return focusable(child, includePositive);
56884
57228
  });
56885
57229
 
@@ -56959,9 +57303,9 @@ function useAccessibility_getOffset(mode, isRootLevel, isRtl, which) {
56959
57303
  };
56960
57304
  }
56961
57305
 
56962
- var inline = (_inline = {}, _defineProperty(_inline, UP, prev), _defineProperty(_inline, DOWN, next), _inline);
56963
- var horizontal = (_horizontal = {}, _defineProperty(_horizontal, useAccessibility_LEFT, isRtl ? next : prev), _defineProperty(_horizontal, RIGHT, isRtl ? prev : next), _defineProperty(_horizontal, DOWN, children), _defineProperty(_horizontal, ENTER, children), _horizontal);
56964
- var vertical = (_vertical = {}, _defineProperty(_vertical, UP, prev), _defineProperty(_vertical, DOWN, next), _defineProperty(_vertical, ENTER, children), _defineProperty(_vertical, ESC, parent), _defineProperty(_vertical, useAccessibility_LEFT, isRtl ? children : parent), _defineProperty(_vertical, RIGHT, isRtl ? parent : children), _vertical);
57306
+ var inline = (_inline = {}, defineProperty_defineProperty(_inline, UP, prev), defineProperty_defineProperty(_inline, DOWN, next), _inline);
57307
+ var horizontal = (_horizontal = {}, defineProperty_defineProperty(_horizontal, useAccessibility_LEFT, isRtl ? next : prev), defineProperty_defineProperty(_horizontal, RIGHT, isRtl ? prev : next), defineProperty_defineProperty(_horizontal, DOWN, children), defineProperty_defineProperty(_horizontal, ENTER, children), _horizontal);
57308
+ var vertical = (_vertical = {}, defineProperty_defineProperty(_vertical, UP, prev), defineProperty_defineProperty(_vertical, DOWN, next), defineProperty_defineProperty(_vertical, ENTER, children), defineProperty_defineProperty(_vertical, ESC, parent), defineProperty_defineProperty(_vertical, useAccessibility_LEFT, isRtl ? children : parent), defineProperty_defineProperty(_vertical, RIGHT, isRtl ? parent : children), _vertical);
56965
57309
  var offsets = {
56966
57310
  inline: inline,
56967
57311
  horizontal: horizontal,
@@ -57325,7 +57669,7 @@ function useKeyRecords() {
57325
57669
  }, [getKeyPath]);
57326
57670
 
57327
57671
  var getKeys = function getKeys() {
57328
- var keys = _toConsumableArray(key2pathRef.current.keys());
57672
+ var keys = toConsumableArray_toConsumableArray(key2pathRef.current.keys());
57329
57673
 
57330
57674
  if (overflowKeys.length) {
57331
57675
  keys.push(OVERFLOW_KEY);
@@ -57342,7 +57686,7 @@ function useKeyRecords() {
57342
57686
  var connectedPath = "".concat(key2pathRef.current.get(key)).concat(PATH_SPLIT);
57343
57687
  var pathKeys = new Set();
57344
57688
 
57345
- _toConsumableArray(path2keyRef.current.keys()).forEach(function (pathKey) {
57689
+ toConsumableArray_toConsumableArray(path2keyRef.current.keys()).forEach(function (pathKey) {
57346
57690
  if (pathKey.startsWith(connectedPath)) {
57347
57691
  pathKeys.add(path2keyRef.current.get(pathKey));
57348
57692
  }
@@ -57463,7 +57807,7 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
57463
57807
  openTransitionName = props.openTransitionName,
57464
57808
  _internalRenderMenuItem = props._internalRenderMenuItem,
57465
57809
  _internalRenderSubMenuItem = props._internalRenderSubMenuItem,
57466
- restProps = _objectWithoutProperties(props, Menu_excluded);
57810
+ restProps = objectWithoutProperties_objectWithoutProperties(props, Menu_excluded);
57467
57811
 
57468
57812
  var childList = parseChildren(children, EMPTY_LIST);
57469
57813
 
@@ -57617,7 +57961,7 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
57617
57961
  return key !== targetKey;
57618
57962
  });
57619
57963
  } else {
57620
- newSelectKeys = [].concat(_toConsumableArray(mergedSelectKeys), [targetKey]);
57964
+ newSelectKeys = [].concat(toConsumableArray_toConsumableArray(mergedSelectKeys), [targetKey]);
57621
57965
  }
57622
57966
  } else {
57623
57967
  newSelectKeys = [targetKey];
@@ -57625,7 +57969,7 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
57625
57969
 
57626
57970
  setMergedSelectKeys(newSelectKeys); // Trigger event
57627
57971
 
57628
- var selectInfo = _objectSpread2(_objectSpread2({}, info), {}, {
57972
+ var selectInfo = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
57629
57973
  selectedKeys: newSelectKeys
57630
57974
  });
57631
57975
 
@@ -57703,13 +58047,13 @@ var Menu = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_names
57703
58047
  );
57704
58048
  }); // >>>>> Container
57705
58049
 
57706
- var container = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es, extends_extends({
58050
+ var container = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_overflow_es, esm_extends_extends({
57707
58051
  id: id,
57708
58052
  ref: mergedRef,
57709
58053
  prefixCls: "".concat(prefixCls, "-overflow"),
57710
58054
  component: "ul",
57711
58055
  itemComponent: es_MenuItem,
57712
- className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-inline-collapsed"), mergedInlineCollapsed), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), isRtl), _classNames)),
58056
+ className: classnames_default()(prefixCls, "".concat(prefixCls, "-root"), "".concat(prefixCls, "-").concat(mergedMode), className, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-inline-collapsed"), mergedInlineCollapsed), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), isRtl), _classNames)),
57713
58057
  dir: direction,
57714
58058
  style: style,
57715
58059
  role: "menu",
@@ -57803,13 +58147,13 @@ var InternalMenuItemGroup = function InternalMenuItemGroup(_ref) {
57803
58147
  title = _ref.title,
57804
58148
  eventKey = _ref.eventKey,
57805
58149
  children = _ref.children,
57806
- restProps = _objectWithoutProperties(_ref, MenuItemGroup_excluded);
58150
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, MenuItemGroup_excluded);
57807
58151
 
57808
58152
  var _React$useContext = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useContext(MenuContext),
57809
58153
  prefixCls = _React$useContext.prefixCls;
57810
58154
 
57811
58155
  var groupPrefixCls = "".concat(prefixCls, "-item-group");
57812
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("li", extends_extends({}, restProps, {
58156
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("li", esm_extends_extends({}, restProps, {
57813
58157
  onClick: function onClick(e) {
57814
58158
  return e.stopPropagation();
57815
58159
  },
@@ -57824,7 +58168,7 @@ var InternalMenuItemGroup = function InternalMenuItemGroup(_ref) {
57824
58168
 
57825
58169
  function MenuItemGroup(_ref2) {
57826
58170
  var children = _ref2.children,
57827
- props = _objectWithoutProperties(_ref2, MenuItemGroup_excluded2);
58171
+ props = objectWithoutProperties_objectWithoutProperties(_ref2, MenuItemGroup_excluded2);
57828
58172
 
57829
58173
  var connectedKeyPath = useFullPath(props.eventKey);
57830
58174
  var childList = parseChildren(children, connectedKeyPath);
@@ -57952,7 +58296,7 @@ function Dropdown(props, ref) {
57952
58296
  visible = props.visible,
57953
58297
  _props$trigger = props.trigger,
57954
58298
  trigger = _props$trigger === void 0 ? ['hover'] : _props$trigger,
57955
- otherProps = _objectWithoutProperties(props, Dropdown_excluded);
58299
+ otherProps = objectWithoutProperties_objectWithoutProperties(props, Dropdown_excluded);
57956
58300
 
57957
58301
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(),
57958
58302
  _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
@@ -58063,12 +58407,12 @@ function Dropdown(props, ref) {
58063
58407
  triggerHideAction = ['click'];
58064
58408
  }
58065
58409
 
58066
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, _objectSpread2(_objectSpread2({
58410
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
58067
58411
  builtinPlacements: placements
58068
58412
  }, otherProps), {}, {
58069
58413
  prefixCls: prefixCls,
58070
58414
  ref: triggerRef,
58071
- popupClassName: classnames_default()(overlayClassName, _defineProperty({}, "".concat(prefixCls, "-show-arrow"), arrow)),
58415
+ popupClassName: classnames_default()(overlayClassName, defineProperty_defineProperty({}, "".concat(prefixCls, "-show-arrow"), arrow)),
58072
58416
  popupStyle: overlayStyle,
58073
58417
  action: trigger,
58074
58418
  showAction: showAction,
@@ -58272,14 +58616,14 @@ function OperationNode(_ref, ref) {
58272
58616
  }
58273
58617
  }, [open]); // ========================= Render =========================
58274
58618
 
58275
- var moreStyle = _defineProperty({}, rtl ? 'marginRight' : 'marginLeft', tabBarGutter);
58619
+ var moreStyle = defineProperty_defineProperty({}, rtl ? 'marginRight' : 'marginLeft', tabBarGutter);
58276
58620
 
58277
58621
  if (!tabs.length) {
58278
58622
  moreStyle.visibility = 'hidden';
58279
58623
  moreStyle.order = 1;
58280
58624
  }
58281
58625
 
58282
- var overlayClassName = classnames_default()(_defineProperty({}, "".concat(dropdownPrefix, "-rtl"), rtl));
58626
+ var overlayClassName = classnames_default()(defineProperty_defineProperty({}, "".concat(dropdownPrefix, "-rtl"), rtl));
58283
58627
  var moreNode = mobile ? null : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_dropdown_es, {
58284
58628
  prefixCls: dropdownPrefix,
58285
58629
  overlay: menu,
@@ -58558,7 +58902,7 @@ var ExtraContent = function ExtraContent(_ref) {
58558
58902
 
58559
58903
  var assertExtra = {};
58560
58904
 
58561
- if (extra && typeof_typeof(extra) === 'object' && ! /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.isValidElement(extra)) {
58905
+ if (extra && esm_typeof_typeof(extra) === 'object' && ! /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.isValidElement(extra)) {
58562
58906
  assertExtra = extra;
58563
58907
  } else {
58564
58908
  assertExtra.right = extra;
@@ -58808,7 +59152,7 @@ function TabNavList(props, ref) {
58808
59152
  }, {
58809
59153
  width: addWidth,
58810
59154
  height: addHeight
58811
- }, _objectSpread2(_objectSpread2({}, props), {}, {
59155
+ }, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, props), {}, {
58812
59156
  tabs: tabs
58813
59157
  })),
58814
59158
  _useVisibleRange2 = slicedToArray_slicedToArray(_useVisibleRange, 2),
@@ -58900,7 +59244,7 @@ function TabNavList(props, ref) {
58900
59244
 
58901
59245
  var startHiddenTabs = tabs.slice(0, visibleStart);
58902
59246
  var endHiddenTabs = tabs.slice(visibleEnd + 1);
58903
- var hiddenTabs = [].concat(_toConsumableArray(startHiddenTabs), _toConsumableArray(endHiddenTabs)); // =================== Link & Operations ===================
59247
+ var hiddenTabs = [].concat(toConsumableArray_toConsumableArray(startHiddenTabs), toConsumableArray_toConsumableArray(endHiddenTabs)); // =================== Link & Operations ===================
58904
59248
 
58905
59249
  var _useState15 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(),
58906
59250
  _useState16 = slicedToArray_slicedToArray(_useState15, 2),
@@ -58986,7 +59330,7 @@ function TabNavList(props, ref) {
58986
59330
  }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
58987
59331
  onResize: onListHolderResize
58988
59332
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
58989
- className: classnames_default()(wrapPrefix, (_classNames = {}, _defineProperty(_classNames, "".concat(wrapPrefix, "-ping-left"), pingLeft), _defineProperty(_classNames, "".concat(wrapPrefix, "-ping-right"), pingRight), _defineProperty(_classNames, "".concat(wrapPrefix, "-ping-top"), pingTop), _defineProperty(_classNames, "".concat(wrapPrefix, "-ping-bottom"), pingBottom), _classNames)),
59333
+ className: classnames_default()(wrapPrefix, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-left"), pingLeft), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-right"), pingRight), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-top"), pingTop), defineProperty_defineProperty(_classNames, "".concat(wrapPrefix, "-ping-bottom"), pingBottom), _classNames)),
58990
59334
  ref: tabsWrapperRef
58991
59335
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_resize_observer_es, {
58992
59336
  onResize: onListHolderResize
@@ -59002,13 +59346,13 @@ function TabNavList(props, ref) {
59002
59346
  prefixCls: prefixCls,
59003
59347
  locale: locale,
59004
59348
  editable: editable,
59005
- style: _objectSpread2(_objectSpread2({}, tabNodes.length === 0 ? undefined : tabNodeStyle), {}, {
59349
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, tabNodes.length === 0 ? undefined : tabNodeStyle), {}, {
59006
59350
  visibility: hasDropdown ? 'hidden' : null
59007
59351
  })
59008
59352
  }), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
59009
- className: classnames_default()("".concat(prefixCls, "-ink-bar"), _defineProperty({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
59353
+ className: classnames_default()("".concat(prefixCls, "-ink-bar"), defineProperty_defineProperty({}, "".concat(prefixCls, "-ink-bar-animated"), animated.inkBar)),
59010
59354
  style: inkStyle
59011
- }))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode, extends_extends({}, props, {
59355
+ }))))), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabNavList_OperationNode, esm_extends_extends({}, props, {
59012
59356
  removeAriaLabel: locale === null || locale === void 0 ? void 0 : locale.removeAriaLabel,
59013
59357
  ref: operationsRef,
59014
59358
  prefixCls: prefixCls,
@@ -59048,8 +59392,8 @@ function TabPanelList(_ref) {
59048
59392
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
59049
59393
  className: classnames_default()("".concat(prefixCls, "-content-holder"))
59050
59394
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
59051
- className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), _defineProperty({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated)),
59052
- style: activeIndex && tabPaneAnimated ? _defineProperty({}, rtl ? 'marginRight' : 'marginLeft', "-".concat(activeIndex, "00%")) : null
59395
+ className: classnames_default()("".concat(prefixCls, "-content"), "".concat(prefixCls, "-content-").concat(tabPosition), defineProperty_defineProperty({}, "".concat(prefixCls, "-content-animated"), tabPaneAnimated)),
59396
+ style: activeIndex && tabPaneAnimated ? defineProperty_defineProperty({}, rtl ? 'marginRight' : 'marginLeft', "-".concat(activeIndex, "00%")) : null
59053
59397
  }, tabs.map(function (tab) {
59054
59398
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(tab.node, {
59055
59399
  key: tab.key,
@@ -59109,7 +59453,7 @@ function TabPane(_ref) {
59109
59453
  tabIndex: active ? 0 : -1,
59110
59454
  "aria-labelledby": id && "".concat(id, "-tab-").concat(tabKey),
59111
59455
  "aria-hidden": !active,
59112
- style: _objectSpread2(_objectSpread2({}, mergedStyle), style),
59456
+ style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedStyle), style),
59113
59457
  className: classnames_default()("".concat(prefixCls, "-tabpane"), active && "".concat(prefixCls, "-tabpane-active"), className)
59114
59458
  }, (active || visited || forceRender) && children);
59115
59459
  }
@@ -59149,7 +59493,7 @@ function parseTabList(children) {
59149
59493
  return toArray(children).map(function (node) {
59150
59494
  if ( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.isValidElement(node)) {
59151
59495
  var key = node.key !== undefined ? String(node.key) : undefined;
59152
- return _objectSpread2(_objectSpread2({
59496
+ return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
59153
59497
  key: key
59154
59498
  }, node.props), {}, {
59155
59499
  node: node
@@ -59192,7 +59536,7 @@ function Tabs(_ref, ref) {
59192
59536
  onChange = _ref.onChange,
59193
59537
  onTabClick = _ref.onTabClick,
59194
59538
  onTabScroll = _ref.onTabScroll,
59195
- restProps = _objectWithoutProperties(_ref, Tabs_excluded);
59539
+ restProps = objectWithoutProperties_objectWithoutProperties(_ref, Tabs_excluded);
59196
59540
 
59197
59541
  var tabs = parseTabList(children);
59198
59542
  var rtl = direction === 'rtl';
@@ -59209,10 +59553,10 @@ function Tabs(_ref, ref) {
59209
59553
  tabPane: true
59210
59554
  };
59211
59555
  } else {
59212
- mergedAnimated = _objectSpread2({
59556
+ mergedAnimated = objectSpread2_objectSpread2({
59213
59557
  inkBar: true,
59214
59558
  tabPane: false
59215
- }, typeof_typeof(animated) === 'object' ? animated : {});
59559
+ }, esm_typeof_typeof(animated) === 'object' ? animated : {});
59216
59560
  } // ======================== Mobile ========================
59217
59561
 
59218
59562
 
@@ -59307,7 +59651,7 @@ function Tabs(_ref, ref) {
59307
59651
  };
59308
59652
  var tabNavBar;
59309
59653
 
59310
- var tabNavBarProps = _objectSpread2(_objectSpread2({}, sharedProps), {}, {
59654
+ var tabNavBarProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, sharedProps), {}, {
59311
59655
  editable: editable,
59312
59656
  locale: locale,
59313
59657
  moreIcon: moreIcon,
@@ -59331,11 +59675,11 @@ function Tabs(_ref, ref) {
59331
59675
  tabs: tabs,
59332
59676
  prefixCls: prefixCls
59333
59677
  }
59334
- }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
59678
+ }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
59335
59679
  ref: ref,
59336
59680
  id: id,
59337
- className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-mobile"), mobile), _defineProperty(_classNames, "".concat(prefixCls, "-editable"), editable), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), rtl), _classNames), className)
59338
- }, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList, extends_extends({
59681
+ className: classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(mergedTabPosition), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-mobile"), mobile), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-editable"), editable), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), rtl), _classNames), className)
59682
+ }, restProps), tabNavBar, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(TabPanelList, esm_extends_extends({
59339
59683
  destroyInactiveTabPane: destroyInactiveTabPane
59340
59684
  }, sharedProps, {
59341
59685
  animated: mergedAnimated
@@ -59421,11 +59765,11 @@ function tabs_Tabs(_a) {
59421
59765
  var _classNames;
59422
59766
 
59423
59767
  var size = propSize !== undefined ? propSize : contextSize;
59424
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, extends_extends({
59768
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_tabs_es, esm_extends_extends({
59425
59769
  direction: direction,
59426
59770
  moreTransitionName: "".concat(rootPrefixCls, "-slide-up")
59427
59771
  }, props, {
59428
- className: classnames_default()((_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), _defineProperty(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), _defineProperty(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), _defineProperty(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
59772
+ className: classnames_default()((_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(size), size), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-card"), ['card', 'editable-card'].includes(type)), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-editable-card"), type === 'editable-card'), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-centered"), centered), _classNames), className),
59429
59773
  editable: editable,
59430
59774
  moreIcon: moreIcon,
59431
59775
  prefixCls: prefixCls
@@ -59533,7 +59877,7 @@ var Pager = function Pager(props) {
59533
59877
  var _classNames;
59534
59878
 
59535
59879
  var prefixCls = "".concat(props.rootPrefixCls, "-item");
59536
- var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-active"), props.active), _defineProperty(_classNames, "".concat(prefixCls, "-disabled"), !props.page), _defineProperty(_classNames, props.className, !!props.className), _classNames));
59880
+ var cls = classnames_default()(prefixCls, "".concat(prefixCls, "-").concat(props.page), (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-active"), props.active), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-disabled"), !props.page), defineProperty_defineProperty(_classNames, props.className, !!props.className), _classNames));
59537
59881
 
59538
59882
  var handleClick = function handleClick() {
59539
59883
  props.onClick(props.page);
@@ -59578,14 +59922,14 @@ var Pager = function Pager(props) {
59578
59922
 
59579
59923
 
59580
59924
  var Options = /*#__PURE__*/function (_React$Component) {
59581
- _inherits(Options, _React$Component);
59925
+ inherits_inherits(Options, _React$Component);
59582
59926
 
59583
- var _super = _createSuper(Options);
59927
+ var _super = createSuper_createSuper(Options);
59584
59928
 
59585
59929
  function Options() {
59586
59930
  var _this;
59587
59931
 
59588
- _classCallCheck(this, Options);
59932
+ classCallCheck_classCallCheck(this, Options);
59589
59933
 
59590
59934
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
59591
59935
  args[_key] = arguments[_key];
@@ -59651,7 +59995,7 @@ var Options = /*#__PURE__*/function (_React$Component) {
59651
59995
  return _this;
59652
59996
  }
59653
59997
 
59654
- _createClass(Options, [{
59998
+ createClass_createClass(Options, [{
59655
59999
  key: "getValidValue",
59656
60000
  value: function getValidValue() {
59657
60001
  var goInputText = this.state.goInputText; // eslint-disable-next-line no-restricted-globals
@@ -59808,14 +60152,14 @@ function calculatePage(p, state, props) {
59808
60152
  }
59809
60153
 
59810
60154
  var Pagination = /*#__PURE__*/function (_React$Component) {
59811
- _inherits(Pagination, _React$Component);
60155
+ inherits_inherits(Pagination, _React$Component);
59812
60156
 
59813
- var _super = _createSuper(Pagination);
60157
+ var _super = createSuper_createSuper(Pagination);
59814
60158
 
59815
60159
  function Pagination(props) {
59816
60160
  var _this;
59817
60161
 
59818
- _classCallCheck(this, Pagination);
60162
+ classCallCheck_classCallCheck(this, Pagination);
59819
60163
 
59820
60164
  _this = _super.call(this, props);
59821
60165
 
@@ -59836,7 +60180,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
59836
60180
  });
59837
60181
 
59838
60182
  if (typeof icon === 'function') {
59839
- iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon, _objectSpread2({}, _this.props));
60183
+ iconNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(icon, objectSpread2_objectSpread2({}, _this.props));
59840
60184
  }
59841
60185
 
59842
60186
  return iconNode;
@@ -60058,7 +60402,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60058
60402
  return _this;
60059
60403
  }
60060
60404
 
60061
- _createClass(Pagination, [{
60405
+ createClass_createClass(Pagination, [{
60062
60406
  key: "componentDidUpdate",
60063
60407
  value: function componentDidUpdate(prevProps, prevState) {
60064
60408
  // When current page change, fix focused style of prev item
@@ -60206,8 +60550,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60206
60550
  }, gotoButton);
60207
60551
  }
60208
60552
 
60209
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", extends_extends({
60210
- className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), _defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), className),
60553
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
60554
+ className: classnames_default()(prefixCls, "".concat(prefixCls, "-simple"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled), className),
60211
60555
  style: style,
60212
60556
  ref: this.savePaginationNode
60213
60557
  }, dataOrAriaAttributeProps), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
@@ -60215,7 +60559,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60215
60559
  onClick: this.prev,
60216
60560
  tabIndex: this.hasPrev() ? 0 : null,
60217
60561
  onKeyPress: this.runIfEnterPrev,
60218
- className: classnames_default()("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
60562
+ className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasPrev())),
60219
60563
  "aria-disabled": !this.hasPrev()
60220
60564
  }, this.renderPrev(prevPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
60221
60565
  title: showTitle ? "".concat(current, "/").concat(allPages) : null,
@@ -60236,7 +60580,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60236
60580
  onClick: this.next,
60237
60581
  tabIndex: this.hasPrev() ? 0 : null,
60238
60582
  onKeyPress: this.runIfEnterNext,
60239
- className: classnames_default()("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
60583
+ className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), !this.hasNext())),
60240
60584
  "aria-disabled": !this.hasNext()
60241
60585
  }, this.renderNext(nextPage)), gotoButton);
60242
60586
  }
@@ -60252,7 +60596,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60252
60596
  };
60253
60597
 
60254
60598
  if (!allPages) {
60255
- pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, extends_extends({}, pagerProps, {
60599
+ pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
60256
60600
  key: "noPager",
60257
60601
  page: 1,
60258
60602
  className: "".concat(prefixCls, "-item-disabled")
@@ -60261,7 +60605,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60261
60605
 
60262
60606
  for (var i = 1; i <= allPages; i += 1) {
60263
60607
  var active = current === i;
60264
- pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, extends_extends({}, pagerProps, {
60608
+ pagerList.push( /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Pager, esm_extends_extends({}, pagerProps, {
60265
60609
  key: i,
60266
60610
  page: i,
60267
60611
  active: active
@@ -60278,7 +60622,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60278
60622
  onClick: this.jumpPrev,
60279
60623
  tabIndex: "0",
60280
60624
  onKeyPress: this.runIfEnterJumpPrev,
60281
- className: classnames_default()("".concat(prefixCls, "-jump-prev"), _defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
60625
+ className: classnames_default()("".concat(prefixCls, "-jump-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-prev-custom-icon"), !!jumpPrevIcon))
60282
60626
  }, itemRender(this.getJumpPrevPage(), 'jump-prev', this.getItemIcon(jumpPrevIcon, 'prev page')));
60283
60627
  jumpNext = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
60284
60628
  title: showTitle ? nextItemTitle : null,
@@ -60286,7 +60630,7 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60286
60630
  tabIndex: "0",
60287
60631
  onClick: this.jumpNext,
60288
60632
  onKeyPress: this.runIfEnterJumpNext,
60289
- className: classnames_default()("".concat(prefixCls, "-jump-next"), _defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
60633
+ className: classnames_default()("".concat(prefixCls, "-jump-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-jump-next-custom-icon"), !!jumpNextIcon))
60290
60634
  }, itemRender(this.getJumpNextPage(), 'jump-next', this.getItemIcon(jumpNextIcon, 'next page')));
60291
60635
  }
60292
60636
 
@@ -60373,8 +60717,8 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60373
60717
 
60374
60718
  var prevDisabled = !this.hasPrev() || !allPages;
60375
60719
  var nextDisabled = !this.hasNext() || !allPages;
60376
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", extends_extends({
60377
- className: classnames_default()(prefixCls, className, _defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
60720
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("ul", esm_extends_extends({
60721
+ className: classnames_default()(prefixCls, className, defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), disabled)),
60378
60722
  style: style,
60379
60723
  unselectable: "unselectable",
60380
60724
  ref: this.savePaginationNode
@@ -60383,14 +60727,14 @@ var Pagination = /*#__PURE__*/function (_React$Component) {
60383
60727
  onClick: this.prev,
60384
60728
  tabIndex: prevDisabled ? null : 0,
60385
60729
  onKeyPress: this.runIfEnterPrev,
60386
- className: classnames_default()("".concat(prefixCls, "-prev"), _defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
60730
+ className: classnames_default()("".concat(prefixCls, "-prev"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), prevDisabled)),
60387
60731
  "aria-disabled": prevDisabled
60388
60732
  }, this.renderPrev(prevPage)), pagerList, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement("li", {
60389
60733
  title: showTitle ? locale.next_page : null,
60390
60734
  onClick: this.next,
60391
60735
  tabIndex: nextDisabled ? null : 0,
60392
60736
  onKeyPress: this.runIfEnterNext,
60393
- className: classnames_default()("".concat(prefixCls, "-next"), _defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
60737
+ className: classnames_default()("".concat(prefixCls, "-next"), defineProperty_defineProperty({}, "".concat(prefixCls, "-disabled"), nextDisabled)),
60394
60738
  "aria-disabled": nextDisabled
60395
60739
  }, this.renderNext(nextPage)), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_Options, {
60396
60740
  disabled: disabled,
@@ -60468,7 +60812,7 @@ Pagination.defaultProps = {
60468
60812
 
60469
60813
 
60470
60814
  var MiniSelect = function MiniSelect(props) {
60471
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, extends_extends({
60815
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_select, esm_extends_extends({
60472
60816
  size: "small"
60473
60817
  }, props));
60474
60818
  };
@@ -60529,7 +60873,7 @@ var responsiveObserve = {
60529
60873
  var listener = function listener(_ref) {
60530
60874
  var matches = _ref.matches;
60531
60875
 
60532
- _this2.dispatch(extends_extends(extends_extends({}, screens), _defineProperty({}, screen, matches)));
60876
+ _this2.dispatch(esm_extends_extends(esm_extends_extends({}, screens), defineProperty_defineProperty({}, screen, matches)));
60533
60877
  };
60534
60878
 
60535
60879
  var mql = window.matchMedia(matchMediaQuery);
@@ -60670,13 +61014,13 @@ var Pagination_Pagination = function Pagination(_a) {
60670
61014
  var renderPagination = function renderPagination(contextLocale) {
60671
61015
  var _classNames;
60672
61016
 
60673
- var locale = extends_extends(extends_extends({}, contextLocale), customLocale);
61017
+ var locale = esm_extends_extends(esm_extends_extends({}, contextLocale), customLocale);
60674
61018
 
60675
61019
  var isSmall = size === 'small' || !!(xs && !size && restProps.responsive);
60676
61020
  var selectPrefixCls = getPrefixCls('select', customizeSelectPrefixCls);
60677
61021
  var extendedClassName = classnames_default()((_classNames = {
60678
61022
  mini: isSmall
60679
- }, _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
61023
+ }, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), defineProperty_defineProperty(_classNames, "minimalistic", minimalistic), _classNames), className); // 文本式分页
60680
61024
 
60681
61025
  if (minimalistic) {
60682
61026
  paginationProps.itemRender = function (_current, type, originalElement) {
@@ -60713,7 +61057,7 @@ var Pagination_Pagination = function Pagination(_a) {
60713
61057
  paginationProps.showQuickJumper = showQuickJumper;
60714
61058
  }
60715
61059
 
60716
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, extends_extends({}, paginationProps, getIconsProps(), restProps, {
61060
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Pagination, esm_extends_extends({}, paginationProps, getIconsProps(), restProps, {
60717
61061
  prefixCls: prefixCls,
60718
61062
  selectPrefixCls: selectPrefixCls,
60719
61063
  className: extendedClassName,
@@ -61085,10 +61429,10 @@ function Action(_ref) {
61085
61429
  setCurAction = _useState2[1];
61086
61430
 
61087
61431
  var handleBtnClick = /*#__PURE__*/function () {
61088
- var _ref2 = Action_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(e) {
61432
+ var _ref2 = Action_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(e) {
61089
61433
  var now, begin, _error$response, _error$response$data, _error$response2, _error$response2$data;
61090
61434
 
61091
- return regenerator_default().wrap(function _callee$(_context) {
61435
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
61092
61436
  while (1) {
61093
61437
  switch (_context.prev = _context.next) {
61094
61438
  case 0:
@@ -61287,8 +61631,8 @@ function ListItem(_ref) {
61287
61631
  status = data.status;
61288
61632
 
61289
61633
  var handleDetailClick = /*#__PURE__*/function () {
61290
- var _ref2 = ListItem_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
61291
- return regenerator_default().wrap(function _callee$(_context) {
61634
+ var _ref2 = ListItem_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
61635
+ return runtime_regenerator_default().wrap(function _callee$(_context) {
61292
61636
  while (1) {
61293
61637
  switch (_context.prev = _context.next) {
61294
61638
  case 0: