// Module ID: 4586 // Function ID: 4587 // Name: allSettled // Dependencies: [4584, 1422, 540, 4587, 4590, 4593, 4660] // Module 4586 (allSettled) import callBind from "callBind"; import callBind from "callBind"; require("requirePromise")(); let closure_2 = callBind(require("getEvalledConstructor")("%Promise.all%")); let closure_3 = callBind(require("getEvalledConstructor")("%Promise.reject%")); export default function allSettled(arg0) { const self = this; if ("Object" !== self(4587)(this)) { const _TypeError = TypeError; const typeError = new TypeError("`this` value must be an object"); throw typeError; } else { return callback(this, tmp(4593)(tmp(4590)(arg0), (arg0) => { try { return promise.then((value) => ({ status: "fulfilled", value }), (reason) => ({ status: "rejected", reason })); } catch (tmp3) { return outer1_3(tmp, tmp3); } })); } };