@solana/web3.js 1.87.2 → 1.87.3

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/lib/index.iife.js CHANGED
@@ -16355,14 +16355,14 @@ var solanaWeb3 = (function (exports) {
16355
16355
  if (hasRequired_typeof) return _typeof.exports;
16356
16356
  hasRequired_typeof = 1;
16357
16357
  (function (module) {
16358
- function _typeof(obj) {
16358
+ function _typeof(o) {
16359
16359
  "@babel/helpers - typeof";
16360
16360
 
16361
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
16362
- return typeof obj;
16363
- } : function (obj) {
16364
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
16365
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
16361
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
16362
+ return typeof o;
16363
+ } : function (o) {
16364
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
16365
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
16366
16366
  }
16367
16367
  module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
16368
16368
  } (_typeof));
@@ -16378,304 +16378,304 @@ var solanaWeb3 = (function (exports) {
16378
16378
  var _typeof = require_typeof()["default"];
16379
16379
  function _regeneratorRuntime() {
16380
16380
  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
16381
- return exports;
16381
+ return e;
16382
16382
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
16383
- var exports = {},
16384
- Op = Object.prototype,
16385
- hasOwn = Op.hasOwnProperty,
16386
- defineProperty = Object.defineProperty || function (obj, key, desc) {
16387
- obj[key] = desc.value;
16383
+ var t,
16384
+ e = {},
16385
+ r = Object.prototype,
16386
+ n = r.hasOwnProperty,
16387
+ o = Object.defineProperty || function (t, e, r) {
16388
+ t[e] = r.value;
16388
16389
  },
16389
- $Symbol = "function" == typeof Symbol ? Symbol : {},
16390
- iteratorSymbol = $Symbol.iterator || "@@iterator",
16391
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
16392
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
16393
- function define(obj, key, value) {
16394
- return Object.defineProperty(obj, key, {
16395
- value: value,
16390
+ i = "function" == typeof Symbol ? Symbol : {},
16391
+ a = i.iterator || "@@iterator",
16392
+ c = i.asyncIterator || "@@asyncIterator",
16393
+ u = i.toStringTag || "@@toStringTag";
16394
+ function define(t, e, r) {
16395
+ return Object.defineProperty(t, e, {
16396
+ value: r,
16396
16397
  enumerable: !0,
16397
16398
  configurable: !0,
16398
16399
  writable: !0
16399
- }), obj[key];
16400
+ }), t[e];
16400
16401
  }
16401
16402
  try {
16402
16403
  define({}, "");
16403
- } catch (err) {
16404
- define = function define(obj, key, value) {
16405
- return obj[key] = value;
16404
+ } catch (t) {
16405
+ define = function define(t, e, r) {
16406
+ return t[e] = r;
16406
16407
  };
16407
16408
  }
16408
- function wrap(innerFn, outerFn, self, tryLocsList) {
16409
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
16410
- generator = Object.create(protoGenerator.prototype),
16411
- context = new Context(tryLocsList || []);
16412
- return defineProperty(generator, "_invoke", {
16413
- value: makeInvokeMethod(innerFn, self, context)
16414
- }), generator;
16409
+ function wrap(t, e, r, n) {
16410
+ var i = e && e.prototype instanceof Generator ? e : Generator,
16411
+ a = Object.create(i.prototype),
16412
+ c = new Context(n || []);
16413
+ return o(a, "_invoke", {
16414
+ value: makeInvokeMethod(t, r, c)
16415
+ }), a;
16415
16416
  }
16416
- function tryCatch(fn, obj, arg) {
16417
+ function tryCatch(t, e, r) {
16417
16418
  try {
16418
16419
  return {
16419
16420
  type: "normal",
16420
- arg: fn.call(obj, arg)
16421
+ arg: t.call(e, r)
16421
16422
  };
16422
- } catch (err) {
16423
+ } catch (t) {
16423
16424
  return {
16424
16425
  type: "throw",
16425
- arg: err
16426
+ arg: t
16426
16427
  };
16427
16428
  }
16428
16429
  }
16429
- exports.wrap = wrap;
16430
- var ContinueSentinel = {};
16430
+ e.wrap = wrap;
16431
+ var h = "suspendedStart",
16432
+ l = "suspendedYield",
16433
+ f = "executing",
16434
+ s = "completed",
16435
+ y = {};
16431
16436
  function Generator() {}
16432
16437
  function GeneratorFunction() {}
16433
16438
  function GeneratorFunctionPrototype() {}
16434
- var IteratorPrototype = {};
16435
- define(IteratorPrototype, iteratorSymbol, function () {
16439
+ var p = {};
16440
+ define(p, a, function () {
16436
16441
  return this;
16437
16442
  });
16438
- var getProto = Object.getPrototypeOf,
16439
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
16440
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
16441
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
16442
- function defineIteratorMethods(prototype) {
16443
- ["next", "throw", "return"].forEach(function (method) {
16444
- define(prototype, method, function (arg) {
16445
- return this._invoke(method, arg);
16443
+ var d = Object.getPrototypeOf,
16444
+ v = d && d(d(values([])));
16445
+ v && v !== r && n.call(v, a) && (p = v);
16446
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
16447
+ function defineIteratorMethods(t) {
16448
+ ["next", "throw", "return"].forEach(function (e) {
16449
+ define(t, e, function (t) {
16450
+ return this._invoke(e, t);
16446
16451
  });
16447
16452
  });
16448
16453
  }
16449
- function AsyncIterator(generator, PromiseImpl) {
16450
- function invoke(method, arg, resolve, reject) {
16451
- var record = tryCatch(generator[method], generator, arg);
16452
- if ("throw" !== record.type) {
16453
- var result = record.arg,
16454
- value = result.value;
16455
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
16456
- invoke("next", value, resolve, reject);
16457
- }, function (err) {
16458
- invoke("throw", err, resolve, reject);
16459
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
16460
- result.value = unwrapped, resolve(result);
16461
- }, function (error) {
16462
- return invoke("throw", error, resolve, reject);
16454
+ function AsyncIterator(t, e) {
16455
+ function invoke(r, o, i, a) {
16456
+ var c = tryCatch(t[r], t, o);
16457
+ if ("throw" !== c.type) {
16458
+ var u = c.arg,
16459
+ h = u.value;
16460
+ return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
16461
+ invoke("next", t, i, a);
16462
+ }, function (t) {
16463
+ invoke("throw", t, i, a);
16464
+ }) : e.resolve(h).then(function (t) {
16465
+ u.value = t, i(u);
16466
+ }, function (t) {
16467
+ return invoke("throw", t, i, a);
16463
16468
  });
16464
16469
  }
16465
- reject(record.arg);
16470
+ a(c.arg);
16466
16471
  }
16467
- var previousPromise;
16468
- defineProperty(this, "_invoke", {
16469
- value: function value(method, arg) {
16472
+ var r;
16473
+ o(this, "_invoke", {
16474
+ value: function value(t, n) {
16470
16475
  function callInvokeWithMethodAndArg() {
16471
- return new PromiseImpl(function (resolve, reject) {
16472
- invoke(method, arg, resolve, reject);
16476
+ return new e(function (e, r) {
16477
+ invoke(t, n, e, r);
16473
16478
  });
16474
16479
  }
16475
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
16480
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
16476
16481
  }
16477
16482
  });
16478
16483
  }
16479
- function makeInvokeMethod(innerFn, self, context) {
16480
- var state = "suspendedStart";
16481
- return function (method, arg) {
16482
- if ("executing" === state) throw new Error("Generator is already running");
16483
- if ("completed" === state) {
16484
- if ("throw" === method) throw arg;
16485
- return doneResult();
16484
+ function makeInvokeMethod(e, r, n) {
16485
+ var o = h;
16486
+ return function (i, a) {
16487
+ if (o === f) throw new Error("Generator is already running");
16488
+ if (o === s) {
16489
+ if ("throw" === i) throw a;
16490
+ return {
16491
+ value: t,
16492
+ done: !0
16493
+ };
16486
16494
  }
16487
- for (context.method = method, context.arg = arg;;) {
16488
- var delegate = context.delegate;
16489
- if (delegate) {
16490
- var delegateResult = maybeInvokeDelegate(delegate, context);
16491
- if (delegateResult) {
16492
- if (delegateResult === ContinueSentinel) continue;
16493
- return delegateResult;
16495
+ for (n.method = i, n.arg = a;;) {
16496
+ var c = n.delegate;
16497
+ if (c) {
16498
+ var u = maybeInvokeDelegate(c, n);
16499
+ if (u) {
16500
+ if (u === y) continue;
16501
+ return u;
16494
16502
  }
16495
16503
  }
16496
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
16497
- if ("suspendedStart" === state) throw state = "completed", context.arg;
16498
- context.dispatchException(context.arg);
16499
- } else "return" === context.method && context.abrupt("return", context.arg);
16500
- state = "executing";
16501
- var record = tryCatch(innerFn, self, context);
16502
- if ("normal" === record.type) {
16503
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
16504
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
16505
+ if (o === h) throw o = s, n.arg;
16506
+ n.dispatchException(n.arg);
16507
+ } else "return" === n.method && n.abrupt("return", n.arg);
16508
+ o = f;
16509
+ var p = tryCatch(e, r, n);
16510
+ if ("normal" === p.type) {
16511
+ if (o = n.done ? s : l, p.arg === y) continue;
16504
16512
  return {
16505
- value: record.arg,
16506
- done: context.done
16513
+ value: p.arg,
16514
+ done: n.done
16507
16515
  };
16508
16516
  }
16509
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
16517
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
16510
16518
  }
16511
16519
  };
16512
16520
  }
16513
- function maybeInvokeDelegate(delegate, context) {
16514
- var methodName = context.method,
16515
- method = delegate.iterator[methodName];
16516
- 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;
16517
- var record = tryCatch(method, delegate.iterator, context.arg);
16518
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
16519
- var info = record.arg;
16520
- 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);
16521
+ function maybeInvokeDelegate(e, r) {
16522
+ var n = r.method,
16523
+ o = e.iterator[n];
16524
+ 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;
16525
+ var i = tryCatch(o, e.iterator, r.arg);
16526
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
16527
+ var a = i.arg;
16528
+ 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);
16521
16529
  }
16522
- function pushTryEntry(locs) {
16523
- var entry = {
16524
- tryLoc: locs[0]
16530
+ function pushTryEntry(t) {
16531
+ var e = {
16532
+ tryLoc: t[0]
16525
16533
  };
16526
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
16534
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
16527
16535
  }
16528
- function resetTryEntry(entry) {
16529
- var record = entry.completion || {};
16530
- record.type = "normal", delete record.arg, entry.completion = record;
16536
+ function resetTryEntry(t) {
16537
+ var e = t.completion || {};
16538
+ e.type = "normal", delete e.arg, t.completion = e;
16531
16539
  }
16532
- function Context(tryLocsList) {
16540
+ function Context(t) {
16533
16541
  this.tryEntries = [{
16534
16542
  tryLoc: "root"
16535
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
16543
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
16536
16544
  }
16537
- function values(iterable) {
16538
- if (iterable) {
16539
- var iteratorMethod = iterable[iteratorSymbol];
16540
- if (iteratorMethod) return iteratorMethod.call(iterable);
16541
- if ("function" == typeof iterable.next) return iterable;
16542
- if (!isNaN(iterable.length)) {
16543
- var i = -1,
16544
- next = function next() {
16545
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
16546
- return next.value = undefined, next.done = !0, next;
16545
+ function values(e) {
16546
+ if (e || "" === e) {
16547
+ var r = e[a];
16548
+ if (r) return r.call(e);
16549
+ if ("function" == typeof e.next) return e;
16550
+ if (!isNaN(e.length)) {
16551
+ var o = -1,
16552
+ i = function next() {
16553
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
16554
+ return next.value = t, next.done = !0, next;
16547
16555
  };
16548
- return next.next = next;
16556
+ return i.next = i;
16549
16557
  }
16550
16558
  }
16551
- return {
16552
- next: doneResult
16553
- };
16554
- }
16555
- function doneResult() {
16556
- return {
16557
- value: undefined,
16558
- done: !0
16559
- };
16559
+ throw new TypeError(_typeof(e) + " is not iterable");
16560
16560
  }
16561
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
16561
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
16562
16562
  value: GeneratorFunctionPrototype,
16563
16563
  configurable: !0
16564
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
16564
+ }), o(GeneratorFunctionPrototype, "constructor", {
16565
16565
  value: GeneratorFunction,
16566
16566
  configurable: !0
16567
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
16568
- var ctor = "function" == typeof genFun && genFun.constructor;
16569
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
16570
- }, exports.mark = function (genFun) {
16571
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
16572
- }, exports.awrap = function (arg) {
16567
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
16568
+ var e = "function" == typeof t && t.constructor;
16569
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
16570
+ }, e.mark = function (t) {
16571
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
16572
+ }, e.awrap = function (t) {
16573
16573
  return {
16574
- __await: arg
16574
+ __await: t
16575
16575
  };
16576
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
16576
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
16577
16577
  return this;
16578
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
16579
- void 0 === PromiseImpl && (PromiseImpl = Promise);
16580
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
16581
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
16582
- return result.done ? result.value : iter.next();
16578
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
16579
+ void 0 === i && (i = Promise);
16580
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
16581
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
16582
+ return t.done ? t.value : a.next();
16583
16583
  });
16584
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
16584
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
16585
16585
  return this;
16586
- }), define(Gp, "toString", function () {
16586
+ }), define(g, "toString", function () {
16587
16587
  return "[object Generator]";
16588
- }), exports.keys = function (val) {
16589
- var object = Object(val),
16590
- keys = [];
16591
- for (var key in object) keys.push(key);
16592
- return keys.reverse(), function next() {
16593
- for (; keys.length;) {
16594
- var key = keys.pop();
16595
- if (key in object) return next.value = key, next.done = !1, next;
16588
+ }), e.keys = function (t) {
16589
+ var e = Object(t),
16590
+ r = [];
16591
+ for (var n in e) r.push(n);
16592
+ return r.reverse(), function next() {
16593
+ for (; r.length;) {
16594
+ var t = r.pop();
16595
+ if (t in e) return next.value = t, next.done = !1, next;
16596
16596
  }
16597
16597
  return next.done = !0, next;
16598
16598
  };
16599
- }, exports.values = values, Context.prototype = {
16599
+ }, e.values = values, Context.prototype = {
16600
16600
  constructor: Context,
16601
- reset: function reset(skipTempReset) {
16602
- 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);
16601
+ reset: function reset(e) {
16602
+ 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);
16603
16603
  },
16604
16604
  stop: function stop() {
16605
16605
  this.done = !0;
16606
- var rootRecord = this.tryEntries[0].completion;
16607
- if ("throw" === rootRecord.type) throw rootRecord.arg;
16606
+ var t = this.tryEntries[0].completion;
16607
+ if ("throw" === t.type) throw t.arg;
16608
16608
  return this.rval;
16609
16609
  },
16610
- dispatchException: function dispatchException(exception) {
16611
- if (this.done) throw exception;
16612
- var context = this;
16613
- function handle(loc, caught) {
16614
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
16610
+ dispatchException: function dispatchException(e) {
16611
+ if (this.done) throw e;
16612
+ var r = this;
16613
+ function handle(n, o) {
16614
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
16615
16615
  }
16616
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
16617
- var entry = this.tryEntries[i],
16618
- record = entry.completion;
16619
- if ("root" === entry.tryLoc) return handle("end");
16620
- if (entry.tryLoc <= this.prev) {
16621
- var hasCatch = hasOwn.call(entry, "catchLoc"),
16622
- hasFinally = hasOwn.call(entry, "finallyLoc");
16623
- if (hasCatch && hasFinally) {
16624
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
16625
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
16626
- } else if (hasCatch) {
16627
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
16616
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
16617
+ var i = this.tryEntries[o],
16618
+ a = i.completion;
16619
+ if ("root" === i.tryLoc) return handle("end");
16620
+ if (i.tryLoc <= this.prev) {
16621
+ var c = n.call(i, "catchLoc"),
16622
+ u = n.call(i, "finallyLoc");
16623
+ if (c && u) {
16624
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
16625
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
16626
+ } else if (c) {
16627
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
16628
16628
  } else {
16629
- if (!hasFinally) throw new Error("try statement without catch or finally");
16630
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
16629
+ if (!u) throw new Error("try statement without catch or finally");
16630
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
16631
16631
  }
16632
16632
  }
16633
16633
  }
16634
16634
  },
16635
- abrupt: function abrupt(type, arg) {
16636
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
16637
- var entry = this.tryEntries[i];
16638
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
16639
- var finallyEntry = entry;
16635
+ abrupt: function abrupt(t, e) {
16636
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
16637
+ var o = this.tryEntries[r];
16638
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
16639
+ var i = o;
16640
16640
  break;
16641
16641
  }
16642
16642
  }
16643
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
16644
- var record = finallyEntry ? finallyEntry.completion : {};
16645
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
16643
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
16644
+ var a = i ? i.completion : {};
16645
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
16646
16646
  },
16647
- complete: function complete(record, afterLoc) {
16648
- if ("throw" === record.type) throw record.arg;
16649
- 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;
16647
+ complete: function complete(t, e) {
16648
+ if ("throw" === t.type) throw t.arg;
16649
+ 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;
16650
16650
  },
16651
- finish: function finish(finallyLoc) {
16652
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
16653
- var entry = this.tryEntries[i];
16654
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
16651
+ finish: function finish(t) {
16652
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
16653
+ var r = this.tryEntries[e];
16654
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
16655
16655
  }
16656
16656
  },
16657
- "catch": function _catch(tryLoc) {
16658
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
16659
- var entry = this.tryEntries[i];
16660
- if (entry.tryLoc === tryLoc) {
16661
- var record = entry.completion;
16662
- if ("throw" === record.type) {
16663
- var thrown = record.arg;
16664
- resetTryEntry(entry);
16657
+ "catch": function _catch(t) {
16658
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
16659
+ var r = this.tryEntries[e];
16660
+ if (r.tryLoc === t) {
16661
+ var n = r.completion;
16662
+ if ("throw" === n.type) {
16663
+ var o = n.arg;
16664
+ resetTryEntry(r);
16665
16665
  }
16666
- return thrown;
16666
+ return o;
16667
16667
  }
16668
16668
  }
16669
16669
  throw new Error("illegal catch attempt");
16670
16670
  },
16671
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
16671
+ delegateYield: function delegateYield(e, r, n) {
16672
16672
  return this.delegate = {
16673
- iterator: values(iterable),
16674
- resultName: resultName,
16675
- nextLoc: nextLoc
16676
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
16673
+ iterator: values(e),
16674
+ resultName: r,
16675
+ nextLoc: n
16676
+ }, "next" === this.method && (this.arg = t), y;
16677
16677
  }
16678
- }, exports;
16678
+ }, e;
16679
16679
  }
16680
16680
  module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
16681
16681
  } (regeneratorRuntime$1));