import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import React from "react";
import { useTheme } from "styled-components";
import Header from "./components/header";
import Nav from "./components/nav";
import { Nav as NavWrapper, NavList } from "./components/nav/styled";
import { Item, A } from "./components/link/styled";
import Logo from "./components/logo";
import { BurgerLinks, MobileLinks, EqLabMobileLinks, } from "./components/link-lists";
import Dropdown from "./components/dropdown";
import Link from "./components/link";
import Burger from "./components/burger";
const Navigation = ({ actions, mobileSidebar, isApp, onWalletClick, fixed, absolute, ...props }) => {
    const { flags } = useTheme();
    const eqLab = React.useMemo(() => flags?.isEqLab, [flags?.isEqLab]);
    const isGenshiro = React.useMemo(() => flags?.isGenshiro, [flags?.isGenshiro]);
    if (eqLab)
        return (_jsxs(Header, { fixed: fixed, eqLab: true, children: [_jsx(Logo, { eqLab: eqLab }), _jsx(Nav, { actions: actions, ...props }), _jsx(Burger, { eqLab: true, burgerLinks: _jsx(_Fragment, {}), mobileLinks: _jsx(EqLabMobileLinks, { ...props }) })] }));
    return (_jsxs(Header, { isApp: isApp, fixed: fixed, absolute: absolute, children: [_jsx(Logo, { isGenshiro: isGenshiro }), _jsx(Nav, { actions: actions, isApp: isApp, ...props }), _jsx(Burger, { burgerLinks: _jsx(BurgerLinks, { ...props }), mobileLinks: _jsx(MobileLinks, { isApp: isApp, ...props }), mobileSidebar: mobileSidebar })] }));
};
export { Burger };
export default Object.assign(Navigation, {
    Link,
    Dropdown,
    Header,
    Logo,
    NavWrapper,
    NavList,
    EqLabMobileLinks,
    Item,
    A,
});
//# sourceMappingURL=index.js.map