import { jsx as i } from "../../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js";
import { useMemo as a } from "../../../../external/.pnpm/preact@10.28.2/node_modules/preact/hooks/dist/hooks.module.js";
import m from "../../DataOverviewDetails/DataOverviewDetails.js";
function c({ type: o, data: r, dataCustomization: s, ...t }) {
  const e = a(() => {
    switch (o) {
      case "payout":
        return { ...r, type: o, ...t };
    }
  }, [r, t, o]);
  return e && /* @__PURE__ */ i(m, { ...e, dataCustomization: s });
}
export {
  c as default
};
