import { jsx } from "react/jsx-runtime";
import "react";
import { NoticeManagerProvider } from "../../application/NoticesManager.mjs";
import { RemoteCollectionManagerProvider } from "../../collection-manager/index.mjs";
import { CurrentAppInfoProvider } from "../../common/index.mjs";
import { NavigateIfNotSignIn } from "../../user/index.mjs";
import VariablesProvider from "../../variables/VariablesProvider.mjs";
import { ACLRolesCheckProvider } from "../acl/index.mjs";
const AdminProvider = (props)=>/*#__PURE__*/ jsx(NoticeManagerProvider, {
        children: /*#__PURE__*/ jsx(CurrentAppInfoProvider, {
            children: /*#__PURE__*/ jsx(NavigateIfNotSignIn, {
                children: /*#__PURE__*/ jsx(RemoteCollectionManagerProvider, {
                    children: /*#__PURE__*/ jsx(VariablesProvider, {
                        children: /*#__PURE__*/ jsx(ACLRolesCheckProvider, {
                            children: props.children
                        })
                    })
                })
            })
        })
    });
export { AdminProvider };
