(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [57],
  {
    MZF8: function (e, t, a) {
      'use strict';
      var l = a('ogwx');
      a.d(t, 'a', function () {
        return l['b'];
      });
      a('VCU9');
    },
    RZMt: function (e, t, a) {},
    WPI9: function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('dEAq'),
        c = a('Zxc8'),
        u = a('JjdP'),
        m = n.a.memo(u['default']['statistic-basic'].component),
        i = n.a.memo(u['default']['statistic-company'].component),
        d = n.a.memo(u['default']['statistic-incard'].component),
        o = n.a.memo(u['default']['statistic-countdown'].component);
      t['default'] = (e) => (
        n.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            r['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        n.a.createElement(
          n.a.Fragment,
          null,
          n.a.createElement(
            n.a.Fragment,
            null,
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h1',
                { id: 'statistic-\u7edf\u8ba1\u6570\u503c' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#statistic-\u7edf\u8ba1\u6570\u503c',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Statistic \u7edf\u8ba1\u6570\u503c',
              ),
              n.a.createElement(
                'p',
                null,
                '\u5c55\u793a\u7edf\u8ba1\u6570\u503c\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              n.a.createElement(
                'ul',
                null,
                n.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u7a81\u51fa\u67d0\u4e2a\u6216\u67d0\u7ec4\u6570\u5b57\u65f6\u3002',
                ),
                n.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u5c55\u793a\u5e26\u63cf\u8ff0\u7684\u7edf\u8ba1\u7c7b\u6570\u636e\u65f6\u4f7f\u7528\u3002',
                ),
              ),
              n.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            n.a.createElement(
              c['default'],
              u['default']['statistic-basic'].previewerProps,
              n.a.createElement(m, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5355\u4f4d' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u5355\u4f4d', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5355\u4f4d',
              ),
            ),
            n.a.createElement(
              c['default'],
              u['default']['statistic-company'].previewerProps,
              n.a.createElement(i, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5728\u5361\u7247\u4e2d\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5728\u5361\u7247\u4e2d\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5728\u5361\u7247\u4e2d\u4f7f\u7528',
              ),
            ),
            n.a.createElement(
              c['default'],
              u['default']['statistic-incard'].previewerProps,
              n.a.createElement(d, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5012\u8ba1\u65f6' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5012\u8ba1\u65f6',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5012\u8ba1\u65f6',
              ),
            ),
            n.a.createElement(
              c['default'],
              u['default']['statistic-countdown'].previewerProps,
              n.a.createElement(o, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h2',
                { id: 'api' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              n.a.createElement(
                'h4',
                { id: 'statistic' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#statistic', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Statistic',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'decimalSeparator'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u5c0f\u6570\u70b9',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, '.'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'formatter'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6570\u503c\u5c55\u793a',
                    ),
                    n.a.createElement('td', null, '(value) => ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'groupSeparator'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u5343\u5206\u4f4d\u6807\u8bc6\u7b26',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, ','),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'loading'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6570\u503c\u662f\u5426\u52a0\u8f7d\u4e2d',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null, '4.8.0'),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'precision'),
                    n.a.createElement('td', null, '\u6570\u503c\u7cbe\u5ea6'),
                    n.a.createElement('td', null, 'number'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'prefix'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u524d\u7f00',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'suffix'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u540e\u7f00',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6570\u503c\u7684\u6807\u9898',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'value'),
                    n.a.createElement('td', null, '\u6570\u503c\u5185\u5bb9'),
                    n.a.createElement('td', null, 'string | number'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'valueStyle'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h4',
                { id: 'statisticcountdown' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#statisticcountdown',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Statistic.Countdown',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'format'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u683c\u5f0f\u5316\u5012\u8ba1\u65f6\u5c55\u793a\uff0c\u53c2\u8003 ',
                      n.a.createElement(
                        r['Link'],
                        { to: 'http://momentjs.com/' },
                        'moment',
                      ),
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'HH:mm:ss'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'prefix'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u524d\u7f00',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'suffix'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u540e\u7f00',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u6570\u503c\u7684\u6807\u9898',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'value'),
                    n.a.createElement('td', null, '\u6570\u503c\u5185\u5bb9'),
                    n.a.createElement('td', null, 'number | moment'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'valueStyle'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u6570\u503c\u7684\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onFinish'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5012\u8ba1\u65f6\u5b8c\u6210\u65f6\u89e6\u53d1',
                    ),
                    n.a.createElement('td', null, '() => void'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onChange'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5012\u8ba1\u65f6\u65f6\u95f4\u53d8\u5316\u65f6\u89e6\u53d1',
                    ),
                    n.a.createElement('td', null, '(value: number) => void'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '4.16.0'),
                  ),
                ),
              ),
              n.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-statistic-demo-card {\n    padding: 30px;\n    background: #ececec;\n  }\n',
                },
              }),
            ),
          ),
        )
      );
    },
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('k3GJ'),
        c = a('MZF8'),
        u = a('dEAq'),
        m = a('H1Ra');
      a('RZMt');
      function i(e, t) {
        return f(e) || E(e, t) || o(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 o(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, l = new Array(t); a < t; a++) l[a] = e[a];
        return l;
      }
      function E(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var l,
            n,
            r = [],
            c = !0,
            u = !1;
          try {
            for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
              if ((r.push(l.value), t && r.length === t)) break;
          } catch (m) {
            (u = !0), (n = m);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (u) throw n;
            }
          }
          return r;
        }
      }
      function f(e) {
        if (Array.isArray(e)) return e;
      }
      function p(e, t) {
        var a,
          l =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
      }
      var b = function (e) {
        var t,
          a,
          d,
          o = Object(l['useRef'])(),
          s = Object(l['useContext'])(u['context']),
          E = s.locale,
          f = Object(u['useLocaleProps'])(E, e),
          b = Object(u['useDemoUrl'])(f.identifier),
          h = f.demoUrl || b,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          k = 1 === Object.keys(f.sources).length,
          _ = Object(u['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          y = Object(u['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          w = Object(u['useMotions'])(f.motions || [], o.current),
          g = i(w, 2),
          N = g[0],
          x = g[1],
          S = Object(u['useCopy'])(),
          A = i(S, 2),
          j = A[0],
          C = A[1],
          O = Object(l['useState'])('_'),
          I = i(O, 2),
          L = I[0],
          R = I[1],
          P = Object(l['useState'])(p(L, f.sources[L])),
          M = i(P, 2),
          T = M[0],
          U = M[1],
          Z = Object(l['useState'])(Boolean(f.defaultShowCode)),
          F = i(Z, 2),
          H = F[0],
          J = F[1],
          q = Object(l['useState'])(Math.random()),
          $ = i(q, 2),
          B = $[0],
          D = $[1],
          G = f.sources[L][T] || f.sources[L].content,
          X = Object(u['useTSPlaygroundUrl'])(E, G),
          K = Object(l['useRef'])(),
          V = Object(u['usePrefersColor'])(),
          W = i(V, 1),
          z = W[0];
        function Q(e) {
          R(e), U(p(e, f.sources[e]));
        }
        return (
          Object(l['useEffect'])(
            function () {
              D(Math.random());
            },
            [z],
          ),
          n.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              n.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            n.a.createElement(
              'div',
              {
                ref: o,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: f.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
                  background: f.background,
                },
              },
              f.iframe
                ? n.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: B,
                    src: h,
                    ref: K,
                  })
                : f.children,
            ),
            n.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                n.a.createElement(
                  u['AnchorLink'],
                  { to: '#'.concat(f.identifier) },
                  f.title,
                ),
              f.description &&
                n.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: f.description },
                }),
            ),
            n.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              _ &&
                n.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: _,
                }),
              y &&
                n.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: y,
                }),
              f.motions &&
                n.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return N();
                  },
                }),
              f.iframe &&
                n.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return D(Math.random());
                  },
                }),
              !(null === (d = f.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                n.a.createElement(
                  u['Link'],
                  { target: '_blank', to: h },
                  n.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              n.a.createElement('span', null),
              n.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': C,
                onClick: function () {
                  return j(G);
                },
              }),
              'tsx' === T &&
                H &&
                n.a.createElement(
                  u['Link'],
                  { target: '_blank', to: X },
                  n.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              n.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  H ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return J(!H);
                },
              }),
            ),
            H &&
              n.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  n.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: L,
                      onChange: Q,
                    },
                    Object.keys(f.sources).map(function (e) {
                      return n.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                n.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  n.a.createElement(m['a'], { code: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
