(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
  [18],
  {
    FQPb: function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('dEAq'),
        c = a('Zxc8'),
        d = a('H1Ra'),
        m = a('JjdP'),
        u = n.a.memo(m['default']['card-basic'].component),
        o = n.a.memo(m['default']['card-border'].component),
        i = n.a.memo(m['default']['card-concise'].component),
        E = n.a.memo(m['default']['card-flexible'].component),
        s = n.a.memo(m['default']['card-grid'].component),
        f = n.a.memo(m['default']['card-preload'].component),
        p = n.a.memo(m['default']['card-embedded'].component),
        b = n.a.memo(m['default']['card-inside'].component),
        h = n.a.memo(m['default']['card-tab'].component),
        v = n.a.memo(m['default']['card-more'].component);
      t['default'] = (e) => (
        n.a.useEffect(() => {
          var t;
          null !== e &&
            void 0 !== e &&
            null !== (t = e.location) &&
            void 0 !== t &&
            t.hash &&
            r['AnchorLink'].scrollToAnchor(
              decodeURIComponent(e.location.hash.slice(1)),
            );
        }, []),
        n.a.createElement(
          n.a.Fragment,
          null,
          n.a.createElement(
            n.a.Fragment,
            null,
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h1',
                { id: 'card-\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#card-\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Card \u5361\u7247',
              ),
              n.a.createElement(
                'p',
                null,
                '\u901a\u7528\u5361\u7247\u5bb9\u5668\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4f55\u65f6\u4f7f\u7528' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4f55\u65f6\u4f7f\u7528',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4f55\u65f6\u4f7f\u7528',
              ),
              n.a.createElement(
                'p',
                null,
                '\u6700\u57fa\u7840\u7684\u5361\u7247\u5bb9\u5668\uff0c\u53ef\u627f\u8f7d\u6587\u5b57\u3001\u5217\u8868\u3001\u56fe\u7247\u3001\u6bb5\u843d\uff0c\u5e38\u7528\u4e8e\u540e\u53f0\u6982\u89c8\u9875\u9762\u3002',
              ),
              n.a.createElement(
                'h2',
                { id: '\u4ee3\u7801\u6f14\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u4ee3\u7801\u6f14\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u4ee3\u7801\u6f14\u793a',
              ),
              n.a.createElement(
                'h3',
                { id: '\u5178\u578b\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5178\u578b\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5178\u578b\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-basic'].previewerProps,
              n.a.createElement(u, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u65e0\u8fb9\u6846' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u65e0\u8fb9\u6846',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u65e0\u8fb9\u6846',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-border'].previewerProps,
              n.a.createElement(o, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u7b80\u6d01\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7b80\u6d01\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7b80\u6d01\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-concise'].previewerProps,
              n.a.createElement(i, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u5c55\u793a' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u5c55\u793a',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u66f4\u7075\u6d3b\u7684\u5185\u5bb9\u5c55\u793a',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-flexible'].previewerProps,
              n.a.createElement(E, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u6805\u683c\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u6805\u683c\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u6805\u683c\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-grid'].previewerProps,
              n.a.createElement(s, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u9884\u52a0\u8f7d\u7684\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u9884\u52a0\u8f7d\u7684\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u9884\u52a0\u8f7d\u7684\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-preload'].previewerProps,
              n.a.createElement(f, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u7f51\u683c\u578b\u5185\u5d4c\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u7f51\u683c\u578b\u5185\u5d4c\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u7f51\u683c\u578b\u5185\u5d4c\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-embedded'].previewerProps,
              n.a.createElement(p, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5185\u90e8\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5185\u90e8\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5185\u90e8\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-inside'].previewerProps,
              n.a.createElement(b, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u5e26\u9875\u7b7e\u7684\u5361\u7247' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u5e26\u9875\u7b7e\u7684\u5361\u7247',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u5e26\u9875\u7b7e\u7684\u5361\u7247',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-tab'].previewerProps,
              n.a.createElement(h, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h3',
                { id: '\u652f\u6301\u66f4\u591a\u5185\u5bb9\u914d\u7f6e' },
                n.a.createElement(
                  r['AnchorLink'],
                  {
                    to: '#\u652f\u6301\u66f4\u591a\u5185\u5bb9\u914d\u7f6e',
                    'aria-hidden': 'true',
                    tabIndex: -1,
                  },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                '\u652f\u6301\u66f4\u591a\u5185\u5bb9\u914d\u7f6e',
              ),
            ),
            n.a.createElement(
              c['default'],
              m['default']['card-more'].previewerProps,
              n.a.createElement(v, null),
            ),
            n.a.createElement(
              'div',
              { className: 'markdown' },
              n.a.createElement(
                'h2',
                { id: 'api' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'API',
              ),
              n.a.createElement(d['a'], {
                code: '<Card title="\u5361\u7247\u6807\u9898">\u5361\u7247\u5185\u5bb9</Card>',
                lang: 'bash',
              }),
              n.a.createElement(
                'h3',
                { id: 'card' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#card', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Card',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'actions'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5361\u7247\u64cd\u4f5c\u7ec4\uff0c\u4f4d\u7f6e\u5728\u5361\u7247\u5e95\u90e8',
                    ),
                    n.a.createElement('td', null, 'Array<ReactNode>'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'activeTabKey'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5f53\u524d\u6fc0\u6d3b\u9875\u7b7e\u7684 key',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'bodyStyle'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5185\u5bb9\u533a\u57df\u81ea\u5b9a\u4e49\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'bordered'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u662f\u5426\u6709\u8fb9\u6846',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'cover'),
                    n.a.createElement('td', null, '\u5361\u7247\u5c01\u9762'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'defaultActiveTabKey'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u521d\u59cb\u5316\u9009\u4e2d\u9875\u7b7e\u7684 key\uff0c\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e activeTabKey',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        'code',
                        null,
                        '\u7b2c\u4e00\u4e2a\u9875\u7b7e',
                      ),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'extra'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5361\u7247\u53f3\u4e0a\u89d2\u7684\u64cd\u4f5c\u533a\u57df',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'headStyle'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u81ea\u5b9a\u4e49\u6807\u9898\u533a\u57df\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'hoverable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9f20\u6807\u79fb\u8fc7\u65f6\u53ef\u6d6e\u8d77',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'loading'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5f53\u5361\u7247\u5185\u5bb9\u8fd8\u5728\u52a0\u8f7d\u4e2d\u65f6\uff0c\u53ef\u4ee5\u7528 loading \u5c55\u793a\u4e00\u4e2a\u5360\u4f4d',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'false'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'size'),
                    n.a.createElement('td', null, 'card \u7684\u5c3a\u5bf8'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'default'),
                      ' | ',
                      n.a.createElement('code', null, 'small'),
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement('code', null, 'default'),
                    ),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'tabBarExtraContent'),
                    n.a.createElement(
                      'td',
                      null,
                      'tab bar \u4e0a\u989d\u5916\u7684\u5143\u7d20',
                    ),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'tabList'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9875\u7b7e\u6807\u9898\u5217\u8868',
                    ),
                    n.a.createElement(
                      'td',
                      null,
                      'Array<',
                      '{',
                      'key: string, tab: ReactNode',
                      '}',
                      '>',
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'tabProps'),
                    n.a.createElement(
                      'td',
                      null,
                      n.a.createElement(
                        r['AnchorLink'],
                        { to: '/components/tabs/#Tabs' },
                        'Tabs',
                      ),
                    ),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement('td', null, '\u5361\u7247\u6807\u9898'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'type'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5361\u7247\u7c7b\u578b\uff0c\u53ef\u8bbe\u7f6e\u4e3a ',
                      n.a.createElement('code', null, 'inner'),
                      ' \u6216 \u4e0d\u8bbe\u7f6e',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'onTabChange'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9875\u7b7e\u5207\u6362\u7684\u56de\u8c03',
                    ),
                    n.a.createElement('td', null, '(key) => void'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: 'cardgrid' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#cardgrid', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Card.Grid',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'className'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u7f51\u683c\u5bb9\u5668\u7c7b\u540d',
                    ),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'hoverable'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u9f20\u6807\u79fb\u8fc7\u65f6\u53ef\u6d6e\u8d77',
                    ),
                    n.a.createElement('td', null, 'boolean'),
                    n.a.createElement('td', null, 'true'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'style'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5b9a\u4e49\u7f51\u683c\u5bb9\u5668\u7c7b\u540d\u7684\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement(
                'h3',
                { id: 'cardmeta' },
                n.a.createElement(
                  r['AnchorLink'],
                  { to: '#cardmeta', 'aria-hidden': 'true', tabIndex: -1 },
                  n.a.createElement('span', { className: 'icon icon-link' }),
                ),
                'Card.Meta',
              ),
              n.a.createElement(
                'table',
                null,
                n.a.createElement(
                  'thead',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('th', null, '\u53c2\u6570'),
                    n.a.createElement('th', null, '\u8bf4\u660e'),
                    n.a.createElement('th', null, '\u7c7b\u578b'),
                    n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
                    n.a.createElement('th', null, '\u7248\u672c'),
                  ),
                ),
                n.a.createElement(
                  'tbody',
                  null,
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'avatar'),
                    n.a.createElement('td', null, '\u5934\u50cf/\u56fe\u6807'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'className'),
                    n.a.createElement('td', null, '\u5bb9\u5668\u7c7b\u540d'),
                    n.a.createElement('td', null, 'string'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'description'),
                    n.a.createElement('td', null, '\u63cf\u8ff0\u5185\u5bb9'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'style'),
                    n.a.createElement(
                      'td',
                      null,
                      '\u5b9a\u4e49\u5bb9\u5668\u7c7b\u540d\u7684\u6837\u5f0f',
                    ),
                    n.a.createElement('td', null, 'CSSProperties'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                  n.a.createElement(
                    'tr',
                    null,
                    n.a.createElement('td', null, 'title'),
                    n.a.createElement('td', null, '\u6807\u9898\u5185\u5bb9'),
                    n.a.createElement('td', null, 'ReactNode'),
                    n.a.createElement('td', null, '-'),
                    n.a.createElement('td', null),
                  ),
                ),
              ),
              n.a.createElement('style', {
                dangerouslySetInnerHTML: {
                  __html:
                    '\n  .site-card-border-less-wrapper {\n    padding: 30px;\n    background: #ececec;\n  }\n',
                },
              }),
            ),
          ),
        )
      );
    },
    MZF8: function (e, t, a) {
      'use strict';
      var l = a('ogwx');
      a.d(t, 'a', function () {
        return l['b'];
      });
      a('VCU9');
    },
    RZMt: function (e, t, a) {},
    Zxc8: function (e, t, a) {
      'use strict';
      a.r(t);
      var l = a('q1tI'),
        n = a.n(l),
        r = a('k3GJ'),
        c = a('MZF8'),
        d = a('dEAq'),
        m = a('H1Ra');
      a('RZMt');
      function u(e, t) {
        return f(e) || s(e, t) || i(e, t) || o();
      }
      function o() {
        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 i(e, t) {
        if (e) {
          if ('string' === typeof e) return E(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)
              ? E(e, t)
              : void 0
          );
        }
      }
      function E(e, t) {
        (null == t || t > e.length) && (t = e.length);
        for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
        return l;
      }
      function s(e, t) {
        var a =
          null == e
            ? null
            : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
              e['@@iterator'];
        if (null != a) {
          var l,
            n,
            r = [],
            c = !0,
            d = !1;
          try {
            for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
              if ((r.push(l.value), t && r.length === t)) break;
          } catch (m) {
            (d = !0), (n = m);
          } finally {
            try {
              c || null == a['return'] || a['return']();
            } finally {
              if (d) throw n;
            }
          }
          return r;
        }
      }
      function f(e) {
        if (Array.isArray(e)) return e;
      }
      function p(e, t) {
        var a,
          l =
            null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
        return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
      }
      var b = function (e) {
        var t,
          a,
          o,
          i = Object(l['useRef'])(),
          E = Object(l['useContext'])(d['context']),
          s = E.locale,
          f = Object(d['useLocaleProps'])(s, e),
          b = Object(d['useDemoUrl'])(f.identifier),
          h = f.demoUrl || b,
          v =
            (null === c['a'] || void 0 === c['a']
              ? void 0
              : c['a'].location.hash) === '#'.concat(f.identifier),
          k = 1 === Object.keys(f.sources).length,
          y = Object(d['useCodeSandbox'])(
            (
              null === (t = f.hideActions) || void 0 === t
                ? void 0
                : t.includes('CSB')
            )
              ? null
              : f,
          ),
          N = Object(d['useRiddle'])(
            (
              null === (a = f.hideActions) || void 0 === a
                ? void 0
                : a.includes('RIDDLE')
            )
              ? null
              : f,
          ),
          w = Object(d['useMotions'])(f.motions || [], i.current),
          g = u(w, 2),
          _ = g[0],
          x = g[1],
          A = Object(d['useCopy'])(),
          C = u(A, 2),
          S = C[0],
          I = C[1],
          L = Object(l['useState'])('_'),
          j = u(L, 2),
          O = j[0],
          P = j[1],
          R = Object(l['useState'])(p(O, f.sources[O])),
          T = u(R, 2),
          M = T[0],
          U = T[1],
          Z = Object(l['useState'])(Boolean(f.defaultShowCode)),
          F = u(Z, 2),
          J = F[0],
          q = F[1],
          B = Object(l['useState'])(Math.random()),
          H = u(B, 2),
          K = H[0],
          $ = H[1],
          D = f.sources[O][M] || f.sources[O].content,
          G = Object(d['useTSPlaygroundUrl'])(s, D),
          X = Object(l['useRef'])(),
          z = Object(d['usePrefersColor'])(),
          Q = u(z, 1),
          V = Q[0];
        function W(e) {
          P(e), U(p(e, f.sources[e]));
        }
        return (
          Object(l['useEffect'])(
            function () {
              $(Math.random());
            },
            [V],
          ),
          n.a.createElement(
            'div',
            {
              style: f.style,
              className: [
                f.className,
                '__dumi-default-previewer',
                v ? '__dumi-default-previewer-target' : '',
              ]
                .filter(Boolean)
                .join(' '),
              id: f.identifier,
              'data-debug': f.debug || void 0,
              'data-iframe': f.iframe || void 0,
            },
            f.iframe &&
              n.a.createElement('div', {
                className: '__dumi-default-previewer-browser-nav',
              }),
            n.a.createElement(
              'div',
              {
                ref: i,
                className: '__dumi-default-previewer-demo',
                style: {
                  transform: f.transform ? 'translate(0, 0)' : void 0,
                  padding:
                    f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
                  background: f.background,
                },
              },
              f.iframe
                ? n.a.createElement('iframe', {
                    title: 'dumi-previewer',
                    style: {
                      height: String(f.iframe).replace(/(\d)$/, '$1px'),
                    },
                    key: K,
                    src: h,
                    ref: X,
                  })
                : f.children,
            ),
            n.a.createElement(
              'div',
              {
                className: '__dumi-default-previewer-desc',
                'data-title': f.title,
              },
              f.title &&
                n.a.createElement(
                  d['AnchorLink'],
                  { to: '#'.concat(f.identifier) },
                  f.title,
                ),
              f.description &&
                n.a.createElement('div', {
                  dangerouslySetInnerHTML: { __html: f.description },
                }),
            ),
            n.a.createElement(
              'div',
              { className: '__dumi-default-previewer-actions' },
              y &&
                n.a.createElement('button', {
                  title: 'Open demo on CodeSandbox.io',
                  className: '__dumi-default-icon',
                  role: 'codesandbox',
                  onClick: y,
                }),
              N &&
                n.a.createElement('button', {
                  title: 'Open demo on Riddle',
                  className: '__dumi-default-icon',
                  role: 'riddle',
                  onClick: N,
                }),
              f.motions &&
                n.a.createElement('button', {
                  title: 'Execute motions',
                  className: '__dumi-default-icon',
                  role: 'motions',
                  disabled: x,
                  onClick: function () {
                    return _();
                  },
                }),
              f.iframe &&
                n.a.createElement('button', {
                  title: 'Reload demo iframe page',
                  className: '__dumi-default-icon',
                  role: 'refresh',
                  onClick: function () {
                    return $(Math.random());
                  },
                }),
              !(null === (o = f.hideActions) || void 0 === o
                ? void 0
                : o.includes('EXTERNAL')) &&
                n.a.createElement(
                  d['Link'],
                  { target: '_blank', to: h },
                  n.a.createElement('button', {
                    title: 'Open demo in new tab',
                    className: '__dumi-default-icon',
                    role: 'open-demo',
                    type: 'button',
                  }),
                ),
              n.a.createElement('span', null),
              n.a.createElement('button', {
                title: 'Copy source code',
                className: '__dumi-default-icon',
                role: 'copy',
                'data-status': I,
                onClick: function () {
                  return S(D);
                },
              }),
              'tsx' === M &&
                J &&
                n.a.createElement(
                  d['Link'],
                  { target: '_blank', to: G },
                  n.a.createElement('button', {
                    title: 'Get JSX via TypeScript Playground',
                    className: '__dumi-default-icon',
                    role: 'change-tsx',
                    type: 'button',
                  }),
                ),
              n.a.createElement('button', {
                title: 'Toggle source code panel',
                className: '__dumi-default-icon'.concat(
                  J ? ' __dumi-default-btn-expand' : '',
                ),
                role: 'source',
                type: 'button',
                onClick: function () {
                  return q(!J);
                },
              }),
            ),
            J &&
              n.a.createElement(
                'div',
                { className: '__dumi-default-previewer-source-wrapper' },
                !k &&
                  n.a.createElement(
                    r['b'],
                    {
                      className: '__dumi-default-previewer-source-tab',
                      prefixCls: '__dumi-default-tabs',
                      moreIcon: '\xb7\xb7\xb7',
                      defaultActiveKey: O,
                      onChange: W,
                    },
                    Object.keys(f.sources).map(function (e) {
                      return n.a.createElement(r['a'], {
                        tab:
                          '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
                        key: e,
                      });
                    }),
                  ),
                n.a.createElement(
                  'div',
                  { className: '__dumi-default-previewer-source' },
                  n.a.createElement(m['a'], { code: D, lang: M, showCopy: !1 }),
                ),
              ),
          )
        );
      };
      t['default'] = b;
    },
  },
]);
