(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [15],
  {
    J76U: function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        r = a.n(n),
        l = a('dEAq'),
        c = a('Zxc8'),
        o = a('H1Ra'),
        m = a('JjdP'),
        u = r.a.memo(m['default']['breadcrumb-basic'].component),
        i = r.a.memo(m['default']['breadcrumb-withicon'].component),
        d = r.a.memo(m['default']['breadcrumb-router-4'].component),
        s = r.a.memo(m['default']['breadcrumb-separator'].component),
        E = r.a.memo(m['default']['breadcrumb-overlay'].component),
        b = r.a.memo(m['default']['breadcrumb-separator-component'].component);
      t['default'] = (e) => (
        r.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            l['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        r.a.createElement(
          r.a.Fragment,
          null,
          r.a.createElement(
            r.a.Fragment,
            null,
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h1',
                { id: 'breadcrumb-\u9762\u5305\u5c51' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#breadcrumb-\u9762\u5305\u5c51',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Breadcrumb \u9762\u5305\u5c51',
              ),
              r.a.createElement(
                'p',
                null,
                '\u663e\u793a\u5f53\u524d\u9875\u9762\u5728\u7cfb\u7edf\u5c42\u7ea7\u7ed3\u6784\u4e2d\u7684\u4f4d\u7f6e\uff0c\u5e76\u80fd\u5411\u4e0a\u8fd4\u56de\u3002',
              ),
              r.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              r.a.createElement(
                'ul',
                null,
                r.a.createElement(
                  'li',
                  null,
                  '\u5f53\u7cfb\u7edf\u62e5\u6709\u8d85\u8fc7\u4e24\u7ea7\u4ee5\u4e0a\u7684\u5c42\u7ea7\u7ed3\u6784\u65f6\uff1b',
                ),
                r.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u544a\u77e5\u7528\u6237\u300e\u4f60\u5728\u54ea\u91cc\u300f\u65f6\uff1b',
                ),
                r.a.createElement(
                  'li',
                  null,
                  '\u5f53\u9700\u8981\u5411\u4e0a\u5bfc\u822a\u7684\u529f\u80fd\u65f6\u3002',
                ),
              ),
              r.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              r.a.createElement(
                'h3',
                { id: '\u57fa\u672c' },
                r.a.createElement(
                  l['AnchorLink'],
                  { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-basic'].previewerProps,
              r.a.createElement(u, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h3',
                { id: '\u5e26\u6709\u56fe\u6807\u7684' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u5e26\u6709\u56fe\u6807\u7684',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u6709\u56fe\u6807\u7684',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-withicon'].previewerProps,
              r.a.createElement(i, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h3',
                { id: '\u5176\u5b83\u8def\u7531' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u5176\u5b83\u8def\u7531',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5176\u5b83\u8def\u7531',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-router-4'].previewerProps,
              r.a.createElement(d, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h3',
                { id: '\u5206\u9694\u7b26' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u5206\u9694\u7b26',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5206\u9694\u7b26',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-separator'].previewerProps,
              r.a.createElement(s, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h3',
                {
                  id: '\u5e26\u4e0b\u62c9\u83dc\u5355\u7684\u9762\u5305\u5c51',
                },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u5e26\u4e0b\u62c9\u83dc\u5355\u7684\u9762\u5305\u5c51',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u4e0b\u62c9\u83dc\u5355\u7684\u9762\u5305\u5c51',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-overlay'].previewerProps,
              r.a.createElement(E, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h3',
                { id: '\u5206\u9694\u7b26-1' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u5206\u9694\u7b26-1',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5206\u9694\u7b26',
              ),
            ),
            r.a.createElement(
              c['default'],
              m['default']['breadcrumb-separator-component'].previewerProps,
              r.a.createElement(b, null),
            ),
            r.a.createElement(
              'div',
              { className: 'markdown' },
              r.a.createElement(
                'h2',
                { id: 'api' },
                r.a.createElement(
                  l['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              r.a.createElement(
                'h3',
                { id: 'breadcrumb' },
                r.a.createElement(
                  l['AnchorLink'],
                  { to: '#breadcrumb', 'aria-hidden': 'true', tabIndex: -1 },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Breadcrumb',
              ),
              r.a.createElement(
                'table',
                null,
                r.a.createElement(
                  'thead',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('th', null, '\u53c2\u6570'),
                    r.a.createElement('th', null, '\u8bf4\u660e'),
                    r.a.createElement('th', null, '\u7c7b\u578b'),
                    r.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    r.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                r.a.createElement(
                  'tbody',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'itemRender'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u94fe\u63a5\u51fd\u6570\uff0c\u548c react-router \u914d\u7f6e\u4f7f\u7528',
                    ),
                    r.a.createElement(
                      'td',
                      null,
                      '(route, params, routes, paths) => ReactNode',
                    ),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'params'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u8def\u7531\u7684\u53c2\u6570',
                    ),
                    r.a.createElement('td', null, 'object'),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'routes'),
                    r.a.createElement(
                      'td',
                      null,
                      'router \u7684\u8def\u7531\u6808\u4fe1\u606f',
                    ),
                    r.a.createElement(
                      'td',
                      null,
                      r.a.createElement(
                        l['AnchorLink'],
                        { to: '#routes' },
                        'routes[]',
                      ),
                    ),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'separator'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u5206\u9694\u7b26\u81ea\u5b9a\u4e49',
                    ),
                    r.a.createElement('td', null, 'ReactNode'),
                    r.a.createElement(
                      'td',
                      null,
                      r.a.createElement('code', null, '/'),
                    ),
                    r.a.createElement('td', null),
                  ),
                ),
              ),
              r.a.createElement(
                'h3',
                { id: 'breadcrumbitem' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#breadcrumbitem',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Breadcrumb.Item',
              ),
              r.a.createElement(
                'table',
                null,
                r.a.createElement(
                  'thead',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('th', null, '\u53c2\u6570'),
                    r.a.createElement('th', null, '\u8bf4\u660e'),
                    r.a.createElement('th', null, '\u7c7b\u578b'),
                    r.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    r.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                r.a.createElement(
                  'tbody',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'className'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u7c7b\u540d',
                    ),
                    r.a.createElement('td', null, 'string'),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'dropdownProps'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u5f39\u51fa\u4e0b\u62c9\u83dc\u5355\u7684\u81ea\u5b9a\u4e49\u914d\u7f6e',
                    ),
                    r.a.createElement(
                      'td',
                      null,
                      r.a.createElement(
                        l['Link'],
                        { to: '/components/dropdown' },
                        'Dropdown',
                      ),
                    ),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'href'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u94fe\u63a5\u7684\u76ee\u7684\u5730',
                    ),
                    r.a.createElement('td', null, 'string'),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'overlay'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u4e0b\u62c9\u83dc\u5355\u7684\u5185\u5bb9',
                    ),
                    r.a.createElement(
                      'td',
                      null,
                      r.a.createElement(
                        l['Link'],
                        { to: '/components/menu' },
                        'Menu',
                      ),
                      ' | () => Menu',
                    ),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'onClick'),
                    r.a.createElement('td', null, '\u5355\u51fb\u4e8b\u4ef6'),
                    r.a.createElement('td', null, '(e:MouseEvent) => void'),
                    r.a.createElement('td', null, '-'),
                    r.a.createElement('td', null),
                  ),
                ),
              ),
              r.a.createElement(
                'h3',
                { id: 'breadcrumbseparator' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#breadcrumbseparator',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Breadcrumb.Separator',
              ),
              r.a.createElement(
                'table',
                null,
                r.a.createElement(
                  'thead',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('th', null, '\u53c2\u6570'),
                    r.a.createElement('th', null, '\u8bf4\u660e'),
                    r.a.createElement('th', null, '\u7c7b\u578b'),
                    r.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    r.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                r.a.createElement(
                  'tbody',
                  null,
                  r.a.createElement(
                    'tr',
                    null,
                    r.a.createElement('td', null, 'children'),
                    r.a.createElement(
                      'td',
                      null,
                      '\u8981\u663e\u793a\u7684\u5206\u9694\u7b26',
                    ),
                    r.a.createElement('td', null, 'ReactNode'),
                    r.a.createElement(
                      'td',
                      null,
                      r.a.createElement('code', null, '/'),
                    ),
                    r.a.createElement('td', null),
                  ),
                ),
              ),
              r.a.createElement(
                'blockquote',
                null,
                r.a.createElement(
                  'p',
                  null,
                  '\u6ce8\u610f\uff1a\u5728\u4f7f\u7528 ',
                  r.a.createElement('code', null, 'Breadcrumb.Separator'),
                  ' \u65f6\uff0c\u5176\u7236\u7ec4\u4ef6\u7684\u5206\u9694\u7b26\u5fc5\u987b\u8bbe\u7f6e\u4e3a ',
                  r.a.createElement('code', null, 'separator=""'),
                  '\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u7236\u7ec4\u4ef6\u9ed8\u8ba4\u7684\u5206\u9694\u7b26\u3002',
                ),
              ),
              r.a.createElement(
                'h3',
                { id: 'routes' },
                r.a.createElement(
                  l['AnchorLink'],
                  { to: '#routes', 'aria-hidden': 'true', tabIndex: -1 },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'routes',
              ),
              r.a.createElement(o['a'], {
                code: 'interface Route {\n  path: string;\n  breadcrumbName: string;\n  children: Array<{\n    path: string;\n    breadcrumbName: string;\n  }>;\n}',
                lang: 'bash',
              }),
              r.a.createElement(
                'h3',
                { id: '\u548c-browserhistory-\u914d\u5408' },
                r.a.createElement(
                  l['AnchorLink'],
                  {
                    to: '#\u548c-browserhistory-\u914d\u5408',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  r.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u548c browserHistory \u914d\u5408',
              ),
              r.a.createElement(
                'p',
                null,
                '\u548c react-router \u4e00\u8d77\u4f7f\u7528\u65f6\uff0c\u9ed8\u8ba4\u751f\u6210\u7684 url \u8def\u5f84\u662f\u5e26\u6709 ',
                r.a.createElement('code', null, '#'),
                ' \u7684\uff0c\u5982\u679c\u548c browserHistory \u4e00\u8d77\u4f7f\u7528\u7684\u8bdd\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528 ',
                r.a.createElement('code', null, 'itemRender'),
                ' \u5c5e\u6027\u5b9a\u4e49\u9762\u5305\u5c51\u94fe\u63a5\u3002',
              ),
              r.a.createElement(o['a'], {
                code: "import { Link } from 'react-router';\n\nconst routes = [\n  {\n    path: 'index',\n    breadcrumbName: 'home',\n  },\n  {\n    path: 'first',\n    breadcrumbName: 'first',\n    children: [\n      {\n        path: '/general',\n        breadcrumbName: 'General',\n      },\n      {\n        path: '/layout',\n        breadcrumbName: 'Layout',\n      },\n      {\n        path: '/navigation',\n        breadcrumbName: 'Navigation',\n      },\n    ],\n  },\n  {\n    path: 'second',\n    breadcrumbName: 'second',\n  },\n];\n\nfunction itemRender(route, params, routes, paths) {\n  const last = routes.indexOf(route) === routes.length - 1;\n  return last ? (\n    <span>{route.breadcrumbName}</span>\n  ) : (\n    <Link to={paths.join('/')}>{route.breadcrumbName}</Link>\n  );\n}\n\nreturn <Breadcrumb itemRender={itemRender} routes={routes} />;",
                lang: 'bash',
              }),
              r.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n   [data-theme="dark"] .demo-nav {\n    background: #141414;\n  }\n  .demo {\n  margin: 16px;\n}\n.demo-nav {\n  height: 30px;\n  margin-bottom: 16px;\n  line-height: 30px;\n  background: #f8f8f8;\n}\n.demo-nav a {\n  padding: 0 8px;\n  line-height: 30px;\n}\n.app-list {\n  margin-top: 16px;\n}\n',
                },
              }),
            ),
          ),
        )
      );
    },
    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'),
        r = a.n(n),
        l = a('k3GJ'),
        c = a('MZF8'),
        o = a('dEAq'),
        m = a('H1Ra');
      a('RZMt');
      function u(e, t) {
        return b(e) || E(e, t) || d(e, t) || i();
      }
      function i() {
        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,
            r,
            l = [],
            c = !0,
            o = !1;
          try {
            for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
              if ((l.push(n.value), t && l.length === t)) break;
          } catch (m) {
            (o = !0), (r = m);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (o) throw r;
            }
          }
          return l;
        }
      }
      function b(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 h = function (e) {
        var t,
          a,
          i,
          d = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          b = Object(o['useLocaleProps'])(E, e),
          h = Object(o['useDemoUrl'])(b.identifier),
          f = b.demoUrl || h,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(b.identifier),
          k = 1 === Object.keys(b.sources).length,
          N = Object(o['useCodeSandbox'])(
            (
              null === (t = b.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : b,
          ),
          y = Object(o['useRiddle'])(
            (
              null === (a = b.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : b,
          ),
          g = Object(o['useMotions'])(b.motions || [], d.current),
          w = u(g, 2),
          _ = w[0],
          x = w[1],
          A = Object(o['useCopy'])(),
          L = u(A, 2),
          I = L[0],
          j = L[1],
          O = Object(n['useState'])('_'),
          C = u(O, 2),
          R = C[0],
          S = C[1],
          M = Object(n['useState'])(p(R, b.sources[R])),
          P = u(M, 2),
          B = P[0],
          T = P[1],
          U = Object(n['useState'])(Boolean(b.defaultShowCode)),
          H = u(U, 2),
          J = H[0],
          Z = H[1],
          q = Object(n['useState'])(Math.random()),
          D = u(q, 2),
          F = D[0],
          $ = D[1],
          G = b.sources[R][B] || b.sources[R].content,
          X = Object(o['useTSPlaygroundUrl'])(E, G),
          K = Object(n['useRef'])(),
          V = Object(o['usePrefersColor'])(),
          z = u(V, 1),
          Q = z[0];
        function W(e) {
          S(e), T(p(e, b.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              $(Math.random());
            },
            [Q],
          ),
          r.a.createElement(
            'div',
            {
              style: b.style,
              className: [
                b.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: b.identifier,
              'data-debug': b.debug || void 0,
              'data-iframe': b.iframe || void 0,
            },
            b.iframe &&
              r.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            r.a.createElement(
              'div',
              {
                ref: d,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: b.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    b.compact || (b.iframe && !1 !== b.compact) ? '0' : void 0,
                  background: b.background,
                },
              },
              b.iframe
                ? r.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(b.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: F,
                    src: f,
                    ref: K,
                  })
                : b.children,
            ),
            r.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': b.title,
              },
              b.title &&
                r.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(b.identifier) },
                  b.title,
                ),
              b.description &&
                r.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: b.description },
                }),
            ),
            r.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              N &&
                r.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: N,
                }),
              y &&
                r.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: y,
                }),
              b.motions &&
                r.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return _();
                  },
                }),
              b.iframe &&
                r.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (i = b.hideActions) || void 0 === i
                ? void 0
                : i.includes('EXTERNAL')) &&
                r.a.createElement(
                  o['Link'],
                  { target: '_blank', to: f },
                  r.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              r.a.createElement('span', null),
              r.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': j,
                onClick: function () {
                  return I(G);
                },
              }),
              'tsx' === B &&
                J &&
                r.a.createElement(
                  o['Link'],
                  { target: '_blank', to: X },
                  r.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              r.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 Z(!J);
                },
              }),
            ),
            J &&
              r.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  r.a.createElement(
                    l['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: R,
                      onChange: W,
                    },
                    Object.keys(b.sources).map(function (e) {
                      return r.a.createElement(l['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, b.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                r.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  r.a.createElement(m['a'], { code: G, lang: B, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = h;
    },
  },
]);
