import { jsx as e, jsxs as a } from "react/jsx-runtime";
import { SidebarProvider as m, SidebarInset as d } from "../atoms/sidebar.js";
import { ChatContentSkeleton as n, ChatSidebarSkeleton as f } from "../templates/chat-template-skeletons.js";
import { cn as l } from "../../../lib/utils.js";
function p({
  defaultSidebarOpen: o = !0,
  showSidebar: i = !0,
  className: r,
  ...t
}) {
  return i ? /* @__PURE__ */ a(m, { defaultOpen: o, children: [
    /* @__PURE__ */ e(f, {}),
    /* @__PURE__ */ e(d, { className: l(r), ...t, children: /* @__PURE__ */ e(n, {}) })
  ] }) : /* @__PURE__ */ e(n, { className: r, ...t });
}
export {
  p as ChatPageSkeleton
};
