const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.js');
const require_assertString$1 = require('./util/assertString.js');
const require_toDate$1 = require('./toDate.js');

//#region ../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBefore.js
var require_isBefore = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/validator@13.12.0/node_modules/validator/lib/isBefore.js": ((exports, module) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	exports.default = isBefore;
	var _assertString = _interopRequireDefault(require_assertString$1.require_assertString());
	var _toDate = _interopRequireDefault(require_toDate$1.require_toDate());
	function _interopRequireDefault(obj) {
		return obj && obj.__esModule ? obj : { default: obj };
	}
	function isBefore(str) {
		var date = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : String(/* @__PURE__ */ new Date());
		(0, _assertString.default)(str);
		var comparison = (0, _toDate.default)(date);
		var original = (0, _toDate.default)(str);
		return !!(original && comparison && original < comparison);
	}
	module.exports = exports.default;
	module.exports.default = exports.default;
}) });

//#endregion
Object.defineProperty(exports, 'default', {
  enumerable: true,
  get: function () {
    return require_isBefore();
  }
});