'use client';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ReactFlowProvider } from '@xyflow/react';
import { SessionsProvider } from '../../../hooks/sessions-provider.js';
import { ControlCenterInner } from './control-center-inner.js';
export function ControlCenter({ initialNodes, initialEdges, drawer }) {
    return (_jsxs("div", { "data-testid": "control-center", className: "h-full w-full", children: [_jsx(SessionsProvider, { children: _jsx(ReactFlowProvider, { children: _jsx(ControlCenterInner, { initialNodes: initialNodes, initialEdges: initialEdges }) }) }), _jsx("div", { children: drawer }, "drawer")] }));
}
