mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 17:54:15 +03:00
fix(es/minifier): Improve minifier (#3350)
swc_ecma_transforms_optimization: - `expr_simplifier`: Track more changes. swc_ecma_minifier: - Analyze after applying the pure optimizer. - Preserve access to a variable not in scope. - `compress`: Remove string literal if it was not a directive. - `pure/collapse_vars`: Merge vars declared in the first statement into one with initializers if `collapse_vars` and `join_vars` are enabled. - `unused`: Use `usage_count` instead of `ref_count`. - `unused`: Fix dropping rule for member expressions. - `unused`: Fix dropping rule for declarations. - `hoist_props`: Preserve exported items.
This commit is contained in:
parent
90cf073ab9
commit
68e9017376
@ -1 +1 @@
|
||||
Point();
|
||||
Point(), Point.Origin;
|
||||
|
@ -1 +1 @@
|
||||
Point();
|
||||
Point(), Point.Origin;
|
||||
|
@ -0,0 +1,7 @@
|
||||
function Point() {
|
||||
return {
|
||||
x: 0,
|
||||
y: 0
|
||||
};
|
||||
}
|
||||
Point(), Point.Origin;
|
@ -0,0 +1,7 @@
|
||||
function Point() {
|
||||
return {
|
||||
x: 0,
|
||||
y: 0
|
||||
};
|
||||
}
|
||||
Point(), Point.Origin;
|
@ -12,4 +12,4 @@ var X;
|
||||
})(X || (X = {})), new X.Y.Point(1, 1), X.Y.Point.Origin;
|
||||
class A {
|
||||
}
|
||||
(A || (A = {})).Instance = new A(), new A();
|
||||
(A || (A = {})).Instance = new A(), A.Instance, new A();
|
||||
|
@ -12,4 +12,4 @@ var X;
|
||||
})(X || (X = {})), new X.Y.Point(1, 1), X.Y.Point.Origin;
|
||||
class A {
|
||||
}
|
||||
(A || (A = {})).Instance = new A(), new A();
|
||||
(A || (A = {})).Instance = new A(), A.Instance, new A();
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,6 @@
|
||||
var union, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
||||
try {
|
||||
for(var _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
for(var union, _step, _iterator = union[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)_step.value;
|
||||
} catch (err) {
|
||||
_didIteratorError = !0, _iteratorError = err;
|
||||
} finally{
|
||||
|
@ -1,6 +1,5 @@
|
||||
var x;
|
||||
x(), x("hello");
|
||||
var C = function() {
|
||||
var x, C = function() {
|
||||
"use strict";
|
||||
!function(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||||
|
@ -1 +1 @@
|
||||
new (x());
|
||||
x.y, new (x());
|
||||
|
@ -1 +1 @@
|
||||
new (x());
|
||||
x.y, new (x());
|
||||
|
@ -1,8 +1,7 @@
|
||||
var x, E, M;
|
||||
!function(E) {
|
||||
E[E.A = 0] = "A";
|
||||
}(E || (E = {})), E.A;
|
||||
var C = function() {
|
||||
var x, E, M, C = function() {
|
||||
"use strict";
|
||||
!function(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||||
|
@ -1,8 +1,7 @@
|
||||
var E;
|
||||
(function(E) {
|
||||
E[E.A = 0] = "A";
|
||||
})(E || (E = {})), E.A, E.A;
|
||||
var C = function() {
|
||||
var E, C = function() {
|
||||
"use strict";
|
||||
!function(instance, Constructor) {
|
||||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||||
|
@ -1,5 +1,4 @@
|
||||
var x, M, M2, E;
|
||||
function fn() {}
|
||||
x = 3 = "", (function(M1) {
|
||||
var y;
|
||||
M1.y = y;
|
||||
@ -25,7 +24,4 @@ x = 3 = "", (function(M1) {
|
||||
}, fn = ()=>3
|
||||
, (function(E) {
|
||||
E[E.A = 0] = "A";
|
||||
})(E || (E = {})), E = void 0 = void 0;
|
||||
class C {
|
||||
}
|
||||
C = void 0;
|
||||
})(E || (E = {})), E = void 0 = void 0, C = void 0;
|
||||
|
@ -1,4 +1,3 @@
|
||||
function fn() {}
|
||||
x = 3 = "", (function(M1) {
|
||||
var y;
|
||||
M1.y = y;
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
return (_f = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
var fn;
|
||||
return (_f = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
return (_f = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
var fn;
|
||||
return (_f = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -23,15 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -41,11 +32,11 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
export { };
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -248,8 +215,8 @@ var M, C = function() {
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -260,7 +227,7 @@ var M, C = function() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
export { };
|
||||
|
@ -23,15 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -41,11 +32,11 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
export { };
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -248,8 +215,8 @@ var M, C = function() {
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -260,7 +227,7 @@ var M, C = function() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
export { };
|
||||
|
@ -23,15 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -41,11 +32,11 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
export { };
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -248,8 +215,8 @@ var M, C = function() {
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -260,7 +227,7 @@ var M, C = function() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
export { };
|
||||
|
@ -23,23 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(function*() {
|
||||
block: {
|
||||
yield 1;
|
||||
break block;
|
||||
}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -49,10 +32,10 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -247,24 +214,9 @@ var M, C = function() {
|
||||
}
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.next = 2, 1;
|
||||
case 2:
|
||||
return _ctx.abrupt("break", 3);
|
||||
case 3:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -275,6 +227,6 @@ function _f14() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
|
@ -23,23 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(function*() {
|
||||
block: {
|
||||
yield 1;
|
||||
break block;
|
||||
}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -49,10 +32,10 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -247,24 +214,9 @@ var M, C = function() {
|
||||
}
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.next = 2, 1;
|
||||
case 2:
|
||||
return _ctx.abrupt("break", 3);
|
||||
case 3:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -275,6 +227,6 @@ function _f14() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
|
@ -23,23 +23,6 @@ function _asyncToGenerator(fn) {
|
||||
});
|
||||
};
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(function*() {
|
||||
block: {
|
||||
yield 1;
|
||||
break block;
|
||||
}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), _asyncToGenerator(function*() {
|
||||
@ -49,10 +32,10 @@ _asyncToGenerator(function*() {}), _asyncToGenerator(function*() {}), _asyncToGe
|
||||
}), _asyncToGenerator(function*() {
|
||||
return p;
|
||||
}), (function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(function*() {})).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
})(M || (M = {}));
|
||||
|
@ -29,39 +29,6 @@ function _defineProperties(target, props) {
|
||||
descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
|
||||
}
|
||||
}
|
||||
function _f0() {
|
||||
return (_f0 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _f3() {
|
||||
return (_f3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
_asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
@ -247,24 +214,9 @@ var M, C = function() {
|
||||
}
|
||||
], protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
function _f14() {
|
||||
return (_f14 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.next = 2, 1;
|
||||
case 2:
|
||||
return _ctx.abrupt("break", 3);
|
||||
case 3:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
!function(M1) {
|
||||
function _f11() {
|
||||
return (_f11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
function _f1() {
|
||||
return (_f1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
@ -275,6 +227,6 @@ function _f14() {
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
M1.f1 = function() {
|
||||
return _f11.apply(this, arguments);
|
||||
return _f1.apply(this, arguments);
|
||||
};
|
||||
}(M || (M = {}));
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
return (_await = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
var fn;
|
||||
return (_await = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
return (_await = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
var fn;
|
||||
return (_await = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
return (_await = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _await() {
|
||||
var fn;
|
||||
return (_await = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,35 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,35 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,35 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,36 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.abrupt("return");
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,36 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.abrupt("return");
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,36 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.abrupt("return");
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
return (_foo = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _foo() {
|
||||
var fn;
|
||||
return (_foo = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,13 +1,4 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _defineProperties(target, props) {
|
||||
for(var i = 0; i < props.length; i++){
|
||||
var descriptor = props[i];
|
||||
@ -22,39 +13,10 @@ var C = function() {
|
||||
if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
|
||||
}(this, C);
|
||||
}
|
||||
return Constructor = C, protoProps = [
|
||||
return protoProps = [
|
||||
{
|
||||
key: "method",
|
||||
value: function() {
|
||||
var other = function() {};
|
||||
function _fn() {
|
||||
var fn;
|
||||
return (_fn = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var _args = arguments;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.next = 2, other.apply(this, _args);
|
||||
case 2:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee, this);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
}
|
||||
value: function() {}
|
||||
}
|
||||
], _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
], _defineProperties((Constructor = C).prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), C;
|
||||
}();
|
||||
|
@ -69,7 +69,7 @@ function _wrapNativeSuper(Class) {
|
||||
}), _setPrototypeOf(Wrapper, Class);
|
||||
}, _wrapNativeSuper(Class);
|
||||
}
|
||||
export var _typeof, Task = function(Promise) {
|
||||
export var Task = function(Promise) {
|
||||
"use strict";
|
||||
!function(subClass, superClass) {
|
||||
if ("function" != typeof superClass && null !== superClass) throw new TypeError("Super expression must either be null or a function");
|
||||
|
@ -69,7 +69,7 @@ function _wrapNativeSuper(Class) {
|
||||
}), _setPrototypeOf(Wrapper, Class);
|
||||
}, _wrapNativeSuper(Class);
|
||||
}
|
||||
export var _typeof, Task = function(Promise) {
|
||||
export var Task = function(Promise) {
|
||||
"use strict";
|
||||
!function(subClass, superClass) {
|
||||
if ("function" != typeof superClass && null !== superClass) throw new TypeError("Super expression must either be null or a function");
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
return (_f = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
var fn;
|
||||
return (_f = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
return (_f = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {})).apply(this, arguments);
|
||||
}
|
@ -1,34 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _f() {
|
||||
var fn;
|
||||
return (_f = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
"use strict";
|
||||
yield p;
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,46 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
"use strict";
|
||||
return _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0;
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
"use strict";
|
||||
yield p;
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,46 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
"use strict";
|
||||
return _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0;
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,29 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
"use strict";
|
||||
yield p;
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,46 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
"use strict";
|
||||
return _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0;
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,218 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _asyncToGenerator(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
}
|
||||
function _extends() {
|
||||
return (_extends = Object.assign || function(target) {
|
||||
for(var i = 1; i < arguments.length; i++){
|
||||
var source = arguments[i];
|
||||
for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
|
||||
}
|
||||
return target;
|
||||
}).apply(this, arguments);
|
||||
}
|
||||
function _fn1() {
|
||||
return (_fn1 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn2() {
|
||||
return (_fn2 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn3() {
|
||||
return (_fn3 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn4() {
|
||||
return (_fn4 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn5() {
|
||||
return (_fn5 = _asyncToGenerator(function*(x) {
|
||||
var { x } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn6() {
|
||||
return (_fn6 = _asyncToGenerator(function*(x) {
|
||||
var { x , z } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn7() {
|
||||
return (_fn7 = _asyncToGenerator(function*(x) {
|
||||
var { x =y } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn8() {
|
||||
return (_fn8 = _asyncToGenerator(function*(x) {
|
||||
var { z: x } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn9() {
|
||||
return (_fn9 = _asyncToGenerator(function*(x) {
|
||||
var { z: { x } } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn10() {
|
||||
return (_fn10 = _asyncToGenerator(function*(x) {
|
||||
var { z: { x } = y } = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn11() {
|
||||
return (_fn11 = _asyncToGenerator(function*(x) {
|
||||
_extends({}, y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn12() {
|
||||
return (_fn12 = _asyncToGenerator(function*(x) {
|
||||
var [x] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn13() {
|
||||
return (_fn13 = _asyncToGenerator(function*(x) {
|
||||
var [x = y] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn14() {
|
||||
return (_fn14 = _asyncToGenerator(function*(x) {
|
||||
var [, x] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn15() {
|
||||
return (_fn15 = _asyncToGenerator(function*(x) {
|
||||
var [...x] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn16() {
|
||||
return (_fn16 = _asyncToGenerator(function*(x) {
|
||||
var [[x]] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn17() {
|
||||
return (_fn17 = _asyncToGenerator(function*(x) {
|
||||
var [[x] = y] = y;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn18() {
|
||||
return (_fn18 = _asyncToGenerator(function*({ x }) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn19() {
|
||||
return (_fn19 = _asyncToGenerator(function*([x]) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn20() {
|
||||
return (_fn20 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn21() {
|
||||
return (_fn21 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn22() {
|
||||
return (_fn22 = _asyncToGenerator(function*(x) {})).apply(this, arguments);
|
||||
}
|
||||
function _fn23() {
|
||||
return (_fn23 = _asyncToGenerator(function*(x) {
|
||||
try {} catch (e) {}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn24() {
|
||||
return (_fn24 = _asyncToGenerator(function*(x) {
|
||||
try {} catch (e) {}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn25() {
|
||||
return (_fn25 = _asyncToGenerator(function*(x) {
|
||||
try {} catch (x1) {}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn26() {
|
||||
return (_fn26 = _asyncToGenerator(function*(x) {
|
||||
try {} catch ({ x: x2 }) {}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn27() {
|
||||
return (_fn27 = _asyncToGenerator(function*(x) {
|
||||
try {} finally{}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn28() {
|
||||
return (_fn28 = _asyncToGenerator(function*(x) {
|
||||
for(; y;);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn29() {
|
||||
return (_fn29 = _asyncToGenerator(function*(x) {
|
||||
do ;
|
||||
while (y)
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn30() {
|
||||
return (_fn30 = _asyncToGenerator(function*(x) {
|
||||
for(;;);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn31() {
|
||||
return (_fn31 = _asyncToGenerator(function*(x) {
|
||||
for(var { x } = y;;);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn32() {
|
||||
return (_fn32 = _asyncToGenerator(function*(x) {
|
||||
for(;;);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn33() {
|
||||
return (_fn33 = _asyncToGenerator(function*(x) {
|
||||
for(var x in y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn34() {
|
||||
return (_fn34 = _asyncToGenerator(function*(x) {
|
||||
for(var z in y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn35() {
|
||||
return (_fn35 = _asyncToGenerator(function*(x) {
|
||||
for (var x of y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn36() {
|
||||
return (_fn36 = _asyncToGenerator(function*(x) {
|
||||
for (var { x } of y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn37() {
|
||||
return (_fn37 = _asyncToGenerator(function*(x) {
|
||||
for (var z of y);
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn38() {
|
||||
return (_fn38 = _asyncToGenerator(function*(x) {
|
||||
switch(y){
|
||||
case y:
|
||||
}
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn39() {
|
||||
return (_fn39 = _asyncToGenerator(function*(x) {
|
||||
foo: break foo;
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
function _fn40() {
|
||||
return (_fn40 = _asyncToGenerator(function*(x) {
|
||||
try {} catch (e) {}
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,708 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function _arrayLikeToArray(arr, len) {
|
||||
(null == len || len > arr.length) && (len = arr.length);
|
||||
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
||||
return arr2;
|
||||
}
|
||||
function _arrayWithHoles(arr) {
|
||||
if (Array.isArray(arr)) return arr;
|
||||
}
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _asyncToGenerator(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
}
|
||||
function _extends() {
|
||||
return (_extends = Object.assign || function(target) {
|
||||
for(var i = 1; i < arguments.length; i++){
|
||||
var source = arguments[i];
|
||||
for(var key in source)Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
|
||||
}
|
||||
return target;
|
||||
}).apply(this, arguments);
|
||||
}
|
||||
function _nonIterableRest() {
|
||||
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
||||
}
|
||||
function _slicedToArray(arr, i) {
|
||||
return _arrayWithHoles(arr) || (function(arr, i) {
|
||||
var _s, _e, _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
||||
if (null != _i) {
|
||||
var _arr = [], _n = !0, _d = !1;
|
||||
try {
|
||||
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !i || _arr.length !== i); _n = !0);
|
||||
} catch (err) {
|
||||
_d = !0, _e = err;
|
||||
} finally{
|
||||
try {
|
||||
_n || null == _i.return || _i.return();
|
||||
} finally{
|
||||
if (_d) throw _e;
|
||||
}
|
||||
}
|
||||
return _arr;
|
||||
}
|
||||
})(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
||||
}
|
||||
function _toArray(arr) {
|
||||
return _arrayWithHoles(arr) || (function(iter) {
|
||||
if ("undefined" != typeof Symbol && null != iter[Symbol.iterator] || null != iter["@@iterator"]) return Array.from(iter);
|
||||
})(arr) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
||||
}
|
||||
function _unsupportedIterableToArray(o, minLen) {
|
||||
if (o) {
|
||||
if ("string" == typeof o) return _arrayLikeToArray(o, minLen);
|
||||
var n = Object.prototype.toString.call(o).slice(8, -1);
|
||||
if ("Object" === n && o.constructor && (n = o.constructor.name), "Map" === n || "Set" === n) return Array.from(n);
|
||||
if ("Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
||||
}
|
||||
}
|
||||
function _fn1() {
|
||||
return (_fn1 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn2() {
|
||||
return (_fn2 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn3() {
|
||||
return (_fn3 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn4() {
|
||||
return (_fn4 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = y;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn5() {
|
||||
return (_fn5 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = y.x;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn6() {
|
||||
return (_fn6 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x, z;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = y.x, z = y.z;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn7() {
|
||||
return (_fn7 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _x, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = void 0 === (_x = y.x) ? y : _x;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn8() {
|
||||
return (_fn8 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = y.z;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn9() {
|
||||
return (_fn9 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = y.z.x;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn10() {
|
||||
return (_fn10 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var tmp, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = (void 0 === (tmp = y.z) ? y : tmp).x;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn11() {
|
||||
return (_fn11 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = _extends({}, y);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn12() {
|
||||
return (_fn12 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = (_y = _slicedToArray(y, 1))[0];
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn13() {
|
||||
return (_fn13 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, tmp, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = void 0 === (tmp = (_y = _slicedToArray(y, 1))[0]) ? y : tmp;
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn14() {
|
||||
return (_fn14 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = (_y = _slicedToArray(y, 2))[1];
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn15() {
|
||||
return (_fn15 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = (_y = _toArray(y)).slice(0);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn16() {
|
||||
return (_fn16 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, ref, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
_y = _slicedToArray(y, 1), ref = _slicedToArray(_y[0], 1), x = ref[0];
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn17() {
|
||||
return (_fn17 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _y, tmp, ref, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
tmp = (_y = _slicedToArray(y, 1))[0], ref = _slicedToArray(void 0 === tmp ? y : tmp, 1), x = ref[0];
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn18() {
|
||||
return (_fn18 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(param) {
|
||||
var x, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = param.x;
|
||||
case 2:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn19() {
|
||||
return (_fn19 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(param) {
|
||||
var _param, x, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
x = (_param = _slicedToArray(param, 1))[0];
|
||||
case 2:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn20() {
|
||||
return (_fn20 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn21() {
|
||||
return (_fn21 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn22() {
|
||||
return (_fn22 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn23() {
|
||||
return (_fn23 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} catch (e) {}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn24() {
|
||||
return (_fn24 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} catch (e) {}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn25() {
|
||||
return (_fn25 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} catch (x) {}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn26() {
|
||||
return (_fn26 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x1, x1;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} catch (param) {
|
||||
x1 = param.x;
|
||||
}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn27() {
|
||||
return (_fn27 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} finally{}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn28() {
|
||||
return (_fn28 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(; y;);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn29() {
|
||||
return (_fn29 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
do ;
|
||||
while (y)
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn30() {
|
||||
return (_fn30 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(x = y;;);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn31() {
|
||||
return (_fn31 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(x = y.x;;);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn32() {
|
||||
return (_fn32 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(;;);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn33() {
|
||||
return (_fn33 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(x in y);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn34() {
|
||||
return (_fn34 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var z;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(z in y);
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn35() {
|
||||
return (_fn35 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(_iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0, _ctx.prev = 1, _iterator = y[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)x = _step.value;
|
||||
_ctx.next = 9;
|
||||
break;
|
||||
case 5:
|
||||
_ctx.prev = 5, _ctx.t0 = _ctx.catch(1), _didIteratorError = !0, _iteratorError = _ctx.t0;
|
||||
case 9:
|
||||
_ctx.prev = 9, _ctx.prev = 10, _iteratorNormalCompletion || null == _iterator.return || _iterator.return();
|
||||
case 12:
|
||||
if (_ctx.prev = 12, !_didIteratorError) {
|
||||
_ctx.next = 15;
|
||||
break;
|
||||
}
|
||||
throw _iteratorError;
|
||||
case 15:
|
||||
return _ctx.finish(12);
|
||||
case 16:
|
||||
return _ctx.finish(9);
|
||||
case 17:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee, null, [
|
||||
[
|
||||
1,
|
||||
5,
|
||||
9,
|
||||
17
|
||||
],
|
||||
[
|
||||
10,
|
||||
,
|
||||
12,
|
||||
16
|
||||
]
|
||||
]);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn36() {
|
||||
return (_fn36 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, x;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(_iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0, _ctx.prev = 1, _iterator = y[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)x = _step.value.x;
|
||||
_ctx.next = 9;
|
||||
break;
|
||||
case 5:
|
||||
_ctx.prev = 5, _ctx.t0 = _ctx.catch(1), _didIteratorError = !0, _iteratorError = _ctx.t0;
|
||||
case 9:
|
||||
_ctx.prev = 9, _ctx.prev = 10, _iteratorNormalCompletion || null == _iterator.return || _iterator.return();
|
||||
case 12:
|
||||
if (_ctx.prev = 12, !_didIteratorError) {
|
||||
_ctx.next = 15;
|
||||
break;
|
||||
}
|
||||
throw _iteratorError;
|
||||
case 15:
|
||||
return _ctx.finish(12);
|
||||
case 16:
|
||||
return _ctx.finish(9);
|
||||
case 17:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee, null, [
|
||||
[
|
||||
1,
|
||||
5,
|
||||
9,
|
||||
17
|
||||
],
|
||||
[
|
||||
10,
|
||||
,
|
||||
12,
|
||||
16
|
||||
]
|
||||
]);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn37() {
|
||||
return (_fn37 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, z;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
for(_iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0, _ctx.prev = 1, _iterator = y[Symbol.iterator](); !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0)z = _step.value;
|
||||
_ctx.next = 9;
|
||||
break;
|
||||
case 5:
|
||||
_ctx.prev = 5, _ctx.t0 = _ctx.catch(1), _didIteratorError = !0, _iteratorError = _ctx.t0;
|
||||
case 9:
|
||||
_ctx.prev = 9, _ctx.prev = 10, _iteratorNormalCompletion || null == _iterator.return || _iterator.return();
|
||||
case 12:
|
||||
if (_ctx.prev = 12, !_didIteratorError) {
|
||||
_ctx.next = 15;
|
||||
break;
|
||||
}
|
||||
throw _iteratorError;
|
||||
case 15:
|
||||
return _ctx.finish(12);
|
||||
case 16:
|
||||
return _ctx.finish(9);
|
||||
case 17:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee, null, [
|
||||
[
|
||||
1,
|
||||
5,
|
||||
9,
|
||||
17
|
||||
],
|
||||
[
|
||||
10,
|
||||
,
|
||||
12,
|
||||
16
|
||||
]
|
||||
]);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn38() {
|
||||
return (_fn38 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
switch(y){
|
||||
case y:
|
||||
}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn39() {
|
||||
return (_fn39 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return _ctx.abrupt("break", 2);
|
||||
case 2:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
function _fn40() {
|
||||
return (_fn40 = _asyncToGenerator(regeneratorRuntime.mark(function _callee(x) {
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
try {} catch (e) {}
|
||||
case 1:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}))).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, _ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, !_ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, !_ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,45 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
if (_ctx.t0 = _ctx.sent, !_ctx.t0) {
|
||||
_ctx.next = 6;
|
||||
break;
|
||||
}
|
||||
_ctx.t0 = a;
|
||||
case 6:
|
||||
b = _ctx.t0, after();
|
||||
case 8:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.t0 = _ctx.sent, _ctx.t1 = a, b = _ctx.t0 + _ctx.t1, after();
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.t0 = _ctx.sent, _ctx.t1 = a, b = _ctx.t0 + _ctx.t1, after();
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.t0 = _ctx.sent, _ctx.t1 = a, b = _ctx.t0 + _ctx.t1, after();
|
||||
case 7:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.sent, b = a, after();
|
||||
case 5:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.sent, b = a, after();
|
||||
case 5:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
return (_func = (function(fn) {
|
||||
return function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
};
|
||||
})(function*() {
|
||||
before(), yield p, after();
|
||||
})).apply(this, arguments);
|
||||
}
|
@ -1,39 +1 @@
|
||||
import regeneratorRuntime from "regenerator-runtime";
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
||||
try {
|
||||
var info = gen[key](arg), value = info.value;
|
||||
} catch (error) {
|
||||
reject(error);
|
||||
return;
|
||||
}
|
||||
info.done ? resolve(value) : Promise.resolve(value).then(_next, _throw);
|
||||
}
|
||||
function _func() {
|
||||
var fn;
|
||||
return (_func = (fn = regeneratorRuntime.mark(function _callee() {
|
||||
var b;
|
||||
return regeneratorRuntime.wrap(function(_ctx) {
|
||||
for(;;)switch(_ctx.prev = _ctx.next){
|
||||
case 0:
|
||||
return before(), _ctx.next = 3, p;
|
||||
case 3:
|
||||
_ctx.sent, b = a, after();
|
||||
case 5:
|
||||
case "end":
|
||||
return _ctx.stop();
|
||||
}
|
||||
}, _callee);
|
||||
}), function() {
|
||||
var self = this, args = arguments;
|
||||
return new Promise(function(resolve, reject) {
|
||||
var gen = fn.apply(self, args);
|
||||
function _next(value) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
||||
}
|
||||
function _throw(err) {
|
||||
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
||||
}
|
||||
_next(void 0);
|
||||
});
|
||||
})).apply(this, arguments);
|
||||
}
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user