var __create = Object.create;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getProtoOf = Object.getPrototypeOf;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
  // If the importer is in node compatibility mode or this is not an ESM
  // file that has been converted to a CommonJS file using a Babel-
  // compatible transform (i.e. "__esModule" has not been set), then set
  // "default" to the CommonJS "module.exports" for node compatibility.
  isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
  mod
));
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/date-picker/constants.ts
var constants_exports = {};
__export(constants_exports, {
  presetDetailMap: () => presetDetailMap
});
module.exports = __toCommonJS(constants_exports);
var import_dayjs = __toESM(require("dayjs"));
var import_locales = require("../../locales");
var presetDetailMap = {
  today: {
    getValue: () => (0, import_dayjs.default)().startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-today")
  },
  yesterday: {
    getValue: () => (0, import_dayjs.default)().add(-1, "d").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-yesterday")
  },
  tomorrow: {
    getValue: () => (0, import_dayjs.default)().add(1, "d").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-tomorrow")
  },
  next_monday: {
    getValue: () => (0, import_dayjs.default)().startOf("week").add(8, "day").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-next_monday")
  },
  last_friday: {
    getValue: () => (0, import_dayjs.default)().subtract(1, "week").startOf("week").add(5, "day").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-last_friday")
  },
  first_day_of_this_month: {
    getValue: () => (0, import_dayjs.default)().startOf("month").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-first_day_of_this_month")
  },
  last_day_of_this_month: {
    getValue: () => (0, import_dayjs.default)().endOf("month").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-last_day_of_this_month")
  },
  first_day_of_next_month: {
    getValue: () => (0, import_dayjs.default)().endOf("month").add(1, "day").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-first_day_of_next_month")
  },
  last_day_of_last_month: {
    getValue: () => (0, import_dayjs.default)().startOf("month").subtract(1, "day").startOf("day"),
    label: () => (0, import_locales.getText)("date-picker-last_day_of_last_month")
  }
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  presetDetailMap
});
