import { rnd2 as t } from "../../utils/index.js";
import e from "../../utils/unpack.js";
import n from "../../utils/last.js";
const s = (...a) => {
  const l = e(a, "lab");
  let o = n(a) || "lab";
  return l[0] = t(l[0]) + "%", l[1] = t(l[1]), l[2] = t(l[2]), o === "laba" || l.length > 3 && l[3] < 1 ? l[3] = "/ " + (l.length > 3 ? l[3] : 1) : l.length = 3, `lab(${l.join(" ")})`;
};
export {
  s as default
};
//# sourceMappingURL=lab2css.js.map
