kucservice 1.4.0 → 1.4.1
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/kucservice.common.js +1151 -52
- package/dist/kucservice.common.js.gz +0 -0
- package/dist/kucservice.common.js.map +1 -1
- package/dist/kucservice.umd.js +1151 -52
- package/dist/kucservice.umd.js.gz +0 -0
- package/dist/kucservice.umd.js.map +1 -1
- package/dist/kucservice.umd.min.js +1 -1
- package/dist/kucservice.umd.min.js.gz +0 -0
- package/dist/kucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/kucservice.umd.js
CHANGED
|
@@ -203,6 +203,48 @@ module.exports = function (fn, that) {
|
|
|
203
203
|
};
|
|
204
204
|
|
|
205
205
|
|
|
206
|
+
/***/ }),
|
|
207
|
+
|
|
208
|
+
/***/ "0538":
|
|
209
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
210
|
+
|
|
211
|
+
"use strict";
|
|
212
|
+
|
|
213
|
+
var global = __webpack_require__("da84");
|
|
214
|
+
var uncurryThis = __webpack_require__("e330");
|
|
215
|
+
var aCallable = __webpack_require__("59ed");
|
|
216
|
+
var isObject = __webpack_require__("861d");
|
|
217
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
218
|
+
var arraySlice = __webpack_require__("f36a");
|
|
219
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
220
|
+
|
|
221
|
+
var Function = global.Function;
|
|
222
|
+
var concat = uncurryThis([].concat);
|
|
223
|
+
var join = uncurryThis([].join);
|
|
224
|
+
var factories = {};
|
|
225
|
+
|
|
226
|
+
var construct = function (C, argsLength, args) {
|
|
227
|
+
if (!hasOwn(factories, argsLength)) {
|
|
228
|
+
for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';
|
|
229
|
+
factories[argsLength] = Function('C,a', 'return new C(' + join(list, ',') + ')');
|
|
230
|
+
} return factories[argsLength](C, args);
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
// `Function.prototype.bind` method implementation
|
|
234
|
+
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
235
|
+
module.exports = NATIVE_BIND ? Function.bind : function bind(that /* , ...args */) {
|
|
236
|
+
var F = aCallable(this);
|
|
237
|
+
var Prototype = F.prototype;
|
|
238
|
+
var partArgs = arraySlice(arguments, 1);
|
|
239
|
+
var boundFunction = function bound(/* args... */) {
|
|
240
|
+
var args = concat(partArgs, arraySlice(arguments));
|
|
241
|
+
return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);
|
|
242
|
+
};
|
|
243
|
+
if (isObject(Prototype)) boundFunction.prototype = Prototype;
|
|
244
|
+
return boundFunction;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
|
|
206
248
|
/***/ }),
|
|
207
249
|
|
|
208
250
|
/***/ "057f":
|
|
@@ -324,6 +366,31 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
324
366
|
});
|
|
325
367
|
|
|
326
368
|
|
|
369
|
+
/***/ }),
|
|
370
|
+
|
|
371
|
+
/***/ "0d03":
|
|
372
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
373
|
+
|
|
374
|
+
var uncurryThis = __webpack_require__("e330");
|
|
375
|
+
var redefine = __webpack_require__("6eeb");
|
|
376
|
+
|
|
377
|
+
var DatePrototype = Date.prototype;
|
|
378
|
+
var INVALID_DATE = 'Invalid Date';
|
|
379
|
+
var TO_STRING = 'toString';
|
|
380
|
+
var un$DateToString = uncurryThis(DatePrototype[TO_STRING]);
|
|
381
|
+
var getTime = uncurryThis(DatePrototype.getTime);
|
|
382
|
+
|
|
383
|
+
// `Date.prototype.toString` method
|
|
384
|
+
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
385
|
+
if (String(new Date(NaN)) != INVALID_DATE) {
|
|
386
|
+
redefine(DatePrototype, TO_STRING, function toString() {
|
|
387
|
+
var value = getTime(this);
|
|
388
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
389
|
+
return value === value ? un$DateToString(this) : INVALID_DATE;
|
|
390
|
+
});
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
|
|
327
394
|
/***/ }),
|
|
328
395
|
|
|
329
396
|
/***/ "0d51":
|
|
@@ -600,6 +667,21 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
600
667
|
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
601
668
|
|
|
602
669
|
|
|
670
|
+
/***/ }),
|
|
671
|
+
|
|
672
|
+
/***/ "131a":
|
|
673
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
674
|
+
|
|
675
|
+
var $ = __webpack_require__("23e7");
|
|
676
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
677
|
+
|
|
678
|
+
// `Object.setPrototypeOf` method
|
|
679
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
680
|
+
$({ target: 'Object', stat: true }, {
|
|
681
|
+
setPrototypeOf: setPrototypeOf
|
|
682
|
+
});
|
|
683
|
+
|
|
684
|
+
|
|
603
685
|
/***/ }),
|
|
604
686
|
|
|
605
687
|
/***/ "13d5":
|
|
@@ -1097,6 +1179,44 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
1097
1179
|
};
|
|
1098
1180
|
|
|
1099
1181
|
|
|
1182
|
+
/***/ }),
|
|
1183
|
+
|
|
1184
|
+
/***/ "25f0":
|
|
1185
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1186
|
+
|
|
1187
|
+
"use strict";
|
|
1188
|
+
|
|
1189
|
+
var uncurryThis = __webpack_require__("e330");
|
|
1190
|
+
var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
|
|
1191
|
+
var redefine = __webpack_require__("6eeb");
|
|
1192
|
+
var anObject = __webpack_require__("825a");
|
|
1193
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1194
|
+
var $toString = __webpack_require__("577e");
|
|
1195
|
+
var fails = __webpack_require__("d039");
|
|
1196
|
+
var regExpFlags = __webpack_require__("ad6d");
|
|
1197
|
+
|
|
1198
|
+
var TO_STRING = 'toString';
|
|
1199
|
+
var RegExpPrototype = RegExp.prototype;
|
|
1200
|
+
var n$ToString = RegExpPrototype[TO_STRING];
|
|
1201
|
+
var getFlags = uncurryThis(regExpFlags);
|
|
1202
|
+
|
|
1203
|
+
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
1204
|
+
// FF44- RegExp#toString has a wrong name
|
|
1205
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
1206
|
+
|
|
1207
|
+
// `RegExp.prototype.toString` method
|
|
1208
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
1209
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
1210
|
+
redefine(RegExp.prototype, TO_STRING, function toString() {
|
|
1211
|
+
var R = anObject(this);
|
|
1212
|
+
var p = $toString(R.source);
|
|
1213
|
+
var rf = R.flags;
|
|
1214
|
+
var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
|
|
1215
|
+
return '/' + p + '/' + f;
|
|
1216
|
+
}, { unsafe: true });
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
|
|
1100
1220
|
/***/ }),
|
|
1101
1221
|
|
|
1102
1222
|
/***/ "2626":
|
|
@@ -1343,6 +1463,29 @@ if (!version && userAgent) {
|
|
|
1343
1463
|
module.exports = version;
|
|
1344
1464
|
|
|
1345
1465
|
|
|
1466
|
+
/***/ }),
|
|
1467
|
+
|
|
1468
|
+
/***/ "3410":
|
|
1469
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1470
|
+
|
|
1471
|
+
var $ = __webpack_require__("23e7");
|
|
1472
|
+
var fails = __webpack_require__("d039");
|
|
1473
|
+
var toObject = __webpack_require__("7b0b");
|
|
1474
|
+
var nativeGetPrototypeOf = __webpack_require__("e163");
|
|
1475
|
+
var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177");
|
|
1476
|
+
|
|
1477
|
+
var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
|
|
1478
|
+
|
|
1479
|
+
// `Object.getPrototypeOf` method
|
|
1480
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1481
|
+
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
|
|
1482
|
+
getPrototypeOf: function getPrototypeOf(it) {
|
|
1483
|
+
return nativeGetPrototypeOf(toObject(it));
|
|
1484
|
+
}
|
|
1485
|
+
});
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
|
|
1346
1489
|
/***/ }),
|
|
1347
1490
|
|
|
1348
1491
|
/***/ "342f":
|
|
@@ -1498,30 +1641,609 @@ module.exports = !fails(function () {
|
|
|
1498
1641
|
});
|
|
1499
1642
|
|
|
1500
1643
|
|
|
1501
|
-
/***/ }),
|
|
1644
|
+
/***/ }),
|
|
1645
|
+
|
|
1646
|
+
/***/ "4160":
|
|
1647
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1648
|
+
|
|
1649
|
+
"use strict";
|
|
1650
|
+
|
|
1651
|
+
var $ = __webpack_require__("23e7");
|
|
1652
|
+
var forEach = __webpack_require__("17c2");
|
|
1653
|
+
|
|
1654
|
+
// `Array.prototype.forEach` method
|
|
1655
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1656
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
1657
|
+
$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
|
|
1658
|
+
forEach: forEach
|
|
1659
|
+
});
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
/***/ }),
|
|
1663
|
+
|
|
1664
|
+
/***/ "4269":
|
|
1665
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1666
|
+
|
|
1667
|
+
"use strict";
|
|
1668
|
+
// ESM COMPAT FLAG
|
|
1669
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1670
|
+
|
|
1671
|
+
// EXPORTS
|
|
1672
|
+
__webpack_require__.d(__webpack_exports__, "useSocket", function() { return /* binding */ useSocket; });
|
|
1673
|
+
|
|
1674
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
1675
|
+
var es_error_cause = __webpack_require__("d9e2");
|
|
1676
|
+
|
|
1677
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js
|
|
1678
|
+
var es_error_to_string = __webpack_require__("d401");
|
|
1679
|
+
|
|
1680
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
function _assertThisInitialized(self) {
|
|
1684
|
+
if (self === void 0) {
|
|
1685
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1686
|
+
}
|
|
1687
|
+
|
|
1688
|
+
return self;
|
|
1689
|
+
}
|
|
1690
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.create.js
|
|
1691
|
+
var es_object_create = __webpack_require__("b8bf");
|
|
1692
|
+
|
|
1693
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.define-property.js
|
|
1694
|
+
var es_object_define_property = __webpack_require__("7a82");
|
|
1695
|
+
|
|
1696
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.set-prototype-of.js
|
|
1697
|
+
var es_object_set_prototype_of = __webpack_require__("131a");
|
|
1698
|
+
|
|
1699
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
1700
|
+
|
|
1701
|
+
function _setPrototypeOf(o, p) {
|
|
1702
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
1703
|
+
o.__proto__ = p;
|
|
1704
|
+
return o;
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
return _setPrototypeOf(o, p);
|
|
1708
|
+
}
|
|
1709
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
|
|
1715
|
+
function _inherits(subClass, superClass) {
|
|
1716
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
1717
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
1721
|
+
constructor: {
|
|
1722
|
+
value: subClass,
|
|
1723
|
+
writable: true,
|
|
1724
|
+
configurable: true
|
|
1725
|
+
}
|
|
1726
|
+
});
|
|
1727
|
+
Object.defineProperty(subClass, "prototype", {
|
|
1728
|
+
writable: false
|
|
1729
|
+
});
|
|
1730
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
1731
|
+
}
|
|
1732
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
1733
|
+
var es_reflect_construct = __webpack_require__("4ae1");
|
|
1734
|
+
|
|
1735
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
1736
|
+
var es_object_to_string = __webpack_require__("d3b7");
|
|
1737
|
+
|
|
1738
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.to-string-tag.js
|
|
1739
|
+
var es_reflect_to_string_tag = __webpack_require__("f8c9");
|
|
1740
|
+
|
|
1741
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
1742
|
+
var es_object_get_prototype_of = __webpack_require__("3410");
|
|
1743
|
+
|
|
1744
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
function _getPrototypeOf(o) {
|
|
1748
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
1749
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
1750
|
+
};
|
|
1751
|
+
return _getPrototypeOf(o);
|
|
1752
|
+
}
|
|
1753
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
function _isNativeReflectConstruct() {
|
|
1758
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1759
|
+
if (Reflect.construct.sham) return false;
|
|
1760
|
+
if (typeof Proxy === "function") return true;
|
|
1761
|
+
|
|
1762
|
+
try {
|
|
1763
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
1764
|
+
return true;
|
|
1765
|
+
} catch (e) {
|
|
1766
|
+
return false;
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1770
|
+
var esm_typeof = __webpack_require__("53ca");
|
|
1771
|
+
|
|
1772
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
function _possibleConstructorReturn(self, call) {
|
|
1778
|
+
if (call && (Object(esm_typeof["a" /* default */])(call) === "object" || typeof call === "function")) {
|
|
1779
|
+
return call;
|
|
1780
|
+
} else if (call !== void 0) {
|
|
1781
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
return _assertThisInitialized(self);
|
|
1785
|
+
}
|
|
1786
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
function _createSuper(Derived) {
|
|
1794
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
1795
|
+
return function _createSuperInternal() {
|
|
1796
|
+
var Super = _getPrototypeOf(Derived),
|
|
1797
|
+
result;
|
|
1798
|
+
|
|
1799
|
+
if (hasNativeReflectConstruct) {
|
|
1800
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
1801
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
1802
|
+
} else {
|
|
1803
|
+
result = Super.apply(this, arguments);
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
return _possibleConstructorReturn(this, result);
|
|
1807
|
+
};
|
|
1808
|
+
}
|
|
1809
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
1810
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
1811
|
+
|
|
1812
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
|
|
1813
|
+
var es_map = __webpack_require__("4ec9");
|
|
1814
|
+
|
|
1815
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
1816
|
+
var es_string_iterator = __webpack_require__("3ca3");
|
|
1817
|
+
|
|
1818
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
1819
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
1820
|
+
|
|
1821
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
|
|
1822
|
+
var es_array_index_of = __webpack_require__("c975");
|
|
1823
|
+
|
|
1824
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-string.js
|
|
1825
|
+
var es_date_to_string = __webpack_require__("0d03");
|
|
1826
|
+
|
|
1827
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
1828
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
1829
|
+
|
|
1830
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
function _isNativeFunction(fn) {
|
|
1837
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
1838
|
+
}
|
|
1839
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.bind.js
|
|
1840
|
+
var es_function_bind = __webpack_require__("c0b6");
|
|
1841
|
+
|
|
1842
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/construct.js
|
|
1843
|
+
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
function construct_construct(Parent, args, Class) {
|
|
1850
|
+
if (_isNativeReflectConstruct()) {
|
|
1851
|
+
construct_construct = Reflect.construct;
|
|
1852
|
+
} else {
|
|
1853
|
+
construct_construct = function _construct(Parent, args, Class) {
|
|
1854
|
+
var a = [null];
|
|
1855
|
+
a.push.apply(a, args);
|
|
1856
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
1857
|
+
var instance = new Constructor();
|
|
1858
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
1859
|
+
return instance;
|
|
1860
|
+
};
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
return construct_construct.apply(null, arguments);
|
|
1864
|
+
}
|
|
1865
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
|
|
1872
|
+
|
|
1873
|
+
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
|
|
1878
|
+
function wrapNativeSuper_wrapNativeSuper(Class) {
|
|
1879
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
1880
|
+
|
|
1881
|
+
wrapNativeSuper_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
1882
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
1883
|
+
|
|
1884
|
+
if (typeof Class !== "function") {
|
|
1885
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
if (typeof _cache !== "undefined") {
|
|
1889
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
1890
|
+
|
|
1891
|
+
_cache.set(Class, Wrapper);
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
function Wrapper() {
|
|
1895
|
+
return construct_construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
1899
|
+
constructor: {
|
|
1900
|
+
value: Wrapper,
|
|
1901
|
+
enumerable: false,
|
|
1902
|
+
writable: true,
|
|
1903
|
+
configurable: true
|
|
1904
|
+
}
|
|
1905
|
+
});
|
|
1906
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
1907
|
+
};
|
|
1908
|
+
|
|
1909
|
+
return wrapNativeSuper_wrapNativeSuper(Class);
|
|
1910
|
+
}
|
|
1911
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
1912
|
+
var classCallCheck = __webpack_require__("d4ec");
|
|
1913
|
+
|
|
1914
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
1915
|
+
var createClass = __webpack_require__("bee2");
|
|
1916
|
+
|
|
1917
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1918
|
+
var defineProperty = __webpack_require__("ade3");
|
|
1919
|
+
|
|
1920
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
1921
|
+
var es_array_for_each = __webpack_require__("4160");
|
|
1922
|
+
|
|
1923
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
1924
|
+
var web_dom_collections_for_each = __webpack_require__("159b");
|
|
1925
|
+
|
|
1926
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
1927
|
+
var es_object_keys = __webpack_require__("b64b");
|
|
1928
|
+
|
|
1929
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
1930
|
+
var es_array_reduce = __webpack_require__("13d5");
|
|
1931
|
+
|
|
1932
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
1933
|
+
var es_array_concat = __webpack_require__("99af");
|
|
1934
|
+
|
|
1935
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
1936
|
+
var es_object_assign = __webpack_require__("cca6");
|
|
1937
|
+
|
|
1938
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.timers.js
|
|
1939
|
+
var web_timers = __webpack_require__("4795");
|
|
1940
|
+
|
|
1941
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
1942
|
+
var es_array_includes = __webpack_require__("caad");
|
|
1943
|
+
|
|
1944
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
1945
|
+
var es_json_stringify = __webpack_require__("e9c4");
|
|
1946
|
+
|
|
1947
|
+
// CONCATENATED MODULE: ./src/lib/webApi/websocket.js
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
var EventTypes = ['open', 'close', 'message', 'error', 'reconnect'];
|
|
1973
|
+
var DEFAULT_CHECK_TIME = 30 * 1000; // 心跳检测的默认时间
|
|
1974
|
+
|
|
1975
|
+
var TIMEOUT = 40 * 1000; //重连延迟时间
|
|
1976
|
+
|
|
1977
|
+
var DEFAULT_CHECK_COUNT = 10; // 心跳检测默认失败重连次数
|
|
1978
|
+
|
|
1979
|
+
var DEFAULT_CHECK_DATA = {
|
|
1980
|
+
Type: 1,
|
|
1981
|
+
Parameters: ['alive']
|
|
1982
|
+
}; // 心跳检测的默认参数
|
|
1983
|
+
|
|
1984
|
+
var CLOSE_ABNORMAL = 1000; // WebSocket正常关闭code码
|
|
1985
|
+
|
|
1986
|
+
function deepClone(source) {
|
|
1987
|
+
if (!source && Object(esm_typeof["a" /* default */])(source) !== 'object') {
|
|
1988
|
+
throw new Error('error arguments', 'deepClone');
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
var targetObj = source.constructor === Array ? [] : {};
|
|
1992
|
+
Object.keys(source).forEach(function (keys) {
|
|
1993
|
+
if (source[keys] && Object(esm_typeof["a" /* default */])(source[keys]) === 'object') {
|
|
1994
|
+
targetObj[keys] = deepClone(source[keys]);
|
|
1995
|
+
} else {
|
|
1996
|
+
targetObj[keys] = source[keys];
|
|
1997
|
+
}
|
|
1998
|
+
});
|
|
1999
|
+
return targetObj;
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
var websocket_EventMap = /*#__PURE__*/function () {
|
|
2003
|
+
function EventMap() {
|
|
2004
|
+
Object(classCallCheck["a" /* default */])(this, EventMap);
|
|
2005
|
+
|
|
2006
|
+
Object(defineProperty["a" /* default */])(this, "deps", new Map());
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
Object(createClass["a" /* default */])(EventMap, [{
|
|
2010
|
+
key: "depend",
|
|
2011
|
+
value: function depend(eventType, callback) {
|
|
2012
|
+
this.deps.set(eventType, callback);
|
|
2013
|
+
}
|
|
2014
|
+
}, {
|
|
2015
|
+
key: "notify",
|
|
2016
|
+
value: function notify(eventType, event) {
|
|
2017
|
+
if (this.deps.has(eventType)) {
|
|
2018
|
+
this.deps.get(eventType)(event);
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2021
|
+
}]);
|
|
2022
|
+
|
|
2023
|
+
return EventMap;
|
|
2024
|
+
}();
|
|
2025
|
+
|
|
2026
|
+
var websocket_Socket = /*#__PURE__*/function (_WebSocket) {
|
|
2027
|
+
_inherits(Socket, _WebSocket);
|
|
2028
|
+
|
|
2029
|
+
var _super = _createSuper(Socket);
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
*
|
|
2033
|
+
* @param {Object} _self vue实例 用于在销毁组件时 如果有重连的定时 则销毁
|
|
2034
|
+
*/
|
|
2035
|
+
function Socket(options, dep) {
|
|
2036
|
+
var _this;
|
|
2037
|
+
|
|
2038
|
+
var reconnectCount = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
2039
|
+
|
|
2040
|
+
var _self = arguments.length > 3 ? arguments[3] : undefined;
|
|
2041
|
+
|
|
2042
|
+
Object(classCallCheck["a" /* default */])(this, Socket);
|
|
2043
|
+
|
|
2044
|
+
var _baseURL = '';
|
|
2045
|
+
var url = options.url,
|
|
2046
|
+
protocols = options.protocols,
|
|
2047
|
+
_options$query = options.query,
|
|
2048
|
+
query = _options$query === void 0 ? {} : _options$query,
|
|
2049
|
+
_options$greet = options.greet,
|
|
2050
|
+
greet = _options$greet === void 0 ? null : _options$greet,
|
|
2051
|
+
_options$customBase = options.customBase,
|
|
2052
|
+
customBase = _options$customBase === void 0 ? null : _options$customBase,
|
|
2053
|
+
checkData = options.checkData;
|
|
2054
|
+
|
|
2055
|
+
var _queryParams = Object.keys(query).reduce(function (str, key) {
|
|
2056
|
+
if (Object(esm_typeof["a" /* default */])(query[key]) !== 'object' && typeof query[key] !== 'function') {
|
|
2057
|
+
return str += str.length > 0 ? "&".concat(key, "=").concat(query[key]) : "".concat(key, "=").concat(query[key]);
|
|
2058
|
+
} else {
|
|
2059
|
+
return str;
|
|
2060
|
+
}
|
|
2061
|
+
}, '');
|
|
2062
|
+
|
|
2063
|
+
if (customBase) {
|
|
2064
|
+
_baseURL = customBase;
|
|
2065
|
+
}
|
|
2066
|
+
|
|
2067
|
+
_this = _super.call(this, "".concat(_baseURL).concat(url).concat(_queryParams ? '?' + _queryParams : ''), protocols);
|
|
2068
|
+
|
|
2069
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckData", DEFAULT_CHECK_DATA);
|
|
2070
|
+
|
|
2071
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckTimeout", DEFAULT_CHECK_TIME);
|
|
2072
|
+
|
|
2073
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckInterval", null);
|
|
2074
|
+
|
|
2075
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckCount", DEFAULT_CHECK_COUNT);
|
|
2076
|
+
|
|
2077
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "firstConnect", false);
|
|
2078
|
+
|
|
2079
|
+
_this.self = _self;
|
|
2080
|
+
_this._currentOptions = options;
|
|
2081
|
+
_this._dep = dep;
|
|
2082
|
+
_this.heartCheckData = checkData || DEFAULT_CHECK_DATA;
|
|
2083
|
+
_this._reconnectCount = reconnectCount;
|
|
2084
|
+
greet && Object.assign(_assertThisInitialized(_this), {
|
|
2085
|
+
heartCheckData: greet
|
|
2086
|
+
});
|
|
2087
|
+
|
|
2088
|
+
_this.initSocket();
|
|
2089
|
+
|
|
2090
|
+
return _this;
|
|
2091
|
+
} // 初始化WebSocket
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
Object(createClass["a" /* default */])(Socket, [{
|
|
2095
|
+
key: "initSocket",
|
|
2096
|
+
value: function initSocket() {
|
|
2097
|
+
// 监听webSocket的事件
|
|
2098
|
+
this.onopen = function (e) {
|
|
2099
|
+
this._dep.notify('open', e);
|
|
2100
|
+
|
|
2101
|
+
this.firstConnect = true;
|
|
2102
|
+
this.heartCheckStart();
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
this.onclose = function (e) {
|
|
2106
|
+
var _this2 = this;
|
|
2107
|
+
|
|
2108
|
+
this._dep.notify('close', e); // 如果WebSocket是非正常关闭 则进行重连
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
if (e.code !== CLOSE_ABNORMAL) {
|
|
2112
|
+
var _this$self;
|
|
2113
|
+
|
|
2114
|
+
// if (this._reconnectCount < this.heartCheckCount) {
|
|
2115
|
+
this._reconnectCount++;
|
|
2116
|
+
var optionsClone = deepClone(this._currentOptions); // 只有初次连接成功 重连时才传递参数
|
|
2117
|
+
|
|
2118
|
+
if (this.firstConnect) {
|
|
2119
|
+
optionsClone.query.type = 'reconnect';
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
((_this$self = this.self) === null || _this$self === void 0 ? void 0 : _this$self.socketTimer) && clearTimeout(this.self.socketTimer);
|
|
2123
|
+
this.self.socketTimer = setTimeout(function () {
|
|
2124
|
+
var _socket = new Socket(optionsClone, _this2._dep, _this2._reconnectCount, _this2.self);
|
|
2125
|
+
|
|
2126
|
+
_this2._dep.notify('reconnect', _socket);
|
|
2127
|
+
}, TIMEOUT); // } else {
|
|
2128
|
+
// return console.error('WebSocket重连失败, 请联系技术客服!')
|
|
2129
|
+
// }
|
|
2130
|
+
}
|
|
2131
|
+
};
|
|
2132
|
+
|
|
2133
|
+
this.onerror = function (e) {
|
|
2134
|
+
this._dep.notify('error', e);
|
|
2135
|
+
};
|
|
2136
|
+
|
|
2137
|
+
this.onmessage = function (e) {
|
|
2138
|
+
var _this3 = this;
|
|
2139
|
+
|
|
2140
|
+
// 如果后端返回的是二进制数据
|
|
2141
|
+
if (e.data instanceof Blob) {
|
|
2142
|
+
var reader = new FileReader();
|
|
2143
|
+
reader.readAsArrayBuffer(e.data);
|
|
2144
|
+
|
|
2145
|
+
reader.onload = function (ev) {
|
|
2146
|
+
if (ev.target.readyState === FileReader.DONE) {
|
|
2147
|
+
var _ev$target;
|
|
2148
|
+
|
|
2149
|
+
_this3._dep.notify('message', (_ev$target = ev.target) === null || _ev$target === void 0 ? void 0 : _ev$target.result);
|
|
2150
|
+
}
|
|
2151
|
+
};
|
|
2152
|
+
} else {
|
|
2153
|
+
// 处理普通数据
|
|
2154
|
+
try {
|
|
2155
|
+
// const _parseData = JSON.parse(e.data)
|
|
2156
|
+
this._dep.notify('message', e.data);
|
|
2157
|
+
} catch (error) {
|
|
2158
|
+
console.log(error);
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
};
|
|
2162
|
+
} // 订阅事件
|
|
2163
|
+
|
|
2164
|
+
}, {
|
|
2165
|
+
key: "subscribe",
|
|
2166
|
+
value: function subscribe(eventType, callback) {
|
|
2167
|
+
if (typeof callback !== 'function') throw new Error('The second param is must be a function');
|
|
2168
|
+
if (!EventTypes.includes(eventType)) throw new Error('The first param is not supported');
|
|
2169
|
+
|
|
2170
|
+
this._dep.depend(eventType, callback);
|
|
2171
|
+
} // 发送消息
|
|
2172
|
+
|
|
2173
|
+
}, {
|
|
2174
|
+
key: "sendMessage",
|
|
2175
|
+
value: function sendMessage(data) {
|
|
2176
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
2177
|
+
var _options$transformJSO = options.transformJSON,
|
|
2178
|
+
transformJSON = _options$transformJSO === void 0 ? true : _options$transformJSO;
|
|
2179
|
+
var result = data;
|
|
2180
|
+
|
|
2181
|
+
if (transformJSON) {
|
|
2182
|
+
result = JSON.stringify(data);
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
this.send(result);
|
|
2186
|
+
} // 关闭WebSocket
|
|
2187
|
+
|
|
2188
|
+
}, {
|
|
2189
|
+
key: "closeSocket",
|
|
2190
|
+
value: function closeSocket(code, reason) {
|
|
2191
|
+
this.clearHeartCheck();
|
|
2192
|
+
this.close(code, reason);
|
|
2193
|
+
} // 开始心跳检测
|
|
1502
2194
|
|
|
1503
|
-
|
|
1504
|
-
|
|
2195
|
+
}, {
|
|
2196
|
+
key: "heartCheckStart",
|
|
2197
|
+
value: function heartCheckStart() {
|
|
2198
|
+
var _this4 = this;
|
|
1505
2199
|
|
|
1506
|
-
|
|
2200
|
+
this.heartCheckInterval = setInterval(function () {
|
|
2201
|
+
if (_this4.readyState === _this4.OPEN) {
|
|
2202
|
+
var transformJSON = Object(esm_typeof["a" /* default */])(_this4.heartCheckData) === 'object';
|
|
1507
2203
|
|
|
1508
|
-
|
|
1509
|
-
|
|
2204
|
+
_this4.sendMessage(_this4.heartCheckData, {
|
|
2205
|
+
transformJSON: transformJSON
|
|
2206
|
+
});
|
|
2207
|
+
} else {
|
|
2208
|
+
_this4.clearHeartCheck();
|
|
2209
|
+
}
|
|
2210
|
+
}, this.heartCheckTimeout);
|
|
2211
|
+
} // 清除心跳检测
|
|
1510
2212
|
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
});
|
|
2213
|
+
}, {
|
|
2214
|
+
key: "clearHeartCheck",
|
|
2215
|
+
value: function clearHeartCheck() {
|
|
2216
|
+
clearInterval(this.heartCheckInterval);
|
|
2217
|
+
} // 重置心跳检测
|
|
1517
2218
|
|
|
2219
|
+
}, {
|
|
2220
|
+
key: "resetHeartCheck",
|
|
2221
|
+
value: function resetHeartCheck() {
|
|
2222
|
+
clearInterval(this.heartCheckInterval);
|
|
2223
|
+
this.heartCheckStart();
|
|
2224
|
+
}
|
|
2225
|
+
}]);
|
|
1518
2226
|
|
|
1519
|
-
|
|
2227
|
+
return Socket;
|
|
2228
|
+
}( /*#__PURE__*/wrapNativeSuper_wrapNativeSuper(WebSocket)); // 默认的配置项
|
|
1520
2229
|
|
|
1521
|
-
/***/ "4269":
|
|
1522
|
-
/***/ (function(module, exports) {
|
|
1523
2230
|
|
|
1524
|
-
|
|
2231
|
+
var defaultOptions = {
|
|
2232
|
+
url: '',
|
|
2233
|
+
protocols: '',
|
|
2234
|
+
customBase: null,
|
|
2235
|
+
query: {}
|
|
2236
|
+
};
|
|
2237
|
+
var useSocket = function useSocket() {
|
|
2238
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOptions;
|
|
2239
|
+
|
|
2240
|
+
var _self = arguments.length > 1 ? arguments[1] : undefined;
|
|
2241
|
+
|
|
2242
|
+
if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
|
|
2243
|
+
var dep = new websocket_EventMap();
|
|
2244
|
+
var reconnectCount = 0;
|
|
2245
|
+
return new websocket_Socket(options, dep, reconnectCount, _self);
|
|
2246
|
+
};
|
|
1525
2247
|
|
|
1526
2248
|
/***/ }),
|
|
1527
2249
|
|
|
@@ -1719,6 +2441,69 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
1719
2441
|
});
|
|
1720
2442
|
|
|
1721
2443
|
|
|
2444
|
+
/***/ }),
|
|
2445
|
+
|
|
2446
|
+
/***/ "4ae1":
|
|
2447
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2448
|
+
|
|
2449
|
+
var $ = __webpack_require__("23e7");
|
|
2450
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
2451
|
+
var apply = __webpack_require__("2ba4");
|
|
2452
|
+
var bind = __webpack_require__("0538");
|
|
2453
|
+
var aConstructor = __webpack_require__("5087");
|
|
2454
|
+
var anObject = __webpack_require__("825a");
|
|
2455
|
+
var isObject = __webpack_require__("861d");
|
|
2456
|
+
var create = __webpack_require__("7c73");
|
|
2457
|
+
var fails = __webpack_require__("d039");
|
|
2458
|
+
|
|
2459
|
+
var nativeConstruct = getBuiltIn('Reflect', 'construct');
|
|
2460
|
+
var ObjectPrototype = Object.prototype;
|
|
2461
|
+
var push = [].push;
|
|
2462
|
+
|
|
2463
|
+
// `Reflect.construct` method
|
|
2464
|
+
// https://tc39.es/ecma262/#sec-reflect.construct
|
|
2465
|
+
// MS Edge supports only 2 arguments and argumentsList argument is optional
|
|
2466
|
+
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
|
|
2467
|
+
var NEW_TARGET_BUG = fails(function () {
|
|
2468
|
+
function F() { /* empty */ }
|
|
2469
|
+
return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
|
|
2470
|
+
});
|
|
2471
|
+
|
|
2472
|
+
var ARGS_BUG = !fails(function () {
|
|
2473
|
+
nativeConstruct(function () { /* empty */ });
|
|
2474
|
+
});
|
|
2475
|
+
|
|
2476
|
+
var FORCED = NEW_TARGET_BUG || ARGS_BUG;
|
|
2477
|
+
|
|
2478
|
+
$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
|
|
2479
|
+
construct: function construct(Target, args /* , newTarget */) {
|
|
2480
|
+
aConstructor(Target);
|
|
2481
|
+
anObject(args);
|
|
2482
|
+
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
|
|
2483
|
+
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
|
|
2484
|
+
if (Target == newTarget) {
|
|
2485
|
+
// w/o altered newTarget, optimization for 0-4 arguments
|
|
2486
|
+
switch (args.length) {
|
|
2487
|
+
case 0: return new Target();
|
|
2488
|
+
case 1: return new Target(args[0]);
|
|
2489
|
+
case 2: return new Target(args[0], args[1]);
|
|
2490
|
+
case 3: return new Target(args[0], args[1], args[2]);
|
|
2491
|
+
case 4: return new Target(args[0], args[1], args[2], args[3]);
|
|
2492
|
+
}
|
|
2493
|
+
// w/o altered newTarget, lot of arguments case
|
|
2494
|
+
var $args = [null];
|
|
2495
|
+
apply(push, $args, args);
|
|
2496
|
+
return new (apply(bind, Target, $args))();
|
|
2497
|
+
}
|
|
2498
|
+
// with altered newTarget, not support built-in constructors
|
|
2499
|
+
var proto = newTarget.prototype;
|
|
2500
|
+
var instance = create(isObject(proto) ? proto : ObjectPrototype);
|
|
2501
|
+
var result = apply(Target, instance, args);
|
|
2502
|
+
return isObject(result) ? result : instance;
|
|
2503
|
+
}
|
|
2504
|
+
});
|
|
2505
|
+
|
|
2506
|
+
|
|
1722
2507
|
/***/ }),
|
|
1723
2508
|
|
|
1724
2509
|
/***/ "4d64":
|
|
@@ -1860,6 +2645,23 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
1860
2645
|
};
|
|
1861
2646
|
|
|
1862
2647
|
|
|
2648
|
+
/***/ }),
|
|
2649
|
+
|
|
2650
|
+
/***/ "4ec9":
|
|
2651
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2652
|
+
|
|
2653
|
+
"use strict";
|
|
2654
|
+
|
|
2655
|
+
var collection = __webpack_require__("6d61");
|
|
2656
|
+
var collectionStrong = __webpack_require__("6566");
|
|
2657
|
+
|
|
2658
|
+
// `Map` constructor
|
|
2659
|
+
// https://tc39.es/ecma262/#sec-map-objects
|
|
2660
|
+
collection('Map', function (init) {
|
|
2661
|
+
return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
|
|
2662
|
+
}, collectionStrong);
|
|
2663
|
+
|
|
2664
|
+
|
|
1863
2665
|
/***/ }),
|
|
1864
2666
|
|
|
1865
2667
|
/***/ "4fad":
|
|
@@ -1949,6 +2751,44 @@ webpackContext.id = "5180";
|
|
|
1949
2751
|
|
|
1950
2752
|
/***/ }),
|
|
1951
2753
|
|
|
2754
|
+
/***/ "53ca":
|
|
2755
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2756
|
+
|
|
2757
|
+
"use strict";
|
|
2758
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
|
2759
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a4d3");
|
|
2760
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2761
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("e01a");
|
|
2762
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
2763
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d3b7");
|
|
2764
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
2765
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("d28b");
|
|
2766
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
2767
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("e260");
|
|
2768
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
2769
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("3ca3");
|
|
2770
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
2771
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("ddb0");
|
|
2772
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__);
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
function _typeof(obj) {
|
|
2781
|
+
"@babel/helpers - typeof";
|
|
2782
|
+
|
|
2783
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
2784
|
+
return typeof obj;
|
|
2785
|
+
} : function (obj) {
|
|
2786
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
2787
|
+
}, _typeof(obj);
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
/***/ }),
|
|
2791
|
+
|
|
1952
2792
|
/***/ "5692":
|
|
1953
2793
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1954
2794
|
|
|
@@ -2252,6 +3092,218 @@ module.exports = {
|
|
|
2252
3092
|
};
|
|
2253
3093
|
|
|
2254
3094
|
|
|
3095
|
+
/***/ }),
|
|
3096
|
+
|
|
3097
|
+
/***/ "6566":
|
|
3098
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3099
|
+
|
|
3100
|
+
"use strict";
|
|
3101
|
+
|
|
3102
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
3103
|
+
var create = __webpack_require__("7c73");
|
|
3104
|
+
var redefineAll = __webpack_require__("e2cc");
|
|
3105
|
+
var bind = __webpack_require__("0366");
|
|
3106
|
+
var anInstance = __webpack_require__("19aa");
|
|
3107
|
+
var iterate = __webpack_require__("2266");
|
|
3108
|
+
var defineIterator = __webpack_require__("7dd0");
|
|
3109
|
+
var setSpecies = __webpack_require__("2626");
|
|
3110
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
3111
|
+
var fastKey = __webpack_require__("f183").fastKey;
|
|
3112
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
3113
|
+
|
|
3114
|
+
var setInternalState = InternalStateModule.set;
|
|
3115
|
+
var internalStateGetterFor = InternalStateModule.getterFor;
|
|
3116
|
+
|
|
3117
|
+
module.exports = {
|
|
3118
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
3119
|
+
var Constructor = wrapper(function (that, iterable) {
|
|
3120
|
+
anInstance(that, Prototype);
|
|
3121
|
+
setInternalState(that, {
|
|
3122
|
+
type: CONSTRUCTOR_NAME,
|
|
3123
|
+
index: create(null),
|
|
3124
|
+
first: undefined,
|
|
3125
|
+
last: undefined,
|
|
3126
|
+
size: 0
|
|
3127
|
+
});
|
|
3128
|
+
if (!DESCRIPTORS) that.size = 0;
|
|
3129
|
+
if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
|
|
3130
|
+
});
|
|
3131
|
+
|
|
3132
|
+
var Prototype = Constructor.prototype;
|
|
3133
|
+
|
|
3134
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
3135
|
+
|
|
3136
|
+
var define = function (that, key, value) {
|
|
3137
|
+
var state = getInternalState(that);
|
|
3138
|
+
var entry = getEntry(that, key);
|
|
3139
|
+
var previous, index;
|
|
3140
|
+
// change existing entry
|
|
3141
|
+
if (entry) {
|
|
3142
|
+
entry.value = value;
|
|
3143
|
+
// create new entry
|
|
3144
|
+
} else {
|
|
3145
|
+
state.last = entry = {
|
|
3146
|
+
index: index = fastKey(key, true),
|
|
3147
|
+
key: key,
|
|
3148
|
+
value: value,
|
|
3149
|
+
previous: previous = state.last,
|
|
3150
|
+
next: undefined,
|
|
3151
|
+
removed: false
|
|
3152
|
+
};
|
|
3153
|
+
if (!state.first) state.first = entry;
|
|
3154
|
+
if (previous) previous.next = entry;
|
|
3155
|
+
if (DESCRIPTORS) state.size++;
|
|
3156
|
+
else that.size++;
|
|
3157
|
+
// add to index
|
|
3158
|
+
if (index !== 'F') state.index[index] = entry;
|
|
3159
|
+
} return that;
|
|
3160
|
+
};
|
|
3161
|
+
|
|
3162
|
+
var getEntry = function (that, key) {
|
|
3163
|
+
var state = getInternalState(that);
|
|
3164
|
+
// fast case
|
|
3165
|
+
var index = fastKey(key);
|
|
3166
|
+
var entry;
|
|
3167
|
+
if (index !== 'F') return state.index[index];
|
|
3168
|
+
// frozen object case
|
|
3169
|
+
for (entry = state.first; entry; entry = entry.next) {
|
|
3170
|
+
if (entry.key == key) return entry;
|
|
3171
|
+
}
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
redefineAll(Prototype, {
|
|
3175
|
+
// `{ Map, Set }.prototype.clear()` methods
|
|
3176
|
+
// https://tc39.es/ecma262/#sec-map.prototype.clear
|
|
3177
|
+
// https://tc39.es/ecma262/#sec-set.prototype.clear
|
|
3178
|
+
clear: function clear() {
|
|
3179
|
+
var that = this;
|
|
3180
|
+
var state = getInternalState(that);
|
|
3181
|
+
var data = state.index;
|
|
3182
|
+
var entry = state.first;
|
|
3183
|
+
while (entry) {
|
|
3184
|
+
entry.removed = true;
|
|
3185
|
+
if (entry.previous) entry.previous = entry.previous.next = undefined;
|
|
3186
|
+
delete data[entry.index];
|
|
3187
|
+
entry = entry.next;
|
|
3188
|
+
}
|
|
3189
|
+
state.first = state.last = undefined;
|
|
3190
|
+
if (DESCRIPTORS) state.size = 0;
|
|
3191
|
+
else that.size = 0;
|
|
3192
|
+
},
|
|
3193
|
+
// `{ Map, Set }.prototype.delete(key)` methods
|
|
3194
|
+
// https://tc39.es/ecma262/#sec-map.prototype.delete
|
|
3195
|
+
// https://tc39.es/ecma262/#sec-set.prototype.delete
|
|
3196
|
+
'delete': function (key) {
|
|
3197
|
+
var that = this;
|
|
3198
|
+
var state = getInternalState(that);
|
|
3199
|
+
var entry = getEntry(that, key);
|
|
3200
|
+
if (entry) {
|
|
3201
|
+
var next = entry.next;
|
|
3202
|
+
var prev = entry.previous;
|
|
3203
|
+
delete state.index[entry.index];
|
|
3204
|
+
entry.removed = true;
|
|
3205
|
+
if (prev) prev.next = next;
|
|
3206
|
+
if (next) next.previous = prev;
|
|
3207
|
+
if (state.first == entry) state.first = next;
|
|
3208
|
+
if (state.last == entry) state.last = prev;
|
|
3209
|
+
if (DESCRIPTORS) state.size--;
|
|
3210
|
+
else that.size--;
|
|
3211
|
+
} return !!entry;
|
|
3212
|
+
},
|
|
3213
|
+
// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
|
|
3214
|
+
// https://tc39.es/ecma262/#sec-map.prototype.foreach
|
|
3215
|
+
// https://tc39.es/ecma262/#sec-set.prototype.foreach
|
|
3216
|
+
forEach: function forEach(callbackfn /* , that = undefined */) {
|
|
3217
|
+
var state = getInternalState(this);
|
|
3218
|
+
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3219
|
+
var entry;
|
|
3220
|
+
while (entry = entry ? entry.next : state.first) {
|
|
3221
|
+
boundFunction(entry.value, entry.key, this);
|
|
3222
|
+
// revert to the last existing entry
|
|
3223
|
+
while (entry && entry.removed) entry = entry.previous;
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
// `{ Map, Set}.prototype.has(key)` methods
|
|
3227
|
+
// https://tc39.es/ecma262/#sec-map.prototype.has
|
|
3228
|
+
// https://tc39.es/ecma262/#sec-set.prototype.has
|
|
3229
|
+
has: function has(key) {
|
|
3230
|
+
return !!getEntry(this, key);
|
|
3231
|
+
}
|
|
3232
|
+
});
|
|
3233
|
+
|
|
3234
|
+
redefineAll(Prototype, IS_MAP ? {
|
|
3235
|
+
// `Map.prototype.get(key)` method
|
|
3236
|
+
// https://tc39.es/ecma262/#sec-map.prototype.get
|
|
3237
|
+
get: function get(key) {
|
|
3238
|
+
var entry = getEntry(this, key);
|
|
3239
|
+
return entry && entry.value;
|
|
3240
|
+
},
|
|
3241
|
+
// `Map.prototype.set(key, value)` method
|
|
3242
|
+
// https://tc39.es/ecma262/#sec-map.prototype.set
|
|
3243
|
+
set: function set(key, value) {
|
|
3244
|
+
return define(this, key === 0 ? 0 : key, value);
|
|
3245
|
+
}
|
|
3246
|
+
} : {
|
|
3247
|
+
// `Set.prototype.add(value)` method
|
|
3248
|
+
// https://tc39.es/ecma262/#sec-set.prototype.add
|
|
3249
|
+
add: function add(value) {
|
|
3250
|
+
return define(this, value = value === 0 ? 0 : value, value);
|
|
3251
|
+
}
|
|
3252
|
+
});
|
|
3253
|
+
if (DESCRIPTORS) defineProperty(Prototype, 'size', {
|
|
3254
|
+
get: function () {
|
|
3255
|
+
return getInternalState(this).size;
|
|
3256
|
+
}
|
|
3257
|
+
});
|
|
3258
|
+
return Constructor;
|
|
3259
|
+
},
|
|
3260
|
+
setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
|
|
3261
|
+
var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
|
|
3262
|
+
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
3263
|
+
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
|
|
3264
|
+
// `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
|
|
3265
|
+
// https://tc39.es/ecma262/#sec-map.prototype.entries
|
|
3266
|
+
// https://tc39.es/ecma262/#sec-map.prototype.keys
|
|
3267
|
+
// https://tc39.es/ecma262/#sec-map.prototype.values
|
|
3268
|
+
// https://tc39.es/ecma262/#sec-map.prototype-@@iterator
|
|
3269
|
+
// https://tc39.es/ecma262/#sec-set.prototype.entries
|
|
3270
|
+
// https://tc39.es/ecma262/#sec-set.prototype.keys
|
|
3271
|
+
// https://tc39.es/ecma262/#sec-set.prototype.values
|
|
3272
|
+
// https://tc39.es/ecma262/#sec-set.prototype-@@iterator
|
|
3273
|
+
defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
|
|
3274
|
+
setInternalState(this, {
|
|
3275
|
+
type: ITERATOR_NAME,
|
|
3276
|
+
target: iterated,
|
|
3277
|
+
state: getInternalCollectionState(iterated),
|
|
3278
|
+
kind: kind,
|
|
3279
|
+
last: undefined
|
|
3280
|
+
});
|
|
3281
|
+
}, function () {
|
|
3282
|
+
var state = getInternalIteratorState(this);
|
|
3283
|
+
var kind = state.kind;
|
|
3284
|
+
var entry = state.last;
|
|
3285
|
+
// revert to the last existing entry
|
|
3286
|
+
while (entry && entry.removed) entry = entry.previous;
|
|
3287
|
+
// get next entry
|
|
3288
|
+
if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
|
|
3289
|
+
// or finish the iteration
|
|
3290
|
+
state.target = undefined;
|
|
3291
|
+
return { value: undefined, done: true };
|
|
3292
|
+
}
|
|
3293
|
+
// return step by kind
|
|
3294
|
+
if (kind == 'keys') return { value: entry.key, done: false };
|
|
3295
|
+
if (kind == 'values') return { value: entry.value, done: false };
|
|
3296
|
+
return { value: [entry.key, entry.value], done: false };
|
|
3297
|
+
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
3298
|
+
|
|
3299
|
+
// `{ Map, Set }.prototype[@@species]` accessors
|
|
3300
|
+
// https://tc39.es/ecma262/#sec-get-map-@@species
|
|
3301
|
+
// https://tc39.es/ecma262/#sec-get-set-@@species
|
|
3302
|
+
setSpecies(CONSTRUCTOR_NAME);
|
|
3303
|
+
}
|
|
3304
|
+
};
|
|
3305
|
+
|
|
3306
|
+
|
|
2255
3307
|
/***/ }),
|
|
2256
3308
|
|
|
2257
3309
|
/***/ "65f0":
|
|
@@ -5708,6 +6760,22 @@ module.exports = {
|
|
|
5708
6760
|
};
|
|
5709
6761
|
|
|
5710
6762
|
|
|
6763
|
+
/***/ }),
|
|
6764
|
+
|
|
6765
|
+
/***/ "b8bf":
|
|
6766
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6767
|
+
|
|
6768
|
+
var $ = __webpack_require__("23e7");
|
|
6769
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
6770
|
+
var create = __webpack_require__("7c73");
|
|
6771
|
+
|
|
6772
|
+
// `Object.create` method
|
|
6773
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
6774
|
+
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
|
|
6775
|
+
create: create
|
|
6776
|
+
});
|
|
6777
|
+
|
|
6778
|
+
|
|
5711
6779
|
/***/ }),
|
|
5712
6780
|
|
|
5713
6781
|
/***/ "b980":
|
|
@@ -5801,6 +6869,21 @@ module.exports = function (input, pref) {
|
|
|
5801
6869
|
};
|
|
5802
6870
|
|
|
5803
6871
|
|
|
6872
|
+
/***/ }),
|
|
6873
|
+
|
|
6874
|
+
/***/ "c0b6":
|
|
6875
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6876
|
+
|
|
6877
|
+
var $ = __webpack_require__("23e7");
|
|
6878
|
+
var bind = __webpack_require__("0538");
|
|
6879
|
+
|
|
6880
|
+
// `Function.prototype.bind` method
|
|
6881
|
+
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
6882
|
+
$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
|
|
6883
|
+
bind: bind
|
|
6884
|
+
});
|
|
6885
|
+
|
|
6886
|
+
|
|
5804
6887
|
/***/ }),
|
|
5805
6888
|
|
|
5806
6889
|
/***/ "c430":
|
|
@@ -5957,6 +7040,29 @@ module.exports = function (object, names) {
|
|
|
5957
7040
|
};
|
|
5958
7041
|
|
|
5959
7042
|
|
|
7043
|
+
/***/ }),
|
|
7044
|
+
|
|
7045
|
+
/***/ "caad":
|
|
7046
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7047
|
+
|
|
7048
|
+
"use strict";
|
|
7049
|
+
|
|
7050
|
+
var $ = __webpack_require__("23e7");
|
|
7051
|
+
var $includes = __webpack_require__("4d64").includes;
|
|
7052
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
7053
|
+
|
|
7054
|
+
// `Array.prototype.includes` method
|
|
7055
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
7056
|
+
$({ target: 'Array', proto: true }, {
|
|
7057
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
7058
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
7059
|
+
}
|
|
7060
|
+
});
|
|
7061
|
+
|
|
7062
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7063
|
+
addToUnscopables('includes');
|
|
7064
|
+
|
|
7065
|
+
|
|
5960
7066
|
/***/ }),
|
|
5961
7067
|
|
|
5962
7068
|
/***/ "cc12":
|
|
@@ -7667,6 +8773,22 @@ module.exports = function (key) {
|
|
|
7667
8773
|
};
|
|
7668
8774
|
|
|
7669
8775
|
|
|
8776
|
+
/***/ }),
|
|
8777
|
+
|
|
8778
|
+
/***/ "f8c9":
|
|
8779
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8780
|
+
|
|
8781
|
+
var $ = __webpack_require__("23e7");
|
|
8782
|
+
var global = __webpack_require__("da84");
|
|
8783
|
+
var setToStringTag = __webpack_require__("d44e");
|
|
8784
|
+
|
|
8785
|
+
$({ global: true }, { Reflect: {} });
|
|
8786
|
+
|
|
8787
|
+
// Reflect[@@toStringTag] property
|
|
8788
|
+
// https://tc39.es/ecma262/#sec-reflect-@@tostringtag
|
|
8789
|
+
setToStringTag(global.Reflect, 'Reflect', true);
|
|
8790
|
+
|
|
8791
|
+
|
|
7670
8792
|
/***/ }),
|
|
7671
8793
|
|
|
7672
8794
|
/***/ "fb15":
|
|
@@ -7762,44 +8884,12 @@ function _classPrivateFieldGet(receiver, privateMap) {
|
|
|
7762
8884
|
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
7763
8885
|
return _classApplyDescriptorGet(receiver, descriptor);
|
|
7764
8886
|
}
|
|
7765
|
-
// EXTERNAL MODULE: ./node_modules/
|
|
7766
|
-
var
|
|
7767
|
-
|
|
7768
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
7769
|
-
var es_symbol_description = __webpack_require__("e01a");
|
|
8887
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8888
|
+
var esm_typeof = __webpack_require__("53ca");
|
|
7770
8889
|
|
|
7771
8890
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
7772
8891
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
7773
8892
|
|
|
7774
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
7775
|
-
var es_symbol_iterator = __webpack_require__("d28b");
|
|
7776
|
-
|
|
7777
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
7778
|
-
var es_array_iterator = __webpack_require__("e260");
|
|
7779
|
-
|
|
7780
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
7781
|
-
var es_string_iterator = __webpack_require__("3ca3");
|
|
7782
|
-
|
|
7783
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
7784
|
-
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
7785
|
-
|
|
7786
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
function _typeof(obj) {
|
|
7795
|
-
"@babel/helpers - typeof";
|
|
7796
|
-
|
|
7797
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
7798
|
-
return typeof obj;
|
|
7799
|
-
} : function (obj) {
|
|
7800
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
7801
|
-
}, _typeof(obj);
|
|
7802
|
-
}
|
|
7803
8893
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
7804
8894
|
var es_object_assign = __webpack_require__("cca6");
|
|
7805
8895
|
|
|
@@ -7818,9 +8908,18 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
7818
8908
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
7819
8909
|
var es_object_keys = __webpack_require__("b64b");
|
|
7820
8910
|
|
|
8911
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
8912
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
8913
|
+
|
|
8914
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
8915
|
+
var es_string_iterator = __webpack_require__("3ca3");
|
|
8916
|
+
|
|
7821
8917
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
|
7822
8918
|
var es_weak_map = __webpack_require__("10d1");
|
|
7823
8919
|
|
|
8920
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
8921
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
8922
|
+
|
|
7824
8923
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
7825
8924
|
var defineProperty = __webpack_require__("ade3");
|
|
7826
8925
|
|
|
@@ -7914,7 +9013,7 @@ var w = function w(d, e, t) {
|
|
|
7914
9013
|
};
|
|
7915
9014
|
|
|
7916
9015
|
var phoneClient_b = function b(d, e, t) {
|
|
7917
|
-
return w(d,
|
|
9016
|
+
return w(d, Object(esm_typeof["a" /* default */])(e) != "symbol" ? e + "" : e, t), t;
|
|
7918
9017
|
};
|
|
7919
9018
|
|
|
7920
9019
|
var phoneClient_j = /*#__PURE__*/function () {
|
|
@@ -9030,7 +10129,7 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, docePr
|
|
|
9030
10129
|
|
|
9031
10130
|
}; // 判断videoConfig是否为JSON对象
|
|
9032
10131
|
|
|
9033
|
-
if (videoConfig &&
|
|
10132
|
+
if (videoConfig && Object(esm_typeof["a" /* default */])(videoConfig) === 'object' && Object.prototype.toString.call(videoConfig) === '[object Object]') {
|
|
9034
10133
|
videoConfigdefault = Object.assign(videoConfigdefault, videoConfig);
|
|
9035
10134
|
}
|
|
9036
10135
|
|