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