(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [56],
  {
    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 d(e, t) {
        return p(e) || E(e, t) || u(e, t) || m();
      }
      function m() {
        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,
          m,
          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,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(p.identifier),
          k = 1 === Object.keys(p.sources).length,
          _ = Object(i['useCodeSandbox'])(
            (
              null === (t = p.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : p,
          ),
          w = Object(i['useRiddle'])(
            (
              null === (a = p.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : p,
          ),
          y = Object(i['useMotions'])(p.motions || [], u.current),
          N = d(y, 2),
          g = N[0],
          x = N[1],
          A = Object(i['useCopy'])(),
          j = d(A, 2),
          I = j[0],
          O = j[1],
          C = Object(n['useState'])('_'),
          S = d(C, 2),
          L = S[0],
          P = S[1],
          R = Object(n['useState'])(f(L, p.sources[L])),
          M = d(R, 2),
          T = M[0],
          U = M[1],
          Z = Object(n['useState'])(Boolean(p.defaultShowCode)),
          J = d(Z, 2),
          q = J[0],
          D = J[1],
          F = Object(n['useState'])(Math.random()),
          $ = d(F, 2),
          z = $[0],
          B = $[1],
          G = p.sources[L][T] || p.sources[L].content,
          H = Object(i['useTSPlaygroundUrl'])(E, G),
          V = Object(n['useRef'])(),
          X = Object(i['usePrefersColor'])(),
          K = d(X, 1),
          Q = K[0];
        function W(e) {
          P(e), U(f(e, p.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              B(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: z,
                    src: h,
                    ref: V,
                  })
                : 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' },
              _ &&
                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: w,
                }),
              p.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return g();
                  },
                }),
              p.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return B(Math.random());
                  },
                }),
              !(null === (m = p.hideActions) || void 0 === m
                ? void 0
                : m.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': O,
                onClick: function () {
                  return I(G);
                },
              }),
              'tsx' === T &&
                q &&
                l.a.createElement(
                  i['Link'],
                  { target: '_blank', to: H },
                  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(
                  q ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return D(!q);
                },
              }),
            ),
            q &&
              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: L,
                      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: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
    erAV: 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('JjdP'),
        o = l.a.memo(i['default']['spin-basic'].component),
        d = l.a.memo(i['default']['spin-size'].component),
        m = l.a.memo(i['default']['spin-inside'].component),
        u = l.a.memo(i['default']['spin-tip'].component),
        s = l.a.memo(i['default']['spin-nested'].component),
        E = l.a.memo(i['default']['spin-delayanddebounce'].component),
        p = l.a.memo(i['default']['spin-custom-indicator'].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: 'spin-\u52a0\u8f7d\u4e2d' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#spin-\u52a0\u8f7d\u4e2d',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Spin \u52a0\u8f7d\u4e2d',
              ),
              l.a.createElement(
                'p',
                null,
                '\u7528\u4e8e\u9875\u9762\u548c\u533a\u5757\u7684\u52a0\u8f7d\u4e2d\u72b6\u6001\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,
                '\u9875\u9762\u5c40\u90e8\u5904\u4e8e\u7b49\u5f85\u5f02\u6b65\u6570\u636e\u6216\u6b63\u5728\u6e32\u67d3\u8fc7\u7a0b\u65f6\uff0c\u5408\u9002\u7684\u52a0\u8f7d\u52a8\u6548\u4f1a\u6709\u6548\u7f13\u89e3\u7528\u6237\u7684\u7126\u8651\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\u7528\u6cd5' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u57fa\u672c\u7528\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c\u7528\u6cd5',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-basic'].previewerProps,
              l.a.createElement(o, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5404\u79cd\u5927\u5c0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5404\u79cd\u5927\u5c0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5404\u79cd\u5927\u5c0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-size'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5bb9\u5668' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u5bb9\u5668', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5bb9\u5668',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-inside'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u63cf\u8ff0\u6587\u6848' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u63cf\u8ff0\u6587\u6848',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u63cf\u8ff0\u6587\u6848',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-tip'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5361\u7247\u52a0\u8f7d\u4e2d' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5361\u7247\u52a0\u8f7d\u4e2d',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5361\u7247\u52a0\u8f7d\u4e2d',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-nested'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5ef6\u8fdf' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u5ef6\u8fdf', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5ef6\u8fdf',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-delayanddebounce'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u5b9a\u4e49\u6307\u793a\u7b26' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u5b9a\u4e49\u6307\u793a\u7b26',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u5b9a\u4e49\u6307\u793a\u7b26',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['spin-custom-indicator'].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, 'delay'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5ef6\u8fdf\u663e\u793a\u52a0\u8f7d\u6548\u679c\u7684\u65f6\u95f4\uff08\u9632\u6b62\u95ea\u70c1\uff09',
                    ),
                    l.a.createElement('td', null, 'number (\u6beb\u79d2)'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'indicator'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u52a0\u8f7d\u6307\u793a\u7b26',
                    ),
                    l.a.createElement('td', null, 'ReactNode'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'size'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u7ec4\u4ef6\u5927\u5c0f\uff0c\u53ef\u9009\u503c\u4e3a ',
                      l.a.createElement('code', null, 'small'),
                      ' ',
                      l.a.createElement('code', null, 'default'),
                      ' ',
                      l.a.createElement('code', null, 'large'),
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'default'),
                    ),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'spinning'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u4e3a\u52a0\u8f7d\u4e2d\u72b6\u6001',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'true'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'tip'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5f53\u4f5c\u4e3a\u5305\u88f9\u5143\u7d20\u65f6\uff0c\u53ef\u4ee5\u81ea\u5b9a\u4e49\u63cf\u8ff0\u6587\u6848',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement('td', null, '-'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'wrapperClassName'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5305\u88c5\u5668\u7684\u7c7b\u5c5e\u6027',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement('td', null, '-'),
                  ),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: '\u9759\u6001\u65b9\u6cd5' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9759\u6001\u65b9\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9759\u6001\u65b9\u6cd5',
              ),
              l.a.createElement(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  l.a.createElement(
                    'p',
                    null,
                    l.a.createElement(
                      'code',
                      null,
                      'Spin.setDefaultIndicator(indicator: ReactNode)',
                    ),
                  ),
                  l.a.createElement(
                    'p',
                    null,
                    '\u4f60\u53ef\u4ee5\u81ea\u5b9a\u4e49\u5168\u5c40\u9ed8\u8ba4 Spin \u7684\u5143\u7d20\u3002',
                  ),
                ),
              ),
            ),
          ),
        )
      );
    },
  },
]);
