(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [21],
  {
    '2d4p': function (e, t, a) {
      'use strict';
      a.r(t);
      var n = a('q1tI'),
        l = a.n(n),
        c = a('dEAq'),
        r = a('Zxc8'),
        o = a('H1Ra'),
        i = a('JjdP'),
        m = l.a.memo(i['default']['checkbox-basic'].component),
        d = l.a.memo(i['default']['checkbox-controller'].component),
        u = l.a.memo(i['default']['checkbox-disabled'].component),
        s = l.a.memo(i['default']['checkbox-disabled'].component),
        E = l.a.memo(i['default']['checkbox-check-all'].component),
        h = l.a.memo(i['default']['checkbox-layout'].component);
      t['default'] = (e) => (
        l.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            c['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: 'checkbox-\u591a\u9009\u6846' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#checkbox-\u591a\u9009\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Checkbox \u591a\u9009\u6846',
              ),
              l.a.createElement('p', null, '\u591a\u9009\u6846\u3002'),
              l.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                l.a.createElement(
                  c['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,
                  '\u5728\u4e00\u7ec4\u53ef\u9009\u9879\u4e2d\u8fdb\u884c\u591a\u9879\u9009\u62e9\u65f6\uff1b',
                ),
                l.a.createElement(
                  'li',
                  null,
                  '\u5355\u72ec\u4f7f\u7528\u53ef\u4ee5\u8868\u793a\u4e24\u79cd\u72b6\u6001\u4e4b\u95f4\u7684\u5207\u6362\uff0c\u548c ',
                  l.a.createElement('code', null, 'switch'),
                  ' \u7c7b\u4f3c\u3002\u533a\u522b\u5728\u4e8e\u5207\u6362 ',
                  l.a.createElement('code', null, 'switch'),
                  ' \u4f1a\u76f4\u63a5\u89e6\u53d1\u72b6\u6001\u6539\u53d8\uff0c\u800c ',
                  l.a.createElement('code', null, 'checkbox'),
                  ' \u4e00\u822c\u7528\u4e8e\u72b6\u6001\u6807\u8bb0\uff0c\u9700\u8981\u548c\u63d0\u4ea4\u64cd\u4f5c\u914d\u5408\u3002',
                ),
              ),
              l.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              l.a.createElement(
                'h3',
                { id: '\u57fa\u672c\u7528\u6cd5' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#\u57fa\u672c\u7528\u6cd5',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u57fa\u672c\u7528\u6cd5',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-basic'].previewerProps,
              l.a.createElement(m, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u53d7\u63a7\u7684-checkbox' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#\u53d7\u63a7\u7684-checkbox',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u53d7\u63a7\u7684 Checkbox',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-controller'].previewerProps,
              l.a.createElement(d, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u4e0d\u53ef\u7528' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#\u4e0d\u53ef\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4e0d\u53ef\u7528',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-disabled'].previewerProps,
              l.a.createElement(u, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: 'checkbox-\u7ec4' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#checkbox-\u7ec4',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Checkbox \u7ec4',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-disabled'].previewerProps,
              l.a.createElement(s, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5168\u9009' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#\u5168\u9009', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5168\u9009',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-check-all'].previewerProps,
              l.a.createElement(E, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h3',
                { id: '\u5e03\u5c40' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#\u5e03\u5c40', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e03\u5c40',
              ),
            ),
            l.a.createElement(
              r['default'],
              i['default']['checkbox-layout'].previewerProps,
              l.a.createElement(h, null),
            ),
            l.a.createElement(
              'div',
              { className: 'markdown' },
              l.a.createElement(
                'h2',
                { id: 'api' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              l.a.createElement(
                'h3',
                { id: '\u5c5e\u6027' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#\u5c5e\u6027', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5c5e\u6027',
              ),
              l.a.createElement(
                'h4',
                { id: 'checkbox' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#checkbox', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Checkbox',
              ),
              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, 'autoFocus'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u81ea\u52a8\u83b7\u53d6\u7126\u70b9',
                    ),
                    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, 'checked'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a\u5f53\u524d\u662f\u5426\u9009\u4e2d',
                    ),
                    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, 'defaultChecked'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u521d\u59cb\u662f\u5426\u9009\u4e2d',
                    ),
                    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, 'disabled'),
                    l.a.createElement('td', null, '\u5931\u6548\u72b6\u6001'),
                    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, 'indeterminate'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u8bbe\u7f6e indeterminate \u72b6\u6001\uff0c\u53ea\u8d1f\u8d23\u6837\u5f0f\u63a7\u5236',
                    ),
                    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, 'onChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, 'function(e:Event)'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h4',
                { id: 'checkbox-group' },
                l.a.createElement(
                  c['AnchorLink'],
                  {
                    to: '#checkbox-group',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Checkbox Group',
              ),
              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, 'defaultValue'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u9ed8\u8ba4\u9009\u4e2d\u7684\u9009\u9879',
                    ),
                    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, 'disabled'),
                    l.a.createElement('td', null, '\u6574\u7ec4\u5931\u6548'),
                    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, 'name'),
                    l.a.createElement(
                      'td',
                      null,
                      'CheckboxGroup \u4e0b\u6240\u6709 ',
                      l.a.createElement('code', null, 'input[type="checkbox"]'),
                      ' \u7684 ',
                      l.a.createElement('code', null, 'name'),
                      ' \u5c5e\u6027',
                    ),
                    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, 'options'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a\u53ef\u9009\u9879',
                    ),
                    l.a.createElement('td', null, 'string[] | Option[]'),
                    l.a.createElement('td', null, '[]'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'value'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u6307\u5b9a\u9009\u4e2d\u7684\u9009\u9879',
                    ),
                    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, 'onChange'),
                    l.a.createElement(
                      'td',
                      null,
                      '\u53d8\u5316\u65f6\u56de\u8c03\u51fd\u6570',
                    ),
                    l.a.createElement('td', null, 'function(checkedValue)'),
                    l.a.createElement('td', null, '-'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
              l.a.createElement(
                'h5',
                { id: 'option' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#option', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Option',
              ),
              l.a.createElement(o['a'], {
                code: 'interface Option {\n  label: string;\n  value: string;\n  disabled?: boolean;\n}',
                lang: 'bash',
              }),
              l.a.createElement(
                'h3',
                { id: '\u65b9\u6cd5' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#\u65b9\u6cd5', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u65b9\u6cd5',
              ),
              l.a.createElement(
                'h4',
                { id: 'checkbox-1' },
                l.a.createElement(
                  c['AnchorLink'],
                  { to: '#checkbox-1', 'aria-hidden': 'true', tabIndex: -1 },
                  l.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Checkbox',
              ),
              l.a.createElement(
                'table',
                null,
                l.a.createElement(
                  'thead',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('th', null, '\u540d\u79f0'),
                    l.a.createElement('th', null, '\u63cf\u8ff0'),
                    l.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                l.a.createElement(
                  'tbody',
                  null,
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'blur()'),
                    l.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
                    l.a.createElement('td', null),
                  ),
                  l.a.createElement(
                    'tr',
                    null,
                    l.a.createElement('td', null, 'focus()'),
                    l.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
                    l.a.createElement('td', null),
                  ),
                ),
              ),
            ),
          ),
        )
      );
    },
    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),
        c = a('k3GJ'),
        r = a('MZF8'),
        o = a('dEAq'),
        i = a('H1Ra');
      a('RZMt');
      function m(e, t) {
        return h(e) || E(e, t) || u(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 u(e, t) {
        if (e) {
          if ('string' === typeof e) return s(e, t);
          var a = Object.prototype.toString.call(e).slice(8, -1);
          return (
            'Object' === a && e.constructor && (a = e.constructor.name),
            'Map' === a || 'Set' === a
              ? Array.from(e)
              : 'Arguments' === a ||
                /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
              ? s(e, t)
              : void 0
          );
        }
      }
      function s(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, n = new Array(t); a < t; a++) n[a] = e[a];
        return n;
      }
      function E(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var n,
            l,
            c = [],
            r = !0,
            o = !1;
          try {
            for (a = a.call(e); !(r = (n = a.next()).done); r = !0)
              if ((c.push(n.value), t && c.length === t)) break;
          } catch (i) {
            (o = !0), (l = i);
          } finally {
            try {
              r || null == a['return'] || a['return']();
            } finally {
              if (o) throw l;
            }
          }
          return c;
        }
      }
      function h(e) {
        if (Array.isArray(e)) return e;
      }
      function b(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 f = function (e) {
        var t,
          a,
          d,
          u = Object(n['useRef'])(),
          s = Object(n['useContext'])(o['context']),
          E = s.locale,
          h = Object(o['useLocaleProps'])(E, e),
          f = Object(o['useDemoUrl'])(h.identifier),
          p = h.demoUrl || f,
          k =
            (null === r['a'] || void 0 === r['a']
              ? void 0
              : r['a'].location.hash) === '#'.concat(h.identifier),
          v = 1 === Object.keys(h.sources).length,
          x = Object(o['useCodeSandbox'])(
            (
              null === (t = h.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : h,
          ),
          _ = Object(o['useRiddle'])(
            (
              null === (a = h.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : h,
          ),
          y = Object(o['useMotions'])(h.motions || [], u.current),
          w = m(y, 2),
          N = w[0],
          g = w[1],
          A = Object(o['useCopy'])(),
          C = m(A, 2),
          I = C[0],
          O = C[1],
          j = Object(n['useState'])('_'),
          L = m(j, 2),
          S = L[0],
          P = L[1],
          R = Object(n['useState'])(b(S, h.sources[S])),
          M = m(R, 2),
          T = M[0],
          U = M[1],
          Z = Object(n['useState'])(Boolean(h.defaultShowCode)),
          F = m(Z, 2),
          J = F[0],
          q = F[1],
          G = Object(n['useState'])(Math.random()),
          $ = m(G, 2),
          B = $[0],
          D = $[1],
          H = h.sources[S][T] || h.sources[S].content,
          V = Object(o['useTSPlaygroundUrl'])(E, H),
          X = Object(n['useRef'])(),
          K = Object(o['usePrefersColor'])(),
          z = m(K, 1),
          Q = z[0];
        function W(e) {
          P(e), U(b(e, h.sources[e]));
        }
        return (
          Object(n['useEffect'])(
            function () {
              D(Math.random());
            },
            [Q],
          ),
          l.a.createElement(
            'div',
            {
              style: h.style,
              className: [
                h.className,
                '__dumi-default-previewer',
                k ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: h.identifier,
              'data-debug': h.debug || void 0,
              'data-iframe': h.iframe || void 0,
            },
            h.iframe &&
              l.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            l.a.createElement(
              'div',
              {
                ref: u,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: h.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    h.compact || (h.iframe && !1 !== h.compact) ? '0' : void 0,
                  background: h.background,
                },
              },
              h.iframe
                ? l.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(h.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: B,
                    src: p,
                    ref: X,
                  })
                : h.children,
            ),
            l.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': h.title,
              },
              h.title &&
                l.a.createElement(
                  o['AnchorLink'],
                  { to: '#'.concat(h.identifier) },
                  h.title,
                ),
              h.description &&
                l.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: h.description },
                }),
            ),
            l.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              x &&
                l.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: x,
                }),
              _ &&
                l.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: _,
                }),
              h.motions &&
                l.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: g,
                  onClick: function () {
                    return N();
                  },
                }),
              h.iframe &&
                l.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return D(Math.random());
                  },
                }),
              !(null === (d = h.hideActions) || void 0 === d
                ? void 0
                : d.includes('EXTERNAL')) &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: p },
                  l.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              l.a.createElement('span', null),
              l.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': O,
                onClick: function () {
                  return I(H);
                },
              }),
              'tsx' === T &&
                J &&
                l.a.createElement(
                  o['Link'],
                  { target: '_blank', to: V },
                  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' },
                !v &&
                  l.a.createElement(
                    c['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: S,
                      onChange: W,
                    },
                    Object.keys(h.sources).map(function (e) {
                      return l.a.createElement(c['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(b(e, h.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'] = f;
    },
  },
]);
