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CAAC,CACnClP,IAAK,SACLvB,MAAO,WACL,IAAI6Q,EAAS7E,KAEb,OAAoBpL,EAAMoH,cAAc0D,EAAOlL,aAAamN,SAAU,MAAM,SAAUvB,GACpF,OAAoBxL,EAAMoH,cAAcuH,GAAc,EAAI7O,EAAmB,SAAG,CAC9EwD,IAAK,SAAa4M,GAChBD,EAAOD,KAAOE,CAChB,GACCD,EAAOnL,MAAO0G,GACnB,GACF,KAEKqE,CACT,CAnCwB,CAmCtB7P,EAAMgN,WAER6C,EAAKvF,QAAUyD,EAAsB,QACrC8B,EAAKxD,KAAO2B,EAAmB,QAC/B6B,EAAKpC,QAAUK,EAAkB,QACjC+B,EAAKtB,UAAYpE,EAAQoE,UACzB,IAAIlP,EAAWwQ,EACf1Q,EAAiB,QAAIE,C","sources":["../node_modules/antd/lib/_util/isNumeric.js","../node_modules/antd/lib/layout/Sider.js","../node_modules/antd/lib/layout/layout.js","../node_modules/antd/lib/menu/MenuContext.js","../node_modules/antd/lib/menu/MenuDivider.js","../node_modules/antd/lib/menu/MenuItem.js","../node_modules/antd/lib/menu/SubMenu.js","../node_modules/antd/lib/menu/hooks/useItems.js","../node_modules/antd/lib/menu/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar isNumeric = function isNumeric(value) {\n  return !isNaN(parseFloat(value)) && isFinite(value);\n};\n\nvar _default = isNumeric;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = exports.SiderContext = void 0;\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\n\nvar _BarsOutlined = _interopRequireDefault(require(\"@ant-design/icons/BarsOutlined\"));\n\nvar _RightOutlined = _interopRequireDefault(require(\"@ant-design/icons/RightOutlined\"));\n\nvar _LeftOutlined = _interopRequireDefault(require(\"@ant-design/icons/LeftOutlined\"));\n\nvar _layout = require(\"./layout\");\n\nvar _configProvider = require(\"../config-provider\");\n\nvar _isNumeric = _interopRequireDefault(require(\"../_util/isNumeric\"));\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar dimensionMaxMap = {\n  xs: '479.98px',\n  sm: '575.98px',\n  md: '767.98px',\n  lg: '991.98px',\n  xl: '1199.98px',\n  xxl: '1599.98px'\n};\nvar SiderContext = /*#__PURE__*/React.createContext({});\nexports.SiderContext = SiderContext;\n\nvar generateId = function () {\n  var i = 0;\n  return function () {\n    var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n    i += 1;\n    return \"\".concat(prefix).concat(i);\n  };\n}();\n\nvar Sider = /*#__PURE__*/React.forwardRef(function (_a, ref) {\n  var customizePrefixCls = _a.prefixCls,\n      className = _a.className,\n      trigger = _a.trigger,\n      children = _a.children,\n      _a$defaultCollapsed = _a.defaultCollapsed,\n      defaultCollapsed = _a$defaultCollapsed === void 0 ? false : _a$defaultCollapsed,\n      _a$theme = _a.theme,\n      theme = _a$theme === void 0 ? 'dark' : _a$theme,\n      _a$style = _a.style,\n      style = _a$style === void 0 ? {} : _a$style,\n      _a$collapsible = _a.collapsible,\n      collapsible = _a$collapsible === void 0 ? false : _a$collapsible,\n      _a$reverseArrow = _a.reverseArrow,\n      reverseArrow = _a$reverseArrow === void 0 ? false : _a$reverseArrow,\n      _a$width = _a.width,\n      width = _a$width === void 0 ? 200 : _a$width,\n      _a$collapsedWidth = _a.collapsedWidth,\n      collapsedWidth = _a$collapsedWidth === void 0 ? 80 : _a$collapsedWidth,\n      zeroWidthTriggerStyle = _a.zeroWidthTriggerStyle,\n      breakpoint = _a.breakpoint,\n      onCollapse = _a.onCollapse,\n      onBreakpoint = _a.onBreakpoint,\n      props = __rest(_a, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n\n  var _useContext = (0, React.useContext)(_layout.LayoutContext),\n      siderHook = _useContext.siderHook;\n\n  var _useState = (0, React.useState)('collapsed' in props ? props.collapsed : defaultCollapsed),\n      _useState2 = (0, _slicedToArray2[\"default\"])(_useState, 2),\n      collapsed = _useState2[0],\n      setCollapsed = _useState2[1];\n\n  var _useState3 = (0, React.useState)(false),\n      _useState4 = (0, _slicedToArray2[\"default\"])(_useState3, 2),\n      below = _useState4[0],\n      setBelow = _useState4[1];\n\n  (0, React.useEffect)(function () {\n    if ('collapsed' in props) {\n      setCollapsed(props.collapsed);\n    }\n  }, [props.collapsed]);\n\n  var handleSetCollapsed = function handleSetCollapsed(value, type) {\n    if (!('collapsed' in props)) {\n      setCollapsed(value);\n    }\n\n    onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n  }; // ========================= Responsive =========================\n\n\n  var responsiveHandlerRef = (0, React.useRef)();\n\n  responsiveHandlerRef.current = function (mql) {\n    setBelow(mql.matches);\n    onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n\n    if (collapsed !== mql.matches) {\n      handleSetCollapsed(mql.matches, 'responsive');\n    }\n  };\n\n  (0, React.useEffect)(function () {\n    function responsiveHandler(mql) {\n      return responsiveHandlerRef.current(mql);\n    }\n\n    var mql;\n\n    if (typeof window !== 'undefined') {\n      var _window = window,\n          matchMedia = _window.matchMedia;\n\n      if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n        mql = matchMedia(\"(max-width: \".concat(dimensionMaxMap[breakpoint], \")\"));\n\n        try {\n          mql.addEventListener('change', responsiveHandler);\n        } catch (error) {\n          mql.addListener(responsiveHandler);\n        }\n\n        responsiveHandler(mql);\n      }\n    }\n\n    return function () {\n      try {\n        mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n      } catch (error) {\n        mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n      }\n    };\n  }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n\n  (0, React.useEffect)(function () {\n    var uniqueId = generateId('ant-sider-');\n    siderHook.addSider(uniqueId);\n    return function () {\n      return siderHook.removeSider(uniqueId);\n    };\n  }, []);\n\n  var toggle = function toggle() {\n    handleSetCollapsed(!collapsed, 'clickTrigger');\n  };\n\n  var _useContext2 = (0, React.useContext)(_configProvider.ConfigContext),\n      getPrefixCls = _useContext2.getPrefixCls;\n\n  var renderSider = function renderSider() {\n    var _classNames;\n\n    var prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n    var divProps = (0, _omit[\"default\"])(props, ['collapsed']);\n    var rawWidth = collapsed ? collapsedWidth : width; // use \"px\" as fallback unit for width\n\n    var siderWidth = (0, _isNumeric[\"default\"])(rawWidth) ? \"\".concat(rawWidth, \"px\") : String(rawWidth); // special trigger when collapsedWidth == 0\n\n    var zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? /*#__PURE__*/React.createElement(\"span\", {\n      onClick: toggle,\n      className: (0, _classnames[\"default\"])(\"\".concat(prefixCls, \"-zero-width-trigger\"), \"\".concat(prefixCls, \"-zero-width-trigger-\").concat(reverseArrow ? 'right' : 'left')),\n      style: zeroWidthTriggerStyle\n    }, trigger || /*#__PURE__*/React.createElement(_BarsOutlined[\"default\"], null)) : null;\n    var iconObj = {\n      expanded: reverseArrow ? /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null),\n      collapsed: reverseArrow ? /*#__PURE__*/React.createElement(_LeftOutlined[\"default\"], null) : /*#__PURE__*/React.createElement(_RightOutlined[\"default\"], null)\n    };\n    var status = collapsed ? 'collapsed' : 'expanded';\n    var defaultTrigger = iconObj[status];\n    var triggerDom = trigger !== null ? zeroWidthTrigger || /*#__PURE__*/React.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-trigger\"),\n      onClick: toggle,\n      style: {\n        width: siderWidth\n      }\n    }, trigger || defaultTrigger) : null;\n    var divStyle = (0, _extends2[\"default\"])((0, _extends2[\"default\"])({}, style), {\n      flex: \"0 0 \".concat(siderWidth),\n      maxWidth: siderWidth,\n      minWidth: siderWidth,\n      width: siderWidth\n    });\n    var siderCls = (0, _classnames[\"default\"])(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme), (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-collapsed\"), !!collapsed), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-trigger\"), collapsible && trigger !== null && !zeroWidthTrigger), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-below\"), !!below), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-zero-width\"), parseFloat(siderWidth) === 0), _classNames), className);\n    return /*#__PURE__*/React.createElement(\"aside\", (0, _extends2[\"default\"])({\n      className: siderCls\n    }, divProps, {\n      style: divStyle,\n      ref: ref\n    }), /*#__PURE__*/React.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-children\")\n    }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null);\n  };\n\n  var contextValue = React.useMemo(function () {\n    return {\n      siderCollapsed: collapsed\n    };\n  }, [collapsed]);\n  return /*#__PURE__*/React.createElement(SiderContext.Provider, {\n    value: contextValue\n  }, renderSider());\n});\nSider.displayName = 'Sider';\nvar _default = Sider;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = exports.LayoutContext = exports.Header = exports.Footer = exports.Content = void 0;\n\nvar _toConsumableArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/toConsumableArray\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _slicedToArray2 = _interopRequireDefault(require(\"@babel/runtime/helpers/slicedToArray\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _configProvider = require(\"../config-provider\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar LayoutContext = /*#__PURE__*/React.createContext({\n  siderHook: {\n    addSider: function addSider() {\n      return null;\n    },\n    removeSider: function removeSider() {\n      return null;\n    }\n  }\n});\nexports.LayoutContext = LayoutContext;\n\nfunction generator(_ref) {\n  var suffixCls = _ref.suffixCls,\n      tagName = _ref.tagName,\n      displayName = _ref.displayName;\n  return function (BasicComponent) {\n    var Adapter = /*#__PURE__*/React.forwardRef(function (props, ref) {\n      var _React$useContext = React.useContext(_configProvider.ConfigContext),\n          getPrefixCls = _React$useContext.getPrefixCls;\n\n      var customizePrefixCls = props.prefixCls;\n      var prefixCls = getPrefixCls(suffixCls, customizePrefixCls);\n      return /*#__PURE__*/React.createElement(BasicComponent, (0, _extends2[\"default\"])({\n        ref: ref,\n        prefixCls: prefixCls,\n        tagName: tagName\n      }, props));\n    });\n    Adapter.displayName = displayName;\n    return Adapter;\n  };\n}\n\nvar Basic = /*#__PURE__*/React.forwardRef(function (props, ref) {\n  var prefixCls = props.prefixCls,\n      className = props.className,\n      children = props.children,\n      tagName = props.tagName,\n      others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"tagName\"]);\n\n  var classString = (0, _classnames[\"default\"])(prefixCls, className);\n  return /*#__PURE__*/React.createElement(tagName, (0, _extends2[\"default\"])((0, _extends2[\"default\"])({\n    className: classString\n  }, others), {\n    ref: ref\n  }), children);\n});\nvar BasicLayout = /*#__PURE__*/React.forwardRef(function (props, ref) {\n  var _classNames;\n\n  var _React$useContext2 = React.useContext(_configProvider.ConfigContext),\n      direction = _React$useContext2.direction;\n\n  var _React$useState = React.useState([]),\n      _React$useState2 = (0, _slicedToArray2[\"default\"])(_React$useState, 2),\n      siders = _React$useState2[0],\n      setSiders = _React$useState2[1];\n\n  var prefixCls = props.prefixCls,\n      className = props.className,\n      children = props.children,\n      hasSider = props.hasSider,\n      Tag = props.tagName,\n      others = __rest(props, [\"prefixCls\", \"className\", \"children\", \"hasSider\", \"tagName\"]);\n\n  var classString = (0, _classnames[\"default\"])(prefixCls, (_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-has-sider\"), typeof hasSider === 'boolean' ? hasSider : siders.length > 0), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-rtl\"), direction === 'rtl'), _classNames), className);\n  var contextValue = React.useMemo(function () {\n    return {\n      siderHook: {\n        addSider: function addSider(id) {\n          setSiders(function (prev) {\n            return [].concat((0, _toConsumableArray2[\"default\"])(prev), [id]);\n          });\n        },\n        removeSider: function removeSider(id) {\n          setSiders(function (prev) {\n            return prev.filter(function (currentId) {\n              return currentId !== id;\n            });\n          });\n        }\n      }\n    };\n  }, []);\n  return /*#__PURE__*/React.createElement(LayoutContext.Provider, {\n    value: contextValue\n  }, /*#__PURE__*/React.createElement(Tag, (0, _extends2[\"default\"])({\n    ref: ref,\n    className: classString\n  }, others), children));\n});\nvar Layout = generator({\n  suffixCls: 'layout',\n  tagName: 'section',\n  displayName: 'Layout'\n})(BasicLayout);\nvar Header = generator({\n  suffixCls: 'layout-header',\n  tagName: 'header',\n  displayName: 'Header'\n})(Basic);\nexports.Header = Header;\nvar Footer = generator({\n  suffixCls: 'layout-footer',\n  tagName: 'footer',\n  displayName: 'Footer'\n})(Basic);\nexports.Footer = Footer;\nvar Content = generator({\n  suffixCls: 'layout-content',\n  tagName: 'main',\n  displayName: 'Content'\n})(Basic);\nexports.Content = Content;\nvar _default = Layout;\nexports[\"default\"] = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _react = require(\"react\");\n\nvar MenuContext = /*#__PURE__*/(0, _react.createContext)({\n  prefixCls: '',\n  firstLevel: true,\n  inlineCollapsed: false\n});\nvar _default = MenuContext;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _rcMenu = require(\"rc-menu\");\n\nvar _configProvider = require(\"../config-provider\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar MenuDivider = function MenuDivider(_a) {\n  var customizePrefixCls = _a.prefixCls,\n      className = _a.className,\n      dashed = _a.dashed,\n      restProps = __rest(_a, [\"prefixCls\", \"className\", \"dashed\"]);\n\n  var _React$useContext = React.useContext(_configProvider.ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls;\n\n  var prefixCls = getPrefixCls('menu', customizePrefixCls);\n  var classString = (0, _classnames[\"default\"])((0, _defineProperty2[\"default\"])({}, \"\".concat(prefixCls, \"-item-divider-dashed\"), !!dashed), className);\n  return /*#__PURE__*/React.createElement(_rcMenu.Divider, (0, _extends2[\"default\"])({\n    className: classString\n  }, restProps));\n};\n\nvar _default = MenuDivider;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _defineProperty2 = _interopRequireDefault(require(\"@babel/runtime/helpers/defineProperty\"));\n\nvar _classCallCheck2 = _interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));\n\nvar _createClass2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));\n\nvar _inherits2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));\n\nvar _createSuper2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createSuper\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _rcMenu = require(\"rc-menu\");\n\nvar _toArray = _interopRequireDefault(require(\"rc-util/lib/Children/toArray\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _MenuContext = _interopRequireDefault(require(\"./MenuContext\"));\n\nvar _tooltip = _interopRequireDefault(require(\"../tooltip\"));\n\nvar _Sider = require(\"../layout/Sider\");\n\nvar _reactNode = require(\"../_util/reactNode\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar MenuItem = /*#__PURE__*/function (_React$Component) {\n  (0, _inherits2[\"default\"])(MenuItem, _React$Component);\n\n  var _super = (0, _createSuper2[\"default\"])(MenuItem);\n\n  function MenuItem() {\n    var _this;\n\n    (0, _classCallCheck2[\"default\"])(this, MenuItem);\n    _this = _super.apply(this, arguments);\n\n    _this.renderItem = function (_ref) {\n      var _classNames;\n\n      var siderCollapsed = _ref.siderCollapsed;\n\n      var _a;\n\n      var _this$context = _this.context,\n          prefixCls = _this$context.prefixCls,\n          firstLevel = _this$context.firstLevel,\n          inlineCollapsed = _this$context.inlineCollapsed,\n          direction = _this$context.direction,\n          disableMenuItemTitleTooltip = _this$context.disableMenuItemTitleTooltip;\n      var _this$props = _this.props,\n          className = _this$props.className,\n          children = _this$props.children;\n\n      var _b = _this.props,\n          title = _b.title,\n          icon = _b.icon,\n          danger = _b.danger,\n          rest = __rest(_b, [\"title\", \"icon\", \"danger\"]);\n\n      var tooltipTitle = title;\n\n      if (typeof title === 'undefined') {\n        tooltipTitle = firstLevel ? children : '';\n      } else if (title === false) {\n        tooltipTitle = '';\n      }\n\n      var tooltipProps = {\n        title: tooltipTitle\n      };\n\n      if (!siderCollapsed && !inlineCollapsed) {\n        tooltipProps.title = null; // Reset `visible` to fix control mode tooltip display not correct\n        // ref: https://github.com/ant-design/ant-design/issues/16742\n\n        tooltipProps.visible = false;\n      }\n\n      var childrenLength = (0, _toArray[\"default\"])(children).length;\n      var returnNode = /*#__PURE__*/React.createElement(_rcMenu.Item, (0, _extends2[\"default\"])({}, rest, {\n        className: (0, _classnames[\"default\"])((_classNames = {}, (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-item-danger\"), danger), (0, _defineProperty2[\"default\"])(_classNames, \"\".concat(prefixCls, \"-item-only-child\"), (icon ? childrenLength + 1 : childrenLength) === 1), _classNames), className),\n        title: typeof title === 'string' ? title : undefined\n      }), (0, _reactNode.cloneElement)(icon, {\n        className: (0, _classnames[\"default\"])((0, _reactNode.isValidElement)(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', \"\".concat(prefixCls, \"-item-icon\"))\n      }), _this.renderItemChildren(inlineCollapsed));\n\n      if (!disableMenuItemTitleTooltip) {\n        returnNode = /*#__PURE__*/React.createElement(_tooltip[\"default\"], (0, _extends2[\"default\"])({}, tooltipProps, {\n          placement: direction === 'rtl' ? 'left' : 'right',\n          overlayClassName: \"\".concat(prefixCls, \"-inline-collapsed-tooltip\")\n        }), returnNode);\n      }\n\n      return returnNode;\n    };\n\n    return _this;\n  }\n\n  (0, _createClass2[\"default\"])(MenuItem, [{\n    key: \"renderItemChildren\",\n    value: function renderItemChildren(inlineCollapsed) {\n      var _this$context2 = this.context,\n          prefixCls = _this$context2.prefixCls,\n          firstLevel = _this$context2.firstLevel;\n      var _this$props2 = this.props,\n          icon = _this$props2.icon,\n          children = _this$props2.children;\n      var wrapNode = /*#__PURE__*/React.createElement(\"span\", {\n        className: \"\".concat(prefixCls, \"-title-content\")\n      }, children); // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n      // ref: https://github.com/ant-design/ant-design/pull/23456\n\n      if (!icon || (0, _reactNode.isValidElement)(children) && children.type === 'span') {\n        if (children && inlineCollapsed && firstLevel && typeof children === 'string') {\n          return /*#__PURE__*/React.createElement(\"div\", {\n            className: \"\".concat(prefixCls, \"-inline-collapsed-noicon\")\n          }, children.charAt(0));\n        }\n      }\n\n      return wrapNode;\n    }\n  }, {\n    key: \"render\",\n    value: function render() {\n      return /*#__PURE__*/React.createElement(_Sider.SiderContext.Consumer, null, this.renderItem);\n    }\n  }]);\n  return MenuItem;\n}(React.Component);\n\nexports[\"default\"] = MenuItem;\nMenuItem.contextType = _MenuContext[\"default\"];","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _rcMenu = require(\"rc-menu\");\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\n\nvar _MenuContext = _interopRequireDefault(require(\"./MenuContext\"));\n\nvar _reactNode = require(\"../_util/reactNode\");\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction SubMenu(props) {\n  var _a;\n\n  var popupClassName = props.popupClassName,\n      icon = props.icon,\n      title = props.title,\n      theme = props.theme;\n  var context = React.useContext(_MenuContext[\"default\"]);\n  var prefixCls = context.prefixCls,\n      inlineCollapsed = context.inlineCollapsed,\n      antdMenuTheme = context.antdMenuTheme;\n  var parentPath = (0, _rcMenu.useFullPath)();\n  var titleNode;\n\n  if (!icon) {\n    titleNode = inlineCollapsed && !parentPath.length && title && typeof title === 'string' ? /*#__PURE__*/React.createElement(\"div\", {\n      className: \"\".concat(prefixCls, \"-inline-collapsed-noicon\")\n    }, title.charAt(0)) : /*#__PURE__*/React.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-title-content\")\n    }, title);\n  } else {\n    // inline-collapsed.md demo 依赖 span 来隐藏文字,有 icon 属性,则内部包裹一个 span\n    // ref: https://github.com/ant-design/ant-design/pull/23456\n    var titleIsSpan = (0, _reactNode.isValidElement)(title) && title.type === 'span';\n    titleNode = /*#__PURE__*/React.createElement(React.Fragment, null, (0, _reactNode.cloneElement)(icon, {\n      className: (0, _classnames[\"default\"])((0, _reactNode.isValidElement)(icon) ? (_a = icon.props) === null || _a === void 0 ? void 0 : _a.className : '', \"\".concat(prefixCls, \"-item-icon\"))\n    }), titleIsSpan ? title : /*#__PURE__*/React.createElement(\"span\", {\n      className: \"\".concat(prefixCls, \"-title-content\")\n    }, title));\n  }\n\n  var contextValue = React.useMemo(function () {\n    return (0, _extends2[\"default\"])((0, _extends2[\"default\"])({}, context), {\n      firstLevel: false\n    });\n  }, [context]);\n  return /*#__PURE__*/React.createElement(_MenuContext[\"default\"].Provider, {\n    value: contextValue\n  }, /*#__PURE__*/React.createElement(_rcMenu.SubMenu, (0, _extends2[\"default\"])({}, (0, _omit[\"default\"])(props, ['icon']), {\n    title: titleNode,\n    popupClassName: (0, _classnames[\"default\"])(prefixCls, \"\".concat(prefixCls, \"-\").concat(theme || antdMenuTheme), popupClassName)\n  })));\n}\n\nvar _default = SubMenu;\nexports[\"default\"] = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof3 = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = useItems;\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar _typeof2 = _interopRequireDefault(require(\"@babel/runtime/helpers/typeof\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _rcMenu = require(\"rc-menu\");\n\nvar _SubMenu = _interopRequireDefault(require(\"../SubMenu\"));\n\nvar _MenuDivider = _interopRequireDefault(require(\"../MenuDivider\"));\n\nvar _MenuItem = _interopRequireDefault(require(\"../MenuItem\"));\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof3(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nfunction convertItemsToNodes(list) {\n  return (list || []).map(function (opt, index) {\n    if (opt && (0, _typeof2[\"default\"])(opt) === 'object') {\n      var _a = opt,\n          label = _a.label,\n          children = _a.children,\n          key = _a.key,\n          type = _a.type,\n          restProps = __rest(_a, [\"label\", \"children\", \"key\", \"type\"]);\n\n      var mergedKey = key !== null && key !== void 0 ? key : \"tmp-\".concat(index); // MenuItemGroup & SubMenuItem\n\n      if (children || type === 'group') {\n        if (type === 'group') {\n          // Group\n          return /*#__PURE__*/React.createElement(_rcMenu.ItemGroup, (0, _extends2[\"default\"])({\n            key: mergedKey\n          }, restProps, {\n            title: label\n          }), convertItemsToNodes(children));\n        } // Sub Menu\n\n\n        return /*#__PURE__*/React.createElement(_SubMenu[\"default\"], (0, _extends2[\"default\"])({\n          key: mergedKey\n        }, restProps, {\n          title: label\n        }), convertItemsToNodes(children));\n      } // MenuItem & Divider\n\n\n      if (type === 'divider') {\n        return /*#__PURE__*/React.createElement(_MenuDivider[\"default\"], (0, _extends2[\"default\"])({\n          key: mergedKey\n        }, restProps));\n      }\n\n      return /*#__PURE__*/React.createElement(_MenuItem[\"default\"], (0, _extends2[\"default\"])({\n        key: mergedKey\n      }, restProps), label);\n    }\n\n    return null;\n  }).filter(function (opt) {\n    return opt;\n  });\n} // FIXME: Move logic here in v5\n\n/**\n * We simply convert `items` to ReactNode for reuse origin component logic. But we need move all the\n * logic from component into this hooks when in v5\n */\n\n\nfunction useItems(items) {\n  return React.useMemo(function () {\n    if (!items) {\n      return items;\n    }\n\n    return convertItemsToNodes(items);\n  }, [items]);\n}","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nvar _typeof = require(\"@babel/runtime/helpers/typeof\");\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports[\"default\"] = void 0;\n\nvar _classCallCheck2 = _interopRequireDefault(require(\"@babel/runtime/helpers/classCallCheck\"));\n\nvar _createClass2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createClass\"));\n\nvar _inherits2 = _interopRequireDefault(require(\"@babel/runtime/helpers/inherits\"));\n\nvar _createSuper2 = _interopRequireDefault(require(\"@babel/runtime/helpers/createSuper\"));\n\nvar _extends2 = _interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));\n\nvar React = _interopRequireWildcard(require(\"react\"));\n\nvar _rcMenu = _interopRequireWildcard(require(\"rc-menu\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _omit = _interopRequireDefault(require(\"rc-util/lib/omit\"));\n\nvar _EllipsisOutlined = _interopRequireDefault(require(\"@ant-design/icons/EllipsisOutlined\"));\n\nvar _SubMenu = _interopRequireDefault(require(\"./SubMenu\"));\n\nvar _MenuItem = _interopRequireDefault(require(\"./MenuItem\"));\n\nvar _configProvider = require(\"../config-provider\");\n\nvar _warning = _interopRequireDefault(require(\"../_util/warning\"));\n\nvar _Sider = require(\"../layout/Sider\");\n\nvar _motion = _interopRequireDefault(require(\"../_util/motion\"));\n\nvar _reactNode = require(\"../_util/reactNode\");\n\nvar _MenuContext = _interopRequireDefault(require(\"./MenuContext\"));\n\nvar _MenuDivider = _interopRequireDefault(require(\"./MenuDivider\"));\n\nvar _useItems = _interopRequireDefault(require(\"./hooks/useItems\"));\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nvar __rest = void 0 && (void 0).__rest || function (s, e) {\n  var t = {};\n\n  for (var p in s) {\n    if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  }\n\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\n\nvar InternalMenu = /*#__PURE__*/(0, React.forwardRef)(function (props, ref) {\n  var _React$useContext = React.useContext(_configProvider.ConfigContext),\n      getPrefixCls = _React$useContext.getPrefixCls,\n      getPopupContainer = _React$useContext.getPopupContainer,\n      direction = _React$useContext.direction;\n\n  var rootPrefixCls = getPrefixCls();\n\n  var customizePrefixCls = props.prefixCls,\n      className = props.className,\n      _props$theme = props.theme,\n      theme = _props$theme === void 0 ? 'light' : _props$theme,\n      expandIcon = props.expandIcon,\n      _internalDisableMenuItemTitleTooltip = props._internalDisableMenuItemTitleTooltip,\n      inlineCollapsed = props.inlineCollapsed,\n      siderCollapsed = props.siderCollapsed,\n      items = props.items,\n      children = props.children,\n      restProps = __rest(props, [\"prefixCls\", \"className\", \"theme\", \"expandIcon\", \"_internalDisableMenuItemTitleTooltip\", \"inlineCollapsed\", \"siderCollapsed\", \"items\", \"children\"]);\n\n  var passedProps = (0, _omit[\"default\"])(restProps, ['collapsedWidth']); // ========================= Items ===========================\n\n  var mergedChildren = (0, _useItems[\"default\"])(items) || children; // ======================== Warning ==========================\n\n  process.env.NODE_ENV !== \"production\" ? (0, _warning[\"default\"])(!('inlineCollapsed' in props && props.mode !== 'inline'), 'Menu', '`inlineCollapsed` should only be used when `mode` is inline.') : void 0;\n  process.env.NODE_ENV !== \"production\" ? (0, _warning[\"default\"])(!(props.siderCollapsed !== undefined && 'inlineCollapsed' in props), 'Menu', '`inlineCollapsed` not control Menu under Sider. Should set `collapsed` on Sider instead.') : void 0;\n  process.env.NODE_ENV !== \"production\" ? (0, _warning[\"default\"])(!!items && !children, 'Menu', '`children` will be removed in next major version. Please use `items` instead.') : void 0; // ======================== Collapsed ========================\n  // Inline Collapsed\n\n  var mergedInlineCollapsed = React.useMemo(function () {\n    if (siderCollapsed !== undefined) {\n      return siderCollapsed;\n    }\n\n    return inlineCollapsed;\n  }, [inlineCollapsed, siderCollapsed]);\n  var defaultMotions = {\n    horizontal: {\n      motionName: \"\".concat(rootPrefixCls, \"-slide-up\")\n    },\n    inline: _motion[\"default\"],\n    other: {\n      motionName: \"\".concat(rootPrefixCls, \"-zoom-big\")\n    }\n  };\n  var prefixCls = getPrefixCls('menu', customizePrefixCls);\n  var menuClassName = (0, _classnames[\"default\"])(\"\".concat(prefixCls, \"-\").concat(theme), className); // ======================== Context ==========================\n\n  var contextValue = React.useMemo(function () {\n    return {\n      prefixCls: prefixCls,\n      inlineCollapsed: mergedInlineCollapsed || false,\n      antdMenuTheme: theme,\n      direction: direction,\n      firstLevel: true,\n      disableMenuItemTitleTooltip: _internalDisableMenuItemTitleTooltip\n    };\n  }, [prefixCls, mergedInlineCollapsed, theme, direction, _internalDisableMenuItemTitleTooltip]); // ========================= Render ==========================\n\n  return /*#__PURE__*/React.createElement(_MenuContext[\"default\"].Provider, {\n    value: contextValue\n  }, /*#__PURE__*/React.createElement(_rcMenu[\"default\"], (0, _extends2[\"default\"])({\n    getPopupContainer: getPopupContainer,\n    overflowedIndicator: /*#__PURE__*/React.createElement(_EllipsisOutlined[\"default\"], null),\n    overflowedIndicatorPopupClassName: \"\".concat(prefixCls, \"-\").concat(theme)\n  }, passedProps, {\n    inlineCollapsed: mergedInlineCollapsed,\n    className: menuClassName,\n    prefixCls: prefixCls,\n    direction: direction,\n    defaultMotions: defaultMotions,\n    expandIcon: typeof expandIcon === 'function' ? expandIcon : (0, _reactNode.cloneElement)(expandIcon, {\n      className: \"\".concat(prefixCls, \"-submenu-expand-icon\")\n    }),\n    ref: ref\n  }), mergedChildren));\n}); // We should keep this as ref-able\n\nvar Menu = /*#__PURE__*/function (_React$Component) {\n  (0, _inherits2[\"default\"])(Menu, _React$Component);\n\n  var _super = (0, _createSuper2[\"default\"])(Menu);\n\n  function Menu() {\n    var _this;\n\n    (0, _classCallCheck2[\"default\"])(this, Menu);\n    _this = _super.apply(this, arguments);\n\n    _this.focus = function (options) {\n      var _a;\n\n      (_a = _this.menu) === null || _a === void 0 ? void 0 : _a.focus(options);\n    };\n\n    return _this;\n  }\n\n  (0, _createClass2[\"default\"])(Menu, [{\n    key: \"render\",\n    value: function render() {\n      var _this2 = this;\n\n      return /*#__PURE__*/React.createElement(_Sider.SiderContext.Consumer, null, function (context) {\n        return /*#__PURE__*/React.createElement(InternalMenu, (0, _extends2[\"default\"])({\n          ref: function ref(node) {\n            _this2.menu = node;\n          }\n        }, _this2.props, context));\n      });\n    }\n  }]);\n  return Menu;\n}(React.Component);\n\nMenu.Divider = _MenuDivider[\"default\"];\nMenu.Item = _MenuItem[\"default\"];\nMenu.SubMenu = _SubMenu[\"default\"];\nMenu.ItemGroup = _rcMenu.ItemGroup;\nvar _default = Menu;\nexports[\"default\"] = _default;"],"names":["Object","defineProperty","exports","value","_default","isNaN","parseFloat","isFinite","_interopRequireDefault","require","_typeof","SiderContext","_defineProperty2","_extends2","_slicedToArray2","React","obj","nodeInterop","__esModule","cache","_getRequireWildcardCache","has","get","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_interopRequireWildcard","_classnames","_omit","_BarsOutlined","_RightOutlined","_LeftOutlined","_layout","_configProvider","_isNumeric","WeakMap","cacheBabelInterop","cacheNodeInterop","__rest","s","e","t","p","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","createContext","generateId","concat","arguments","undefined","Sider","forwardRef","_a","ref","customizePrefixCls","prefixCls","className","trigger","children","_a$defaultCollapsed","defaultCollapsed","_a$theme","theme","_a$style","style","_a$collapsible","collapsible","_a$reverseArrow","reverseArrow","_a$width","width","_a$collapsedWidth","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","props","siderHook","useContext","LayoutContext","_useState","useState","collapsed","_useState2","setCollapsed","_useState3","_useState4","below","setBelow","useEffect","handleSetCollapsed","type","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","error","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","getPrefixCls","ConfigContext","contextValue","useMemo","siderCollapsed","createElement","Provider","_classNames","divProps","rawWidth","siderWidth","String","zeroWidthTrigger","onClick","defaultTrigger","expanded","triggerDom","divStyle","flex","maxWidth","minWidth","siderCls","renderSider","displayName","Header","Footer","Content","_toConsumableArray2","generator","_ref","suffixCls","tagName","BasicComponent","Adapter","Basic","others","classString","BasicLayout","direction","_React$useState","_React$useState2","siders","setSiders","hasSider","Tag","id","prev","filter","currentId","Layout","firstLevel","inlineCollapsed","_rcMenu","dashed","restProps","Divider","_classCallCheck2","_createClass2","_inherits2","_createSuper2","_toArray","_MenuContext","_tooltip","_Sider","_reactNode","MenuItem","_React$Component","_super","_this","this","apply","renderItem","_this$context","context","disableMenuItemTitleTooltip","_this$props","_b","title","icon","danger","rest","tooltipTitle","tooltipProps","visible","childrenLength","returnNode","Item","cloneElement","isValidElement","renderItemChildren","placement","overlayClassName","_this$context2","_this$props2","wrapNode","charAt","Consumer","Component","contextType","titleNode","popupClassName","antdMenuTheme","parentPath","useFullPath","titleIsSpan","Fragment","SubMenu","_typeof3","items","convertItemsToNodes","_typeof2","_SubMenu","_MenuDivider","_MenuItem","list","map","opt","index","label","mergedKey","ItemGroup","_EllipsisOutlined","_motion","_useItems","InternalMenu","_React$useContext","getPopupContainer","rootPrefixCls","_props$theme","expandIcon","_internalDisableMenuItemTitleTooltip","passedProps","mergedChildren","mergedInlineCollapsed","defaultMotions","horizontal","motionName","inline","other","menuClassName","overflowedIndicator","overflowedIndicatorPopupClassName","Menu","focus","options","menu","_this2","node"],"sourceRoot":""}