var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
import { jsx as _jsx } from "react/jsx-runtime";
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';
import { RouterProvider } from 'react-router-dom';
import { ChakraProvider } from '@chakra-ui/react';
import { ThemeProvider } from 'styled-components';
import { light } from 'ui/theme';
import { theme } from 'ui/chakraTheme';
import { router } from './router';
import './App.css';
dayjs.locale('en');
dayjs.extend(relativeTime);
function App() {
    return (_jsx(ChakraProvider, __assign({ resetCSS: false, theme: theme }, { children: _jsx(ThemeProvider, __assign({ theme: light }, { children: _jsx(RouterProvider, { router: router }) })) })));
}
export default App;
