(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [27],
  {
    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) {},
    Tu2N: 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']['divider-horizontal'].component),
        d = l.a.memo(i['default']['divider-plain'].component),
        u = l.a.memo(i['default']['divider-vertical'].component),
        m = l.a.memo(i['default']['divider-with-text'].component),
        s = l.a.memo(i['default']['divider-customize-style'].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: 'divider-\u6309\u94ae' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#divider-\u6309\u94ae',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Divider \u6309\u94ae',
              ),
              l.a.createElement(
                'p',
                null,
                '\u533a\u9694\u5185\u5bb9\u7684\u5206\u5272\u7ebf\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(
                'ul',
                null,
                l.a.createElement(
                  'li',
                  null,
                  '\u5bf9\u4e0d\u540c\u7ae0\u8282\u7684\u6587\u672c\u6bb5\u843d\u8fdb\u884c\u5206\u5272\u3002',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u5bf9\u884c\u5185\u6587\u5b57/\u94fe\u63a5\u8fdb\u884c\u5206\u5272\uff0c\u4f8b\u5982\u8868\u683c\u7684\u64cd\u4f5c\u5217\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: '\u6c34\u5e73\u5206\u5272\u7ebf' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6c34\u5e73\u5206\u5272\u7ebf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6c34\u5e73\u5206\u5272\u7ebf',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['divider-horizontal'].previewerProps,
              l.a.createElement(o, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                {
                  id: '\u5206\u5272\u6587\u5b57\u4f7f\u7528\u6b63\u6587\u6837\u5f0f',
                },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5206\u5272\u6587\u5b57\u4f7f\u7528\u6b63\u6587\u6837\u5f0f',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5206\u5272\u6587\u5b57\u4f7f\u7528\u6b63\u6587\u6837\u5f0f',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['divider-plain'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5782\u76f4\u5206\u5272\u7ebf' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5782\u76f4\u5206\u5272\u7ebf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5782\u76f4\u5206\u5272\u7ebf',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['divider-vertical'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5e26\u6587\u5b57\u7684\u5206\u5272\u7ebf' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5e26\u6587\u5b57\u7684\u5206\u5272\u7ebf',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u6587\u5b57\u7684\u5206\u5272\u7ebf',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['divider-with-text'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u6837\u5f0f\u81ea\u5b9a\u4e49' },
                l.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6837\u5f0f\u81ea\u5b9a\u4e49',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6837\u5f0f\u81ea\u5b9a\u4e49',
              ),
            ),
            l.a.createElement(
              c['default'],
              i['default']['divider-customize-style'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: 'api' },
                l.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u53c2\u6570'),
                    l.a.createElement('th', null, '\u8bf4\u660e'),
                    l.a.createElement('th', null, '\u7c7b\u578b'),
                    l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    l.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'className'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5206\u5272\u7ebf\u6837\u5f0f\u7c7b',
                    ),
                    l.a.createElement('td', null, 'string'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'dashed'),
                    l.a.createElement('td', null, '\u662f\u5426\u865a\u7ebf'),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'orientation'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5206\u5272\u7ebf\u6807\u9898\u7684\u4f4d\u7f6e',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'left'),
                      ' | ',
                      l.a.createElement('code', null, 'right'),
                      ' | ',
                      l.a.createElement('code', null, 'center'),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'center'),
                    ),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'plain'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6587\u5b57\u662f\u5426\u663e\u793a\u4e3a\u666e\u901a\u6b63\u6587\u6837\u5f0f',
                    ),
                    l.a.createElement('td', null, 'boolean'),
                    l.a.createElement('td', null, 'false'),
                    l.a.createElement('td', null, '4.2.0'),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'style'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u5206\u5272\u7ebf\u6837\u5f0f\u5bf9\u8c61',
                    ),
                    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, 'type'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6c34\u5e73\u8fd8\u662f\u5782\u76f4\u7c7b\u578b',
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'horizontal'),
                      ' | ',
                      l.a.createElement('code', null, 'vertical'),
                    ),
                    l.a.createElement(
                      'td',
                      null,
                      l.a.createElement('code', null, 'horizontal'),
                    ),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
            ),
          ),
        )
      );
    },
    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 f(e) || E(e, t) || m(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 m(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 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,
          m = Object(n['useRef'])(),
          s = Object(n['useContext'])(i['context']),
          E = s.locale,
          f = Object(i['useLocaleProps'])(E, e),
          v = Object(i['useDemoUrl'])(f.identifier),
          h = f.demoUrl || v,
          b =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          k = 1 === Object.keys(f.sources).length,
          _ = Object(i['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          y = Object(i['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          w = Object(i['useMotions'])(f.motions || [], m.current),
          N = d(w, 2),
          g = N[0],
          x = N[1],
          A = Object(i['useCopy'])(),
          j = d(A, 2),
          O = j[0],
          C = j[1],
          S = Object(n['useState'])('_'),
          I = d(S, 2),
          L = I[0],
          P = I[1],
          R = Object(n['useState'])(p(L, f.sources[L])),
          M = d(R, 2),
          T = M[0],
          z = M[1],
          U = Object(n['useState'])(Boolean(f.defaultShowCode)),
          Z = d(U, 2),
          J = Z[0],
          q = Z[1],
          D = Object(n['useState'])(Math.random()),
          F = d(D, 2),
          $ = F[0],
          B = F[1],
          G = f.sources[L][T] || f.sources[L].content,
          H = Object(i['useTSPlaygroundUrl'])(E, G),
          X = Object(n['useRef'])(),
          K = Object(i['usePrefersColor'])(),
          V = d(K, 1),
          Q = V[0];
        function W(e) {
          P(e), z(p(e, f.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              B(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                b ? '__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: m,
                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: $,
                    src: h,
                    ref: X,
                  })
                : f.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                l.a.createElement(
                  i['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: _,
                }),
              y &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: y,
                }),
              f.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return g();
                  },
                }),
              f.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return B(Math.random());
                  },
                }),
              !(null === (u = f.hideActions) || void 0 === u
                ? void 0
                : u.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': C,
                onClick: function () {
                  return O(G);
                },
              }),
              'tsx' === T &&
                J &&
                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(
                  J ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return q(!J);
                },
              }),
            ),
            J &&
              l.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  l.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: 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(o['a'], { code: G, lang: T, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = v;
    },
  },
]);
