const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_async$1 = require('../scheduler/async.js');
const require_timer$1 = require('../observable/timer.js');
const require_delayWhen$1 = require('./delayWhen.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/delay.js
var require_delay = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/operators/delay.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var async_1 = require_async$1.require_async();
	var delayWhen_1 = require_delayWhen$1.require_delayWhen();
	var timer_1 = require_timer$1.require_timer();
	function delay(due, scheduler) {
		if (scheduler === void 0) scheduler = async_1.asyncScheduler;
		var duration = timer_1.timer(due, scheduler);
		return delayWhen_1.delayWhen(function() {
			return duration;
		});
	}
	exports.delay = delay;
}) });

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