@valbuild/next 0.21.2 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,304 +27,304 @@ function _interopNamespace(e) {
27
27
 
28
28
  function _regeneratorRuntime() {
29
29
  _regeneratorRuntime = function () {
30
- return exports;
30
+ return e;
31
31
  };
32
- var exports = {},
33
- Op = Object.prototype,
34
- hasOwn = Op.hasOwnProperty,
35
- defineProperty = Object.defineProperty || function (obj, key, desc) {
36
- obj[key] = desc.value;
32
+ var t,
33
+ e = {},
34
+ r = Object.prototype,
35
+ n = r.hasOwnProperty,
36
+ o = Object.defineProperty || function (t, e, r) {
37
+ t[e] = r.value;
37
38
  },
38
- $Symbol = "function" == typeof Symbol ? Symbol : {},
39
- iteratorSymbol = $Symbol.iterator || "@@iterator",
40
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
41
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
42
- function define(obj, key, value) {
43
- return Object.defineProperty(obj, key, {
44
- value: value,
39
+ i = "function" == typeof Symbol ? Symbol : {},
40
+ a = i.iterator || "@@iterator",
41
+ c = i.asyncIterator || "@@asyncIterator",
42
+ u = i.toStringTag || "@@toStringTag";
43
+ function define(t, e, r) {
44
+ return Object.defineProperty(t, e, {
45
+ value: r,
45
46
  enumerable: !0,
46
47
  configurable: !0,
47
48
  writable: !0
48
- }), obj[key];
49
+ }), t[e];
49
50
  }
50
51
  try {
51
52
  define({}, "");
52
- } catch (err) {
53
- define = function (obj, key, value) {
54
- return obj[key] = value;
53
+ } catch (t) {
54
+ define = function (t, e, r) {
55
+ return t[e] = r;
55
56
  };
56
57
  }
57
- function wrap(innerFn, outerFn, self, tryLocsList) {
58
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
59
- generator = Object.create(protoGenerator.prototype),
60
- context = new Context(tryLocsList || []);
61
- return defineProperty(generator, "_invoke", {
62
- value: makeInvokeMethod(innerFn, self, context)
63
- }), generator;
58
+ function wrap(t, e, r, n) {
59
+ var i = e && e.prototype instanceof Generator ? e : Generator,
60
+ a = Object.create(i.prototype),
61
+ c = new Context(n || []);
62
+ return o(a, "_invoke", {
63
+ value: makeInvokeMethod(t, r, c)
64
+ }), a;
64
65
  }
65
- function tryCatch(fn, obj, arg) {
66
+ function tryCatch(t, e, r) {
66
67
  try {
67
68
  return {
68
69
  type: "normal",
69
- arg: fn.call(obj, arg)
70
+ arg: t.call(e, r)
70
71
  };
71
- } catch (err) {
72
+ } catch (t) {
72
73
  return {
73
74
  type: "throw",
74
- arg: err
75
+ arg: t
75
76
  };
76
77
  }
77
78
  }
78
- exports.wrap = wrap;
79
- var ContinueSentinel = {};
79
+ e.wrap = wrap;
80
+ var h = "suspendedStart",
81
+ l = "suspendedYield",
82
+ f = "executing",
83
+ s = "completed",
84
+ y = {};
80
85
  function Generator() {}
81
86
  function GeneratorFunction() {}
82
87
  function GeneratorFunctionPrototype() {}
83
- var IteratorPrototype = {};
84
- define(IteratorPrototype, iteratorSymbol, function () {
88
+ var p = {};
89
+ define(p, a, function () {
85
90
  return this;
86
91
  });
87
- var getProto = Object.getPrototypeOf,
88
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
89
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
90
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
91
- function defineIteratorMethods(prototype) {
92
- ["next", "throw", "return"].forEach(function (method) {
93
- define(prototype, method, function (arg) {
94
- return this._invoke(method, arg);
92
+ var d = Object.getPrototypeOf,
93
+ v = d && d(d(values([])));
94
+ v && v !== r && n.call(v, a) && (p = v);
95
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
96
+ function defineIteratorMethods(t) {
97
+ ["next", "throw", "return"].forEach(function (e) {
98
+ define(t, e, function (t) {
99
+ return this._invoke(e, t);
95
100
  });
96
101
  });
97
102
  }
98
- function AsyncIterator(generator, PromiseImpl) {
99
- function invoke(method, arg, resolve, reject) {
100
- var record = tryCatch(generator[method], generator, arg);
101
- if ("throw" !== record.type) {
102
- var result = record.arg,
103
- value = result.value;
104
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
105
- invoke("next", value, resolve, reject);
106
- }, function (err) {
107
- invoke("throw", err, resolve, reject);
108
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
109
- result.value = unwrapped, resolve(result);
110
- }, function (error) {
111
- return invoke("throw", error, resolve, reject);
103
+ function AsyncIterator(t, e) {
104
+ function invoke(r, o, i, a) {
105
+ var c = tryCatch(t[r], t, o);
106
+ if ("throw" !== c.type) {
107
+ var u = c.arg,
108
+ h = u.value;
109
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
110
+ invoke("next", t, i, a);
111
+ }, function (t) {
112
+ invoke("throw", t, i, a);
113
+ }) : e.resolve(h).then(function (t) {
114
+ u.value = t, i(u);
115
+ }, function (t) {
116
+ return invoke("throw", t, i, a);
112
117
  });
113
118
  }
114
- reject(record.arg);
119
+ a(c.arg);
115
120
  }
116
- var previousPromise;
117
- defineProperty(this, "_invoke", {
118
- value: function (method, arg) {
121
+ var r;
122
+ o(this, "_invoke", {
123
+ value: function (t, n) {
119
124
  function callInvokeWithMethodAndArg() {
120
- return new PromiseImpl(function (resolve, reject) {
121
- invoke(method, arg, resolve, reject);
125
+ return new e(function (e, r) {
126
+ invoke(t, n, e, r);
122
127
  });
123
128
  }
124
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
129
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
125
130
  }
126
131
  });
127
132
  }
128
- function makeInvokeMethod(innerFn, self, context) {
129
- var state = "suspendedStart";
130
- return function (method, arg) {
131
- if ("executing" === state) throw new Error("Generator is already running");
132
- if ("completed" === state) {
133
- if ("throw" === method) throw arg;
134
- return doneResult();
133
+ function makeInvokeMethod(e, r, n) {
134
+ var o = h;
135
+ return function (i, a) {
136
+ if (o === f) throw new Error("Generator is already running");
137
+ if (o === s) {
138
+ if ("throw" === i) throw a;
139
+ return {
140
+ value: t,
141
+ done: !0
142
+ };
135
143
  }
136
- for (context.method = method, context.arg = arg;;) {
137
- var delegate = context.delegate;
138
- if (delegate) {
139
- var delegateResult = maybeInvokeDelegate(delegate, context);
140
- if (delegateResult) {
141
- if (delegateResult === ContinueSentinel) continue;
142
- return delegateResult;
144
+ for (n.method = i, n.arg = a;;) {
145
+ var c = n.delegate;
146
+ if (c) {
147
+ var u = maybeInvokeDelegate(c, n);
148
+ if (u) {
149
+ if (u === y) continue;
150
+ return u;
143
151
  }
144
152
  }
145
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
146
- if ("suspendedStart" === state) throw state = "completed", context.arg;
147
- context.dispatchException(context.arg);
148
- } else "return" === context.method && context.abrupt("return", context.arg);
149
- state = "executing";
150
- var record = tryCatch(innerFn, self, context);
151
- if ("normal" === record.type) {
152
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
153
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
154
+ if (o === h) throw o = s, n.arg;
155
+ n.dispatchException(n.arg);
156
+ } else "return" === n.method && n.abrupt("return", n.arg);
157
+ o = f;
158
+ var p = tryCatch(e, r, n);
159
+ if ("normal" === p.type) {
160
+ if (o = n.done ? s : l, p.arg === y) continue;
153
161
  return {
154
- value: record.arg,
155
- done: context.done
162
+ value: p.arg,
163
+ done: n.done
156
164
  };
157
165
  }
158
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
166
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
159
167
  }
160
168
  };
161
169
  }
162
- function maybeInvokeDelegate(delegate, context) {
163
- var methodName = context.method,
164
- method = delegate.iterator[methodName];
165
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
166
- var record = tryCatch(method, delegate.iterator, context.arg);
167
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
168
- var info = record.arg;
169
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
170
+ function maybeInvokeDelegate(e, r) {
171
+ var n = r.method,
172
+ o = e.iterator[n];
173
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
174
+ var i = tryCatch(o, e.iterator, r.arg);
175
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
176
+ var a = i.arg;
177
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
170
178
  }
171
- function pushTryEntry(locs) {
172
- var entry = {
173
- tryLoc: locs[0]
179
+ function pushTryEntry(t) {
180
+ var e = {
181
+ tryLoc: t[0]
174
182
  };
175
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
183
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
176
184
  }
177
- function resetTryEntry(entry) {
178
- var record = entry.completion || {};
179
- record.type = "normal", delete record.arg, entry.completion = record;
185
+ function resetTryEntry(t) {
186
+ var e = t.completion || {};
187
+ e.type = "normal", delete e.arg, t.completion = e;
180
188
  }
181
- function Context(tryLocsList) {
189
+ function Context(t) {
182
190
  this.tryEntries = [{
183
191
  tryLoc: "root"
184
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
192
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
185
193
  }
186
- function values(iterable) {
187
- if (iterable) {
188
- var iteratorMethod = iterable[iteratorSymbol];
189
- if (iteratorMethod) return iteratorMethod.call(iterable);
190
- if ("function" == typeof iterable.next) return iterable;
191
- if (!isNaN(iterable.length)) {
192
- var i = -1,
193
- next = function next() {
194
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
195
- return next.value = undefined, next.done = !0, next;
194
+ function values(e) {
195
+ if (e || "" === e) {
196
+ var r = e[a];
197
+ if (r) return r.call(e);
198
+ if ("function" == typeof e.next) return e;
199
+ if (!isNaN(e.length)) {
200
+ var o = -1,
201
+ i = function next() {
202
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
203
+ return next.value = t, next.done = !0, next;
196
204
  };
197
- return next.next = next;
205
+ return i.next = i;
198
206
  }
199
207
  }
200
- return {
201
- next: doneResult
202
- };
203
- }
204
- function doneResult() {
205
- return {
206
- value: undefined,
207
- done: !0
208
- };
208
+ throw new TypeError(typeof e + " is not iterable");
209
209
  }
210
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
210
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
211
211
  value: GeneratorFunctionPrototype,
212
212
  configurable: !0
213
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
213
+ }), o(GeneratorFunctionPrototype, "constructor", {
214
214
  value: GeneratorFunction,
215
215
  configurable: !0
216
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
217
- var ctor = "function" == typeof genFun && genFun.constructor;
218
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
219
- }, exports.mark = function (genFun) {
220
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
221
- }, exports.awrap = function (arg) {
216
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
217
+ var e = "function" == typeof t && t.constructor;
218
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
219
+ }, e.mark = function (t) {
220
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
221
+ }, e.awrap = function (t) {
222
222
  return {
223
- __await: arg
223
+ __await: t
224
224
  };
225
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
225
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
226
226
  return this;
227
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
228
- void 0 === PromiseImpl && (PromiseImpl = Promise);
229
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
230
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
231
- return result.done ? result.value : iter.next();
227
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
228
+ void 0 === i && (i = Promise);
229
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
230
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
231
+ return t.done ? t.value : a.next();
232
232
  });
233
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
233
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
234
234
  return this;
235
- }), define(Gp, "toString", function () {
235
+ }), define(g, "toString", function () {
236
236
  return "[object Generator]";
237
- }), exports.keys = function (val) {
238
- var object = Object(val),
239
- keys = [];
240
- for (var key in object) keys.push(key);
241
- return keys.reverse(), function next() {
242
- for (; keys.length;) {
243
- var key = keys.pop();
244
- if (key in object) return next.value = key, next.done = !1, next;
237
+ }), e.keys = function (t) {
238
+ var e = Object(t),
239
+ r = [];
240
+ for (var n in e) r.push(n);
241
+ return r.reverse(), function next() {
242
+ for (; r.length;) {
243
+ var t = r.pop();
244
+ if (t in e) return next.value = t, next.done = !1, next;
245
245
  }
246
246
  return next.done = !0, next;
247
247
  };
248
- }, exports.values = values, Context.prototype = {
248
+ }, e.values = values, Context.prototype = {
249
249
  constructor: Context,
250
- reset: function (skipTempReset) {
251
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
250
+ reset: function (e) {
251
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
252
252
  },
253
253
  stop: function () {
254
254
  this.done = !0;
255
- var rootRecord = this.tryEntries[0].completion;
256
- if ("throw" === rootRecord.type) throw rootRecord.arg;
255
+ var t = this.tryEntries[0].completion;
256
+ if ("throw" === t.type) throw t.arg;
257
257
  return this.rval;
258
258
  },
259
- dispatchException: function (exception) {
260
- if (this.done) throw exception;
261
- var context = this;
262
- function handle(loc, caught) {
263
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
259
+ dispatchException: function (e) {
260
+ if (this.done) throw e;
261
+ var r = this;
262
+ function handle(n, o) {
263
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
264
264
  }
265
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
266
- var entry = this.tryEntries[i],
267
- record = entry.completion;
268
- if ("root" === entry.tryLoc) return handle("end");
269
- if (entry.tryLoc <= this.prev) {
270
- var hasCatch = hasOwn.call(entry, "catchLoc"),
271
- hasFinally = hasOwn.call(entry, "finallyLoc");
272
- if (hasCatch && hasFinally) {
273
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
274
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
275
- } else if (hasCatch) {
276
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
265
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
266
+ var i = this.tryEntries[o],
267
+ a = i.completion;
268
+ if ("root" === i.tryLoc) return handle("end");
269
+ if (i.tryLoc <= this.prev) {
270
+ var c = n.call(i, "catchLoc"),
271
+ u = n.call(i, "finallyLoc");
272
+ if (c && u) {
273
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
274
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
275
+ } else if (c) {
276
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
277
277
  } else {
278
- if (!hasFinally) throw new Error("try statement without catch or finally");
279
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
278
+ if (!u) throw new Error("try statement without catch or finally");
279
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
280
280
  }
281
281
  }
282
282
  }
283
283
  },
284
- abrupt: function (type, arg) {
285
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
286
- var entry = this.tryEntries[i];
287
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
288
- var finallyEntry = entry;
284
+ abrupt: function (t, e) {
285
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
286
+ var o = this.tryEntries[r];
287
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
288
+ var i = o;
289
289
  break;
290
290
  }
291
291
  }
292
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
293
- var record = finallyEntry ? finallyEntry.completion : {};
294
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
292
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
293
+ var a = i ? i.completion : {};
294
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
295
295
  },
296
- complete: function (record, afterLoc) {
297
- if ("throw" === record.type) throw record.arg;
298
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
296
+ complete: function (t, e) {
297
+ if ("throw" === t.type) throw t.arg;
298
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
299
299
  },
300
- finish: function (finallyLoc) {
301
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
302
- var entry = this.tryEntries[i];
303
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
300
+ finish: function (t) {
301
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
302
+ var r = this.tryEntries[e];
303
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
304
304
  }
305
305
  },
306
- catch: function (tryLoc) {
307
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
308
- var entry = this.tryEntries[i];
309
- if (entry.tryLoc === tryLoc) {
310
- var record = entry.completion;
311
- if ("throw" === record.type) {
312
- var thrown = record.arg;
313
- resetTryEntry(entry);
306
+ catch: function (t) {
307
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
308
+ var r = this.tryEntries[e];
309
+ if (r.tryLoc === t) {
310
+ var n = r.completion;
311
+ if ("throw" === n.type) {
312
+ var o = n.arg;
313
+ resetTryEntry(r);
314
314
  }
315
- return thrown;
315
+ return o;
316
316
  }
317
317
  }
318
318
  throw new Error("illegal catch attempt");
319
319
  },
320
- delegateYield: function (iterable, resultName, nextLoc) {
320
+ delegateYield: function (e, r, n) {
321
321
  return this.delegate = {
322
- iterator: values(iterable),
323
- resultName: resultName,
324
- nextLoc: nextLoc
325
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
322
+ iterator: values(e),
323
+ resultName: r,
324
+ nextLoc: n
325
+ }, "next" === this.method && (this.arg = t), y;
326
326
  }
327
- }, exports;
327
+ }, e;
328
328
  }
329
329
 
330
330
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {