(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [47],
  {
    MZF8: function (e, t, a) {
      'use strict';
      var n = a('ogwx');
      a.d(t, 'a', function () {
        return n['b'];
      });
      a('VCU9');
    },
    OhuD: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        o = a('Zxc8'),
        c = a('JjdP'),
        i = l.a.memo(c['default']['popover-basic'].component),
        m = l.a.memo(c['default']['popover-triggertype'].component),
        d = l.a.memo(c['default']['popover-placement'].component),
        u = l.a.memo(c['default']['popover-interalclose'].component),
        s = l.a.memo(c['default']['popover-arrow-point-at-center'].component),
        p = l.a.memo(c['default']['popover-hover-with-click'].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(
                'h1',
                { id: 'popover-\u6c14\u6ce1\u5361\u7247' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#popover-\u6c14\u6ce1\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Popover \u6c14\u6ce1\u5361\u7247',
              ),
              l.a.createElement(
                'p',
                null,
                '\u70b9\u51fb/\u9f20\u6807\u79fb\u5165\u5143\u7d20\uff0c\u5f39\u51fa\u6c14\u6ce1\u5f0f\u7684\u5361\u7247\u6d6e\u5c42\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,
                '\u5f53\u76ee\u6807\u5143\u7d20\u6709\u8fdb\u4e00\u6b65\u7684\u63cf\u8ff0\u548c\u76f8\u5173\u64cd\u4f5c\u65f6\uff0c\u53ef\u4ee5\u6536\u7eb3\u5230\u5361\u7247\u4e2d\uff0c\u6839\u636e\u7528\u6237\u7684\u64cd\u4f5c\u884c\u4e3a\u8fdb\u884c\u5c55\u73b0\u3002',
              ),
              l.a.createElement(
                'p',
                null,
                '\u548c ',
                l.a.createElement('code', null, 'Tooltip'),
                ' \u7684\u533a\u522b\u662f\uff0c\u7528\u6237\u53ef\u4ee5\u5bf9\u6d6e\u5c42\u4e0a\u7684\u5143\u7d20\u8fdb\u884c\u64cd\u4f5c\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u627f\u8f7d\u66f4\u590d\u6742\u7684\u5185\u5bb9\uff0c\u6bd4\u5982\u94fe\u63a5\u6216\u6309\u94ae\u7b49\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(
              o['default'],
              c['default']['popover-basic'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u4e09\u79cd\u89e6\u53d1\u65b9\u5f0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4e09\u79cd\u89e6\u53d1\u65b9\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e09\u79cd\u89e6\u53d1\u65b9\u5f0f',
              ),
            ),
            l.a.createElement(
              o['default'],
              c['default']['popover-triggertype'].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(
              o['default'],
              c['default']['popover-placement'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u4ece\u6d6e\u5c42\u5185\u5173\u95ed' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ece\u6d6e\u5c42\u5185\u5173\u95ed',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ece\u6d6e\u5c42\u5185\u5173\u95ed',
              ),
            ),
            l.a.createElement(
              o['default'],
              c['default']['popover-interalclose'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u7bad\u5934\u6307\u5411' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7bad\u5934\u6307\u5411',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7bad\u5934\u6307\u5411',
              ),
            ),
            l.a.createElement(
              o['default'],
              c['default']['popover-arrow-point-at-center'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u60ac\u505c\u70b9\u51fb\u5f39\u51fa\u7a97\u53e3' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u60ac\u505c\u70b9\u51fb\u5f39\u51fa\u7a97\u53e3',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u60ac\u505c\u70b9\u51fb\u5f39\u51fa\u7a97\u53e3',
              ),
            ),
            l.a.createElement(
              o['default'],
              c['default']['popover-hover-with-click'].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('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'content'),
                    l.a.createElement('td', null, '\u5361\u7247\u5185\u5bb9'),
                    l.a.createElement(
                      'td',
                      null,
                      'ReactNode | () => ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'title'),
                    l.a.createElement('td', null, '\u5361\u7247\u6807\u9898'),
                    l.a.createElement(
                      'td',
                      null,
                      'ReactNode | () => ReactNode',
                    ),
                    l.a.createElement('td', null, '-'),
                    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, 'Popover'),
                ' \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#popover-placement .demo {\n  overflow: auto;\n}\n#popover-placement .ant-btn {\n  margin-right: 8px;\n  margin-bottom: 8px;\n}\n#popover-placement .ant-btn-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  margin-bottom: 8px;\n}\n#popover-placement .ant-btn {\n  width: 70px;\n  text-align: center;\n  padding: 0;\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
    RZMt: function (e, t, a) {},
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('k3GJ'),
        o = a('MZF8'),
        c = a('dEAq'),
        i = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return E(e) || p(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 a = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === a && e.constructor && (a = e.constructor.name),
            'Map' === a || 'Set' === a
              ? Array.from(e)
              : 'Arguments' === a ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
              ? s(e, t)
              : void 0
          );
        }
      }
      function s(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
        return n;
      }
      function p(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var n,
            l,
            r = [],
            o = !0,
            c = !1;
          try {
            for (a = a.call(e); !(o = (n = a.next()).done); o = !0)
              if ((r.push(n.value), t && r.length === t)) break;
          } catch (i) {
            (c = !0), (l = i);
          } finally {
            try {
              o || null == a['return'] || a['return']();
            } finally {
              if (c) throw l;
            }
          }
          return r;
        }
      }
      function E(e) {
        if (Array.isArray(e)) return e;
      }
      function f(e, t) {
        var a,
          n =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
      }
      var v = function (e) {
        var t,
          a,
          d,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(c['context']),
          p = s.locale,
          E = Object(c['useLocaleProps'])(p, e),
          v = Object(c['useDemoUrl'])(E.identifier),
          h = E.demoUrl || v,
          b =
            (null === o['a'] || void 0 === o['a']
              ? void 0
              : o['a'].location.hash) === '#'.concat(E.identifier),
          k = 1 === Object.keys(E.sources).length,
          w = Object(c['useCodeSandbox'])(
            (
              null === (t = E.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : E,
          ),
          _ = Object(c['useRiddle'])(
            (
              null === (a = E.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : E,
          ),
          g = Object(c['useMotions'])(E.motions || [], u.current),
          y = m(g, 2),
          N = y[0],
          x = y[1],
          A = Object(c['useCopy'])(),
          j = m(A, 2),
          O = j[0],
          I = j[1],
          L = Object(n['useState'])('_'),
          C = m(L, 2),
          S = C[0],
          P = C[1],
          R = Object(n['useState'])(f(S, E.sources[S])),
          M = m(R, 2),
          T = M[0],
          U = M[1],
          Z = Object(n['useState'])(Boolean(E.defaultShowCode)),
          F = m(Z, 2),
          J = F[0],
          q = F[1],
          D = Object(n['useState'])(Math.random()),
          $ = m(D, 2),
          B = $[0],
          H = $[1],
          G = E.sources[S][T] || E.sources[S].content,
          X = Object(c['useTSPlaygroundUrl'])(p, G),
          K = Object(n['useRef'])(),
          V = Object(c['usePrefersColor'])(),
          z = m(V, 1),
          Q = z[0];
        function W(e) {
          P(e), U(f(e, E.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              H(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: E.style,
              className: [
                E.className,
                '__dumi-default-previewer',
                b ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: E.identifier,
              'data-debug': E.debug || void 0,
              'data-iframe': E.iframe || void 0,
            },
            E.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: E.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    E.compact || (E.iframe && !1 !== E.compact) ? '0' : void 0,
                  background: E.background,
                },
              },
              E.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(E.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: B,
                    src: h,
                    ref: K,
                  })
                : E.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': E.title,
              },
              E.title &&
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#'.concat(E.identifier) },
                  E.title,
                ),
              E.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: E.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              w &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: w,
                }),
              _ &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: _,
                }),
              E.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return N();
                  },
                }),
              E.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return H(Math.random());
                  },
                }),
              !(null === (d = E.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  c['Link'],
                  { target: '_blank', to: h },
                  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': I,
                onClick: function () {
                  return O(G);
                },
              }),
              'tsx' === T &&
                J &&
                l.a.createElement(
                  c['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(
                  J ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return q(!J);
                },
              }),
            ),
            J &&
              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: S,
                      onChange: W,
                    },
                    Object.keys(E.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(f(e, E.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'] = v;
    },
  },
]);
