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