const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_isArrayLike$1 = require('../util/isArrayLike.js');
const require_isPromise$1 = require('../util/isPromise.js');
const require_isInteropObservable$1 = require('../util/isInteropObservable.js');
const require_isAsyncIterable$1 = require('../util/isAsyncIterable.js');
const require_throwUnobservableError$1 = require('../util/throwUnobservableError.js');
const require_isIterable$1 = require('../util/isIterable.js');
const require_isReadableStreamLike$1 = require('../util/isReadableStreamLike.js');
const require_scheduleObservable$1 = require('./scheduleObservable.js');
const require_schedulePromise$1 = require('./schedulePromise.js');
const require_scheduleArray$1 = require('./scheduleArray.js');
const require_scheduleIterable$1 = require('./scheduleIterable.js');
const require_scheduleAsyncIterable$1 = require('./scheduleAsyncIterable.js');
const require_scheduleReadableStreamLike$1 = require('./scheduleReadableStreamLike.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js
var require_scheduled = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/scheduled/scheduled.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var scheduleObservable_1 = require_scheduleObservable$1.require_scheduleObservable();
	var schedulePromise_1 = require_schedulePromise$1.require_schedulePromise();
	var scheduleArray_1 = require_scheduleArray$1.require_scheduleArray();
	var scheduleIterable_1 = require_scheduleIterable$1.require_scheduleIterable();
	var scheduleAsyncIterable_1 = require_scheduleAsyncIterable$1.require_scheduleAsyncIterable();
	var isInteropObservable_1 = require_isInteropObservable$1.require_isInteropObservable();
	var isPromise_1 = require_isPromise$1.require_isPromise();
	var isArrayLike_1 = require_isArrayLike$1.require_isArrayLike();
	var isIterable_1 = require_isIterable$1.require_isIterable();
	var isAsyncIterable_1 = require_isAsyncIterable$1.require_isAsyncIterable();
	var throwUnobservableError_1 = require_throwUnobservableError$1.require_throwUnobservableError();
	var isReadableStreamLike_1 = require_isReadableStreamLike$1.require_isReadableStreamLike();
	var scheduleReadableStreamLike_1 = require_scheduleReadableStreamLike$1.require_scheduleReadableStreamLike();
	function scheduled(input, scheduler) {
		if (input != null) {
			if (isInteropObservable_1.isInteropObservable(input)) return scheduleObservable_1.scheduleObservable(input, scheduler);
			if (isArrayLike_1.isArrayLike(input)) return scheduleArray_1.scheduleArray(input, scheduler);
			if (isPromise_1.isPromise(input)) return schedulePromise_1.schedulePromise(input, scheduler);
			if (isAsyncIterable_1.isAsyncIterable(input)) return scheduleAsyncIterable_1.scheduleAsyncIterable(input, scheduler);
			if (isIterable_1.isIterable(input)) return scheduleIterable_1.scheduleIterable(input, scheduler);
			if (isReadableStreamLike_1.isReadableStreamLike(input)) return scheduleReadableStreamLike_1.scheduleReadableStreamLike(input, scheduler);
		}
		throw throwUnobservableError_1.createInvalidObservableTypeError(input);
	}
	exports.scheduled = scheduled;
}) });

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