"use client";
import { jsx, jsxs } from "react/jsx-runtime";
import { Suspense } from "react";
import { QueryProvider } from "./query-provider.js";
import { TeamProvider } from "../contexts/TeamContext.js";
import { SubscriptionProvider } from "../contexts/SubscriptionContext.js";
import { Toaster } from "../components/ui/sonner.js";
function DashboardProviders({ children }) {
  return /* @__PURE__ */ jsx(QueryProvider, { children: /* @__PURE__ */ jsx(TeamProvider, { children: /* @__PURE__ */ jsxs(SubscriptionProvider, { children: [
    children,
    /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(Toaster, { position: "bottom-left" }) })
  ] }) }) });
}
export {
  DashboardProviders
};
