import o from "./index-toInteger.js";
import n from "./index-toDate.js";
import i from "./index-requiredArgs.js";
function s(e, a) {
  i(2, arguments);
  var t = n(e), r = o(a);
  return isNaN(r) ? /* @__PURE__ */ new Date(NaN) : (r && t.setDate(t.getDate() + r), t);
}
export {
  s as default
};
