import { jsx as _jsx } from "react/jsx-runtime";
import Ava from "./Ava";
import Floatbutton from "./Floatbutton";
import "regenerator-runtime/runtime";
import { Provider } from 'react-redux';
import store from '../store/index';
import Avalite from "./Avalite";
const Main = (props) => {
    return (_jsx(Provider, { store: store, children: props.liteMode
            ?
                _jsx(Avalite, { ...props })
            :
                props.layoutMode == "popup"
                    ?
                        _jsx(Floatbutton, {})
                    :
                        _jsx(Ava, { ...props }) }));
};
export default Main;
//# sourceMappingURL=Main.js.map