import {
  normalizeDates,
  startOfWeek
} from "./chunk-HYXLL564.js";

// node_modules/date-fns/isSameWeek.js
function isSameWeek(laterDate, earlierDate, options) {
  const [laterDate_, earlierDate_] = normalizeDates(
    options?.in,
    laterDate,
    earlierDate
  );
  return +startOfWeek(laterDate_, options) === +startOfWeek(earlierDate_, options);
}

export {
  isSameWeek
};
//# sourceMappingURL=chunk-USQ7DCVB.js.map
