(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [30],
  {
    MZF8: function (e, t, a) {
      'use strict';
      var n = a('ogwx');
      a.d(t, 'a', function () {
        return n['b'];
      });
      a('VCU9');
    },
    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'),
        c = a('MZF8'),
        i = a('dEAq'),
        o = a('H1Ra');
      a('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 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 E(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var n,
            l,
            r = [],
            c = !0,
            i = !1;
          try {
            for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
              if ((r.push(n.value), t && r.length === t)) break;
          } catch (o) {
            (i = !0), (l = o);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (i) throw l;
            }
          }
          return r;
        }
      }
      function p(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 b = function (e) {
        var t,
          a,
          d,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(i['context']),
          E = s.locale,
          p = Object(i['useLocaleProps'])(E, e),
          b = Object(i['useDemoUrl'])(p.identifier),
          h = p.demoUrl || b,
          y =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          v = 1 === Object.keys(p.sources).length,
          g = Object(i['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          k = Object(i['useRiddle'])(
            (
              null === (a = p.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          _ = Object(i['useMotions'])(p.motions || [], u.current),
          A = m(_, 2),
          w = A[0],
          N = A[1],
          I = Object(i['useCopy'])(),
          x = m(I, 2),
          S = x[0],
          j = x[1],
          L = Object(n['useState'])('_'),
          O = m(L, 2),
          C = O[0],
          R = O[1],
          P = Object(n['useState'])(f(C, p.sources[C])),
          M = m(P, 2),
          T = M[0],
          U = M[1],
          D = Object(n['useState'])(Boolean(p.defaultShowCode)),
          F = m(D, 2),
          B = F[0],
          Z = F[1],
          q = Object(n['useState'])(Math.random()),
          G = m(q, 2),
          H = G[0],
          J = G[1],
          $ = p.sources[C][T] || p.sources[C].content,
          X = Object(i['useTSPlaygroundUrl'])(E, $),
          z = Object(n['useRef'])(),
          Q = Object(i['usePrefersColor'])(),
          K = m(Q, 1),
          V = K[0];
        function W(e) {
          R(e), U(f(e, p.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              J(Math.random());
            },
            [V],
          ),
          l.a.createElement(
            'div',
            {
              style: p.style,
              className: [
                p.className,
                '__dumi-default-previewer',
                y ? '__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: H,
                    src: h,
                    ref: z,
                  })
                : p.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': p.title,
              },
              p.title &&
                l.a.createElement(
                  i['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' },
              g &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: g,
                }),
              k &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: k,
                }),
              p.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: N,
                  onClick: function () {
                    return w();
                  },
                }),
              p.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return J(Math.random());
                  },
                }),
              !(null === (d = p.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  i['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': j,
                onClick: function () {
                  return S($);
                },
              }),
              'tsx' === T &&
                B &&
                l.a.createElement(
                  i['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(
                  B ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return Z(!B);
                },
              }),
            ),
            B &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !v &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: C,
                      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(o['a'], { code: $, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
    bARk: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        c = a('Zxc8'),
        i = a('H1Ra'),
        o = a('JjdP'),
        m = l.a.memo(o['default']['empty-basic'].component),
        d = l.a.memo(o['default']['empty-choice'].component),
        u = l.a.memo(o['default']['empty-custom'].component),
        s = l.a.memo(o['default']['empty-global'].component),
        E = l.a.memo(o['default']['empty-nodescription'].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: 'empty-\u7a7a\u72b6\u6001' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#empty-\u7a7a\u72b6\u6001',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Empty \u7a7a\u72b6\u6001',
              ),
              l.a.createElement(
                'p',
                null,
                '\u7a7a\u72b6\u6001\u65f6\u7684\u5c55\u793a\u5360\u4f4d\u56fe\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,
                '\u6700\u57fa\u7840\u7684\u5361\u7247\u5bb9\u5668\uff0c\u53ef\u627f\u8f7d\u6587\u5b57\u3001\u5217\u8868\u3001\u56fe\u7247\u3001\u6bb5\u843d\uff0c\u5e38\u7528\u4e8e\u540e\u53f0\u6982\u89c8\u9875\u9762\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']['empty-basic'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u9009\u62e9\u56fe\u7247' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9009\u62e9\u56fe\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9009\u62e9\u56fe\u7247',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['empty-choice'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['empty-custom'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5168\u5c40\u5316\u914d\u7f6e' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5168\u5c40\u5316\u914d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5168\u5c40\u5316\u914d\u7f6e',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['empty-global'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u65e0\u63cf\u8ff0' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u65e0\u63cf\u8ff0',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u65e0\u63cf\u8ff0',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['empty-nodescription'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528-1' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528-1',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  '\u5f53\u76ee\u524d\u6ca1\u6709\u6570\u636e\u65f6\uff0c\u7528\u4e8e\u663e\u5f0f\u7684\u7528\u6237\u63d0\u793a\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u521d\u59cb\u5316\u573a\u666f\u65f6\u7684\u5f15\u5bfc\u521b\u5efa\u6d41\u7a0b\u3002',
                ),
              ),
              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(i['a'], {
                code: '<Empty>\n  <Button>\u521b\u5efa</Button>\n</Empty>',
                lang: 'bash',
              }),
              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, 'description'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u63cf\u8ff0\u5185\u5bb9',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'image'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u663e\u793a\u56fe\u7247\uff0c\u4e3a string \u65f6\u8868\u793a\u81ea\u5b9a\u4e49\u56fe\u7247\u5730\u5740\u3002',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement(
                        'code',
                        null,
                        'Empty.PRESENTED_IMAGE_DEFAULT',
                      ),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'imageStyle'),
                    l.a.createElement('td', null, '\u56fe\u7247\u6837\u5f0f'),
                    l.a.createElement('td', null, 'CSSProperties'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h2',
                { id: '\u5185\u7f6e\u56fe\u7247' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5185\u7f6e\u56fe\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5185\u7f6e\u56fe\u7247',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('p', null, 'Empty.PRESENTED_IMAGE_SIMPLE'),
                  l.a.createElement(
                    'div',
                    {
                      className:
                        'site-empty-buildIn-img site-empty-buildIn-simple',
                    },
                    l.a.createElement('div', null),
                  ),
                ),
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement('p', null, 'Empty.PRESENTED_IMAGE_DEFAULT'),
                  l.a.createElement('div', {
                    className:
                      'site-empty-buildIn-img site-empty-buildIn-default',
                  }),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-empty-buildIn-img {\n    background-repeat: no-repeat;\n    background-size: contain;\n  }\n  .site-empty-buildIn-simple {\n    width: 55px;\n    height: 35px;\n    background-image: url("https://user-images.githubusercontent.com/507615/54591679-b0ceb580-4a65-11e9-925c-ad15b4eae93d.png");\n  }\n  .site-empty-buildIn-default {\n    width: 121px;\n    height: 116px;\n    background-image: url("https://user-images.githubusercontent.com/507615/54591670-ac0a0180-4a65-11e9-846c-e55ffce0fe7b.png");\n  }\n  [data-theme="dark"] .site-empty-buildIn-simple {\n    background-image: url("https://gw.alipayobjects.com/zos/antfincdn/ldFsHUh3Xh/ea62c5fe-07bb-4fcd-9d35-19220cef372e.png");\n  }\n  [data-theme="dark"] .site-empty-buildIn-default {\n    background-image: url("https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*gfq-SoT3wF0AAAAAAAAAAABkARQnAQ");\n  }\n',
                },
              }),
            ),
          ),
        )
      );
    },
  },
]);
