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
|
@@ -194,6 +194,48 @@ module.exports = function (fn, that) {
|
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
|
|
197
|
+
/***/ }),
|
|
198
|
+
|
|
199
|
+
/***/ "0538":
|
|
200
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
201
|
+
|
|
202
|
+
"use strict";
|
|
203
|
+
|
|
204
|
+
var global = __webpack_require__("da84");
|
|
205
|
+
var uncurryThis = __webpack_require__("e330");
|
|
206
|
+
var aCallable = __webpack_require__("59ed");
|
|
207
|
+
var isObject = __webpack_require__("861d");
|
|
208
|
+
var hasOwn = __webpack_require__("1a2d");
|
|
209
|
+
var arraySlice = __webpack_require__("f36a");
|
|
210
|
+
var NATIVE_BIND = __webpack_require__("40d5");
|
|
211
|
+
|
|
212
|
+
var Function = global.Function;
|
|
213
|
+
var concat = uncurryThis([].concat);
|
|
214
|
+
var join = uncurryThis([].join);
|
|
215
|
+
var factories = {};
|
|
216
|
+
|
|
217
|
+
var construct = function (C, argsLength, args) {
|
|
218
|
+
if (!hasOwn(factories, argsLength)) {
|
|
219
|
+
for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';
|
|
220
|
+
factories[argsLength] = Function('C,a', 'return new C(' + join(list, ',') + ')');
|
|
221
|
+
} return factories[argsLength](C, args);
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
// `Function.prototype.bind` method implementation
|
|
225
|
+
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
226
|
+
module.exports = NATIVE_BIND ? Function.bind : function bind(that /* , ...args */) {
|
|
227
|
+
var F = aCallable(this);
|
|
228
|
+
var Prototype = F.prototype;
|
|
229
|
+
var partArgs = arraySlice(arguments, 1);
|
|
230
|
+
var boundFunction = function bound(/* args... */) {
|
|
231
|
+
var args = concat(partArgs, arraySlice(arguments));
|
|
232
|
+
return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);
|
|
233
|
+
};
|
|
234
|
+
if (isObject(Prototype)) boundFunction.prototype = Prototype;
|
|
235
|
+
return boundFunction;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
|
|
197
239
|
/***/ }),
|
|
198
240
|
|
|
199
241
|
/***/ "057f":
|
|
@@ -315,6 +357,31 @@ module.exports = !DESCRIPTORS && !fails(function () {
|
|
|
315
357
|
});
|
|
316
358
|
|
|
317
359
|
|
|
360
|
+
/***/ }),
|
|
361
|
+
|
|
362
|
+
/***/ "0d03":
|
|
363
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
364
|
+
|
|
365
|
+
var uncurryThis = __webpack_require__("e330");
|
|
366
|
+
var redefine = __webpack_require__("6eeb");
|
|
367
|
+
|
|
368
|
+
var DatePrototype = Date.prototype;
|
|
369
|
+
var INVALID_DATE = 'Invalid Date';
|
|
370
|
+
var TO_STRING = 'toString';
|
|
371
|
+
var un$DateToString = uncurryThis(DatePrototype[TO_STRING]);
|
|
372
|
+
var getTime = uncurryThis(DatePrototype.getTime);
|
|
373
|
+
|
|
374
|
+
// `Date.prototype.toString` method
|
|
375
|
+
// https://tc39.es/ecma262/#sec-date.prototype.tostring
|
|
376
|
+
if (String(new Date(NaN)) != INVALID_DATE) {
|
|
377
|
+
redefine(DatePrototype, TO_STRING, function toString() {
|
|
378
|
+
var value = getTime(this);
|
|
379
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
380
|
+
return value === value ? un$DateToString(this) : INVALID_DATE;
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
|
|
318
385
|
/***/ }),
|
|
319
386
|
|
|
320
387
|
/***/ "0d51":
|
|
@@ -591,6 +658,21 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa
|
|
|
591
658
|
}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);
|
|
592
659
|
|
|
593
660
|
|
|
661
|
+
/***/ }),
|
|
662
|
+
|
|
663
|
+
/***/ "131a":
|
|
664
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
665
|
+
|
|
666
|
+
var $ = __webpack_require__("23e7");
|
|
667
|
+
var setPrototypeOf = __webpack_require__("d2bb");
|
|
668
|
+
|
|
669
|
+
// `Object.setPrototypeOf` method
|
|
670
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
671
|
+
$({ target: 'Object', stat: true }, {
|
|
672
|
+
setPrototypeOf: setPrototypeOf
|
|
673
|
+
});
|
|
674
|
+
|
|
675
|
+
|
|
594
676
|
/***/ }),
|
|
595
677
|
|
|
596
678
|
/***/ "13d5":
|
|
@@ -1088,6 +1170,44 @@ exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
|
1088
1170
|
};
|
|
1089
1171
|
|
|
1090
1172
|
|
|
1173
|
+
/***/ }),
|
|
1174
|
+
|
|
1175
|
+
/***/ "25f0":
|
|
1176
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1177
|
+
|
|
1178
|
+
"use strict";
|
|
1179
|
+
|
|
1180
|
+
var uncurryThis = __webpack_require__("e330");
|
|
1181
|
+
var PROPER_FUNCTION_NAME = __webpack_require__("5e77").PROPER;
|
|
1182
|
+
var redefine = __webpack_require__("6eeb");
|
|
1183
|
+
var anObject = __webpack_require__("825a");
|
|
1184
|
+
var isPrototypeOf = __webpack_require__("3a9b");
|
|
1185
|
+
var $toString = __webpack_require__("577e");
|
|
1186
|
+
var fails = __webpack_require__("d039");
|
|
1187
|
+
var regExpFlags = __webpack_require__("ad6d");
|
|
1188
|
+
|
|
1189
|
+
var TO_STRING = 'toString';
|
|
1190
|
+
var RegExpPrototype = RegExp.prototype;
|
|
1191
|
+
var n$ToString = RegExpPrototype[TO_STRING];
|
|
1192
|
+
var getFlags = uncurryThis(regExpFlags);
|
|
1193
|
+
|
|
1194
|
+
var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
|
|
1195
|
+
// FF44- RegExp#toString has a wrong name
|
|
1196
|
+
var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;
|
|
1197
|
+
|
|
1198
|
+
// `RegExp.prototype.toString` method
|
|
1199
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
1200
|
+
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
1201
|
+
redefine(RegExp.prototype, TO_STRING, function toString() {
|
|
1202
|
+
var R = anObject(this);
|
|
1203
|
+
var p = $toString(R.source);
|
|
1204
|
+
var rf = R.flags;
|
|
1205
|
+
var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf);
|
|
1206
|
+
return '/' + p + '/' + f;
|
|
1207
|
+
}, { unsafe: true });
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
|
|
1091
1211
|
/***/ }),
|
|
1092
1212
|
|
|
1093
1213
|
/***/ "2626":
|
|
@@ -1334,6 +1454,29 @@ if (!version && userAgent) {
|
|
|
1334
1454
|
module.exports = version;
|
|
1335
1455
|
|
|
1336
1456
|
|
|
1457
|
+
/***/ }),
|
|
1458
|
+
|
|
1459
|
+
/***/ "3410":
|
|
1460
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1461
|
+
|
|
1462
|
+
var $ = __webpack_require__("23e7");
|
|
1463
|
+
var fails = __webpack_require__("d039");
|
|
1464
|
+
var toObject = __webpack_require__("7b0b");
|
|
1465
|
+
var nativeGetPrototypeOf = __webpack_require__("e163");
|
|
1466
|
+
var CORRECT_PROTOTYPE_GETTER = __webpack_require__("e177");
|
|
1467
|
+
|
|
1468
|
+
var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });
|
|
1469
|
+
|
|
1470
|
+
// `Object.getPrototypeOf` method
|
|
1471
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1472
|
+
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {
|
|
1473
|
+
getPrototypeOf: function getPrototypeOf(it) {
|
|
1474
|
+
return nativeGetPrototypeOf(toObject(it));
|
|
1475
|
+
}
|
|
1476
|
+
});
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
|
|
1337
1480
|
/***/ }),
|
|
1338
1481
|
|
|
1339
1482
|
/***/ "342f":
|
|
@@ -1489,30 +1632,609 @@ module.exports = !fails(function () {
|
|
|
1489
1632
|
});
|
|
1490
1633
|
|
|
1491
1634
|
|
|
1492
|
-
/***/ }),
|
|
1635
|
+
/***/ }),
|
|
1636
|
+
|
|
1637
|
+
/***/ "4160":
|
|
1638
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
1639
|
+
|
|
1640
|
+
"use strict";
|
|
1641
|
+
|
|
1642
|
+
var $ = __webpack_require__("23e7");
|
|
1643
|
+
var forEach = __webpack_require__("17c2");
|
|
1644
|
+
|
|
1645
|
+
// `Array.prototype.forEach` method
|
|
1646
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1647
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
1648
|
+
$({ target: 'Array', proto: true, forced: [].forEach != forEach }, {
|
|
1649
|
+
forEach: forEach
|
|
1650
|
+
});
|
|
1651
|
+
|
|
1652
|
+
|
|
1653
|
+
/***/ }),
|
|
1654
|
+
|
|
1655
|
+
/***/ "4269":
|
|
1656
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1657
|
+
|
|
1658
|
+
"use strict";
|
|
1659
|
+
// ESM COMPAT FLAG
|
|
1660
|
+
__webpack_require__.r(__webpack_exports__);
|
|
1661
|
+
|
|
1662
|
+
// EXPORTS
|
|
1663
|
+
__webpack_require__.d(__webpack_exports__, "useSocket", function() { return /* binding */ useSocket; });
|
|
1664
|
+
|
|
1665
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
|
|
1666
|
+
var es_error_cause = __webpack_require__("d9e2");
|
|
1667
|
+
|
|
1668
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.to-string.js
|
|
1669
|
+
var es_error_to_string = __webpack_require__("d401");
|
|
1670
|
+
|
|
1671
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
function _assertThisInitialized(self) {
|
|
1675
|
+
if (self === void 0) {
|
|
1676
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
return self;
|
|
1680
|
+
}
|
|
1681
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.create.js
|
|
1682
|
+
var es_object_create = __webpack_require__("b8bf");
|
|
1683
|
+
|
|
1684
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.define-property.js
|
|
1685
|
+
var es_object_define_property = __webpack_require__("7a82");
|
|
1686
|
+
|
|
1687
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.set-prototype-of.js
|
|
1688
|
+
var es_object_set_prototype_of = __webpack_require__("131a");
|
|
1689
|
+
|
|
1690
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js
|
|
1691
|
+
|
|
1692
|
+
function _setPrototypeOf(o, p) {
|
|
1693
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
1694
|
+
o.__proto__ = p;
|
|
1695
|
+
return o;
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
return _setPrototypeOf(o, p);
|
|
1699
|
+
}
|
|
1700
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/inherits.js
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
function _inherits(subClass, superClass) {
|
|
1707
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
1708
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
1712
|
+
constructor: {
|
|
1713
|
+
value: subClass,
|
|
1714
|
+
writable: true,
|
|
1715
|
+
configurable: true
|
|
1716
|
+
}
|
|
1717
|
+
});
|
|
1718
|
+
Object.defineProperty(subClass, "prototype", {
|
|
1719
|
+
writable: false
|
|
1720
|
+
});
|
|
1721
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
1722
|
+
}
|
|
1723
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.construct.js
|
|
1724
|
+
var es_reflect_construct = __webpack_require__("4ae1");
|
|
1725
|
+
|
|
1726
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
1727
|
+
var es_object_to_string = __webpack_require__("d3b7");
|
|
1728
|
+
|
|
1729
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.reflect.to-string-tag.js
|
|
1730
|
+
var es_reflect_to_string_tag = __webpack_require__("f8c9");
|
|
1731
|
+
|
|
1732
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
1733
|
+
var es_object_get_prototype_of = __webpack_require__("3410");
|
|
1734
|
+
|
|
1735
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js
|
|
1736
|
+
|
|
1737
|
+
|
|
1738
|
+
function _getPrototypeOf(o) {
|
|
1739
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
1740
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
1741
|
+
};
|
|
1742
|
+
return _getPrototypeOf(o);
|
|
1743
|
+
}
|
|
1744
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
function _isNativeReflectConstruct() {
|
|
1749
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
1750
|
+
if (Reflect.construct.sham) return false;
|
|
1751
|
+
if (typeof Proxy === "function") return true;
|
|
1752
|
+
|
|
1753
|
+
try {
|
|
1754
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
1755
|
+
return true;
|
|
1756
|
+
} catch (e) {
|
|
1757
|
+
return false;
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
1761
|
+
var esm_typeof = __webpack_require__("53ca");
|
|
1762
|
+
|
|
1763
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
function _possibleConstructorReturn(self, call) {
|
|
1769
|
+
if (call && (Object(esm_typeof["a" /* default */])(call) === "object" || typeof call === "function")) {
|
|
1770
|
+
return call;
|
|
1771
|
+
} else if (call !== void 0) {
|
|
1772
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
return _assertThisInitialized(self);
|
|
1776
|
+
}
|
|
1777
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/createSuper.js
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
function _createSuper(Derived) {
|
|
1785
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
1786
|
+
return function _createSuperInternal() {
|
|
1787
|
+
var Super = _getPrototypeOf(Derived),
|
|
1788
|
+
result;
|
|
1789
|
+
|
|
1790
|
+
if (hasNativeReflectConstruct) {
|
|
1791
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
1792
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
1793
|
+
} else {
|
|
1794
|
+
result = Super.apply(this, arguments);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
return _possibleConstructorReturn(this, result);
|
|
1798
|
+
};
|
|
1799
|
+
}
|
|
1800
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
1801
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
1802
|
+
|
|
1803
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.map.js
|
|
1804
|
+
var es_map = __webpack_require__("4ec9");
|
|
1805
|
+
|
|
1806
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
1807
|
+
var es_string_iterator = __webpack_require__("3ca3");
|
|
1808
|
+
|
|
1809
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
1810
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
1811
|
+
|
|
1812
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.index-of.js
|
|
1813
|
+
var es_array_index_of = __webpack_require__("c975");
|
|
1814
|
+
|
|
1815
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.date.to-string.js
|
|
1816
|
+
var es_date_to_string = __webpack_require__("0d03");
|
|
1817
|
+
|
|
1818
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
|
|
1819
|
+
var es_regexp_to_string = __webpack_require__("25f0");
|
|
1820
|
+
|
|
1821
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
|
|
1827
|
+
function _isNativeFunction(fn) {
|
|
1828
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
1829
|
+
}
|
|
1830
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.bind.js
|
|
1831
|
+
var es_function_bind = __webpack_require__("c0b6");
|
|
1832
|
+
|
|
1833
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/construct.js
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
function construct_construct(Parent, args, Class) {
|
|
1841
|
+
if (_isNativeReflectConstruct()) {
|
|
1842
|
+
construct_construct = Reflect.construct;
|
|
1843
|
+
} else {
|
|
1844
|
+
construct_construct = function _construct(Parent, args, Class) {
|
|
1845
|
+
var a = [null];
|
|
1846
|
+
a.push.apply(a, args);
|
|
1847
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
1848
|
+
var instance = new Constructor();
|
|
1849
|
+
if (Class) _setPrototypeOf(instance, Class.prototype);
|
|
1850
|
+
return instance;
|
|
1851
|
+
};
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
return construct_construct.apply(null, arguments);
|
|
1855
|
+
}
|
|
1856
|
+
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js
|
|
1857
|
+
|
|
1858
|
+
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
function wrapNativeSuper_wrapNativeSuper(Class) {
|
|
1870
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
1871
|
+
|
|
1872
|
+
wrapNativeSuper_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
1873
|
+
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
1874
|
+
|
|
1875
|
+
if (typeof Class !== "function") {
|
|
1876
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
if (typeof _cache !== "undefined") {
|
|
1880
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
1881
|
+
|
|
1882
|
+
_cache.set(Class, Wrapper);
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
function Wrapper() {
|
|
1886
|
+
return construct_construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
1890
|
+
constructor: {
|
|
1891
|
+
value: Wrapper,
|
|
1892
|
+
enumerable: false,
|
|
1893
|
+
writable: true,
|
|
1894
|
+
configurable: true
|
|
1895
|
+
}
|
|
1896
|
+
});
|
|
1897
|
+
return _setPrototypeOf(Wrapper, Class);
|
|
1898
|
+
};
|
|
1899
|
+
|
|
1900
|
+
return wrapNativeSuper_wrapNativeSuper(Class);
|
|
1901
|
+
}
|
|
1902
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js
|
|
1903
|
+
var classCallCheck = __webpack_require__("d4ec");
|
|
1904
|
+
|
|
1905
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/createClass.js
|
|
1906
|
+
var createClass = __webpack_require__("bee2");
|
|
1907
|
+
|
|
1908
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
1909
|
+
var defineProperty = __webpack_require__("ade3");
|
|
1910
|
+
|
|
1911
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
1912
|
+
var es_array_for_each = __webpack_require__("4160");
|
|
1913
|
+
|
|
1914
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
1915
|
+
var web_dom_collections_for_each = __webpack_require__("159b");
|
|
1916
|
+
|
|
1917
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
1918
|
+
var es_object_keys = __webpack_require__("b64b");
|
|
1919
|
+
|
|
1920
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
1921
|
+
var es_array_reduce = __webpack_require__("13d5");
|
|
1922
|
+
|
|
1923
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
1924
|
+
var es_array_concat = __webpack_require__("99af");
|
|
1925
|
+
|
|
1926
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
1927
|
+
var es_object_assign = __webpack_require__("cca6");
|
|
1928
|
+
|
|
1929
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.timers.js
|
|
1930
|
+
var web_timers = __webpack_require__("4795");
|
|
1931
|
+
|
|
1932
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
1933
|
+
var es_array_includes = __webpack_require__("caad");
|
|
1934
|
+
|
|
1935
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
1936
|
+
var es_json_stringify = __webpack_require__("e9c4");
|
|
1937
|
+
|
|
1938
|
+
// CONCATENATED MODULE: ./src/lib/webApi/websocket.js
|
|
1939
|
+
|
|
1940
|
+
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
|
|
1962
|
+
|
|
1963
|
+
var EventTypes = ['open', 'close', 'message', 'error', 'reconnect'];
|
|
1964
|
+
var DEFAULT_CHECK_TIME = 30 * 1000; // 心跳检测的默认时间
|
|
1965
|
+
|
|
1966
|
+
var TIMEOUT = 40 * 1000; //重连延迟时间
|
|
1967
|
+
|
|
1968
|
+
var DEFAULT_CHECK_COUNT = 10; // 心跳检测默认失败重连次数
|
|
1969
|
+
|
|
1970
|
+
var DEFAULT_CHECK_DATA = {
|
|
1971
|
+
Type: 1,
|
|
1972
|
+
Parameters: ['alive']
|
|
1973
|
+
}; // 心跳检测的默认参数
|
|
1974
|
+
|
|
1975
|
+
var CLOSE_ABNORMAL = 1000; // WebSocket正常关闭code码
|
|
1976
|
+
|
|
1977
|
+
function deepClone(source) {
|
|
1978
|
+
if (!source && Object(esm_typeof["a" /* default */])(source) !== 'object') {
|
|
1979
|
+
throw new Error('error arguments', 'deepClone');
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
var targetObj = source.constructor === Array ? [] : {};
|
|
1983
|
+
Object.keys(source).forEach(function (keys) {
|
|
1984
|
+
if (source[keys] && Object(esm_typeof["a" /* default */])(source[keys]) === 'object') {
|
|
1985
|
+
targetObj[keys] = deepClone(source[keys]);
|
|
1986
|
+
} else {
|
|
1987
|
+
targetObj[keys] = source[keys];
|
|
1988
|
+
}
|
|
1989
|
+
});
|
|
1990
|
+
return targetObj;
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
var websocket_EventMap = /*#__PURE__*/function () {
|
|
1994
|
+
function EventMap() {
|
|
1995
|
+
Object(classCallCheck["a" /* default */])(this, EventMap);
|
|
1996
|
+
|
|
1997
|
+
Object(defineProperty["a" /* default */])(this, "deps", new Map());
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
Object(createClass["a" /* default */])(EventMap, [{
|
|
2001
|
+
key: "depend",
|
|
2002
|
+
value: function depend(eventType, callback) {
|
|
2003
|
+
this.deps.set(eventType, callback);
|
|
2004
|
+
}
|
|
2005
|
+
}, {
|
|
2006
|
+
key: "notify",
|
|
2007
|
+
value: function notify(eventType, event) {
|
|
2008
|
+
if (this.deps.has(eventType)) {
|
|
2009
|
+
this.deps.get(eventType)(event);
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
}]);
|
|
2013
|
+
|
|
2014
|
+
return EventMap;
|
|
2015
|
+
}();
|
|
2016
|
+
|
|
2017
|
+
var websocket_Socket = /*#__PURE__*/function (_WebSocket) {
|
|
2018
|
+
_inherits(Socket, _WebSocket);
|
|
2019
|
+
|
|
2020
|
+
var _super = _createSuper(Socket);
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
*
|
|
2024
|
+
* @param {Object} _self vue实例 用于在销毁组件时 如果有重连的定时 则销毁
|
|
2025
|
+
*/
|
|
2026
|
+
function Socket(options, dep) {
|
|
2027
|
+
var _this;
|
|
2028
|
+
|
|
2029
|
+
var reconnectCount = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
2030
|
+
|
|
2031
|
+
var _self = arguments.length > 3 ? arguments[3] : undefined;
|
|
2032
|
+
|
|
2033
|
+
Object(classCallCheck["a" /* default */])(this, Socket);
|
|
2034
|
+
|
|
2035
|
+
var _baseURL = '';
|
|
2036
|
+
var url = options.url,
|
|
2037
|
+
protocols = options.protocols,
|
|
2038
|
+
_options$query = options.query,
|
|
2039
|
+
query = _options$query === void 0 ? {} : _options$query,
|
|
2040
|
+
_options$greet = options.greet,
|
|
2041
|
+
greet = _options$greet === void 0 ? null : _options$greet,
|
|
2042
|
+
_options$customBase = options.customBase,
|
|
2043
|
+
customBase = _options$customBase === void 0 ? null : _options$customBase,
|
|
2044
|
+
checkData = options.checkData;
|
|
2045
|
+
|
|
2046
|
+
var _queryParams = Object.keys(query).reduce(function (str, key) {
|
|
2047
|
+
if (Object(esm_typeof["a" /* default */])(query[key]) !== 'object' && typeof query[key] !== 'function') {
|
|
2048
|
+
return str += str.length > 0 ? "&".concat(key, "=").concat(query[key]) : "".concat(key, "=").concat(query[key]);
|
|
2049
|
+
} else {
|
|
2050
|
+
return str;
|
|
2051
|
+
}
|
|
2052
|
+
}, '');
|
|
2053
|
+
|
|
2054
|
+
if (customBase) {
|
|
2055
|
+
_baseURL = customBase;
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
_this = _super.call(this, "".concat(_baseURL).concat(url).concat(_queryParams ? '?' + _queryParams : ''), protocols);
|
|
2059
|
+
|
|
2060
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckData", DEFAULT_CHECK_DATA);
|
|
2061
|
+
|
|
2062
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckTimeout", DEFAULT_CHECK_TIME);
|
|
2063
|
+
|
|
2064
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckInterval", null);
|
|
2065
|
+
|
|
2066
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "heartCheckCount", DEFAULT_CHECK_COUNT);
|
|
2067
|
+
|
|
2068
|
+
Object(defineProperty["a" /* default */])(_assertThisInitialized(_this), "firstConnect", false);
|
|
2069
|
+
|
|
2070
|
+
_this.self = _self;
|
|
2071
|
+
_this._currentOptions = options;
|
|
2072
|
+
_this._dep = dep;
|
|
2073
|
+
_this.heartCheckData = checkData || DEFAULT_CHECK_DATA;
|
|
2074
|
+
_this._reconnectCount = reconnectCount;
|
|
2075
|
+
greet && Object.assign(_assertThisInitialized(_this), {
|
|
2076
|
+
heartCheckData: greet
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
_this.initSocket();
|
|
2080
|
+
|
|
2081
|
+
return _this;
|
|
2082
|
+
} // 初始化WebSocket
|
|
2083
|
+
|
|
2084
|
+
|
|
2085
|
+
Object(createClass["a" /* default */])(Socket, [{
|
|
2086
|
+
key: "initSocket",
|
|
2087
|
+
value: function initSocket() {
|
|
2088
|
+
// 监听webSocket的事件
|
|
2089
|
+
this.onopen = function (e) {
|
|
2090
|
+
this._dep.notify('open', e);
|
|
2091
|
+
|
|
2092
|
+
this.firstConnect = true;
|
|
2093
|
+
this.heartCheckStart();
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
this.onclose = function (e) {
|
|
2097
|
+
var _this2 = this;
|
|
2098
|
+
|
|
2099
|
+
this._dep.notify('close', e); // 如果WebSocket是非正常关闭 则进行重连
|
|
2100
|
+
|
|
2101
|
+
|
|
2102
|
+
if (e.code !== CLOSE_ABNORMAL) {
|
|
2103
|
+
var _this$self;
|
|
2104
|
+
|
|
2105
|
+
// if (this._reconnectCount < this.heartCheckCount) {
|
|
2106
|
+
this._reconnectCount++;
|
|
2107
|
+
var optionsClone = deepClone(this._currentOptions); // 只有初次连接成功 重连时才传递参数
|
|
2108
|
+
|
|
2109
|
+
if (this.firstConnect) {
|
|
2110
|
+
optionsClone.query.type = 'reconnect';
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
((_this$self = this.self) === null || _this$self === void 0 ? void 0 : _this$self.socketTimer) && clearTimeout(this.self.socketTimer);
|
|
2114
|
+
this.self.socketTimer = setTimeout(function () {
|
|
2115
|
+
var _socket = new Socket(optionsClone, _this2._dep, _this2._reconnectCount, _this2.self);
|
|
2116
|
+
|
|
2117
|
+
_this2._dep.notify('reconnect', _socket);
|
|
2118
|
+
}, TIMEOUT); // } else {
|
|
2119
|
+
// return console.error('WebSocket重连失败, 请联系技术客服!')
|
|
2120
|
+
// }
|
|
2121
|
+
}
|
|
2122
|
+
};
|
|
2123
|
+
|
|
2124
|
+
this.onerror = function (e) {
|
|
2125
|
+
this._dep.notify('error', e);
|
|
2126
|
+
};
|
|
2127
|
+
|
|
2128
|
+
this.onmessage = function (e) {
|
|
2129
|
+
var _this3 = this;
|
|
2130
|
+
|
|
2131
|
+
// 如果后端返回的是二进制数据
|
|
2132
|
+
if (e.data instanceof Blob) {
|
|
2133
|
+
var reader = new FileReader();
|
|
2134
|
+
reader.readAsArrayBuffer(e.data);
|
|
2135
|
+
|
|
2136
|
+
reader.onload = function (ev) {
|
|
2137
|
+
if (ev.target.readyState === FileReader.DONE) {
|
|
2138
|
+
var _ev$target;
|
|
2139
|
+
|
|
2140
|
+
_this3._dep.notify('message', (_ev$target = ev.target) === null || _ev$target === void 0 ? void 0 : _ev$target.result);
|
|
2141
|
+
}
|
|
2142
|
+
};
|
|
2143
|
+
} else {
|
|
2144
|
+
// 处理普通数据
|
|
2145
|
+
try {
|
|
2146
|
+
// const _parseData = JSON.parse(e.data)
|
|
2147
|
+
this._dep.notify('message', e.data);
|
|
2148
|
+
} catch (error) {
|
|
2149
|
+
console.log(error);
|
|
2150
|
+
}
|
|
2151
|
+
}
|
|
2152
|
+
};
|
|
2153
|
+
} // 订阅事件
|
|
2154
|
+
|
|
2155
|
+
}, {
|
|
2156
|
+
key: "subscribe",
|
|
2157
|
+
value: function subscribe(eventType, callback) {
|
|
2158
|
+
if (typeof callback !== 'function') throw new Error('The second param is must be a function');
|
|
2159
|
+
if (!EventTypes.includes(eventType)) throw new Error('The first param is not supported');
|
|
2160
|
+
|
|
2161
|
+
this._dep.depend(eventType, callback);
|
|
2162
|
+
} // 发送消息
|
|
2163
|
+
|
|
2164
|
+
}, {
|
|
2165
|
+
key: "sendMessage",
|
|
2166
|
+
value: function sendMessage(data) {
|
|
2167
|
+
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
2168
|
+
var _options$transformJSO = options.transformJSON,
|
|
2169
|
+
transformJSON = _options$transformJSO === void 0 ? true : _options$transformJSO;
|
|
2170
|
+
var result = data;
|
|
2171
|
+
|
|
2172
|
+
if (transformJSON) {
|
|
2173
|
+
result = JSON.stringify(data);
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
this.send(result);
|
|
2177
|
+
} // 关闭WebSocket
|
|
2178
|
+
|
|
2179
|
+
}, {
|
|
2180
|
+
key: "closeSocket",
|
|
2181
|
+
value: function closeSocket(code, reason) {
|
|
2182
|
+
this.clearHeartCheck();
|
|
2183
|
+
this.close(code, reason);
|
|
2184
|
+
} // 开始心跳检测
|
|
1493
2185
|
|
|
1494
|
-
|
|
1495
|
-
|
|
2186
|
+
}, {
|
|
2187
|
+
key: "heartCheckStart",
|
|
2188
|
+
value: function heartCheckStart() {
|
|
2189
|
+
var _this4 = this;
|
|
1496
2190
|
|
|
1497
|
-
|
|
2191
|
+
this.heartCheckInterval = setInterval(function () {
|
|
2192
|
+
if (_this4.readyState === _this4.OPEN) {
|
|
2193
|
+
var transformJSON = Object(esm_typeof["a" /* default */])(_this4.heartCheckData) === 'object';
|
|
1498
2194
|
|
|
1499
|
-
|
|
1500
|
-
|
|
2195
|
+
_this4.sendMessage(_this4.heartCheckData, {
|
|
2196
|
+
transformJSON: transformJSON
|
|
2197
|
+
});
|
|
2198
|
+
} else {
|
|
2199
|
+
_this4.clearHeartCheck();
|
|
2200
|
+
}
|
|
2201
|
+
}, this.heartCheckTimeout);
|
|
2202
|
+
} // 清除心跳检测
|
|
1501
2203
|
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
});
|
|
2204
|
+
}, {
|
|
2205
|
+
key: "clearHeartCheck",
|
|
2206
|
+
value: function clearHeartCheck() {
|
|
2207
|
+
clearInterval(this.heartCheckInterval);
|
|
2208
|
+
} // 重置心跳检测
|
|
1508
2209
|
|
|
2210
|
+
}, {
|
|
2211
|
+
key: "resetHeartCheck",
|
|
2212
|
+
value: function resetHeartCheck() {
|
|
2213
|
+
clearInterval(this.heartCheckInterval);
|
|
2214
|
+
this.heartCheckStart();
|
|
2215
|
+
}
|
|
2216
|
+
}]);
|
|
1509
2217
|
|
|
1510
|
-
|
|
2218
|
+
return Socket;
|
|
2219
|
+
}( /*#__PURE__*/wrapNativeSuper_wrapNativeSuper(WebSocket)); // 默认的配置项
|
|
1511
2220
|
|
|
1512
|
-
/***/ "4269":
|
|
1513
|
-
/***/ (function(module, exports) {
|
|
1514
2221
|
|
|
1515
|
-
|
|
2222
|
+
var defaultOptions = {
|
|
2223
|
+
url: '',
|
|
2224
|
+
protocols: '',
|
|
2225
|
+
customBase: null,
|
|
2226
|
+
query: {}
|
|
2227
|
+
};
|
|
2228
|
+
var useSocket = function useSocket() {
|
|
2229
|
+
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOptions;
|
|
2230
|
+
|
|
2231
|
+
var _self = arguments.length > 1 ? arguments[1] : undefined;
|
|
2232
|
+
|
|
2233
|
+
if (!window.WebSocket) return console.error('您的浏览器不支持WebSocket, 请更换浏览器!');
|
|
2234
|
+
var dep = new websocket_EventMap();
|
|
2235
|
+
var reconnectCount = 0;
|
|
2236
|
+
return new websocket_Socket(options, dep, reconnectCount, _self);
|
|
2237
|
+
};
|
|
1516
2238
|
|
|
1517
2239
|
/***/ }),
|
|
1518
2240
|
|
|
@@ -1710,6 +2432,69 @@ module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
|
1710
2432
|
});
|
|
1711
2433
|
|
|
1712
2434
|
|
|
2435
|
+
/***/ }),
|
|
2436
|
+
|
|
2437
|
+
/***/ "4ae1":
|
|
2438
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2439
|
+
|
|
2440
|
+
var $ = __webpack_require__("23e7");
|
|
2441
|
+
var getBuiltIn = __webpack_require__("d066");
|
|
2442
|
+
var apply = __webpack_require__("2ba4");
|
|
2443
|
+
var bind = __webpack_require__("0538");
|
|
2444
|
+
var aConstructor = __webpack_require__("5087");
|
|
2445
|
+
var anObject = __webpack_require__("825a");
|
|
2446
|
+
var isObject = __webpack_require__("861d");
|
|
2447
|
+
var create = __webpack_require__("7c73");
|
|
2448
|
+
var fails = __webpack_require__("d039");
|
|
2449
|
+
|
|
2450
|
+
var nativeConstruct = getBuiltIn('Reflect', 'construct');
|
|
2451
|
+
var ObjectPrototype = Object.prototype;
|
|
2452
|
+
var push = [].push;
|
|
2453
|
+
|
|
2454
|
+
// `Reflect.construct` method
|
|
2455
|
+
// https://tc39.es/ecma262/#sec-reflect.construct
|
|
2456
|
+
// MS Edge supports only 2 arguments and argumentsList argument is optional
|
|
2457
|
+
// FF Nightly sets third argument as `new.target`, but does not create `this` from it
|
|
2458
|
+
var NEW_TARGET_BUG = fails(function () {
|
|
2459
|
+
function F() { /* empty */ }
|
|
2460
|
+
return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);
|
|
2461
|
+
});
|
|
2462
|
+
|
|
2463
|
+
var ARGS_BUG = !fails(function () {
|
|
2464
|
+
nativeConstruct(function () { /* empty */ });
|
|
2465
|
+
});
|
|
2466
|
+
|
|
2467
|
+
var FORCED = NEW_TARGET_BUG || ARGS_BUG;
|
|
2468
|
+
|
|
2469
|
+
$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {
|
|
2470
|
+
construct: function construct(Target, args /* , newTarget */) {
|
|
2471
|
+
aConstructor(Target);
|
|
2472
|
+
anObject(args);
|
|
2473
|
+
var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);
|
|
2474
|
+
if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);
|
|
2475
|
+
if (Target == newTarget) {
|
|
2476
|
+
// w/o altered newTarget, optimization for 0-4 arguments
|
|
2477
|
+
switch (args.length) {
|
|
2478
|
+
case 0: return new Target();
|
|
2479
|
+
case 1: return new Target(args[0]);
|
|
2480
|
+
case 2: return new Target(args[0], args[1]);
|
|
2481
|
+
case 3: return new Target(args[0], args[1], args[2]);
|
|
2482
|
+
case 4: return new Target(args[0], args[1], args[2], args[3]);
|
|
2483
|
+
}
|
|
2484
|
+
// w/o altered newTarget, lot of arguments case
|
|
2485
|
+
var $args = [null];
|
|
2486
|
+
apply(push, $args, args);
|
|
2487
|
+
return new (apply(bind, Target, $args))();
|
|
2488
|
+
}
|
|
2489
|
+
// with altered newTarget, not support built-in constructors
|
|
2490
|
+
var proto = newTarget.prototype;
|
|
2491
|
+
var instance = create(isObject(proto) ? proto : ObjectPrototype);
|
|
2492
|
+
var result = apply(Target, instance, args);
|
|
2493
|
+
return isObject(result) ? result : instance;
|
|
2494
|
+
}
|
|
2495
|
+
});
|
|
2496
|
+
|
|
2497
|
+
|
|
1713
2498
|
/***/ }),
|
|
1714
2499
|
|
|
1715
2500
|
/***/ "4d64":
|
|
@@ -1851,6 +2636,23 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
1851
2636
|
};
|
|
1852
2637
|
|
|
1853
2638
|
|
|
2639
|
+
/***/ }),
|
|
2640
|
+
|
|
2641
|
+
/***/ "4ec9":
|
|
2642
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2643
|
+
|
|
2644
|
+
"use strict";
|
|
2645
|
+
|
|
2646
|
+
var collection = __webpack_require__("6d61");
|
|
2647
|
+
var collectionStrong = __webpack_require__("6566");
|
|
2648
|
+
|
|
2649
|
+
// `Map` constructor
|
|
2650
|
+
// https://tc39.es/ecma262/#sec-map-objects
|
|
2651
|
+
collection('Map', function (init) {
|
|
2652
|
+
return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };
|
|
2653
|
+
}, collectionStrong);
|
|
2654
|
+
|
|
2655
|
+
|
|
1854
2656
|
/***/ }),
|
|
1855
2657
|
|
|
1856
2658
|
/***/ "4fad":
|
|
@@ -1940,6 +2742,44 @@ webpackContext.id = "5180";
|
|
|
1940
2742
|
|
|
1941
2743
|
/***/ }),
|
|
1942
2744
|
|
|
2745
|
+
/***/ "53ca":
|
|
2746
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2747
|
+
|
|
2748
|
+
"use strict";
|
|
2749
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return _typeof; });
|
|
2750
|
+
/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a4d3");
|
|
2751
|
+
/* 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__);
|
|
2752
|
+
/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__("e01a");
|
|
2753
|
+
/* 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__);
|
|
2754
|
+
/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__("d3b7");
|
|
2755
|
+
/* 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__);
|
|
2756
|
+
/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__("d28b");
|
|
2757
|
+
/* 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__);
|
|
2758
|
+
/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__("e260");
|
|
2759
|
+
/* 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__);
|
|
2760
|
+
/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__("3ca3");
|
|
2761
|
+
/* 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__);
|
|
2762
|
+
/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__("ddb0");
|
|
2763
|
+
/* 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__);
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
function _typeof(obj) {
|
|
2772
|
+
"@babel/helpers - typeof";
|
|
2773
|
+
|
|
2774
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
2775
|
+
return typeof obj;
|
|
2776
|
+
} : function (obj) {
|
|
2777
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
2778
|
+
}, _typeof(obj);
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
/***/ }),
|
|
2782
|
+
|
|
1943
2783
|
/***/ "5692":
|
|
1944
2784
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1945
2785
|
|
|
@@ -2243,6 +3083,218 @@ module.exports = {
|
|
|
2243
3083
|
};
|
|
2244
3084
|
|
|
2245
3085
|
|
|
3086
|
+
/***/ }),
|
|
3087
|
+
|
|
3088
|
+
/***/ "6566":
|
|
3089
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
3090
|
+
|
|
3091
|
+
"use strict";
|
|
3092
|
+
|
|
3093
|
+
var defineProperty = __webpack_require__("9bf2").f;
|
|
3094
|
+
var create = __webpack_require__("7c73");
|
|
3095
|
+
var redefineAll = __webpack_require__("e2cc");
|
|
3096
|
+
var bind = __webpack_require__("0366");
|
|
3097
|
+
var anInstance = __webpack_require__("19aa");
|
|
3098
|
+
var iterate = __webpack_require__("2266");
|
|
3099
|
+
var defineIterator = __webpack_require__("7dd0");
|
|
3100
|
+
var setSpecies = __webpack_require__("2626");
|
|
3101
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
3102
|
+
var fastKey = __webpack_require__("f183").fastKey;
|
|
3103
|
+
var InternalStateModule = __webpack_require__("69f3");
|
|
3104
|
+
|
|
3105
|
+
var setInternalState = InternalStateModule.set;
|
|
3106
|
+
var internalStateGetterFor = InternalStateModule.getterFor;
|
|
3107
|
+
|
|
3108
|
+
module.exports = {
|
|
3109
|
+
getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
|
|
3110
|
+
var Constructor = wrapper(function (that, iterable) {
|
|
3111
|
+
anInstance(that, Prototype);
|
|
3112
|
+
setInternalState(that, {
|
|
3113
|
+
type: CONSTRUCTOR_NAME,
|
|
3114
|
+
index: create(null),
|
|
3115
|
+
first: undefined,
|
|
3116
|
+
last: undefined,
|
|
3117
|
+
size: 0
|
|
3118
|
+
});
|
|
3119
|
+
if (!DESCRIPTORS) that.size = 0;
|
|
3120
|
+
if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
|
|
3121
|
+
});
|
|
3122
|
+
|
|
3123
|
+
var Prototype = Constructor.prototype;
|
|
3124
|
+
|
|
3125
|
+
var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
3126
|
+
|
|
3127
|
+
var define = function (that, key, value) {
|
|
3128
|
+
var state = getInternalState(that);
|
|
3129
|
+
var entry = getEntry(that, key);
|
|
3130
|
+
var previous, index;
|
|
3131
|
+
// change existing entry
|
|
3132
|
+
if (entry) {
|
|
3133
|
+
entry.value = value;
|
|
3134
|
+
// create new entry
|
|
3135
|
+
} else {
|
|
3136
|
+
state.last = entry = {
|
|
3137
|
+
index: index = fastKey(key, true),
|
|
3138
|
+
key: key,
|
|
3139
|
+
value: value,
|
|
3140
|
+
previous: previous = state.last,
|
|
3141
|
+
next: undefined,
|
|
3142
|
+
removed: false
|
|
3143
|
+
};
|
|
3144
|
+
if (!state.first) state.first = entry;
|
|
3145
|
+
if (previous) previous.next = entry;
|
|
3146
|
+
if (DESCRIPTORS) state.size++;
|
|
3147
|
+
else that.size++;
|
|
3148
|
+
// add to index
|
|
3149
|
+
if (index !== 'F') state.index[index] = entry;
|
|
3150
|
+
} return that;
|
|
3151
|
+
};
|
|
3152
|
+
|
|
3153
|
+
var getEntry = function (that, key) {
|
|
3154
|
+
var state = getInternalState(that);
|
|
3155
|
+
// fast case
|
|
3156
|
+
var index = fastKey(key);
|
|
3157
|
+
var entry;
|
|
3158
|
+
if (index !== 'F') return state.index[index];
|
|
3159
|
+
// frozen object case
|
|
3160
|
+
for (entry = state.first; entry; entry = entry.next) {
|
|
3161
|
+
if (entry.key == key) return entry;
|
|
3162
|
+
}
|
|
3163
|
+
};
|
|
3164
|
+
|
|
3165
|
+
redefineAll(Prototype, {
|
|
3166
|
+
// `{ Map, Set }.prototype.clear()` methods
|
|
3167
|
+
// https://tc39.es/ecma262/#sec-map.prototype.clear
|
|
3168
|
+
// https://tc39.es/ecma262/#sec-set.prototype.clear
|
|
3169
|
+
clear: function clear() {
|
|
3170
|
+
var that = this;
|
|
3171
|
+
var state = getInternalState(that);
|
|
3172
|
+
var data = state.index;
|
|
3173
|
+
var entry = state.first;
|
|
3174
|
+
while (entry) {
|
|
3175
|
+
entry.removed = true;
|
|
3176
|
+
if (entry.previous) entry.previous = entry.previous.next = undefined;
|
|
3177
|
+
delete data[entry.index];
|
|
3178
|
+
entry = entry.next;
|
|
3179
|
+
}
|
|
3180
|
+
state.first = state.last = undefined;
|
|
3181
|
+
if (DESCRIPTORS) state.size = 0;
|
|
3182
|
+
else that.size = 0;
|
|
3183
|
+
},
|
|
3184
|
+
// `{ Map, Set }.prototype.delete(key)` methods
|
|
3185
|
+
// https://tc39.es/ecma262/#sec-map.prototype.delete
|
|
3186
|
+
// https://tc39.es/ecma262/#sec-set.prototype.delete
|
|
3187
|
+
'delete': function (key) {
|
|
3188
|
+
var that = this;
|
|
3189
|
+
var state = getInternalState(that);
|
|
3190
|
+
var entry = getEntry(that, key);
|
|
3191
|
+
if (entry) {
|
|
3192
|
+
var next = entry.next;
|
|
3193
|
+
var prev = entry.previous;
|
|
3194
|
+
delete state.index[entry.index];
|
|
3195
|
+
entry.removed = true;
|
|
3196
|
+
if (prev) prev.next = next;
|
|
3197
|
+
if (next) next.previous = prev;
|
|
3198
|
+
if (state.first == entry) state.first = next;
|
|
3199
|
+
if (state.last == entry) state.last = prev;
|
|
3200
|
+
if (DESCRIPTORS) state.size--;
|
|
3201
|
+
else that.size--;
|
|
3202
|
+
} return !!entry;
|
|
3203
|
+
},
|
|
3204
|
+
// `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
|
|
3205
|
+
// https://tc39.es/ecma262/#sec-map.prototype.foreach
|
|
3206
|
+
// https://tc39.es/ecma262/#sec-set.prototype.foreach
|
|
3207
|
+
forEach: function forEach(callbackfn /* , that = undefined */) {
|
|
3208
|
+
var state = getInternalState(this);
|
|
3209
|
+
var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3210
|
+
var entry;
|
|
3211
|
+
while (entry = entry ? entry.next : state.first) {
|
|
3212
|
+
boundFunction(entry.value, entry.key, this);
|
|
3213
|
+
// revert to the last existing entry
|
|
3214
|
+
while (entry && entry.removed) entry = entry.previous;
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3217
|
+
// `{ Map, Set}.prototype.has(key)` methods
|
|
3218
|
+
// https://tc39.es/ecma262/#sec-map.prototype.has
|
|
3219
|
+
// https://tc39.es/ecma262/#sec-set.prototype.has
|
|
3220
|
+
has: function has(key) {
|
|
3221
|
+
return !!getEntry(this, key);
|
|
3222
|
+
}
|
|
3223
|
+
});
|
|
3224
|
+
|
|
3225
|
+
redefineAll(Prototype, IS_MAP ? {
|
|
3226
|
+
// `Map.prototype.get(key)` method
|
|
3227
|
+
// https://tc39.es/ecma262/#sec-map.prototype.get
|
|
3228
|
+
get: function get(key) {
|
|
3229
|
+
var entry = getEntry(this, key);
|
|
3230
|
+
return entry && entry.value;
|
|
3231
|
+
},
|
|
3232
|
+
// `Map.prototype.set(key, value)` method
|
|
3233
|
+
// https://tc39.es/ecma262/#sec-map.prototype.set
|
|
3234
|
+
set: function set(key, value) {
|
|
3235
|
+
return define(this, key === 0 ? 0 : key, value);
|
|
3236
|
+
}
|
|
3237
|
+
} : {
|
|
3238
|
+
// `Set.prototype.add(value)` method
|
|
3239
|
+
// https://tc39.es/ecma262/#sec-set.prototype.add
|
|
3240
|
+
add: function add(value) {
|
|
3241
|
+
return define(this, value = value === 0 ? 0 : value, value);
|
|
3242
|
+
}
|
|
3243
|
+
});
|
|
3244
|
+
if (DESCRIPTORS) defineProperty(Prototype, 'size', {
|
|
3245
|
+
get: function () {
|
|
3246
|
+
return getInternalState(this).size;
|
|
3247
|
+
}
|
|
3248
|
+
});
|
|
3249
|
+
return Constructor;
|
|
3250
|
+
},
|
|
3251
|
+
setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
|
|
3252
|
+
var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
|
|
3253
|
+
var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
|
|
3254
|
+
var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
|
|
3255
|
+
// `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
|
|
3256
|
+
// https://tc39.es/ecma262/#sec-map.prototype.entries
|
|
3257
|
+
// https://tc39.es/ecma262/#sec-map.prototype.keys
|
|
3258
|
+
// https://tc39.es/ecma262/#sec-map.prototype.values
|
|
3259
|
+
// https://tc39.es/ecma262/#sec-map.prototype-@@iterator
|
|
3260
|
+
// https://tc39.es/ecma262/#sec-set.prototype.entries
|
|
3261
|
+
// https://tc39.es/ecma262/#sec-set.prototype.keys
|
|
3262
|
+
// https://tc39.es/ecma262/#sec-set.prototype.values
|
|
3263
|
+
// https://tc39.es/ecma262/#sec-set.prototype-@@iterator
|
|
3264
|
+
defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
|
|
3265
|
+
setInternalState(this, {
|
|
3266
|
+
type: ITERATOR_NAME,
|
|
3267
|
+
target: iterated,
|
|
3268
|
+
state: getInternalCollectionState(iterated),
|
|
3269
|
+
kind: kind,
|
|
3270
|
+
last: undefined
|
|
3271
|
+
});
|
|
3272
|
+
}, function () {
|
|
3273
|
+
var state = getInternalIteratorState(this);
|
|
3274
|
+
var kind = state.kind;
|
|
3275
|
+
var entry = state.last;
|
|
3276
|
+
// revert to the last existing entry
|
|
3277
|
+
while (entry && entry.removed) entry = entry.previous;
|
|
3278
|
+
// get next entry
|
|
3279
|
+
if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
|
|
3280
|
+
// or finish the iteration
|
|
3281
|
+
state.target = undefined;
|
|
3282
|
+
return { value: undefined, done: true };
|
|
3283
|
+
}
|
|
3284
|
+
// return step by kind
|
|
3285
|
+
if (kind == 'keys') return { value: entry.key, done: false };
|
|
3286
|
+
if (kind == 'values') return { value: entry.value, done: false };
|
|
3287
|
+
return { value: [entry.key, entry.value], done: false };
|
|
3288
|
+
}, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
|
|
3289
|
+
|
|
3290
|
+
// `{ Map, Set }.prototype[@@species]` accessors
|
|
3291
|
+
// https://tc39.es/ecma262/#sec-get-map-@@species
|
|
3292
|
+
// https://tc39.es/ecma262/#sec-get-set-@@species
|
|
3293
|
+
setSpecies(CONSTRUCTOR_NAME);
|
|
3294
|
+
}
|
|
3295
|
+
};
|
|
3296
|
+
|
|
3297
|
+
|
|
2246
3298
|
/***/ }),
|
|
2247
3299
|
|
|
2248
3300
|
/***/ "65f0":
|
|
@@ -5699,6 +6751,22 @@ module.exports = {
|
|
|
5699
6751
|
};
|
|
5700
6752
|
|
|
5701
6753
|
|
|
6754
|
+
/***/ }),
|
|
6755
|
+
|
|
6756
|
+
/***/ "b8bf":
|
|
6757
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6758
|
+
|
|
6759
|
+
var $ = __webpack_require__("23e7");
|
|
6760
|
+
var DESCRIPTORS = __webpack_require__("83ab");
|
|
6761
|
+
var create = __webpack_require__("7c73");
|
|
6762
|
+
|
|
6763
|
+
// `Object.create` method
|
|
6764
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
6765
|
+
$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {
|
|
6766
|
+
create: create
|
|
6767
|
+
});
|
|
6768
|
+
|
|
6769
|
+
|
|
5702
6770
|
/***/ }),
|
|
5703
6771
|
|
|
5704
6772
|
/***/ "b980":
|
|
@@ -5792,6 +6860,21 @@ module.exports = function (input, pref) {
|
|
|
5792
6860
|
};
|
|
5793
6861
|
|
|
5794
6862
|
|
|
6863
|
+
/***/ }),
|
|
6864
|
+
|
|
6865
|
+
/***/ "c0b6":
|
|
6866
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
6867
|
+
|
|
6868
|
+
var $ = __webpack_require__("23e7");
|
|
6869
|
+
var bind = __webpack_require__("0538");
|
|
6870
|
+
|
|
6871
|
+
// `Function.prototype.bind` method
|
|
6872
|
+
// https://tc39.es/ecma262/#sec-function.prototype.bind
|
|
6873
|
+
$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
|
|
6874
|
+
bind: bind
|
|
6875
|
+
});
|
|
6876
|
+
|
|
6877
|
+
|
|
5795
6878
|
/***/ }),
|
|
5796
6879
|
|
|
5797
6880
|
/***/ "c430":
|
|
@@ -5948,6 +7031,29 @@ module.exports = function (object, names) {
|
|
|
5948
7031
|
};
|
|
5949
7032
|
|
|
5950
7033
|
|
|
7034
|
+
/***/ }),
|
|
7035
|
+
|
|
7036
|
+
/***/ "caad":
|
|
7037
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7038
|
+
|
|
7039
|
+
"use strict";
|
|
7040
|
+
|
|
7041
|
+
var $ = __webpack_require__("23e7");
|
|
7042
|
+
var $includes = __webpack_require__("4d64").includes;
|
|
7043
|
+
var addToUnscopables = __webpack_require__("44d2");
|
|
7044
|
+
|
|
7045
|
+
// `Array.prototype.includes` method
|
|
7046
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
7047
|
+
$({ target: 'Array', proto: true }, {
|
|
7048
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
7049
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
7050
|
+
}
|
|
7051
|
+
});
|
|
7052
|
+
|
|
7053
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
7054
|
+
addToUnscopables('includes');
|
|
7055
|
+
|
|
7056
|
+
|
|
5951
7057
|
/***/ }),
|
|
5952
7058
|
|
|
5953
7059
|
/***/ "cc12":
|
|
@@ -7658,6 +8764,22 @@ module.exports = function (key) {
|
|
|
7658
8764
|
};
|
|
7659
8765
|
|
|
7660
8766
|
|
|
8767
|
+
/***/ }),
|
|
8768
|
+
|
|
8769
|
+
/***/ "f8c9":
|
|
8770
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
8771
|
+
|
|
8772
|
+
var $ = __webpack_require__("23e7");
|
|
8773
|
+
var global = __webpack_require__("da84");
|
|
8774
|
+
var setToStringTag = __webpack_require__("d44e");
|
|
8775
|
+
|
|
8776
|
+
$({ global: true }, { Reflect: {} });
|
|
8777
|
+
|
|
8778
|
+
// Reflect[@@toStringTag] property
|
|
8779
|
+
// https://tc39.es/ecma262/#sec-reflect-@@tostringtag
|
|
8780
|
+
setToStringTag(global.Reflect, 'Reflect', true);
|
|
8781
|
+
|
|
8782
|
+
|
|
7661
8783
|
/***/ }),
|
|
7662
8784
|
|
|
7663
8785
|
/***/ "fb15":
|
|
@@ -7753,44 +8875,12 @@ function _classPrivateFieldGet(receiver, privateMap) {
|
|
|
7753
8875
|
var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
7754
8876
|
return _classApplyDescriptorGet(receiver, descriptor);
|
|
7755
8877
|
}
|
|
7756
|
-
// EXTERNAL MODULE: ./node_modules/
|
|
7757
|
-
var
|
|
7758
|
-
|
|
7759
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
|
|
7760
|
-
var es_symbol_description = __webpack_require__("e01a");
|
|
8878
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
8879
|
+
var esm_typeof = __webpack_require__("53ca");
|
|
7761
8880
|
|
|
7762
8881
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
|
|
7763
8882
|
var es_object_to_string = __webpack_require__("d3b7");
|
|
7764
8883
|
|
|
7765
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
|
|
7766
|
-
var es_symbol_iterator = __webpack_require__("d28b");
|
|
7767
|
-
|
|
7768
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
7769
|
-
var es_array_iterator = __webpack_require__("e260");
|
|
7770
|
-
|
|
7771
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
7772
|
-
var es_string_iterator = __webpack_require__("3ca3");
|
|
7773
|
-
|
|
7774
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
7775
|
-
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
7776
|
-
|
|
7777
|
-
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
function _typeof(obj) {
|
|
7786
|
-
"@babel/helpers - typeof";
|
|
7787
|
-
|
|
7788
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
7789
|
-
return typeof obj;
|
|
7790
|
-
} : function (obj) {
|
|
7791
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
7792
|
-
}, _typeof(obj);
|
|
7793
|
-
}
|
|
7794
8884
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.assign.js
|
|
7795
8885
|
var es_object_assign = __webpack_require__("cca6");
|
|
7796
8886
|
|
|
@@ -7809,9 +8899,18 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
7809
8899
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
7810
8900
|
var es_object_keys = __webpack_require__("b64b");
|
|
7811
8901
|
|
|
8902
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
|
|
8903
|
+
var es_array_iterator = __webpack_require__("e260");
|
|
8904
|
+
|
|
8905
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
|
|
8906
|
+
var es_string_iterator = __webpack_require__("3ca3");
|
|
8907
|
+
|
|
7812
8908
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.weak-map.js
|
|
7813
8909
|
var es_weak_map = __webpack_require__("10d1");
|
|
7814
8910
|
|
|
8911
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
|
|
8912
|
+
var web_dom_collections_iterator = __webpack_require__("ddb0");
|
|
8913
|
+
|
|
7815
8914
|
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
|
7816
8915
|
var defineProperty = __webpack_require__("ade3");
|
|
7817
8916
|
|
|
@@ -7905,7 +9004,7 @@ var w = function w(d, e, t) {
|
|
|
7905
9004
|
};
|
|
7906
9005
|
|
|
7907
9006
|
var phoneClient_b = function b(d, e, t) {
|
|
7908
|
-
return w(d,
|
|
9007
|
+
return w(d, Object(esm_typeof["a" /* default */])(e) != "symbol" ? e + "" : e, t), t;
|
|
7909
9008
|
};
|
|
7910
9009
|
|
|
7911
9010
|
var phoneClient_j = /*#__PURE__*/function () {
|
|
@@ -9021,7 +10120,7 @@ var common_request_getH265PlayerObj = function getH265PlayerObj(rtcServe, docePr
|
|
|
9021
10120
|
|
|
9022
10121
|
}; // 判断videoConfig是否为JSON对象
|
|
9023
10122
|
|
|
9024
|
-
if (videoConfig &&
|
|
10123
|
+
if (videoConfig && Object(esm_typeof["a" /* default */])(videoConfig) === 'object' && Object.prototype.toString.call(videoConfig) === '[object Object]') {
|
|
9025
10124
|
videoConfigdefault = Object.assign(videoConfigdefault, videoConfig);
|
|
9026
10125
|
}
|
|
9027
10126
|
|