@volcengine/veplayer-plugin 2.6.0 → 2.6.1-rc.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.
Files changed (31) hide show
  1. package/esm/index.development.js +192 -164
  2. package/esm/index.production.js +2 -2
  3. package/esm/veplayer.plugin.abr.development.js +2 -1
  4. package/esm/veplayer.plugin.abr.production.js +1 -1
  5. package/esm/veplayer.plugin.drm.development.js +2 -1
  6. package/esm/veplayer.plugin.drm.production.js +1 -1
  7. package/esm/veplayer.plugin.flv.development.js +3 -2
  8. package/esm/veplayer.plugin.flv.production.js +1 -1
  9. package/esm/veplayer.plugin.hls.development.js +53 -15
  10. package/esm/veplayer.plugin.hls.production.js +1 -1
  11. package/esm/veplayer.plugin.mp4.development.js +115 -124
  12. package/esm/veplayer.plugin.mp4.production.js +1 -1
  13. package/esm/veplayer.plugin.rtm.development.js +3 -2
  14. package/esm/veplayer.plugin.rtm.production.js +1 -1
  15. package/esm/veplayer.plugin.shaka.development.js +2 -1
  16. package/esm/veplayer.plugin.shaka.production.js +1 -1
  17. package/package.json +1 -1
  18. package/umd/veplayer.plugin.abr.development.js +2 -1
  19. package/umd/veplayer.plugin.abr.production.js +1 -1
  20. package/umd/veplayer.plugin.drm.development.js +2 -1
  21. package/umd/veplayer.plugin.drm.production.js +1 -1
  22. package/umd/veplayer.plugin.flv.development.js +3 -2
  23. package/umd/veplayer.plugin.flv.production.js +1 -1
  24. package/umd/veplayer.plugin.hls.development.js +53 -15
  25. package/umd/veplayer.plugin.hls.production.js +1 -1
  26. package/umd/veplayer.plugin.mp4.development.js +115 -124
  27. package/umd/veplayer.plugin.mp4.production.js +1 -1
  28. package/umd/veplayer.plugin.rtm.development.js +3 -2
  29. package/umd/veplayer.plugin.rtm.production.js +1 -1
  30. package/umd/veplayer.plugin.shaka.development.js +2 -1
  31. package/umd/veplayer.plugin.shaka.production.js +1 -1
@@ -1695,7 +1695,7 @@ var sniffer$1 = {
1695
1695
  }
1696
1696
  }
1697
1697
  };
1698
- var version$4 = "3.0.21-rc.5";
1698
+ var version$4 = "3.0.21-alpha.13";
1699
1699
  var ERROR_MAP = {
1700
1700
  1: 5101,
1701
1701
  2: 5102,
@@ -1878,8 +1878,9 @@ function removeHooks$1(hookName, handler) {
1878
1878
  if (index2 !== -1) {
1879
1879
  hooks.splice(index2, 1);
1880
1880
  }
1881
+ } else if (__hooks[hookName]) {
1882
+ __hooks[hookName] = null;
1881
1883
  }
1882
- delete __hooks[hookName];
1883
1884
  }
1884
1885
  function hooksDescriptor$1(instance) {
1885
1886
  var presetHooks = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
@@ -34208,15 +34209,17 @@ var MSE$2 = /* @__PURE__ */ function() {
34208
34209
  op.exec();
34209
34210
  } catch (error) {
34210
34211
  if (error && error.message && error.message.indexOf("SourceBuffer is full") >= 0) {
34212
+ var _op$promise;
34211
34213
  this._mseFullFlag[type] = true;
34212
34214
  if (op.context && _typeof$8(op.context) === "object") {
34213
34215
  op.context.isFull = true;
34214
34216
  }
34215
34217
  this._logger.error("[MSE error], context,", op.context, " ,name,", op.opName, ",err,SourceBuffer is full");
34216
- op.promise.reject(new StreamingError$1(ERR$1.MEDIA, ERR$1.SUB_TYPES.MSE_FULL, error));
34218
+ op === null || op === void 0 ? void 0 : (_op$promise = op.promise) === null || _op$promise === void 0 ? void 0 : _op$promise.reject(new StreamingError$1(ERR$1.MEDIA, ERR$1.SUB_TYPES.MSE_FULL, error));
34217
34219
  } else {
34220
+ var _op$promise2;
34218
34221
  this._logger.error(error);
34219
- op.promise.reject(error.constructor === StreamingError$1 ? error : new StreamingError$1(ERR$1.MEDIA, ERR$1.SUB_TYPES.MSE_OTHER, error));
34222
+ op === null || op === void 0 ? void 0 : (_op$promise2 = op.promise) === null || _op$promise2 === void 0 ? void 0 : _op$promise2.reject(error.constructor === StreamingError$1 ? error : new StreamingError$1(ERR$1.MEDIA, ERR$1.SUB_TYPES.MSE_OTHER, error));
34220
34223
  queue.shift();
34221
34224
  this._startQueue(type);
34222
34225
  }
@@ -36665,6 +36668,19 @@ var NALu = /* @__PURE__ */ function() {
36665
36668
  _createClass$e(NALu2, null, [{
36666
36669
  key: "parseAnnexB",
36667
36670
  value: function parseAnnexB(data2) {
36671
+ var j = data2.byteLength - 1;
36672
+ var dropZerosLength = 0;
36673
+ do {
36674
+ if (data2[j] === 0) {
36675
+ dropZerosLength++;
36676
+ } else {
36677
+ break;
36678
+ }
36679
+ j--;
36680
+ } while (j > 0);
36681
+ if (dropZerosLength >= 3) {
36682
+ data2 = data2.subarray(0, j + 1);
36683
+ }
36668
36684
  var len = data2.length;
36669
36685
  var start = 2;
36670
36686
  var end = 0;
@@ -36685,6 +36701,9 @@ var NALu = /* @__PURE__ */ function() {
36685
36701
  } else if (data2[end - 2] !== 0) {
36686
36702
  end++;
36687
36703
  break;
36704
+ } else if (end < len - 1 && data2[end + 1] !== 1) {
36705
+ end++;
36706
+ break;
36688
36707
  }
36689
36708
  if (start !== end - 2)
36690
36709
  units.push(data2.subarray(start, end - 2));
@@ -37502,9 +37521,26 @@ var TsFixer = /* @__PURE__ */ function() {
37502
37521
  var samples = audioTrack.samples;
37503
37522
  if (!samples.length)
37504
37523
  return;
37505
- samples.forEach(function(x2) {
37506
- x2.pts -= _this3._needForceFixLargeGap ? _this3._baseAudioDts : _this3._baseDts;
37507
- x2.dts = x2.pts;
37524
+ if (audioTrack.codecType === AudioCodecType$1.MP3) {
37525
+ if (this.lastAudioSample) {
37526
+ samples.unshift(this.lastAudioSample);
37527
+ }
37528
+ for (var index2 = 0; index2 < samples.length; index2++) {
37529
+ var x2 = samples[index2];
37530
+ if (samples[index2 + 1]) {
37531
+ x2.duration = samples[index2 + 1].pts - x2.pts;
37532
+ } else {
37533
+ break;
37534
+ }
37535
+ x2.pts -= this._baseDts;
37536
+ x2.dts = x2.pts;
37537
+ }
37538
+ this.lastAudioSample = samples.pop();
37539
+ return;
37540
+ }
37541
+ samples.forEach(function(x22) {
37542
+ x22.pts -= _this3._needForceFixLargeGap ? _this3._baseAudioDts : _this3._baseDts;
37543
+ x22.dts = x22.pts;
37508
37544
  });
37509
37545
  this._doFixAudioInternal(audioTrack, samples, 9e4);
37510
37546
  }
@@ -42470,7 +42506,7 @@ var BufferService = /* @__PURE__ */ function() {
42470
42506
  value: function() {
42471
42507
  var _appendBuffer = _asyncToGenerator$8(/* @__PURE__ */ _regeneratorRuntime$8().mark(function _callee2(segment, audioSegment, videoChunk, audioChunk, discontinuity, contiguous, startTime) {
42472
42508
  var _this2 = this;
42473
- var afterAppend, p2, needInit, _this$_transmuxer$tra, _this$_transmuxer$tra2, video2, audio2, isFirstAppend, mse, _p, videoData, videoRest, audioData, audioRest;
42509
+ var afterAppend, p2, needInit, _this$_transmuxer$tra, _this$_transmuxer$tra2, video2, audio2, isFirstAppend, mse, _p, videoData, videoRest, audioData, audioRest, ret;
42474
42510
  return _regeneratorRuntime$8().wrap(function _callee2$(_context2) {
42475
42511
  while (1)
42476
42512
  switch (_context2.prev = _context2.next) {
@@ -42523,11 +42559,11 @@ var BufferService = /* @__PURE__ */ function() {
42523
42559
  this._softVideo.appendBuffer(video2, audio2);
42524
42560
  this._needInitSegment = false;
42525
42561
  afterAppend();
42526
- _context2.next = 30;
42562
+ _context2.next = 32;
42527
42563
  break;
42528
42564
  case 20:
42529
42565
  if (!this._mse) {
42530
- _context2.next = 30;
42566
+ _context2.next = 32;
42531
42567
  break;
42532
42568
  }
42533
42569
  isFirstAppend = !this._sourceCreated;
@@ -42550,8 +42586,10 @@ var BufferService = /* @__PURE__ */ function() {
42550
42586
  audioData = audio2.data, audioRest = _objectWithoutProperties$3(audio2, _excluded2);
42551
42587
  _p.push(mse.append(MSE$2.AUDIO, audioData, audioRest));
42552
42588
  }
42553
- return _context2.abrupt("return", Promise.all(_p).then(afterAppend));
42554
- case 30:
42589
+ ret = Promise.all(_p);
42590
+ ret.then(afterAppend);
42591
+ return _context2.abrupt("return", ret);
42592
+ case 32:
42555
42593
  case "end":
42556
42594
  return _context2.stop();
42557
42595
  }
@@ -46041,7 +46079,7 @@ var Hls = /* @__PURE__ */ function(_EventEmitter) {
46041
46079
  }]);
46042
46080
  return Hls2;
46043
46081
  }(EventEmitter$1);
46044
- _defineProperty$e(Hls, "version", "3.0.21-rc.5");
46082
+ _defineProperty$e(Hls, "version", "3.0.21-rc.20");
46045
46083
  try {
46046
46084
  if (localStorage.getItem("xgd")) {
46047
46085
  Hls.enableLogger();
@@ -46202,7 +46240,7 @@ var HlsPlugin = /* @__PURE__ */ function(_BasePlugin) {
46202
46240
  get: function get4() {
46203
46241
  var _this$player, _this$player$config;
46204
46242
  var mediaType = (_this$player = this.player) === null || _this$player === void 0 ? void 0 : (_this$player$config = _this$player.config) === null || _this$player$config === void 0 ? void 0 : _this$player$config.mediaType;
46205
- return !!mediaType && mediaType !== "video" && mediaType !== "audio";
46243
+ return !!mediaType && mediaType !== "video" && mediaType !== "audio" && mediaType !== "offscreen-video";
46206
46244
  }
46207
46245
  }, {
46208
46246
  key: "beforePlayerInit",
@@ -46211,7 +46249,7 @@ var HlsPlugin = /* @__PURE__ */ function(_BasePlugin) {
46211
46249
  var config = this.player.config;
46212
46250
  var mediaElem = this.player.media || this.player.video;
46213
46251
  var hlsOpts = config.hls || {};
46214
- if (!config.url && !config.__allowHlsEmptyUrl__ || !hlsOpts.preferMMS && MSE$2.isMMSOnly()) {
46252
+ if (!config.url && !config.__allowHlsEmptyUrl__ || !this.softDecode && !hlsOpts.preferMMS && MSE$2.isMMSOnly()) {
46215
46253
  return;
46216
46254
  }
46217
46255
  if (this.hls)
@@ -62214,7 +62252,7 @@ var ordinaryToPrimitive$4 = ordinaryToPrimitive$5;
62214
62252
  var wellKnownSymbol$1a = wellKnownSymbol$1c;
62215
62253
  var $TypeError$Q = TypeError;
62216
62254
  var TO_PRIMITIVE$2 = wellKnownSymbol$1a("toPrimitive");
62217
- var toPrimitive$e = function(input, pref) {
62255
+ var toPrimitive$f = function(input, pref) {
62218
62256
  if (!isObject$$(input) || isSymbol$g(input))
62219
62257
  return input;
62220
62258
  var exoticToPrim = getMethod$d(input, TO_PRIMITIVE$2);
@@ -62231,17 +62269,17 @@ var toPrimitive$e = function(input, pref) {
62231
62269
  pref = "number";
62232
62270
  return ordinaryToPrimitive$4(input, pref);
62233
62271
  };
62234
- var toPrimitive$d = toPrimitive$e;
62272
+ var toPrimitive$e = toPrimitive$f;
62235
62273
  var isSymbol$f = isSymbol$h;
62236
- var toPropertyKey$f = function(argument) {
62237
- var key2 = toPrimitive$d(argument, "string");
62274
+ var toPropertyKey$g = function(argument) {
62275
+ var key2 = toPrimitive$e(argument, "string");
62238
62276
  return isSymbol$f(key2) ? key2 : key2 + "";
62239
62277
  };
62240
62278
  var DESCRIPTORS$Y = descriptors$4;
62241
62279
  var IE8_DOM_DEFINE$5 = ie8DomDefine$2;
62242
62280
  var V8_PROTOTYPE_DEFINE_BUG$5 = v8PrototypeDefineBug$2;
62243
62281
  var anObject$Q = anObject$R;
62244
- var toPropertyKey$e = toPropertyKey$f;
62282
+ var toPropertyKey$f = toPropertyKey$g;
62245
62283
  var $TypeError$P = TypeError;
62246
62284
  var $defineProperty$4 = Object.defineProperty;
62247
62285
  var $getOwnPropertyDescriptor$7 = Object.getOwnPropertyDescriptor;
@@ -62250,7 +62288,7 @@ var CONFIGURABLE$5 = "configurable";
62250
62288
  var WRITABLE$2 = "writable";
62251
62289
  objectDefineProperty$2.f = DESCRIPTORS$Y ? V8_PROTOTYPE_DEFINE_BUG$5 ? function defineProperty(O2, P2, Attributes) {
62252
62290
  anObject$Q(O2);
62253
- P2 = toPropertyKey$e(P2);
62291
+ P2 = toPropertyKey$f(P2);
62254
62292
  anObject$Q(Attributes);
62255
62293
  if (typeof O2 === "function" && P2 === "prototype" && "value" in Attributes && WRITABLE$2 in Attributes && !Attributes[WRITABLE$2]) {
62256
62294
  var current = $getOwnPropertyDescriptor$7(O2, P2);
@@ -62266,7 +62304,7 @@ objectDefineProperty$2.f = DESCRIPTORS$Y ? V8_PROTOTYPE_DEFINE_BUG$5 ? function
62266
62304
  return $defineProperty$4(O2, P2, Attributes);
62267
62305
  } : $defineProperty$4 : function defineProperty2(O2, P2, Attributes) {
62268
62306
  anObject$Q(O2);
62269
- P2 = toPropertyKey$e(P2);
62307
+ P2 = toPropertyKey$f(P2);
62270
62308
  anObject$Q(Attributes);
62271
62309
  if (IE8_DOM_DEFINE$5)
62272
62310
  try {
@@ -62808,13 +62846,13 @@ var call$19 = functionCall$2;
62808
62846
  var propertyIsEnumerableModule$6 = objectPropertyIsEnumerable$2;
62809
62847
  var createPropertyDescriptor$k = createPropertyDescriptor$m;
62810
62848
  var toIndexedObject$y = toIndexedObject$z;
62811
- var toPropertyKey$d = toPropertyKey$f;
62849
+ var toPropertyKey$e = toPropertyKey$g;
62812
62850
  var hasOwn$S = hasOwnProperty_1$2;
62813
62851
  var IE8_DOM_DEFINE$4 = ie8DomDefine$2;
62814
62852
  var $getOwnPropertyDescriptor$6 = Object.getOwnPropertyDescriptor;
62815
62853
  objectGetOwnPropertyDescriptor$2.f = DESCRIPTORS$U ? $getOwnPropertyDescriptor$6 : function getOwnPropertyDescriptor(O2, P2) {
62816
62854
  O2 = toIndexedObject$y(O2);
62817
- P2 = toPropertyKey$d(P2);
62855
+ P2 = toPropertyKey$e(P2);
62818
62856
  if (IE8_DOM_DEFINE$4)
62819
62857
  try {
62820
62858
  return $getOwnPropertyDescriptor$6(O2, P2);
@@ -62978,11 +63016,11 @@ var _export$2 = function(options, source) {
62978
63016
  }
62979
63017
  };
62980
63018
  var objectGetOwnPropertyNamesExternal$2 = {};
62981
- var toPropertyKey$c = toPropertyKey$f;
63019
+ var toPropertyKey$d = toPropertyKey$g;
62982
63020
  var definePropertyModule$f = objectDefineProperty$2;
62983
63021
  var createPropertyDescriptor$j = createPropertyDescriptor$m;
62984
63022
  var createProperty$e = function(object, key2, value2) {
62985
- var propertyKey = toPropertyKey$c(key2);
63023
+ var propertyKey = toPropertyKey$d(key2);
62986
63024
  if (propertyKey in object)
62987
63025
  definePropertyModule$f.f(object, propertyKey, createPropertyDescriptor$j(0, value2));
62988
63026
  else
@@ -64666,7 +64704,7 @@ var hasOwn$N = hasOwnProperty_1$2;
64666
64704
  var inheritIfRequired$6 = inheritIfRequired$7;
64667
64705
  var isPrototypeOf$u = objectIsPrototypeOf$2;
64668
64706
  var isSymbol$e = isSymbol$h;
64669
- var toPrimitive$c = toPrimitive$e;
64707
+ var toPrimitive$d = toPrimitive$f;
64670
64708
  var fails$1G = fails$1$;
64671
64709
  var getOwnPropertyNames$6 = objectGetOwnPropertyNames$2.f;
64672
64710
  var getOwnPropertyDescriptor$i = objectGetOwnPropertyDescriptor$2.f;
@@ -64680,11 +64718,11 @@ var TypeError$e = global$1m.TypeError;
64680
64718
  var arraySlice$r = uncurryThis$1F("".slice);
64681
64719
  var charCodeAt$7 = uncurryThis$1F("".charCodeAt);
64682
64720
  var toNumeric$1 = function(value2) {
64683
- var primValue = toPrimitive$c(value2, "number");
64721
+ var primValue = toPrimitive$d(value2, "number");
64684
64722
  return typeof primValue == "bigint" ? primValue : toNumber$1(primValue);
64685
64723
  };
64686
64724
  var toNumber$1 = function(argument) {
64687
- var it = toPrimitive$c(argument, "number");
64725
+ var it = toPrimitive$d(argument, "number");
64688
64726
  var first, third, radix, maxCode, digits, length, index2, code2;
64689
64727
  if (isSymbol$e(it))
64690
64728
  throw TypeError$e("Cannot convert a Symbol value to a number");
@@ -65798,10 +65836,10 @@ var slice$8 = uncurryThis$1C("".slice);
65798
65836
  var isBigIntArray$3 = function(it) {
65799
65837
  return slice$8(classof$y(it), 0, 3) === "Big";
65800
65838
  };
65801
- var toPrimitive$b = toPrimitive$e;
65839
+ var toPrimitive$c = toPrimitive$f;
65802
65840
  var $TypeError$F = TypeError;
65803
65841
  var toBigInt$5 = function(argument) {
65804
- var prim = toPrimitive$b(argument, "number");
65842
+ var prim = toPrimitive$c(argument, "number");
65805
65843
  if (typeof prim == "number")
65806
65844
  throw $TypeError$F("Can't convert number to bigint");
65807
65845
  return BigInt(prim);
@@ -65859,7 +65897,7 @@ var isIntegralNumber$2 = isIntegralNumber$3;
65859
65897
  var toLength$g = toLength$l;
65860
65898
  var toIndex$3 = toIndex$5;
65861
65899
  var toOffset$4 = toOffset$5;
65862
- var toPropertyKey$b = toPropertyKey$f;
65900
+ var toPropertyKey$c = toPropertyKey$g;
65863
65901
  var hasOwn$K = hasOwnProperty_1$2;
65864
65902
  var classof$x = classof$J;
65865
65903
  var isObject$R = isObject$13;
@@ -65915,11 +65953,11 @@ var isTypedArrayIndex$1 = function(target, key2) {
65915
65953
  return isTypedArray$2(target) && !isSymbol$d(key2) && key2 in target && isIntegralNumber$2(+key2) && key2 >= 0;
65916
65954
  };
65917
65955
  var wrappedGetOwnPropertyDescriptor$1 = function getOwnPropertyDescriptor2(target, key2) {
65918
- key2 = toPropertyKey$b(key2);
65956
+ key2 = toPropertyKey$c(key2);
65919
65957
  return isTypedArrayIndex$1(target, key2) ? createPropertyDescriptor$h(2, target[key2]) : nativeGetOwnPropertyDescriptor$5(target, key2);
65920
65958
  };
65921
65959
  var wrappedDefineProperty$1 = function defineProperty3(target, key2, descriptor) {
65922
- key2 = toPropertyKey$b(key2);
65960
+ key2 = toPropertyKey$c(key2);
65923
65961
  if (isTypedArrayIndex$1(target, key2) && isObject$R(descriptor) && hasOwn$K(descriptor, "value") && !hasOwn$K(descriptor, "get") && !hasOwn$K(descriptor, "set") && !descriptor.configurable && (!hasOwn$K(descriptor, "writable") || descriptor.writable) && (!hasOwn$K(descriptor, "enumerable") || descriptor.enumerable)) {
65924
65962
  target[key2] = descriptor.value;
65925
65963
  return target;
@@ -81860,7 +81898,7 @@ var ordinaryToPrimitive$2 = ordinaryToPrimitive$3;
81860
81898
  var wellKnownSymbol$M = wellKnownSymbol$N;
81861
81899
  var $TypeError$x = TypeError;
81862
81900
  var TO_PRIMITIVE$1 = wellKnownSymbol$M("toPrimitive");
81863
- var toPrimitive$a = function(input, pref) {
81901
+ var toPrimitive$b = function(input, pref) {
81864
81902
  if (!isObject$H(input) || isSymbol$a(input))
81865
81903
  return input;
81866
81904
  var exoticToPrim = getMethod$8(input, TO_PRIMITIVE$1);
@@ -81877,10 +81915,10 @@ var toPrimitive$a = function(input, pref) {
81877
81915
  pref = "number";
81878
81916
  return ordinaryToPrimitive$2(input, pref);
81879
81917
  };
81880
- var toPrimitive$9 = toPrimitive$a;
81918
+ var toPrimitive$a = toPrimitive$b;
81881
81919
  var isSymbol$9 = isSymbol$b;
81882
- var toPropertyKey$a = function(argument) {
81883
- var key2 = toPrimitive$9(argument, "string");
81920
+ var toPropertyKey$b = function(argument) {
81921
+ var key2 = toPrimitive$a(argument, "string");
81884
81922
  return isSymbol$9(key2) ? key2 : key2 + "";
81885
81923
  };
81886
81924
  var global$Z = global$14;
@@ -81905,13 +81943,13 @@ var call$J = functionCall$1;
81905
81943
  var propertyIsEnumerableModule$4 = objectPropertyIsEnumerable$1;
81906
81944
  var createPropertyDescriptor$e = createPropertyDescriptor$f;
81907
81945
  var toIndexedObject$m = toIndexedObject$n;
81908
- var toPropertyKey$9 = toPropertyKey$a;
81946
+ var toPropertyKey$a = toPropertyKey$b;
81909
81947
  var hasOwn$E = hasOwnProperty_1$1;
81910
81948
  var IE8_DOM_DEFINE$3 = ie8DomDefine$1;
81911
81949
  var $getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;
81912
81950
  objectGetOwnPropertyDescriptor$1.f = DESCRIPTORS$D ? $getOwnPropertyDescriptor$5 : function getOwnPropertyDescriptor3(O2, P2) {
81913
81951
  O2 = toIndexedObject$m(O2);
81914
- P2 = toPropertyKey$9(P2);
81952
+ P2 = toPropertyKey$a(P2);
81915
81953
  if (IE8_DOM_DEFINE$3)
81916
81954
  try {
81917
81955
  return $getOwnPropertyDescriptor$5(O2, P2);
@@ -81966,7 +82004,7 @@ var DESCRIPTORS$B = descriptors$3;
81966
82004
  var IE8_DOM_DEFINE$2 = ie8DomDefine$1;
81967
82005
  var V8_PROTOTYPE_DEFINE_BUG$3 = v8PrototypeDefineBug$1;
81968
82006
  var anObject$y = anObject$z;
81969
- var toPropertyKey$8 = toPropertyKey$a;
82007
+ var toPropertyKey$9 = toPropertyKey$b;
81970
82008
  var $TypeError$v = TypeError;
81971
82009
  var $defineProperty$3 = Object.defineProperty;
81972
82010
  var $getOwnPropertyDescriptor$4 = Object.getOwnPropertyDescriptor;
@@ -81975,7 +82013,7 @@ var CONFIGURABLE$3 = "configurable";
81975
82013
  var WRITABLE$1 = "writable";
81976
82014
  objectDefineProperty$1.f = DESCRIPTORS$B ? V8_PROTOTYPE_DEFINE_BUG$3 ? function defineProperty4(O2, P2, Attributes) {
81977
82015
  anObject$y(O2);
81978
- P2 = toPropertyKey$8(P2);
82016
+ P2 = toPropertyKey$9(P2);
81979
82017
  anObject$y(Attributes);
81980
82018
  if (typeof O2 === "function" && P2 === "prototype" && "value" in Attributes && WRITABLE$1 in Attributes && !Attributes[WRITABLE$1]) {
81981
82019
  var current = $getOwnPropertyDescriptor$4(O2, P2);
@@ -81991,7 +82029,7 @@ objectDefineProperty$1.f = DESCRIPTORS$B ? V8_PROTOTYPE_DEFINE_BUG$3 ? function
81991
82029
  return $defineProperty$3(O2, P2, Attributes);
81992
82030
  } : $defineProperty$3 : function defineProperty5(O2, P2, Attributes) {
81993
82031
  anObject$y(O2);
81994
- P2 = toPropertyKey$8(P2);
82032
+ P2 = toPropertyKey$9(P2);
81995
82033
  anObject$y(Attributes);
81996
82034
  if (IE8_DOM_DEFINE$2)
81997
82035
  try {
@@ -82119,11 +82157,11 @@ var doesNotExceedSafeInteger$2 = function(it) {
82119
82157
  throw $TypeError$u("Maximum allowed index exceeded");
82120
82158
  return it;
82121
82159
  };
82122
- var toPropertyKey$7 = toPropertyKey$a;
82160
+ var toPropertyKey$8 = toPropertyKey$b;
82123
82161
  var definePropertyModule$a = objectDefineProperty$1;
82124
82162
  var createPropertyDescriptor$c = createPropertyDescriptor$f;
82125
82163
  var createProperty$8 = function(object, key2, value2) {
82126
- var propertyKey = toPropertyKey$7(key2);
82164
+ var propertyKey = toPropertyKey$8(key2);
82127
82165
  if (propertyKey in object)
82128
82166
  definePropertyModule$a.f(object, propertyKey, createPropertyDescriptor$c(0, value2));
82129
82167
  else
@@ -82726,7 +82764,7 @@ var hasOwn$y = hasOwnProperty_1$1;
82726
82764
  var isPrototypeOf$p = objectIsPrototypeOf$1;
82727
82765
  var anObject$v = anObject$z;
82728
82766
  var toIndexedObject$h = toIndexedObject$n;
82729
- var toPropertyKey$6 = toPropertyKey$a;
82767
+ var toPropertyKey$7 = toPropertyKey$b;
82730
82768
  var $toString$4 = toString$u;
82731
82769
  var createPropertyDescriptor$b = createPropertyDescriptor$f;
82732
82770
  var nativeObjectCreate$1 = objectCreate$1;
@@ -82800,7 +82838,7 @@ var $defineProperty$2 = function defineProperty6(O2, P2, Attributes) {
82800
82838
  if (O2 === ObjectPrototype$7)
82801
82839
  $defineProperty$2(ObjectPrototypeSymbols$1, P2, Attributes);
82802
82840
  anObject$v(O2);
82803
- var key2 = toPropertyKey$6(P2);
82841
+ var key2 = toPropertyKey$7(P2);
82804
82842
  anObject$v(Attributes);
82805
82843
  if (hasOwn$y(AllSymbols$1, key2)) {
82806
82844
  if (!Attributes.enumerable) {
@@ -82830,7 +82868,7 @@ var $create$1 = function create3(O2, Properties) {
82830
82868
  return Properties === void 0 ? nativeObjectCreate$1(O2) : $defineProperties$1(nativeObjectCreate$1(O2), Properties);
82831
82869
  };
82832
82870
  var $propertyIsEnumerable$3 = function propertyIsEnumerable3(V2) {
82833
- var P2 = toPropertyKey$6(V2);
82871
+ var P2 = toPropertyKey$7(V2);
82834
82872
  var enumerable = call$H(nativePropertyIsEnumerable$1, this, P2);
82835
82873
  if (this === ObjectPrototype$7 && hasOwn$y(AllSymbols$1, P2) && !hasOwn$y(ObjectPrototypeSymbols$1, P2))
82836
82874
  return false;
@@ -82838,7 +82876,7 @@ var $propertyIsEnumerable$3 = function propertyIsEnumerable3(V2) {
82838
82876
  };
82839
82877
  var $getOwnPropertyDescriptor$3 = function getOwnPropertyDescriptor4(O2, P2) {
82840
82878
  var it = toIndexedObject$h(O2);
82841
- var key2 = toPropertyKey$6(P2);
82879
+ var key2 = toPropertyKey$7(P2);
82842
82880
  if (it === ObjectPrototype$7 && hasOwn$y(AllSymbols$1, key2) && !hasOwn$y(ObjectPrototypeSymbols$1, key2))
82843
82881
  return;
82844
82882
  var descriptor = nativeGetOwnPropertyDescriptor$4(it, key2);
@@ -85313,15 +85351,15 @@ function _classCallCheck$a(instance, Constructor2) {
85313
85351
  }
85314
85352
  }
85315
85353
  var WrappedWellKnownSymbolModule = wellKnownSymbolWrapped$1;
85316
- var toPrimitive$8 = WrappedWellKnownSymbolModule.f("toPrimitive");
85317
- var parent$1f = toPrimitive$8;
85318
- var toPrimitive$7 = parent$1f;
85319
- var parent$1e = toPrimitive$7;
85320
- var toPrimitive$6 = parent$1e;
85321
- var parent$1d = toPrimitive$6;
85322
- var toPrimitive$5 = parent$1d;
85323
- var toPrimitive$4 = toPrimitive$5;
85324
- var _Symbol$toPrimitive = /* @__PURE__ */ getDefaultExportFromCjs(toPrimitive$4);
85354
+ var toPrimitive$9 = WrappedWellKnownSymbolModule.f("toPrimitive");
85355
+ var parent$1f = toPrimitive$9;
85356
+ var toPrimitive$8 = parent$1f;
85357
+ var parent$1e = toPrimitive$8;
85358
+ var toPrimitive$7 = parent$1e;
85359
+ var parent$1d = toPrimitive$7;
85360
+ var toPrimitive$6 = parent$1d;
85361
+ var toPrimitive$5 = toPrimitive$6;
85362
+ var _Symbol$toPrimitive = /* @__PURE__ */ getDefaultExportFromCjs(toPrimitive$5);
85325
85363
  function _toPrimitive$3(input, hint) {
85326
85364
  if (_typeof$7(input) !== "object" || input === null)
85327
85365
  return input;
@@ -101329,7 +101367,7 @@ var ordinaryToPrimitive = ordinaryToPrimitive$1;
101329
101367
  var wellKnownSymbol$l = wellKnownSymbol$m;
101330
101368
  var $TypeError$c = TypeError;
101331
101369
  var TO_PRIMITIVE = wellKnownSymbol$l("toPrimitive");
101332
- var toPrimitive$3 = function(input, pref) {
101370
+ var toPrimitive$4 = function(input, pref) {
101333
101371
  if (!isObject$l(input) || isSymbol$4(input))
101334
101372
  return input;
101335
101373
  var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);
@@ -101346,10 +101384,10 @@ var toPrimitive$3 = function(input, pref) {
101346
101384
  pref = "number";
101347
101385
  return ordinaryToPrimitive(input, pref);
101348
101386
  };
101349
- var toPrimitive$2 = toPrimitive$3;
101387
+ var toPrimitive$3 = toPrimitive$4;
101350
101388
  var isSymbol$3 = isSymbol$5;
101351
- var toPropertyKey$5 = function(argument) {
101352
- var key2 = toPrimitive$2(argument, "string");
101389
+ var toPropertyKey$6 = function(argument) {
101390
+ var key2 = toPrimitive$3(argument, "string");
101353
101391
  return isSymbol$3(key2) ? key2 : key2 + "";
101354
101392
  };
101355
101393
  var global$v = global$C;
@@ -101374,13 +101412,13 @@ var call$i = functionCall;
101374
101412
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
101375
101413
  var createPropertyDescriptor$5 = createPropertyDescriptor$6;
101376
101414
  var toIndexedObject$a = toIndexedObject$b;
101377
- var toPropertyKey$4 = toPropertyKey$5;
101415
+ var toPropertyKey$5 = toPropertyKey$6;
101378
101416
  var hasOwn$j = hasOwnProperty_1;
101379
101417
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
101380
101418
  var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
101381
101419
  objectGetOwnPropertyDescriptor.f = DESCRIPTORS$h ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor7(O2, P2) {
101382
101420
  O2 = toIndexedObject$a(O2);
101383
- P2 = toPropertyKey$4(P2);
101421
+ P2 = toPropertyKey$5(P2);
101384
101422
  if (IE8_DOM_DEFINE$1)
101385
101423
  try {
101386
101424
  return $getOwnPropertyDescriptor$2(O2, P2);
@@ -101411,7 +101449,7 @@ var DESCRIPTORS$f = descriptors;
101411
101449
  var IE8_DOM_DEFINE = ie8DomDefine;
101412
101450
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
101413
101451
  var anObject$h = anObject$i;
101414
- var toPropertyKey$3 = toPropertyKey$5;
101452
+ var toPropertyKey$4 = toPropertyKey$6;
101415
101453
  var $TypeError$a = TypeError;
101416
101454
  var $defineProperty$1 = Object.defineProperty;
101417
101455
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
@@ -101420,7 +101458,7 @@ var CONFIGURABLE$1 = "configurable";
101420
101458
  var WRITABLE = "writable";
101421
101459
  objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty8(O2, P2, Attributes) {
101422
101460
  anObject$h(O2);
101423
- P2 = toPropertyKey$3(P2);
101461
+ P2 = toPropertyKey$4(P2);
101424
101462
  anObject$h(Attributes);
101425
101463
  if (typeof O2 === "function" && P2 === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
101426
101464
  var current = $getOwnPropertyDescriptor$1(O2, P2);
@@ -101436,7 +101474,7 @@ objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
101436
101474
  return $defineProperty$1(O2, P2, Attributes);
101437
101475
  } : $defineProperty$1 : function defineProperty9(O2, P2, Attributes) {
101438
101476
  anObject$h(O2);
101439
- P2 = toPropertyKey$3(P2);
101477
+ P2 = toPropertyKey$4(P2);
101440
101478
  anObject$h(Attributes);
101441
101479
  if (IE8_DOM_DEFINE)
101442
101480
  try {
@@ -101895,30 +101933,44 @@ function debounce(func, wait, immediate) {
101895
101933
  func.apply(context, args);
101896
101934
  };
101897
101935
  }
101898
- function _classCallCheck$4(instance, Constructor2) {
101899
- if (!(instance instanceof Constructor2)) {
101936
+ function _classCallCheck$4(a2, n2) {
101937
+ if (!(a2 instanceof n2))
101900
101938
  throw new TypeError("Cannot call a class as a function");
101939
+ }
101940
+ function _typeof$2(o2) {
101941
+ "@babel/helpers - typeof";
101942
+ return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o3) {
101943
+ return typeof o3;
101944
+ } : function(o3) {
101945
+ return o3 && "function" == typeof Symbol && o3.constructor === Symbol && o3 !== Symbol.prototype ? "symbol" : typeof o3;
101946
+ }, _typeof$2(o2);
101947
+ }
101948
+ function toPrimitive$2(t2, r2) {
101949
+ if ("object" != _typeof$2(t2) || !t2)
101950
+ return t2;
101951
+ var e4 = t2[Symbol.toPrimitive];
101952
+ if (void 0 !== e4) {
101953
+ var i2 = e4.call(t2, r2 || "default");
101954
+ if ("object" != _typeof$2(i2))
101955
+ return i2;
101956
+ throw new TypeError("@@toPrimitive must return a primitive value.");
101901
101957
  }
101958
+ return ("string" === r2 ? String : Number)(t2);
101902
101959
  }
101903
- function _defineProperties$4(target, props) {
101904
- for (var i2 = 0; i2 < props.length; i2++) {
101905
- var descriptor = props[i2];
101906
- descriptor.enumerable = descriptor.enumerable || false;
101907
- descriptor.configurable = true;
101908
- if ("value" in descriptor)
101909
- descriptor.writable = true;
101910
- Object.defineProperty(target, descriptor.key, descriptor);
101960
+ function toPropertyKey$3(t2) {
101961
+ var i2 = toPrimitive$2(t2, "string");
101962
+ return "symbol" == _typeof$2(i2) ? i2 : i2 + "";
101963
+ }
101964
+ function _defineProperties$4(e4, r2) {
101965
+ for (var t2 = 0; t2 < r2.length; t2++) {
101966
+ var o2 = r2[t2];
101967
+ o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e4, toPropertyKey$3(o2.key), o2);
101911
101968
  }
101912
101969
  }
101913
- function _createClass$4(Constructor2, protoProps, staticProps) {
101914
- if (protoProps)
101915
- _defineProperties$4(Constructor2.prototype, protoProps);
101916
- if (staticProps)
101917
- _defineProperties$4(Constructor2, staticProps);
101918
- Object.defineProperty(Constructor2, "prototype", {
101970
+ function _createClass$4(e4, r2, t2) {
101971
+ return r2 && _defineProperties$4(e4.prototype, r2), t2 && _defineProperties$4(e4, t2), Object.defineProperty(e4, "prototype", {
101919
101972
  writable: false
101920
- });
101921
- return Constructor2;
101973
+ }), e4;
101922
101974
  }
101923
101975
  var wellKnownSymbol$k = wellKnownSymbol$m;
101924
101976
  var TO_STRING_TAG$4 = wellKnownSymbol$k("toStringTag");
@@ -103589,7 +103641,7 @@ var arrayFill$1 = function fill3(value2) {
103589
103641
  O2[index2++] = value2;
103590
103642
  return O2;
103591
103643
  };
103592
- var toPropertyKey$2 = toPropertyKey$5;
103644
+ var toPropertyKey$2 = toPropertyKey$6;
103593
103645
  var definePropertyModule$2 = objectDefineProperty;
103594
103646
  var createPropertyDescriptor$2 = createPropertyDescriptor$6;
103595
103647
  var createProperty$2 = function(object, key2, value2) {
@@ -104120,7 +104172,7 @@ var isBigIntArray$1 = function(it) {
104120
104172
  var klass = classof$5(it);
104121
104173
  return klass == "BigInt64Array" || klass == "BigUint64Array";
104122
104174
  };
104123
- var toPrimitive$1 = toPrimitive$3;
104175
+ var toPrimitive$1 = toPrimitive$4;
104124
104176
  var $TypeError$2 = TypeError;
104125
104177
  var toBigInt$2 = function(argument) {
104126
104178
  var prim = toPrimitive$1(argument, "number");
@@ -104302,7 +104354,7 @@ var isIntegralNumber = isIntegralNumber$1;
104302
104354
  var toLength$5 = toLength$a;
104303
104355
  var toIndex = toIndex$2;
104304
104356
  var toOffset$1 = toOffset$2;
104305
- var toPropertyKey$1 = toPropertyKey$5;
104357
+ var toPropertyKey$1 = toPropertyKey$6;
104306
104358
  var hasOwn$8 = hasOwnProperty_1;
104307
104359
  var classof$3 = classof$c;
104308
104360
  var isObject$9 = isObject$n;
@@ -111302,13 +111354,13 @@ function _regeneratorRuntime() {
111302
111354
  }
111303
111355
  }, exports;
111304
111356
  }
111305
- function _typeof$2(obj) {
111357
+ function _typeof$1(obj) {
111306
111358
  "@babel/helpers - typeof";
111307
- return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
111359
+ return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
111308
111360
  return typeof obj2;
111309
111361
  } : function(obj2) {
111310
111362
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
111311
- }, _typeof$2(obj);
111363
+ }, _typeof$1(obj);
111312
111364
  }
111313
111365
  function asyncGeneratorStep(gen, resolve4, reject4, _next, _throw, key2, arg) {
111314
111366
  try {
@@ -111755,7 +111807,7 @@ var NetError = /* @__PURE__ */ function(_Error) {
111755
111807
  }(/* @__PURE__ */ _wrapNativeSuper(Error));
111756
111808
  var toString$9 = Object.prototype.toString;
111757
111809
  function isObject$8(a2) {
111758
- return a2 !== null && _typeof$2(a2) === "object";
111810
+ return a2 !== null && _typeof$1(a2) === "object";
111759
111811
  }
111760
111812
  function isPlainObject(val) {
111761
111813
  if (toString$9.call(val) !== "[object Object]") {
@@ -119114,7 +119166,7 @@ var hasOwn$6 = hasOwnProperty_1$2;
119114
119166
  var isPrototypeOf$3 = objectIsPrototypeOf$2;
119115
119167
  var anObject$2 = anObject$R;
119116
119168
  var toIndexedObject$2 = toIndexedObject$z;
119117
- var toPropertyKey = toPropertyKey$f;
119169
+ var toPropertyKey = toPropertyKey$g;
119118
119170
  var $toString$1 = toString$I;
119119
119171
  var createPropertyDescriptor = createPropertyDescriptor$m;
119120
119172
  var nativeObjectCreate = objectCreate$2;
@@ -119583,13 +119635,13 @@ var VTYPES$1 = {
119583
119635
  DASH: "DASH",
119584
119636
  HLS: "HLS"
119585
119637
  };
119586
- function _typeof$1(obj) {
119638
+ function _typeof(obj) {
119587
119639
  "@babel/helpers - typeof";
119588
- return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
119640
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
119589
119641
  return typeof obj2;
119590
119642
  } : function(obj2) {
119591
119643
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
119592
- }, _typeof$1(obj);
119644
+ }, _typeof(obj);
119593
119645
  }
119594
119646
  function _classCallCheck(instance, Constructor2) {
119595
119647
  if (!(instance instanceof Constructor2)) {
@@ -120624,7 +120676,7 @@ var MemoryCache = /* @__PURE__ */ function() {
120624
120676
  var storeName = options.storeName;
120625
120677
  var key2 = name + "_" + storeName;
120626
120678
  this.key = key2;
120627
- if (!window[key2] || _typeof$1(window[key2]) !== "object") {
120679
+ if (!window[key2] || _typeof(window[key2]) !== "object") {
120628
120680
  window[key2] = {};
120629
120681
  }
120630
120682
  this.store = window[key2];
@@ -123057,7 +123109,7 @@ var hasOwn4 = hasOwnProperty_1;
123057
123109
  var inheritIfRequired = inheritIfRequired$3;
123058
123110
  var isPrototypeOf = objectIsPrototypeOf;
123059
123111
  var isSymbol = isSymbol$5;
123060
- var toPrimitive = toPrimitive$3;
123112
+ var toPrimitive = toPrimitive$4;
123061
123113
  var fails$6 = fails$G;
123062
123114
  var getOwnPropertyNames9 = objectGetOwnPropertyNames.f;
123063
123115
  var getOwnPropertyDescriptor11 = objectGetOwnPropertyDescriptor.f;
@@ -123446,92 +123498,68 @@ $$5({ target: "Reflect", stat: true, forced: FORCED$2, sham: FORCED$2 }, {
123446
123498
  return isObject$1(result) ? result : instance;
123447
123499
  }
123448
123500
  });
123449
- function _arrayLikeToArray(arr, len) {
123450
- if (len == null || len > arr.length)
123451
- len = arr.length;
123452
- for (var i2 = 0, arr2 = new Array(len); i2 < len; i2++) {
123453
- arr2[i2] = arr[i2];
123454
- }
123455
- return arr2;
123501
+ function _arrayLikeToArray(r2, a2) {
123502
+ (null == a2 || a2 > r2.length) && (a2 = r2.length);
123503
+ for (var e4 = 0, n2 = Array(a2); e4 < a2; e4++)
123504
+ n2[e4] = r2[e4];
123505
+ return n2;
123456
123506
  }
123457
- function _arrayWithoutHoles(arr) {
123458
- if (Array.isArray(arr))
123459
- return _arrayLikeToArray(arr);
123507
+ function _arrayWithoutHoles(r2) {
123508
+ if (Array.isArray(r2))
123509
+ return _arrayLikeToArray(r2);
123460
123510
  }
123461
- function _iterableToArray(iter) {
123462
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
123463
- return Array.from(iter);
123511
+ function _iterableToArray(r2) {
123512
+ if ("undefined" != typeof Symbol && null != r2[Symbol.iterator] || null != r2["@@iterator"])
123513
+ return Array.from(r2);
123464
123514
  }
123465
- function _unsupportedIterableToArray(o2, minLen) {
123466
- if (!o2)
123467
- return;
123468
- if (typeof o2 === "string")
123469
- return _arrayLikeToArray(o2, minLen);
123470
- var n2 = Object.prototype.toString.call(o2).slice(8, -1);
123471
- if (n2 === "Object" && o2.constructor)
123472
- n2 = o2.constructor.name;
123473
- if (n2 === "Map" || n2 === "Set")
123474
- return Array.from(o2);
123475
- if (n2 === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))
123476
- return _arrayLikeToArray(o2, minLen);
123515
+ function _unsupportedIterableToArray(r2, a2) {
123516
+ if (r2) {
123517
+ if ("string" == typeof r2)
123518
+ return _arrayLikeToArray(r2, a2);
123519
+ var t2 = {}.toString.call(r2).slice(8, -1);
123520
+ return "Object" === t2 && r2.constructor && (t2 = r2.constructor.name), "Map" === t2 || "Set" === t2 ? Array.from(r2) : "Arguments" === t2 || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t2) ? _arrayLikeToArray(r2, a2) : void 0;
123521
+ }
123477
123522
  }
123478
123523
  function _nonIterableSpread() {
123479
123524
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
123480
123525
  }
123481
- function _toConsumableArray(arr) {
123482
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
123526
+ function _toConsumableArray(r2) {
123527
+ return _arrayWithoutHoles(r2) || _iterableToArray(r2) || _unsupportedIterableToArray(r2) || _nonIterableSpread();
123483
123528
  }
123484
- function _assertThisInitialized(self2) {
123485
- if (self2 === void 0) {
123529
+ function _assertThisInitialized(e4) {
123530
+ if (void 0 === e4)
123486
123531
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
123487
- }
123488
- return self2;
123532
+ return e4;
123489
123533
  }
123490
- function _setPrototypeOf(o2, p2) {
123491
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p3) {
123492
- o3.__proto__ = p3;
123493
- return o3;
123494
- };
123495
- return _setPrototypeOf(o2, p2);
123534
+ function _setPrototypeOf(t2, e4) {
123535
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t3, e5) {
123536
+ return t3.__proto__ = e5, t3;
123537
+ }, _setPrototypeOf(t2, e4);
123496
123538
  }
123497
- function _inherits(subClass, superClass) {
123498
- if (typeof superClass !== "function" && superClass !== null) {
123539
+ function _inherits(t2, e4) {
123540
+ if ("function" != typeof e4 && null !== e4)
123499
123541
  throw new TypeError("Super expression must either be null or a function");
123500
- }
123501
- subClass.prototype = Object.create(superClass && superClass.prototype, {
123542
+ t2.prototype = Object.create(e4 && e4.prototype, {
123502
123543
  constructor: {
123503
- value: subClass,
123544
+ value: t2,
123504
123545
  writable: true,
123505
123546
  configurable: true
123506
123547
  }
123507
- });
123508
- Object.defineProperty(subClass, "prototype", {
123548
+ }), Object.defineProperty(t2, "prototype", {
123509
123549
  writable: false
123510
- });
123511
- if (superClass)
123512
- _setPrototypeOf(subClass, superClass);
123550
+ }), e4 && _setPrototypeOf(t2, e4);
123513
123551
  }
123514
- function _typeof(obj) {
123515
- "@babel/helpers - typeof";
123516
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
123517
- return typeof obj2;
123518
- } : function(obj2) {
123519
- return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
123520
- }, _typeof(obj);
123521
- }
123522
- function _possibleConstructorReturn(self2, call2) {
123523
- if (call2 && (_typeof(call2) === "object" || typeof call2 === "function")) {
123524
- return call2;
123525
- } else if (call2 !== void 0) {
123552
+ function _possibleConstructorReturn(t2, e4) {
123553
+ if (e4 && ("object" == _typeof$2(e4) || "function" == typeof e4))
123554
+ return e4;
123555
+ if (void 0 !== e4)
123526
123556
  throw new TypeError("Derived constructors may only return object or undefined");
123527
- }
123528
- return _assertThisInitialized(self2);
123557
+ return _assertThisInitialized(t2);
123529
123558
  }
123530
- function _getPrototypeOf(o2) {
123531
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf2(o3) {
123532
- return o3.__proto__ || Object.getPrototypeOf(o3);
123533
- };
123534
- return _getPrototypeOf(o2);
123559
+ function _getPrototypeOf(t2) {
123560
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t3) {
123561
+ return t3.__proto__ || Object.getPrototypeOf(t3);
123562
+ }, _getPrototypeOf(t2);
123535
123563
  }
123536
123564
  var $$4 = _export;
123537
123565
  var toObject$1 = toObject$a;