(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [46],
  {
    Hh86: function (e, t, n) {
      'use strict';
      n.r(t);
      var a = n('q1tI'),
        l = n.n(a),
        r = n('dEAq'),
        c = n('Zxc8'),
        o = n('JjdP'),
        i = l.a.memo(o['default']['popconfirm-basic'].component),
        m = l.a.memo(o['default']['popconfirm-locale'].component),
        d = l.a.memo(o['default']['popconfirm-placement'].component),
        u = l.a.memo(o['default']['popconfirm-dynamic-trigger'].component),
        s = l.a.memo(o['default']['popconfirm-icon'].component),
        E = l.a.memo(o['default']['popconfirm-async'].component),
        p = l.a.memo(o['default']['popconfirm-promise'].component);
      t['default'] = (e) => (
        l.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)),
            );
        }, []),
        l.a.createElement(
          l.a.Fragment,
          null,
          l.a.createElement(
            l.a.Fragment,
            null,
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'p',
                null,
                '\u70b9\u51fb\u5143\u7d20\uff0c\u5f39\u51fa\u6c14\u6ce1\u5f0f\u7684\u786e\u8ba4\u6846\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              l.a.createElement(
                'p',
                null,
                '\u76ee\u6807\u5143\u7d20\u7684\u64cd\u4f5c\u9700\u8981\u7528\u6237\u8fdb\u4e00\u6b65\u7684\u786e\u8ba4\u65f6\uff0c\u5728\u76ee\u6807\u5143\u7d20\u9644\u8fd1\u5f39\u51fa\u6d6e\u5c42\u63d0\u793a\uff0c\u8be2\u95ee\u7528\u6237\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u548c ',
                l.a.createElement('code', null, 'confirm'),
                ' \u5f39\u51fa\u7684\u5168\u5c4f\u5c45\u4e2d\u6a21\u6001\u5bf9\u8bdd\u6846\u76f8\u6bd4\uff0c\u4ea4\u4e92\u5f62\u5f0f\u66f4\u8f7b\u91cf\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              l.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-basic'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u56fd\u9645\u5316' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u56fd\u9645\u5316',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u56fd\u9645\u5316',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-locale'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u4f4d\u7f6e' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u4f4d\u7f6e', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f4d\u7f6e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-placement'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u6761\u4ef6\u89e6\u53d1' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6761\u4ef6\u89e6\u53d1',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6761\u4ef6\u89e6\u53d1',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-dynamic-trigger'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49-icon-\u56fe\u6807' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49-icon-\u56fe\u6807',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49 Icon \u56fe\u6807',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-icon'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5f02\u6b65\u5173\u95ed' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5f02\u6b65\u5173\u95ed',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5f02\u6b65\u5173\u95ed',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-async'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u57fa\u4e8e-promise-\u7684\u5f02\u6b65\u5173\u95ed' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u57fa\u4e8e-promise-\u7684\u5f02\u6b65\u5173\u95ed',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u4e8e Promise \u7684\u5f02\u6b65\u5173\u95ed',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['popconfirm-promise'].previewerProps,
              l.a.createElement(p, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: 'api' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u53c2\u6570'),
                    l.a.createElement('th', null, '\u8bf4\u660e'),
                    l.a.createElement('th', null, '\u7c7b\u578b'),
                    l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'cancelButtonProps'),
                    l.a.createElement('td', null, 'cancel \u6309\u94ae props'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'cancelText'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u53d6\u6d88\u6309\u94ae\u6587\u5b57',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, '\u53d6\u6d88'),
                    ),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'disabled'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u963b\u6b62\u70b9\u51fb Popconfirm \u5b50\u5143\u7d20\u65f6\u5f39\u51fa\u786e\u8ba4\u6846',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'icon'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u5f39\u51fa\u6c14\u6ce1 Icon \u56fe\u6807',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '<ExclamationCircle />'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'okButtonProps'),
                    l.a.createElement('td', null, 'ok \u6309\u94ae props'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/button/#API' },
                        'ButtonProps',
                      ),
                    ),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'okText'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u6587\u5b57',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, '\u786e\u5b9a'),
                    ),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'okType'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6309\u94ae\u7c7b\u578b',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'primary'),
                    ),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'title'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u786e\u8ba4\u6846\u7684\u63cf\u8ff0',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'ReactNode | () => ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onCancel'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u53d6\u6d88\u7684\u56de\u8c03',
                    ),
                    l.a.createElement('td', null, 'function(e)'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'onConfirm'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u70b9\u51fb\u786e\u8ba4\u7684\u56de\u8c03',
                    ),
                    l.a.createElement('td', null, 'function(e)'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement(
                'p',
                null,
                '\u66f4\u591a\u5c5e\u6027\u8bf7\u53c2\u8003 ',
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '/components/tooltip/#API' },
                  'Tooltip',
                ),
                '\u3002',
              ),
              l.a.createElement(
                'h2',
                { id: '\u6ce8\u610f' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u6ce8\u610f', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6ce8\u610f',
              ),
              l.a.createElement(
                'p',
                null,
                '\u8bf7\u786e\u4fdd ',
                l.a.createElement('code', null, 'Popconfirm'),
                ' \u7684\u5b50\u5143\u7d20\u80fd\u63a5\u53d7 ',
                l.a.createElement('code', null, 'onMouseEnter'),
                '\u3001',
                l.a.createElement('code', null, 'onMouseLeave'),
                '\u3001',
                l.a.createElement('code', null, 'onFocus'),
                '\u3001',
                l.a.createElement('code', null, 'onClick'),
                ' \u4e8b\u4ef6\u3002',
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n.demo {\n  overflow: auto;\n}\n.ant-popover-wrap > a {\n  margin-right: 8px;\n}\n\n.popconfirm-placement-demo .ant-btn {\n  margin-right: 8px;\n  margin-bottom: 8px;\n} \n \n#popconfirm-placement .ant-btn {\n  width: 70px;\n  text-align: center;\n  padding: 0;\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, n) {
      'use strict';
      var a = n('ogwx');
      n.d(t, 'a', function () {
        return a['b'];
      });
      n('VCU9');
    },
    RZMt: function (e, t, n) {},
    Zxc8: function (e, t, n) {
      'use strict';
      n.r(t);
      var a = n('q1tI'),
        l = n.n(a),
        r = n('k3GJ'),
        c = n('MZF8'),
        o = n('dEAq'),
        i = n('H1Ra');
      n('RZMt');
      function m(e, t) {
        return p(e) || E(e, t) || u(e, t) || d();
      }
      function d() {
        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 u(e, t) {
        if (e) {
          if ('string' === typeof e) return s(e, t);
          var n = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === n && e.constructor && (n = e.constructor.name),
            'Map' === n || 'Set' === n
              ? Array.from(e)
              : 'Arguments' === n ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
              ? s(e, t)
              : void 0
          );
        }
      }
      function s(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
        return a;
      }
      function E(e, t) {
        var n =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != n) {
          var a,
            l,
            r = [],
            c = !0,
            o = !1;
          try {
            for (n = n.call(e); !(c = (a = n.next()).done); c = !0)
              if ((r.push(a.value), t && r.length === t)) break;
          } catch (i) {
            (o = !0), (l = i);
          } finally {
            try {
              c || null == n['return'] || n['return']();
            } finally {
              if (o) throw l;
            }
          }
          return r;
        }
      }
      function p(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var n,
          a =
            null === (n = e.match(/\.(\w+)$/)) || void 0 === n ? void 0 : n[1];
        return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
      }
      var h = function (e) {
        var t,
          n,
          d,
          u = Object(a['useRef'])(),
          s = Object(a['useContext'])(o['context']),
          E = s.locale,
          p = Object(o['useLocaleProps'])(E, e),
          h = Object(o['useDemoUrl'])(p.identifier),
          b = p.demoUrl || h,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          k = 1 === Object.keys(p.sources).length,
          y = Object(o['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          _ = Object(o['useRiddle'])(
            (
              null === (n = p.hideActions) || void 0 === n
                ? void 0
                : n.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          w = Object(o['useMotions'])(p.motions || [], u.current),
          g = m(w, 2),
          N = g[0],
          x = g[1],
          A = Object(o['useCopy'])(),
          I = m(A, 2),
          j = I[0],
          C = I[1],
          L = Object(a['useState'])('_'),
          O = m(L, 2),
          P = O[0],
          S = O[1],
          R = Object(a['useState'])(f(P, p.sources[P])),
          M = m(R, 2),
          T = M[0],
          B = M[1],
          U = Object(a['useState'])(Boolean(p.defaultShowCode)),
          Z = m(U, 2),
          F = Z[0],
          J = Z[1],
          q = Object(a['useState'])(Math.random()),
          H = m(q, 2),
          $ = H[0],
          D = H[1],
          G = p.sources[P][T] || p.sources[P].content,
          X = Object(o['useTSPlaygroundUrl'])(E, G),
          K = Object(a['useRef'])(),
          V = Object(o['usePrefersColor'])(),
          z = m(V, 1),
          Q = z[0];
        function W(e) {
          S(e), B(f(e, p.sources[e]));
        }
        return (
          Object(a['useEffect'])(
            function () {
              D(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: p.style,
              className: [
                p.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: p.identifier,
              'data-debug': p.debug || void 0,
              'data-iframe': p.iframe || void 0,
            },
            p.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: p.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
                  background: p.background,
                },
              },
              p.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(p.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: $,
                    src: b,
                    ref: K,
                  })
                : p.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                l.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(p.identifier) },
                  p.title,
                ),
              p.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: p.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              y &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: y,
                }),
              _ &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: _,
                }),
              p.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return N();
                  },
                }),
              p.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return D(Math.random());
                  },
                }),
              !(null === (d = p.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: b },
                  l.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              l.a.createElement('span', null),
              l.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': C,
                onClick: function () {
                  return j(G);
                },
              }),
              'tsx' === T &&
                F &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: X },
                  l.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              l.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  F ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return J(!F);
                },
              }),
            ),
            F &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: P,
                      onChange: W,
                    },
                    Object.keys(p.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                l.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  l.a.createElement(i['a'], { code: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
