seeder-st2110-components 1.7.2 → 1.7.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.
package/dist/index.esm.js CHANGED
@@ -5,15 +5,15 @@ import { useWebSocket, useInterval } from 'ahooks';
5
5
  import { LoadingOutlined, ExclamationCircleFilled, PlusOutlined } from '@ant-design/icons';
6
6
  import axios from 'axios';
7
7
 
8
- function _defineProperty(e, r, t) {
9
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
8
+ function _defineProperty$1(e, r, t) {
9
+ return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
10
10
  value: t,
11
11
  enumerable: !0,
12
12
  configurable: !0,
13
13
  writable: !0
14
14
  }) : e[r] = t, e;
15
15
  }
16
- function ownKeys(e, r) {
16
+ function ownKeys$1(e, r) {
17
17
  var t = Object.keys(e);
18
18
  if (Object.getOwnPropertySymbols) {
19
19
  var o = Object.getOwnPropertySymbols(e);
@@ -23,29 +23,29 @@ function ownKeys(e, r) {
23
23
  }
24
24
  return t;
25
25
  }
26
- function _objectSpread2(e) {
26
+ function _objectSpread2$1(e) {
27
27
  for (var r = 1; r < arguments.length; r++) {
28
28
  var t = null != arguments[r] ? arguments[r] : {};
29
- r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
30
- _defineProperty(e, r, t[r]);
31
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
29
+ r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) {
30
+ _defineProperty$1(e, r, t[r]);
31
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) {
32
32
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
33
33
  });
34
34
  }
35
35
  return e;
36
36
  }
37
- function _objectWithoutProperties(e, t) {
37
+ function _objectWithoutProperties$1(e, t) {
38
38
  if (null == e) return {};
39
39
  var o,
40
40
  r,
41
- i = _objectWithoutPropertiesLoose(e, t);
41
+ i = _objectWithoutPropertiesLoose$1(e, t);
42
42
  if (Object.getOwnPropertySymbols) {
43
43
  var n = Object.getOwnPropertySymbols(e);
44
44
  for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
45
45
  }
46
46
  return i;
47
47
  }
48
- function _objectWithoutPropertiesLoose(r, e) {
48
+ function _objectWithoutPropertiesLoose$1(r, e) {
49
49
  if (null == r) return {};
50
50
  var t = {};
51
51
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
@@ -54,7 +54,7 @@ function _objectWithoutPropertiesLoose(r, e) {
54
54
  }
55
55
  return t;
56
56
  }
57
- function _toPrimitive(t, r) {
57
+ function _toPrimitive$1(t, r) {
58
58
  if ("object" != typeof t || !t) return t;
59
59
  var e = t[Symbol.toPrimitive];
60
60
  if (void 0 !== e) {
@@ -64,8 +64,8 @@ function _toPrimitive(t, r) {
64
64
  }
65
65
  return ("string" === r ? String : Number)(t);
66
66
  }
67
- function _toPropertyKey(t) {
68
- var i = _toPrimitive(t, "string");
67
+ function _toPropertyKey$1(t) {
68
+ var i = _toPrimitive$1(t, "string");
69
69
  return "symbol" == typeof i ? i : i + "";
70
70
  }
71
71
 
@@ -112,7 +112,7 @@ const useHardwareWebSocket = socketUrl => {
112
112
  const handleMessage = useCallback(message => {
113
113
  try {
114
114
  if (message) {
115
- setSystemStatus(prev => _objectSpread2(_objectSpread2({}, prev), message));
115
+ setSystemStatus(prev => _objectSpread2$1(_objectSpread2$1({}, prev), message));
116
116
  }
117
117
  } catch (error) {
118
118
  console.error('Message processing error:', error);
@@ -207,7 +207,7 @@ const getItems = details => {
207
207
  items.push(createMetricItem('CPU Temperature', 'seeder-icon-CPUwendu', details.cpu_temp, '℃'));
208
208
  }
209
209
  if (details.mem_usage !== null && details.mem_usage !== undefined) {
210
- items.push(_objectSpread2(_objectSpread2({}, createMetricItem('Memory Usage', 'seeder-icon-shiyongshuai', details.mem_usage, '%')), {}, {
210
+ items.push(_objectSpread2$1(_objectSpread2$1({}, createMetricItem('Memory Usage', 'seeder-icon-shiyongshuai', details.mem_usage, '%')), {}, {
211
211
  memTotal: details.mem_total
212
212
  }));
213
213
  }
@@ -251,15 +251,15 @@ const useHardwareUsage = socketUrl => {
251
251
  };
252
252
  var useHardwareUsage$1 = useHardwareUsage;
253
253
 
254
- const _excluded$2 = ["width", "okText", "cancelText", "styles"];
255
- const StyledModal = props => {
254
+ const _excluded$3 = ["width", "okText", "cancelText", "styles"];
255
+ const StyledModal$2 = props => {
256
256
  const {
257
257
  width = "520px",
258
258
  okText = "Apply",
259
259
  cancelText = "Close",
260
260
  styles: propStyles = {}
261
261
  } = props,
262
- restProps = _objectWithoutProperties(props, _excluded$2);
262
+ restProps = _objectWithoutProperties$1(props, _excluded$3);
263
263
 
264
264
  // 基础样式配置
265
265
  const baseStyles = {
@@ -287,15 +287,15 @@ const StyledModal = props => {
287
287
  };
288
288
 
289
289
  // 合并样式
290
- const styles = _objectSpread2(_objectSpread2({}, baseStyles), propStyles);
291
- return /*#__PURE__*/jsx(Modal, _objectSpread2({
290
+ const styles = _objectSpread2$1(_objectSpread2$1({}, baseStyles), propStyles);
291
+ return /*#__PURE__*/jsx(Modal, _objectSpread2$1({
292
292
  width: width,
293
293
  okText: okText,
294
294
  cancelText: cancelText,
295
295
  styles: styles
296
296
  }, restProps));
297
297
  };
298
- var StyledModal$1 = StyledModal;
298
+ var StyledModal$3 = StyledModal$2;
299
299
 
300
300
  const AuthorizationModal = _ref => {
301
301
  let {
@@ -335,7 +335,7 @@ const AuthorizationModal = _ref => {
335
335
  showIcon: true
336
336
  });
337
337
  const defaultOkText = isActivated ? "Reactivate" : "Activate Now";
338
- return /*#__PURE__*/jsx(StyledModal$1, {
338
+ return /*#__PURE__*/jsx(StyledModal$3, {
339
339
  title: title,
340
340
  width: width,
341
341
  open: true,
@@ -830,6 +830,70 @@ const useSystemOperations = function () {
830
830
  };
831
831
  var useSystemOperations$1 = useSystemOperations;
832
832
 
833
+ const usePageReload = () => {
834
+ const [reloading, setReloading] = useState(false);
835
+ const startReload = useCallback(function () {
836
+ let delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 800;
837
+ if (reloading) return; // 防止重复触发
838
+
839
+ // 显示遮罩
840
+ setReloading(true);
841
+
842
+ // 设置背景色
843
+ document.body.style.backgroundColor = '#282828';
844
+ document.body.style.transition = 'background-color 0.1s';
845
+ document.body.offsetHeight;
846
+
847
+ // 延迟刷新
848
+ const timer = setTimeout(() => {
849
+ window.location.reload();
850
+ }, delay);
851
+
852
+ // 清理函数(防止内存泄漏)
853
+ return () => clearTimeout(timer);
854
+ }, [reloading]);
855
+ const ReloadOverlay = () => {
856
+ if (!reloading) return null;
857
+ return /*#__PURE__*/jsxs("div", {
858
+ style: {
859
+ position: 'fixed',
860
+ top: 0,
861
+ left: 0,
862
+ right: 0,
863
+ bottom: 0,
864
+ backgroundColor: '#282828',
865
+ display: 'flex',
866
+ flexDirection: 'column',
867
+ alignItems: 'center',
868
+ justifyContent: 'center',
869
+ zIndex: 999999,
870
+ color: 'white'
871
+ },
872
+ children: [/*#__PURE__*/jsx(Spin, {
873
+ size: "large"
874
+ }), /*#__PURE__*/jsx("div", {
875
+ style: {
876
+ marginTop: 20,
877
+ fontSize: 16
878
+ },
879
+ children: "Loading preset configuration..."
880
+ }), /*#__PURE__*/jsx("div", {
881
+ style: {
882
+ marginTop: 10,
883
+ fontSize: 12,
884
+ color: '#aaa'
885
+ },
886
+ children: "Page will refresh shortly"
887
+ })]
888
+ });
889
+ };
890
+ return {
891
+ startReload,
892
+ ReloadOverlay
893
+ };
894
+ };
895
+ var usePageReload$1 = usePageReload;
896
+
833
897
  const NetworkFieldGroup = _ref => {
834
898
  var _fieldConfig$netmask$, _fieldConfig$netmask;
835
899
  let {
@@ -852,7 +916,7 @@ const NetworkFieldGroup = _ref => {
852
916
  enabled: true
853
917
  }
854
918
  };
855
- const mergedFieldConfig = _objectSpread2(_objectSpread2(_objectSpread2({}, defaultFieldConfig), fieldConfig), {}, {
919
+ const mergedFieldConfig = _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, defaultFieldConfig), fieldConfig), {}, {
856
920
  netmask: {
857
921
  label: "Netmask",
858
922
  enabled: (_fieldConfig$netmask$ = (_fieldConfig$netmask = fieldConfig.netmask) === null || _fieldConfig$netmask === void 0 ? void 0 : _fieldConfig$netmask.enabled) !== null && _fieldConfig$netmask$ !== void 0 ? _fieldConfig$netmask$ : defaultFieldConfig.netmask.enabled // 合并 enabled
@@ -928,18 +992,18 @@ const NetworkSettingsModal = _ref2 => {
928
992
  hasInitialized: false
929
993
  });
930
994
  const preparedFieldConfig = useMemo(() => {
931
- const config = _objectSpread2({}, fieldConfig);
995
+ const config = _objectSpread2$1({}, fieldConfig);
932
996
 
933
997
  // 确保LAN和QSFP的配置存在
934
998
  config.LAN = config.LAN || {};
935
999
  config.QSFP = config.QSFP || {};
936
1000
  if (sections.includes('LAN')) {
937
- config.LAN.netmask = _objectSpread2(_objectSpread2({}, config.LAN.netmask || {}), {}, {
1001
+ config.LAN.netmask = _objectSpread2$1(_objectSpread2$1({}, config.LAN.netmask || {}), {}, {
938
1002
  enabled: showNetmask.LAN
939
1003
  });
940
1004
  }
941
1005
  if (sections.includes('QSFP')) {
942
- config.QSFP.netmask = _objectSpread2(_objectSpread2({}, config.QSFP.netmask || {}), {}, {
1006
+ config.QSFP.netmask = _objectSpread2$1(_objectSpread2$1({}, config.QSFP.netmask || {}), {}, {
943
1007
  enabled: showNetmask.QSFP
944
1008
  });
945
1009
  }
@@ -1009,7 +1073,7 @@ const NetworkSettingsModal = _ref2 => {
1009
1073
  const initialValues = useMemo(() => {
1010
1074
  const values = {};
1011
1075
  if (sections.includes('LAN') && lanConfigs.length > 0) {
1012
- values.LAN = lanConfigs.map(config => _objectSpread2({
1076
+ values.LAN = lanConfigs.map(config => _objectSpread2$1({
1013
1077
  connection_id: config.connection_id,
1014
1078
  display_name: config.display_name,
1015
1079
  ip_address: config.ip_address
@@ -1018,7 +1082,7 @@ const NetworkSettingsModal = _ref2 => {
1018
1082
  } : {}));
1019
1083
  }
1020
1084
  if (sections.includes('QSFP') && st2110Interfaces.length > 0) {
1021
- values.QSFP = st2110Interfaces.map(iface => _objectSpread2(_objectSpread2({}, iface.id !== undefined && {
1085
+ values.QSFP = st2110Interfaces.map(iface => _objectSpread2$1(_objectSpread2$1({}, iface.id !== undefined && {
1022
1086
  id: iface.id
1023
1087
  }), {}, {
1024
1088
  display_name: iface.display_name,
@@ -1087,7 +1151,7 @@ const NetworkSettingsModal = _ref2 => {
1087
1151
  if (sections.includes('LAN') && values.LAN) {
1088
1152
  const lanData = values.LAN.map((item, index) => {
1089
1153
  var _lanConfigs$index;
1090
- return _objectSpread2({
1154
+ return _objectSpread2$1({
1091
1155
  connection_id: (_lanConfigs$index = lanConfigs[index]) === null || _lanConfigs$index === void 0 ? void 0 : _lanConfigs$index.connection_id,
1092
1156
  ip_address: item.ip_address
1093
1157
  }, showNetmask.LAN ? {
@@ -1101,7 +1165,7 @@ const NetworkSettingsModal = _ref2 => {
1101
1165
  if (sections.includes('QSFP') && values.QSFP) {
1102
1166
  const interfacesData = values.QSFP.map((item, index) => {
1103
1167
  var _st2110Interfaces$ind, _st2110Interfaces$ind2, _st2110Interfaces$ind3;
1104
- return _objectSpread2(_objectSpread2(_objectSpread2({}, (st2110Interfaces === null || st2110Interfaces === void 0 || (_st2110Interfaces$ind = st2110Interfaces[index]) === null || _st2110Interfaces$ind === void 0 ? void 0 : _st2110Interfaces$ind.id) !== undefined && {
1168
+ return _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, (st2110Interfaces === null || st2110Interfaces === void 0 || (_st2110Interfaces$ind = st2110Interfaces[index]) === null || _st2110Interfaces$ind === void 0 ? void 0 : _st2110Interfaces$ind.id) !== undefined && {
1105
1169
  id: st2110Interfaces === null || st2110Interfaces === void 0 || (_st2110Interfaces$ind2 = st2110Interfaces[index]) === null || _st2110Interfaces$ind2 === void 0 ? void 0 : _st2110Interfaces$ind2.id
1106
1170
  }), (st2110Interfaces === null || st2110Interfaces === void 0 || (_st2110Interfaces$ind3 = st2110Interfaces[index]) === null || _st2110Interfaces$ind3 === void 0 ? void 0 : _st2110Interfaces$ind3.ip) !== undefined ? {
1107
1171
  ip: item.ip_address
@@ -1133,7 +1197,7 @@ const NetworkSettingsModal = _ref2 => {
1133
1197
  }, [form, sections, lanConfigs, st2110Interfaces, updateLanConfig, updateSysConfig, handleSuccess]);
1134
1198
 
1135
1199
  // 合并默认模态框属性和传入的属性
1136
- const mergedModalProps = _objectSpread2({
1200
+ const mergedModalProps = _objectSpread2$1({
1137
1201
  title: "Network Settings",
1138
1202
  width: 650,
1139
1203
  open,
@@ -1148,7 +1212,7 @@ const NetworkSettingsModal = _ref2 => {
1148
1212
  }, modalProps);
1149
1213
 
1150
1214
  // 合并默认表单属性和传入的属性
1151
- const mergedFormProps = _objectSpread2({
1215
+ const mergedFormProps = _objectSpread2$1({
1152
1216
  form: form,
1153
1217
  labelCol: {
1154
1218
  span: 6
@@ -1158,8 +1222,8 @@ const NetworkSettingsModal = _ref2 => {
1158
1222
  },
1159
1223
  autoComplete: "off"
1160
1224
  }, formProps);
1161
- return /*#__PURE__*/jsxs(StyledModal$1, _objectSpread2(_objectSpread2({}, mergedModalProps), {}, {
1162
- children: [/*#__PURE__*/jsxs(Form, _objectSpread2(_objectSpread2({}, mergedFormProps), {}, {
1225
+ return /*#__PURE__*/jsxs(StyledModal$3, _objectSpread2$1(_objectSpread2$1({}, mergedModalProps), {}, {
1226
+ children: [/*#__PURE__*/jsxs(Form, _objectSpread2$1(_objectSpread2$1({}, mergedFormProps), {}, {
1163
1227
  children: [sections.includes('LAN') && lanConfigs.length > 0 && /*#__PURE__*/jsxs(Fragment, {
1164
1228
  children: [/*#__PURE__*/jsx(NetworkFieldGroup, {
1165
1229
  prefix: "LAN",
@@ -1281,7 +1345,7 @@ function convertPtpStatusToArray(ptpStatus, fieldConfigs, fieldOrder) {
1281
1345
  formType: 'text'
1282
1346
  };
1283
1347
  const value = ptpStatus[key];
1284
- return _objectSpread2(_objectSpread2({
1348
+ return _objectSpread2$1(_objectSpread2$1({
1285
1349
  key,
1286
1350
  value
1287
1351
  }, config), {}, {
@@ -1393,7 +1457,7 @@ const PtpModal = _ref => {
1393
1457
  if (!open || !ptpStatus) return null;
1394
1458
 
1395
1459
  // 合并默认模态框属性和传入的属性
1396
- const mergedModalProps = _objectSpread2({
1460
+ const mergedModalProps = _objectSpread2$1({
1397
1461
  title: "PTP",
1398
1462
  width: 650,
1399
1463
  open,
@@ -1405,7 +1469,7 @@ const PtpModal = _ref => {
1405
1469
  }, modalProps);
1406
1470
 
1407
1471
  // 合并默认表单属性和传入的属性
1408
- const mergedFormProps = _objectSpread2({
1472
+ const mergedFormProps = _objectSpread2$1({
1409
1473
  form: form,
1410
1474
  name: "ptpForm",
1411
1475
  labelCol: {
@@ -1416,8 +1480,8 @@ const PtpModal = _ref => {
1416
1480
  },
1417
1481
  autoComplete: "off"
1418
1482
  }, formProps);
1419
- return /*#__PURE__*/jsx(StyledModal$1, _objectSpread2(_objectSpread2({}, mergedModalProps), {}, {
1420
- children: /*#__PURE__*/jsx(Form, _objectSpread2(_objectSpread2({}, mergedFormProps), {}, {
1483
+ return /*#__PURE__*/jsx(StyledModal$3, _objectSpread2$1(_objectSpread2$1({}, mergedModalProps), {}, {
1484
+ children: /*#__PURE__*/jsx(Form, _objectSpread2$1(_objectSpread2$1({}, mergedFormProps), {}, {
1421
1485
  children: ptpStatusArray.map(item => /*#__PURE__*/jsx(Form.Item, {
1422
1486
  label: item.label,
1423
1487
  name: item.key,
@@ -1612,7 +1676,7 @@ const RightDetailForm = /*#__PURE__*/memo(_ref3 => {
1612
1676
  return fields.category_list.options.map(category => {
1613
1677
  const isInitiallySelected = initialSelected.includes(category.name);
1614
1678
  const shouldDisable = isSavedPreset ? !isInitiallySelected : false;
1615
- return _objectSpread2(_objectSpread2({}, category), {}, {
1679
+ return _objectSpread2$1(_objectSpread2$1({}, category), {}, {
1616
1680
  disabled: shouldDisable,
1617
1681
  initiallySelected: isInitiallySelected
1618
1682
  });
@@ -1762,7 +1826,7 @@ const RightDetailForm = /*#__PURE__*/memo(_ref3 => {
1762
1826
  }) :
1763
1827
  /*#__PURE__*/
1764
1828
  // 非编辑模式下的按钮
1765
- jsx(SubmitButton, _objectSpread2(_objectSpread2({
1829
+ jsx(SubmitButton, _objectSpread2$1(_objectSpread2$1({
1766
1830
  action: handleLoad
1767
1831
  }, hasCategoryList && {
1768
1832
  disabled: !currentSelected.length
@@ -1964,7 +2028,7 @@ const Preset = _ref => {
1964
2028
  }
1965
2029
  });
1966
2030
  try {
1967
- await loadPreset(_objectSpread2({
2031
+ await loadPreset(_objectSpread2$1({
1968
2032
  id: loadData.id
1969
2033
  }, loadData.category_list && {
1970
2034
  category_list: loadData.category_list
@@ -2082,7 +2146,7 @@ const Preset = _ref => {
2082
2146
  useEffect(() => {
2083
2147
  fetchPresetList();
2084
2148
  }, [fetchPresetList]);
2085
- return /*#__PURE__*/jsx(StyledModal$1, {
2149
+ return /*#__PURE__*/jsx(StyledModal$3, {
2086
2150
  title: texts.title,
2087
2151
  width: width,
2088
2152
  open: open,
@@ -2165,7 +2229,7 @@ const UpgradeManager = _ref => {
2165
2229
  statusPollingInterval = 1000,
2166
2230
  children
2167
2231
  } = _ref,
2168
- dropdownProps = _objectWithoutProperties(_ref, _excluded$1);
2232
+ dropdownProps = _objectWithoutProperties$1(_ref, _excluded$1);
2169
2233
  const [upgradeElement] = useUpgrade$1({
2170
2234
  menuItems,
2171
2235
  onMenuClick,
@@ -2181,7 +2245,7 @@ const UpgradeManager = _ref => {
2181
2245
  const dropdownElement = upgradeElement.props.children[0];
2182
2246
  const otherElements = upgradeElement.props.children.slice(1);
2183
2247
  return /*#__PURE__*/jsxs(Fragment, {
2184
- children: [/*#__PURE__*/jsx(Dropdown, _objectSpread2(_objectSpread2(_objectSpread2({}, dropdownProps), dropdownElement.props), {}, {
2248
+ children: [/*#__PURE__*/jsx(Dropdown, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, dropdownProps), dropdownElement.props), {}, {
2185
2249
  children: children
2186
2250
  })), otherElements]
2187
2251
  });
@@ -2196,15 +2260,15 @@ UpgradeManager.defaultProps = {
2196
2260
  };
2197
2261
  var UpgradeManager$1 = UpgradeManager;
2198
2262
 
2199
- function getDefaultExportFromCjs$2 (x) {
2263
+ function getDefaultExportFromCjs$3 (x) {
2200
2264
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
2201
2265
  }
2202
2266
 
2203
- var propTypes$2 = {exports: {}};
2267
+ var propTypes$3 = {exports: {}};
2204
2268
 
2205
- var reactIs$2 = {exports: {}};
2269
+ var reactIs$3 = {exports: {}};
2206
2270
 
2207
- var reactIs_production_min$2 = {};
2271
+ var reactIs_production_min$3 = {};
2208
2272
 
2209
2273
  /** @license React v16.13.1
2210
2274
  * react-is.production.min.js
@@ -2215,21 +2279,21 @@ var reactIs_production_min$2 = {};
2215
2279
  * LICENSE file in the root directory of this source tree.
2216
2280
  */
2217
2281
 
2218
- var hasRequiredReactIs_production_min$2;
2282
+ var hasRequiredReactIs_production_min$3;
2219
2283
 
2220
- function requireReactIs_production_min$2 () {
2221
- if (hasRequiredReactIs_production_min$2) return reactIs_production_min$2;
2222
- hasRequiredReactIs_production_min$2 = 1;
2284
+ function requireReactIs_production_min$3 () {
2285
+ if (hasRequiredReactIs_production_min$3) return reactIs_production_min$3;
2286
+ hasRequiredReactIs_production_min$3 = 1;
2223
2287
  var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
2224
2288
  Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
2225
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min$2.AsyncMode=l;reactIs_production_min$2.ConcurrentMode=m;reactIs_production_min$2.ContextConsumer=k;reactIs_production_min$2.ContextProvider=h;reactIs_production_min$2.Element=c;reactIs_production_min$2.ForwardRef=n;reactIs_production_min$2.Fragment=e;reactIs_production_min$2.Lazy=t;reactIs_production_min$2.Memo=r;reactIs_production_min$2.Portal=d;
2226
- reactIs_production_min$2.Profiler=g;reactIs_production_min$2.StrictMode=f;reactIs_production_min$2.Suspense=p;reactIs_production_min$2.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min$2.isConcurrentMode=A;reactIs_production_min$2.isContextConsumer=function(a){return z(a)===k};reactIs_production_min$2.isContextProvider=function(a){return z(a)===h};reactIs_production_min$2.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min$2.isForwardRef=function(a){return z(a)===n};reactIs_production_min$2.isFragment=function(a){return z(a)===e};reactIs_production_min$2.isLazy=function(a){return z(a)===t};
2227
- reactIs_production_min$2.isMemo=function(a){return z(a)===r};reactIs_production_min$2.isPortal=function(a){return z(a)===d};reactIs_production_min$2.isProfiler=function(a){return z(a)===g};reactIs_production_min$2.isStrictMode=function(a){return z(a)===f};reactIs_production_min$2.isSuspense=function(a){return z(a)===p};
2228
- reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min$2.typeOf=z;
2229
- return reactIs_production_min$2;
2289
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min$3.AsyncMode=l;reactIs_production_min$3.ConcurrentMode=m;reactIs_production_min$3.ContextConsumer=k;reactIs_production_min$3.ContextProvider=h;reactIs_production_min$3.Element=c;reactIs_production_min$3.ForwardRef=n;reactIs_production_min$3.Fragment=e;reactIs_production_min$3.Lazy=t;reactIs_production_min$3.Memo=r;reactIs_production_min$3.Portal=d;
2290
+ reactIs_production_min$3.Profiler=g;reactIs_production_min$3.StrictMode=f;reactIs_production_min$3.Suspense=p;reactIs_production_min$3.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min$3.isConcurrentMode=A;reactIs_production_min$3.isContextConsumer=function(a){return z(a)===k};reactIs_production_min$3.isContextProvider=function(a){return z(a)===h};reactIs_production_min$3.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min$3.isForwardRef=function(a){return z(a)===n};reactIs_production_min$3.isFragment=function(a){return z(a)===e};reactIs_production_min$3.isLazy=function(a){return z(a)===t};
2291
+ reactIs_production_min$3.isMemo=function(a){return z(a)===r};reactIs_production_min$3.isPortal=function(a){return z(a)===d};reactIs_production_min$3.isProfiler=function(a){return z(a)===g};reactIs_production_min$3.isStrictMode=function(a){return z(a)===f};reactIs_production_min$3.isSuspense=function(a){return z(a)===p};
2292
+ reactIs_production_min$3.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min$3.typeOf=z;
2293
+ return reactIs_production_min$3;
2230
2294
  }
2231
2295
 
2232
- var reactIs_development$2 = {};
2296
+ var reactIs_development$3 = {};
2233
2297
 
2234
2298
  /** @license React v16.13.1
2235
2299
  * react-is.development.js
@@ -2240,11 +2304,11 @@ var reactIs_development$2 = {};
2240
2304
  * LICENSE file in the root directory of this source tree.
2241
2305
  */
2242
2306
 
2243
- var hasRequiredReactIs_development$2;
2307
+ var hasRequiredReactIs_development$3;
2244
2308
 
2245
- function requireReactIs_development$2 () {
2246
- if (hasRequiredReactIs_development$2) return reactIs_development$2;
2247
- hasRequiredReactIs_development$2 = 1;
2309
+ function requireReactIs_development$3 () {
2310
+ if (hasRequiredReactIs_development$3) return reactIs_development$3;
2311
+ hasRequiredReactIs_development$3 = 1;
2248
2312
 
2249
2313
 
2250
2314
 
@@ -2385,51 +2449,51 @@ function requireReactIs_development$2 () {
2385
2449
  return typeOf(object) === REACT_SUSPENSE_TYPE;
2386
2450
  }
2387
2451
 
2388
- reactIs_development$2.AsyncMode = AsyncMode;
2389
- reactIs_development$2.ConcurrentMode = ConcurrentMode;
2390
- reactIs_development$2.ContextConsumer = ContextConsumer;
2391
- reactIs_development$2.ContextProvider = ContextProvider;
2392
- reactIs_development$2.Element = Element;
2393
- reactIs_development$2.ForwardRef = ForwardRef;
2394
- reactIs_development$2.Fragment = Fragment;
2395
- reactIs_development$2.Lazy = Lazy;
2396
- reactIs_development$2.Memo = Memo;
2397
- reactIs_development$2.Portal = Portal;
2398
- reactIs_development$2.Profiler = Profiler;
2399
- reactIs_development$2.StrictMode = StrictMode;
2400
- reactIs_development$2.Suspense = Suspense;
2401
- reactIs_development$2.isAsyncMode = isAsyncMode;
2402
- reactIs_development$2.isConcurrentMode = isConcurrentMode;
2403
- reactIs_development$2.isContextConsumer = isContextConsumer;
2404
- reactIs_development$2.isContextProvider = isContextProvider;
2405
- reactIs_development$2.isElement = isElement;
2406
- reactIs_development$2.isForwardRef = isForwardRef;
2407
- reactIs_development$2.isFragment = isFragment;
2408
- reactIs_development$2.isLazy = isLazy;
2409
- reactIs_development$2.isMemo = isMemo;
2410
- reactIs_development$2.isPortal = isPortal;
2411
- reactIs_development$2.isProfiler = isProfiler;
2412
- reactIs_development$2.isStrictMode = isStrictMode;
2413
- reactIs_development$2.isSuspense = isSuspense;
2414
- reactIs_development$2.isValidElementType = isValidElementType;
2415
- reactIs_development$2.typeOf = typeOf;
2452
+ reactIs_development$3.AsyncMode = AsyncMode;
2453
+ reactIs_development$3.ConcurrentMode = ConcurrentMode;
2454
+ reactIs_development$3.ContextConsumer = ContextConsumer;
2455
+ reactIs_development$3.ContextProvider = ContextProvider;
2456
+ reactIs_development$3.Element = Element;
2457
+ reactIs_development$3.ForwardRef = ForwardRef;
2458
+ reactIs_development$3.Fragment = Fragment;
2459
+ reactIs_development$3.Lazy = Lazy;
2460
+ reactIs_development$3.Memo = Memo;
2461
+ reactIs_development$3.Portal = Portal;
2462
+ reactIs_development$3.Profiler = Profiler;
2463
+ reactIs_development$3.StrictMode = StrictMode;
2464
+ reactIs_development$3.Suspense = Suspense;
2465
+ reactIs_development$3.isAsyncMode = isAsyncMode;
2466
+ reactIs_development$3.isConcurrentMode = isConcurrentMode;
2467
+ reactIs_development$3.isContextConsumer = isContextConsumer;
2468
+ reactIs_development$3.isContextProvider = isContextProvider;
2469
+ reactIs_development$3.isElement = isElement;
2470
+ reactIs_development$3.isForwardRef = isForwardRef;
2471
+ reactIs_development$3.isFragment = isFragment;
2472
+ reactIs_development$3.isLazy = isLazy;
2473
+ reactIs_development$3.isMemo = isMemo;
2474
+ reactIs_development$3.isPortal = isPortal;
2475
+ reactIs_development$3.isProfiler = isProfiler;
2476
+ reactIs_development$3.isStrictMode = isStrictMode;
2477
+ reactIs_development$3.isSuspense = isSuspense;
2478
+ reactIs_development$3.isValidElementType = isValidElementType;
2479
+ reactIs_development$3.typeOf = typeOf;
2416
2480
  })();
2417
2481
  }
2418
- return reactIs_development$2;
2482
+ return reactIs_development$3;
2419
2483
  }
2420
2484
 
2421
- var hasRequiredReactIs$2;
2485
+ var hasRequiredReactIs$3;
2422
2486
 
2423
- function requireReactIs$2 () {
2424
- if (hasRequiredReactIs$2) return reactIs$2.exports;
2425
- hasRequiredReactIs$2 = 1;
2487
+ function requireReactIs$3 () {
2488
+ if (hasRequiredReactIs$3) return reactIs$3.exports;
2489
+ hasRequiredReactIs$3 = 1;
2426
2490
 
2427
2491
  if (process.env.NODE_ENV === 'production') {
2428
- reactIs$2.exports = requireReactIs_production_min$2();
2492
+ reactIs$3.exports = requireReactIs_production_min$3();
2429
2493
  } else {
2430
- reactIs$2.exports = requireReactIs_development$2();
2494
+ reactIs$3.exports = requireReactIs_development$3();
2431
2495
  }
2432
- return reactIs$2.exports;
2496
+ return reactIs$3.exports;
2433
2497
  }
2434
2498
 
2435
2499
  /*
@@ -2438,12 +2502,12 @@ object-assign
2438
2502
  @license MIT
2439
2503
  */
2440
2504
 
2441
- var objectAssign$2;
2442
- var hasRequiredObjectAssign$2;
2505
+ var objectAssign$3;
2506
+ var hasRequiredObjectAssign$3;
2443
2507
 
2444
- function requireObjectAssign$2 () {
2445
- if (hasRequiredObjectAssign$2) return objectAssign$2;
2446
- hasRequiredObjectAssign$2 = 1;
2508
+ function requireObjectAssign$3 () {
2509
+ if (hasRequiredObjectAssign$3) return objectAssign$3;
2510
+ hasRequiredObjectAssign$3 = 1;
2447
2511
  /* eslint-disable no-unused-vars */
2448
2512
  var getOwnPropertySymbols = Object.getOwnPropertySymbols;
2449
2513
  var hasOwnProperty = Object.prototype.hasOwnProperty;
@@ -2501,7 +2565,7 @@ function requireObjectAssign$2 () {
2501
2565
  }
2502
2566
  }
2503
2567
 
2504
- objectAssign$2 = shouldUseNative() ? Object.assign : function (target, source) {
2568
+ objectAssign$3 = shouldUseNative() ? Object.assign : function (target, source) {
2505
2569
  var from;
2506
2570
  var to = toObject(target);
2507
2571
  var symbols;
@@ -2527,7 +2591,7 @@ function requireObjectAssign$2 () {
2527
2591
 
2528
2592
  return to;
2529
2593
  };
2530
- return objectAssign$2;
2594
+ return objectAssign$3;
2531
2595
  }
2532
2596
 
2533
2597
  /**
@@ -2537,27 +2601,27 @@ function requireObjectAssign$2 () {
2537
2601
  * LICENSE file in the root directory of this source tree.
2538
2602
  */
2539
2603
 
2540
- var ReactPropTypesSecret_1$2;
2541
- var hasRequiredReactPropTypesSecret$2;
2604
+ var ReactPropTypesSecret_1$3;
2605
+ var hasRequiredReactPropTypesSecret$3;
2542
2606
 
2543
- function requireReactPropTypesSecret$2 () {
2544
- if (hasRequiredReactPropTypesSecret$2) return ReactPropTypesSecret_1$2;
2545
- hasRequiredReactPropTypesSecret$2 = 1;
2607
+ function requireReactPropTypesSecret$3 () {
2608
+ if (hasRequiredReactPropTypesSecret$3) return ReactPropTypesSecret_1$3;
2609
+ hasRequiredReactPropTypesSecret$3 = 1;
2546
2610
 
2547
2611
  var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
2548
2612
 
2549
- ReactPropTypesSecret_1$2 = ReactPropTypesSecret;
2550
- return ReactPropTypesSecret_1$2;
2613
+ ReactPropTypesSecret_1$3 = ReactPropTypesSecret;
2614
+ return ReactPropTypesSecret_1$3;
2551
2615
  }
2552
2616
 
2553
- var has$2;
2554
- var hasRequiredHas$2;
2617
+ var has$3;
2618
+ var hasRequiredHas$3;
2555
2619
 
2556
- function requireHas$2 () {
2557
- if (hasRequiredHas$2) return has$2;
2558
- hasRequiredHas$2 = 1;
2559
- has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
2560
- return has$2;
2620
+ function requireHas$3 () {
2621
+ if (hasRequiredHas$3) return has$3;
2622
+ hasRequiredHas$3 = 1;
2623
+ has$3 = Function.call.bind(Object.prototype.hasOwnProperty);
2624
+ return has$3;
2561
2625
  }
2562
2626
 
2563
2627
  /**
@@ -2567,19 +2631,19 @@ function requireHas$2 () {
2567
2631
  * LICENSE file in the root directory of this source tree.
2568
2632
  */
2569
2633
 
2570
- var checkPropTypes_1$2;
2571
- var hasRequiredCheckPropTypes$2;
2634
+ var checkPropTypes_1$3;
2635
+ var hasRequiredCheckPropTypes$3;
2572
2636
 
2573
- function requireCheckPropTypes$2 () {
2574
- if (hasRequiredCheckPropTypes$2) return checkPropTypes_1$2;
2575
- hasRequiredCheckPropTypes$2 = 1;
2637
+ function requireCheckPropTypes$3 () {
2638
+ if (hasRequiredCheckPropTypes$3) return checkPropTypes_1$3;
2639
+ hasRequiredCheckPropTypes$3 = 1;
2576
2640
 
2577
2641
  var printWarning = function() {};
2578
2642
 
2579
2643
  if (process.env.NODE_ENV !== 'production') {
2580
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$2();
2644
+ var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$3();
2581
2645
  var loggedTypeFailures = {};
2582
- var has = /*@__PURE__*/ requireHas$2();
2646
+ var has = /*@__PURE__*/ requireHas$3();
2583
2647
 
2584
2648
  printWarning = function(text) {
2585
2649
  var message = 'Warning: ' + text;
@@ -2667,8 +2731,8 @@ function requireCheckPropTypes$2 () {
2667
2731
  }
2668
2732
  };
2669
2733
 
2670
- checkPropTypes_1$2 = checkPropTypes;
2671
- return checkPropTypes_1$2;
2734
+ checkPropTypes_1$3 = checkPropTypes;
2735
+ return checkPropTypes_1$3;
2672
2736
  }
2673
2737
 
2674
2738
  /**
@@ -2678,19 +2742,19 @@ function requireCheckPropTypes$2 () {
2678
2742
  * LICENSE file in the root directory of this source tree.
2679
2743
  */
2680
2744
 
2681
- var factoryWithTypeCheckers$2;
2682
- var hasRequiredFactoryWithTypeCheckers$2;
2745
+ var factoryWithTypeCheckers$3;
2746
+ var hasRequiredFactoryWithTypeCheckers$3;
2683
2747
 
2684
- function requireFactoryWithTypeCheckers$2 () {
2685
- if (hasRequiredFactoryWithTypeCheckers$2) return factoryWithTypeCheckers$2;
2686
- hasRequiredFactoryWithTypeCheckers$2 = 1;
2748
+ function requireFactoryWithTypeCheckers$3 () {
2749
+ if (hasRequiredFactoryWithTypeCheckers$3) return factoryWithTypeCheckers$3;
2750
+ hasRequiredFactoryWithTypeCheckers$3 = 1;
2687
2751
 
2688
- var ReactIs = requireReactIs$2();
2689
- var assign = requireObjectAssign$2();
2752
+ var ReactIs = requireReactIs$3();
2753
+ var assign = requireObjectAssign$3();
2690
2754
 
2691
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$2();
2692
- var has = /*@__PURE__*/ requireHas$2();
2693
- var checkPropTypes = /*@__PURE__*/ requireCheckPropTypes$2();
2755
+ var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$3();
2756
+ var has = /*@__PURE__*/ requireHas$3();
2757
+ var checkPropTypes = /*@__PURE__*/ requireCheckPropTypes$3();
2694
2758
 
2695
2759
  var printWarning = function() {};
2696
2760
 
@@ -2713,7 +2777,7 @@ function requireFactoryWithTypeCheckers$2 () {
2713
2777
  return null;
2714
2778
  }
2715
2779
 
2716
- factoryWithTypeCheckers$2 = function(isValidElement, throwOnDirectAccess) {
2780
+ factoryWithTypeCheckers$3 = function(isValidElement, throwOnDirectAccess) {
2717
2781
  /* global Symbol */
2718
2782
  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
2719
2783
  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
@@ -3286,7 +3350,7 @@ function requireFactoryWithTypeCheckers$2 () {
3286
3350
 
3287
3351
  return ReactPropTypes;
3288
3352
  };
3289
- return factoryWithTypeCheckers$2;
3353
+ return factoryWithTypeCheckers$3;
3290
3354
  }
3291
3355
 
3292
3356
  /**
@@ -3296,20 +3360,20 @@ function requireFactoryWithTypeCheckers$2 () {
3296
3360
  * LICENSE file in the root directory of this source tree.
3297
3361
  */
3298
3362
 
3299
- var factoryWithThrowingShims$2;
3300
- var hasRequiredFactoryWithThrowingShims$2;
3363
+ var factoryWithThrowingShims$3;
3364
+ var hasRequiredFactoryWithThrowingShims$3;
3301
3365
 
3302
- function requireFactoryWithThrowingShims$2 () {
3303
- if (hasRequiredFactoryWithThrowingShims$2) return factoryWithThrowingShims$2;
3304
- hasRequiredFactoryWithThrowingShims$2 = 1;
3366
+ function requireFactoryWithThrowingShims$3 () {
3367
+ if (hasRequiredFactoryWithThrowingShims$3) return factoryWithThrowingShims$3;
3368
+ hasRequiredFactoryWithThrowingShims$3 = 1;
3305
3369
 
3306
- var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$2();
3370
+ var ReactPropTypesSecret = /*@__PURE__*/ requireReactPropTypesSecret$3();
3307
3371
 
3308
3372
  function emptyFunction() {}
3309
3373
  function emptyFunctionWithReset() {}
3310
3374
  emptyFunctionWithReset.resetWarningCache = emptyFunction;
3311
3375
 
3312
- factoryWithThrowingShims$2 = function() {
3376
+ factoryWithThrowingShims$3 = function() {
3313
3377
  function shim(props, propName, componentName, location, propFullName, secret) {
3314
3378
  if (secret === ReactPropTypesSecret) {
3315
3379
  // It is still safe when called from React.
@@ -3357,7 +3421,7 @@ function requireFactoryWithThrowingShims$2 () {
3357
3421
 
3358
3422
  return ReactPropTypes;
3359
3423
  };
3360
- return factoryWithThrowingShims$2;
3424
+ return factoryWithThrowingShims$3;
3361
3425
  }
3362
3426
 
3363
3427
  /**
@@ -3367,28 +3431,28 @@ function requireFactoryWithThrowingShims$2 () {
3367
3431
  * LICENSE file in the root directory of this source tree.
3368
3432
  */
3369
3433
 
3370
- var hasRequiredPropTypes$2;
3434
+ var hasRequiredPropTypes$3;
3371
3435
 
3372
- function requirePropTypes$2 () {
3373
- if (hasRequiredPropTypes$2) return propTypes$2.exports;
3374
- hasRequiredPropTypes$2 = 1;
3436
+ function requirePropTypes$3 () {
3437
+ if (hasRequiredPropTypes$3) return propTypes$3.exports;
3438
+ hasRequiredPropTypes$3 = 1;
3375
3439
  if (process.env.NODE_ENV !== 'production') {
3376
- var ReactIs = requireReactIs$2();
3440
+ var ReactIs = requireReactIs$3();
3377
3441
 
3378
3442
  // By explicitly using `prop-types` you are opting into new development behavior.
3379
3443
  // http://fb.me/prop-types-in-prod
3380
3444
  var throwOnDirectAccess = true;
3381
- propTypes$2.exports = /*@__PURE__*/ requireFactoryWithTypeCheckers$2()(ReactIs.isElement, throwOnDirectAccess);
3445
+ propTypes$3.exports = /*@__PURE__*/ requireFactoryWithTypeCheckers$3()(ReactIs.isElement, throwOnDirectAccess);
3382
3446
  } else {
3383
3447
  // By explicitly using `prop-types` you are opting into new production behavior.
3384
3448
  // http://fb.me/prop-types-in-prod
3385
- propTypes$2.exports = /*@__PURE__*/ requireFactoryWithThrowingShims$2()();
3449
+ propTypes$3.exports = /*@__PURE__*/ requireFactoryWithThrowingShims$3()();
3386
3450
  }
3387
- return propTypes$2.exports;
3451
+ return propTypes$3.exports;
3388
3452
  }
3389
3453
 
3390
- var propTypesExports$2 = /*@__PURE__*/ requirePropTypes$2();
3391
- var PropTypes$2 = /*@__PURE__*/getDefaultExportFromCjs$2(propTypesExports$2);
3454
+ var propTypesExports$3 = /*@__PURE__*/ requirePropTypes$3();
3455
+ var PropTypes$3 = /*@__PURE__*/getDefaultExportFromCjs$3(propTypesExports$3);
3392
3456
 
3393
3457
  const SystemOperations = _ref => {
3394
3458
  let {
@@ -3470,15 +3534,15 @@ const SystemOperations = _ref => {
3470
3534
  });
3471
3535
  };
3472
3536
  SystemOperations.propTypes = {
3473
- onPowerOff: PropTypes$2.func,
3474
- onRestart: PropTypes$2.func,
3475
- powerOffLabel: PropTypes$2.string,
3476
- restartLabel: PropTypes$2.string,
3477
- iconClassName: PropTypes$2.string,
3478
- confirmTitle: PropTypes$2.string,
3479
- cancelText: PropTypes$2.string,
3480
- okText: PropTypes$2.string,
3481
- run: PropTypes$2.func
3537
+ onPowerOff: PropTypes$3.func,
3538
+ onRestart: PropTypes$3.func,
3539
+ powerOffLabel: PropTypes$3.string,
3540
+ restartLabel: PropTypes$3.string,
3541
+ iconClassName: PropTypes$3.string,
3542
+ confirmTitle: PropTypes$3.string,
3543
+ cancelText: PropTypes$3.string,
3544
+ okText: PropTypes$3.string,
3545
+ run: PropTypes$3.func
3482
3546
  };
3483
3547
  var SystemOperations$1 = SystemOperations;
3484
3548
 
@@ -3521,10 +3585,10 @@ const useSpaLogo = function () {
3521
3585
  }, "logo")];
3522
3586
  };
3523
3587
  useSpaLogo.propTypes = {
3524
- logoUrl: PropTypes$2.string,
3525
- logoWidth: PropTypes$2.number,
3526
- logoAlt: PropTypes$2.string,
3527
- onClick: PropTypes$2.func
3588
+ logoUrl: PropTypes$3.string,
3589
+ logoWidth: PropTypes$3.number,
3590
+ logoAlt: PropTypes$3.string,
3591
+ onClick: PropTypes$3.func
3528
3592
  };
3529
3593
  var useSpaLogo$1 = useSpaLogo;
3530
3594
 
@@ -3626,23 +3690,23 @@ const CommonHeader = _ref => {
3626
3690
 
3627
3691
  // PropTypes 类型检查
3628
3692
  CommonHeader.propTypes = {
3629
- menuElement: PropTypes$2.node,
3630
- productInfo: PropTypes$2.shape({
3631
- productName: PropTypes$2.string,
3632
- version: PropTypes$2.string
3693
+ menuElement: PropTypes$3.node,
3694
+ productInfo: PropTypes$3.shape({
3695
+ productName: PropTypes$3.string,
3696
+ version: PropTypes$3.string
3633
3697
  }),
3634
- showLogo: PropTypes$2.bool,
3635
- showProductInfo: PropTypes$2.bool,
3636
- showHardwareUsage: PropTypes$2.bool,
3637
- showSystemOperations: PropTypes$2.bool,
3638
- onPowerOff: PropTypes$2.func,
3639
- onRestart: PropTypes$2.func,
3640
- onRun: PropTypes$2.func,
3641
- hardwareMonitorUrl: PropTypes$2.string,
3642
- getSocketUrl: PropTypes$2.func,
3643
- logoProps: PropTypes$2.object,
3644
- className: PropTypes$2.string,
3645
- style: PropTypes$2.object
3698
+ showLogo: PropTypes$3.bool,
3699
+ showProductInfo: PropTypes$3.bool,
3700
+ showHardwareUsage: PropTypes$3.bool,
3701
+ showSystemOperations: PropTypes$3.bool,
3702
+ onPowerOff: PropTypes$3.func,
3703
+ onRestart: PropTypes$3.func,
3704
+ onRun: PropTypes$3.func,
3705
+ hardwareMonitorUrl: PropTypes$3.string,
3706
+ getSocketUrl: PropTypes$3.func,
3707
+ logoProps: PropTypes$3.object,
3708
+ className: PropTypes$3.string,
3709
+ style: PropTypes$3.object
3646
3710
  };
3647
3711
  var CommonHeader$1 = CommonHeader;
3648
3712
 
@@ -3672,10 +3736,10 @@ const LSMLabelField = props => {
3672
3736
  };
3673
3737
  loadLsmData();
3674
3738
  }, [fetchLsmData]);
3675
- return /*#__PURE__*/jsx(Form.Item, _objectSpread2(_objectSpread2({
3739
+ return /*#__PURE__*/jsx(Form.Item, _objectSpread2$1(_objectSpread2$1({
3676
3740
  label: label
3677
3741
  }, formItemProps), {}, {
3678
- children: /*#__PURE__*/jsx(Select, _objectSpread2(_objectSpread2(_objectSpread2({}, field), selectProps), {}, {
3742
+ children: /*#__PURE__*/jsx(Select, _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, field), selectProps), {}, {
3679
3743
  options: lsmList,
3680
3744
  fieldNames: fieldNames,
3681
3745
  allowClear: true,
@@ -3691,15 +3755,15 @@ const LSMLabelField = props => {
3691
3755
  };
3692
3756
  var LSMLabelField$1 = /*#__PURE__*/memo(LSMLabelField);
3693
3757
 
3694
- function _defineProperty$1(e, r, t) {
3695
- return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, {
3758
+ function _defineProperty(e, r, t) {
3759
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
3696
3760
  value: t,
3697
3761
  enumerable: !0,
3698
3762
  configurable: !0,
3699
3763
  writable: !0
3700
3764
  }) : e[r] = t, e;
3701
3765
  }
3702
- function ownKeys$1(e, r) {
3766
+ function ownKeys(e, r) {
3703
3767
  var t = Object.keys(e);
3704
3768
  if (Object.getOwnPropertySymbols) {
3705
3769
  var o = Object.getOwnPropertySymbols(e);
@@ -3709,29 +3773,29 @@ function ownKeys$1(e, r) {
3709
3773
  }
3710
3774
  return t;
3711
3775
  }
3712
- function _objectSpread2$1(e) {
3776
+ function _objectSpread2(e) {
3713
3777
  for (var r = 1; r < arguments.length; r++) {
3714
3778
  var t = null != arguments[r] ? arguments[r] : {};
3715
- r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) {
3716
- _defineProperty$1(e, r, t[r]);
3717
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) {
3779
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
3780
+ _defineProperty(e, r, t[r]);
3781
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
3718
3782
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
3719
3783
  });
3720
3784
  }
3721
3785
  return e;
3722
3786
  }
3723
- function _objectWithoutProperties$1(e, t) {
3787
+ function _objectWithoutProperties(e, t) {
3724
3788
  if (null == e) return {};
3725
3789
  var o,
3726
3790
  r,
3727
- i = _objectWithoutPropertiesLoose$1(e, t);
3791
+ i = _objectWithoutPropertiesLoose(e, t);
3728
3792
  if (Object.getOwnPropertySymbols) {
3729
3793
  var n = Object.getOwnPropertySymbols(e);
3730
3794
  for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
3731
3795
  }
3732
3796
  return i;
3733
3797
  }
3734
- function _objectWithoutPropertiesLoose$1(r, e) {
3798
+ function _objectWithoutPropertiesLoose(r, e) {
3735
3799
  if (null == r) return {};
3736
3800
  var t = {};
3737
3801
  for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
@@ -3740,7 +3804,7 @@ function _objectWithoutPropertiesLoose$1(r, e) {
3740
3804
  }
3741
3805
  return t;
3742
3806
  }
3743
- function _toPrimitive$1(t, r) {
3807
+ function _toPrimitive(t, r) {
3744
3808
  if ("object" != typeof t || !t) return t;
3745
3809
  var e = t[Symbol.toPrimitive];
3746
3810
  if (void 0 !== e) {
@@ -3750,19 +3814,19 @@ function _toPrimitive$1(t, r) {
3750
3814
  }
3751
3815
  return ("string" === r ? String : Number)(t);
3752
3816
  }
3753
- function _toPropertyKey$1(t) {
3754
- var i = _toPrimitive$1(t, "string");
3817
+ function _toPropertyKey(t) {
3818
+ var i = _toPrimitive(t, "string");
3755
3819
  return "symbol" == typeof i ? i : i + "";
3756
3820
  }
3757
- const _excluded$3 = ["width", "okText", "cancelText", "styles"];
3758
- const StyledModal$2 = props => {
3821
+ const _excluded$2 = ["width", "okText", "cancelText", "styles"];
3822
+ const StyledModal = props => {
3759
3823
  const {
3760
3824
  width = "520px",
3761
3825
  okText = "Apply",
3762
3826
  cancelText = "Close",
3763
3827
  styles: propStyles = {}
3764
3828
  } = props,
3765
- restProps = _objectWithoutProperties$1(props, _excluded$3);
3829
+ restProps = _objectWithoutProperties(props, _excluded$2);
3766
3830
 
3767
3831
  // 基础样式配置
3768
3832
  const baseStyles = {
@@ -3790,15 +3854,1213 @@ const StyledModal$2 = props => {
3790
3854
  };
3791
3855
 
3792
3856
  // 合并样式
3793
- const styles = _objectSpread2$1(_objectSpread2$1({}, baseStyles), propStyles);
3794
- return /*#__PURE__*/jsx(Modal, _objectSpread2$1({
3857
+ const styles = _objectSpread2(_objectSpread2({}, baseStyles), propStyles);
3858
+ return /*#__PURE__*/jsx(Modal, _objectSpread2({
3795
3859
  width: width,
3796
3860
  okText: okText,
3797
3861
  cancelText: cancelText,
3798
3862
  styles: styles
3799
3863
  }, restProps));
3800
3864
  };
3801
- var StyledModal$3 = StyledModal$2;
3865
+ var StyledModal$1 = StyledModal;
3866
+ function getDefaultExportFromCjs$2(x) {
3867
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3868
+ }
3869
+ var propTypes$2 = {
3870
+ exports: {}
3871
+ };
3872
+ var reactIs$2 = {
3873
+ exports: {}
3874
+ };
3875
+ var reactIs_production_min$2 = {};
3876
+
3877
+ /** @license React v16.13.1
3878
+ * react-is.production.min.js
3879
+ *
3880
+ * Copyright (c) Facebook, Inc. and its affiliates.
3881
+ *
3882
+ * This source code is licensed under the MIT license found in the
3883
+ * LICENSE file in the root directory of this source tree.
3884
+ */
3885
+
3886
+ var hasRequiredReactIs_production_min$2;
3887
+ function requireReactIs_production_min$2() {
3888
+ if (hasRequiredReactIs_production_min$2) return reactIs_production_min$2;
3889
+ hasRequiredReactIs_production_min$2 = 1;
3890
+ var b = "function" === typeof Symbol && Symbol.for,
3891
+ c = b ? Symbol.for("react.element") : 60103,
3892
+ d = b ? Symbol.for("react.portal") : 60106,
3893
+ e = b ? Symbol.for("react.fragment") : 60107,
3894
+ f = b ? Symbol.for("react.strict_mode") : 60108,
3895
+ g = b ? Symbol.for("react.profiler") : 60114,
3896
+ h = b ? Symbol.for("react.provider") : 60109,
3897
+ k = b ? Symbol.for("react.context") : 60110,
3898
+ l = b ? Symbol.for("react.async_mode") : 60111,
3899
+ m = b ? Symbol.for("react.concurrent_mode") : 60111,
3900
+ n = b ? Symbol.for("react.forward_ref") : 60112,
3901
+ p = b ? Symbol.for("react.suspense") : 60113,
3902
+ q = b ? Symbol.for("react.suspense_list") : 60120,
3903
+ r = b ? Symbol.for("react.memo") : 60115,
3904
+ t = b ? Symbol.for("react.lazy") : 60116,
3905
+ v = b ? Symbol.for("react.block") : 60121,
3906
+ w = b ? Symbol.for("react.fundamental") : 60117,
3907
+ x = b ? Symbol.for("react.responder") : 60118,
3908
+ y = b ? Symbol.for("react.scope") : 60119;
3909
+ function z(a) {
3910
+ if ("object" === typeof a && null !== a) {
3911
+ var u = a.$$typeof;
3912
+ switch (u) {
3913
+ case c:
3914
+ switch (a = a.type, a) {
3915
+ case l:
3916
+ case m:
3917
+ case e:
3918
+ case g:
3919
+ case f:
3920
+ case p:
3921
+ return a;
3922
+ default:
3923
+ switch (a = a && a.$$typeof, a) {
3924
+ case k:
3925
+ case n:
3926
+ case t:
3927
+ case r:
3928
+ case h:
3929
+ return a;
3930
+ default:
3931
+ return u;
3932
+ }
3933
+ }
3934
+ case d:
3935
+ return u;
3936
+ }
3937
+ }
3938
+ }
3939
+ function A(a) {
3940
+ return z(a) === m;
3941
+ }
3942
+ reactIs_production_min$2.AsyncMode = l;
3943
+ reactIs_production_min$2.ConcurrentMode = m;
3944
+ reactIs_production_min$2.ContextConsumer = k;
3945
+ reactIs_production_min$2.ContextProvider = h;
3946
+ reactIs_production_min$2.Element = c;
3947
+ reactIs_production_min$2.ForwardRef = n;
3948
+ reactIs_production_min$2.Fragment = e;
3949
+ reactIs_production_min$2.Lazy = t;
3950
+ reactIs_production_min$2.Memo = r;
3951
+ reactIs_production_min$2.Portal = d;
3952
+ reactIs_production_min$2.Profiler = g;
3953
+ reactIs_production_min$2.StrictMode = f;
3954
+ reactIs_production_min$2.Suspense = p;
3955
+ reactIs_production_min$2.isAsyncMode = function (a) {
3956
+ return A(a) || z(a) === l;
3957
+ };
3958
+ reactIs_production_min$2.isConcurrentMode = A;
3959
+ reactIs_production_min$2.isContextConsumer = function (a) {
3960
+ return z(a) === k;
3961
+ };
3962
+ reactIs_production_min$2.isContextProvider = function (a) {
3963
+ return z(a) === h;
3964
+ };
3965
+ reactIs_production_min$2.isElement = function (a) {
3966
+ return "object" === typeof a && null !== a && a.$$typeof === c;
3967
+ };
3968
+ reactIs_production_min$2.isForwardRef = function (a) {
3969
+ return z(a) === n;
3970
+ };
3971
+ reactIs_production_min$2.isFragment = function (a) {
3972
+ return z(a) === e;
3973
+ };
3974
+ reactIs_production_min$2.isLazy = function (a) {
3975
+ return z(a) === t;
3976
+ };
3977
+ reactIs_production_min$2.isMemo = function (a) {
3978
+ return z(a) === r;
3979
+ };
3980
+ reactIs_production_min$2.isPortal = function (a) {
3981
+ return z(a) === d;
3982
+ };
3983
+ reactIs_production_min$2.isProfiler = function (a) {
3984
+ return z(a) === g;
3985
+ };
3986
+ reactIs_production_min$2.isStrictMode = function (a) {
3987
+ return z(a) === f;
3988
+ };
3989
+ reactIs_production_min$2.isSuspense = function (a) {
3990
+ return z(a) === p;
3991
+ };
3992
+ reactIs_production_min$2.isValidElementType = function (a) {
3993
+ return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
3994
+ };
3995
+ reactIs_production_min$2.typeOf = z;
3996
+ return reactIs_production_min$2;
3997
+ }
3998
+ var reactIs_development$2 = {};
3999
+
4000
+ /** @license React v16.13.1
4001
+ * react-is.development.js
4002
+ *
4003
+ * Copyright (c) Facebook, Inc. and its affiliates.
4004
+ *
4005
+ * This source code is licensed under the MIT license found in the
4006
+ * LICENSE file in the root directory of this source tree.
4007
+ */
4008
+
4009
+ var hasRequiredReactIs_development$2;
4010
+ function requireReactIs_development$2() {
4011
+ if (hasRequiredReactIs_development$2) return reactIs_development$2;
4012
+ hasRequiredReactIs_development$2 = 1;
4013
+ if (process.env.NODE_ENV !== "production") {
4014
+ (function () {
4015
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
4016
+ // nor polyfill, then a plain number is used for performance.
4017
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
4018
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
4019
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
4020
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
4021
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
4022
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
4023
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
4024
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
4025
+ // (unstable) APIs that have been removed. Can we remove the symbols?
4026
+
4027
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
4028
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
4029
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
4030
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
4031
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
4032
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
4033
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
4034
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
4035
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
4036
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
4037
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
4038
+ function isValidElementType(type) {
4039
+ return typeof type === 'string' || typeof type === 'function' ||
4040
+ // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
4041
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
4042
+ }
4043
+ function typeOf(object) {
4044
+ if (typeof object === 'object' && object !== null) {
4045
+ var $$typeof = object.$$typeof;
4046
+ switch ($$typeof) {
4047
+ case REACT_ELEMENT_TYPE:
4048
+ var type = object.type;
4049
+ switch (type) {
4050
+ case REACT_ASYNC_MODE_TYPE:
4051
+ case REACT_CONCURRENT_MODE_TYPE:
4052
+ case REACT_FRAGMENT_TYPE:
4053
+ case REACT_PROFILER_TYPE:
4054
+ case REACT_STRICT_MODE_TYPE:
4055
+ case REACT_SUSPENSE_TYPE:
4056
+ return type;
4057
+ default:
4058
+ var $$typeofType = type && type.$$typeof;
4059
+ switch ($$typeofType) {
4060
+ case REACT_CONTEXT_TYPE:
4061
+ case REACT_FORWARD_REF_TYPE:
4062
+ case REACT_LAZY_TYPE:
4063
+ case REACT_MEMO_TYPE:
4064
+ case REACT_PROVIDER_TYPE:
4065
+ return $$typeofType;
4066
+ default:
4067
+ return $$typeof;
4068
+ }
4069
+ }
4070
+ case REACT_PORTAL_TYPE:
4071
+ return $$typeof;
4072
+ }
4073
+ }
4074
+ return undefined;
4075
+ } // AsyncMode is deprecated along with isAsyncMode
4076
+
4077
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
4078
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
4079
+ var ContextConsumer = REACT_CONTEXT_TYPE;
4080
+ var ContextProvider = REACT_PROVIDER_TYPE;
4081
+ var Element = REACT_ELEMENT_TYPE;
4082
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
4083
+ var Fragment = REACT_FRAGMENT_TYPE;
4084
+ var Lazy = REACT_LAZY_TYPE;
4085
+ var Memo = REACT_MEMO_TYPE;
4086
+ var Portal = REACT_PORTAL_TYPE;
4087
+ var Profiler = REACT_PROFILER_TYPE;
4088
+ var StrictMode = REACT_STRICT_MODE_TYPE;
4089
+ var Suspense = REACT_SUSPENSE_TYPE;
4090
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
4091
+
4092
+ function isAsyncMode(object) {
4093
+ {
4094
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
4095
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
4096
+
4097
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
4098
+ }
4099
+ }
4100
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
4101
+ }
4102
+ function isConcurrentMode(object) {
4103
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
4104
+ }
4105
+ function isContextConsumer(object) {
4106
+ return typeOf(object) === REACT_CONTEXT_TYPE;
4107
+ }
4108
+ function isContextProvider(object) {
4109
+ return typeOf(object) === REACT_PROVIDER_TYPE;
4110
+ }
4111
+ function isElement(object) {
4112
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
4113
+ }
4114
+ function isForwardRef(object) {
4115
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
4116
+ }
4117
+ function isFragment(object) {
4118
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
4119
+ }
4120
+ function isLazy(object) {
4121
+ return typeOf(object) === REACT_LAZY_TYPE;
4122
+ }
4123
+ function isMemo(object) {
4124
+ return typeOf(object) === REACT_MEMO_TYPE;
4125
+ }
4126
+ function isPortal(object) {
4127
+ return typeOf(object) === REACT_PORTAL_TYPE;
4128
+ }
4129
+ function isProfiler(object) {
4130
+ return typeOf(object) === REACT_PROFILER_TYPE;
4131
+ }
4132
+ function isStrictMode(object) {
4133
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
4134
+ }
4135
+ function isSuspense(object) {
4136
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
4137
+ }
4138
+ reactIs_development$2.AsyncMode = AsyncMode;
4139
+ reactIs_development$2.ConcurrentMode = ConcurrentMode;
4140
+ reactIs_development$2.ContextConsumer = ContextConsumer;
4141
+ reactIs_development$2.ContextProvider = ContextProvider;
4142
+ reactIs_development$2.Element = Element;
4143
+ reactIs_development$2.ForwardRef = ForwardRef;
4144
+ reactIs_development$2.Fragment = Fragment;
4145
+ reactIs_development$2.Lazy = Lazy;
4146
+ reactIs_development$2.Memo = Memo;
4147
+ reactIs_development$2.Portal = Portal;
4148
+ reactIs_development$2.Profiler = Profiler;
4149
+ reactIs_development$2.StrictMode = StrictMode;
4150
+ reactIs_development$2.Suspense = Suspense;
4151
+ reactIs_development$2.isAsyncMode = isAsyncMode;
4152
+ reactIs_development$2.isConcurrentMode = isConcurrentMode;
4153
+ reactIs_development$2.isContextConsumer = isContextConsumer;
4154
+ reactIs_development$2.isContextProvider = isContextProvider;
4155
+ reactIs_development$2.isElement = isElement;
4156
+ reactIs_development$2.isForwardRef = isForwardRef;
4157
+ reactIs_development$2.isFragment = isFragment;
4158
+ reactIs_development$2.isLazy = isLazy;
4159
+ reactIs_development$2.isMemo = isMemo;
4160
+ reactIs_development$2.isPortal = isPortal;
4161
+ reactIs_development$2.isProfiler = isProfiler;
4162
+ reactIs_development$2.isStrictMode = isStrictMode;
4163
+ reactIs_development$2.isSuspense = isSuspense;
4164
+ reactIs_development$2.isValidElementType = isValidElementType;
4165
+ reactIs_development$2.typeOf = typeOf;
4166
+ })();
4167
+ }
4168
+ return reactIs_development$2;
4169
+ }
4170
+ var hasRequiredReactIs$2;
4171
+ function requireReactIs$2() {
4172
+ if (hasRequiredReactIs$2) return reactIs$2.exports;
4173
+ hasRequiredReactIs$2 = 1;
4174
+ if (process.env.NODE_ENV === 'production') {
4175
+ reactIs$2.exports = requireReactIs_production_min$2();
4176
+ } else {
4177
+ reactIs$2.exports = requireReactIs_development$2();
4178
+ }
4179
+ return reactIs$2.exports;
4180
+ }
4181
+
4182
+ /*
4183
+ object-assign
4184
+ (c) Sindre Sorhus
4185
+ @license MIT
4186
+ */
4187
+
4188
+ var objectAssign$2;
4189
+ var hasRequiredObjectAssign$2;
4190
+ function requireObjectAssign$2() {
4191
+ if (hasRequiredObjectAssign$2) return objectAssign$2;
4192
+ hasRequiredObjectAssign$2 = 1;
4193
+ /* eslint-disable no-unused-vars */
4194
+ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
4195
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
4196
+ var propIsEnumerable = Object.prototype.propertyIsEnumerable;
4197
+ function toObject(val) {
4198
+ if (val === null || val === undefined) {
4199
+ throw new TypeError('Object.assign cannot be called with null or undefined');
4200
+ }
4201
+ return Object(val);
4202
+ }
4203
+ function shouldUseNative() {
4204
+ try {
4205
+ if (!Object.assign) {
4206
+ return false;
4207
+ }
4208
+
4209
+ // Detect buggy property enumeration order in older V8 versions.
4210
+
4211
+ // https://bugs.chromium.org/p/v8/issues/detail?id=4118
4212
+ var test1 = new String('abc'); // eslint-disable-line no-new-wrappers
4213
+ test1[5] = 'de';
4214
+ if (Object.getOwnPropertyNames(test1)[0] === '5') {
4215
+ return false;
4216
+ }
4217
+
4218
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4219
+ var test2 = {};
4220
+ for (var i = 0; i < 10; i++) {
4221
+ test2['_' + String.fromCharCode(i)] = i;
4222
+ }
4223
+ var order2 = Object.getOwnPropertyNames(test2).map(function (n) {
4224
+ return test2[n];
4225
+ });
4226
+ if (order2.join('') !== '0123456789') {
4227
+ return false;
4228
+ }
4229
+
4230
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3056
4231
+ var test3 = {};
4232
+ 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {
4233
+ test3[letter] = letter;
4234
+ });
4235
+ if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {
4236
+ return false;
4237
+ }
4238
+ return true;
4239
+ } catch (err) {
4240
+ // We don't expect any of the above to throw, but better to be safe.
4241
+ return false;
4242
+ }
4243
+ }
4244
+ objectAssign$2 = shouldUseNative() ? Object.assign : function (target, source) {
4245
+ var from;
4246
+ var to = toObject(target);
4247
+ var symbols;
4248
+ for (var s = 1; s < arguments.length; s++) {
4249
+ from = Object(arguments[s]);
4250
+ for (var key in from) {
4251
+ if (hasOwnProperty.call(from, key)) {
4252
+ to[key] = from[key];
4253
+ }
4254
+ }
4255
+ if (getOwnPropertySymbols) {
4256
+ symbols = getOwnPropertySymbols(from);
4257
+ for (var i = 0; i < symbols.length; i++) {
4258
+ if (propIsEnumerable.call(from, symbols[i])) {
4259
+ to[symbols[i]] = from[symbols[i]];
4260
+ }
4261
+ }
4262
+ }
4263
+ }
4264
+ return to;
4265
+ };
4266
+ return objectAssign$2;
4267
+ }
4268
+
4269
+ /**
4270
+ * Copyright (c) 2013-present, Facebook, Inc.
4271
+ *
4272
+ * This source code is licensed under the MIT license found in the
4273
+ * LICENSE file in the root directory of this source tree.
4274
+ */
4275
+
4276
+ var ReactPropTypesSecret_1$2;
4277
+ var hasRequiredReactPropTypesSecret$2;
4278
+ function requireReactPropTypesSecret$2() {
4279
+ if (hasRequiredReactPropTypesSecret$2) return ReactPropTypesSecret_1$2;
4280
+ hasRequiredReactPropTypesSecret$2 = 1;
4281
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
4282
+ ReactPropTypesSecret_1$2 = ReactPropTypesSecret;
4283
+ return ReactPropTypesSecret_1$2;
4284
+ }
4285
+ var has$2;
4286
+ var hasRequiredHas$2;
4287
+ function requireHas$2() {
4288
+ if (hasRequiredHas$2) return has$2;
4289
+ hasRequiredHas$2 = 1;
4290
+ has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
4291
+ return has$2;
4292
+ }
4293
+
4294
+ /**
4295
+ * Copyright (c) 2013-present, Facebook, Inc.
4296
+ *
4297
+ * This source code is licensed under the MIT license found in the
4298
+ * LICENSE file in the root directory of this source tree.
4299
+ */
4300
+
4301
+ var checkPropTypes_1$2;
4302
+ var hasRequiredCheckPropTypes$2;
4303
+ function requireCheckPropTypes$2() {
4304
+ if (hasRequiredCheckPropTypes$2) return checkPropTypes_1$2;
4305
+ hasRequiredCheckPropTypes$2 = 1;
4306
+ var printWarning = function () {};
4307
+ if (process.env.NODE_ENV !== 'production') {
4308
+ var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret$2();
4309
+ var loggedTypeFailures = {};
4310
+ var has = /*@__PURE__*/requireHas$2();
4311
+ printWarning = function (text) {
4312
+ var message = 'Warning: ' + text;
4313
+ if (typeof console !== 'undefined') {
4314
+ console.error(message);
4315
+ }
4316
+ try {
4317
+ // --- Welcome to debugging React ---
4318
+ // This error was thrown as a convenience so that you can use this stack
4319
+ // to find the callsite that caused this warning to fire.
4320
+ throw new Error(message);
4321
+ } catch (x) {/**/}
4322
+ };
4323
+ }
4324
+
4325
+ /**
4326
+ * Assert that the values match with the type specs.
4327
+ * Error messages are memorized and will only be shown once.
4328
+ *
4329
+ * @param {object} typeSpecs Map of name to a ReactPropType
4330
+ * @param {object} values Runtime values that need to be type-checked
4331
+ * @param {string} location e.g. "prop", "context", "child context"
4332
+ * @param {string} componentName Name of the component for error messages.
4333
+ * @param {?Function} getStack Returns the component stack.
4334
+ * @private
4335
+ */
4336
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
4337
+ if (process.env.NODE_ENV !== 'production') {
4338
+ for (var typeSpecName in typeSpecs) {
4339
+ if (has(typeSpecs, typeSpecName)) {
4340
+ var error;
4341
+ // Prop type validation may throw. In case they do, we don't want to
4342
+ // fail the render phase where it didn't fail before. So we log it.
4343
+ // After these have been cleaned up, we'll let them throw.
4344
+ try {
4345
+ // This is intentionally an invariant that gets caught. It's the same
4346
+ // behavior as without this statement except with a better message.
4347
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
4348
+ var err = Error((componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' + 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.');
4349
+ err.name = 'Invariant Violation';
4350
+ throw err;
4351
+ }
4352
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
4353
+ } catch (ex) {
4354
+ error = ex;
4355
+ }
4356
+ if (error && !(error instanceof Error)) {
4357
+ printWarning((componentName || 'React class') + ': type specification of ' + location + ' `' + typeSpecName + '` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).');
4358
+ }
4359
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
4360
+ // Only monitor this failure once because there tends to be a lot of the
4361
+ // same error.
4362
+ loggedTypeFailures[error.message] = true;
4363
+ var stack = getStack ? getStack() : '';
4364
+ printWarning('Failed ' + location + ' type: ' + error.message + (stack != null ? stack : ''));
4365
+ }
4366
+ }
4367
+ }
4368
+ }
4369
+ }
4370
+
4371
+ /**
4372
+ * Resets warning cache when testing.
4373
+ *
4374
+ * @private
4375
+ */
4376
+ checkPropTypes.resetWarningCache = function () {
4377
+ if (process.env.NODE_ENV !== 'production') {
4378
+ loggedTypeFailures = {};
4379
+ }
4380
+ };
4381
+ checkPropTypes_1$2 = checkPropTypes;
4382
+ return checkPropTypes_1$2;
4383
+ }
4384
+
4385
+ /**
4386
+ * Copyright (c) 2013-present, Facebook, Inc.
4387
+ *
4388
+ * This source code is licensed under the MIT license found in the
4389
+ * LICENSE file in the root directory of this source tree.
4390
+ */
4391
+
4392
+ var factoryWithTypeCheckers$2;
4393
+ var hasRequiredFactoryWithTypeCheckers$2;
4394
+ function requireFactoryWithTypeCheckers$2() {
4395
+ if (hasRequiredFactoryWithTypeCheckers$2) return factoryWithTypeCheckers$2;
4396
+ hasRequiredFactoryWithTypeCheckers$2 = 1;
4397
+ var ReactIs = requireReactIs$2();
4398
+ var assign = requireObjectAssign$2();
4399
+ var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret$2();
4400
+ var has = /*@__PURE__*/requireHas$2();
4401
+ var checkPropTypes = /*@__PURE__*/requireCheckPropTypes$2();
4402
+ var printWarning = function () {};
4403
+ if (process.env.NODE_ENV !== 'production') {
4404
+ printWarning = function (text) {
4405
+ var message = 'Warning: ' + text;
4406
+ if (typeof console !== 'undefined') {
4407
+ console.error(message);
4408
+ }
4409
+ try {
4410
+ // --- Welcome to debugging React ---
4411
+ // This error was thrown as a convenience so that you can use this stack
4412
+ // to find the callsite that caused this warning to fire.
4413
+ throw new Error(message);
4414
+ } catch (x) {}
4415
+ };
4416
+ }
4417
+ function emptyFunctionThatReturnsNull() {
4418
+ return null;
4419
+ }
4420
+ factoryWithTypeCheckers$2 = function (isValidElement, throwOnDirectAccess) {
4421
+ /* global Symbol */
4422
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
4423
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
4424
+
4425
+ /**
4426
+ * Returns the iterator method function contained on the iterable object.
4427
+ *
4428
+ * Be sure to invoke the function with the iterable as context:
4429
+ *
4430
+ * var iteratorFn = getIteratorFn(myIterable);
4431
+ * if (iteratorFn) {
4432
+ * var iterator = iteratorFn.call(myIterable);
4433
+ * ...
4434
+ * }
4435
+ *
4436
+ * @param {?object} maybeIterable
4437
+ * @return {?function}
4438
+ */
4439
+ function getIteratorFn(maybeIterable) {
4440
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
4441
+ if (typeof iteratorFn === 'function') {
4442
+ return iteratorFn;
4443
+ }
4444
+ }
4445
+
4446
+ /**
4447
+ * Collection of methods that allow declaration and validation of props that are
4448
+ * supplied to React components. Example usage:
4449
+ *
4450
+ * var Props = require('ReactPropTypes');
4451
+ * var MyArticle = React.createClass({
4452
+ * propTypes: {
4453
+ * // An optional string prop named "description".
4454
+ * description: Props.string,
4455
+ *
4456
+ * // A required enum prop named "category".
4457
+ * category: Props.oneOf(['News','Photos']).isRequired,
4458
+ *
4459
+ * // A prop named "dialog" that requires an instance of Dialog.
4460
+ * dialog: Props.instanceOf(Dialog).isRequired
4461
+ * },
4462
+ * render: function() { ... }
4463
+ * });
4464
+ *
4465
+ * A more formal specification of how these methods are used:
4466
+ *
4467
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
4468
+ * decl := ReactPropTypes.{type}(.isRequired)?
4469
+ *
4470
+ * Each and every declaration produces a function with the same signature. This
4471
+ * allows the creation of custom validation functions. For example:
4472
+ *
4473
+ * var MyLink = React.createClass({
4474
+ * propTypes: {
4475
+ * // An optional string or URI prop named "href".
4476
+ * href: function(props, propName, componentName) {
4477
+ * var propValue = props[propName];
4478
+ * if (propValue != null && typeof propValue !== 'string' &&
4479
+ * !(propValue instanceof URI)) {
4480
+ * return new Error(
4481
+ * 'Expected a string or an URI for ' + propName + ' in ' +
4482
+ * componentName
4483
+ * );
4484
+ * }
4485
+ * }
4486
+ * },
4487
+ * render: function() {...}
4488
+ * });
4489
+ *
4490
+ * @internal
4491
+ */
4492
+
4493
+ var ANONYMOUS = '<<anonymous>>';
4494
+
4495
+ // Important!
4496
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
4497
+ var ReactPropTypes = {
4498
+ array: createPrimitiveTypeChecker('array'),
4499
+ bigint: createPrimitiveTypeChecker('bigint'),
4500
+ bool: createPrimitiveTypeChecker('boolean'),
4501
+ func: createPrimitiveTypeChecker('function'),
4502
+ number: createPrimitiveTypeChecker('number'),
4503
+ object: createPrimitiveTypeChecker('object'),
4504
+ string: createPrimitiveTypeChecker('string'),
4505
+ symbol: createPrimitiveTypeChecker('symbol'),
4506
+ any: createAnyTypeChecker(),
4507
+ arrayOf: createArrayOfTypeChecker,
4508
+ element: createElementTypeChecker(),
4509
+ elementType: createElementTypeTypeChecker(),
4510
+ instanceOf: createInstanceTypeChecker,
4511
+ node: createNodeChecker(),
4512
+ objectOf: createObjectOfTypeChecker,
4513
+ oneOf: createEnumTypeChecker,
4514
+ oneOfType: createUnionTypeChecker,
4515
+ shape: createShapeTypeChecker,
4516
+ exact: createStrictShapeTypeChecker
4517
+ };
4518
+
4519
+ /**
4520
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
4521
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
4522
+ */
4523
+ /*eslint-disable no-self-compare*/
4524
+ function is(x, y) {
4525
+ // SameValue algorithm
4526
+ if (x === y) {
4527
+ // Steps 1-5, 7-10
4528
+ // Steps 6.b-6.e: +0 != -0
4529
+ return x !== 0 || 1 / x === 1 / y;
4530
+ } else {
4531
+ // Step 6.a: NaN == NaN
4532
+ return x !== x && y !== y;
4533
+ }
4534
+ }
4535
+ /*eslint-enable no-self-compare*/
4536
+
4537
+ /**
4538
+ * We use an Error-like object for backward compatibility as people may call
4539
+ * PropTypes directly and inspect their output. However, we don't use real
4540
+ * Errors anymore. We don't inspect their stack anyway, and creating them
4541
+ * is prohibitively expensive if they are created too often, such as what
4542
+ * happens in oneOfType() for any type before the one that matched.
4543
+ */
4544
+ function PropTypeError(message, data) {
4545
+ this.message = message;
4546
+ this.data = data && typeof data === 'object' ? data : {};
4547
+ this.stack = '';
4548
+ }
4549
+ // Make `instanceof Error` still work for returned errors.
4550
+ PropTypeError.prototype = Error.prototype;
4551
+ function createChainableTypeChecker(validate) {
4552
+ if (process.env.NODE_ENV !== 'production') {
4553
+ var manualPropTypeCallCache = {};
4554
+ var manualPropTypeWarningCount = 0;
4555
+ }
4556
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
4557
+ componentName = componentName || ANONYMOUS;
4558
+ propFullName = propFullName || propName;
4559
+ if (secret !== ReactPropTypesSecret) {
4560
+ if (throwOnDirectAccess) {
4561
+ // New behavior only for users of `prop-types` package
4562
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use `PropTypes.checkPropTypes()` to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
4563
+ err.name = 'Invariant Violation';
4564
+ throw err;
4565
+ } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
4566
+ // Old behavior for people using React.PropTypes
4567
+ var cacheKey = componentName + ':' + propName;
4568
+ if (!manualPropTypeCallCache[cacheKey] &&
4569
+ // Avoid spamming the console because they are often not actionable except for lib authors
4570
+ manualPropTypeWarningCount < 3) {
4571
+ printWarning('You are manually calling a React.PropTypes validation ' + 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' + 'and will throw in the standalone `prop-types` package. ' + 'You may be seeing this warning due to a third-party PropTypes ' + 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.');
4572
+ manualPropTypeCallCache[cacheKey] = true;
4573
+ manualPropTypeWarningCount++;
4574
+ }
4575
+ }
4576
+ }
4577
+ if (props[propName] == null) {
4578
+ if (isRequired) {
4579
+ if (props[propName] === null) {
4580
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
4581
+ }
4582
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
4583
+ }
4584
+ return null;
4585
+ } else {
4586
+ return validate(props, propName, componentName, location, propFullName);
4587
+ }
4588
+ }
4589
+ var chainedCheckType = checkType.bind(null, false);
4590
+ chainedCheckType.isRequired = checkType.bind(null, true);
4591
+ return chainedCheckType;
4592
+ }
4593
+ function createPrimitiveTypeChecker(expectedType) {
4594
+ function validate(props, propName, componentName, location, propFullName, secret) {
4595
+ var propValue = props[propName];
4596
+ var propType = getPropType(propValue);
4597
+ if (propType !== expectedType) {
4598
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
4599
+ // check, but we can offer a more precise error message here rather than
4600
+ // 'of type `object`'.
4601
+ var preciseType = getPreciseType(propValue);
4602
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'), {
4603
+ expectedType: expectedType
4604
+ });
4605
+ }
4606
+ return null;
4607
+ }
4608
+ return createChainableTypeChecker(validate);
4609
+ }
4610
+ function createAnyTypeChecker() {
4611
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
4612
+ }
4613
+ function createArrayOfTypeChecker(typeChecker) {
4614
+ function validate(props, propName, componentName, location, propFullName) {
4615
+ if (typeof typeChecker !== 'function') {
4616
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
4617
+ }
4618
+ var propValue = props[propName];
4619
+ if (!Array.isArray(propValue)) {
4620
+ var propType = getPropType(propValue);
4621
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
4622
+ }
4623
+ for (var i = 0; i < propValue.length; i++) {
4624
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
4625
+ if (error instanceof Error) {
4626
+ return error;
4627
+ }
4628
+ }
4629
+ return null;
4630
+ }
4631
+ return createChainableTypeChecker(validate);
4632
+ }
4633
+ function createElementTypeChecker() {
4634
+ function validate(props, propName, componentName, location, propFullName) {
4635
+ var propValue = props[propName];
4636
+ if (!isValidElement(propValue)) {
4637
+ var propType = getPropType(propValue);
4638
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
4639
+ }
4640
+ return null;
4641
+ }
4642
+ return createChainableTypeChecker(validate);
4643
+ }
4644
+ function createElementTypeTypeChecker() {
4645
+ function validate(props, propName, componentName, location, propFullName) {
4646
+ var propValue = props[propName];
4647
+ if (!ReactIs.isValidElementType(propValue)) {
4648
+ var propType = getPropType(propValue);
4649
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
4650
+ }
4651
+ return null;
4652
+ }
4653
+ return createChainableTypeChecker(validate);
4654
+ }
4655
+ function createInstanceTypeChecker(expectedClass) {
4656
+ function validate(props, propName, componentName, location, propFullName) {
4657
+ if (!(props[propName] instanceof expectedClass)) {
4658
+ var expectedClassName = expectedClass.name || ANONYMOUS;
4659
+ var actualClassName = getClassName(props[propName]);
4660
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
4661
+ }
4662
+ return null;
4663
+ }
4664
+ return createChainableTypeChecker(validate);
4665
+ }
4666
+ function createEnumTypeChecker(expectedValues) {
4667
+ if (!Array.isArray(expectedValues)) {
4668
+ if (process.env.NODE_ENV !== 'production') {
4669
+ if (arguments.length > 1) {
4670
+ printWarning('Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' + 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).');
4671
+ } else {
4672
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
4673
+ }
4674
+ }
4675
+ return emptyFunctionThatReturnsNull;
4676
+ }
4677
+ function validate(props, propName, componentName, location, propFullName) {
4678
+ var propValue = props[propName];
4679
+ for (var i = 0; i < expectedValues.length; i++) {
4680
+ if (is(propValue, expectedValues[i])) {
4681
+ return null;
4682
+ }
4683
+ }
4684
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
4685
+ var type = getPreciseType(value);
4686
+ if (type === 'symbol') {
4687
+ return String(value);
4688
+ }
4689
+ return value;
4690
+ });
4691
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
4692
+ }
4693
+ return createChainableTypeChecker(validate);
4694
+ }
4695
+ function createObjectOfTypeChecker(typeChecker) {
4696
+ function validate(props, propName, componentName, location, propFullName) {
4697
+ if (typeof typeChecker !== 'function') {
4698
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
4699
+ }
4700
+ var propValue = props[propName];
4701
+ var propType = getPropType(propValue);
4702
+ if (propType !== 'object') {
4703
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
4704
+ }
4705
+ for (var key in propValue) {
4706
+ if (has(propValue, key)) {
4707
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4708
+ if (error instanceof Error) {
4709
+ return error;
4710
+ }
4711
+ }
4712
+ }
4713
+ return null;
4714
+ }
4715
+ return createChainableTypeChecker(validate);
4716
+ }
4717
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
4718
+ if (!Array.isArray(arrayOfTypeCheckers)) {
4719
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
4720
+ return emptyFunctionThatReturnsNull;
4721
+ }
4722
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
4723
+ var checker = arrayOfTypeCheckers[i];
4724
+ if (typeof checker !== 'function') {
4725
+ printWarning('Invalid argument supplied to oneOfType. Expected an array of check functions, but ' + 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.');
4726
+ return emptyFunctionThatReturnsNull;
4727
+ }
4728
+ }
4729
+ function validate(props, propName, componentName, location, propFullName) {
4730
+ var expectedTypes = [];
4731
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
4732
+ var checker = arrayOfTypeCheckers[i];
4733
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
4734
+ if (checkerResult == null) {
4735
+ return null;
4736
+ }
4737
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
4738
+ expectedTypes.push(checkerResult.data.expectedType);
4739
+ }
4740
+ }
4741
+ var expectedTypesMessage = expectedTypes.length > 0 ? ', expected one of type [' + expectedTypes.join(', ') + ']' : '';
4742
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
4743
+ }
4744
+ return createChainableTypeChecker(validate);
4745
+ }
4746
+ function createNodeChecker() {
4747
+ function validate(props, propName, componentName, location, propFullName) {
4748
+ if (!isNode(props[propName])) {
4749
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
4750
+ }
4751
+ return null;
4752
+ }
4753
+ return createChainableTypeChecker(validate);
4754
+ }
4755
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
4756
+ return new PropTypeError((componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' + 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.');
4757
+ }
4758
+ function createShapeTypeChecker(shapeTypes) {
4759
+ function validate(props, propName, componentName, location, propFullName) {
4760
+ var propValue = props[propName];
4761
+ var propType = getPropType(propValue);
4762
+ if (propType !== 'object') {
4763
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
4764
+ }
4765
+ for (var key in shapeTypes) {
4766
+ var checker = shapeTypes[key];
4767
+ if (typeof checker !== 'function') {
4768
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
4769
+ }
4770
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4771
+ if (error) {
4772
+ return error;
4773
+ }
4774
+ }
4775
+ return null;
4776
+ }
4777
+ return createChainableTypeChecker(validate);
4778
+ }
4779
+ function createStrictShapeTypeChecker(shapeTypes) {
4780
+ function validate(props, propName, componentName, location, propFullName) {
4781
+ var propValue = props[propName];
4782
+ var propType = getPropType(propValue);
4783
+ if (propType !== 'object') {
4784
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
4785
+ }
4786
+ // We need to check all keys in case some are required but missing from props.
4787
+ var allKeys = assign({}, props[propName], shapeTypes);
4788
+ for (var key in allKeys) {
4789
+ var checker = shapeTypes[key];
4790
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
4791
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
4792
+ }
4793
+ if (!checker) {
4794
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' + '\nBad object: ' + JSON.stringify(props[propName], null, ' ') + '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' '));
4795
+ }
4796
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
4797
+ if (error) {
4798
+ return error;
4799
+ }
4800
+ }
4801
+ return null;
4802
+ }
4803
+ return createChainableTypeChecker(validate);
4804
+ }
4805
+ function isNode(propValue) {
4806
+ switch (typeof propValue) {
4807
+ case 'number':
4808
+ case 'string':
4809
+ case 'undefined':
4810
+ return true;
4811
+ case 'boolean':
4812
+ return !propValue;
4813
+ case 'object':
4814
+ if (Array.isArray(propValue)) {
4815
+ return propValue.every(isNode);
4816
+ }
4817
+ if (propValue === null || isValidElement(propValue)) {
4818
+ return true;
4819
+ }
4820
+ var iteratorFn = getIteratorFn(propValue);
4821
+ if (iteratorFn) {
4822
+ var iterator = iteratorFn.call(propValue);
4823
+ var step;
4824
+ if (iteratorFn !== propValue.entries) {
4825
+ while (!(step = iterator.next()).done) {
4826
+ if (!isNode(step.value)) {
4827
+ return false;
4828
+ }
4829
+ }
4830
+ } else {
4831
+ // Iterator will provide entry [k,v] tuples rather than values.
4832
+ while (!(step = iterator.next()).done) {
4833
+ var entry = step.value;
4834
+ if (entry) {
4835
+ if (!isNode(entry[1])) {
4836
+ return false;
4837
+ }
4838
+ }
4839
+ }
4840
+ }
4841
+ } else {
4842
+ return false;
4843
+ }
4844
+ return true;
4845
+ default:
4846
+ return false;
4847
+ }
4848
+ }
4849
+ function isSymbol(propType, propValue) {
4850
+ // Native Symbol.
4851
+ if (propType === 'symbol') {
4852
+ return true;
4853
+ }
4854
+
4855
+ // falsy value can't be a Symbol
4856
+ if (!propValue) {
4857
+ return false;
4858
+ }
4859
+
4860
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
4861
+ if (propValue['@@toStringTag'] === 'Symbol') {
4862
+ return true;
4863
+ }
4864
+
4865
+ // Fallback for non-spec compliant Symbols which are polyfilled.
4866
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
4867
+ return true;
4868
+ }
4869
+ return false;
4870
+ }
4871
+
4872
+ // Equivalent of `typeof` but with special handling for array and regexp.
4873
+ function getPropType(propValue) {
4874
+ var propType = typeof propValue;
4875
+ if (Array.isArray(propValue)) {
4876
+ return 'array';
4877
+ }
4878
+ if (propValue instanceof RegExp) {
4879
+ // Old webkits (at least until Android 4.0) return 'function' rather than
4880
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
4881
+ // passes PropTypes.object.
4882
+ return 'object';
4883
+ }
4884
+ if (isSymbol(propType, propValue)) {
4885
+ return 'symbol';
4886
+ }
4887
+ return propType;
4888
+ }
4889
+
4890
+ // This handles more types than `getPropType`. Only used for error messages.
4891
+ // See `createPrimitiveTypeChecker`.
4892
+ function getPreciseType(propValue) {
4893
+ if (typeof propValue === 'undefined' || propValue === null) {
4894
+ return '' + propValue;
4895
+ }
4896
+ var propType = getPropType(propValue);
4897
+ if (propType === 'object') {
4898
+ if (propValue instanceof Date) {
4899
+ return 'date';
4900
+ } else if (propValue instanceof RegExp) {
4901
+ return 'regexp';
4902
+ }
4903
+ }
4904
+ return propType;
4905
+ }
4906
+
4907
+ // Returns a string that is postfixed to a warning about an invalid type.
4908
+ // For example, "undefined" or "of type array"
4909
+ function getPostfixForTypeWarning(value) {
4910
+ var type = getPreciseType(value);
4911
+ switch (type) {
4912
+ case 'array':
4913
+ case 'object':
4914
+ return 'an ' + type;
4915
+ case 'boolean':
4916
+ case 'date':
4917
+ case 'regexp':
4918
+ return 'a ' + type;
4919
+ default:
4920
+ return type;
4921
+ }
4922
+ }
4923
+
4924
+ // Returns class name of the object, if any.
4925
+ function getClassName(propValue) {
4926
+ if (!propValue.constructor || !propValue.constructor.name) {
4927
+ return ANONYMOUS;
4928
+ }
4929
+ return propValue.constructor.name;
4930
+ }
4931
+ ReactPropTypes.checkPropTypes = checkPropTypes;
4932
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
4933
+ ReactPropTypes.PropTypes = ReactPropTypes;
4934
+ return ReactPropTypes;
4935
+ };
4936
+ return factoryWithTypeCheckers$2;
4937
+ }
4938
+
4939
+ /**
4940
+ * Copyright (c) 2013-present, Facebook, Inc.
4941
+ *
4942
+ * This source code is licensed under the MIT license found in the
4943
+ * LICENSE file in the root directory of this source tree.
4944
+ */
4945
+
4946
+ var factoryWithThrowingShims$2;
4947
+ var hasRequiredFactoryWithThrowingShims$2;
4948
+ function requireFactoryWithThrowingShims$2() {
4949
+ if (hasRequiredFactoryWithThrowingShims$2) return factoryWithThrowingShims$2;
4950
+ hasRequiredFactoryWithThrowingShims$2 = 1;
4951
+ var ReactPropTypesSecret = /*@__PURE__*/requireReactPropTypesSecret$2();
4952
+ function emptyFunction() {}
4953
+ function emptyFunctionWithReset() {}
4954
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
4955
+ factoryWithThrowingShims$2 = function () {
4956
+ function shim(props, propName, componentName, location, propFullName, secret) {
4957
+ if (secret === ReactPropTypesSecret) {
4958
+ // It is still safe when called from React.
4959
+ return;
4960
+ }
4961
+ var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');
4962
+ err.name = 'Invariant Violation';
4963
+ throw err;
4964
+ }
4965
+ shim.isRequired = shim;
4966
+ function getShim() {
4967
+ return shim;
4968
+ } // Important!
4969
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
4970
+ var ReactPropTypes = {
4971
+ array: shim,
4972
+ bigint: shim,
4973
+ bool: shim,
4974
+ func: shim,
4975
+ number: shim,
4976
+ object: shim,
4977
+ string: shim,
4978
+ symbol: shim,
4979
+ any: shim,
4980
+ arrayOf: getShim,
4981
+ element: shim,
4982
+ elementType: shim,
4983
+ instanceOf: getShim,
4984
+ node: shim,
4985
+ objectOf: getShim,
4986
+ oneOf: getShim,
4987
+ oneOfType: getShim,
4988
+ shape: getShim,
4989
+ exact: getShim,
4990
+ checkPropTypes: emptyFunctionWithReset,
4991
+ resetWarningCache: emptyFunction
4992
+ };
4993
+ ReactPropTypes.PropTypes = ReactPropTypes;
4994
+ return ReactPropTypes;
4995
+ };
4996
+ return factoryWithThrowingShims$2;
4997
+ }
4998
+
4999
+ /**
5000
+ * Copyright (c) 2013-present, Facebook, Inc.
5001
+ *
5002
+ * This source code is licensed under the MIT license found in the
5003
+ * LICENSE file in the root directory of this source tree.
5004
+ */
5005
+
5006
+ var hasRequiredPropTypes$2;
5007
+ function requirePropTypes$2() {
5008
+ if (hasRequiredPropTypes$2) return propTypes$2.exports;
5009
+ hasRequiredPropTypes$2 = 1;
5010
+ if (process.env.NODE_ENV !== 'production') {
5011
+ var ReactIs = requireReactIs$2();
5012
+
5013
+ // By explicitly using `prop-types` you are opting into new development behavior.
5014
+ // http://fb.me/prop-types-in-prod
5015
+ var throwOnDirectAccess = true;
5016
+ propTypes$2.exports = /*@__PURE__*/requireFactoryWithTypeCheckers$2()(ReactIs.isElement, throwOnDirectAccess);
5017
+ } else {
5018
+ // By explicitly using `prop-types` you are opting into new production behavior.
5019
+ // http://fb.me/prop-types-in-prod
5020
+ propTypes$2.exports = /*@__PURE__*/requireFactoryWithThrowingShims$2()();
5021
+ }
5022
+ return propTypes$2.exports;
5023
+ }
5024
+ var propTypesExports$2 = /*@__PURE__*/requirePropTypes$2();
5025
+ var PropTypes$2 = /*@__PURE__*/getDefaultExportFromCjs$2(propTypesExports$2);
5026
+ ({
5027
+ onPowerOff: PropTypes$2.func,
5028
+ onRestart: PropTypes$2.func,
5029
+ powerOffLabel: PropTypes$2.string,
5030
+ restartLabel: PropTypes$2.string,
5031
+ iconClassName: PropTypes$2.string,
5032
+ confirmTitle: PropTypes$2.string,
5033
+ cancelText: PropTypes$2.string,
5034
+ okText: PropTypes$2.string,
5035
+ run: PropTypes$2.func
5036
+ });
5037
+ ({
5038
+ logoUrl: PropTypes$2.string,
5039
+ logoWidth: PropTypes$2.number,
5040
+ logoAlt: PropTypes$2.string,
5041
+ onClick: PropTypes$2.func
5042
+ });
5043
+
5044
+ // PropTypes 类型检查
5045
+ ({
5046
+ menuElement: PropTypes$2.node,
5047
+ productInfo: PropTypes$2.shape({
5048
+ productName: PropTypes$2.string,
5049
+ version: PropTypes$2.string
5050
+ }),
5051
+ showLogo: PropTypes$2.bool,
5052
+ showProductInfo: PropTypes$2.bool,
5053
+ showHardwareUsage: PropTypes$2.bool,
5054
+ showSystemOperations: PropTypes$2.bool,
5055
+ onPowerOff: PropTypes$2.func,
5056
+ onRestart: PropTypes$2.func,
5057
+ onRun: PropTypes$2.func,
5058
+ hardwareMonitorUrl: PropTypes$2.string,
5059
+ getSocketUrl: PropTypes$2.func,
5060
+ logoProps: PropTypes$2.object,
5061
+ className: PropTypes$2.string,
5062
+ style: PropTypes$2.object
5063
+ });
3802
5064
  function getDefaultExportFromCjs$1(x) {
3803
5065
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
3804
5066
  }
@@ -6250,7 +7512,7 @@ const NmosModal = _ref => {
6250
7512
  const values = await form.getFieldsValue();
6251
7513
  setLoading(true);
6252
7514
  try {
6253
- const response = await updateNmosSettings(_objectSpread2(_objectSpread2({}, nmosSettings), values));
7515
+ const response = await updateNmosSettings(_objectSpread2$1(_objectSpread2$1({}, nmosSettings), values));
6254
7516
  if (response) {
6255
7517
  message.success('Success');
6256
7518
  setTimeout(() => {
@@ -6263,7 +7525,7 @@ const NmosModal = _ref => {
6263
7525
  setLoading(false);
6264
7526
  }
6265
7527
  };
6266
- return /*#__PURE__*/jsx(StyledModal$3, _objectSpread2(_objectSpread2({
7528
+ return /*#__PURE__*/jsx(StyledModal$1, _objectSpread2$1(_objectSpread2$1({
6267
7529
  title: "NMOS",
6268
7530
  width: 650,
6269
7531
  open: open,
@@ -6272,7 +7534,7 @@ const NmosModal = _ref => {
6272
7534
  confirmLoading: loading,
6273
7535
  destroyOnClose: true // 关闭时销毁组件,确保下次打开重新初始化
6274
7536
  }, modalProps), {}, {
6275
- children: /*#__PURE__*/jsxs(Form, _objectSpread2(_objectSpread2({
7537
+ children: /*#__PURE__*/jsxs(Form, _objectSpread2$1(_objectSpread2$1({
6276
7538
  form: form,
6277
7539
  name: "nmosForm",
6278
7540
  labelCol: {
@@ -6308,7 +7570,7 @@ const NmosModal = _ref => {
6308
7570
  }), /*#__PURE__*/jsx(Form.Item, {
6309
7571
  label: "Registry Port",
6310
7572
  name: "registration_port",
6311
- children: /*#__PURE__*/jsx(InputNumber, _objectSpread2(_objectSpread2({}, numberProps), {}, {
7573
+ children: /*#__PURE__*/jsx(InputNumber, _objectSpread2$1(_objectSpread2$1({}, numberProps), {}, {
6312
7574
  min: 0,
6313
7575
  max: 65535,
6314
7576
  style: {
@@ -6337,7 +7599,7 @@ const NmosModal = _ref => {
6337
7599
  }), /*#__PURE__*/jsx(Form.Item, {
6338
7600
  label: "Logging Level",
6339
7601
  name: "logging_level",
6340
- children: /*#__PURE__*/jsx(InputNumber, _objectSpread2(_objectSpread2({}, numberProps), {}, {
7602
+ children: /*#__PURE__*/jsx(InputNumber, _objectSpread2$1(_objectSpread2$1({}, numberProps), {}, {
6341
7603
  min: -40,
6342
7604
  max: 40,
6343
7605
  style: {
@@ -6445,7 +7707,7 @@ function DraggableNumberInput(_ref2) {
6445
7707
  // 新增 disabled 属性
6446
7708
  style
6447
7709
  } = _ref2,
6448
- restProps = _objectWithoutProperties(_ref2, _excluded);
7710
+ restProps = _objectWithoutProperties$1(_ref2, _excluded);
6449
7711
  const inputRef = useRef(null);
6450
7712
  const [isMouseDown, setIsMouseDown] = useState(false);
6451
7713
  const [isDragging, setIsDragging] = useState(false);
@@ -6554,7 +7816,7 @@ function DraggableNumberInput(_ref2) {
6554
7816
  applyMovement(totalMovement.current, e);
6555
7817
  }, [isMouseDown, disabled]);
6556
7818
  const getModifiers = useCallback(e => {
6557
- const mods = _objectSpread2(_objectSpread2({}, defaultModifiers), modifierKeys);
7819
+ const mods = _objectSpread2$1(_objectSpread2$1({}, defaultModifiers), modifierKeys);
6558
7820
  for (const key in mods) {
6559
7821
  if (key !== "default" && e[key]) {
6560
7822
  currentMultiplier.current = mods[key].multiplier;
@@ -6670,7 +7932,7 @@ function DraggableNumberInput(_ref2) {
6670
7932
  background: 'rgba(255, 255, 255, 0.08)',
6671
7933
  color: 'rgba(255, 255, 255, 0.25)'
6672
7934
  } : {};
6673
- return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("input", _objectSpread2({
7935
+ return /* @__PURE__ */React.createElement(React.Fragment, null, /* @__PURE__ */React.createElement("input", _objectSpread2$1({
6674
7936
  ref: inputRef,
6675
7937
  type: "text",
6676
7938
  inputMode: "numeric",
@@ -6684,7 +7946,7 @@ function DraggableNumberInput(_ref2) {
6684
7946
  disabled: disabled,
6685
7947
  // 添加 disabled 属性
6686
7948
  className: "draggable-number-input ".concat(className, " ").concat(isDragging ? "dragging" : "", " ").concat(disabled ? "disabled" : ""),
6687
- style: _objectSpread2(_objectSpread2(_objectSpread2({}, {
7949
+ style: _objectSpread2$1(_objectSpread2$1(_objectSpread2$1({}, {
6688
7950
  cursor: disabled ? 'not-allowed' : 'ew-resize',
6689
7951
  userSelect: disabled ? 'none' : 'auto',
6690
7952
  caretColor: isDragging ? "transparent" : "initial"
@@ -6694,5 +7956,5 @@ function DraggableNumberInput(_ref2) {
6694
7956
  }));
6695
7957
  }
6696
7958
 
6697
- export { AuthorizationModal$1 as AuthorizationModal, CommonHeader$1 as CommonHeader, DraggableNumberInput, LSMLabelField$1 as LSMLabelField, NetworkSettingsModal$1 as NetworkSettingsModal, NmosModal$1 as NmosModal, PresetModal, PtpModal$1 as PtpModal, StyledModal$1 as StyledModal, SystemOperations$1 as SystemOperations, UpgradeManager$1 as UpgradeManager, useAuth, useHardwareUsage$1 as useHardwareUsage, useSystemOperations$1 as useSystemOperations, useUpgrade$1 as useUpgrade };
7959
+ export { AuthorizationModal$1 as AuthorizationModal, CommonHeader$1 as CommonHeader, DraggableNumberInput, LSMLabelField$1 as LSMLabelField, NetworkSettingsModal$1 as NetworkSettingsModal, NmosModal$1 as NmosModal, PresetModal, PtpModal$1 as PtpModal, StyledModal$3 as StyledModal, SystemOperations$1 as SystemOperations, UpgradeManager$1 as UpgradeManager, useAuth, useHardwareUsage$1 as useHardwareUsage, usePageReload$1 as usePageReload, useSystemOperations$1 as useSystemOperations, useUpgrade$1 as useUpgrade };
6698
7960
  //# sourceMappingURL=index.esm.js.map