const require_rolldown_runtime = require('../../../../../../../../../_virtual/rolldown_runtime.js');
const require_config$1 = require('../config.js');
const require_timeoutProvider$1 = require('../scheduler/timeoutProvider.js');

//#region ../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js
var require_reportUnhandledError = /* @__PURE__ */ require_rolldown_runtime.__commonJS({ "../../node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/dist/cjs/internal/util/reportUnhandledError.js": ((exports) => {
	Object.defineProperty(exports, "__esModule", { value: true });
	var config_1 = require_config$1.require_config();
	var timeoutProvider_1 = require_timeoutProvider$1.require_timeoutProvider();
	function reportUnhandledError(err) {
		timeoutProvider_1.timeoutProvider.setTimeout(function() {
			var onUnhandledError = config_1.config.onUnhandledError;
			if (onUnhandledError) onUnhandledError(err);
			else throw err;
		});
	}
	exports.reportUnhandledError = reportUnhandledError;
}) });

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