import { jsx as n, Fragment as a } from "react/jsx-runtime";
import { a as d } from "../../../../useQuery-n4ls1rLk.js";
import "react";
const h = ({ componentKey: e, ...i }) => {
  const {
    data: t,
    isLoading: s,
    isError: p,
    isFetched: m,
    isSuccess: c
  } = d({
    queryKey: ["dynamicComponent", "Table", e],
    queryFn: async () => await import("./index.js").then((o) => o == null ? void 0 : o.default)
  });
  if (!(!s && !p && m && c) || !t)
    return /* @__PURE__ */ n(a, {});
  const r = t.govco[e];
  return r ? /* @__PURE__ */ n(r, { ...i }) : /* @__PURE__ */ n("div", { children: "Error: Componente no encontrado" });
};
export {
  h as WrapperTableTdComponents
};
