(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [42],
  {
    MZF8: function (e, t, l) {
      'use strict';
      var a = l('ogwx');
      l.d(t, 'a', function () {
        return a['b'];
      });
      l('VCU9');
    },
    R5W9: function (e, t, l) {
      'use strict';
      l.r(t);
      var a = l('q1tI'),
        n = l.n(a),
        r = l('dEAq'),
        c = l('Zxc8'),
        m = l('H1Ra'),
        o = l('JjdP'),
        d = n.a.memo(o['default']['modal-basic'].component),
        u = n.a.memo(o['default']['modal-async'].component),
        E = n.a.memo(o['default']['modal-footer'].component),
        i = n.a.memo(o['default']['modal-confirm'].component),
        s = n.a.memo(o['default']['modal-info'].component),
        f = n.a.memo(o['default']['modal-locale'].component),
        p = n.a.memo(o['default']['modal-manual'].component),
        h = n.a.memo(o['default']['modal-position'].component),
        b = n.a.memo(o['default']['modal-confirm-router'].component),
        k = n.a.memo(o['default']['modal-button-props'].component),
        v = n.a.memo(o['default']['modal-hooks'].component),
        x = n.a.memo(o['default']['modal-modal-render'].component),
        y = n.a.memo(o['default']['modal-width'].component);
      t['default'] = (e) => (
        n.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)),
            );
        }, []),
        n.a.createElement(
          n.a.Fragment,
          null,
          n.a.createElement(
            n.a.Fragment,
            null,
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h1',
                { id: 'modal-\u5bf9\u8bdd\u6846' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#modal-\u5bf9\u8bdd\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Modal \u5bf9\u8bdd\u6846',
              ),
              n.a.createElement(
                'p',
                null,
                '\u6a21\u6001\u5bf9\u8bdd\u6846\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              n.a.createElement(
                'p',
                null,
                '\u9700\u8981\u7528\u6237\u5904\u7406\u4e8b\u52a1\uff0c\u53c8\u4e0d\u5e0c\u671b\u8df3\u8f6c\u9875\u9762\u4ee5\u81f4\u6253\u65ad\u5de5\u4f5c\u6d41\u7a0b\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 ',
                n.a.createElement('code', null, 'Modal'),
                ' \u5728\u5f53\u524d\u9875\u9762\u6b63\u4e2d\u6253\u5f00\u4e00\u4e2a\u6d6e\u5c42\uff0c\u627f\u8f7d\u76f8\u5e94\u7684\u64cd\u4f5c\u3002',
              ),
              n.a.createElement(
                'p',
                null,
                '\u53e6\u5916\u5f53\u9700\u8981\u4e00\u4e2a\u7b80\u6d01\u7684\u786e\u8ba4\u6846\u8be2\u95ee\u7528\u6237\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528 ',
                n.a.createElement('code', null, 'Modal.confirm()'),
                ' \u7b49\u8bed\u6cd5\u7cd6\u65b9\u6cd5\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              n.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-basic'].previewerProps,
              n.a.createElement(d, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5f02\u6b65\u5173\u95ed' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5f02\u6b65\u5173\u95ed',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5f02\u6b65\u5173\u95ed',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-async'].previewerProps,
              n.a.createElement(u, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u9875\u811a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u9875\u811a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u9875\u811a',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-footer'].previewerProps,
              n.a.createElement(E, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u786e\u8ba4\u5bf9\u8bdd\u6846' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u786e\u8ba4\u5bf9\u8bdd\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u786e\u8ba4\u5bf9\u8bdd\u6846',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-confirm'].previewerProps,
              n.a.createElement(i, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4fe1\u606f\u63d0\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4fe1\u606f\u63d0\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4fe1\u606f\u63d0\u793a',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-info'].previewerProps,
              n.a.createElement(s, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u56fd\u9645\u5316' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56fd\u9645\u5316',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fd\u9645\u5316',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-locale'].previewerProps,
              n.a.createElement(f, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u624b\u52a8\u66f4\u65b0\u548c\u79fb\u9664' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u624b\u52a8\u66f4\u65b0\u548c\u79fb\u9664',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u624b\u52a8\u66f4\u65b0\u548c\u79fb\u9664',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-manual'].previewerProps,
              n.a.createElement(p, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u4f4d\u7f6e' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u4f4d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u4f4d\u7f6e',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-position'].previewerProps,
              n.a.createElement(h, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u9500\u6bc1\u786e\u8ba4\u5bf9\u8bdd\u6846' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9500\u6bc1\u786e\u8ba4\u5bf9\u8bdd\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9500\u6bc1\u786e\u8ba4\u5bf9\u8bdd\u6846',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-confirm-router'].previewerProps,
              n.a.createElement(b, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                {
                  id: '\u81ea\u5b9a\u4e49\u9875\u811a\u6309\u94ae\u5c5e\u6027',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u9875\u811a\u6309\u94ae\u5c5e\u6027',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u9875\u811a\u6309\u94ae\u5c5e\u6027',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-button-props'].previewerProps,
              n.a.createElement(k, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u4f7f\u7528-hooks-\u83b7\u5f97\u4e0a\u4e0b\u6587' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f7f\u7528-hooks-\u83b7\u5f97\u4e0a\u4e0b\u6587',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f7f\u7528 hooks \u83b7\u5f97\u4e0a\u4e0b\u6587',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-hooks'].previewerProps,
              n.a.createElement(v, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u6e32\u67d3\u5bf9\u8bdd\u6846' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u6e32\u67d3\u5bf9\u8bdd\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u6e32\u67d3\u5bf9\u8bdd\u6846',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-modal-render'].previewerProps,
              n.a.createElement(x, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u6a21\u6001\u7684\u5bbd\u5ea6' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u6a21\u6001\u7684\u5bbd\u5ea6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u6a21\u6001\u7684\u5bbd\u5ea6',
              ),
            ),
            n.a.createElement(
              c['default'],
              o['default']['modal-width'].previewerProps,
              n.a.createElement(y, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h2',
                { id: 'api' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'afterClose'),
                    n.a.createElement(
                      'td',
                      null,
                      'Modal \u5b8c\u5168\u5173\u95ed\u540e\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, 'function'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'bodyStyle'),
                    n.a.createElement('td', null, 'Modal body \u6837\u5f0f'),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'cancelButtonProps'),
                    n.a.createElement('td', null, 'cancel \u6309\u94ae props'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'cancelText'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u53d6\u6d88\u6309\u94ae\u6587\u5b57',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, '\u53d6\u6d88'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'centered'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5782\u76f4\u5c45\u4e2d\u5c55\u793a Modal',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'closable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u663e\u793a\u53f3\u4e0a\u89d2\u7684\u5173\u95ed\u6309\u94ae',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'closeIcon'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5173\u95ed\u56fe\u6807',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '<CloseOutlined />'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'confirmLoading'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u786e\u5b9a\u6309\u94ae loading',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'destroyOnClose'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5173\u95ed\u65f6\u9500\u6bc1 Modal \u91cc\u7684\u5b50\u5143\u7d20',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'focusTriggerAfterClose'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5bf9\u8bdd\u6846\u5173\u95ed\u540e\u662f\u5426\u9700\u8981\u805a\u7126\u89e6\u53d1\u5143\u7d20',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null, '4.9.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'footer'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5e95\u90e8\u5185\u5bb9\uff0c\u5f53\u4e0d\u9700\u8981\u9ed8\u8ba4\u5e95\u90e8\u6309\u94ae\u65f6\uff0c\u53ef\u4ee5\u8bbe\u4e3a ',
                      n.a.createElement(
                        'code',
                        null,
                        'footer=',
                        '{',
                        'null',
                        '}',
                      ),
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement(
                      'td',
                      null,
                      '(\u786e\u5b9a\u53d6\u6d88\u6309\u94ae)',
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'forceRender'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5f3a\u5236\u6e32\u67d3 Modal',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'getContainer'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a Modal \u6302\u8f7d\u7684 HTML \u8282\u70b9, false \u4e3a\u6302\u8f7d\u5728\u5f53\u524d dom',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'HTMLElement | () => HTMLElement | Selectors | false',
                    ),
                    n.a.createElement('td', null, 'document.body'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'keyboard'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u652f\u6301\u952e\u76d8 esc \u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'mask'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5c55\u793a\u906e\u7f69',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'maskClosable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u8499\u5c42\u662f\u5426\u5141\u8bb8\u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'maskStyle'),
                    n.a.createElement('td', null, '\u906e\u7f69\u6837\u5f0f'),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'modalRender'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6e32\u67d3\u5bf9\u8bdd\u6846',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      '(node: ReactNode) => ReactNode',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.7.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okButtonProps'),
                    n.a.createElement('td', null, 'ok \u6309\u94ae props'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okText'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u6587\u5b57',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, '\u786e\u5b9a'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okType'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u7c7b\u578b',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'primary'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'style'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u53ef\u7528\u4e8e\u8bbe\u7f6e\u6d6e\u5c42\u7684\u6837\u5f0f\uff0c\u8c03\u6574\u6d6e\u5c42\u4f4d\u7f6e\u7b49',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement('td', null, '\u6807\u9898'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'visible'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5bf9\u8bdd\u6846\u662f\u5426\u53ef\u89c1',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'width'),
                    n.a.createElement('td', null, '\u5bbd\u5ea6'),
                    n.a.createElement('td', null, 'string | number'),
                    n.a.createElement('td', null, '520'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'wrapClassName'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5bf9\u8bdd\u6846\u5916\u5c42\u5bb9\u5668\u7684\u7c7b\u540d',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'zIndex'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e Modal \u7684 ',
                      n.a.createElement('code', null, 'z-index'),
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '1000'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onCancel'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u906e\u7f69\u5c42\u6216\u53f3\u4e0a\u89d2\u53c9\u6216\u53d6\u6d88\u6309\u94ae\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, 'function(e)'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onOk'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u786e\u5b9a\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, 'function(e)'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h4',
                { id: '\u6ce8\u610f' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u6ce8\u610f', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6ce8\u610f',
              ),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, '<Modal />'),
                  ' \u9ed8\u8ba4\u5173\u95ed\u540e\u72b6\u6001\u4e0d\u4f1a\u81ea\u52a8\u6e05\u7a7a, \u5982\u679c\u5e0c\u671b\u6bcf\u6b21\u6253\u5f00\u90fd\u662f\u65b0\u5185\u5bb9\uff0c\u8bf7\u8bbe\u7f6e ',
                  n.a.createElement('code', null, 'destroyOnClose'),
                  '\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, '<Modal />'),
                  ' \u548c Form \u4e00\u8d77\u914d\u5408\u4f7f\u7528\u65f6\uff0c\u8bbe\u7f6e ',
                  n.a.createElement('code', null, 'destroyOnClose'),
                  ' \u4e5f\u4e0d\u4f1a\u5728 Modal \u5173\u95ed\u65f6\u9500\u6bc1\u8868\u5355\u5b57\u6bb5\u6570\u636e\uff0c\u9700\u8981\u8bbe\u7f6e ',
                  n.a.createElement(
                    'code',
                    null,
                    '<Form preserve=',
                    '{',
                    'false',
                    '}',
                    ' />',
                  ),
                  '\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.method()'),
                  ' RTL \u6a21\u5f0f\u4ec5\u652f\u6301 hooks \u7528\u6cd5\u3002',
                ),
              ),
              n.a.createElement(
                'h3',
                { id: 'modalmethod' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#modalmethod', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Modal.method()',
              ),
              n.a.createElement('p', null, '\u5305\u62ec\uff1a'),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.info'),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.success'),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.error'),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.warning'),
                ),
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.confirm'),
                ),
              ),
              n.a.createElement(
                'p',
                null,
                '\u4ee5\u4e0a\u5747\u4e3a\u4e00\u4e2a\u51fd\u6570\uff0c\u53c2\u6570\u4e3a object\uff0c\u5177\u4f53\u5c5e\u6027\u5982\u4e0b\uff1a',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'afterClose'),
                    n.a.createElement(
                      'td',
                      null,
                      'Modal \u5b8c\u5168\u5173\u95ed\u540e\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, 'function'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.9.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'autoFocusButton'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a\u81ea\u52a8\u83b7\u5f97\u7126\u70b9\u7684\u6309\u94ae',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'null | ',
                      n.a.createElement('code', null, 'ok'),
                      ' | ',
                      n.a.createElement('code', null, 'cancel'),
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'ok'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'bodyStyle'),
                    n.a.createElement('td', null, 'Modal body \u6837\u5f0f'),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null),
                    n.a.createElement('td', null, '4.8.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'cancelButtonProps'),
                    n.a.createElement('td', null, 'cancel \u6309\u94ae props'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'cancelText'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e Modal.confirm \u53d6\u6d88\u6309\u94ae\u6587\u5b57',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, '\u53d6\u6d88'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'centered'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5782\u76f4\u5c45\u4e2d\u5c55\u793a Modal',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'className'),
                    n.a.createElement('td', null, '\u5bb9\u5668\u7c7b\u540d'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'closable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u663e\u793a\u53f3\u4e0a\u89d2\u7684\u5173\u95ed\u6309\u94ae',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null, '4.9.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'closeIcon'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5173\u95ed\u56fe\u6807',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, 'undefined'),
                    n.a.createElement('td', null, '4.9.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'content'),
                    n.a.createElement('td', null, '\u5185\u5bb9'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'getContainer'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a Modal \u6302\u8f7d\u7684 HTML \u8282\u70b9, false \u4e3a\u6302\u8f7d\u5728\u5f53\u524d dom',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'HTMLElement | () => HTMLElement | Selectors | false',
                    ),
                    n.a.createElement('td', null, 'document.body'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'icon'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u56fe\u6807',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '<QuestionCircle />'),
                    n.a.createElement('td', null, '3.12.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'keyboard'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u652f\u6301\u952e\u76d8 esc \u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'mask'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u5c55\u793a\u906e\u7f69',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'maskClosable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u8499\u5c42\u662f\u5426\u5141\u8bb8\u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'maskStyle'),
                    n.a.createElement('td', null, '\u906e\u7f69\u6837\u5f0f'),
                    n.a.createElement('td', null, 'object'),
                    n.a.createElement('td', null, '{', '}'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okButtonProps'),
                    n.a.createElement('td', null, 'ok \u6309\u94ae props'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okText'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u6587\u5b57',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, '\u786e\u5b9a'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'okType'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u7c7b\u578b',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'primary'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'style'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u53ef\u7528\u4e8e\u8bbe\u7f6e\u6d6e\u5c42\u7684\u6837\u5f0f\uff0c\u8c03\u6574\u6d6e\u5c42\u4f4d\u7f6e\u7b49',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement('td', null, '\u6807\u9898'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'width'),
                    n.a.createElement('td', null, '\u5bbd\u5ea6'),
                    n.a.createElement('td', null, 'string | number'),
                    n.a.createElement('td', null, '416'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'zIndex'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e Modal \u7684 ',
                      n.a.createElement('code', null, 'z-index'),
                    ),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '1000'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onCancel'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u53d6\u6d88\u56de\u8c03\uff0c\u53c2\u6570\u4e3a\u5173\u95ed\u51fd\u6570\uff0c\u8fd4\u56de promise \u65f6 resolve \u540e\u81ea\u52a8\u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'function(close)'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onOk'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u786e\u5b9a\u56de\u8c03\uff0c\u53c2\u6570\u4e3a\u5173\u95ed\u51fd\u6570\uff0c\u8fd4\u56de promise \u65f6 resolve \u540e\u81ea\u52a8\u5173\u95ed',
                    ),
                    n.a.createElement('td', null, 'function(close)'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'p',
                null,
                '\u4ee5\u4e0a\u51fd\u6570\u8c03\u7528\u540e\uff0c\u4f1a\u8fd4\u56de\u4e00\u4e2a\u5f15\u7528\uff0c\u53ef\u4ee5\u901a\u8fc7\u8be5\u5f15\u7528\u66f4\u65b0\u548c\u5173\u95ed\u5f39\u7a97\u3002',
              ),
              n.a.createElement(m['a'], {
                code: "const modal = Modal.info();\n\nmodal.update({\n  title: '\u4fee\u6539\u7684\u6807\u9898',\n  content: '\u4fee\u6539\u7684\u5185\u5bb9',\n});\n\n// \u5728 4.8.0 \u6216\u66f4\u9ad8\u7248\u672c\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f20\u5165\u51fd\u6570\u7684\u65b9\u5f0f\u66f4\u65b0\u5f39\u7a97\nmodal.update(prevConfig => ({\n  ...prevConfig,\n  title: `${prevConfig.title}\uff08\u65b0\uff09`,\n}));\n\nmodal.destroy();",
                lang: 'bash',
              }),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  n.a.createElement('code', null, 'Modal.destroyAll'),
                ),
              ),
              n.a.createElement(
                'p',
                null,
                '\u4f7f\u7528 ',
                n.a.createElement('code', null, 'Modal.destroyAll()'),
                ' \u53ef\u4ee5\u9500\u6bc1\u5f39\u51fa\u7684\u786e\u8ba4\u7a97\uff08\u5373\u4e0a\u8ff0\u7684 ',
                n.a.createElement('code', null, 'Modal.info'),
                '\u3001',
                n.a.createElement('code', null, 'Modal.success'),
                '\u3001',
                n.a.createElement('code', null, 'Modal.error'),
                '\u3001',
                n.a.createElement('code', null, 'Modal.warning'),
                '\u3001',
                n.a.createElement('code', null, 'Modal.confirm'),
                '\uff09\u3002\u901a\u5e38\u7528\u4e8e\u8def\u7531\u76d1\u542c\u5f53\u4e2d\uff0c\u5904\u7406\u8def\u7531\u524d\u8fdb\u3001\u540e\u9000\u4e0d\u80fd\u9500\u6bc1\u786e\u8ba4\u5bf9\u8bdd\u6846\u7684\u95ee\u9898\uff0c\u800c\u4e0d\u7528\u5404\u5904\u53bb\u4f7f\u7528\u5b9e\u4f8b\u7684\u8fd4\u56de\u503c\u8fdb\u884c\u5173\u95ed\uff08',
                n.a.createElement('code', null, 'modal.destroy()'),
                ' \u9002\u7528\u4e8e\u4e3b\u52a8\u5173\u95ed\uff0c\u800c\u4e0d\u662f\u8def\u7531\u8fd9\u6837\u88ab\u52a8\u5173\u95ed\uff09',
              ),
              n.a.createElement(m['a'], {
                code: "import { browserHistory } from 'react-router';\n\n// router change\nbrowserHistory.listen(() => {\n  Modal.destroyAll();\n});",
                lang: 'bash',
              }),
              n.a.createElement(
                'h3',
                { id: 'modalusemodal' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#modalusemodal', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Modal.useModal()',
              ),
              n.a.createElement(
                'p',
                null,
                '\u5f53\u4f60\u9700\u8981\u4f7f\u7528 Context \u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7 ',
                n.a.createElement('code', null, 'Modal.useModal'),
                ' \u521b\u5efa\u4e00\u4e2a ',
                n.a.createElement('code', null, 'contextHolder'),
                ' \u63d2\u5165\u5b50\u8282\u70b9\u4e2d\u3002\u901a\u8fc7 hooks \u521b\u5efa\u7684\u4e34\u65f6 Modal \u5c06\u4f1a\u5f97\u5230 ',
                n.a.createElement('code', null, 'contextHolder'),
                ' \u6240\u5728\u4f4d\u7f6e\u7684\u6240\u6709\u4e0a\u4e0b\u6587\u3002\u521b\u5efa\u7684 ',
                n.a.createElement('code', null, 'modal'),
                ' \u5bf9\u8c61\u62e5\u6709\u4e0e ',
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#Modal.method()' },
                  n.a.createElement('code', null, 'Modal.method'),
                ),
                ' \u76f8\u540c\u7684\u521b\u5efa\u901a\u77e5\u65b9\u6cd5\u3002',
              ),
              n.a.createElement(m['a'], {
                code: 'const [modal, contextHolder] = Modal.useModal();\n\nReact.useEffect(() => {\n  modal.confirm({\n    // ...\n  });\n}, []);\n\nreturn <div>{contextHolder}</div>;',
                lang: 'bash',
              }),
              n.a.createElement(
                'h2',
                { id: 'faq' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'FAQ',
              ),
              n.a.createElement(
                'h3',
                {
                  id: '\u4e3a\u4ec0\u4e48-modal-\u65b9\u6cd5\u4e0d\u80fd\u83b7\u53d6-contextredux\u7684\u5185\u5bb9\u548c-configprovider-localeprefixcls-\u914d\u7f6e',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e3a\u4ec0\u4e48-modal-\u65b9\u6cd5\u4e0d\u80fd\u83b7\u53d6-contextredux\u7684\u5185\u5bb9\u548c-configprovider-localeprefixcls-\u914d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e3a\u4ec0\u4e48 Modal \u65b9\u6cd5\u4e0d\u80fd\u83b7\u53d6 context\u3001redux\u3001\u7684\u5185\u5bb9\u548c ConfigProvider ',
                n.a.createElement('code', null, 'locale/prefixCls'),
                ' \u914d\u7f6e\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u76f4\u63a5\u8c03\u7528 Modal \u65b9\u6cd5\uff0cantd \u4f1a\u901a\u8fc7 ',
                n.a.createElement('code', null, 'ReactDOM.render'),
                ' \u52a8\u6001\u521b\u5efa\u65b0\u7684 React \u5b9e\u4f53\u3002\u5176 context \u4e0e\u5f53\u524d\u4ee3\u7801\u6240\u5728 context \u5e76\u4e0d\u76f8\u540c\uff0c\u56e0\u800c\u65e0\u6cd5\u83b7\u53d6 context \u4fe1\u606f\u3002',
              ),
              n.a.createElement(
                'p',
                null,
                '\u5f53\u4f60\u9700\u8981 context \u4fe1\u606f\uff08\u4f8b\u5982 ConfigProvider \u914d\u7f6e\u7684\u5185\u5bb9\uff09\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7 ',
                n.a.createElement('code', null, 'Modal.useModal'),
                ' \u65b9\u6cd5\u4f1a\u8fd4\u56de ',
                n.a.createElement('code', null, 'modal'),
                ' \u5b9e\u4f53\u4ee5\u53ca ',
                n.a.createElement('code', null, 'contextHolder'),
                ' \u8282\u70b9\u3002\u5c06\u5176\u63d2\u5165\u5230\u4f60\u9700\u8981\u83b7\u53d6 context \u4f4d\u7f6e\u5373\u53ef\uff1a',
              ),
              n.a.createElement(m['a'], {
                code: 'const [modal, contextHolder] = Modal.useModal();\n\nreturn (\n  <Context1.Provider value="Ant">\n    {/* contextHolder \u5728 Context1 \u5185\uff0c\u5b83\u53ef\u4ee5\u83b7\u5f97 Context1 \u7684 context */}\n    {contextHolder}\n    <Context2.Provider value="Design">\n      {/* contextHolder \u5728 Context2 \u5916\uff0c\u56e0\u800c\u4e0d\u4f1a\u83b7\u5f97 Context2 \u7684 context */}\n    </Context2.Provider>\n  </Context1.Provider>\n);',
                lang: 'bash',
              }),
              n.a.createElement(
                'p',
                null,
                '**\u5f02\u540c\uff1a**\u901a\u8fc7 hooks \u521b\u5efa\u7684 ',
                n.a.createElement('code', null, 'contextHolder'),
                ' \u5fc5\u987b\u63d2\u5165\u5230\u5b50\u5143\u7d20\u8282\u70b9\u4e2d\u624d\u4f1a\u751f\u6548\uff0c\u5f53\u4f60\u4e0d\u9700\u8981\u4e0a\u4e0b\u6587\u4fe1\u606f\u65f6\u8bf7\u76f4\u63a5\u8c03\u7528\u3002',
              ),
              n.a.createElement(
                'h3',
                { id: '\u5982\u4f55\u5173\u95ed-modal-\u52a8\u753b' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5982\u4f55\u5173\u95ed-modal-\u52a8\u753b',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5982\u4f55\u5173\u95ed Modal \u52a8\u753b\uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u4f60\u53ef\u4ee5\u901a\u8fc7 ',
                n.a.createElement('code', null, 'transitionName=""'),
                ' \u548c ',
                n.a.createElement('code', null, 'maskTransitionName=""'),
                ' \u53bb\u9664\u52a8\u753b CSS\uff0c\u4f46\u662f\u9700\u8981\u6ce8\u610f\u7684\u662f\u3002\u8be5\u65b9\u6cd5\u4e3a\u5185\u90e8\u65b9\u6cd5\uff0c\u6211\u4eec\u4e0d\u4fdd\u8bc1\u4e0b\u4e2a\u5927\u7248\u672c\u91cd\u6784\u65f6\u8be5\u5c5e\u6027\u4f1a\u88ab\u4fdd\u7559\u3002',
              ),
              n.a.createElement(
                'h3',
                {
                  id: '\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e-prefixcls-',
                },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e-prefixcls-',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9759\u6001\u65b9\u6cd5\u5982\u4f55\u8bbe\u7f6e prefixCls \uff1f',
              ),
              n.a.createElement(
                'p',
                null,
                '\u4f60\u53ef\u4ee5\u901a\u8fc7 ',
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '/components/config-provider/#ConfigProvider.config()-4.13.0+',
                  },
                  n.a.createElement('code', null, 'ConfigProvider.config'),
                ),
                ' \u8fdb\u884c\u8bbe\u7f6e\u3002',
              ),
              n.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n\n .ant-modal-confirm-content p {\n  margin-bottom: 3px !important;\n}\n\n',
                },
              }),
            ),
          ),
        )
      );
    },
    RZMt: function (e, t, l) {},
    Zxc8: function (e, t, l) {
      'use strict';
      l.r(t);
      var a = l('q1tI'),
        n = l.n(a),
        r = l('k3GJ'),
        c = l('MZF8'),
        m = l('dEAq'),
        o = l('H1Ra');
      l('RZMt');
      function d(e, t) {
        return f(e) || s(e, t) || E(e, t) || u();
      }
      function u() {
        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 E(e, t) {
        if (e) {
          if ('string' === typeof e) return i(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)
              ? i(e, t)
              : void 0
          );
        }
      }
      function i(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
        return a;
      }
      function s(e, t) {
        var l =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != l) {
          var a,
            n,
            r = [],
            c = !0,
            m = !1;
          try {
            for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
              if ((r.push(a.value), t && r.length === t)) break;
          } catch (o) {
            (m = !0), (n = o);
          } finally {
            try {
              c || null == l['return'] || l['return']();
            } finally {
              if (m) throw n;
            }
          }
          return r;
        }
      }
      function f(e) {
        if (Array.isArray(e)) return e;
      }
      function p(e, t) {
        var l,
          a =
            null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
        return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
      }
      var h = function (e) {
        var t,
          l,
          u,
          E = Object(a['useRef'])(),
          i = Object(a['useContext'])(m['context']),
          s = i.locale,
          f = Object(m['useLocaleProps'])(s, e),
          h = Object(m['useDemoUrl'])(f.identifier),
          b = f.demoUrl || h,
          k =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          v = 1 === Object.keys(f.sources).length,
          x = Object(m['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          y = Object(m['useRiddle'])(
            (
              null === (l = f.hideActions) || void 0 === l
                ? void 0
                : l.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          N = Object(m['useMotions'])(f.motions || [], E.current),
          M = d(N, 2),
          g = M[0],
          w = M[1],
          C = Object(m['useCopy'])(),
          A = d(C, 2),
          L = A[0],
          _ = A[1],
          P = Object(a['useState'])('_'),
          I = d(P, 2),
          S = I[0],
          O = I[1],
          R = Object(a['useState'])(p(S, f.sources[S])),
          j = d(R, 2),
          T = j[0],
          H = j[1],
          B = Object(a['useState'])(Boolean(f.defaultShowCode)),
          F = d(B, 2),
          q = F[0],
          U = F[1],
          Z = Object(a['useState'])(Math.random()),
          D = d(Z, 2),
          J = D[0],
          $ = D[1],
          z = f.sources[S][T] || f.sources[S].content,
          G = Object(m['useTSPlaygroundUrl'])(s, z),
          Q = Object(a['useRef'])(),
          X = Object(m['usePrefersColor'])(),
          K = d(X, 1),
          V = K[0];
        function W(e) {
          O(e), H(p(e, f.sources[e]));
        }
        return (
          Object(a['useEffect'])(
            function () {
              $(Math.random());
            },
            [V],
          ),
          n.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                k ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              n.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            n.a.createElement(
              'div',
              {
                ref: E,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: f.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
                  background: f.background,
                },
              },
              f.iframe
                ? n.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: J,
                    src: b,
                    ref: Q,
                  })
                : f.children,
            ),
            n.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                n.a.createElement(
                  m['AnchorLink'],
                  { to: '#'.concat(f.identifier) },
                  f.title,
                ),
              f.description &&
                n.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: f.description },
                }),
            ),
            n.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              x &&
                n.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: x,
                }),
              y &&
                n.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: y,
                }),
              f.motions &&
                n.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: w,
                  onClick: function () {
                    return g();
                  },
                }),
              f.iframe &&
                n.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (u = f.hideActions) || void 0 === u
                ? void 0
                : u.includes('EXTERNAL')) &&
                n.a.createElement(
                  m['Link'],
                  { target: '_blank', to: b },
                  n.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              n.a.createElement('span', null),
              n.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': _,
                onClick: function () {
                  return L(z);
                },
              }),
              'tsx' === T &&
                q &&
                n.a.createElement(
                  m['Link'],
                  { target: '_blank', to: G },
                  n.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              n.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  q ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return U(!q);
                },
              }),
            ),
            q &&
              n.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !v &&
                  n.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: S,
                      onChange: W,
                    },
                    Object.keys(f.sources).map(function (e) {
                      return n.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                n.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  n.a.createElement(o['a'], { code: z, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
