(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [40],
  {
    MUDK: function (e, t, l) {
      'use strict';
      l.r(t);
      var n = l('q1tI'),
        a = l.n(n),
        r = l('dEAq'),
        c = l('Zxc8'),
        u = l('H1Ra'),
        m = l('JjdP'),
        d = a.a.memo(m['default']['menu-horizontal'].component),
        i = a.a.memo(m['default']['menu-inline'].component),
        o = a.a.memo(m['default']['menu-inline-collapsed'].component),
        E = a.a.memo(m['default']['menu-sider-current'].component),
        s = a.a.memo(m['default']['menu-vertical'].component),
        h = a.a.memo(m['default']['menu-theme'].component);
      t['default'] = (e) => (
        a.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            r['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        a.a.createElement(
          a.a.Fragment,
          null,
          a.a.createElement(
            a.a.Fragment,
            null,
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h1',
                { id: 'menu-\u5bfc\u822a' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#menu-\u5bfc\u822a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu \u5bfc\u822a',
              ),
              a.a.createElement(
                'p',
                null,
                '\u4e3a\u9875\u9762\u548c\u529f\u80fd\u63d0\u4f9b\u5bfc\u822a\u7684\u83dc\u5355\u5217\u8868\u3002',
              ),
              a.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              a.a.createElement(
                'p',
                null,
                '\u5bfc\u822a\u83dc\u5355\u662f\u4e00\u4e2a\u7f51\u7ad9\u7684\u7075\u9b42\uff0c\u7528\u6237\u4f9d\u8d56\u5bfc\u822a\u5728\u5404\u4e2a\u9875\u9762\u4e2d\u8fdb\u884c\u8df3\u8f6c\u3002\u4e00\u822c\u5206\u4e3a\u9876\u90e8\u5bfc\u822a\u548c\u4fa7\u8fb9\u5bfc\u822a\uff0c\u9876\u90e8\u5bfc\u822a\u63d0\u4f9b\u5168\u5c40\u6027\u7684\u7c7b\u76ee\u548c\u529f\u80fd\uff0c\u4fa7\u8fb9\u5bfc\u822a\u63d0\u4f9b\u591a\u7ea7\u7ed3\u6784\u6765\u6536\u7eb3\u548c\u6392\u5217\u7f51\u7ad9\u67b6\u6784\u3002',
              ),
              a.a.createElement(
                'p',
                null,
                '\u66f4\u591a\u5e03\u5c40\u548c\u5bfc\u822a\u7684\u4f7f\u7528\u53ef\u4ee5\u53c2\u8003\uff1a',
                a.a.createElement(
                  r['Link'],
                  { to: '/components/layout' },
                  '\u901a\u7528\u5e03\u5c40',
                ),
                '\u3002',
              ),
              a.a.createElement(
                'h2',
                { id: '\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879',
              ),
              a.a.createElement(
                'ul',
                null,
                a.a.createElement(
                  'li',
                  null,
                  'Menu \u5143\u7d20\u4e3a ',
                  a.a.createElement('code', null, 'ul'),
                  '\uff0c\u56e0\u800c\u4ec5\u652f\u6301 ',
                  a.a.createElement(
                    r['Link'],
                    {
                      to: 'https://html.spec.whatwg.org/multipage/grouping-content.html#the-ul-element',
                    },
                    a.a.createElement('code', null, 'li'),
                    ' \u4ee5\u53ca ',
                    a.a.createElement('code', null, 'script-supporting'),
                    ' \u5b50\u5143\u7d20',
                  ),
                  '\u3002\u56e0\u800c\u4f60\u7684\u5b50\u8282\u70b9\u5143\u7d20\u5e94\u8be5\u90fd\u5728 ',
                  a.a.createElement('code', null, 'Menu.Item'),
                  ' \u5185\u4f7f\u7528\u3002',
                ),
                a.a.createElement(
                  'li',
                  null,
                  'Menu \u9700\u8981\u8ba1\u7b97\u8282\u70b9\u7ed3\u6784\uff0c\u56e0\u800c\u5176\u5b50\u5143\u7d20\u4ec5\u652f\u6301 ',
                  a.a.createElement('code', null, 'Menu.*'),
                  ' \u4ee5\u53ca\u5bf9\u6b64\u8fdb\u884c\u5c01\u88c5\u7684 HOC \u7ec4\u4ef6\u3002',
                ),
              ),
              a.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              a.a.createElement(
                'h3',
                { id: '\u9876\u90e8\u5bfc\u822a' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9876\u90e8\u5bfc\u822a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9876\u90e8\u5bfc\u822a',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-horizontal'].previewerProps,
              a.a.createElement(d, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h3',
                { id: '\u5185\u5d4c\u83dc\u5355' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5185\u5d4c\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5185\u5d4c\u83dc\u5355',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-inline'].previewerProps,
              a.a.createElement(i, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h3',
                { id: '\u7f29\u8d77\u5185\u5d4c\u83dc\u5355' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7f29\u8d77\u5185\u5d4c\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7f29\u8d77\u5185\u5d4c\u83dc\u5355',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-inline-collapsed'].previewerProps,
              a.a.createElement(o, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h3',
                {
                  id: '\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
                },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-sider-current'].previewerProps,
              a.a.createElement(E, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h3',
                { id: '\u5782\u76f4\u83dc\u5355' },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5782\u76f4\u83dc\u5355',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5782\u76f4\u83dc\u5355',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-vertical'].previewerProps,
              a.a.createElement(s, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h3',
                { id: '\u4e3b\u9898' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u4e3b\u9898', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e3b\u9898',
              ),
            ),
            a.a.createElement(
              c['default'],
              m['default']['menu-theme'].previewerProps,
              a.a.createElement(h, null),
            ),
            a.a.createElement(
              'div',
              { className: 'markdown' },
              a.a.createElement(
                'h2',
                { id: 'api' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              a.a.createElement(u['a'], {
                code: '<Menu>\n  <Menu.Item>\u83dc\u5355\u9879</Menu.Item>\n  <SubMenu title="\u5b50\u83dc\u5355">\n    <Menu.Item>\u5b50\u83dc\u5355\u9879</Menu.Item>\n  </SubMenu>\n</Menu>',
                lang: 'bash',
              }),
              a.a.createElement(
                'h3',
                { id: 'menu' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#menu', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu',
              ),
              a.a.createElement(
                'table',
                null,
                a.a.createElement(
                  'thead',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('th', null, '\u53c2\u6570'),
                    a.a.createElement('th', null, '\u8bf4\u660e'),
                    a.a.createElement('th', null, '\u7c7b\u578b'),
                    a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    a.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                a.a.createElement(
                  'tbody',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'defaultOpenKeys'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u521d\u59cb\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4',
                    ),
                    a.a.createElement('td', null, 'string[]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'defaultSelectedKeys'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u521d\u59cb\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4',
                    ),
                    a.a.createElement('td', null, 'string[]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'expandIcon'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5c55\u5f00\u56fe\u6807',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'ReactNode | ',
                      a.a.createElement(
                        'code',
                        null,
                        '(props: SubMenuProps & ',
                        '{',
                        ' isSubMenu: boolean ',
                        '}',
                        ') => ReactNode',
                      ),
                    ),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null, '4.9.0'),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'forceSubMenuRender'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5728\u5b50\u83dc\u5355\u5c55\u793a\u4e4b\u524d\u5c31\u6e32\u67d3\u8fdb DOM',
                    ),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'false'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'inlineCollapsed'),
                    a.a.createElement(
                      'td',
                      null,
                      'inline \u65f6\u83dc\u5355\u662f\u5426\u6536\u8d77\u72b6\u6001',
                    ),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'inlineIndent'),
                    a.a.createElement(
                      'td',
                      null,
                      'inline \u6a21\u5f0f\u7684\u83dc\u5355\u7f29\u8fdb\u5bbd\u5ea6',
                    ),
                    a.a.createElement('td', null, 'number'),
                    a.a.createElement('td', null, '24'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'mode'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u83dc\u5355\u7c7b\u578b\uff0c\u73b0\u5728\u652f\u6301\u5782\u76f4\u3001\u6c34\u5e73\u3001\u548c\u5185\u5d4c\u6a21\u5f0f\u4e09\u79cd',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'vertical'),
                      ' | ',
                      a.a.createElement('code', null, 'horizontal'),
                      ' | ',
                      a.a.createElement('code', null, 'inline'),
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'vertical'),
                    ),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'multiple'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5141\u8bb8\u591a\u9009',
                    ),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'false'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'openKeys'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5f53\u524d\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4',
                    ),
                    a.a.createElement('td', null, 'string[]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'overflowedIndicator'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49 Menu \u6298\u53e0\u65f6\u7684\u56fe\u6807',
                    ),
                    a.a.createElement('td', null, 'ReactNode'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'selectable'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5141\u8bb8\u9009\u4e2d',
                    ),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'true'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'selectedKeys'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5f53\u524d\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4',
                    ),
                    a.a.createElement('td', null, 'string[]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'style'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u6839\u8282\u70b9\u6837\u5f0f',
                    ),
                    a.a.createElement('td', null, 'CSSProperties'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'subMenuCloseDelay'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u7528\u6237\u9f20\u6807\u79bb\u5f00\u5b50\u83dc\u5355\u540e\u5173\u95ed\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2',
                    ),
                    a.a.createElement('td', null, 'number'),
                    a.a.createElement('td', null, '0.1'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'subMenuOpenDelay'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u7528\u6237\u9f20\u6807\u8fdb\u5165\u5b50\u83dc\u5355\u540e\u5f00\u542f\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2',
                    ),
                    a.a.createElement('td', null, 'number'),
                    a.a.createElement('td', null, '0'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'theme'),
                    a.a.createElement('td', null, '\u4e3b\u9898\u989c\u8272'),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'light'),
                      ' | ',
                      a.a.createElement('code', null, 'dark'),
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'light'),
                    ),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'triggerSubMenuAction'),
                    a.a.createElement(
                      'td',
                      null,
                      'SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u89e6\u53d1\u884c\u4e3a',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'hover'),
                      ' | ',
                      a.a.createElement('code', null, 'click'),
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      a.a.createElement('code', null, 'hover'),
                    ),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'onClick'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb MenuItem \u8c03\u7528\u6b64\u51fd\u6570',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'function(',
                      '{',
                      ' item, key, keyPath, domEvent ',
                      '}',
                      ')',
                    ),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'onDeselect'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u53d6\u6d88\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u4ec5\u5728 multiple \u751f\u6548',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'function(',
                      '{',
                      ' item, key, keyPath, selectedKeys, domEvent ',
                      '}',
                      ')',
                    ),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'onOpenChange'),
                    a.a.createElement(
                      'td',
                      null,
                      'SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u56de\u8c03',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'function(openKeys: string[])',
                    ),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'onSelect'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u88ab\u9009\u4e2d\u65f6\u8c03\u7528',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'function(',
                      '{',
                      ' item, key, keyPath, selectedKeys, domEvent ',
                      '}',
                      ')',
                    ),
                    a.a.createElement('td', null, '- \xa0'),
                    a.a.createElement('td', null),
                  ),
                ),
              ),
              a.a.createElement(
                'blockquote',
                null,
                a.a.createElement(
                  'p',
                  null,
                  '\u66f4\u591a\u5c5e\u6027\u67e5\u770b ',
                  a.a.createElement(
                    r['Link'],
                    { to: 'https://github.com/react-component/menu#api' },
                    'rc-menu',
                  ),
                ),
              ),
              a.a.createElement(
                'h3',
                { id: 'menuitem' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#menuitem', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu.Item',
              ),
              a.a.createElement(
                'table',
                null,
                a.a.createElement(
                  'thead',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('th', null, '\u53c2\u6570'),
                    a.a.createElement('th', null, '\u8bf4\u660e'),
                    a.a.createElement('th', null, '\u7c7b\u578b'),
                    a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    a.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                a.a.createElement(
                  'tbody',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'danger'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5c55\u793a\u9519\u8bef\u72b6\u6001\u6837\u5f0f',
                    ),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'false'),
                    a.a.createElement('td', null, '4.3.0'),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'disabled'),
                    a.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'false'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'icon'),
                    a.a.createElement('td', null, '\u83dc\u5355\u56fe\u6807'),
                    a.a.createElement('td', null, 'ReactNode'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null, '4.2.0'),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'key'),
                    a.a.createElement(
                      'td',
                      null,
                      'item \u7684\u552f\u4e00\u6807\u5fd7',
                    ),
                    a.a.createElement('td', null, 'string'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'title'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6536\u7f29\u65f6\u5c55\u793a\u7684\u60ac\u6d6e\u6807\u9898',
                    ),
                    a.a.createElement('td', null, 'string'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                ),
              ),
              a.a.createElement(
                'blockquote',
                null,
                a.a.createElement(
                  'p',
                  null,
                  '\u6ce8\u610f\uff1a',
                  a.a.createElement('code', null, 'icon'),
                  ' \u662f ',
                  a.a.createElement('code', null, '4.2.0'),
                  ' \u65b0\u589e\u7684\u5c5e\u6027\uff0c\u4e4b\u524d\u7684\u7248\u672c\u8bf7\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u5f0f\u5b9a\u4e49\u56fe\u6807\u3002',
                ),
                a.a.createElement(u['a'], {
                  code: '<Menu.Item>\n  <PieChartOutlined />\n  <span>Option 1</span>\n</Menu.Item>\n<Menu.SubMenu\n  title={\n    <>\n      <PieChartOutlined />\n      <span>Option 2</span>\n    </>\n  }\n>\n  ...\n</Menu.SubMenu>',
                  lang: 'bash',
                }),
              ),
              a.a.createElement(
                'h3',
                { id: 'menusubmenu' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#menusubmenu', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu.SubMenu',
              ),
              a.a.createElement(
                'table',
                null,
                a.a.createElement(
                  'thead',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('th', null, '\u53c2\u6570'),
                    a.a.createElement('th', null, '\u8bf4\u660e'),
                    a.a.createElement('th', null, '\u7c7b\u578b'),
                    a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    a.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                a.a.createElement(
                  'tbody',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'children'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5b50\u83dc\u5355\u7684\u83dc\u5355\u9879',
                    ),
                    a.a.createElement('td', null, 'Array<MenuItem | SubMenu>'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'disabled'),
                    a.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
                    a.a.createElement('td', null, 'boolean'),
                    a.a.createElement('td', null, 'false'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'icon'),
                    a.a.createElement('td', null, '\u83dc\u5355\u56fe\u6807'),
                    a.a.createElement('td', null, 'ReactNode'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null, '4.2.0'),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'key'),
                    a.a.createElement('td', null, '\u552f\u4e00\u6807\u5fd7'),
                    a.a.createElement('td', null, 'string'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'popupClassName'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5b50\u83dc\u5355\u6837\u5f0f\uff0c',
                      a.a.createElement('code', null, 'mode="inline"'),
                      ' \u65f6\u65e0\u6548',
                    ),
                    a.a.createElement('td', null, 'string'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'popupOffset'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5b50\u83dc\u5355\u504f\u79fb\u91cf\uff0c',
                      a.a.createElement('code', null, 'mode="inline"'),
                      ' \u65f6\u65e0\u6548',
                    ),
                    a.a.createElement('td', null, '[number, number]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'title'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5b50\u83dc\u5355\u9879\u503c',
                    ),
                    a.a.createElement('td', null, 'ReactNode'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'onTitleClick'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u5b50\u83dc\u5355\u6807\u9898',
                    ),
                    a.a.createElement(
                      'td',
                      null,
                      'function(',
                      '{',
                      ' key, domEvent ',
                      '}',
                      ')',
                    ),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                ),
              ),
              a.a.createElement(
                'h3',
                { id: 'menuitemgroup' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#menuitemgroup', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu.ItemGroup',
              ),
              a.a.createElement(
                'table',
                null,
                a.a.createElement(
                  'thead',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('th', null, '\u53c2\u6570'),
                    a.a.createElement('th', null, '\u8bf4\u660e'),
                    a.a.createElement('th', null, '\u7c7b\u578b'),
                    a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    a.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                a.a.createElement(
                  'tbody',
                  null,
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'children'),
                    a.a.createElement(
                      'td',
                      null,
                      '\u5206\u7ec4\u7684\u83dc\u5355\u9879',
                    ),
                    a.a.createElement('td', null, 'MenuItem[]'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                  a.a.createElement(
                    'tr',
                    null,
                    a.a.createElement('td', null, 'title'),
                    a.a.createElement('td', null, '\u5206\u7ec4\u6807\u9898'),
                    a.a.createElement('td', null, 'ReactNode'),
                    a.a.createElement('td', null, '-'),
                    a.a.createElement('td', null),
                  ),
                ),
              ),
              a.a.createElement(
                'h3',
                { id: 'menudivider' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#menudivider', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Menu.Divider',
              ),
              a.a.createElement(
                'p',
                null,
                '\u83dc\u5355\u9879\u5206\u5272\u7ebf\uff0c\u53ea\u7528\u5728\u5f39\u51fa\u83dc\u5355\u5185\u3002',
              ),
              a.a.createElement(
                'h2',
                { id: 'faq' },
                a.a.createElement(
                  r['AnchorLink'],
                  { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'FAQ',
              ),
              a.a.createElement(
                'h3',
                {
                  id: '\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21',
                },
                a.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  a.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e3a\u4f55 Menu \u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21\uff1f',
              ),
              a.a.createElement(
                'p',
                null,
                'Menu \u901a\u8fc7',
                a.a.createElement(
                  r['Link'],
                  {
                    to: 'https://github.com/react-component/menu/blob/f4684514096d6b7123339cbe72e7b0f68db0bce2/src/Menu.tsx#L543',
                  },
                  '\u4e8c\u6b21\u6e32\u67d3',
                ),
                '\u6536\u96c6\u5d4c\u5957\u7ed3\u6784\u4fe1\u606f\u4ee5\u652f\u6301 HOC \u7684\u7ed3\u6784\u3002\u5408\u5e76\u6210\u4e00\u4e2a\u63a8\u5bfc\u7ed3\u6784\u4f1a\u4f7f\u5f97\u903b\u8f91\u53d8\u5f97\u5341\u5206\u590d\u6742\uff0c\u6b22\u8fce PR \u4ee5\u534f\u52a9\u6539\u8fdb\u8be5\u8bbe\u8ba1\u3002',
              ),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, l) {
      'use strict';
      var n = l('ogwx');
      l.d(t, 'a', function () {
        return n['b'];
      });
      l('VCU9');
    },
    RZMt: function (e, t, l) {},
    Zxc8: function (e, t, l) {
      'use strict';
      l.r(t);
      var n = l('q1tI'),
        a = l.n(n),
        r = l('k3GJ'),
        c = l('MZF8'),
        u = l('dEAq'),
        m = l('H1Ra');
      l('RZMt');
      function d(e, t) {
        return h(e) || s(e, t) || o(e, t) || i();
      }
      function i() {
        throw new TypeError(
          'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
        );
      }
      function o(e, t) {
        if (e) {
          if ('string' === typeof e) return E(e, t);
          var l = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === l && e.constructor && (l = e.constructor.name),
            'Map' === l || 'Set' === l
              ? Array.from(e)
              : 'Arguments' === l ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
              ? E(e, t)
              : void 0
          );
        }
      }
      function E(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var l = 0, n = new Array(t); l < t; l++) n[l] = e[l];
        return n;
      }
      function s(e, t) {
        var l =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != l) {
          var n,
            a,
            r = [],
            c = !0,
            u = !1;
          try {
            for (l = l.call(e); !(c = (n = l.next()).done); c = !0)
              if ((r.push(n.value), t && r.length === t)) break;
          } catch (m) {
            (u = !0), (a = m);
          } finally {
            try {
              c || null == l['return'] || l['return']();
            } finally {
              if (u) throw a;
            }
          }
          return r;
        }
      }
      function h(e) {
        if (Array.isArray(e)) return e;
      }
      function p(e, t) {
        var l,
          n =
            null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
        return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
      }
      var b = function (e) {
        var t,
          l,
          i,
          o = Object(n['useRef'])(),
          E = Object(n['useContext'])(u['context']),
          s = E.locale,
          h = Object(u['useLocaleProps'])(s, e),
          b = Object(u['useDemoUrl'])(h.identifier),
          f = h.demoUrl || b,
          k =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(h.identifier),
          v = 1 === Object.keys(h.sources).length,
          y = Object(u['useCodeSandbox'])(
            (
              null === (t = h.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : h,
          ),
          g = Object(u['useRiddle'])(
            (
              null === (l = h.hideActions) || void 0 === l
                ? void 0
                : l.includes('RIDDLE')
            )
              ? null
              : h,
          ),
          M = Object(u['useMotions'])(h.motions || [], o.current),
          N = d(M, 2),
          _ = N[0],
          w = N[1],
          I = Object(u['useCopy'])(),
          x = d(I, 2),
          A = x[0],
          S = x[1],
          O = Object(n['useState'])('_'),
          C = d(O, 2),
          L = C[0],
          j = C[1],
          R = Object(n['useState'])(p(L, h.sources[L])),
          P = d(R, 2),
          D = P[0],
          K = P[1],
          q = Object(n['useState'])(Boolean(h.defaultShowCode)),
          T = d(q, 2),
          U = T[0],
          Z = T[1],
          F = Object(n['useState'])(Math.random()),
          H = d(F, 2),
          J = H[0],
          $ = H[1],
          z = h.sources[L][D] || h.sources[L].content,
          B = Object(u['useTSPlaygroundUrl'])(s, z),
          G = Object(n['useRef'])(),
          X = Object(u['usePrefersColor'])(),
          Q = d(X, 1),
          V = Q[0];
        function W(e) {
          j(e), K(p(e, h.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              $(Math.random());
            },
            [V],
          ),
          a.a.createElement(
            'div',
            {
              style: h.style,
              className: [
                h.className,
                '__dumi-default-previewer',
                k ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: h.identifier,
              'data-debug': h.debug || void 0,
              'data-iframe': h.iframe || void 0,
            },
            h.iframe &&
              a.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            a.a.createElement(
              'div',
              {
                ref: o,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: h.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    h.compact || (h.iframe && !1 !== h.compact) ? '0' : void 0,
                  background: h.background,
                },
              },
              h.iframe
                ? a.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(h.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: J,
                    src: f,
                    ref: G,
                  })
                : h.children,
            ),
            a.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': h.title,
              },
              h.title &&
                a.a.createElement(
                  u['AnchorLink'],
                  { to: '#'.concat(h.identifier) },
                  h.title,
                ),
              h.description &&
                a.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: h.description },
                }),
            ),
            a.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              y &&
                a.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: y,
                }),
              g &&
                a.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: g,
                }),
              h.motions &&
                a.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: w,
                  onClick: function () {
                    return _();
                  },
                }),
              h.iframe &&
                a.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (i = h.hideActions) || void 0 === i
                ? void 0
                : i.includes('EXTERNAL')) &&
                a.a.createElement(
                  u['Link'],
                  { target: '_blank', to: f },
                  a.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              a.a.createElement('span', null),
              a.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': S,
                onClick: function () {
                  return A(z);
                },
              }),
              'tsx' === D &&
                U &&
                a.a.createElement(
                  u['Link'],
                  { target: '_blank', to: B },
                  a.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              a.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  U ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return Z(!U);
                },
              }),
            ),
            U &&
              a.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !v &&
                  a.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: L,
                      onChange: W,
                    },
                    Object.keys(h.sources).map(function (e) {
                      return a.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, h.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                a.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  a.a.createElement(m['a'], { code: z, lang: D, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
