import "../../../@ant-design/cssinjs/es/extractStyle.mjs";
import { getComputedToken as m } from "../../../@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
import "react";
import "../../../@ant-design/cssinjs/es/StyleContext.mjs";
import o from "../../../@ant-design/cssinjs/es/theme/createTheme.mjs";
import "../../../rc-util/es/warning.mjs";
import "../../../@ant-design/cssinjs/es/theme/ThemeCache.mjs";
import "../../../@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
import "../../../@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
import "../../../@ant-design/cssinjs/es/hooks/useHMR.mjs";
import "../../../@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
import i from "./themes/default/index.mjs";
import p from "./themes/seed.mjs";
import d from "./util/alias.mjs";
const s = (t) => {
  const e = t != null && t.algorithm ? o(t.algorithm) : o(i), r = Object.assign(Object.assign({}, p), t == null ? void 0 : t.token);
  return m(r, {
    override: t == null ? void 0 : t.token
  }, e, d);
}, C = s;
export {
  C as default
};
