import { c as r } from "../../../../../../../_virtual/convert.js";
import v from "../../../../../css-unit-converter@1.1.2/node_modules/css-unit-converter/index.js";
(function(a, u) {
  Object.defineProperty(u, "__esModule", {
    value: !0
  });
  var c = v, o = s(c);
  function s(e) {
    return e && e.__esModule ? e : { default: e };
  }
  function i(e, t, n) {
    switch (e.type) {
      case "LengthValue":
      case "AngleValue":
      case "TimeValue":
      case "FrequencyValue":
      case "ResolutionValue":
        return l(e, t, n);
      default:
        return { left: e, right: t };
    }
  }
  function l(e, t, n) {
    return t.type === e.type && (t = {
      type: e.type,
      value: (0, o.default)(t.value, t.unit, e.unit, n),
      unit: e.unit
    }), { left: e, right: t };
  }
  u.default = i, a.exports = u.default;
})(r, r.exports);
//# sourceMappingURL=convert.js.map
