@x-edu/live-player 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8384,7 +8384,7 @@ module.exports = __webpack_require__(5666);
8384
8384
  /***/ 3006:
8385
8385
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
8386
8386
 
8387
- var _regeneratorRuntime = __webpack_require__(5273);
8387
+ var _regeneratorRuntime = __webpack_require__(7757);
8388
8388
 
8389
8389
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
8390
8390
 
@@ -14692,162 +14692,6 @@ var spin_style_update = injectStylesIntoStyleTag_default()(spin_style/* default
14692
14692
  ;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/spin/style/index.js
14693
14693
 
14694
14694
 
14695
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
14696
- function esm_extends_extends() {
14697
- esm_extends_extends = Object.assign || function (target) {
14698
- for (var i = 1; i < arguments.length; i++) {
14699
- var source = arguments[i];
14700
-
14701
- for (var key in source) {
14702
- if (Object.prototype.hasOwnProperty.call(source, key)) {
14703
- target[key] = source[key];
14704
- }
14705
- }
14706
- }
14707
-
14708
- return target;
14709
- };
14710
-
14711
- return esm_extends_extends.apply(this, arguments);
14712
- }
14713
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
14714
- function defineProperty_defineProperty(obj, key, value) {
14715
- if (key in obj) {
14716
- Object.defineProperty(obj, key, {
14717
- value: value,
14718
- enumerable: true,
14719
- configurable: true,
14720
- writable: true
14721
- });
14722
- } else {
14723
- obj[key] = value;
14724
- }
14725
-
14726
- return obj;
14727
- }
14728
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
14729
- function classCallCheck_classCallCheck(instance, Constructor) {
14730
- if (!(instance instanceof Constructor)) {
14731
- throw new TypeError("Cannot call a class as a function");
14732
- }
14733
- }
14734
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
14735
- function createClass_defineProperties(target, props) {
14736
- for (var i = 0; i < props.length; i++) {
14737
- var descriptor = props[i];
14738
- descriptor.enumerable = descriptor.enumerable || false;
14739
- descriptor.configurable = true;
14740
- if ("value" in descriptor) descriptor.writable = true;
14741
- Object.defineProperty(target, descriptor.key, descriptor);
14742
- }
14743
- }
14744
-
14745
- function createClass_createClass(Constructor, protoProps, staticProps) {
14746
- if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
14747
- if (staticProps) createClass_defineProperties(Constructor, staticProps);
14748
- return Constructor;
14749
- }
14750
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
14751
- function setPrototypeOf_setPrototypeOf(o, p) {
14752
- setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
14753
- o.__proto__ = p;
14754
- return o;
14755
- };
14756
-
14757
- return setPrototypeOf_setPrototypeOf(o, p);
14758
- }
14759
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
14760
-
14761
- function inherits_inherits(subClass, superClass) {
14762
- if (typeof superClass !== "function" && superClass !== null) {
14763
- throw new TypeError("Super expression must either be null or a function");
14764
- }
14765
-
14766
- subClass.prototype = Object.create(superClass && superClass.prototype, {
14767
- constructor: {
14768
- value: subClass,
14769
- writable: true,
14770
- configurable: true
14771
- }
14772
- });
14773
- if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
14774
- }
14775
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
14776
- function getPrototypeOf_getPrototypeOf(o) {
14777
- getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14778
- return o.__proto__ || Object.getPrototypeOf(o);
14779
- };
14780
- return getPrototypeOf_getPrototypeOf(o);
14781
- }
14782
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
14783
- function isNativeReflectConstruct_isNativeReflectConstruct() {
14784
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
14785
- if (Reflect.construct.sham) return false;
14786
- if (typeof Proxy === "function") return true;
14787
-
14788
- try {
14789
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
14790
- return true;
14791
- } catch (e) {
14792
- return false;
14793
- }
14794
- }
14795
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
14796
- function esm_typeof_typeof(obj) {
14797
- "@babel/helpers - typeof";
14798
-
14799
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14800
- esm_typeof_typeof = function _typeof(obj) {
14801
- return typeof obj;
14802
- };
14803
- } else {
14804
- esm_typeof_typeof = function _typeof(obj) {
14805
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
14806
- };
14807
- }
14808
-
14809
- return esm_typeof_typeof(obj);
14810
- }
14811
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
14812
- function assertThisInitialized_assertThisInitialized(self) {
14813
- if (self === void 0) {
14814
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
14815
- }
14816
-
14817
- return self;
14818
- }
14819
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
14820
-
14821
-
14822
- function possibleConstructorReturn_possibleConstructorReturn(self, call) {
14823
- if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
14824
- return call;
14825
- } else if (call !== void 0) {
14826
- throw new TypeError("Derived constructors may only return object or undefined");
14827
- }
14828
-
14829
- return assertThisInitialized_assertThisInitialized(self);
14830
- }
14831
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
14832
-
14833
-
14834
-
14835
- function createSuper_createSuper(Derived) {
14836
- var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
14837
- return function _createSuperInternal() {
14838
- var Super = getPrototypeOf_getPrototypeOf(Derived),
14839
- result;
14840
-
14841
- if (hasNativeReflectConstruct) {
14842
- var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
14843
- result = Reflect.construct(Super, arguments, NewTarget);
14844
- } else {
14845
- result = Super.apply(this, arguments);
14846
- }
14847
-
14848
- return possibleConstructorReturn_possibleConstructorReturn(this, result);
14849
- };
14850
- }
14851
14695
  // EXTERNAL MODULE: ./node_modules/lodash/debounce.js
14852
14696
  var debounce = __webpack_require__(3279);
14853
14697
  var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce);
@@ -14956,14 +14800,14 @@ function shouldDelay(spinning, delay) {
14956
14800
  }
14957
14801
 
14958
14802
  var Spin = /*#__PURE__*/function (_React$Component) {
14959
- inherits_inherits(Spin, _React$Component);
14803
+ _inherits(Spin, _React$Component);
14960
14804
 
14961
- var _super = createSuper_createSuper(Spin);
14805
+ var _super = _createSuper(Spin);
14962
14806
 
14963
14807
  function Spin(props) {
14964
14808
  var _this;
14965
14809
 
14966
- classCallCheck_classCallCheck(this, Spin);
14810
+ _classCallCheck(this, Spin);
14967
14811
 
14968
14812
  _this = _super.call(this, props);
14969
14813
 
@@ -15006,10 +14850,10 @@ var Spin = /*#__PURE__*/function (_React$Component) {
15006
14850
 
15007
14851
  var spinning = _this.state.spinning;
15008
14852
  var prefixCls = getPrefixCls('spin', customizePrefixCls);
15009
- 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
14853
+ 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
15010
14854
 
15011
14855
  var divProps = omit(restProps, ['spinning', 'delay', 'indicator']);
15012
- var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
14856
+ var spinElement = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
15013
14857
  style: style,
15014
14858
  className: spinClassName
15015
14859
  }), renderIndicator(prefixCls, _this.props), tip ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
@@ -15017,8 +14861,8 @@ var Spin = /*#__PURE__*/function (_React$Component) {
15017
14861
  }, tip) : null);
15018
14862
 
15019
14863
  if (_this.isNestedPattern()) {
15020
- var containerClassName = classnames_default()("".concat(prefixCls, "-container"), defineProperty_defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
15021
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, divProps, {
14864
+ var containerClassName = classnames_default()("".concat(prefixCls, "-container"), _defineProperty({}, "".concat(prefixCls, "-blur"), spinning));
14865
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, divProps, {
15022
14866
  className: classnames_default()("".concat(prefixCls, "-nested-loading"), wrapperClassName)
15023
14867
  }), spinning && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
15024
14868
  key: "loading"
@@ -15044,7 +14888,7 @@ var Spin = /*#__PURE__*/function (_React$Component) {
15044
14888
  return _this;
15045
14889
  }
15046
14890
 
15047
- createClass_createClass(Spin, [{
14891
+ _createClass(Spin, [{
15048
14892
  key: "componentDidMount",
15049
14893
  value: function componentDidMount() {
15050
14894
  this.updateSpinning();
@@ -15322,9 +15166,6 @@ var video_style_update = injectStylesIntoStyleTag_default()(video_style/* defaul
15322
15166
  ;// CONCATENATED MODULE: ./node_modules/@sdp.nd/fish/es/video/style/index.js
15323
15167
 
15324
15168
 
15325
- // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
15326
- var runtime_regenerator = __webpack_require__(5273);
15327
- var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
15328
15169
  ;// CONCATENATED MODULE: external {"commonjs":"react-dom","commonjs2":"react-dom","root":"ReactDOM"}
15329
15170
  var external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject = require("react-dom");
15330
15171
  var external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_react_dom_commonjs2_react_dom_root_ReactDOM_namespaceObject);
@@ -15400,14 +15241,14 @@ var videoCdnPrefix = '//gcdncs.101.com/v0.1/static/share/fish/videoplayer';
15400
15241
  var defaultVideoUrl = getVideoUrl(videoCdnPrefix, video_version);
15401
15242
 
15402
15243
  var Video = /*#__PURE__*/function (_React$Component) {
15403
- inherits_inherits(Video, _React$Component);
15244
+ _inherits(Video, _React$Component);
15404
15245
 
15405
- var _super = createSuper_createSuper(Video);
15246
+ var _super = _createSuper(Video);
15406
15247
 
15407
15248
  function Video() {
15408
15249
  var _this;
15409
15250
 
15410
- classCallCheck_classCallCheck(this, Video);
15251
+ _classCallCheck(this, Video);
15411
15252
 
15412
15253
  _this = _super.apply(this, arguments);
15413
15254
  _this.videoUrl = {}; // eslint-disable-next-line class-methods-use-this
@@ -15420,12 +15261,12 @@ var Video = /*#__PURE__*/function (_React$Component) {
15420
15261
  csOriginUrl = getVideoUrl(cdnPrefix, video_version);
15421
15262
  }
15422
15263
 
15423
- return esm_extends_extends(esm_extends_extends({}, csOriginUrl), Video.url);
15264
+ return extends_extends(extends_extends({}, csOriginUrl), Video.url);
15424
15265
  };
15425
15266
 
15426
15267
  _this.loadVideoPlayer = function () {
15427
- return __awaiter(assertThisInitialized_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
15428
- return runtime_regenerator_default().wrap(function _callee$(_context) {
15268
+ return __awaiter(_assertThisInitialized(_this), void 0, void 0, /*#__PURE__*/regenerator_default().mark(function _callee() {
15269
+ return regenerator_default().wrap(function _callee$(_context) {
15429
15270
  while (1) {
15430
15271
  switch (_context.prev = _context.next) {
15431
15272
  case 0:
@@ -15475,7 +15316,7 @@ var Video = /*#__PURE__*/function (_React$Component) {
15475
15316
  return _this;
15476
15317
  }
15477
15318
 
15478
- createClass_createClass(Video, [{
15319
+ _createClass(Video, [{
15479
15320
  key: "componentDidMount",
15480
15321
  value: function componentDidMount() {
15481
15322
  var _this2 = this;
@@ -15819,9 +15660,9 @@ function isSourceReady(_x) {
15819
15660
  }
15820
15661
 
15821
15662
  function _isSourceReady() {
15822
- _isSourceReady = usePullState_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(liveInfo) {
15663
+ _isSourceReady = usePullState_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(liveInfo) {
15823
15664
  var newLiveInfo;
15824
- return runtime_regenerator_default().wrap(function _callee$(_context) {
15665
+ return regenerator_default().wrap(function _callee$(_context) {
15825
15666
  while (1) {
15826
15667
  switch (_context.prev = _context.next) {
15827
15668
  case 0:
@@ -16012,8 +15853,8 @@ function usePullSource_isSourceReady(_x) {
16012
15853
  }
16013
15854
 
16014
15855
  function hook_usePullSource_isSourceReady() {
16015
- hook_usePullSource_isSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(url) {
16016
- return runtime_regenerator_default().wrap(function _callee$(_context) {
15856
+ hook_usePullSource_isSourceReady = usePullSource_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(url) {
15857
+ return regenerator_default().wrap(function _callee$(_context) {
16017
15858
  while (1) {
16018
15859
  switch (_context.prev = _context.next) {
16019
15860
  case 0:
@@ -16518,8 +16359,8 @@ function AliPlayer(_ref) {
16518
16359
  var aliPlayer;
16519
16360
 
16520
16361
  var init = /*#__PURE__*/function () {
16521
- var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
16522
- return runtime_regenerator_default().wrap(function _callee$(_context) {
16362
+ var _ref2 = AliPlayer_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
16363
+ return regenerator_default().wrap(function _callee$(_context) {
16523
16364
  while (1) {
16524
16365
  switch (_context.prev = _context.next) {
16525
16366
  case 0:
@@ -16678,37 +16519,140 @@ function iterableToArrayLimit_iterableToArrayLimit(arr, i) {
16678
16519
 
16679
16520
  return _arr;
16680
16521
  }
16681
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
16682
- function arrayLikeToArray_arrayLikeToArray(arr, len) {
16683
- if (len == null || len > arr.length) len = arr.length;
16522
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
16523
+ function nonIterableRest_nonIterableRest() {
16524
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16525
+ }
16526
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
16684
16527
 
16685
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
16686
- arr2[i] = arr[i];
16528
+
16529
+
16530
+
16531
+ function slicedToArray_slicedToArray(arr, i) {
16532
+ return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
16533
+ }
16534
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
16535
+ function classCallCheck_classCallCheck(instance, Constructor) {
16536
+ if (!(instance instanceof Constructor)) {
16537
+ throw new TypeError("Cannot call a class as a function");
16687
16538
  }
16539
+ }
16540
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
16541
+ function createClass_defineProperties(target, props) {
16542
+ for (var i = 0; i < props.length; i++) {
16543
+ var descriptor = props[i];
16544
+ descriptor.enumerable = descriptor.enumerable || false;
16545
+ descriptor.configurable = true;
16546
+ if ("value" in descriptor) descriptor.writable = true;
16547
+ Object.defineProperty(target, descriptor.key, descriptor);
16548
+ }
16549
+ }
16688
16550
 
16689
- return arr2;
16551
+ function createClass_createClass(Constructor, protoProps, staticProps) {
16552
+ if (protoProps) createClass_defineProperties(Constructor.prototype, protoProps);
16553
+ if (staticProps) createClass_defineProperties(Constructor, staticProps);
16554
+ return Constructor;
16690
16555
  }
16691
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
16556
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
16557
+ function setPrototypeOf_setPrototypeOf(o, p) {
16558
+ setPrototypeOf_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
16559
+ o.__proto__ = p;
16560
+ return o;
16561
+ };
16692
16562
 
16693
- function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
16694
- if (!o) return;
16695
- if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
16696
- var n = Object.prototype.toString.call(o).slice(8, -1);
16697
- if (n === "Object" && o.constructor) n = o.constructor.name;
16698
- if (n === "Map" || n === "Set") return Array.from(o);
16699
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
16563
+ return setPrototypeOf_setPrototypeOf(o, p);
16700
16564
  }
16701
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
16702
- function nonIterableRest_nonIterableRest() {
16703
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16565
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
16566
+
16567
+ function inherits_inherits(subClass, superClass) {
16568
+ if (typeof superClass !== "function" && superClass !== null) {
16569
+ throw new TypeError("Super expression must either be null or a function");
16570
+ }
16571
+
16572
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
16573
+ constructor: {
16574
+ value: subClass,
16575
+ writable: true,
16576
+ configurable: true
16577
+ }
16578
+ });
16579
+ if (superClass) setPrototypeOf_setPrototypeOf(subClass, superClass);
16704
16580
  }
16705
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
16581
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
16582
+ function getPrototypeOf_getPrototypeOf(o) {
16583
+ getPrototypeOf_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
16584
+ return o.__proto__ || Object.getPrototypeOf(o);
16585
+ };
16586
+ return getPrototypeOf_getPrototypeOf(o);
16587
+ }
16588
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
16589
+ function isNativeReflectConstruct_isNativeReflectConstruct() {
16590
+ if (typeof Reflect === "undefined" || !Reflect.construct) return false;
16591
+ if (Reflect.construct.sham) return false;
16592
+ if (typeof Proxy === "function") return true;
16593
+
16594
+ try {
16595
+ Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
16596
+ return true;
16597
+ } catch (e) {
16598
+ return false;
16599
+ }
16600
+ }
16601
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
16602
+ function esm_typeof_typeof(obj) {
16603
+ "@babel/helpers - typeof";
16604
+
16605
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
16606
+ esm_typeof_typeof = function _typeof(obj) {
16607
+ return typeof obj;
16608
+ };
16609
+ } else {
16610
+ esm_typeof_typeof = function _typeof(obj) {
16611
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16612
+ };
16613
+ }
16614
+
16615
+ return esm_typeof_typeof(obj);
16616
+ }
16617
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
16618
+ function assertThisInitialized_assertThisInitialized(self) {
16619
+ if (self === void 0) {
16620
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
16621
+ }
16706
16622
 
16623
+ return self;
16624
+ }
16625
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
16707
16626
 
16708
16627
 
16628
+ function possibleConstructorReturn_possibleConstructorReturn(self, call) {
16629
+ if (call && (esm_typeof_typeof(call) === "object" || typeof call === "function")) {
16630
+ return call;
16631
+ } else if (call !== void 0) {
16632
+ throw new TypeError("Derived constructors may only return object or undefined");
16633
+ }
16709
16634
 
16710
- function slicedToArray_slicedToArray(arr, i) {
16711
- return arrayWithHoles_arrayWithHoles(arr) || iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || nonIterableRest_nonIterableRest();
16635
+ return assertThisInitialized_assertThisInitialized(self);
16636
+ }
16637
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
16638
+
16639
+
16640
+
16641
+ function createSuper_createSuper(Derived) {
16642
+ var hasNativeReflectConstruct = isNativeReflectConstruct_isNativeReflectConstruct();
16643
+ return function _createSuperInternal() {
16644
+ var Super = getPrototypeOf_getPrototypeOf(Derived),
16645
+ result;
16646
+
16647
+ if (hasNativeReflectConstruct) {
16648
+ var NewTarget = getPrototypeOf_getPrototypeOf(this).constructor;
16649
+ result = Reflect.construct(Super, arguments, NewTarget);
16650
+ } else {
16651
+ result = Super.apply(this, arguments);
16652
+ }
16653
+
16654
+ return possibleConstructorReturn_possibleConstructorReturn(this, result);
16655
+ };
16712
16656
  }
16713
16657
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/raf.js
16714
16658
  var raf = function raf(callback) {
@@ -16935,6 +16879,16 @@ var cacheStyle = {};
16935
16879
  }
16936
16880
  }
16937
16881
  });
16882
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
16883
+ function arrayLikeToArray_arrayLikeToArray(arr, len) {
16884
+ if (len == null || len > arr.length) len = arr.length;
16885
+
16886
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
16887
+ arr2[i] = arr[i];
16888
+ }
16889
+
16890
+ return arr2;
16891
+ }
16938
16892
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
16939
16893
 
16940
16894
  function arrayWithoutHoles_arrayWithoutHoles(arr) {
@@ -16944,6 +16898,16 @@ function arrayWithoutHoles_arrayWithoutHoles(arr) {
16944
16898
  function iterableToArray_iterableToArray(iter) {
16945
16899
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
16946
16900
  }
16901
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
16902
+
16903
+ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
16904
+ if (!o) return;
16905
+ if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
16906
+ var n = Object.prototype.toString.call(o).slice(8, -1);
16907
+ if (n === "Object" && o.constructor) n = o.constructor.name;
16908
+ if (n === "Map" || n === "Set") return Array.from(o);
16909
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
16910
+ }
16947
16911
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
16948
16912
  function nonIterableSpread_nonIterableSpread() {
16949
16913
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
@@ -17345,7 +17309,40 @@ var PortalWrapper = /*#__PURE__*/function (_React$Component) {
17345
17309
  return PortalWrapper;
17346
17310
  }(external_commonjs_react_commonjs2_react_root_React_namespaceObject.Component);
17347
17311
 
17348
- /* harmony default export */ var es_PortalWrapper = (PortalWrapper);
17312
+ /* harmony default export */ var es_PortalWrapper = (PortalWrapper);
17313
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/extends.js
17314
+ function esm_extends_extends() {
17315
+ esm_extends_extends = Object.assign || function (target) {
17316
+ for (var i = 1; i < arguments.length; i++) {
17317
+ var source = arguments[i];
17318
+
17319
+ for (var key in source) {
17320
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17321
+ target[key] = source[key];
17322
+ }
17323
+ }
17324
+ }
17325
+
17326
+ return target;
17327
+ };
17328
+
17329
+ return esm_extends_extends.apply(this, arguments);
17330
+ }
17331
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
17332
+ function defineProperty_defineProperty(obj, key, value) {
17333
+ if (key in obj) {
17334
+ Object.defineProperty(obj, key, {
17335
+ value: value,
17336
+ enumerable: true,
17337
+ configurable: true,
17338
+ writable: true
17339
+ });
17340
+ } else {
17341
+ obj[key] = value;
17342
+ }
17343
+
17344
+ return obj;
17345
+ }
17349
17346
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
17350
17347
 
17351
17348
 
@@ -17386,6 +17383,52 @@ function objectSpread2_objectSpread2(target) {
17386
17383
 
17387
17384
  return target;
17388
17385
  }
17386
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
17387
+ function esm_arrayWithHoles_arrayWithHoles(arr) {
17388
+ if (Array.isArray(arr)) return arr;
17389
+ }
17390
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
17391
+ function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
17392
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
17393
+
17394
+ if (_i == null) return;
17395
+ var _arr = [];
17396
+ var _n = true;
17397
+ var _d = false;
17398
+
17399
+ var _s, _e;
17400
+
17401
+ try {
17402
+ for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
17403
+ _arr.push(_s.value);
17404
+
17405
+ if (i && _arr.length === i) break;
17406
+ }
17407
+ } catch (err) {
17408
+ _d = true;
17409
+ _e = err;
17410
+ } finally {
17411
+ try {
17412
+ if (!_n && _i["return"] != null) _i["return"]();
17413
+ } finally {
17414
+ if (_d) throw _e;
17415
+ }
17416
+ }
17417
+
17418
+ return _arr;
17419
+ }
17420
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
17421
+ function esm_nonIterableRest_nonIterableRest() {
17422
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
17423
+ }
17424
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
17425
+
17426
+
17427
+
17428
+
17429
+ function esm_slicedToArray_slicedToArray(arr, i) {
17430
+ return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
17431
+ }
17389
17432
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/KeyCode.js
17390
17433
  /**
17391
17434
  * @ignore
@@ -18052,7 +18095,7 @@ function pickAttrs(props) {
18052
18095
  aria: true
18053
18096
  };
18054
18097
  } else {
18055
- mergedConfig = objectSpread2_objectSpread2({}, ariaOnly);
18098
+ mergedConfig = _objectSpread2({}, ariaOnly);
18056
18099
  }
18057
18100
 
18058
18101
  var attrs = {};
@@ -18085,7 +18128,7 @@ var react_is = __webpack_require__(9864);
18085
18128
  function fillRef(ref, node) {
18086
18129
  if (typeof ref === 'function') {
18087
18130
  ref(node);
18088
- } else if (esm_typeof_typeof(ref) === 'object' && ref && 'current' in ref) {
18131
+ } else if (typeof_typeof(ref) === 'object' && ref && 'current' in ref) {
18089
18132
  ref.current = node;
18090
18133
  }
18091
18134
  }
@@ -18195,7 +18238,7 @@ var transitionEndName = internalTransitionEndName || 'transitionend';
18195
18238
  function getTransitionName(transitionName, transitionType) {
18196
18239
  if (!transitionName) return null;
18197
18240
 
18198
- if (esm_typeof_typeof(transitionName) === 'object') {
18241
+ if (typeof_typeof(transitionName) === 'object') {
18199
18242
  var type = transitionType.replace(/-\w/g, function (match) {
18200
18243
  return match[1].toUpperCase();
18201
18244
  });
@@ -18488,13 +18531,13 @@ function useStatus(supportMotion, visible, getElement, _ref) {
18488
18531
 
18489
18532
  switch (status) {
18490
18533
  case 'appear':
18491
- return _ref2 = {}, defineProperty_defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), defineProperty_defineProperty(_ref2, STEP_START, onAppearStart), defineProperty_defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
18534
+ return _ref2 = {}, _defineProperty(_ref2, STEP_PREPARE, onAppearPrepare), _defineProperty(_ref2, STEP_START, onAppearStart), _defineProperty(_ref2, STEP_ACTIVE, onAppearActive), _ref2;
18492
18535
 
18493
18536
  case 'enter':
18494
- return _ref3 = {}, defineProperty_defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), defineProperty_defineProperty(_ref3, STEP_START, onEnterStart), defineProperty_defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
18537
+ return _ref3 = {}, _defineProperty(_ref3, STEP_PREPARE, onEnterPrepare), _defineProperty(_ref3, STEP_START, onEnterStart), _defineProperty(_ref3, STEP_ACTIVE, onEnterActive), _ref3;
18495
18538
 
18496
18539
  case 'leave':
18497
- return _ref4 = {}, defineProperty_defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), defineProperty_defineProperty(_ref4, STEP_START, onLeaveStart), defineProperty_defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
18540
+ return _ref4 = {}, _defineProperty(_ref4, STEP_PREPARE, onLeavePrepare), _defineProperty(_ref4, STEP_START, onLeaveStart), _defineProperty(_ref4, STEP_ACTIVE, onLeaveActive), _ref4;
18498
18541
 
18499
18542
  default:
18500
18543
  return {};
@@ -18602,7 +18645,7 @@ function useStatus(supportMotion, visible, getElement, _ref) {
18602
18645
  var mergedStyle = style;
18603
18646
 
18604
18647
  if (eventHandlers[STEP_PREPARE] && step === STEP_START) {
18605
- mergedStyle = objectSpread2_objectSpread2({
18648
+ mergedStyle = _objectSpread2({
18606
18649
  transition: 'none'
18607
18650
  }, mergedStyle);
18608
18651
  }
@@ -18617,17 +18660,17 @@ function useStatus(supportMotion, visible, getElement, _ref) {
18617
18660
 
18618
18661
 
18619
18662
  var DomWrapper = /*#__PURE__*/function (_React$Component) {
18620
- inherits_inherits(DomWrapper, _React$Component);
18663
+ _inherits(DomWrapper, _React$Component);
18621
18664
 
18622
- var _super = createSuper_createSuper(DomWrapper);
18665
+ var _super = _createSuper(DomWrapper);
18623
18666
 
18624
18667
  function DomWrapper() {
18625
- classCallCheck_classCallCheck(this, DomWrapper);
18668
+ _classCallCheck(this, DomWrapper);
18626
18669
 
18627
18670
  return _super.apply(this, arguments);
18628
18671
  }
18629
18672
 
18630
- createClass_createClass(DomWrapper, [{
18673
+ _createClass(DomWrapper, [{
18631
18674
  key: "render",
18632
18675
  value: function render() {
18633
18676
  return this.props.children;
@@ -18663,7 +18706,7 @@ var DomWrapper = /*#__PURE__*/function (_React$Component) {
18663
18706
  function genCSSMotion(config) {
18664
18707
  var transitionSupport = config;
18665
18708
 
18666
- if (esm_typeof_typeof(config) === 'object') {
18709
+ if (typeof_typeof(config) === 'object') {
18667
18710
  transitionSupport = config.transitionSupport;
18668
18711
  }
18669
18712
 
@@ -18721,7 +18764,7 @@ function genCSSMotion(config) {
18721
18764
 
18722
18765
  var motionChildren;
18723
18766
 
18724
- var mergedProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, eventProps), {}, {
18767
+ var mergedProps = _objectSpread2(_objectSpread2({}, eventProps), {}, {
18725
18768
  visible: visible
18726
18769
  });
18727
18770
 
@@ -18731,13 +18774,13 @@ function genCSSMotion(config) {
18731
18774
  } else if (status === STATUS_NONE || !isSupportTransition(props)) {
18732
18775
  // Stable children
18733
18776
  if (mergedVisible) {
18734
- motionChildren = children(objectSpread2_objectSpread2({}, mergedProps), setNodeRef);
18777
+ motionChildren = children(_objectSpread2({}, mergedProps), setNodeRef);
18735
18778
  } else if (!removeOnLeave && renderedRef.current) {
18736
- motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
18779
+ motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
18737
18780
  className: leavedClassName
18738
18781
  }), setNodeRef);
18739
18782
  } else if (forceRender) {
18740
- motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
18783
+ motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
18741
18784
  style: {
18742
18785
  display: 'none'
18743
18786
  }
@@ -18759,8 +18802,8 @@ function genCSSMotion(config) {
18759
18802
  statusSuffix = 'start';
18760
18803
  }
18761
18804
 
18762
- motionChildren = children(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, mergedProps), {}, {
18763
- 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)),
18805
+ motionChildren = children(_objectSpread2(_objectSpread2({}, mergedProps), {}, {
18806
+ className: classnames_default()(getTransitionName(motionName, status), (_classNames = {}, _defineProperty(_classNames, getTransitionName(motionName, "".concat(status, "-").concat(statusSuffix)), statusSuffix), _defineProperty(_classNames, motionName, typeof motionName === 'string'), _classNames)),
18764
18807
  style: statusStyle
18765
18808
  }), setNodeRef);
18766
18809
  }
@@ -18773,41 +18816,6 @@ function genCSSMotion(config) {
18773
18816
  return CSSMotion;
18774
18817
  }
18775
18818
  /* harmony default export */ var es_CSSMotion = (genCSSMotion(supportTransition));
18776
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
18777
- function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
18778
- if (source == null) return {};
18779
- var target = {};
18780
- var sourceKeys = Object.keys(source);
18781
- var key, i;
18782
-
18783
- for (i = 0; i < sourceKeys.length; i++) {
18784
- key = sourceKeys[i];
18785
- if (excluded.indexOf(key) >= 0) continue;
18786
- target[key] = source[key];
18787
- }
18788
-
18789
- return target;
18790
- }
18791
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
18792
-
18793
- function objectWithoutProperties_objectWithoutProperties(source, excluded) {
18794
- if (source == null) return {};
18795
- var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
18796
- var key, i;
18797
-
18798
- if (Object.getOwnPropertySymbols) {
18799
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
18800
-
18801
- for (i = 0; i < sourceSymbolKeys.length; i++) {
18802
- key = sourceSymbolKeys[i];
18803
- if (excluded.indexOf(key) >= 0) continue;
18804
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
18805
- target[key] = source[key];
18806
- }
18807
- }
18808
-
18809
- return target;
18810
- }
18811
18819
  ;// CONCATENATED MODULE: ./node_modules/rc-motion/es/util/diff.js
18812
18820
 
18813
18821
 
@@ -18818,7 +18826,7 @@ var STATUS_REMOVED = 'removed';
18818
18826
  function wrapKeyToObject(key) {
18819
18827
  var keyObj;
18820
18828
 
18821
- if (key && esm_typeof_typeof(key) === 'object' && 'key' in key) {
18829
+ if (key && typeof_typeof(key) === 'object' && 'key' in key) {
18822
18830
  keyObj = key;
18823
18831
  } else {
18824
18832
  keyObj = {
@@ -18826,7 +18834,7 @@ function wrapKeyToObject(key) {
18826
18834
  };
18827
18835
  }
18828
18836
 
18829
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, keyObj), {}, {
18837
+ return _objectSpread2(_objectSpread2({}, keyObj), {}, {
18830
18838
  key: String(keyObj.key)
18831
18839
  });
18832
18840
  }
@@ -18853,14 +18861,14 @@ function diffKeys() {
18853
18861
  // New added keys should add before current key
18854
18862
  if (currentIndex < i) {
18855
18863
  list = list.concat(currentKeyObjects.slice(currentIndex, i).map(function (obj) {
18856
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, obj), {}, {
18864
+ return _objectSpread2(_objectSpread2({}, obj), {}, {
18857
18865
  status: STATUS_ADD
18858
18866
  });
18859
18867
  }));
18860
18868
  currentIndex = i;
18861
18869
  }
18862
18870
 
18863
- list.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, currentKeyObj), {}, {
18871
+ list.push(_objectSpread2(_objectSpread2({}, currentKeyObj), {}, {
18864
18872
  status: STATUS_KEEP
18865
18873
  }));
18866
18874
  currentIndex += 1;
@@ -18871,7 +18879,7 @@ function diffKeys() {
18871
18879
 
18872
18880
 
18873
18881
  if (!hit) {
18874
- list.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, keyObj), {}, {
18882
+ list.push(_objectSpread2(_objectSpread2({}, keyObj), {}, {
18875
18883
  status: STATUS_REMOVE
18876
18884
  }));
18877
18885
  }
@@ -18879,7 +18887,7 @@ function diffKeys() {
18879
18887
 
18880
18888
  if (currentIndex < currentLen) {
18881
18889
  list = list.concat(currentKeyObjects.slice(currentIndex).map(function (obj) {
18882
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, obj), {}, {
18890
+ return _objectSpread2(_objectSpread2({}, obj), {}, {
18883
18891
  status: STATUS_ADD
18884
18892
  });
18885
18893
  }));
@@ -18940,14 +18948,14 @@ function genCSSMotionList(transitionSupport) {
18940
18948
  var CSSMotion = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : es_CSSMotion;
18941
18949
 
18942
18950
  var CSSMotionList = /*#__PURE__*/function (_React$Component) {
18943
- inherits_inherits(CSSMotionList, _React$Component);
18951
+ _inherits(CSSMotionList, _React$Component);
18944
18952
 
18945
- var _super = createSuper_createSuper(CSSMotionList);
18953
+ var _super = _createSuper(CSSMotionList);
18946
18954
 
18947
18955
  function CSSMotionList() {
18948
18956
  var _this;
18949
18957
 
18950
- classCallCheck_classCallCheck(this, CSSMotionList);
18958
+ _classCallCheck(this, CSSMotionList);
18951
18959
 
18952
18960
  _this = _super.apply(this, arguments);
18953
18961
  _this.state = {
@@ -18960,7 +18968,7 @@ function genCSSMotionList(transitionSupport) {
18960
18968
  return {
18961
18969
  keyEntities: keyEntities.map(function (entity) {
18962
18970
  if (entity.key !== removeKey) return entity;
18963
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, entity), {}, {
18971
+ return _objectSpread2(_objectSpread2({}, entity), {}, {
18964
18972
  status: STATUS_REMOVED
18965
18973
  });
18966
18974
  })
@@ -18971,7 +18979,7 @@ function genCSSMotionList(transitionSupport) {
18971
18979
  return _this;
18972
18980
  }
18973
18981
 
18974
- createClass_createClass(CSSMotionList, [{
18982
+ _createClass(CSSMotionList, [{
18975
18983
  key: "render",
18976
18984
  value: function render() {
18977
18985
  var _this2 = this;
@@ -18982,7 +18990,7 @@ function genCSSMotionList(transitionSupport) {
18982
18990
  component = _this$props.component,
18983
18991
  children = _this$props.children,
18984
18992
  _onVisibleChanged = _this$props.onVisibleChanged,
18985
- restProps = objectWithoutProperties_objectWithoutProperties(_this$props, ["component", "children", "onVisibleChanged"]);
18993
+ restProps = _objectWithoutProperties(_this$props, ["component", "children", "onVisibleChanged"]);
18986
18994
 
18987
18995
  var Component = component || external_commonjs_react_commonjs2_react_root_React_namespaceObject.Fragment;
18988
18996
  var motionProps = {};
@@ -18993,10 +19001,10 @@ function genCSSMotionList(transitionSupport) {
18993
19001
  delete restProps.keys;
18994
19002
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, restProps, keyEntities.map(function (_ref2) {
18995
19003
  var status = _ref2.status,
18996
- eventProps = objectWithoutProperties_objectWithoutProperties(_ref2, ["status"]);
19004
+ eventProps = _objectWithoutProperties(_ref2, ["status"]);
18997
19005
 
18998
19006
  var visible = status === STATUS_ADD || status === STATUS_KEEP;
18999
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(CSSMotion, esm_extends_extends({}, motionProps, {
19007
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(CSSMotion, extends_extends({}, motionProps, {
19000
19008
  key: eventProps.key,
19001
19009
  visible: visible,
19002
19010
  eventProps: eventProps,
@@ -19196,7 +19204,7 @@ var Content = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_na
19196
19204
  }); // ============================= Style ==============================
19197
19205
 
19198
19206
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(),
19199
- _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
19207
+ _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
19200
19208
  transformOrigin = _React$useState2[0],
19201
19209
  setTransformOrigin = _React$useState2[1];
19202
19210
 
@@ -19342,7 +19350,7 @@ function Dialog(props) {
19342
19350
  var contentRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
19343
19351
 
19344
19352
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState(visible),
19345
- _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
19353
+ _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
19346
19354
  animatedVisible = _React$useState2[0],
19347
19355
  setAnimatedVisible = _React$useState2[1]; // ========================== Init ==========================
19348
19356
 
@@ -19529,7 +19537,7 @@ var DialogWrap = function DialogWrap(props) {
19529
19537
  }, [visible]); // 渲染在当前 dom 里;
19530
19538
 
19531
19539
  if (getContainer === false) {
19532
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, esm_extends_extends({}, props, {
19540
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, extends_extends({}, props, {
19533
19541
  getOpenCount: function getOpenCount() {
19534
19542
  return 2;
19535
19543
  } // 不对 body 做任何操作。。
@@ -19547,7 +19555,7 @@ var DialogWrap = function DialogWrap(props) {
19547
19555
  forceRender: forceRender,
19548
19556
  getContainer: getContainer
19549
19557
  }, function (childProps) {
19550
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, esm_extends_extends({}, props, {
19558
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Dialog, extends_extends({}, props, {
19551
19559
  destroyOnClose: destroyOnClose,
19552
19560
  afterClose: function afterClose() {
19553
19561
  _afterClose === null || _afterClose === void 0 ? void 0 : _afterClose();
@@ -19582,8 +19590,8 @@ function getConfirmLocale() {
19582
19590
 
19583
19591
 
19584
19592
 
19585
- var UnreachableException = /*#__PURE__*/createClass_createClass(function UnreachableException(value) {
19586
- classCallCheck_classCallCheck(this, UnreachableException);
19593
+ var UnreachableException = /*#__PURE__*/_createClass(function UnreachableException(value) {
19594
+ _classCallCheck(this, UnreachableException);
19587
19595
 
19588
19596
  this.error = new Error("unreachable case: ".concat(JSON.stringify(value)));
19589
19597
  });
@@ -19646,8 +19654,8 @@ var ButtonGroup = function ButtonGroup(props) {
19646
19654
  console.warn(new UnreachableException(size).error);
19647
19655
  }
19648
19656
 
19649
- var classes = classnames_default()(prefixCls, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
19650
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, others, {
19657
+ var classes = classnames_default()(prefixCls, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-").concat(sizeCls), sizeCls), _defineProperty(_classNames, "".concat(prefixCls, "-rtl"), direction === 'rtl'), _classNames), className);
19658
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, others, {
19651
19659
  className: classes
19652
19660
  }));
19653
19661
  });
@@ -19718,14 +19726,14 @@ function isNotGrey(color) {
19718
19726
  }
19719
19727
 
19720
19728
  var Wave = /*#__PURE__*/function (_React$Component) {
19721
- inherits_inherits(Wave, _React$Component);
19729
+ _inherits(Wave, _React$Component);
19722
19730
 
19723
- var _super = createSuper_createSuper(Wave);
19731
+ var _super = _createSuper(Wave);
19724
19732
 
19725
19733
  function Wave() {
19726
19734
  var _this;
19727
19735
 
19728
- classCallCheck_classCallCheck(this, Wave);
19736
+ _classCallCheck(this, Wave);
19729
19737
 
19730
19738
  _this = _super.apply(this, arguments);
19731
19739
  _this.containerRef = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createRef();
@@ -19745,7 +19753,7 @@ var Wave = /*#__PURE__*/function (_React$Component) {
19745
19753
 
19746
19754
  _this.extraNode = document.createElement('div');
19747
19755
 
19748
- var _assertThisInitialize = assertThisInitialized_assertThisInitialized(_this),
19756
+ var _assertThisInitialize = _assertThisInitialized(_this),
19749
19757
  extraNode = _assertThisInitialize.extraNode;
19750
19758
 
19751
19759
  var getPrefixCls = _this.context.getPrefixCls;
@@ -19852,7 +19860,7 @@ var Wave = /*#__PURE__*/function (_React$Component) {
19852
19860
  return _this;
19853
19861
  }
19854
19862
 
19855
- createClass_createClass(Wave, [{
19863
+ _createClass(Wave, [{
19856
19864
  key: "componentDidMount",
19857
19865
  value: function componentDidMount() {
19858
19866
  var node = this.containerRef.current;
@@ -20079,7 +20087,7 @@ function spaceChildren(children, needInserted) {
20079
20087
  var isPrevChildPure = false;
20080
20088
  var childList = [];
20081
20089
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.Children.forEach(children, function (child) {
20082
- var type = esm_typeof_typeof(child);
20090
+ var type = typeof_typeof(child);
20083
20091
 
20084
20092
  var isCurrentChildPure = type === 'string' || type === 'number';
20085
20093
 
@@ -20179,7 +20187,7 @@ var InternalButton = function InternalButton(props, ref) {
20179
20187
  }; // =============== Update Loading ===============
20180
20188
 
20181
20189
 
20182
- var loadingOrDelay = esm_typeof_typeof(loading) === 'object' && loading.delay ? loading.delay || true : !!loading;
20190
+ var loadingOrDelay = typeof_typeof(loading) === 'object' && loading.delay ? loading.delay || true : !!loading;
20183
20191
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect(function () {
20184
20192
  clearTimeout(delayTimeoutRef.current);
20185
20193
 
@@ -20219,7 +20227,7 @@ var InternalButton = function InternalButton(props, ref) {
20219
20227
  var sizeFullname = customizeSize || size;
20220
20228
  var sizeCls = sizeFullname ? sizeClassNameMap[sizeFullname] || '' : '';
20221
20229
  var iconType = innerLoading ? 'loading' : icon;
20222
- 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);
20230
+ 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);
20223
20231
  var iconNode;
20224
20232
 
20225
20233
  if (typeof iconType === 'string' && iconType !== 'loading') {
@@ -20238,14 +20246,14 @@ var InternalButton = function InternalButton(props, ref) {
20238
20246
  var linkButtonRestProps = omit(rest, ['navigate']);
20239
20247
 
20240
20248
  if (linkButtonRestProps.href !== undefined) {
20241
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("a", esm_extends_extends({}, linkButtonRestProps, {
20249
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("a", extends_extends({}, linkButtonRestProps, {
20242
20250
  className: classes,
20243
20251
  onClick: handleClick,
20244
20252
  ref: buttonRef
20245
20253
  }), iconNode, kids);
20246
20254
  }
20247
20255
 
20248
- var buttonNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("button", esm_extends_extends({}, rest, {
20256
+ var buttonNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("button", extends_extends({}, rest, {
20249
20257
  type: htmlType,
20250
20258
  className: classes,
20251
20259
  onClick: handleClick,
@@ -20423,9 +20431,9 @@ var Modal = function Modal(props) {
20423
20431
  okType = props.okType,
20424
20432
  cancelText = props.cancelText,
20425
20433
  confirmLoading = props.confirmLoading;
20426
- 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({
20434
+ 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({
20427
20435
  onClick: handleCancel
20428
- }, props.cancelButtonProps), cancelText || locale.cancelText), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, esm_extends_extends({}, convertLegacyProps(okType), {
20436
+ }, props.cancelButtonProps), cancelText || locale.cancelText), /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(es_button, extends_extends({}, convertLegacyProps(okType), {
20429
20437
  loading: confirmLoading,
20430
20438
  onClick: handleOk
20431
20439
  }, props.okButtonProps), okText || locale.okText));
@@ -20460,8 +20468,8 @@ var Modal = function Modal(props) {
20460
20468
  type: "close",
20461
20469
  className: "".concat(prefixCls, "-close-icon")
20462
20470
  }));
20463
- var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-centered"), !!centered), defineProperty_defineProperty(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
20464
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, esm_extends_extends({}, restProps, {
20471
+ var wrapClassNameExtended = classnames_default()(wrapClassName, (_classNames = {}, _defineProperty(_classNames, "".concat(prefixCls, "-centered"), !!centered), _defineProperty(_classNames, "".concat(prefixCls, "-wrap-rtl"), direction === 'rtl'), _classNames));
20472
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_default().createElement(rc_dialog_es, extends_extends({}, restProps, {
20465
20473
  getContainer: getContainer === undefined ? getContextPopupContainer : getContainer,
20466
20474
  prefixCls: prefixCls,
20467
20475
  wrapClassName: wrapClassNameExtended,
@@ -20587,7 +20595,7 @@ var ActionButton = function ActionButton(props) {
20587
20595
  children = props.children,
20588
20596
  prefixCls = props.prefixCls,
20589
20597
  buttonProps = props.buttonProps;
20590
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_button, esm_extends_extends({}, convertLegacyProps(type), {
20598
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_button, extends_extends({}, convertLegacyProps(type), {
20591
20599
  onClick: onClick,
20592
20600
  loading: loading,
20593
20601
  prefixCls: prefixCls
@@ -22104,7 +22112,7 @@ function get(entity, path) {
22104
22112
 
22105
22113
 
22106
22114
  function _toArray(arr) {
22107
- return arrayWithHoles_arrayWithHoles(arr) || iterableToArray_iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
22115
+ return arrayWithHoles_arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || nonIterableRest_nonIterableRest();
22108
22116
  }
22109
22117
  ;// CONCATENATED MODULE: ./node_modules/rc-util/es/utils/set.js
22110
22118
 
@@ -22126,9 +22134,9 @@ function internalSet(entity, paths, value, removeIfUndefined) {
22126
22134
  if (!entity && typeof path === 'number') {
22127
22135
  clone = [];
22128
22136
  } else if (Array.isArray(entity)) {
22129
- clone = toConsumableArray_toConsumableArray(entity);
22137
+ clone = _toConsumableArray(entity);
22130
22138
  } else {
22131
- clone = objectSpread2_objectSpread2({}, entity);
22139
+ clone = _objectSpread2({}, entity);
22132
22140
  } // Delete prop if `removeIfUndefined` and value is undefined
22133
22141
 
22134
22142
 
@@ -22192,7 +22200,7 @@ function containsNamePath(namePathList, namePath) {
22192
22200
  }
22193
22201
 
22194
22202
  function isObject(obj) {
22195
- return esm_typeof_typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
22203
+ return typeof_typeof(obj) === 'object' && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
22196
22204
  }
22197
22205
  /**
22198
22206
  * Copy values into store and return a new values object
@@ -22201,7 +22209,7 @@ function isObject(obj) {
22201
22209
 
22202
22210
 
22203
22211
  function internalSetValues(store, values) {
22204
- var newStore = Array.isArray(store) ? toConsumableArray_toConsumableArray(store) : objectSpread2_objectSpread2({}, store);
22212
+ var newStore = Array.isArray(store) ? _toConsumableArray(store) : _objectSpread2({}, store);
22205
22213
 
22206
22214
  if (!values) {
22207
22215
  return newStore;
@@ -22244,14 +22252,14 @@ function isSimilar(source, target) {
22244
22252
  return false;
22245
22253
  }
22246
22254
 
22247
- if (!source || !target || esm_typeof_typeof(source) !== 'object' || esm_typeof_typeof(target) !== 'object') {
22255
+ if (!source || !target || typeof_typeof(source) !== 'object' || typeof_typeof(target) !== 'object') {
22248
22256
  return false;
22249
22257
  }
22250
22258
 
22251
22259
  var sourceKeys = Object.keys(source);
22252
22260
  var targetKeys = Object.keys(target);
22253
- var keys = new Set([].concat(toConsumableArray_toConsumableArray(sourceKeys), toConsumableArray_toConsumableArray(targetKeys)));
22254
- return toConsumableArray_toConsumableArray(keys).every(function (key) {
22261
+ var keys = new Set([].concat(_toConsumableArray(sourceKeys), _toConsumableArray(targetKeys)));
22262
+ return _toConsumableArray(keys).every(function (key) {
22255
22263
  var sourceValue = source[key];
22256
22264
  var targetValue = target[key];
22257
22265
 
@@ -22294,12 +22302,12 @@ function valueUtil_move(array, moveIndex, toIndex) {
22294
22302
 
22295
22303
  if (diff > 0) {
22296
22304
  // move left
22297
- return [].concat(toConsumableArray_toConsumableArray(array.slice(0, toIndex)), [item], toConsumableArray_toConsumableArray(array.slice(toIndex, moveIndex)), toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, length)));
22305
+ return [].concat(_toConsumableArray(array.slice(0, toIndex)), [item], _toConsumableArray(array.slice(toIndex, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, length)));
22298
22306
  }
22299
22307
 
22300
22308
  if (diff < 0) {
22301
22309
  // move right
22302
- return [].concat(toConsumableArray_toConsumableArray(array.slice(0, moveIndex)), toConsumableArray_toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], toConsumableArray_toConsumableArray(array.slice(toIndex + 1, length)));
22310
+ return [].concat(_toConsumableArray(array.slice(0, moveIndex)), _toConsumableArray(array.slice(moveIndex + 1, toIndex + 1)), [item], _toConsumableArray(array.slice(toIndex + 1, length)));
22303
22311
  }
22304
22312
 
22305
22313
  return array;
@@ -22339,13 +22347,13 @@ function validateRule(_x, _x2, _x3, _x4, _x5) {
22339
22347
 
22340
22348
 
22341
22349
  function _validateRule() {
22342
- _validateRule = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(name, value, rule, options, messageVariables) {
22350
+ _validateRule = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(name, value, rule, options, messageVariables) {
22343
22351
  var cloneRule, subRuleField, validator, messages, result, subResults, kv, fillVariableResult;
22344
- return runtime_regenerator_default().wrap(function _callee2$(_context2) {
22352
+ return regenerator_default().wrap(function _callee2$(_context2) {
22345
22353
  while (1) {
22346
22354
  switch (_context2.prev = _context2.next) {
22347
22355
  case 0:
22348
- cloneRule = objectSpread2_objectSpread2({}, rule); // Bug of `async-validator`
22356
+ cloneRule = _objectSpread2({}, rule); // Bug of `async-validator`
22349
22357
  // https://github.com/react-component/field-form/issues/316
22350
22358
  // https://github.com/react-component/field-form/issues/313
22351
22359
 
@@ -22358,13 +22366,13 @@ function _validateRule() {
22358
22366
  delete cloneRule.defaultField;
22359
22367
  }
22360
22368
 
22361
- validator = new AsyncValidator(defineProperty_defineProperty({}, name, [cloneRule]));
22369
+ validator = new AsyncValidator(_defineProperty({}, name, [cloneRule]));
22362
22370
  messages = setValues({}, defaultValidateMessages, options.validateMessages);
22363
22371
  validator.messages(messages);
22364
22372
  result = [];
22365
22373
  _context2.prev = 8;
22366
22374
  _context2.next = 11;
22367
- return Promise.resolve(validator.validate(defineProperty_defineProperty({}, name, value), objectSpread2_objectSpread2({}, options)));
22375
+ return Promise.resolve(validator.validate(_defineProperty({}, name, value), _objectSpread2({}, options)));
22368
22376
 
22369
22377
  case 11:
22370
22378
  _context2.next = 16;
@@ -22404,12 +22412,12 @@ function _validateRule() {
22404
22412
  case 19:
22405
22413
  subResults = _context2.sent;
22406
22414
  return _context2.abrupt("return", subResults.reduce(function (prev, errors) {
22407
- return [].concat(toConsumableArray_toConsumableArray(prev), toConsumableArray_toConsumableArray(errors));
22415
+ return [].concat(_toConsumableArray(prev), _toConsumableArray(errors));
22408
22416
  }, []));
22409
22417
 
22410
22418
  case 21:
22411
22419
  // Replace message with variables
22412
- kv = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, rule), {}, {
22420
+ kv = _objectSpread2(_objectSpread2({}, rule), {}, {
22413
22421
  name: name,
22414
22422
  enum: (rule.enum || []).join(', ')
22415
22423
  }, messageVariables);
@@ -22438,7 +22446,7 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
22438
22446
  var filledRules = rules.map(function (currentRule, ruleIndex) {
22439
22447
  var originValidatorFunc = currentRule.validator;
22440
22448
 
22441
- var cloneRule = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, currentRule), {}, {
22449
+ var cloneRule = _objectSpread2(_objectSpread2({}, currentRule), {}, {
22442
22450
  ruleIndex: ruleIndex
22443
22451
  }); // Replace validator if needed
22444
22452
 
@@ -22506,9 +22514,9 @@ function validateRules(namePath, value, rules, options, validateFirst, messageVa
22506
22514
  if (validateFirst === true) {
22507
22515
  // >>>>> Validate by serialization
22508
22516
  summaryPromise = new Promise( /*#__PURE__*/function () {
22509
- var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee(resolve, reject) {
22517
+ var _ref3 = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(resolve, reject) {
22510
22518
  var i, rule, errors;
22511
- return runtime_regenerator_default().wrap(function _callee$(_context) {
22519
+ return regenerator_default().wrap(function _callee$(_context) {
22512
22520
  while (1) {
22513
22521
  switch (_context.prev = _context.next) {
22514
22522
  case 0:
@@ -22587,15 +22595,15 @@ function finishOnAllFailed(_x8) {
22587
22595
  }
22588
22596
 
22589
22597
  function _finishOnAllFailed() {
22590
- _finishOnAllFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(rulePromises) {
22591
- return runtime_regenerator_default().wrap(function _callee3$(_context3) {
22598
+ _finishOnAllFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee3(rulePromises) {
22599
+ return regenerator_default().wrap(function _callee3$(_context3) {
22592
22600
  while (1) {
22593
22601
  switch (_context3.prev = _context3.next) {
22594
22602
  case 0:
22595
22603
  return _context3.abrupt("return", Promise.all(rulePromises).then(function (errorsList) {
22596
22604
  var _ref5;
22597
22605
 
22598
- var errors = (_ref5 = []).concat.apply(_ref5, toConsumableArray_toConsumableArray(errorsList));
22606
+ var errors = (_ref5 = []).concat.apply(_ref5, _toConsumableArray(errorsList));
22599
22607
 
22600
22608
  return errors;
22601
22609
  }));
@@ -22615,9 +22623,9 @@ function finishOnFirstFailed(_x9) {
22615
22623
  }
22616
22624
 
22617
22625
  function _finishOnFirstFailed() {
22618
- _finishOnFirstFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee4(rulePromises) {
22626
+ _finishOnFirstFailed = asyncToGenerator_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee4(rulePromises) {
22619
22627
  var count;
22620
- return runtime_regenerator_default().wrap(function _callee4$(_context4) {
22628
+ return regenerator_default().wrap(function _callee4$(_context4) {
22621
22629
  while (1) {
22622
22630
  switch (_context4.prev = _context4.next) {
22623
22631
  case 0:
@@ -23422,52 +23430,6 @@ var List = function List(_ref) {
23422
23430
  };
23423
23431
 
23424
23432
  /* harmony default export */ var es_List = (List);
23425
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js
23426
- function esm_arrayWithHoles_arrayWithHoles(arr) {
23427
- if (Array.isArray(arr)) return arr;
23428
- }
23429
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
23430
- function esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) {
23431
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
23432
-
23433
- if (_i == null) return;
23434
- var _arr = [];
23435
- var _n = true;
23436
- var _d = false;
23437
-
23438
- var _s, _e;
23439
-
23440
- try {
23441
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
23442
- _arr.push(_s.value);
23443
-
23444
- if (i && _arr.length === i) break;
23445
- }
23446
- } catch (err) {
23447
- _d = true;
23448
- _e = err;
23449
- } finally {
23450
- try {
23451
- if (!_n && _i["return"] != null) _i["return"]();
23452
- } finally {
23453
- if (_d) throw _e;
23454
- }
23455
- }
23456
-
23457
- return _arr;
23458
- }
23459
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
23460
- function esm_nonIterableRest_nonIterableRest() {
23461
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
23462
- }
23463
- ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js
23464
-
23465
-
23466
-
23467
-
23468
- function esm_slicedToArray_slicedToArray(arr, i) {
23469
- return esm_arrayWithHoles_arrayWithHoles(arr) || esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || esm_nonIterableRest_nonIterableRest();
23470
- }
23471
23433
  ;// CONCATENATED MODULE: ./node_modules/rc-field-form/es/utils/asyncUtil.js
23472
23434
  function allPromiseFinish(promiseList) {
23473
23435
  var hasError = false;
@@ -23513,7 +23475,7 @@ var SPLIT = '__@field_split__';
23513
23475
 
23514
23476
  function normalize(namePath) {
23515
23477
  return namePath.map(function (cell) {
23516
- return "".concat(esm_typeof_typeof(cell), ":").concat(cell);
23478
+ return "".concat(typeof_typeof(cell), ":").concat(cell);
23517
23479
  }) // Magic split
23518
23480
  .join(SPLIT);
23519
23481
  }
@@ -23524,12 +23486,12 @@ function normalize(namePath) {
23524
23486
 
23525
23487
  var NameMap = /*#__PURE__*/function () {
23526
23488
  function NameMap() {
23527
- classCallCheck_classCallCheck(this, NameMap);
23489
+ _classCallCheck(this, NameMap);
23528
23490
 
23529
23491
  this.kvs = new Map();
23530
23492
  }
23531
23493
 
23532
- createClass_createClass(NameMap, [{
23494
+ _createClass(NameMap, [{
23533
23495
  key: "set",
23534
23496
  value: function set(key, value) {
23535
23497
  this.kvs.set(normalize(key), value);
@@ -23560,7 +23522,7 @@ var NameMap = /*#__PURE__*/function () {
23560
23522
  }, {
23561
23523
  key: "map",
23562
23524
  value: function map(callback) {
23563
- return toConsumableArray_toConsumableArray(this.kvs.entries()).map(function (_ref) {
23525
+ return _toConsumableArray(this.kvs.entries()).map(function (_ref) {
23564
23526
  var _ref2 = slicedToArray_slicedToArray(_ref, 2),
23565
23527
  key = _ref2[0],
23566
23528
  value = _ref2[1];
@@ -24442,7 +24404,7 @@ function useForm(form) {
24442
24404
  var formRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef();
24443
24405
 
24444
24406
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState({}),
24445
- _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
24407
+ _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
24446
24408
  forceUpdate = _React$useState2[1];
24447
24409
 
24448
24410
  if (!formRef.current) {
@@ -24561,7 +24523,7 @@ var Form = function Form(_ref, ref) {
24561
24523
  // https://reactjs.org/docs/context.html#contextprovider
24562
24524
 
24563
24525
  var _useForm = es_useForm(form),
24564
- _useForm2 = esm_slicedToArray_slicedToArray(_useForm, 1),
24526
+ _useForm2 = slicedToArray_slicedToArray(_useForm, 1),
24565
24527
  formInstance = _useForm2[0];
24566
24528
 
24567
24529
  var _formInstance$getInte = formInstance.getInternalHooks(HOOK_MARK),
@@ -24968,7 +24930,7 @@ function useNotification_useNotification(notificationInstance) {
24968
24930
  var createdRef = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef({});
24969
24931
 
24970
24932
  var _React$useState = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState([]),
24971
- _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
24933
+ _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
24972
24934
  elements = _React$useState2[0],
24973
24935
  setElements = _React$useState2[1];
24974
24936
 
@@ -25029,14 +24991,14 @@ function getUuid() {
25029
24991
  }
25030
24992
 
25031
24993
  var Notification = /*#__PURE__*/function (_Component) {
25032
- inherits_inherits(Notification, _Component);
24994
+ _inherits(Notification, _Component);
25033
24995
 
25034
- var _super = createSuper_createSuper(Notification);
24996
+ var _super = _createSuper(Notification);
25035
24997
 
25036
24998
  function Notification() {
25037
24999
  var _this;
25038
25000
 
25039
- classCallCheck_classCallCheck(this, Notification);
25001
+ _classCallCheck(this, Notification);
25040
25002
 
25041
25003
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
25042
25004
  args[_key] = arguments[_key];
@@ -25051,7 +25013,7 @@ var Notification = /*#__PURE__*/function (_Component) {
25051
25013
  _this.add = function (originNotice, holderCallback) {
25052
25014
  var key = originNotice.key || getUuid();
25053
25015
 
25054
- var notice = objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, originNotice), {}, {
25016
+ var notice = _objectSpread2(_objectSpread2({}, originNotice), {}, {
25055
25017
  key: key
25056
25018
  });
25057
25019
 
@@ -25118,7 +25080,7 @@ var Notification = /*#__PURE__*/function (_Component) {
25118
25080
  return _this;
25119
25081
  }
25120
25082
 
25121
- createClass_createClass(Notification, [{
25083
+ _createClass(Notification, [{
25122
25084
  key: "getTransitionName",
25123
25085
  value: function getTransitionName() {
25124
25086
  var _this$props = this.props,
@@ -25151,7 +25113,7 @@ var Notification = /*#__PURE__*/function (_Component) {
25151
25113
  var key = notice.key,
25152
25114
  userPassKey = notice.userPassKey;
25153
25115
 
25154
- var noticeProps = objectSpread2_objectSpread2(objectSpread2_objectSpread2(objectSpread2_objectSpread2({
25116
+ var noticeProps = _objectSpread2(_objectSpread2(_objectSpread2({
25155
25117
  prefixCls: prefixCls,
25156
25118
  closeIcon: closeIcon
25157
25119
  }, notice), notice.props), {}, {
@@ -25202,7 +25164,7 @@ var Notification = /*#__PURE__*/function (_Component) {
25202
25164
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
25203
25165
  key: key,
25204
25166
  className: classnames_default()(motionClassName, "".concat(prefixCls, "-hook-holder")),
25205
- style: objectSpread2_objectSpread2({}, motionStyle),
25167
+ style: _objectSpread2({}, motionStyle),
25206
25168
  ref: function ref(div) {
25207
25169
  if (typeof key === 'undefined') {
25208
25170
  return;
@@ -25219,9 +25181,9 @@ var Notification = /*#__PURE__*/function (_Component) {
25219
25181
  });
25220
25182
  }
25221
25183
 
25222
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, esm_extends_extends({}, noticeProps, {
25184
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Notice, extends_extends({}, noticeProps, {
25223
25185
  className: classnames_default()(motionClassName, noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.className),
25224
- style: objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
25186
+ style: _objectSpread2(_objectSpread2({}, motionStyle), noticeProps === null || noticeProps === void 0 ? void 0 : noticeProps.style),
25225
25187
  visible: visible
25226
25188
  }));
25227
25189
  }));
@@ -25244,7 +25206,7 @@ Notification.defaultProps = {
25244
25206
  Notification.newInstance = function newNotificationInstance(properties, callback) {
25245
25207
  var _ref6 = properties || {},
25246
25208
  getContainer = _ref6.getContainer,
25247
- props = objectWithoutProperties_objectWithoutProperties(_ref6, ["getContainer"]);
25209
+ props = _objectWithoutProperties(_ref6, ["getContainer"]);
25248
25210
 
25249
25211
  var div = document.createElement('div');
25250
25212
 
@@ -25288,7 +25250,7 @@ Notification.newInstance = function newNotificationInstance(properties, callback
25288
25250
 
25289
25251
  if (false) {}
25290
25252
 
25291
- 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, {
25253
+ 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, {
25292
25254
  ref: ref
25293
25255
  })), div);
25294
25256
  };
@@ -25318,7 +25280,7 @@ function createUseMessage(getRcNotificationInstance, getRCNoticeProps) {
25318
25280
  };
25319
25281
 
25320
25282
  var _useRCNotification = useNotification_useNotification(proxy),
25321
- _useRCNotification2 = esm_slicedToArray_slicedToArray(_useRCNotification, 2),
25283
+ _useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
25322
25284
  hookNotify = _useRCNotification2[0],
25323
25285
  holder = _useRCNotification2[1];
25324
25286
 
@@ -25647,7 +25609,7 @@ function createUseNotification(getNotificationInstance, getRCNoticeProps) {
25647
25609
  };
25648
25610
 
25649
25611
  var _useRCNotification = useNotification_useNotification(proxy),
25650
- _useRCNotification2 = esm_slicedToArray_slicedToArray(_useRCNotification, 2),
25612
+ _useRCNotification2 = slicedToArray_slicedToArray(_useRCNotification, 2),
25651
25613
  hookNotify = _useRCNotification2[0],
25652
25614
  holder = _useRCNotification2[1];
25653
25615
 
@@ -26274,7 +26236,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
26274
26236
 
26275
26237
  var maskClosable = props.maskClosable === undefined ? false : props.maskClosable;
26276
26238
  var autoFocusButton = props.autoFocusButton === null ? false : props.autoFocusButton || 'ok';
26277
- var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), defineProperty_defineProperty({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
26239
+ var classString = classnames_default()(contentPrefixCls, "".concat(contentPrefixCls, "-").concat(props.type), _defineProperty({}, "".concat(contentPrefixCls, "-rtl"), direction === 'rtl'), props.className);
26278
26240
  var cancelButton = okCancel && /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(_util_ActionButton, {
26279
26241
  actionFn: onCancel,
26280
26242
  close: close,
@@ -26292,7 +26254,7 @@ var ConfirmDialog = function ConfirmDialog(props) {
26292
26254
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_Modal, {
26293
26255
  prefixCls: prefixCls,
26294
26256
  className: classString,
26295
- wrapClassName: classnames_default()(defineProperty_defineProperty({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
26257
+ wrapClassName: classnames_default()(_defineProperty({}, "".concat(contentPrefixCls, "-centered"), !!props.centered)),
26296
26258
  onCancel: function onCancel() {
26297
26259
  return close({
26298
26260
  triggerCancel: true
@@ -26376,7 +26338,7 @@ function getRootPrefixCls() {
26376
26338
  function confirm_confirm(config) {
26377
26339
  var container = document.createDocumentFragment(); // eslint-disable-next-line @typescript-eslint/no-use-before-define
26378
26340
 
26379
- var currentConfig = esm_extends_extends(esm_extends_extends({}, config), {
26341
+ var currentConfig = extends_extends(extends_extends({}, config), {
26380
26342
  close: close,
26381
26343
  visible: true
26382
26344
  });
@@ -26429,7 +26391,7 @@ function confirm_confirm(config) {
26429
26391
  var rootPrefixCls = getPrefixCls(undefined, getRootPrefixCls());
26430
26392
  var prefixCls = customizePrefixCls || "".concat(rootPrefixCls, "-modal");
26431
26393
  var iconPrefixCls = getIconPrefixCls();
26432
- 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, {
26394
+ 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, {
26433
26395
  prefixCls: prefixCls,
26434
26396
  rootPrefixCls: rootPrefixCls,
26435
26397
  iconPrefixCls: iconPrefixCls,
@@ -26446,7 +26408,7 @@ function confirm_confirm(config) {
26446
26408
  args[_key2] = arguments[_key2];
26447
26409
  }
26448
26410
 
26449
- currentConfig = esm_extends_extends(esm_extends_extends({}, currentConfig), {
26411
+ currentConfig = extends_extends(extends_extends({}, currentConfig), {
26450
26412
  visible: false,
26451
26413
  afterClose: function afterClose() {
26452
26414
  if (typeof config.afterClose === 'function') {
@@ -26463,7 +26425,7 @@ function confirm_confirm(config) {
26463
26425
  if (typeof configUpdate === 'function') {
26464
26426
  currentConfig = configUpdate(currentConfig);
26465
26427
  } else {
26466
- currentConfig = esm_extends_extends(esm_extends_extends({}, currentConfig), configUpdate);
26428
+ currentConfig = extends_extends(extends_extends({}, currentConfig), configUpdate);
26467
26429
  }
26468
26430
 
26469
26431
  render(currentConfig);
@@ -26477,7 +26439,7 @@ function confirm_confirm(config) {
26477
26439
  };
26478
26440
  }
26479
26441
  function withWarn(props) {
26480
- return esm_extends_extends(esm_extends_extends({
26442
+ return extends_extends(extends_extends({
26481
26443
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
26482
26444
  type: "exclamation-circle"
26483
26445
  }),
@@ -26487,7 +26449,7 @@ function withWarn(props) {
26487
26449
  });
26488
26450
  }
26489
26451
  function withInfo(props) {
26490
- return esm_extends_extends(esm_extends_extends({
26452
+ return extends_extends(extends_extends({
26491
26453
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
26492
26454
  type: "exclamation-circle"
26493
26455
  }),
@@ -26497,7 +26459,7 @@ function withInfo(props) {
26497
26459
  });
26498
26460
  }
26499
26461
  function withSuccess(props) {
26500
- return esm_extends_extends(esm_extends_extends({
26462
+ return extends_extends(extends_extends({
26501
26463
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
26502
26464
  type: "check-circle"
26503
26465
  }),
@@ -26507,7 +26469,7 @@ function withSuccess(props) {
26507
26469
  });
26508
26470
  }
26509
26471
  function withError(props) {
26510
- return esm_extends_extends(esm_extends_extends({
26472
+ return extends_extends(extends_extends({
26511
26473
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
26512
26474
  type: "close-circle"
26513
26475
  }),
@@ -26517,7 +26479,7 @@ function withError(props) {
26517
26479
  });
26518
26480
  }
26519
26481
  function withConfirm(props) {
26520
- return esm_extends_extends(esm_extends_extends({
26482
+ return extends_extends(extends_extends({
26521
26483
  icon: /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_icon, {
26522
26484
  type: "question-circle"
26523
26485
  }),
@@ -26544,7 +26506,7 @@ function usePatchElement() {
26544
26506
  var patchElement = external_commonjs_react_commonjs2_react_root_React_namespaceObject.useCallback(function (element) {
26545
26507
  // append a new element to elements (and create a new ref)
26546
26508
  setElements(function (originElements) {
26547
- return [].concat(toConsumableArray_toConsumableArray(originElements), [element]);
26509
+ return [].concat(_toConsumableArray(originElements), [element]);
26548
26510
  }); // return a function that removes the new element out of elements (and create a new ref)
26549
26511
  // it works a little like useEffect
26550
26512
 
@@ -26609,7 +26571,7 @@ var HookModal = function HookModal(_ref, ref) {
26609
26571
  destroy: close,
26610
26572
  update: function update(newConfig) {
26611
26573
  setInnerConfig(function (originConfig) {
26612
- return esm_extends_extends(esm_extends_extends({}, originConfig), newConfig);
26574
+ return extends_extends(extends_extends({}, originConfig), newConfig);
26613
26575
  });
26614
26576
  }
26615
26577
  };
@@ -26618,7 +26580,7 @@ var HookModal = function HookModal(_ref, ref) {
26618
26580
  componentName: "Modal",
26619
26581
  defaultLocale: locale_default.Modal
26620
26582
  }, function (modalLocale) {
26621
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, esm_extends_extends({
26583
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(modal_ConfirmDialog, extends_extends({
26622
26584
  prefixCls: prefixCls,
26623
26585
  rootPrefixCls: rootPrefixCls
26624
26586
  }, innerConfig, {
@@ -26665,7 +26627,7 @@ function useModal() {
26665
26627
 
26666
26628
  external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect(function () {
26667
26629
  if (actionQueue.length) {
26668
- var cloneQueue = toConsumableArray_toConsumableArray(actionQueue);
26630
+ var cloneQueue = _toConsumableArray(actionQueue);
26669
26631
 
26670
26632
  cloneQueue.forEach(function (action) {
26671
26633
  action();
@@ -26702,7 +26664,7 @@ function useModal() {
26702
26664
  destroyAction();
26703
26665
  } else {
26704
26666
  setActionQueue(function (prev) {
26705
- return [].concat(toConsumableArray_toConsumableArray(prev), [destroyAction]);
26667
+ return [].concat(_toConsumableArray(prev), [destroyAction]);
26706
26668
  });
26707
26669
  }
26708
26670
  },
@@ -26717,7 +26679,7 @@ function useModal() {
26717
26679
  updateAction();
26718
26680
  } else {
26719
26681
  setActionQueue(function (prev) {
26720
- return [].concat(toConsumableArray_toConsumableArray(prev), [updateAction]);
26682
+ return [].concat(_toConsumableArray(prev), [updateAction]);
26721
26683
  });
26722
26684
  }
26723
26685
  }
@@ -27323,7 +27285,7 @@ function helpers_esm_slicedToArray_slicedToArray(arr, i) {
27323
27285
  return helpers_esm_arrayWithHoles_arrayWithHoles(arr) || helpers_esm_iterableToArrayLimit_iterableToArrayLimit(arr, i) || esm_unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || helpers_esm_nonIterableRest_nonIterableRest();
27324
27286
  }
27325
27287
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
27326
- function esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
27288
+ function objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
27327
27289
  if (source == null) return {};
27328
27290
  var target = {};
27329
27291
  var sourceKeys = Object.keys(source);
@@ -27339,9 +27301,9 @@ function esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, e
27339
27301
  }
27340
27302
  ;// CONCATENATED MODULE: ./node_modules/rc-virtual-list/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
27341
27303
 
27342
- function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
27304
+ function objectWithoutProperties_objectWithoutProperties(source, excluded) {
27343
27305
  if (source == null) return {};
27344
- var target = esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
27306
+ var target = objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
27345
27307
  var key, i;
27346
27308
 
27347
27309
  if (Object.getOwnPropertySymbols) {
@@ -29447,7 +29409,7 @@ function RawList(props, ref) {
29447
29409
  onScroll = props.onScroll,
29448
29410
  onVisibleChange = props.onVisibleChange,
29449
29411
  innerProps = props.innerProps,
29450
- restProps = esm_objectWithoutProperties_objectWithoutProperties(props, List_excluded);
29412
+ restProps = objectWithoutProperties_objectWithoutProperties(props, List_excluded);
29451
29413
  // ================================= MISC =================================
29452
29414
  var useVirtual = !!(virtual !== false && height && itemHeight);
29453
29415
  var inVirtual = useVirtual && data && itemHeight * data.length > height;
@@ -29816,7 +29778,7 @@ function toOuterValues(valueList, _ref2) {
29816
29778
  return values;
29817
29779
  }
29818
29780
  function removeLastEnabledValue(measureValues, values) {
29819
- var newValues = toConsumableArray_toConsumableArray(values);
29781
+ var newValues = _toConsumableArray(values);
29820
29782
 
29821
29783
  var removeIndex;
29822
29784
 
@@ -29950,7 +29912,7 @@ function flattenOptions(options) {
29950
29912
  */
29951
29913
 
29952
29914
  function injectPropsWithOption(option) {
29953
- var newOption = objectSpread2_objectSpread2({}, option);
29915
+ var newOption = _objectSpread2({}, option);
29954
29916
 
29955
29917
  if (!('props' in newOption)) {
29956
29918
  Object.defineProperty(newOption, 'props', {
@@ -29984,7 +29946,7 @@ function findValueOption(values, options) {
29984
29946
  var option = optionMap.get(val); // Fallback to try to find prev options
29985
29947
 
29986
29948
  if (!option) {
29987
- option = objectSpread2_objectSpread2({}, prevValueOptions.find(function (opt) {
29949
+ option = _objectSpread2({}, prevValueOptions.find(function (opt) {
29988
29950
  return opt._INTERNAL_OPTION_VALUE_ === val;
29989
29951
  }));
29990
29952
  }
@@ -30003,7 +29965,7 @@ var getLabeledValue = function getLabeledValue(value, _ref5) {
30003
29965
  };
30004
29966
  var prevValItem = labelInValue ? prevValueMap.get(value) : undefined;
30005
29967
 
30006
- if (prevValItem && esm_typeof_typeof(prevValItem) === 'object' && 'label' in prevValItem) {
29968
+ if (prevValItem && typeof_typeof(prevValItem) === 'object' && 'label' in prevValItem) {
30007
29969
  result.label = prevValItem.label;
30008
29970
 
30009
29971
  if (item && typeof prevValItem.label === 'string' && typeof item[optionLabelProp] === 'string' && prevValItem.label.trim() !== item[optionLabelProp].trim()) {
@@ -30051,7 +30013,7 @@ function filterOptions(searchValue, options, _ref6) {
30051
30013
  var filterFunc;
30052
30014
 
30053
30015
  if (filterOption === false) {
30054
- return toConsumableArray_toConsumableArray(options);
30016
+ return _toConsumableArray(options);
30055
30017
  }
30056
30018
 
30057
30019
  if (typeof filterOption === 'function') {
@@ -30075,7 +30037,7 @@ function filterOptions(searchValue, options, _ref6) {
30075
30037
  });
30076
30038
 
30077
30039
  if (subOptions.length) {
30078
- filteredOptions.push(objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
30040
+ filteredOptions.push(_objectSpread2(_objectSpread2({}, item), {}, {
30079
30041
  options: subOptions
30080
30042
  }));
30081
30043
  }
@@ -30109,7 +30071,7 @@ function getSeparatedContent(text, tokens) {
30109
30071
  var list = str.split(token);
30110
30072
  match = match || list.length > 1;
30111
30073
  return list.reduce(function (prevList, unitStr) {
30112
- return [].concat(toConsumableArray_toConsumableArray(prevList), toConsumableArray_toConsumableArray(separate(unitStr, restTokens)));
30074
+ return [].concat(_toConsumableArray(prevList), _toConsumableArray(separate(unitStr, restTokens)));
30113
30075
  }, []).filter(function (unit) {
30114
30076
  return unit;
30115
30077
  });
@@ -30129,7 +30091,7 @@ function isValueDisabled(value, options) {
30129
30091
  function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInValue) {
30130
30092
  var values = commonUtil_toArray(value).slice().sort();
30131
30093
 
30132
- var cloneOptions = toConsumableArray_toConsumableArray(options); // Convert options value to set
30094
+ var cloneOptions = _toConsumableArray(options); // Convert options value to set
30133
30095
 
30134
30096
 
30135
30097
  var optionValues = new Set();
@@ -30149,7 +30111,7 @@ function fillOptionsWithMissingValue(options, value, optionLabelProp, labelInVal
30149
30111
  if (!optionValues.has(val)) {
30150
30112
  var _ref9;
30151
30113
 
30152
- cloneOptions.push(labelInValue ? (_ref9 = {}, defineProperty_defineProperty(_ref9, optionLabelProp, item.label), defineProperty_defineProperty(_ref9, "value", val), _ref9) : {
30114
+ cloneOptions.push(labelInValue ? (_ref9 = {}, _defineProperty(_ref9, optionLabelProp, item.label), _defineProperty(_ref9, "value", val), _ref9) : {
30153
30115
  value: val
30154
30116
  });
30155
30117
  }
@@ -30415,7 +30377,7 @@ var OptionList = function OptionList(_ref, ref) {
30415
30377
  children = itemData.children;
30416
30378
  var attrs = pickAttrs(itemData, true);
30417
30379
  var mergedLabel = childrenAsData ? children : label;
30418
- return item ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
30380
+ return item ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
30419
30381
  "aria-label": typeof mergedLabel === 'string' ? mergedLabel : null
30420
30382
  }, attrs, {
30421
30383
  key: index,
@@ -30465,13 +30427,13 @@ var OptionList = function OptionList(_ref, ref) {
30465
30427
  children = data.children,
30466
30428
  style = data.style,
30467
30429
  className = data.className,
30468
- otherProps = objectWithoutProperties_objectWithoutProperties(data, OptionList_excluded);
30430
+ otherProps = _objectWithoutProperties(data, OptionList_excluded);
30469
30431
 
30470
30432
  var passedProps = omit(otherProps, omitFieldNameList); // Option
30471
30433
 
30472
30434
  var selected = values.has(value);
30473
30435
  var optionPrefixCls = "".concat(itemPrefixCls, "-option");
30474
- 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));
30436
+ 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));
30475
30437
  var mergedLabel = childrenAsData ? children : label;
30476
30438
  var iconVisible = !menuItemSelectedIcon || typeof menuItemSelectedIcon === 'function' || selected;
30477
30439
  var content = mergedLabel || value; // https://github.com/ant-design/ant-design/issues/26717
@@ -30482,7 +30444,7 @@ var OptionList = function OptionList(_ref, ref) {
30482
30444
  optionTitle = title;
30483
30445
  }
30484
30446
 
30485
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({}, passedProps, {
30447
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({}, passedProps, {
30486
30448
  "aria-selected": selected,
30487
30449
  className: optionClassName,
30488
30450
  title: optionTitle,
@@ -30543,9 +30505,9 @@ function convertNodeToOption(node) {
30543
30505
  _node$props = node.props,
30544
30506
  children = _node$props.children,
30545
30507
  value = _node$props.value,
30546
- restProps = objectWithoutProperties_objectWithoutProperties(_node$props, legacyUtil_excluded);
30508
+ restProps = _objectWithoutProperties(_node$props, legacyUtil_excluded);
30547
30509
 
30548
- return objectSpread2_objectSpread2({
30510
+ return _objectSpread2({
30549
30511
  key: key,
30550
30512
  value: value !== undefined ? value : key,
30551
30513
  children: children
@@ -30563,13 +30525,13 @@ function convertChildrenToData(nodes) {
30563
30525
  key = node.key,
30564
30526
  _node$props2 = node.props,
30565
30527
  children = _node$props2.children,
30566
- restProps = objectWithoutProperties_objectWithoutProperties(_node$props2, _excluded2);
30528
+ restProps = _objectWithoutProperties(_node$props2, _excluded2);
30567
30529
 
30568
30530
  if (optionOnly || !isSelectOptGroup) {
30569
30531
  return convertNodeToOption(node);
30570
30532
  }
30571
30533
 
30572
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({
30534
+ return _objectSpread2(_objectSpread2({
30573
30535
  key: "__RC_SELECT_GRP__".concat(key === null ? index : key, "__"),
30574
30536
  label: key
30575
30537
  }, restProps), {}, {
@@ -30646,6 +30608,41 @@ function useControlledState(defaultStateValue, option) {
30646
30608
  }, [value]);
30647
30609
  return [mergedValue, triggerChange];
30648
30610
  }
30611
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js
30612
+ function esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded) {
30613
+ if (source == null) return {};
30614
+ var target = {};
30615
+ var sourceKeys = Object.keys(source);
30616
+ var key, i;
30617
+
30618
+ for (i = 0; i < sourceKeys.length; i++) {
30619
+ key = sourceKeys[i];
30620
+ if (excluded.indexOf(key) >= 0) continue;
30621
+ target[key] = source[key];
30622
+ }
30623
+
30624
+ return target;
30625
+ }
30626
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js
30627
+
30628
+ function esm_objectWithoutProperties_objectWithoutProperties(source, excluded) {
30629
+ if (source == null) return {};
30630
+ var target = esm_objectWithoutPropertiesLoose_objectWithoutPropertiesLoose(source, excluded);
30631
+ var key, i;
30632
+
30633
+ if (Object.getOwnPropertySymbols) {
30634
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
30635
+
30636
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
30637
+ key = sourceSymbolKeys[i];
30638
+ if (excluded.indexOf(key) >= 0) continue;
30639
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
30640
+ target[key] = source[key];
30641
+ }
30642
+ }
30643
+
30644
+ return target;
30645
+ }
30649
30646
  ;// CONCATENATED MODULE: ./node_modules/rc-overflow/es/Item.js
30650
30647
 
30651
30648
 
@@ -30671,7 +30668,7 @@ function InternalItem(props, ref) {
30671
30668
  order = props.order,
30672
30669
  _props$component = props.component,
30673
30670
  Component = _props$component === void 0 ? 'div' : _props$component,
30674
- restProps = objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]);
30671
+ restProps = esm_objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "invalidate", "item", "renderItem", "responsive", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"]);
30675
30672
 
30676
30673
  var mergedHidden = responsive && !display; // ================================ Effect ================================
30677
30674
 
@@ -30738,7 +30735,7 @@ Item_Item.displayName = 'Item';
30738
30735
 
30739
30736
  function useBatchFrameState() {
30740
30737
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)({}),
30741
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
30738
+ _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
30742
30739
  forceUpdate = _useState2[1];
30743
30740
 
30744
30741
  var statesRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)([]);
@@ -30792,7 +30789,7 @@ var InternalRawItem = function InternalRawItem(props, ref) {
30792
30789
  if (!context) {
30793
30790
  var _props$component = props.component,
30794
30791
  Component = _props$component === void 0 ? 'div' : _props$component,
30795
- _restProps = objectWithoutProperties_objectWithoutProperties(props, ["component"]);
30792
+ _restProps = esm_objectWithoutProperties_objectWithoutProperties(props, ["component"]);
30796
30793
 
30797
30794
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(Component, esm_extends_extends({}, _restProps, {
30798
30795
  ref: ref
@@ -30800,10 +30797,10 @@ var InternalRawItem = function InternalRawItem(props, ref) {
30800
30797
  }
30801
30798
 
30802
30799
  var contextClassName = context.className,
30803
- restContext = objectWithoutProperties_objectWithoutProperties(context, ["className"]);
30800
+ restContext = esm_objectWithoutProperties_objectWithoutProperties(context, ["className"]);
30804
30801
 
30805
30802
  var className = props.className,
30806
- restProps = objectWithoutProperties_objectWithoutProperties(props, ["className"]); // Do not pass context to sub item to avoid multiple measure
30803
+ restProps = esm_objectWithoutProperties_objectWithoutProperties(props, ["className"]); // Do not pass context to sub item to avoid multiple measure
30807
30804
 
30808
30805
 
30809
30806
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(OverflowContext.Provider, {
@@ -30858,45 +30855,45 @@ function Overflow(props, ref) {
30858
30855
  Component = _props$component === void 0 ? 'div' : _props$component,
30859
30856
  itemComponent = props.itemComponent,
30860
30857
  onVisibleChange = props.onVisibleChange,
30861
- restProps = objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]);
30858
+ restProps = esm_objectWithoutProperties_objectWithoutProperties(props, ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"]);
30862
30859
 
30863
30860
  var createUseState = useBatchFrameState();
30864
30861
  var fullySSR = ssr === 'full';
30865
30862
 
30866
30863
  var _createUseState = createUseState(null),
30867
- _createUseState2 = slicedToArray_slicedToArray(_createUseState, 2),
30864
+ _createUseState2 = esm_slicedToArray_slicedToArray(_createUseState, 2),
30868
30865
  containerWidth = _createUseState2[0],
30869
30866
  setContainerWidth = _createUseState2[1];
30870
30867
 
30871
30868
  var mergedContainerWidth = containerWidth || 0;
30872
30869
 
30873
30870
  var _createUseState3 = createUseState(new Map()),
30874
- _createUseState4 = slicedToArray_slicedToArray(_createUseState3, 2),
30871
+ _createUseState4 = esm_slicedToArray_slicedToArray(_createUseState3, 2),
30875
30872
  itemWidths = _createUseState4[0],
30876
30873
  setItemWidths = _createUseState4[1];
30877
30874
 
30878
30875
  var _createUseState5 = createUseState(0),
30879
- _createUseState6 = slicedToArray_slicedToArray(_createUseState5, 2),
30876
+ _createUseState6 = esm_slicedToArray_slicedToArray(_createUseState5, 2),
30880
30877
  prevRestWidth = _createUseState6[0],
30881
30878
  setPrevRestWidth = _createUseState6[1];
30882
30879
 
30883
30880
  var _createUseState7 = createUseState(0),
30884
- _createUseState8 = slicedToArray_slicedToArray(_createUseState7, 2),
30881
+ _createUseState8 = esm_slicedToArray_slicedToArray(_createUseState7, 2),
30885
30882
  restWidth = _createUseState8[0],
30886
30883
  setRestWidth = _createUseState8[1];
30887
30884
 
30888
30885
  var _createUseState9 = createUseState(0),
30889
- _createUseState10 = slicedToArray_slicedToArray(_createUseState9, 2),
30886
+ _createUseState10 = esm_slicedToArray_slicedToArray(_createUseState9, 2),
30890
30887
  suffixWidth = _createUseState10[0],
30891
30888
  setSuffixWidth = _createUseState10[1];
30892
30889
 
30893
30890
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(null),
30894
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
30891
+ _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
30895
30892
  suffixFixedStart = _useState2[0],
30896
30893
  setSuffixFixedStart = _useState2[1];
30897
30894
 
30898
30895
  var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(null),
30899
- _useState4 = slicedToArray_slicedToArray(_useState3, 2),
30896
+ _useState4 = esm_slicedToArray_slicedToArray(_useState3, 2),
30900
30897
  displayCount = _useState4[0],
30901
30898
  setDisplayCount = _useState4[1];
30902
30899
 
@@ -30909,7 +30906,7 @@ function Overflow(props, ref) {
30909
30906
  }, [displayCount, containerWidth]);
30910
30907
 
30911
30908
  var _useState5 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
30912
- _useState6 = slicedToArray_slicedToArray(_useState5, 2),
30909
+ _useState6 = esm_slicedToArray_slicedToArray(_useState5, 2),
30913
30910
  restReady = _useState6[0],
30914
30911
  setRestReady = _useState6[1];
30915
30912
 
@@ -31332,7 +31329,7 @@ var SelectSelector = function SelectSelector(props) {
31332
31329
 
31333
31330
  function defaultRenderSelector(title, content, itemDisabled, closable, onClose) {
31334
31331
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
31335
- className: classnames_default()("".concat(selectionPrefixCls, "-item"), defineProperty_defineProperty({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
31332
+ className: classnames_default()("".concat(selectionPrefixCls, "-item"), _defineProperty({}, "".concat(selectionPrefixCls, "-item-disabled"), itemDisabled)),
31336
31333
  title: typeof title === 'string' || typeof title === 'number' ? title.toString() : undefined
31337
31334
  }, /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("span", {
31338
31335
  className: "".concat(selectionPrefixCls, "-item-content")
@@ -31747,7 +31744,7 @@ var Selector = function Selector(props, ref) {
31747
31744
  onInputCompositionStart: onInputCompositionStart,
31748
31745
  onInputCompositionEnd: onInputCompositionEnd
31749
31746
  };
31750
- 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));
31747
+ 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));
31751
31748
  return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", {
31752
31749
  ref: domRef,
31753
31750
  className: "".concat(prefixCls, "-selector"),
@@ -33283,7 +33280,7 @@ function monitorResize(element, callback) {
33283
33280
  var prevHeight = null;
33284
33281
 
33285
33282
  function onResize(_ref) {
33286
- var _ref2 = slicedToArray_slicedToArray(_ref, 1),
33283
+ var _ref2 = esm_slicedToArray_slicedToArray(_ref, 1),
33287
33284
  target = _ref2[0].target;
33288
33285
 
33289
33286
  if (!document.documentElement.contains(target)) return;
@@ -33442,7 +33439,7 @@ var Align = function Align(_ref, ref) {
33442
33439
 
33443
33440
  return false;
33444
33441
  }, monitorBufferTime),
33445
- _useBuffer2 = slicedToArray_slicedToArray(_useBuffer, 2),
33442
+ _useBuffer2 = esm_slicedToArray_slicedToArray(_useBuffer, 2),
33446
33443
  _forceAlign = _useBuffer2[0],
33447
33444
  cancelForceAlign = _useBuffer2[1]; // ===================== Effect =====================
33448
33445
  // Listen for target updated
@@ -33530,6 +33527,45 @@ RcAlign.displayName = 'Align';
33530
33527
  // export this package's api
33531
33528
 
33532
33529
  /* harmony default export */ var rc_align_es = (es_Align);
33530
+ // EXTERNAL MODULE: ./node_modules/@babel/runtime/regenerator/index.js
33531
+ var runtime_regenerator = __webpack_require__(5273);
33532
+ var runtime_regenerator_default = /*#__PURE__*/__webpack_require__.n(runtime_regenerator);
33533
+ ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
33534
+ function esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
33535
+ try {
33536
+ var info = gen[key](arg);
33537
+ var value = info.value;
33538
+ } catch (error) {
33539
+ reject(error);
33540
+ return;
33541
+ }
33542
+
33543
+ if (info.done) {
33544
+ resolve(value);
33545
+ } else {
33546
+ Promise.resolve(value).then(_next, _throw);
33547
+ }
33548
+ }
33549
+
33550
+ function esm_asyncToGenerator_asyncToGenerator(fn) {
33551
+ return function () {
33552
+ var self = this,
33553
+ args = arguments;
33554
+ return new Promise(function (resolve, reject) {
33555
+ var gen = fn.apply(self, args);
33556
+
33557
+ function _next(value) {
33558
+ esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
33559
+ }
33560
+
33561
+ function _throw(err) {
33562
+ esm_asyncToGenerator_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
33563
+ }
33564
+
33565
+ _next(undefined);
33566
+ });
33567
+ };
33568
+ }
33533
33569
  ;// CONCATENATED MODULE: ./node_modules/rc-trigger/es/Popup/useVisibleStatus.js
33534
33570
 
33535
33571
 
@@ -33539,7 +33575,7 @@ RcAlign.displayName = 'Align';
33539
33575
  var StatusQueue = ['measure', 'align', null, 'motion'];
33540
33576
  /* harmony default export */ var useVisibleStatus = (function (visible, doMeasure) {
33541
33577
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(null),
33542
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
33578
+ _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
33543
33579
  status = _useState2[0],
33544
33580
  setInternalStatus = _useState2[1];
33545
33581
 
@@ -33592,7 +33628,7 @@ var StatusQueue = ['measure', 'align', null, 'motion'];
33592
33628
  }
33593
33629
 
33594
33630
  if (status) {
33595
- rafRef.current = wrapperRaf( /*#__PURE__*/asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
33631
+ rafRef.current = wrapperRaf( /*#__PURE__*/esm_asyncToGenerator_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee() {
33596
33632
  var index, nextStatus;
33597
33633
  return runtime_regenerator_default().wrap(function _callee$(_context) {
33598
33634
  while (1) {
@@ -33630,7 +33666,7 @@ var StatusQueue = ['measure', 'align', null, 'motion'];
33630
33666
  width: 0,
33631
33667
  height: 0
33632
33668
  }),
33633
- _React$useState2 = slicedToArray_slicedToArray(_React$useState, 2),
33669
+ _React$useState2 = esm_slicedToArray_slicedToArray(_React$useState, 2),
33634
33670
  targetSize = _React$useState2[0],
33635
33671
  setTargetSize = _React$useState2[1];
33636
33672
 
@@ -33701,13 +33737,13 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
33701
33737
  var elementRef = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useRef)();
33702
33738
 
33703
33739
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(),
33704
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
33740
+ _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
33705
33741
  alignedClassName = _useState2[0],
33706
33742
  setAlignedClassName = _useState2[1]; // ======================= Measure ========================
33707
33743
 
33708
33744
 
33709
33745
  var _useStretchStyle = useStretchStyle(stretch),
33710
- _useStretchStyle2 = slicedToArray_slicedToArray(_useStretchStyle, 2),
33746
+ _useStretchStyle2 = esm_slicedToArray_slicedToArray(_useStretchStyle, 2),
33711
33747
  stretchStyle = _useStretchStyle2[0],
33712
33748
  measureStretchStyle = _useStretchStyle2[1];
33713
33749
 
@@ -33719,7 +33755,7 @@ var PopupInner = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React
33719
33755
 
33720
33756
 
33721
33757
  var _useVisibleStatus = useVisibleStatus(visible, doMeasure),
33722
- _useVisibleStatus2 = slicedToArray_slicedToArray(_useVisibleStatus, 2),
33758
+ _useVisibleStatus2 = esm_slicedToArray_slicedToArray(_useVisibleStatus, 2),
33723
33759
  status = _useVisibleStatus2[0],
33724
33760
  goNextStatus = _useVisibleStatus2[1]; // ======================== Aligns ========================
33725
33761
 
@@ -33933,15 +33969,15 @@ var Popup_excluded = ["visible", "mobile"];
33933
33969
  var Popup = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.forwardRef(function (_ref, ref) {
33934
33970
  var visible = _ref.visible,
33935
33971
  mobile = _ref.mobile,
33936
- props = objectWithoutProperties_objectWithoutProperties(_ref, Popup_excluded);
33972
+ props = esm_objectWithoutProperties_objectWithoutProperties(_ref, Popup_excluded);
33937
33973
 
33938
33974
  var _useState = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(visible),
33939
- _useState2 = slicedToArray_slicedToArray(_useState, 2),
33975
+ _useState2 = esm_slicedToArray_slicedToArray(_useState, 2),
33940
33976
  innerVisible = _useState2[0],
33941
33977
  serInnerVisible = _useState2[1];
33942
33978
 
33943
33979
  var _useState3 = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useState)(false),
33944
- _useState4 = slicedToArray_slicedToArray(_useState3, 2),
33980
+ _useState4 = esm_slicedToArray_slicedToArray(_useState3, 2),
33945
33981
  inMobile = _useState4[0],
33946
33982
  setInMobile = _useState4[1];
33947
33983
 
@@ -34850,7 +34886,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
34850
34886
  empty = props.empty,
34851
34887
  getTriggerDOMNode = props.getTriggerDOMNode,
34852
34888
  onPopupVisibleChange = props.onPopupVisibleChange,
34853
- restProps = objectWithoutProperties_objectWithoutProperties(props, SelectTrigger_excluded);
34889
+ restProps = _objectWithoutProperties(props, SelectTrigger_excluded);
34854
34890
 
34855
34891
  var dropdownPrefixCls = "".concat(prefixCls, "-dropdown");
34856
34892
  var popupNode = popupElement;
@@ -34874,7 +34910,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
34874
34910
  };
34875
34911
  });
34876
34912
 
34877
- var popupStyle = objectSpread2_objectSpread2({
34913
+ var popupStyle = _objectSpread2({
34878
34914
  minWidth: containerWidth
34879
34915
  }, dropdownStyle);
34880
34916
 
@@ -34884,7 +34920,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
34884
34920
  popupStyle.width = containerWidth;
34885
34921
  }
34886
34922
 
34887
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, esm_extends_extends({}, restProps, {
34923
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_trigger_es, extends_extends({}, restProps, {
34888
34924
  showAction: onPopupVisibleChange ? ['click'] : [],
34889
34925
  hideAction: onPopupVisibleChange ? ['click'] : [],
34890
34926
  popupPlacement: placement || (direction === 'rtl' ? 'bottomRight' : 'bottomLeft'),
@@ -34897,7 +34933,7 @@ var SelectTrigger = function SelectTrigger(props, ref) {
34897
34933
  popupAlign: dropdownAlign,
34898
34934
  popupVisible: visible,
34899
34935
  getPopupContainer: getPopupContainer,
34900
- popupClassName: classnames_default()(dropdownClassName, defineProperty_defineProperty({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
34936
+ popupClassName: classnames_default()(dropdownClassName, _defineProperty({}, "".concat(dropdownPrefixCls, "-empty"), empty)),
34901
34937
  popupStyle: popupStyle,
34902
34938
  getTriggerDOMNode: getTriggerDOMNode,
34903
34939
  onPopupVisibleChange: onPopupVisibleChange
@@ -35000,7 +35036,7 @@ function useCacheDisplayValue(values) {
35000
35036
  var cacheLabel = valueLabels.get(item.value);
35001
35037
 
35002
35038
  if (item.isCacheable && cacheLabel) {
35003
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, item), {}, {
35039
+ return _objectSpread2(_objectSpread2({}, item), {}, {
35004
35040
  label: cacheLabel
35005
35041
  });
35006
35042
  }
@@ -35162,7 +35198,7 @@ function generateSelector(config) {
35162
35198
  onClear = props.onClear,
35163
35199
  _props$internalProps = props.internalProps,
35164
35200
  internalProps = _props$internalProps === void 0 ? {} : _props$internalProps,
35165
- restProps = objectWithoutProperties_objectWithoutProperties(props, generate_excluded);
35201
+ restProps = _objectWithoutProperties(props, generate_excluded);
35166
35202
 
35167
35203
  var useInternalProps = internalProps.mark === INTERNAL_PROPS_MARK;
35168
35204
  var domProps = omitDOMProps ? omitDOMProps(restProps) : restProps;
@@ -35300,7 +35336,7 @@ function generateSelector(config) {
35300
35336
 
35301
35337
  var displayOptions = (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useMemo)(function () {
35302
35338
  if (!mergedSearchValue || !mergedShowSearch) {
35303
- return toConsumableArray_toConsumableArray(mergedOptions);
35339
+ return _toConsumableArray(mergedOptions);
35304
35340
  }
35305
35341
 
35306
35342
  var filteredOptions = filterOptions(mergedSearchValue, mergedOptions, {
@@ -35321,7 +35357,7 @@ function generateSelector(config) {
35321
35357
  }
35322
35358
 
35323
35359
  if (filterSort && Array.isArray(filteredOptions)) {
35324
- return toConsumableArray_toConsumableArray(filteredOptions).sort(filterSort);
35360
+ return _toConsumableArray(filteredOptions).sort(filterSort);
35325
35361
  }
35326
35362
 
35327
35363
  return filteredOptions;
@@ -35344,7 +35380,7 @@ function generateSelector(config) {
35344
35380
  labelInValue: mergedLabelInValue,
35345
35381
  optionLabelProp: mergedOptionLabelProp
35346
35382
  });
35347
- return objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, displayValue), {}, {
35383
+ return _objectSpread2(_objectSpread2({}, displayValue), {}, {
35348
35384
  disabled: isValueDisabled(val, valueOptions)
35349
35385
  });
35350
35386
  });
@@ -35418,7 +35454,7 @@ function generateSelector(config) {
35418
35454
  }); // We will cache option in case it removed by ajax
35419
35455
 
35420
35456
  setPrevValueOptions(outOptions.map(function (option, index) {
35421
- var clone = objectSpread2_objectSpread2({}, option);
35457
+ var clone = _objectSpread2({}, option);
35422
35458
 
35423
35459
  Object.defineProperty(clone, '_INTERNAL_OPTION_VALUE_', {
35424
35460
  get: function get() {
@@ -35474,13 +35510,13 @@ function generateSelector(config) {
35474
35510
  };
35475
35511
 
35476
35512
  var onInternalOptionSelect = function onInternalOptionSelect(newValue, info) {
35477
- onInternalSelect(newValue, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
35513
+ onInternalSelect(newValue, _objectSpread2(_objectSpread2({}, info), {}, {
35478
35514
  source: 'option'
35479
35515
  }));
35480
35516
  };
35481
35517
 
35482
35518
  var onInternalSelectionSelect = function onInternalSelectionSelect(newValue, info) {
35483
- onInternalSelect(newValue, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, info), {}, {
35519
+ onInternalSelect(newValue, _objectSpread2(_objectSpread2({}, info), {}, {
35484
35520
  source: 'selection'
35485
35521
  }));
35486
35522
  }; // ============================= Input ==============================
@@ -35564,7 +35600,7 @@ function generateSelector(config) {
35564
35600
  });
35565
35601
  }
35566
35602
 
35567
- var newRawValues = Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), toConsumableArray_toConsumableArray(patchRawValues))));
35603
+ var newRawValues = Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), _toConsumableArray(patchRawValues))));
35568
35604
  triggerChange(newRawValues);
35569
35605
  newRawValues.forEach(function (newRawValue) {
35570
35606
  triggerSelect(newRawValue, true, 'input');
@@ -35593,7 +35629,7 @@ function generateSelector(config) {
35593
35629
  return;
35594
35630
  }
35595
35631
 
35596
- var newRawValues = Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), [searchText])));
35632
+ var newRawValues = Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), [searchText])));
35597
35633
  triggerChange(newRawValues);
35598
35634
  newRawValues.forEach(function (newRawValue) {
35599
35635
  triggerSelect(newRawValue, true, 'input');
@@ -35726,7 +35762,7 @@ function generateSelector(config) {
35726
35762
  // `tags` mode should move `searchValue` into values
35727
35763
  if (mode === 'tags') {
35728
35764
  triggerSearch('', false, false);
35729
- triggerChange(Array.from(new Set([].concat(toConsumableArray_toConsumableArray(mergedRawValue), [mergedSearchValue]))));
35765
+ triggerChange(Array.from(new Set([].concat(_toConsumableArray(mergedRawValue), [mergedSearchValue]))));
35730
35766
  } else if (mode === 'multiple') {
35731
35767
  // `multiple` mode only clean the search value but not trigger event
35732
35768
  setInnerSearchValue('');
@@ -35884,7 +35920,7 @@ function generateSelector(config) {
35884
35920
 
35885
35921
  if (mergedShowArrow) {
35886
35922
  arrowNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_TransBtn, {
35887
- className: classnames_default()("".concat(prefixCls, "-arrow"), defineProperty_defineProperty({}, "".concat(prefixCls, "-arrow-loading"), loading)),
35923
+ className: classnames_default()("".concat(prefixCls, "-arrow"), _defineProperty({}, "".concat(prefixCls, "-arrow-loading"), loading)),
35888
35924
  customizeIcon: inputIcon,
35889
35925
  customizeIconProps: {
35890
35926
  loading: loading,
@@ -35900,7 +35936,7 @@ function generateSelector(config) {
35900
35936
  if (false) {} // ============================= Render =============================
35901
35937
 
35902
35938
 
35903
- 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));
35939
+ 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));
35904
35940
  var selectorNode = /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_SelectTrigger, {
35905
35941
  ref: triggerRef,
35906
35942
  disabled: disabled,
@@ -35925,7 +35961,7 @@ function generateSelector(config) {
35925
35961
  onPopupVisibleChange: onTriggerVisibleChange
35926
35962
  }, customizeRawInputElement ? /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.cloneElement(customizeRawInputElement, {
35927
35963
  ref: composeRef(selectorDomRef, customizeRawInputElement.props.ref)
35928
- }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Selector, esm_extends_extends({}, props, {
35964
+ }) : /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(es_Selector, extends_extends({}, props, {
35929
35965
  domRef: selectorDomRef,
35930
35966
  prefixCls: prefixCls,
35931
35967
  inputElement: customizeInputElement,
@@ -35951,7 +35987,7 @@ function generateSelector(config) {
35951
35987
  return selectorNode;
35952
35988
  }
35953
35989
 
35954
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", esm_extends_extends({
35990
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement("div", extends_extends({
35955
35991
  className: mergedClassName
35956
35992
  }, domProps, {
35957
35993
  ref: containerRef,
@@ -36038,7 +36074,7 @@ function warningProps(props) {
36038
36074
  if (value !== undefined && value !== null) {
36039
36075
  var values = commonUtil_toArray(value);
36040
36076
  es_warning(!labelInValue || values.every(function (val) {
36041
- return esm_typeof_typeof(val) === 'object' && ('key' in val || 'value' in val);
36077
+ return typeof_typeof(val) === 'object' && ('key' in val || 'value' in val);
36042
36078
  }), '`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`');
36043
36079
  es_warning(!multiple || Array.isArray(value), '`value` should be array when `mode` is `multiple` or `tags`');
36044
36080
  } // Syntactic sugar should use correct children type
@@ -36152,14 +36188,14 @@ var RefSelect = generateSelector({
36152
36188
  */
36153
36189
 
36154
36190
  var Select = /*#__PURE__*/function (_React$Component) {
36155
- inherits_inherits(Select, _React$Component);
36191
+ _inherits(Select, _React$Component);
36156
36192
 
36157
- var _super = createSuper_createSuper(Select);
36193
+ var _super = _createSuper(Select);
36158
36194
 
36159
36195
  function Select() {
36160
36196
  var _this;
36161
36197
 
36162
- classCallCheck_classCallCheck(this, Select);
36198
+ _classCallCheck(this, Select);
36163
36199
 
36164
36200
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
36165
36201
  args[_key] = arguments[_key];
@@ -36179,10 +36215,10 @@ var Select = /*#__PURE__*/function (_React$Component) {
36179
36215
  return _this;
36180
36216
  }
36181
36217
 
36182
- createClass_createClass(Select, [{
36218
+ _createClass(Select, [{
36183
36219
  key: "render",
36184
36220
  value: function render() {
36185
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(RefSelect, esm_extends_extends({
36221
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(RefSelect, extends_extends({
36186
36222
  ref: this.selectRef
36187
36223
  }, this.props));
36188
36224
  }
@@ -36363,7 +36399,7 @@ var InternalSelect = function InternalSelect(_a, ref) {
36363
36399
  } // ===================== Icons =====================
36364
36400
 
36365
36401
 
36366
- var _getIcons = getIcons(esm_extends_extends(esm_extends_extends({}, props), {
36402
+ var _getIcons = getIcons(extends_extends(extends_extends({}, props), {
36367
36403
  multiple: isMultiple,
36368
36404
  prefixCls: prefixCls
36369
36405
  })),
@@ -36373,10 +36409,10 @@ var InternalSelect = function InternalSelect(_a, ref) {
36373
36409
  clearIcon = _getIcons.clearIcon;
36374
36410
 
36375
36411
  var selectProps = omit(props, ['suffixIcon', 'itemIcon']);
36376
- var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, defineProperty_defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
36412
+ var rcSelectRtlDropDownClassName = classnames_default()(dropdownClassName, _defineProperty({}, "".concat(prefixCls, "-dropdown-").concat(direction), direction === 'rtl'));
36377
36413
  var mergedSize = customizeSize || size;
36378
- 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);
36379
- return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, esm_extends_extends({
36414
+ 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);
36415
+ return /*#__PURE__*/external_commonjs_react_commonjs2_react_root_React_namespaceObject.createElement(rc_select_es, extends_extends({
36380
36416
  ref: ref,
36381
36417
  virtual: virtual,
36382
36418
  dropdownMatchSelectWidth: dropdownMatchSelectWidth
@@ -37243,10 +37279,10 @@ function getResourceLikesForLive(_x3, _x4) {
37243
37279
  } // 资源点赞
37244
37280
 
37245
37281
  function _getResourceLikesForLive() {
37246
- _getResourceLikesForLive = like_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee2(resId, type) {
37282
+ _getResourceLikesForLive = like_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee2(resId, type) {
37247
37283
  var _yield$xProxy$get2, data;
37248
37284
 
37249
- return runtime_regenerator_default().wrap(function _callee2$(_context2) {
37285
+ return regenerator_default().wrap(function _callee2$(_context2) {
37250
37286
  while (1) {
37251
37287
  switch (_context2.prev = _context2.next) {
37252
37288
  case 0:
@@ -37277,10 +37313,10 @@ function postResourceLikes(_x5) {
37277
37313
  }
37278
37314
 
37279
37315
  function _postResourceLikes() {
37280
- _postResourceLikes = like_asyncToGenerator( /*#__PURE__*/runtime_regenerator_default().mark(function _callee3(resId) {
37316
+ _postResourceLikes = like_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee3(resId) {
37281
37317
  var type,
37282
37318
  _args3 = arguments;
37283
- return runtime_regenerator_default().wrap(function _callee3$(_context3) {
37319
+ return regenerator_default().wrap(function _callee3$(_context3) {
37284
37320
  while (1) {
37285
37321
  switch (_context3.prev = _context3.next) {
37286
37322
  case 0:
@@ -37884,14 +37920,8 @@ function PublicLiveDetail(_ref) {
37884
37920
  onReportProgress = _ref$onReportProgress === void 0 ? function () {} : _ref$onReportProgress,
37885
37921
  _ref$onReportTeacherT = _ref.onReportTeacherTrain,
37886
37922
  onReportTeacherTrain = _ref$onReportTeacherT === void 0 ? function () {} : _ref$onReportTeacherT,
37887
- _ref$onSensorsPublicL = _ref.onSensorsPublicLiveDetailFullscreenClick,
37888
- onSensorsPublicLiveDetailFullscreenClick = _ref$onSensorsPublicL === void 0 ? function () {} : _ref$onSensorsPublicL,
37889
- _ref$onSensorsPublicL2 = _ref.onSensorsPublicLiveDetailPage,
37890
- onSensorsPublicLiveDetailPage = _ref$onSensorsPublicL2 === void 0 ? function () {} : _ref$onSensorsPublicL2,
37891
- _ref$onSensorsPublicL3 = _ref.onSensorsPublicLiveDetailPlayClick,
37892
- onSensorsPublicLiveDetailPlayClick = _ref$onSensorsPublicL3 === void 0 ? function () {} : _ref$onSensorsPublicL3,
37893
- _ref$onSensorsPublicL4 = _ref.onSensorsPublicLiveDetailReplayClick,
37894
- onSensorsPublicLiveDetailReplayClick = _ref$onSensorsPublicL4 === void 0 ? function () {} : _ref$onSensorsPublicL4;
37923
+ _ref$onSendSensors = _ref.onSendSensors,
37924
+ onSendSensors = _ref$onSendSensors === void 0 ? function () {} : _ref$onSendSensors;
37895
37925
  setUC(uc, loginInfo === null || loginInfo === void 0 ? void 0 : loginInfo.userInfo);
37896
37926
 
37897
37927
  if (propSdpAppId) {
@@ -38192,7 +38222,7 @@ function PublicLiveDetail(_ref) {
38192
38222
  }, [userInfo]);
38193
38223
  (0,external_commonjs_react_commonjs2_react_root_React_namespaceObject.useEffect)(function () {
38194
38224
  if (loginStatus !== LOGIN_STATUS.WAIT && liveInfo) {
38195
- onSensorsPublicLiveDetailPage({
38225
+ onSendSensors({
38196
38226
  pageName: TrackPageName,
38197
38227
  eventName: 'TCH_webPlatform_publiclive_detail_page',
38198
38228
  params: {
@@ -38223,7 +38253,7 @@ function PublicLiveDetail(_ref) {
38223
38253
 
38224
38254
  var handlePlayReplay = function handlePlayReplay(needReport) {
38225
38255
  if (needReport) {
38226
- onSensorsPublicLiveDetailReplayClick({
38256
+ onSendSensors({
38227
38257
  pageName: TrackPageName,
38228
38258
  eventName: 'TCH_webPlatform_publiclive_detail_replay_click',
38229
38259
  params: {
@@ -38239,7 +38269,7 @@ function PublicLiveDetail(_ref) {
38239
38269
  };
38240
38270
 
38241
38271
  var handleRequestFullScreen = function handleRequestFullScreen() {
38242
- onSensorsPublicLiveDetailFullscreenClick({
38272
+ onSendSensors({
38243
38273
  pageName: TrackPageName,
38244
38274
  eventName: 'TCH_webPlatform_publiclive_detail_fullscreen_click'
38245
38275
  });
@@ -38247,7 +38277,7 @@ function PublicLiveDetail(_ref) {
38247
38277
 
38248
38278
  var handleVideoPlay = function handleVideoPlay(needReport) {
38249
38279
  if (needReport) {
38250
- onSensorsPublicLiveDetailPlayClick({
38280
+ onSendSensors({
38251
38281
  pageName: TrackPageName,
38252
38282
  eventName: 'TCH_webPlatform_publiclive_detail_play_click',
38253
38283
  params: {
@@ -38345,6 +38375,44 @@ function PublicLiveDetail(_ref) {
38345
38375
  alt: ""
38346
38376
  })))));
38347
38377
  }
38378
+ ;// CONCATENATED MODULE: ./src/lib/getLiveOnlineCount.js
38379
+
38380
+
38381
+ function getLiveOnlineCount_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); } }
38382
+
38383
+ function getLiveOnlineCount_asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { getLiveOnlineCount_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { getLiveOnlineCount_asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
38384
+
38385
+
38386
+ var getLiveOnlineCount_ResourceType = 'open_live';
38387
+ function getLiveOnlineCount(_x) {
38388
+ return _getLiveOnlineCount.apply(this, arguments);
38389
+ }
38390
+
38391
+ function _getLiveOnlineCount() {
38392
+ _getLiveOnlineCount = getLiveOnlineCount_asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee(liveId) {
38393
+ var likesData, count, currentCount;
38394
+ return regenerator_default().wrap(function _callee$(_context) {
38395
+ while (1) {
38396
+ switch (_context.prev = _context.next) {
38397
+ case 0:
38398
+ _context.next = 2;
38399
+ return getResourceLikesForLive(liveId, getLiveOnlineCount_ResourceType);
38400
+
38401
+ case 2:
38402
+ likesData = _context.sent;
38403
+ count = (likesData === null || likesData === void 0 ? void 0 : likesData.open_live_count) || 0;
38404
+ currentCount = count === 0 ? 1 : count;
38405
+ return _context.abrupt("return", currentCount);
38406
+
38407
+ case 6:
38408
+ case "end":
38409
+ return _context.stop();
38410
+ }
38411
+ }
38412
+ }, _callee);
38413
+ }));
38414
+ return _getLiveOnlineCount.apply(this, arguments);
38415
+ }
38348
38416
  ;// CONCATENATED MODULE: ./src/App.jsx
38349
38417
 
38350
38418
 
@@ -38354,12 +38422,16 @@ function PublicLiveDetail(_ref) {
38354
38422
 
38355
38423
 
38356
38424
 
38425
+
38357
38426
  es_icon.url = '/fish/icon/umd-4.1.2.js';
38358
38427
  dayjs_min_default().extend((isSameOrAfter_default()));
38359
38428
  dayjs_min_default().extend((isSameOrBefore_default()));
38360
38429
  dayjs_min_default().extend(parseAdapter);
38361
38430
  dayjs_min_default().locale('zh-cn');
38362
- /* harmony default export */ var App = (PublicLiveDetail);
38431
+ /* harmony default export */ var App = ({
38432
+ PublicLiveDetail: PublicLiveDetail,
38433
+ getLiveOnlineCount: getLiveOnlineCount
38434
+ });
38363
38435
  ;// CONCATENATED MODULE: ./node_modules/@gem-mine/script/lib/commands/build/entry-lib.js
38364
38436
 
38365
38437
  // eslint-disable-line