(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [12],
  {
    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'),
        o = a('dEAq'),
        i = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return f(e) || E(e, t) || d(e, t) || u();
      }
      function u() {
        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 d(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,
            o = !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 (i) {
            (o = !0), (l = i);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (o) throw l;
            }
          }
          return r;
        }
      }
      function f(e) {
        if (Array.isArray(e)) return e;
      }
      function p(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,
          u,
          d = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          f = Object(o['useLocaleProps'])(E, e),
          v = Object(o['useDemoUrl'])(f.identifier),
          b = f.demoUrl || v,
          h =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          g = 1 === Object.keys(f.sources).length,
          _ = Object(o['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          k = Object(o['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          w = Object(o['useMotions'])(f.motions || [], d.current),
          y = m(w, 2),
          x = y[0],
          N = y[1],
          A = Object(o['useCopy'])(),
          j = m(A, 2),
          O = j[0],
          S = j[1],
          C = Object(n['useState'])('_'),
          I = m(C, 2),
          L = I[0],
          P = I[1],
          R = Object(n['useState'])(p(L, f.sources[L])),
          M = m(R, 2),
          T = M[0],
          q = M[1],
          U = Object(n['useState'])(Boolean(f.defaultShowCode)),
          Z = m(U, 2),
          J = Z[0],
          F = Z[1],
          G = Object(n['useState'])(Math.random()),
          $ = m(G, 2),
          B = $[0],
          D = $[1],
          H = f.sources[L][T] || f.sources[L].content,
          X = Object(o['useTSPlaygroundUrl'])(E, H),
          z = Object(n['useRef'])(),
          K = Object(o['usePrefersColor'])(),
          V = m(K, 1),
          Q = V[0];
        function W(e) {
          P(e), q(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              D(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                h ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: d,
                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
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: B,
                    src: b,
                    ref: z,
                  })
                : f.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                l.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(f.identifier) },
                  f.title,
                ),
              f.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: f.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: _,
                }),
              k &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: k,
                }),
              f.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: N,
                  onClick: function () {
                    return x();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return D(Math.random());
                  },
                }),
              !(null === (u = f.hideActions) || void 0 === u
                ? void 0
                : u.includes('EXTERNAL')) &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: b },
                  l.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              l.a.createElement('span', null),
              l.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': S,
                onClick: function () {
                  return O(H);
                },
              }),
              'tsx' === T &&
                J &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: X },
                  l.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              l.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  J ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return F(!J);
                },
              }),
            ),
            J &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !g &&
                  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(f.sources).map(function (e) {
                      return l.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                l.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  l.a.createElement(i['a'], { code: H, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = v;
    },
    cnrX: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        r = a('dEAq'),
        c = a('Zxc8'),
        o = a('JjdP'),
        i = l.a.memo(o['default']['avatar-basic'].component),
        m = l.a.memo(o['default']['avatar-type'].component),
        u = l.a.memo(o['default']['avatar-dynamic'].component),
        d = l.a.memo(o['default']['avatar-badge'].component),
        s = l.a.memo(o['default']['avatar-responsive'].component),
        E = l.a.memo(o['default']['avatar-group'].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: 'avatar-\u5934\u50cf' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#avatar-\u5934\u50cf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Avatar \u5934\u50cf',
              ),
              l.a.createElement(
                'p',
                null,
                '\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\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']['avatar-basic'].previewerProps,
              l.a.createElement(i, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u7c7b\u578b' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#\u7c7b\u578b', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7c7b\u578b',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['avatar-type'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['avatar-dynamic'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5e26\u5fbd\u6807\u7684\u5934\u50cf' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['avatar-badge'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u54cd\u5e94\u5f0f\u5c3a\u5bf8' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['avatar-responsive'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: 'avatargroup' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#avatargroup', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Avatar.Group',
              ),
            ),
            l.a.createElement(
              c['default'],
              o['default']['avatar-group'].previewerProps,
              l.a.createElement(E, 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(
                'p',
                null,
                '| \u53c2\u6570      | \u8bf4\u660e                                                          | \u7c7b\u578b                                                                        | \u9ed8\u8ba4\u503c    | \u7248\u672c             | | --------- | ------------------------------------------------------------- | --------------------------------------------------------------------------- | --------- | ---------------- | --- | --- | --- | | alt       | \u56fe\u50cf\u65e0\u6cd5\u663e\u793a\u65f6\u7684\u66ff\u4ee3\u6587\u672c                                      | string                                                                      | -         |                  | | gap       | \u5b57\u7b26\u7c7b\u578b\u8ddd\u79bb\u5de6\u53f3\u4e24\u4fa7\u8fb9\u754c\u5355\u4f4d\u50cf\u7d20                              | number                                                                      | 4         | 4.3.0            | | icon      | \u8bbe\u7f6e\u5934\u50cf\u7684\u81ea\u5b9a\u4e49\u56fe\u6807                                          | ReactNode                                                                   | -         |                  | | shape     | \u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6                                                | ',
                l.a.createElement('code', null, 'circle'),
                ' | ',
                l.a.createElement('code', null, 'square'),
                '                                                        | ',
                l.a.createElement('code', null, 'circle'),
                '  |                  | | size      | \u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f                                                | number | ',
                l.a.createElement('code', null, 'large'),
                ' | ',
                l.a.createElement('code', null, 'small'),
                ' | ',
                l.a.createElement('code', null, 'default'),
                ' | ',
                '{',
                ' xs: number, sm: number, ...',
                '}',
                ' | ',
                l.a.createElement('code', null, 'default'),
                ' | 4.7.0            | | src       | \u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740\u6216\u8005\u56fe\u7247\u5143\u7d20                              | string | ReactNode                                                         | -         | ReactNode: 4.8.0 | | srcSet    | \u8bbe\u7f6e\u56fe\u7247\u7c7b\u5934\u50cf\u54cd\u5e94\u5f0f\u8d44\u6e90\u5730\u5740                                  | string                                                                      | -         |                  | | draggable | \u56fe\u7247\u662f\u5426\u5141\u8bb8\u62d6\u52a8                                              | boolean | ',
                l.a.createElement('code', null, "'true'"),
                ' | ',
                l.a.createElement('code', null, "'false'"),
                '                                            | -         |                  | | onError   | \u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a | () => boolean                                                               | -         |                  |     | -   |     |',
              ),
              l.a.createElement(
                'blockquote',
                null,
                l.a.createElement(
                  'p',
                  null,
                  'Tip\uff1a\u4f60\u53ef\u4ee5\u8bbe\u7f6e ',
                  l.a.createElement('code', null, 'icon'),
                  ' \u6216 ',
                  l.a.createElement('code', null, 'children'),
                  ' \u4f5c\u4e3a\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u9ed8\u8ba4 fallback \u884c\u4e3a\uff0c\u4f18\u5148\u7ea7\u4e3a ',
                  l.a.createElement('code', null, 'icon'),
                  ' > ',
                  l.a.createElement('code', null, 'children'),
                ),
              ),
              l.a.createElement(
                'h3',
                { id: 'avatargroup-450' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#avatargroup-450',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Avatar.Group (4.5.0+)',
              ),
              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, 'maxCount'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u663e\u793a\u7684\u6700\u5927\u5934\u50cf\u4e2a\u6570',
                    ),
                    l.a.createElement('td', null, 'number'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'maxPopoverPlacement'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u591a\u4f59\u5934\u50cf\u6c14\u6ce1\u5f39\u51fa\u4f4d\u7f6e',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'top'),
                      ' | ',
                      l.a.createElement('code', null, 'bottom'),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'top'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'maxStyle'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u591a\u4f59\u5934\u50cf\u6837\u5f0f',
                    ),
                    l.a.createElement('td', null, 'CSSProperties'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'size'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      'number | ',
                      l.a.createElement('code', null, 'large'),
                      ' | ',
                      l.a.createElement('code', null, 'small'),
                      ' | ',
                      l.a.createElement('code', null, 'default'),
                      ' | ',
                      '{',
                      ' xs: number, sm: number, ...',
                      '}',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'default'),
                    ),
                    l.a.createElement('td', null, '4.8.0'),
                  ),
                ),
              ),
              l.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n[class^="__dumi-default-previewer"] .ant-avatar {\n  margin-top: 16px;\n  margin-right: 16px;\n}\n[class^="__dumi-default-previewer"] .ant-badge {\n  margin-right: 0;\n  margin-left: 16px;\n}\n\n[class^="__dumi-default-previewer"] .ant-badge>.ant-avatar {\n  margin-top: 0;\n  margin-right: 0;\n}\n\n/* .ant-row-rtl [class^="__dumi-default-previewer"] .ant-badge .ant-avatar {\n  margin-right: 0;\n  margin-left: 16px;\n} */\n',
                },
              }),
            ),
          ),
        )
      );
    },
  },
]);
