tinacms-authjs 2.0.4 → 2.0.5

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.
package/dist/tinacms.js CHANGED
@@ -5,9 +5,9 @@
5
5
  var react = {};
6
6
  var interopRequireDefault = { exports: {} };
7
7
  (function(module2) {
8
- function _interopRequireDefault(obj) {
9
- return obj && obj.__esModule ? obj : {
10
- "default": obj
8
+ function _interopRequireDefault(e) {
9
+ return e && e.__esModule ? e : {
10
+ "default": e
11
11
  };
12
12
  }
13
13
  module2.exports = _interopRequireDefault, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
@@ -15,13 +15,13 @@
15
15
  var interopRequireDefaultExports = interopRequireDefault.exports;
16
16
  var _typeof = { exports: {} };
17
17
  (function(module2) {
18
- function _typeof2(obj) {
18
+ function _typeof2(o) {
19
19
  "@babel/helpers - typeof";
20
- return module2.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
21
- return typeof obj2;
22
- } : function(obj2) {
23
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
24
- }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _typeof2(obj);
20
+ return module2.exports = _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
21
+ return typeof o2;
22
+ } : function(o2) {
23
+ return o2 && "function" == typeof Symbol && o2.constructor === Symbol && o2 !== Symbol.prototype ? "symbol" : typeof o2;
24
+ }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _typeof2(o);
25
25
  }
26
26
  module2.exports = _typeof2, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
27
27
  })(_typeof);
@@ -36,319 +36,314 @@
36
36
  var _typeof2 = _typeofExports["default"];
37
37
  function _regeneratorRuntime() {
38
38
  module2.exports = _regeneratorRuntime = function _regeneratorRuntime2() {
39
- return exports3;
39
+ return e;
40
40
  }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
41
- var exports3 = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty2 = Object.defineProperty || function(obj, key, desc) {
42
- obj[key] = desc.value;
43
- }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
44
- function define2(obj, key, value) {
45
- return Object.defineProperty(obj, key, {
46
- value,
41
+ var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function(t2, e2, r2) {
42
+ t2[e2] = r2.value;
43
+ }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
44
+ function define2(t2, e2, r2) {
45
+ return Object.defineProperty(t2, e2, {
46
+ value: r2,
47
47
  enumerable: true,
48
48
  configurable: true,
49
49
  writable: true
50
- }), obj[key];
50
+ }), t2[e2];
51
51
  }
52
52
  try {
53
53
  define2({}, "");
54
- } catch (err) {
55
- define2 = function define3(obj, key, value) {
56
- return obj[key] = value;
54
+ } catch (t2) {
55
+ define2 = function define3(t3, e2, r2) {
56
+ return t3[e2] = r2;
57
57
  };
58
58
  }
59
- function wrap(innerFn, outerFn, self2, tryLocsList) {
60
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []);
61
- return defineProperty2(generator, "_invoke", {
62
- value: makeInvokeMethod(innerFn, self2, context)
63
- }), generator;
59
+ function wrap(t2, e2, r2, n2) {
60
+ var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = Object.create(i2.prototype), c2 = new Context(n2 || []);
61
+ return o(a2, "_invoke", {
62
+ value: makeInvokeMethod(t2, r2, c2)
63
+ }), a2;
64
64
  }
65
- function tryCatch(fn, obj, arg) {
65
+ function tryCatch(t2, e2, r2) {
66
66
  try {
67
67
  return {
68
68
  type: "normal",
69
- arg: fn.call(obj, arg)
69
+ arg: t2.call(e2, r2)
70
70
  };
71
- } catch (err) {
71
+ } catch (t3) {
72
72
  return {
73
73
  type: "throw",
74
- arg: err
74
+ arg: t3
75
75
  };
76
76
  }
77
77
  }
78
- exports3.wrap = wrap;
79
- var ContinueSentinel = {};
78
+ e.wrap = wrap;
79
+ var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
80
80
  function Generator() {
81
81
  }
82
82
  function GeneratorFunction() {
83
83
  }
84
84
  function GeneratorFunctionPrototype() {
85
85
  }
86
- var IteratorPrototype = {};
87
- define2(IteratorPrototype, iteratorSymbol, function() {
86
+ var p = {};
87
+ define2(p, a, function() {
88
88
  return this;
89
89
  });
90
- var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([])));
91
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
92
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
93
- function defineIteratorMethods(prototype) {
94
- ["next", "throw", "return"].forEach(function(method) {
95
- define2(prototype, method, function(arg) {
96
- return this._invoke(method, arg);
90
+ var d = Object.getPrototypeOf, v = d && d(d(values([])));
91
+ v && v !== r && n.call(v, a) && (p = v);
92
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
93
+ function defineIteratorMethods(t2) {
94
+ ["next", "throw", "return"].forEach(function(e2) {
95
+ define2(t2, e2, function(t3) {
96
+ return this._invoke(e2, t3);
97
97
  });
98
98
  });
99
99
  }
100
- function AsyncIterator(generator, PromiseImpl) {
101
- function invoke(method, arg, resolve, reject) {
102
- var record = tryCatch(generator[method], generator, arg);
103
- if ("throw" !== record.type) {
104
- var result = record.arg, value = result.value;
105
- return value && "object" == _typeof2(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function(value2) {
106
- invoke("next", value2, resolve, reject);
107
- }, function(err) {
108
- invoke("throw", err, resolve, reject);
109
- }) : PromiseImpl.resolve(value).then(function(unwrapped) {
110
- result.value = unwrapped, resolve(result);
111
- }, function(error) {
112
- return invoke("throw", error, resolve, reject);
100
+ function AsyncIterator(t2, e2) {
101
+ function invoke(r3, o2, i2, a2) {
102
+ var c2 = tryCatch(t2[r3], t2, o2);
103
+ if ("throw" !== c2.type) {
104
+ var u2 = c2.arg, h2 = u2.value;
105
+ return h2 && "object" == _typeof2(h2) && n.call(h2, "__await") ? e2.resolve(h2.__await).then(function(t3) {
106
+ invoke("next", t3, i2, a2);
107
+ }, function(t3) {
108
+ invoke("throw", t3, i2, a2);
109
+ }) : e2.resolve(h2).then(function(t3) {
110
+ u2.value = t3, i2(u2);
111
+ }, function(t3) {
112
+ return invoke("throw", t3, i2, a2);
113
113
  });
114
114
  }
115
- reject(record.arg);
115
+ a2(c2.arg);
116
116
  }
117
- var previousPromise;
118
- defineProperty2(this, "_invoke", {
119
- value: function value(method, arg) {
117
+ var r2;
118
+ o(this, "_invoke", {
119
+ value: function value(t3, n2) {
120
120
  function callInvokeWithMethodAndArg() {
121
- return new PromiseImpl(function(resolve, reject) {
122
- invoke(method, arg, resolve, reject);
121
+ return new e2(function(e3, r3) {
122
+ invoke(t3, n2, e3, r3);
123
123
  });
124
124
  }
125
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
125
+ return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
126
126
  }
127
127
  });
128
128
  }
129
- function makeInvokeMethod(innerFn, self2, context) {
130
- var state = "suspendedStart";
131
- return function(method, arg) {
132
- if ("executing" === state)
133
- throw new Error("Generator is already running");
134
- if ("completed" === state) {
135
- if ("throw" === method)
136
- throw arg;
137
- return doneResult();
138
- }
139
- for (context.method = method, context.arg = arg; ; ) {
140
- var delegate = context.delegate;
141
- if (delegate) {
142
- var delegateResult = maybeInvokeDelegate(delegate, context);
143
- if (delegateResult) {
144
- if (delegateResult === ContinueSentinel)
129
+ function makeInvokeMethod(e2, r2, n2) {
130
+ var o2 = h;
131
+ return function(i2, a2) {
132
+ if (o2 === f)
133
+ throw Error("Generator is already running");
134
+ if (o2 === s) {
135
+ if ("throw" === i2)
136
+ throw a2;
137
+ return {
138
+ value: t,
139
+ done: true
140
+ };
141
+ }
142
+ for (n2.method = i2, n2.arg = a2; ; ) {
143
+ var c2 = n2.delegate;
144
+ if (c2) {
145
+ var u2 = maybeInvokeDelegate(c2, n2);
146
+ if (u2) {
147
+ if (u2 === y)
145
148
  continue;
146
- return delegateResult;
149
+ return u2;
147
150
  }
148
151
  }
149
- if ("next" === context.method)
150
- context.sent = context._sent = context.arg;
151
- else if ("throw" === context.method) {
152
- if ("suspendedStart" === state)
153
- throw state = "completed", context.arg;
154
- context.dispatchException(context.arg);
152
+ if ("next" === n2.method)
153
+ n2.sent = n2._sent = n2.arg;
154
+ else if ("throw" === n2.method) {
155
+ if (o2 === h)
156
+ throw o2 = s, n2.arg;
157
+ n2.dispatchException(n2.arg);
155
158
  } else
156
- "return" === context.method && context.abrupt("return", context.arg);
157
- state = "executing";
158
- var record = tryCatch(innerFn, self2, context);
159
- if ("normal" === record.type) {
160
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel)
159
+ "return" === n2.method && n2.abrupt("return", n2.arg);
160
+ o2 = f;
161
+ var p2 = tryCatch(e2, r2, n2);
162
+ if ("normal" === p2.type) {
163
+ if (o2 = n2.done ? s : l, p2.arg === y)
161
164
  continue;
162
165
  return {
163
- value: record.arg,
164
- done: context.done
166
+ value: p2.arg,
167
+ done: n2.done
165
168
  };
166
169
  }
167
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
170
+ "throw" === p2.type && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
168
171
  }
169
172
  };
170
173
  }
171
- function maybeInvokeDelegate(delegate, context) {
172
- var methodName = context.method, method = delegate.iterator[methodName];
173
- if (void 0 === method)
174
- return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = void 0, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
175
- var record = tryCatch(method, delegate.iterator, context.arg);
176
- if ("throw" === record.type)
177
- return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
178
- var info = record.arg;
179
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = void 0), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
180
- }
181
- function pushTryEntry(locs) {
182
- var entry = {
183
- tryLoc: locs[0]
174
+ function maybeInvokeDelegate(e2, r2) {
175
+ var n2 = r2.method, o2 = e2.iterator[n2];
176
+ if (o2 === t)
177
+ return r2.delegate = null, "throw" === n2 && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), "throw" === r2.method) || "return" !== n2 && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
178
+ var i2 = tryCatch(o2, e2.iterator, r2.arg);
179
+ if ("throw" === i2.type)
180
+ return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
181
+ var a2 = i2.arg;
182
+ return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, "return" !== r2.method && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
183
+ }
184
+ function pushTryEntry(t2) {
185
+ var e2 = {
186
+ tryLoc: t2[0]
184
187
  };
185
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
188
+ 1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), this.tryEntries.push(e2);
186
189
  }
187
- function resetTryEntry(entry) {
188
- var record = entry.completion || {};
189
- record.type = "normal", delete record.arg, entry.completion = record;
190
+ function resetTryEntry(t2) {
191
+ var e2 = t2.completion || {};
192
+ e2.type = "normal", delete e2.arg, t2.completion = e2;
190
193
  }
191
- function Context(tryLocsList) {
194
+ function Context(t2) {
192
195
  this.tryEntries = [{
193
196
  tryLoc: "root"
194
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(true);
195
- }
196
- function values(iterable) {
197
- if (iterable) {
198
- var iteratorMethod = iterable[iteratorSymbol];
199
- if (iteratorMethod)
200
- return iteratorMethod.call(iterable);
201
- if ("function" == typeof iterable.next)
202
- return iterable;
203
- if (!isNaN(iterable.length)) {
204
- var i = -1, next = function next2() {
205
- for (; ++i < iterable.length; )
206
- if (hasOwn.call(iterable, i))
207
- return next2.value = iterable[i], next2.done = false, next2;
208
- return next2.value = void 0, next2.done = true, next2;
197
+ }], t2.forEach(pushTryEntry, this), this.reset(true);
198
+ }
199
+ function values(e2) {
200
+ if (e2 || "" === e2) {
201
+ var r2 = e2[a];
202
+ if (r2)
203
+ return r2.call(e2);
204
+ if ("function" == typeof e2.next)
205
+ return e2;
206
+ if (!isNaN(e2.length)) {
207
+ var o2 = -1, i2 = function next() {
208
+ for (; ++o2 < e2.length; )
209
+ if (n.call(e2, o2))
210
+ return next.value = e2[o2], next.done = false, next;
211
+ return next.value = t, next.done = true, next;
209
212
  };
210
- return next.next = next;
213
+ return i2.next = i2;
211
214
  }
212
215
  }
213
- return {
214
- next: doneResult
215
- };
216
+ throw new TypeError(_typeof2(e2) + " is not iterable");
216
217
  }
217
- function doneResult() {
218
- return {
219
- value: void 0,
220
- done: true
221
- };
222
- }
223
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty2(Gp, "constructor", {
218
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
224
219
  value: GeneratorFunctionPrototype,
225
220
  configurable: true
226
- }), defineProperty2(GeneratorFunctionPrototype, "constructor", {
221
+ }), o(GeneratorFunctionPrototype, "constructor", {
227
222
  value: GeneratorFunction,
228
223
  configurable: true
229
- }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports3.isGeneratorFunction = function(genFun) {
230
- var ctor = "function" == typeof genFun && genFun.constructor;
231
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
232
- }, exports3.mark = function(genFun) {
233
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define2(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
234
- }, exports3.awrap = function(arg) {
224
+ }), GeneratorFunction.displayName = define2(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
225
+ var e2 = "function" == typeof t2 && t2.constructor;
226
+ return !!e2 && (e2 === GeneratorFunction || "GeneratorFunction" === (e2.displayName || e2.name));
227
+ }, e.mark = function(t2) {
228
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define2(t2, u, "GeneratorFunction")), t2.prototype = Object.create(g), t2;
229
+ }, e.awrap = function(t2) {
235
230
  return {
236
- __await: arg
231
+ __await: t2
237
232
  };
238
- }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, asyncIteratorSymbol, function() {
233
+ }, defineIteratorMethods(AsyncIterator.prototype), define2(AsyncIterator.prototype, c, function() {
239
234
  return this;
240
- }), exports3.AsyncIterator = AsyncIterator, exports3.async = function(innerFn, outerFn, self2, tryLocsList, PromiseImpl) {
241
- void 0 === PromiseImpl && (PromiseImpl = Promise);
242
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self2, tryLocsList), PromiseImpl);
243
- return exports3.isGeneratorFunction(outerFn) ? iter : iter.next().then(function(result) {
244
- return result.done ? result.value : iter.next();
235
+ }), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
236
+ void 0 === i2 && (i2 = Promise);
237
+ var a2 = new AsyncIterator(wrap(t2, r2, n2, o2), i2);
238
+ return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
239
+ return t3.done ? t3.value : a2.next();
245
240
  });
246
- }, defineIteratorMethods(Gp), define2(Gp, toStringTagSymbol, "Generator"), define2(Gp, iteratorSymbol, function() {
241
+ }, defineIteratorMethods(g), define2(g, u, "Generator"), define2(g, a, function() {
247
242
  return this;
248
- }), define2(Gp, "toString", function() {
243
+ }), define2(g, "toString", function() {
249
244
  return "[object Generator]";
250
- }), exports3.keys = function(val) {
251
- var object = Object(val), keys = [];
252
- for (var key in object)
253
- keys.push(key);
254
- return keys.reverse(), function next() {
255
- for (; keys.length; ) {
256
- var key2 = keys.pop();
257
- if (key2 in object)
258
- return next.value = key2, next.done = false, next;
245
+ }), e.keys = function(t2) {
246
+ var e2 = Object(t2), r2 = [];
247
+ for (var n2 in e2)
248
+ r2.push(n2);
249
+ return r2.reverse(), function next() {
250
+ for (; r2.length; ) {
251
+ var t3 = r2.pop();
252
+ if (t3 in e2)
253
+ return next.value = t3, next.done = false, next;
259
254
  }
260
255
  return next.done = true, next;
261
256
  };
262
- }, exports3.values = values, Context.prototype = {
257
+ }, e.values = values, Context.prototype = {
263
258
  constructor: Context,
264
- reset: function reset(skipTempReset) {
265
- if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = false, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(resetTryEntry), !skipTempReset)
266
- for (var name in this)
267
- "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = void 0);
259
+ reset: function reset(e2) {
260
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e2)
261
+ for (var r2 in this)
262
+ "t" === r2.charAt(0) && n.call(this, r2) && !isNaN(+r2.slice(1)) && (this[r2] = t);
268
263
  },
269
264
  stop: function stop() {
270
265
  this.done = true;
271
- var rootRecord = this.tryEntries[0].completion;
272
- if ("throw" === rootRecord.type)
273
- throw rootRecord.arg;
266
+ var t2 = this.tryEntries[0].completion;
267
+ if ("throw" === t2.type)
268
+ throw t2.arg;
274
269
  return this.rval;
275
270
  },
276
- dispatchException: function dispatchException(exception) {
271
+ dispatchException: function dispatchException(e2) {
277
272
  if (this.done)
278
- throw exception;
279
- var context = this;
280
- function handle(loc, caught) {
281
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = void 0), !!caught;
282
- }
283
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
284
- var entry = this.tryEntries[i], record = entry.completion;
285
- if ("root" === entry.tryLoc)
273
+ throw e2;
274
+ var r2 = this;
275
+ function handle(n2, o3) {
276
+ return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
277
+ }
278
+ for (var o2 = this.tryEntries.length - 1; o2 >= 0; --o2) {
279
+ var i2 = this.tryEntries[o2], a2 = i2.completion;
280
+ if ("root" === i2.tryLoc)
286
281
  return handle("end");
287
- if (entry.tryLoc <= this.prev) {
288
- var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc");
289
- if (hasCatch && hasFinally) {
290
- if (this.prev < entry.catchLoc)
291
- return handle(entry.catchLoc, true);
292
- if (this.prev < entry.finallyLoc)
293
- return handle(entry.finallyLoc);
294
- } else if (hasCatch) {
295
- if (this.prev < entry.catchLoc)
296
- return handle(entry.catchLoc, true);
282
+ if (i2.tryLoc <= this.prev) {
283
+ var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
284
+ if (c2 && u2) {
285
+ if (this.prev < i2.catchLoc)
286
+ return handle(i2.catchLoc, true);
287
+ if (this.prev < i2.finallyLoc)
288
+ return handle(i2.finallyLoc);
289
+ } else if (c2) {
290
+ if (this.prev < i2.catchLoc)
291
+ return handle(i2.catchLoc, true);
297
292
  } else {
298
- if (!hasFinally)
299
- throw new Error("try statement without catch or finally");
300
- if (this.prev < entry.finallyLoc)
301
- return handle(entry.finallyLoc);
293
+ if (!u2)
294
+ throw Error("try statement without catch or finally");
295
+ if (this.prev < i2.finallyLoc)
296
+ return handle(i2.finallyLoc);
302
297
  }
303
298
  }
304
299
  }
305
300
  },
306
- abrupt: function abrupt(type, arg) {
307
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
308
- var entry = this.tryEntries[i];
309
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
310
- var finallyEntry = entry;
301
+ abrupt: function abrupt(t2, e2) {
302
+ for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
303
+ var o2 = this.tryEntries[r2];
304
+ if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
305
+ var i2 = o2;
311
306
  break;
312
307
  }
313
308
  }
314
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
315
- var record = finallyEntry ? finallyEntry.completion : {};
316
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
309
+ i2 && ("break" === t2 || "continue" === t2) && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
310
+ var a2 = i2 ? i2.completion : {};
311
+ return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
317
312
  },
318
- complete: function complete(record, afterLoc) {
319
- if ("throw" === record.type)
320
- throw record.arg;
321
- 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;
313
+ complete: function complete(t2, e2) {
314
+ if ("throw" === t2.type)
315
+ throw t2.arg;
316
+ return "break" === t2.type || "continue" === t2.type ? this.next = t2.arg : "return" === t2.type ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : "normal" === t2.type && e2 && (this.next = e2), y;
322
317
  },
323
- finish: function finish(finallyLoc) {
324
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
325
- var entry = this.tryEntries[i];
326
- if (entry.finallyLoc === finallyLoc)
327
- return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
318
+ finish: function finish(t2) {
319
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
320
+ var r2 = this.tryEntries[e2];
321
+ if (r2.finallyLoc === t2)
322
+ return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
328
323
  }
329
324
  },
330
- "catch": function _catch(tryLoc) {
331
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
332
- var entry = this.tryEntries[i];
333
- if (entry.tryLoc === tryLoc) {
334
- var record = entry.completion;
335
- if ("throw" === record.type) {
336
- var thrown = record.arg;
337
- resetTryEntry(entry);
325
+ "catch": function _catch(t2) {
326
+ for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
327
+ var r2 = this.tryEntries[e2];
328
+ if (r2.tryLoc === t2) {
329
+ var n2 = r2.completion;
330
+ if ("throw" === n2.type) {
331
+ var o2 = n2.arg;
332
+ resetTryEntry(r2);
338
333
  }
339
- return thrown;
334
+ return o2;
340
335
  }
341
336
  }
342
- throw new Error("illegal catch attempt");
337
+ throw Error("illegal catch attempt");
343
338
  },
344
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
339
+ delegateYield: function delegateYield(e2, r2, n2) {
345
340
  return this.delegate = {
346
- iterator: values(iterable),
347
- resultName,
348
- nextLoc
349
- }, "next" === this.method && (this.arg = void 0), ContinueSentinel;
341
+ iterator: values(e2),
342
+ resultName: r2,
343
+ nextLoc: n2
344
+ }, "next" === this.method && (this.arg = t), y;
350
345
  }
351
- }, exports3;
346
+ }, e;
352
347
  }
353
348
  module2.exports = _regeneratorRuntime, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
354
349
  })(regeneratorRuntime$1);
@@ -383,19 +378,19 @@
383
378
  hasRequiredToPrimitive = 1;
384
379
  (function(module2) {
385
380
  var _typeof2 = _typeofExports["default"];
386
- function _toPrimitive(input, hint) {
387
- if (_typeof2(input) !== "object" || input === null)
388
- return input;
389
- var prim = input[Symbol.toPrimitive];
390
- if (prim !== void 0) {
391
- var res = prim.call(input, hint || "default");
392
- if (_typeof2(res) !== "object")
393
- return res;
381
+ function toPrimitive2(t, r) {
382
+ if ("object" != _typeof2(t) || !t)
383
+ return t;
384
+ var e = t[Symbol.toPrimitive];
385
+ if (void 0 !== e) {
386
+ var i = e.call(t, r || "default");
387
+ if ("object" != _typeof2(i))
388
+ return i;
394
389
  throw new TypeError("@@toPrimitive must return a primitive value.");
395
390
  }
396
- return (hint === "string" ? String : Number)(input);
391
+ return ("string" === r ? String : Number)(t);
397
392
  }
398
- module2.exports = _toPrimitive, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
393
+ module2.exports = toPrimitive2, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
399
394
  })(toPrimitive);
400
395
  return toPrimitive.exports;
401
396
  }
@@ -407,11 +402,11 @@
407
402
  (function(module2) {
408
403
  var _typeof2 = _typeofExports["default"];
409
404
  var toPrimitive2 = requireToPrimitive();
410
- function _toPropertyKey(arg) {
411
- var key = toPrimitive2(arg, "string");
412
- return _typeof2(key) === "symbol" ? key : String(key);
405
+ function toPropertyKey2(t) {
406
+ var i = toPrimitive2(t, "string");
407
+ return "symbol" == _typeof2(i) ? i : i + "";
413
408
  }
414
- module2.exports = _toPropertyKey, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
409
+ module2.exports = toPropertyKey2, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
415
410
  })(toPropertyKey);
416
411
  return toPropertyKey.exports;
417
412
  }
@@ -422,19 +417,13 @@
422
417
  hasRequiredDefineProperty = 1;
423
418
  (function(module2) {
424
419
  var toPropertyKey2 = requireToPropertyKey();
425
- function _defineProperty(obj, key, value) {
426
- key = toPropertyKey2(key);
427
- if (key in obj) {
428
- Object.defineProperty(obj, key, {
429
- value,
430
- enumerable: true,
431
- configurable: true,
432
- writable: true
433
- });
434
- } else {
435
- obj[key] = value;
436
- }
437
- return obj;
420
+ function _defineProperty(e, r, t) {
421
+ return (r = toPropertyKey2(r)) in e ? Object.defineProperty(e, r, {
422
+ value: t,
423
+ enumerable: true,
424
+ configurable: true,
425
+ writable: true
426
+ }) : e[r] = t, e;
438
427
  }
439
428
  module2.exports = _defineProperty, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
440
429
  })(defineProperty);
@@ -447,30 +436,24 @@
447
436
  return asyncToGenerator.exports;
448
437
  hasRequiredAsyncToGenerator = 1;
449
438
  (function(module2) {
450
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
439
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
451
440
  try {
452
- var info = gen[key](arg);
453
- var value = info.value;
454
- } catch (error) {
455
- reject(error);
456
- return;
457
- }
458
- if (info.done) {
459
- resolve(value);
460
- } else {
461
- Promise.resolve(value).then(_next, _throw);
441
+ var i = n[a](c), u = i.value;
442
+ } catch (n2) {
443
+ return void e(n2);
462
444
  }
445
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
463
446
  }
464
- function _asyncToGenerator(fn) {
447
+ function _asyncToGenerator(n) {
465
448
  return function() {
466
- var self2 = this, args = arguments;
467
- return new Promise(function(resolve, reject) {
468
- var gen = fn.apply(self2, args);
469
- function _next(value) {
470
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
449
+ var t = this, e = arguments;
450
+ return new Promise(function(r, o) {
451
+ var a = n.apply(t, e);
452
+ function _next(n2) {
453
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n2);
471
454
  }
472
- function _throw(err) {
473
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
455
+ function _throw(n2) {
456
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n2);
474
457
  }
475
458
  _next(void 0);
476
459
  });
@@ -488,9 +471,9 @@
488
471
  return arrayWithHoles.exports;
489
472
  hasRequiredArrayWithHoles = 1;
490
473
  (function(module2) {
491
- function _arrayWithHoles(arr) {
492
- if (Array.isArray(arr))
493
- return arr;
474
+ function _arrayWithHoles(r) {
475
+ if (Array.isArray(r))
476
+ return r;
494
477
  }
495
478
  module2.exports = _arrayWithHoles, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
496
479
  })(arrayWithHoles);
@@ -503,30 +486,30 @@
503
486
  return iterableToArrayLimit.exports;
504
487
  hasRequiredIterableToArrayLimit = 1;
505
488
  (function(module2) {
506
- function _iterableToArrayLimit(arr, i) {
507
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
508
- if (null != _i) {
509
- var _s, _e, _x, _r, _arr = [], _n = true, _d = false;
489
+ function _iterableToArrayLimit(r, l) {
490
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
491
+ if (null != t) {
492
+ var e, n, i, u, a = [], f = true, o = false;
510
493
  try {
511
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
512
- if (Object(_i) !== _i)
494
+ if (i = (t = t.call(r)).next, 0 === l) {
495
+ if (Object(t) !== t)
513
496
  return;
514
- _n = false;
497
+ f = false;
515
498
  } else
516
- for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = true)
499
+ for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = true)
517
500
  ;
518
- } catch (err) {
519
- _d = true, _e = err;
501
+ } catch (r2) {
502
+ o = true, n = r2;
520
503
  } finally {
521
504
  try {
522
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r))
505
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u))
523
506
  return;
524
507
  } finally {
525
- if (_d)
526
- throw _e;
508
+ if (o)
509
+ throw n;
527
510
  }
528
511
  }
529
- return _arr;
512
+ return a;
530
513
  }
531
514
  }
532
515
  module2.exports = _iterableToArrayLimit, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
@@ -541,12 +524,11 @@
541
524
  return arrayLikeToArray.exports;
542
525
  hasRequiredArrayLikeToArray = 1;
543
526
  (function(module2) {
544
- function _arrayLikeToArray(arr, len) {
545
- if (len == null || len > arr.length)
546
- len = arr.length;
547
- for (var i = 0, arr2 = new Array(len); i < len; i++)
548
- arr2[i] = arr[i];
549
- return arr2;
527
+ function _arrayLikeToArray(r, a) {
528
+ (null == a || a > r.length) && (a = r.length);
529
+ for (var e = 0, n = Array(a); e < a; e++)
530
+ n[e] = r[e];
531
+ return n;
550
532
  }
551
533
  module2.exports = _arrayLikeToArray, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
552
534
  })(arrayLikeToArray);
@@ -559,18 +541,13 @@
559
541
  hasRequiredUnsupportedIterableToArray = 1;
560
542
  (function(module2) {
561
543
  var arrayLikeToArray2 = requireArrayLikeToArray();
562
- function _unsupportedIterableToArray(o, minLen) {
563
- if (!o)
564
- return;
565
- if (typeof o === "string")
566
- return arrayLikeToArray2(o, minLen);
567
- var n = Object.prototype.toString.call(o).slice(8, -1);
568
- if (n === "Object" && o.constructor)
569
- n = o.constructor.name;
570
- if (n === "Map" || n === "Set")
571
- return Array.from(o);
572
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
573
- return arrayLikeToArray2(o, minLen);
544
+ function _unsupportedIterableToArray(r, a) {
545
+ if (r) {
546
+ if ("string" == typeof r)
547
+ return arrayLikeToArray2(r, a);
548
+ var t = {}.toString.call(r).slice(8, -1);
549
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray2(r, a) : void 0;
550
+ }
574
551
  }
575
552
  module2.exports = _unsupportedIterableToArray, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
576
553
  })(unsupportedIterableToArray);
@@ -600,8 +577,8 @@
600
577
  var iterableToArrayLimit2 = requireIterableToArrayLimit();
601
578
  var unsupportedIterableToArray2 = requireUnsupportedIterableToArray();
602
579
  var nonIterableRest2 = requireNonIterableRest();
603
- function _slicedToArray(arr, i) {
604
- return arrayWithHoles2(arr) || iterableToArrayLimit2(arr, i) || unsupportedIterableToArray2(arr, i) || nonIterableRest2();
580
+ function _slicedToArray(r, e) {
581
+ return arrayWithHoles2(r) || iterableToArrayLimit2(r, e) || unsupportedIterableToArray2(r, e) || nonIterableRest2();
605
582
  }
606
583
  module2.exports = _slicedToArray, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
607
584
  })(slicedToArray);
@@ -616,11 +593,10 @@
616
593
  return assertThisInitialized.exports;
617
594
  hasRequiredAssertThisInitialized = 1;
618
595
  (function(module2) {
619
- function _assertThisInitialized(self2) {
620
- if (self2 === void 0) {
596
+ function _assertThisInitialized(e) {
597
+ if (void 0 === e)
621
598
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
622
- }
623
- return self2;
599
+ return e;
624
600
  }
625
601
  module2.exports = _assertThisInitialized, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
626
602
  })(assertThisInitialized);
@@ -633,10 +609,9 @@
633
609
  return classCallCheck.exports;
634
610
  hasRequiredClassCallCheck = 1;
635
611
  (function(module2) {
636
- function _classCallCheck(instance, Constructor) {
637
- if (!(instance instanceof Constructor)) {
612
+ function _classCallCheck(a, n) {
613
+ if (!(a instanceof n))
638
614
  throw new TypeError("Cannot call a class as a function");
639
- }
640
615
  }
641
616
  module2.exports = _classCallCheck, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
642
617
  })(classCallCheck);
@@ -650,25 +625,16 @@
650
625
  hasRequiredCreateClass = 1;
651
626
  (function(module2) {
652
627
  var toPropertyKey2 = requireToPropertyKey();
653
- function _defineProperties(target, props) {
654
- for (var i = 0; i < props.length; i++) {
655
- var descriptor = props[i];
656
- descriptor.enumerable = descriptor.enumerable || false;
657
- descriptor.configurable = true;
658
- if ("value" in descriptor)
659
- descriptor.writable = true;
660
- Object.defineProperty(target, toPropertyKey2(descriptor.key), descriptor);
628
+ function _defineProperties(e, r) {
629
+ for (var t = 0; t < r.length; t++) {
630
+ var o = r[t];
631
+ o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, toPropertyKey2(o.key), o);
661
632
  }
662
633
  }
663
- function _createClass(Constructor, protoProps, staticProps) {
664
- if (protoProps)
665
- _defineProperties(Constructor.prototype, protoProps);
666
- if (staticProps)
667
- _defineProperties(Constructor, staticProps);
668
- Object.defineProperty(Constructor, "prototype", {
634
+ function _createClass(e, r, t) {
635
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
669
636
  writable: false
670
- });
671
- return Constructor;
637
+ }), e;
672
638
  }
673
639
  module2.exports = _createClass, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
674
640
  })(createClass);
@@ -682,12 +648,10 @@
682
648
  return setPrototypeOf.exports;
683
649
  hasRequiredSetPrototypeOf = 1;
684
650
  (function(module2) {
685
- function _setPrototypeOf(o, p) {
686
- module2.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
687
- o2.__proto__ = p2;
688
- return o2;
689
- }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
690
- return _setPrototypeOf(o, p);
651
+ function _setPrototypeOf(t, e) {
652
+ return module2.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
653
+ return t2.__proto__ = e2, t2;
654
+ }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _setPrototypeOf(t, e);
691
655
  }
692
656
  module2.exports = _setPrototypeOf, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
693
657
  })(setPrototypeOf);
@@ -700,22 +664,18 @@
700
664
  hasRequiredInherits = 1;
701
665
  (function(module2) {
702
666
  var setPrototypeOf2 = requireSetPrototypeOf();
703
- function _inherits(subClass, superClass) {
704
- if (typeof superClass !== "function" && superClass !== null) {
667
+ function _inherits(t, e) {
668
+ if ("function" != typeof e && null !== e)
705
669
  throw new TypeError("Super expression must either be null or a function");
706
- }
707
- subClass.prototype = Object.create(superClass && superClass.prototype, {
670
+ t.prototype = Object.create(e && e.prototype, {
708
671
  constructor: {
709
- value: subClass,
672
+ value: t,
710
673
  writable: true,
711
674
  configurable: true
712
675
  }
713
- });
714
- Object.defineProperty(subClass, "prototype", {
676
+ }), Object.defineProperty(t, "prototype", {
715
677
  writable: false
716
- });
717
- if (superClass)
718
- setPrototypeOf2(subClass, superClass);
678
+ }), e && setPrototypeOf2(t, e);
719
679
  }
720
680
  module2.exports = _inherits, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
721
681
  })(inherits);
@@ -730,13 +690,12 @@
730
690
  (function(module2) {
731
691
  var _typeof2 = _typeofExports["default"];
732
692
  var assertThisInitialized2 = requireAssertThisInitialized();
733
- function _possibleConstructorReturn(self2, call) {
734
- if (call && (_typeof2(call) === "object" || typeof call === "function")) {
735
- return call;
736
- } else if (call !== void 0) {
693
+ function _possibleConstructorReturn(t, e) {
694
+ if (e && ("object" == _typeof2(e) || "function" == typeof e))
695
+ return e;
696
+ if (void 0 !== e)
737
697
  throw new TypeError("Derived constructors may only return object or undefined");
738
- }
739
- return assertThisInitialized2(self2);
698
+ return assertThisInitialized2(t);
740
699
  }
741
700
  module2.exports = _possibleConstructorReturn, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
742
701
  })(possibleConstructorReturn);
@@ -749,11 +708,10 @@
749
708
  return getPrototypeOf.exports;
750
709
  hasRequiredGetPrototypeOf = 1;
751
710
  (function(module2) {
752
- function _getPrototypeOf(o) {
753
- module2.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o2) {
754
- return o2.__proto__ || Object.getPrototypeOf(o2);
755
- }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
756
- return _getPrototypeOf(o);
711
+ function _getPrototypeOf(t) {
712
+ return module2.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t2) {
713
+ return t2.__proto__ || Object.getPrototypeOf(t2);
714
+ }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _getPrototypeOf(t);
757
715
  }
758
716
  module2.exports = _getPrototypeOf, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
759
717
  })(getPrototypeOf);
@@ -767,8 +725,12 @@
767
725
  return isNativeFunction.exports;
768
726
  hasRequiredIsNativeFunction = 1;
769
727
  (function(module2) {
770
- function _isNativeFunction(fn) {
771
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
728
+ function _isNativeFunction(t) {
729
+ try {
730
+ return -1 !== Function.toString.call(t).indexOf("[native code]");
731
+ } catch (n) {
732
+ return "function" == typeof t;
733
+ }
772
734
  }
773
735
  module2.exports = _isNativeFunction, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
774
736
  })(isNativeFunction);
@@ -783,19 +745,14 @@
783
745
  hasRequiredIsNativeReflectConstruct = 1;
784
746
  (function(module2) {
785
747
  function _isNativeReflectConstruct() {
786
- if (typeof Reflect === "undefined" || !Reflect.construct)
787
- return false;
788
- if (Reflect.construct.sham)
789
- return false;
790
- if (typeof Proxy === "function")
791
- return true;
792
748
  try {
793
- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
749
+ var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
794
750
  }));
795
- return true;
796
- } catch (e) {
797
- return false;
751
+ } catch (t2) {
798
752
  }
753
+ return (module2.exports = _isNativeReflectConstruct = function _isNativeReflectConstruct2() {
754
+ return !!t;
755
+ }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports)();
799
756
  }
800
757
  module2.exports = _isNativeReflectConstruct, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
801
758
  })(isNativeReflectConstruct);
@@ -807,23 +764,15 @@
807
764
  return construct.exports;
808
765
  hasRequiredConstruct = 1;
809
766
  (function(module2) {
810
- var setPrototypeOf2 = requireSetPrototypeOf();
811
767
  var isNativeReflectConstruct2 = requireIsNativeReflectConstruct();
812
- function _construct(Parent, args, Class) {
813
- if (isNativeReflectConstruct2()) {
814
- module2.exports = _construct = Reflect.construct.bind(), module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
815
- } else {
816
- module2.exports = _construct = function _construct2(Parent2, args2, Class2) {
817
- var a = [null];
818
- a.push.apply(a, args2);
819
- var Constructor = Function.bind.apply(Parent2, a);
820
- var instance = new Constructor();
821
- if (Class2)
822
- setPrototypeOf2(instance, Class2.prototype);
823
- return instance;
824
- }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
825
- }
826
- return _construct.apply(null, arguments);
768
+ var setPrototypeOf2 = requireSetPrototypeOf();
769
+ function _construct(t, e, r) {
770
+ if (isNativeReflectConstruct2())
771
+ return Reflect.construct.apply(null, arguments);
772
+ var o = [null];
773
+ o.push.apply(o, e);
774
+ var p = new (t.bind.apply(t, o))();
775
+ return r && setPrototypeOf2(p, r.prototype), p;
827
776
  }
828
777
  module2.exports = _construct, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
829
778
  })(construct);
@@ -839,33 +788,30 @@
839
788
  var setPrototypeOf2 = requireSetPrototypeOf();
840
789
  var isNativeFunction2 = requireIsNativeFunction();
841
790
  var construct2 = requireConstruct();
842
- function _wrapNativeSuper(Class) {
843
- var _cache = typeof Map === "function" ? /* @__PURE__ */ new Map() : void 0;
844
- module2.exports = _wrapNativeSuper = function _wrapNativeSuper2(Class2) {
845
- if (Class2 === null || !isNativeFunction2(Class2))
846
- return Class2;
847
- if (typeof Class2 !== "function") {
791
+ function _wrapNativeSuper(t) {
792
+ var r = "function" == typeof Map ? /* @__PURE__ */ new Map() : void 0;
793
+ return module2.exports = _wrapNativeSuper = function _wrapNativeSuper2(t2) {
794
+ if (null === t2 || !isNativeFunction2(t2))
795
+ return t2;
796
+ if ("function" != typeof t2)
848
797
  throw new TypeError("Super expression must either be null or a function");
849
- }
850
- if (typeof _cache !== "undefined") {
851
- if (_cache.has(Class2))
852
- return _cache.get(Class2);
853
- _cache.set(Class2, Wrapper);
798
+ if (void 0 !== r) {
799
+ if (r.has(t2))
800
+ return r.get(t2);
801
+ r.set(t2, Wrapper);
854
802
  }
855
803
  function Wrapper() {
856
- return construct2(Class2, arguments, getPrototypeOf2(this).constructor);
804
+ return construct2(t2, arguments, getPrototypeOf2(this).constructor);
857
805
  }
858
- Wrapper.prototype = Object.create(Class2.prototype, {
806
+ return Wrapper.prototype = Object.create(t2.prototype, {
859
807
  constructor: {
860
808
  value: Wrapper,
861
809
  enumerable: false,
862
810
  writable: true,
863
811
  configurable: true
864
812
  }
865
- });
866
- return setPrototypeOf2(Wrapper, Class2);
867
- }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
868
- return _wrapNativeSuper(Class);
813
+ }), setPrototypeOf2(Wrapper, t2);
814
+ }, module2.exports.__esModule = true, module2.exports["default"] = module2.exports, _wrapNativeSuper(t);
869
815
  }
870
816
  module2.exports = _wrapNativeSuper, module2.exports.__esModule = true, module2.exports["default"] = module2.exports;
871
817
  })(wrapNativeSuper);