1 |
- {"ast":null,"code":"'use strict';\n\nvar aCallable = require('../internals/a-callable');\nvar $TypeError = TypeError;\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};","map":{"version":3,"names":["aCallable","require","$TypeError","TypeError","PromiseCapability","C","resolve","reject","promise","$$resolve","$$reject","undefined","module","exports","f"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/core-js-pure/internals/new-promise-capability.js"],"sourcesContent":["'use strict';\nvar aCallable = require('../internals/a-callable');\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};\n"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,SAAS,GAAGC,OAAO,CAAC,yBAAyB,CAAC;AAElD,IAAIC,UAAU,GAAGC,SAAS;AAE1B,IAAIC,iBAAiB,GAAG,SAAAA,CAAUC,CAAC,EAAE;EACnC,IAAIC,OAAO,EAAEC,MAAM;EACnB,IAAI,CAACC,OAAO,GAAG,IAAIH,CAAC,CAAC,UAAUI,SAAS,EAAEC,QAAQ,EAAE;IAClD,IAAIJ,OAAO,KAAKK,SAAS,IAAIJ,MAAM,KAAKI,SAAS,EAAE,MAAM,IAAIT,UAAU,CAAC,yBAAyB,CAAC;IAClGI,OAAO,GAAGG,SAAS;IACnBF,MAAM,GAAGG,QAAQ;EACnB,CAAC,CAAC;EACF,IAAI,CAACJ,OAAO,GAAGN,SAAS,CAACM,OAAO,CAAC;EACjC,IAAI,CAACC,MAAM,GAAGP,SAAS,CAACO,MAAM,CAAC;AACjC,CAAC;;AAED;AACA;AACAK,MAAM,CAACC,OAAO,CAACC,CAAC,GAAG,UAAUT,CAAC,EAAE;EAC9B,OAAO,IAAID,iBAAiB,CAACC,CAAC,CAAC;AACjC,CAAC","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|