import { _ as __assign } from '../tslib.es6-20a2a300.js';
import { jsxs, jsx } from 'react/jsx-runtime';
import Icon from '../components/Icon.js';
import Typography from '../components/Typography.js';
import Accordion from '../components/Accordion.js';
import { B as Box } from '../Box-581dc061.js';
import '../icons/ArrowRight.js';
import '../icons/ArrowRightCircle.js';
import '../icons/Check.js';
import '../icons/CheckCircle.js';
import '../icons/ChevronRight.js';
import '../icons/CrossCircle.js';
import '../icons/DollarSign.js';
import '../icons/InfoCircle.js';
import '../icons/Link.js';
import '../icons/TriangleUp.js';
import '../icons/TriangleDown.js';
import '../icons/TriangleLeft.js';
import '../icons/Copy.js';
import '../icons/SortUp.js';
import '../icons/Cross.js';
import '../icons/Search.js';
import '../icons/Range.js';
import '../theme/colors.js';
import '../makeStyles-c9a99c7a.js';
import '../defaultTheme-49a26576.js';
import 'react';
import '../_commonjsHelpers-57e89916.js';
import '../theme/fontSize.js';
import '../theme/fontWeight.js';
import '../theme/fontFamily.js';
import '../theme/lineHeight.js';
import '../Typography-649a8eff.js';
import '../clsx.m-6243b874.js';
import '../withStyles-99aeb25b.js';
import '../hoist-non-react-statics.cjs-b718ab87.js';
import '../capitalize-5d3e9aac.js';
import '../createStyles-16423e9e.js';
import '../useControlled-ca779f8e.js';
import '../Paper-cfd8f963.js';
import '../deprecatedPropType-0232df1e.js';
import '../utils-2b600105.js';
import 'react-dom';
import '../TransitionGroupContext-2ba64e99.js';
import '../useTheme-27496d89.js';
import '../useForkRef-4ff8cc89.js';
import '../ButtonBase-11d3cdb5.js';
import '../useEventCallback-8817ed1c.js';
import '../useIsFocusVisible-c048447c.js';
import '../refType-5cc24a92.js';
import '../elementTypeAcceptingRef-7677eeee.js';
import '../IconButton-7563dc0d.js';
import '../styled-339d0187.js';

var stringContents = [
    {
        id: "panel-1",
        summary: "What is Ethereum 2.0?",
        details: "Ethereum 2.0 is an ambitious multi-year network upgrade of Ethereum. The upgrade is intended to achieve better scalability, security and decentralization of Ethereum 2.0. For more information, please see this explainer we have put together."
    },
    {
        id: "panel-2",
        summary: "What is the difference between Ethereum and Ethereum 2.0?",
        details: "\n      <p>In the current iteration of Ethereum (Eth1), new blocks of transactions are created using Proof of Work, a consensus mechanism in which specialized computers race to be the first to solve a difficult math problem.</p>\n      <p>Ethereum 2.0(Eth2) is a Proof of Stake network, in which holders stake their coins to become validators eligible to propose and verify blocks and receive rewards for it.</p>\n      <p>These validators are disincentivized from attempting to cheat by a system of penalties for engaging in malicious behavior.Because staking does not require any specialized hardware, the barrier to entry to becoming a block producer is dramatically lowered, and anyone holding ETH can participate in securing the network and earning rewards.</p>\n    "
    },
    {
        id: "panel-3",
        summary: "Why do I have a decrease in my balance despite having the right attestations?",
        details: "Attestations can be positive but still return a negative reward. This is an aspect of the protocol that will be addressed in the future to provide more clarity. The issue is currently being discussed here: <a href='https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188'>https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188</a>"
    }
];
var reactNodeContents = [
    {
        id: "panel-1",
        summary: (jsxs(Box, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(Box, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "xs" }, void 0) }), void 0), jsx(Typography, { children: "What is Ethereum 2.0?" }, void 0)] }), void 0)),
        details: "Ethereum 2.0 is an ambitious multi-year network upgrade of Ethereum. The upgrade is intended to achieve better scalability, security and decentralization of Ethereum 2.0. For more information, please see this explainer we have put together."
    },
    {
        id: "panel-2",
        summary: (jsxs(Box, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(Box, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "xs" }, void 0) }), void 0), jsx(Typography, { children: "What is the difference between Ethereum and Ethereum 2.0?" }, void 0)] }), void 0)),
        details: "\n      <p>In the current iteration of Ethereum (Eth1), new blocks of transactions are created using Proof of Work, a consensus mechanism in which specialized computers race to be the first to solve a difficult math problem.</p>\n      <p>Ethereum 2.0(Eth2) is a Proof of Stake network, in which holders stake their coins to become validators eligible to propose and verify blocks and receive rewards for it.</p>\n      <p>These validators are disincentivized from attempting to cheat by a system of penalties for engaging in malicious behavior.Because staking does not require any specialized hardware, the barrier to entry to becoming a block producer is dramatically lowered, and anyone holding ETH can participate in securing the network and earning rewards.</p>\n    "
    },
    {
        id: "panel-3",
        summary: (jsxs(Box, __assign({ display: "flex", alignItems: "center" }, { children: [jsx(Box, __assign({ display: "flex", mr: 1 }, { children: jsx(Icon, { iconKey: "infoCircle", size: "xs" }, void 0) }), void 0), jsx(Typography, { children: "Why do I have a decrease in my balance despite having the right attestations?" }, void 0)] }), void 0)),
        details: "Attestations can be positive but still return a negative reward. This is an aspect of the protocol that will be addressed in the future to provide more clarity. The issue is currently being discussed here: <a href='https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188'>https://github.com/gobitfly/eth2-beaconchain-explorer/issues/188</a>"
    }
];
var argTypes = {
    entries: { table: { disable: true } }
};
var StringTypeTemplate = function (args) {
    return jsx(Accordion, { entries: stringContents }, void 0);
};
var ReactNodeTypeTemplate = function (args) {
    return jsx(Accordion, { entries: reactNodeContents }, void 0);
};
/**
 * Stories
 */
var StringType = StringTypeTemplate.bind({});
var ReactNodeType = ReactNodeTypeTemplate.bind({});
var Accordion_stories = {
    title: "Components/Accordion",
    component: Accordion,
    argTypes: argTypes
};

export { ReactNodeType, StringType, Accordion_stories as default };
