import "../../../../../@ant-design/colors/es/index.mjs";
import a from "../shared/genControlHeight.mjs";
import i from "../shared/genSizeMapToken.mjs";
import { defaultPresetColors as m } from "../seed.mjs";
import g from "../shared/genColorMapToken.mjs";
import c from "../shared/genCommonMapToken.mjs";
import { generateColorPalettes as f, generateNeutralColorPalettes as l } from "./colors.mjs";
import p from "../shared/genFontMapToken.mjs";
import b from "../../../../../@ant-design/colors/es/generate.mjs";
function S(e) {
  const s = Object.keys(m).map((t) => {
    const r = b(e[t]);
    return new Array(10).fill(1).reduce((n, j, o) => (n[`${t}-${o + 1}`] = r[o], n[`${t}${o + 1}`] = r[o], n), {});
  }).reduce((t, r) => (t = Object.assign(Object.assign({}, t), r), t), {});
  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, e), s), g(e, {
    generateColorPalettes: f,
    generateNeutralColorPalettes: l
  })), p(e.fontSize)), i(e)), a(e)), c(e));
}
export {
  S as default
};
