import e from "../../d3-color/src/color.js";
import t from "./constant.js";
import n from "./rgb.js";
import r, { isNumberArray as i } from "./numberArray.js";
import { genericArray as a } from "./array.js";
import o from "./date.js";
import s from "./number.js";
import c from "./object.js";
import l from "./string.js";
//#region ../../node_modules/d3-interpolate/src/value.js
function u(u, d) {
	var f = typeof d, p;
	return d == null || f === "boolean" ? t(d) : (f === "number" ? s : f === "string" ? (p = e(d)) ? (d = p, n) : l : d instanceof e ? n : d instanceof Date ? o : i(d) ? r : Array.isArray(d) ? a : typeof d.valueOf != "function" && typeof d.toString != "function" || isNaN(d) ? c : s)(u, d);
}
//#endregion
export { u as default };
