2026-07-20 16:05:17 +00:00
|
|
|
// Module ID: 1091
|
2026-07-25 08:10:48 +00:00
|
|
|
// Function ID: 12515
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: createProcessEvent
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [977, 794]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
// Module 1091 (createProcessEvent)
|
2026-07-23 10:11:24 +00:00
|
|
|
const require = arg1;
|
|
|
|
|
const dependencyMap = arg6;
|
2026-07-20 16:05:17 +00:00
|
|
|
function createProcessEvent() {
|
2026-07-23 10:11:24 +00:00
|
|
|
const self = this;
|
|
|
|
|
let c1 = false;
|
|
|
|
|
let c2 = null;
|
2026-07-20 16:05:17 +00:00
|
|
|
return (arg0) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
|
|
|
|
return _null(closure_0, undefined, undefined, function*() {
|
|
|
|
|
if (outer2_1) {
|
|
|
|
|
if (outer2_2) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const _Object = Object;
|
|
|
|
|
const _Object2 = Object;
|
2026-07-23 10:11:24 +00:00
|
|
|
outer1_0.modules = Object.assign(Object.assign({}, outer2_2), outer1_0.modules);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_0;
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
const NATIVE = self(table[0]).NATIVE;
|
|
|
|
|
outer2_2 = yield NATIVE.fetchModules();
|
|
|
|
|
outer2_1 = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
let fn = this;
|
|
|
|
|
if (this) {
|
|
|
|
|
fn = this.__awaiter;
|
|
|
|
|
}
|
|
|
|
|
if (!fn) {
|
|
|
|
|
fn = (arg0, arg1, arg2, arg3) => {
|
|
|
|
|
let _Promise = arg2;
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
|
|
|
|
let closure_1 = arg1;
|
|
|
|
|
let closure_3 = arg3;
|
2026-07-20 16:05:17 +00:00
|
|
|
if (!arg2) {
|
|
|
|
|
_Promise = Promise;
|
|
|
|
|
}
|
|
|
|
|
_Promise = new _Promise((arg0, arg1) => {
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = arg0;
|
|
|
|
|
let closure_1 = arg1;
|
2026-07-20 16:05:17 +00:00
|
|
|
function fulfilled(arg0) {
|
|
|
|
|
step(iter.next(arg0));
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let iter = function rejected(arg0) {
|
2026-07-20 16:05:17 +00:00
|
|
|
step(iter.throw(arg0));
|
|
|
|
|
};
|
|
|
|
|
function step(iter) {
|
|
|
|
|
if (iter.done) {
|
2026-07-23 10:11:24 +00:00
|
|
|
callback(iter.value);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-07-23 10:11:24 +00:00
|
|
|
(function adopt(value) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp = value;
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = value;
|
|
|
|
|
if (!(value instanceof fulfilled)) {
|
|
|
|
|
const prototype = fulfilled.prototype;
|
|
|
|
|
tmp = new fulfilled((arg0) => {
|
|
|
|
|
arg0(closure_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
2026-07-23 10:11:24 +00:00
|
|
|
})(iter.value).then(fulfilled, iter);
|
|
|
|
|
const promise = (function adopt(value) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let tmp = value;
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_0 = value;
|
|
|
|
|
if (!(value instanceof fulfilled)) {
|
|
|
|
|
const prototype = fulfilled.prototype;
|
|
|
|
|
tmp = new fulfilled((arg0) => {
|
|
|
|
|
arg0(closure_0);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
2026-07-23 10:11:24 +00:00
|
|
|
})(iter.value);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
let items = closure_1;
|
|
|
|
|
if (!closure_1) {
|
2026-07-20 16:05:17 +00:00
|
|
|
items = [];
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
iter = iter.apply(closure_0, items);
|
2026-07-20 16:05:17 +00:00
|
|
|
step(iter.next());
|
|
|
|
|
});
|
|
|
|
|
return _Promise;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
arg5.modulesLoaderIntegration = function modulesLoaderIntegration() {
|
|
|
|
|
return {
|
|
|
|
|
name: "ModulesLoader",
|
|
|
|
|
setupOnce() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
processEvent: createProcessEvent()
|
|
|
|
|
};
|
|
|
|
|
};
|