jodit 4.2.25 → 4.2.32
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/.nvmrc +1 -1
- package/CHANGELOG.md +119 -5
- package/es2015/jodit.css +14 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +2 -2
- package/es2015/jodit.js +422 -284
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +2 -2
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +25 -18
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.css +14 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +2 -2
- package/es2018/jodit.js +416 -278
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +2 -2
- package/es2018/plugins/debug/debug.js +1 -1
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.js +25 -18
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +14 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +2 -2
- package/es2021/jodit.js +416 -278
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +2 -2
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +25 -18
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +14 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +2 -2
- package/es2021.en/jodit.js +391 -272
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +2 -2
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +25 -18
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/164.fat.min.js +10 -0
- package/es5/164.js +4939 -0
- package/es5/164.min.js +10 -0
- package/es5/5.fat.min.js +10 -0
- package/es5/5.js +76 -0
- package/es5/5.min.js +10 -0
- package/es5/jodit.css +21 -6
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +817 -5709
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +26 -19
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/esm/config.js +3 -7
- package/esm/core/async/async.js +2 -1
- package/esm/core/constants.d.ts +2 -0
- package/esm/core/constants.js +12 -8
- package/esm/core/decorators/watch/watch.js +0 -1
- package/esm/core/dom/dom.d.ts +2 -1
- package/esm/core/dom/dom.js +12 -6
- package/esm/core/event-emitter/event-emitter.js +3 -3
- package/esm/core/global.js +16 -3
- package/esm/core/helpers/array/to-array.d.ts +1 -6
- package/esm/core/helpers/array/to-array.js +1 -1
- package/esm/core/helpers/async/set-timeout.d.ts +0 -3
- package/esm/core/helpers/async/set-timeout.js +3 -2
- package/esm/core/helpers/checker/has-browser-color-picker.d.ts +0 -3
- package/esm/core/helpers/checker/has-browser-color-picker.js +2 -1
- package/esm/core/helpers/checker/is-url.d.ts +0 -3
- package/esm/core/helpers/checker/is-url.js +2 -1
- package/esm/core/helpers/html/apply-styles.js +3 -3
- package/esm/core/helpers/html/clean-from-word.js +2 -1
- package/esm/core/helpers/html/htmlspecialchars.d.ts +0 -3
- package/esm/core/helpers/html/htmlspecialchars.js +2 -1
- package/esm/core/helpers/normalize/normalize-key-aliases.js +2 -1
- package/esm/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/esm/core/helpers/size/get-scroll-parent.js +3 -2
- package/esm/core/helpers/utils/complete-url.js +2 -1
- package/esm/core/helpers/utils/convert-media-url-to-video-embed.js +2 -1
- package/esm/core/helpers/utils/default-language.js +3 -2
- package/esm/core/helpers/utils/reset.js +3 -3
- package/esm/core/request/ajax.js +2 -1
- package/esm/core/selection/selection.js +1 -0
- package/esm/core/selection/style/api/has-same-style.js +15 -10
- package/esm/core/selection/style/api/toggle-attributes.js +2 -1
- package/esm/core/selection/style/commit-style.d.ts +1 -1
- package/esm/core/ui/button/tooltip/tooltip.d.ts +1 -0
- package/esm/core/ui/button/tooltip/tooltip.js +11 -5
- package/esm/core/ui/form/inputs/file/file.d.ts +1 -0
- package/esm/core/ui/form/inputs/file/file.js +1 -0
- package/esm/core/ui/form/validators/input.d.ts +3 -3
- package/esm/core/ui/form/validators/select.d.ts +1 -1
- package/esm/jodit.js +3 -0
- package/esm/modules/file-browser/config.js +9 -1
- package/esm/modules/file-browser/data-provider.js +0 -1
- package/esm/modules/file-browser/file-browser.js +0 -1
- package/esm/modules/table/table.d.ts +2 -3
- package/esm/modules/table/table.js +27 -35
- package/esm/modules/toolbar/button/button.d.ts +1 -1
- package/esm/plugins/add-new-line/add-new-line.js +4 -1
- package/esm/plugins/backspace/cases/check-remove-char.js +1 -0
- package/esm/plugins/clean-html/config.d.ts +3 -3
- package/esm/plugins/clean-html/helpers/visitor/filters/fill-empty-paragraph.js +9 -1
- package/esm/plugins/hotkeys/hotkeys.js +4 -2
- package/esm/plugins/iframe/config.d.ts +15 -3
- package/esm/plugins/iframe/config.js +1 -0
- package/esm/plugins/iframe/iframe.js +3 -0
- package/esm/plugins/indent/helpers.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/esm/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/esm/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/esm/plugins/search/config.js +2 -2
- package/esm/plugins/search/helpers/highlight-text-ranges.js +3 -1
- package/esm/plugins/select-cells/select-cells.js +1 -1
- package/esm/plugins/source/editor/engines/ace.d.ts +0 -1
- package/esm/plugins/speech-recognize/config.js +1 -1
- package/esm/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/esm/plugins/speech-recognize/helpers/api.js +5 -2
- package/esm/plugins/speech-recognize/helpers/sound.js +6 -4
- package/esm/plugins/stat/config.d.ts +1 -0
- package/esm/plugins/stat/config.js +1 -0
- package/esm/plugins/stat/stat.js +14 -3
- package/esm/plugins/symbols/langs/index.d.ts +2 -1
- package/esm/plugins/symbols/langs/index.js +2 -1
- package/esm/plugins/symbols/langs/ua.d.ts +1 -0
- package/esm/plugins/symbols/langs/ua.js +9 -0
- package/esm/plugins/table/config.js +19 -3
- package/esm/polyfills.d.ts +10 -0
- package/esm/polyfills.js +54 -0
- package/esm/tsconfig.json +1 -1
- package/package.json +1 -1
- package/types/core/constants.d.ts +2 -0
- package/types/core/dom/dom.d.ts +2 -1
- package/types/core/helpers/array/to-array.d.ts +1 -6
- package/types/core/helpers/async/set-timeout.d.ts +0 -3
- package/types/core/helpers/checker/has-browser-color-picker.d.ts +0 -3
- package/types/core/helpers/checker/is-url.d.ts +0 -3
- package/types/core/helpers/html/htmlspecialchars.d.ts +0 -3
- package/types/core/helpers/normalize/normalize-size.d.ts +1 -1
- package/types/core/selection/style/commit-style.d.ts +1 -1
- package/types/core/ui/button/tooltip/tooltip.d.ts +1 -0
- package/types/core/ui/form/inputs/file/file.d.ts +1 -0
- package/types/core/ui/form/validators/input.d.ts +3 -3
- package/types/core/ui/form/validators/select.d.ts +1 -1
- package/types/modules/table/table.d.ts +2 -3
- package/types/modules/toolbar/button/button.d.ts +1 -1
- package/types/plugins/clean-html/config.d.ts +3 -3
- package/types/plugins/iframe/config.d.ts +15 -3
- package/types/plugins/indent/helpers.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/a.d.ts +2 -2
- package/types/plugins/inline-popup/config/items/cells.d.ts +1 -1
- package/types/plugins/inline-popup/config/items/img.d.ts +1 -1
- package/types/plugins/source/editor/engines/ace.d.ts +0 -1
- package/types/plugins/speech-recognize/helpers/api.d.ts +1 -1
- package/types/plugins/stat/config.d.ts +1 -0
- package/types/plugins/symbols/langs/index.d.ts +2 -1
- package/types/plugins/symbols/langs/ua.d.ts +1 -0
- package/types/polyfills.d.ts +10 -0
- package/types/tsconfig.json +1 -1
package/es5/164.js
ADDED
|
@@ -0,0 +1,4939 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(self["webpackChunkjodit"] = self["webpackChunkjodit"] || []).push([[164],{
|
|
3
|
+
|
|
4
|
+
/***/ 92687:
|
|
5
|
+
/***/ (function() {
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/*
|
|
9
|
+
* classList.js: Cross-browser full element.classList implementation.
|
|
10
|
+
* 1.1.20170427
|
|
11
|
+
*
|
|
12
|
+
* By Eli Grey, http://eligrey.com
|
|
13
|
+
* License: Dedicated to the public domain.
|
|
14
|
+
* See https://github.com/eligrey/classList.js/blob/master/LICENSE.md
|
|
15
|
+
*/
|
|
16
|
+
/*global self, document, DOMException */
|
|
17
|
+
/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */
|
|
18
|
+
if ("document" in window.self) {
|
|
19
|
+
// Full polyfill for browsers with no classList support
|
|
20
|
+
// Including IE < Edge missing SVGElement.classList
|
|
21
|
+
if (!("classList" in document.createElement("_"))
|
|
22
|
+
|| document.createElementNS && !("classList" in document.createElementNS("http://www.w3.org/2000/svg", "g"))) {
|
|
23
|
+
(function (view) {
|
|
24
|
+
"use strict";
|
|
25
|
+
if (!('Element' in view))
|
|
26
|
+
return;
|
|
27
|
+
var classListProp = "classList", protoProp = "prototype", elemCtrProto = view.Element[protoProp], objCtr = Object, strTrim = String[protoProp].trim || function () {
|
|
28
|
+
return this.replace(/^\s+|\s+$/g, "");
|
|
29
|
+
}, arrIndexOf = Array[protoProp].indexOf || function (item) {
|
|
30
|
+
var i = 0, len = this.length;
|
|
31
|
+
for (; i < len; i++) {
|
|
32
|
+
if (i in this && this[i] === item) {
|
|
33
|
+
return i;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return -1;
|
|
37
|
+
}
|
|
38
|
+
// Vendors: please allow content code to instantiate DOMExceptions
|
|
39
|
+
, DOMEx = function (type, message) {
|
|
40
|
+
this.name = type;
|
|
41
|
+
this.code = DOMException[type];
|
|
42
|
+
this.message = message;
|
|
43
|
+
}, checkTokenAndGetIndex = function (classList, token) {
|
|
44
|
+
if (token === "") {
|
|
45
|
+
throw new DOMEx("SYNTAX_ERR", "An invalid or illegal string was specified");
|
|
46
|
+
}
|
|
47
|
+
if (/\s/.test(token)) {
|
|
48
|
+
throw new DOMEx("INVALID_CHARACTER_ERR", "String contains an invalid character");
|
|
49
|
+
}
|
|
50
|
+
return arrIndexOf.call(classList, token);
|
|
51
|
+
}, ClassList = function (elem) {
|
|
52
|
+
var trimmedClasses = strTrim.call(elem.getAttribute("class") || ""), classes = trimmedClasses ? trimmedClasses.split(/\s+/) : [], i = 0, len = classes.length;
|
|
53
|
+
for (; i < len; i++) {
|
|
54
|
+
this.push(classes[i]);
|
|
55
|
+
}
|
|
56
|
+
this._updateClassName = function () {
|
|
57
|
+
elem.setAttribute("class", this.toString());
|
|
58
|
+
};
|
|
59
|
+
}, classListProto = ClassList[protoProp] = [], classListGetter = function () {
|
|
60
|
+
return new ClassList(this);
|
|
61
|
+
};
|
|
62
|
+
// Most DOMException implementations don't allow calling DOMException's toString()
|
|
63
|
+
// on non-DOMExceptions. Error's toString() is sufficient here.
|
|
64
|
+
DOMEx[protoProp] = Error[protoProp];
|
|
65
|
+
classListProto.item = function (i) {
|
|
66
|
+
return this[i] || null;
|
|
67
|
+
};
|
|
68
|
+
classListProto.contains = function (token) {
|
|
69
|
+
token += "";
|
|
70
|
+
return checkTokenAndGetIndex(this, token) !== -1;
|
|
71
|
+
};
|
|
72
|
+
classListProto.add = function () {
|
|
73
|
+
var tokens = arguments, i = 0, l = tokens.length, token, updated = false;
|
|
74
|
+
do {
|
|
75
|
+
token = tokens[i] + "";
|
|
76
|
+
if (checkTokenAndGetIndex(this, token) === -1) {
|
|
77
|
+
this.push(token);
|
|
78
|
+
updated = true;
|
|
79
|
+
}
|
|
80
|
+
} while (++i < l);
|
|
81
|
+
if (updated) {
|
|
82
|
+
this._updateClassName();
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
classListProto.remove = function () {
|
|
86
|
+
var tokens = arguments, i = 0, l = tokens.length, token, updated = false, index;
|
|
87
|
+
do {
|
|
88
|
+
token = tokens[i] + "";
|
|
89
|
+
index = checkTokenAndGetIndex(this, token);
|
|
90
|
+
while (index !== -1) {
|
|
91
|
+
this.splice(index, 1);
|
|
92
|
+
updated = true;
|
|
93
|
+
index = checkTokenAndGetIndex(this, token);
|
|
94
|
+
}
|
|
95
|
+
} while (++i < l);
|
|
96
|
+
if (updated) {
|
|
97
|
+
this._updateClassName();
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
classListProto.toggle = function (token, force) {
|
|
101
|
+
token += "";
|
|
102
|
+
var result = this.contains(token), method = result ?
|
|
103
|
+
force !== true && "remove"
|
|
104
|
+
:
|
|
105
|
+
force !== false && "add";
|
|
106
|
+
if (method) {
|
|
107
|
+
this[method](token);
|
|
108
|
+
}
|
|
109
|
+
if (force === true || force === false) {
|
|
110
|
+
return force;
|
|
111
|
+
}
|
|
112
|
+
else {
|
|
113
|
+
return !result;
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
classListProto.toString = function () {
|
|
117
|
+
return this.join(" ");
|
|
118
|
+
};
|
|
119
|
+
if (objCtr.defineProperty) {
|
|
120
|
+
var classListPropDesc = {
|
|
121
|
+
get: classListGetter,
|
|
122
|
+
enumerable: true,
|
|
123
|
+
configurable: true
|
|
124
|
+
};
|
|
125
|
+
try {
|
|
126
|
+
objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
|
|
127
|
+
}
|
|
128
|
+
catch (ex) { // IE 8 doesn't support enumerable:true
|
|
129
|
+
// adding undefined to fight this issue https://github.com/eligrey/classList.js/issues/36
|
|
130
|
+
// modernie IE8-MSW7 machine has IE8 8.0.6001.18702 and is affected
|
|
131
|
+
if (ex.number === undefined || ex.number === -0x7FF5EC54) {
|
|
132
|
+
classListPropDesc.enumerable = false;
|
|
133
|
+
objCtr.defineProperty(elemCtrProto, classListProp, classListPropDesc);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
else if (objCtr[protoProp].__defineGetter__) {
|
|
138
|
+
elemCtrProto.__defineGetter__(classListProp, classListGetter);
|
|
139
|
+
}
|
|
140
|
+
}(window.self));
|
|
141
|
+
}
|
|
142
|
+
// There is full or partial native classList support, so just check if we need
|
|
143
|
+
// to normalize the add/remove and toggle APIs.
|
|
144
|
+
(function () {
|
|
145
|
+
"use strict";
|
|
146
|
+
var testElement = document.createElement("_");
|
|
147
|
+
testElement.classList.add("c1", "c2");
|
|
148
|
+
// Polyfill for IE 10/11 and Firefox <26, where classList.add and
|
|
149
|
+
// classList.remove exist but support only one argument at a time.
|
|
150
|
+
if (!testElement.classList.contains("c2")) {
|
|
151
|
+
var createMethod = function (method) {
|
|
152
|
+
var original = DOMTokenList.prototype[method];
|
|
153
|
+
DOMTokenList.prototype[method] = function (token) {
|
|
154
|
+
var i, len = arguments.length;
|
|
155
|
+
for (i = 0; i < len; i++) {
|
|
156
|
+
token = arguments[i];
|
|
157
|
+
original.call(this, token);
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
createMethod('add');
|
|
162
|
+
createMethod('remove');
|
|
163
|
+
}
|
|
164
|
+
testElement.classList.toggle("c3", false);
|
|
165
|
+
// Polyfill for IE 10 and Firefox <24, where classList.toggle does not
|
|
166
|
+
// support the second argument.
|
|
167
|
+
if (testElement.classList.contains("c3")) {
|
|
168
|
+
var _toggle = DOMTokenList.prototype.toggle;
|
|
169
|
+
DOMTokenList.prototype.toggle = function (token, force) {
|
|
170
|
+
if (1 in arguments && !this.contains(token) === !force) {
|
|
171
|
+
return force;
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
return _toggle.call(this, token);
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
testElement = null;
|
|
179
|
+
}());
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
/***/ }),
|
|
184
|
+
|
|
185
|
+
/***/ 8489:
|
|
186
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
187
|
+
|
|
188
|
+
// This file can be required in Browserify and Node.js for automatic polyfill
|
|
189
|
+
// To use it: require('es6-promise/auto');
|
|
190
|
+
|
|
191
|
+
module.exports = (__webpack_require__(48743).polyfill)();
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
/***/ }),
|
|
195
|
+
|
|
196
|
+
/***/ 48743:
|
|
197
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
/*!
|
|
201
|
+
* @overview es6-promise - a tiny implementation of Promises/A+.
|
|
202
|
+
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
|
203
|
+
* @license Licensed under MIT license
|
|
204
|
+
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
|
205
|
+
* @version v4.2.8+1e68dce6
|
|
206
|
+
*/
|
|
207
|
+
(function (global, factory) {
|
|
208
|
+
true ? module.exports = factory() :
|
|
209
|
+
0;
|
|
210
|
+
}(this, (function () {
|
|
211
|
+
'use strict';
|
|
212
|
+
function objectOrFunction(x) {
|
|
213
|
+
var type = typeof x;
|
|
214
|
+
return x !== null && (type === 'object' || type === 'function');
|
|
215
|
+
}
|
|
216
|
+
function isFunction(x) {
|
|
217
|
+
return typeof x === 'function';
|
|
218
|
+
}
|
|
219
|
+
var _isArray = void 0;
|
|
220
|
+
if (Array.isArray) {
|
|
221
|
+
_isArray = Array.isArray;
|
|
222
|
+
}
|
|
223
|
+
else {
|
|
224
|
+
_isArray = function (x) {
|
|
225
|
+
return Object.prototype.toString.call(x) === '[object Array]';
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
var isArray = _isArray;
|
|
229
|
+
var len = 0;
|
|
230
|
+
var vertxNext = void 0;
|
|
231
|
+
var customSchedulerFn = void 0;
|
|
232
|
+
var asap = function asap(callback, arg) {
|
|
233
|
+
queue[len] = callback;
|
|
234
|
+
queue[len + 1] = arg;
|
|
235
|
+
len += 2;
|
|
236
|
+
if (len === 2) {
|
|
237
|
+
// If len is 2, that means that we need to schedule an async flush.
|
|
238
|
+
// If additional callbacks are queued before the queue is flushed, they
|
|
239
|
+
// will be processed by this flush that we are scheduling.
|
|
240
|
+
if (customSchedulerFn) {
|
|
241
|
+
customSchedulerFn(flush);
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
scheduleFlush();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
function setScheduler(scheduleFn) {
|
|
249
|
+
customSchedulerFn = scheduleFn;
|
|
250
|
+
}
|
|
251
|
+
function setAsap(asapFn) {
|
|
252
|
+
asap = asapFn;
|
|
253
|
+
}
|
|
254
|
+
var browserWindow = typeof window !== 'undefined' ? window : undefined;
|
|
255
|
+
var browserGlobal = browserWindow || {};
|
|
256
|
+
var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;
|
|
257
|
+
var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';
|
|
258
|
+
// test for web worker but not in IE10
|
|
259
|
+
var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';
|
|
260
|
+
// node
|
|
261
|
+
function useNextTick() {
|
|
262
|
+
// node version 0.10.x displays a deprecation warning when nextTick is used recursively
|
|
263
|
+
// see https://github.com/cujojs/when/issues/410 for details
|
|
264
|
+
return function () {
|
|
265
|
+
return process.nextTick(flush);
|
|
266
|
+
};
|
|
267
|
+
}
|
|
268
|
+
// vertx
|
|
269
|
+
function useVertxTimer() {
|
|
270
|
+
if (typeof vertxNext !== 'undefined') {
|
|
271
|
+
return function () {
|
|
272
|
+
vertxNext(flush);
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
return useSetTimeout();
|
|
276
|
+
}
|
|
277
|
+
function useMutationObserver() {
|
|
278
|
+
var iterations = 0;
|
|
279
|
+
var observer = new BrowserMutationObserver(flush);
|
|
280
|
+
var node = document.createTextNode('');
|
|
281
|
+
observer.observe(node, { characterData: true });
|
|
282
|
+
return function () {
|
|
283
|
+
node.data = iterations = ++iterations % 2;
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
// web worker
|
|
287
|
+
function useMessageChannel() {
|
|
288
|
+
var channel = new MessageChannel();
|
|
289
|
+
channel.port1.onmessage = flush;
|
|
290
|
+
return function () {
|
|
291
|
+
return channel.port2.postMessage(0);
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function useSetTimeout() {
|
|
295
|
+
// Store setTimeout reference so es6-promise will be unaffected by
|
|
296
|
+
// other code modifying setTimeout (like sinon.useFakeTimers())
|
|
297
|
+
var globalSetTimeout = setTimeout;
|
|
298
|
+
return function () {
|
|
299
|
+
return globalSetTimeout(flush, 1);
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
var queue = new Array(1000);
|
|
303
|
+
function flush() {
|
|
304
|
+
for (var i = 0; i < len; i += 2) {
|
|
305
|
+
var callback = queue[i];
|
|
306
|
+
var arg = queue[i + 1];
|
|
307
|
+
callback(arg);
|
|
308
|
+
queue[i] = undefined;
|
|
309
|
+
queue[i + 1] = undefined;
|
|
310
|
+
}
|
|
311
|
+
len = 0;
|
|
312
|
+
}
|
|
313
|
+
function attemptVertx() {
|
|
314
|
+
try {
|
|
315
|
+
var vertx = Function('return this')().require('vertx');
|
|
316
|
+
vertxNext = vertx.runOnLoop || vertx.runOnContext;
|
|
317
|
+
return useVertxTimer();
|
|
318
|
+
}
|
|
319
|
+
catch (e) {
|
|
320
|
+
return useSetTimeout();
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
var scheduleFlush = void 0;
|
|
324
|
+
// Decide what async method to use to triggering processing of queued callbacks:
|
|
325
|
+
if (isNode) {
|
|
326
|
+
scheduleFlush = useNextTick();
|
|
327
|
+
}
|
|
328
|
+
else if (BrowserMutationObserver) {
|
|
329
|
+
scheduleFlush = useMutationObserver();
|
|
330
|
+
}
|
|
331
|
+
else if (isWorker) {
|
|
332
|
+
scheduleFlush = useMessageChannel();
|
|
333
|
+
}
|
|
334
|
+
else if (browserWindow === undefined && "function" === 'function') {
|
|
335
|
+
scheduleFlush = attemptVertx();
|
|
336
|
+
}
|
|
337
|
+
else {
|
|
338
|
+
scheduleFlush = useSetTimeout();
|
|
339
|
+
}
|
|
340
|
+
function then(onFulfillment, onRejection) {
|
|
341
|
+
var parent = this;
|
|
342
|
+
var child = new this.constructor(noop);
|
|
343
|
+
if (child[PROMISE_ID] === undefined) {
|
|
344
|
+
makePromise(child);
|
|
345
|
+
}
|
|
346
|
+
var _state = parent._state;
|
|
347
|
+
if (_state) {
|
|
348
|
+
var callback = arguments[_state - 1];
|
|
349
|
+
asap(function () {
|
|
350
|
+
return invokeCallback(_state, child, callback, parent._result);
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
else {
|
|
354
|
+
subscribe(parent, child, onFulfillment, onRejection);
|
|
355
|
+
}
|
|
356
|
+
return child;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
`Promise.resolve` returns a promise that will become resolved with the
|
|
360
|
+
passed `value`. It is shorthand for the following:
|
|
361
|
+
|
|
362
|
+
```javascript
|
|
363
|
+
let promise = new Promise(function(resolve, reject){
|
|
364
|
+
resolve(1);
|
|
365
|
+
});
|
|
366
|
+
|
|
367
|
+
promise.then(function(value){
|
|
368
|
+
// value === 1
|
|
369
|
+
});
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
Instead of writing the above, your code now simply becomes the following:
|
|
373
|
+
|
|
374
|
+
```javascript
|
|
375
|
+
let promise = Promise.resolve(1);
|
|
376
|
+
|
|
377
|
+
promise.then(function(value){
|
|
378
|
+
// value === 1
|
|
379
|
+
});
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
@method resolve
|
|
383
|
+
@static
|
|
384
|
+
@param {Any} value value that the returned promise will be resolved with
|
|
385
|
+
Useful for tooling.
|
|
386
|
+
@return {Promise} a promise that will become fulfilled with the given
|
|
387
|
+
`value`
|
|
388
|
+
*/
|
|
389
|
+
function resolve$1(object) {
|
|
390
|
+
/*jshint validthis:true */
|
|
391
|
+
var Constructor = this;
|
|
392
|
+
if (object && typeof object === 'object' && object.constructor === Constructor) {
|
|
393
|
+
return object;
|
|
394
|
+
}
|
|
395
|
+
var promise = new Constructor(noop);
|
|
396
|
+
resolve(promise, object);
|
|
397
|
+
return promise;
|
|
398
|
+
}
|
|
399
|
+
var PROMISE_ID = Math.random().toString(36).substring(2);
|
|
400
|
+
function noop() { }
|
|
401
|
+
var PENDING = void 0;
|
|
402
|
+
var FULFILLED = 1;
|
|
403
|
+
var REJECTED = 2;
|
|
404
|
+
function selfFulfillment() {
|
|
405
|
+
return new TypeError("You cannot resolve a promise with itself");
|
|
406
|
+
}
|
|
407
|
+
function cannotReturnOwn() {
|
|
408
|
+
return new TypeError('A promises callback cannot return that same promise.');
|
|
409
|
+
}
|
|
410
|
+
function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {
|
|
411
|
+
try {
|
|
412
|
+
then$$1.call(value, fulfillmentHandler, rejectionHandler);
|
|
413
|
+
}
|
|
414
|
+
catch (e) {
|
|
415
|
+
return e;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
function handleForeignThenable(promise, thenable, then$$1) {
|
|
419
|
+
asap(function (promise) {
|
|
420
|
+
var sealed = false;
|
|
421
|
+
var error = tryThen(then$$1, thenable, function (value) {
|
|
422
|
+
if (sealed) {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
sealed = true;
|
|
426
|
+
if (thenable !== value) {
|
|
427
|
+
resolve(promise, value);
|
|
428
|
+
}
|
|
429
|
+
else {
|
|
430
|
+
fulfill(promise, value);
|
|
431
|
+
}
|
|
432
|
+
}, function (reason) {
|
|
433
|
+
if (sealed) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
sealed = true;
|
|
437
|
+
reject(promise, reason);
|
|
438
|
+
}, 'Settle: ' + (promise._label || ' unknown promise'));
|
|
439
|
+
if (!sealed && error) {
|
|
440
|
+
sealed = true;
|
|
441
|
+
reject(promise, error);
|
|
442
|
+
}
|
|
443
|
+
}, promise);
|
|
444
|
+
}
|
|
445
|
+
function handleOwnThenable(promise, thenable) {
|
|
446
|
+
if (thenable._state === FULFILLED) {
|
|
447
|
+
fulfill(promise, thenable._result);
|
|
448
|
+
}
|
|
449
|
+
else if (thenable._state === REJECTED) {
|
|
450
|
+
reject(promise, thenable._result);
|
|
451
|
+
}
|
|
452
|
+
else {
|
|
453
|
+
subscribe(thenable, undefined, function (value) {
|
|
454
|
+
return resolve(promise, value);
|
|
455
|
+
}, function (reason) {
|
|
456
|
+
return reject(promise, reason);
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
function handleMaybeThenable(promise, maybeThenable, then$$1) {
|
|
461
|
+
if (maybeThenable.constructor === promise.constructor && then$$1 === then && maybeThenable.constructor.resolve === resolve$1) {
|
|
462
|
+
handleOwnThenable(promise, maybeThenable);
|
|
463
|
+
}
|
|
464
|
+
else {
|
|
465
|
+
if (then$$1 === undefined) {
|
|
466
|
+
fulfill(promise, maybeThenable);
|
|
467
|
+
}
|
|
468
|
+
else if (isFunction(then$$1)) {
|
|
469
|
+
handleForeignThenable(promise, maybeThenable, then$$1);
|
|
470
|
+
}
|
|
471
|
+
else {
|
|
472
|
+
fulfill(promise, maybeThenable);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
function resolve(promise, value) {
|
|
477
|
+
if (promise === value) {
|
|
478
|
+
reject(promise, selfFulfillment());
|
|
479
|
+
}
|
|
480
|
+
else if (objectOrFunction(value)) {
|
|
481
|
+
var then$$1 = void 0;
|
|
482
|
+
try {
|
|
483
|
+
then$$1 = value.then;
|
|
484
|
+
}
|
|
485
|
+
catch (error) {
|
|
486
|
+
reject(promise, error);
|
|
487
|
+
return;
|
|
488
|
+
}
|
|
489
|
+
handleMaybeThenable(promise, value, then$$1);
|
|
490
|
+
}
|
|
491
|
+
else {
|
|
492
|
+
fulfill(promise, value);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
function publishRejection(promise) {
|
|
496
|
+
if (promise._onerror) {
|
|
497
|
+
promise._onerror(promise._result);
|
|
498
|
+
}
|
|
499
|
+
publish(promise);
|
|
500
|
+
}
|
|
501
|
+
function fulfill(promise, value) {
|
|
502
|
+
if (promise._state !== PENDING) {
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
promise._result = value;
|
|
506
|
+
promise._state = FULFILLED;
|
|
507
|
+
if (promise._subscribers.length !== 0) {
|
|
508
|
+
asap(publish, promise);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
function reject(promise, reason) {
|
|
512
|
+
if (promise._state !== PENDING) {
|
|
513
|
+
return;
|
|
514
|
+
}
|
|
515
|
+
promise._state = REJECTED;
|
|
516
|
+
promise._result = reason;
|
|
517
|
+
asap(publishRejection, promise);
|
|
518
|
+
}
|
|
519
|
+
function subscribe(parent, child, onFulfillment, onRejection) {
|
|
520
|
+
var _subscribers = parent._subscribers;
|
|
521
|
+
var length = _subscribers.length;
|
|
522
|
+
parent._onerror = null;
|
|
523
|
+
_subscribers[length] = child;
|
|
524
|
+
_subscribers[length + FULFILLED] = onFulfillment;
|
|
525
|
+
_subscribers[length + REJECTED] = onRejection;
|
|
526
|
+
if (length === 0 && parent._state) {
|
|
527
|
+
asap(publish, parent);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
function publish(promise) {
|
|
531
|
+
var subscribers = promise._subscribers;
|
|
532
|
+
var settled = promise._state;
|
|
533
|
+
if (subscribers.length === 0) {
|
|
534
|
+
return;
|
|
535
|
+
}
|
|
536
|
+
var child = void 0, callback = void 0, detail = promise._result;
|
|
537
|
+
for (var i = 0; i < subscribers.length; i += 3) {
|
|
538
|
+
child = subscribers[i];
|
|
539
|
+
callback = subscribers[i + settled];
|
|
540
|
+
if (child) {
|
|
541
|
+
invokeCallback(settled, child, callback, detail);
|
|
542
|
+
}
|
|
543
|
+
else {
|
|
544
|
+
callback(detail);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
promise._subscribers.length = 0;
|
|
548
|
+
}
|
|
549
|
+
function invokeCallback(settled, promise, callback, detail) {
|
|
550
|
+
var hasCallback = isFunction(callback), value = void 0, error = void 0, succeeded = true;
|
|
551
|
+
if (hasCallback) {
|
|
552
|
+
try {
|
|
553
|
+
value = callback(detail);
|
|
554
|
+
}
|
|
555
|
+
catch (e) {
|
|
556
|
+
succeeded = false;
|
|
557
|
+
error = e;
|
|
558
|
+
}
|
|
559
|
+
if (promise === value) {
|
|
560
|
+
reject(promise, cannotReturnOwn());
|
|
561
|
+
return;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
else {
|
|
565
|
+
value = detail;
|
|
566
|
+
}
|
|
567
|
+
if (promise._state !== PENDING) {
|
|
568
|
+
// noop
|
|
569
|
+
}
|
|
570
|
+
else if (hasCallback && succeeded) {
|
|
571
|
+
resolve(promise, value);
|
|
572
|
+
}
|
|
573
|
+
else if (succeeded === false) {
|
|
574
|
+
reject(promise, error);
|
|
575
|
+
}
|
|
576
|
+
else if (settled === FULFILLED) {
|
|
577
|
+
fulfill(promise, value);
|
|
578
|
+
}
|
|
579
|
+
else if (settled === REJECTED) {
|
|
580
|
+
reject(promise, value);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
function initializePromise(promise, resolver) {
|
|
584
|
+
try {
|
|
585
|
+
resolver(function resolvePromise(value) {
|
|
586
|
+
resolve(promise, value);
|
|
587
|
+
}, function rejectPromise(reason) {
|
|
588
|
+
reject(promise, reason);
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
catch (e) {
|
|
592
|
+
reject(promise, e);
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
var id = 0;
|
|
596
|
+
function nextId() {
|
|
597
|
+
return id++;
|
|
598
|
+
}
|
|
599
|
+
function makePromise(promise) {
|
|
600
|
+
promise[PROMISE_ID] = id++;
|
|
601
|
+
promise._state = undefined;
|
|
602
|
+
promise._result = undefined;
|
|
603
|
+
promise._subscribers = [];
|
|
604
|
+
}
|
|
605
|
+
function validationError() {
|
|
606
|
+
return new Error('Array Methods must be provided an Array');
|
|
607
|
+
}
|
|
608
|
+
var Enumerator = function () {
|
|
609
|
+
function Enumerator(Constructor, input) {
|
|
610
|
+
this._instanceConstructor = Constructor;
|
|
611
|
+
this.promise = new Constructor(noop);
|
|
612
|
+
if (!this.promise[PROMISE_ID]) {
|
|
613
|
+
makePromise(this.promise);
|
|
614
|
+
}
|
|
615
|
+
if (isArray(input)) {
|
|
616
|
+
this.length = input.length;
|
|
617
|
+
this._remaining = input.length;
|
|
618
|
+
this._result = new Array(this.length);
|
|
619
|
+
if (this.length === 0) {
|
|
620
|
+
fulfill(this.promise, this._result);
|
|
621
|
+
}
|
|
622
|
+
else {
|
|
623
|
+
this.length = this.length || 0;
|
|
624
|
+
this._enumerate(input);
|
|
625
|
+
if (this._remaining === 0) {
|
|
626
|
+
fulfill(this.promise, this._result);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
else {
|
|
631
|
+
reject(this.promise, validationError());
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
Enumerator.prototype._enumerate = function _enumerate(input) {
|
|
635
|
+
for (var i = 0; this._state === PENDING && i < input.length; i++) {
|
|
636
|
+
this._eachEntry(input[i], i);
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
Enumerator.prototype._eachEntry = function _eachEntry(entry, i) {
|
|
640
|
+
var c = this._instanceConstructor;
|
|
641
|
+
var resolve$$1 = c.resolve;
|
|
642
|
+
if (resolve$$1 === resolve$1) {
|
|
643
|
+
var _then = void 0;
|
|
644
|
+
var error = void 0;
|
|
645
|
+
var didError = false;
|
|
646
|
+
try {
|
|
647
|
+
_then = entry.then;
|
|
648
|
+
}
|
|
649
|
+
catch (e) {
|
|
650
|
+
didError = true;
|
|
651
|
+
error = e;
|
|
652
|
+
}
|
|
653
|
+
if (_then === then && entry._state !== PENDING) {
|
|
654
|
+
this._settledAt(entry._state, i, entry._result);
|
|
655
|
+
}
|
|
656
|
+
else if (typeof _then !== 'function') {
|
|
657
|
+
this._remaining--;
|
|
658
|
+
this._result[i] = entry;
|
|
659
|
+
}
|
|
660
|
+
else if (c === Promise$1) {
|
|
661
|
+
var promise = new c(noop);
|
|
662
|
+
if (didError) {
|
|
663
|
+
reject(promise, error);
|
|
664
|
+
}
|
|
665
|
+
else {
|
|
666
|
+
handleMaybeThenable(promise, entry, _then);
|
|
667
|
+
}
|
|
668
|
+
this._willSettleAt(promise, i);
|
|
669
|
+
}
|
|
670
|
+
else {
|
|
671
|
+
this._willSettleAt(new c(function (resolve$$1) {
|
|
672
|
+
return resolve$$1(entry);
|
|
673
|
+
}), i);
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
else {
|
|
677
|
+
this._willSettleAt(resolve$$1(entry), i);
|
|
678
|
+
}
|
|
679
|
+
};
|
|
680
|
+
Enumerator.prototype._settledAt = function _settledAt(state, i, value) {
|
|
681
|
+
var promise = this.promise;
|
|
682
|
+
if (promise._state === PENDING) {
|
|
683
|
+
this._remaining--;
|
|
684
|
+
if (state === REJECTED) {
|
|
685
|
+
reject(promise, value);
|
|
686
|
+
}
|
|
687
|
+
else {
|
|
688
|
+
this._result[i] = value;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
if (this._remaining === 0) {
|
|
692
|
+
fulfill(promise, this._result);
|
|
693
|
+
}
|
|
694
|
+
};
|
|
695
|
+
Enumerator.prototype._willSettleAt = function _willSettleAt(promise, i) {
|
|
696
|
+
var enumerator = this;
|
|
697
|
+
subscribe(promise, undefined, function (value) {
|
|
698
|
+
return enumerator._settledAt(FULFILLED, i, value);
|
|
699
|
+
}, function (reason) {
|
|
700
|
+
return enumerator._settledAt(REJECTED, i, reason);
|
|
701
|
+
});
|
|
702
|
+
};
|
|
703
|
+
return Enumerator;
|
|
704
|
+
}();
|
|
705
|
+
/**
|
|
706
|
+
`Promise.all` accepts an array of promises, and returns a new promise which
|
|
707
|
+
is fulfilled with an array of fulfillment values for the passed promises, or
|
|
708
|
+
rejected with the reason of the first passed promise to be rejected. It casts all
|
|
709
|
+
elements of the passed iterable to promises as it runs this algorithm.
|
|
710
|
+
|
|
711
|
+
Example:
|
|
712
|
+
|
|
713
|
+
```javascript
|
|
714
|
+
let promise1 = resolve(1);
|
|
715
|
+
let promise2 = resolve(2);
|
|
716
|
+
let promise3 = resolve(3);
|
|
717
|
+
let promises = [ promise1, promise2, promise3 ];
|
|
718
|
+
|
|
719
|
+
Promise.all(promises).then(function(array){
|
|
720
|
+
// The array here would be [ 1, 2, 3 ];
|
|
721
|
+
});
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
If any of the `promises` given to `all` are rejected, the first promise
|
|
725
|
+
that is rejected will be given as an argument to the returned promises's
|
|
726
|
+
rejection handler. For example:
|
|
727
|
+
|
|
728
|
+
Example:
|
|
729
|
+
|
|
730
|
+
```javascript
|
|
731
|
+
let promise1 = resolve(1);
|
|
732
|
+
let promise2 = reject(new Error("2"));
|
|
733
|
+
let promise3 = reject(new Error("3"));
|
|
734
|
+
let promises = [ promise1, promise2, promise3 ];
|
|
735
|
+
|
|
736
|
+
Promise.all(promises).then(function(array){
|
|
737
|
+
// Code here never runs because there are rejected promises!
|
|
738
|
+
}, function(error) {
|
|
739
|
+
// error.message === "2"
|
|
740
|
+
});
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
@method all
|
|
744
|
+
@static
|
|
745
|
+
@param {Array} entries array of promises
|
|
746
|
+
@param {String} label optional string for labeling the promise.
|
|
747
|
+
Useful for tooling.
|
|
748
|
+
@return {Promise} promise that is fulfilled when all `promises` have been
|
|
749
|
+
fulfilled, or rejected if any of them become rejected.
|
|
750
|
+
@static
|
|
751
|
+
*/
|
|
752
|
+
function all(entries) {
|
|
753
|
+
return new Enumerator(this, entries).promise;
|
|
754
|
+
}
|
|
755
|
+
/**
|
|
756
|
+
`Promise.race` returns a new promise which is settled in the same way as the
|
|
757
|
+
first passed promise to settle.
|
|
758
|
+
|
|
759
|
+
Example:
|
|
760
|
+
|
|
761
|
+
```javascript
|
|
762
|
+
let promise1 = new Promise(function(resolve, reject){
|
|
763
|
+
setTimeout(function(){
|
|
764
|
+
resolve('promise 1');
|
|
765
|
+
}, 200);
|
|
766
|
+
});
|
|
767
|
+
|
|
768
|
+
let promise2 = new Promise(function(resolve, reject){
|
|
769
|
+
setTimeout(function(){
|
|
770
|
+
resolve('promise 2');
|
|
771
|
+
}, 100);
|
|
772
|
+
});
|
|
773
|
+
|
|
774
|
+
Promise.race([promise1, promise2]).then(function(result){
|
|
775
|
+
// result === 'promise 2' because it was resolved before promise1
|
|
776
|
+
// was resolved.
|
|
777
|
+
});
|
|
778
|
+
```
|
|
779
|
+
|
|
780
|
+
`Promise.race` is deterministic in that only the state of the first
|
|
781
|
+
settled promise matters. For example, even if other promises given to the
|
|
782
|
+
`promises` array argument are resolved, but the first settled promise has
|
|
783
|
+
become rejected before the other promises became fulfilled, the returned
|
|
784
|
+
promise will become rejected:
|
|
785
|
+
|
|
786
|
+
```javascript
|
|
787
|
+
let promise1 = new Promise(function(resolve, reject){
|
|
788
|
+
setTimeout(function(){
|
|
789
|
+
resolve('promise 1');
|
|
790
|
+
}, 200);
|
|
791
|
+
});
|
|
792
|
+
|
|
793
|
+
let promise2 = new Promise(function(resolve, reject){
|
|
794
|
+
setTimeout(function(){
|
|
795
|
+
reject(new Error('promise 2'));
|
|
796
|
+
}, 100);
|
|
797
|
+
});
|
|
798
|
+
|
|
799
|
+
Promise.race([promise1, promise2]).then(function(result){
|
|
800
|
+
// Code here never runs
|
|
801
|
+
}, function(reason){
|
|
802
|
+
// reason.message === 'promise 2' because promise 2 became rejected before
|
|
803
|
+
// promise 1 became fulfilled
|
|
804
|
+
});
|
|
805
|
+
```
|
|
806
|
+
|
|
807
|
+
An example real-world use case is implementing timeouts:
|
|
808
|
+
|
|
809
|
+
```javascript
|
|
810
|
+
Promise.race([ajax('foo.json'), timeout(5000)])
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
@method race
|
|
814
|
+
@static
|
|
815
|
+
@param {Array} promises array of promises to observe
|
|
816
|
+
Useful for tooling.
|
|
817
|
+
@return {Promise} a promise which settles in the same way as the first passed
|
|
818
|
+
promise to settle.
|
|
819
|
+
*/
|
|
820
|
+
function race(entries) {
|
|
821
|
+
/*jshint validthis:true */
|
|
822
|
+
var Constructor = this;
|
|
823
|
+
if (!isArray(entries)) {
|
|
824
|
+
return new Constructor(function (_, reject) {
|
|
825
|
+
return reject(new TypeError('You must pass an array to race.'));
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
else {
|
|
829
|
+
return new Constructor(function (resolve, reject) {
|
|
830
|
+
var length = entries.length;
|
|
831
|
+
for (var i = 0; i < length; i++) {
|
|
832
|
+
Constructor.resolve(entries[i]).then(resolve, reject);
|
|
833
|
+
}
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
`Promise.reject` returns a promise rejected with the passed `reason`.
|
|
839
|
+
It is shorthand for the following:
|
|
840
|
+
|
|
841
|
+
```javascript
|
|
842
|
+
let promise = new Promise(function(resolve, reject){
|
|
843
|
+
reject(new Error('WHOOPS'));
|
|
844
|
+
});
|
|
845
|
+
|
|
846
|
+
promise.then(function(value){
|
|
847
|
+
// Code here doesn't run because the promise is rejected!
|
|
848
|
+
}, function(reason){
|
|
849
|
+
// reason.message === 'WHOOPS'
|
|
850
|
+
});
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
Instead of writing the above, your code now simply becomes the following:
|
|
854
|
+
|
|
855
|
+
```javascript
|
|
856
|
+
let promise = Promise.reject(new Error('WHOOPS'));
|
|
857
|
+
|
|
858
|
+
promise.then(function(value){
|
|
859
|
+
// Code here doesn't run because the promise is rejected!
|
|
860
|
+
}, function(reason){
|
|
861
|
+
// reason.message === 'WHOOPS'
|
|
862
|
+
});
|
|
863
|
+
```
|
|
864
|
+
|
|
865
|
+
@method reject
|
|
866
|
+
@static
|
|
867
|
+
@param {Any} reason value that the returned promise will be rejected with.
|
|
868
|
+
Useful for tooling.
|
|
869
|
+
@return {Promise} a promise rejected with the given `reason`.
|
|
870
|
+
*/
|
|
871
|
+
function reject$1(reason) {
|
|
872
|
+
/*jshint validthis:true */
|
|
873
|
+
var Constructor = this;
|
|
874
|
+
var promise = new Constructor(noop);
|
|
875
|
+
reject(promise, reason);
|
|
876
|
+
return promise;
|
|
877
|
+
}
|
|
878
|
+
function needsResolver() {
|
|
879
|
+
throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');
|
|
880
|
+
}
|
|
881
|
+
function needsNew() {
|
|
882
|
+
throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
|
|
883
|
+
}
|
|
884
|
+
/**
|
|
885
|
+
Promise objects represent the eventual result of an asynchronous operation. The
|
|
886
|
+
primary way of interacting with a promise is through its `then` method, which
|
|
887
|
+
registers callbacks to receive either a promise's eventual value or the reason
|
|
888
|
+
why the promise cannot be fulfilled.
|
|
889
|
+
|
|
890
|
+
Terminology
|
|
891
|
+
-----------
|
|
892
|
+
|
|
893
|
+
- `promise` is an object or function with a `then` method whose behavior conforms to this specification.
|
|
894
|
+
- `thenable` is an object or function that defines a `then` method.
|
|
895
|
+
- `value` is any legal JavaScript value (including undefined, a thenable, or a promise).
|
|
896
|
+
- `exception` is a value that is thrown using the throw statement.
|
|
897
|
+
- `reason` is a value that indicates why a promise was rejected.
|
|
898
|
+
- `settled` the final resting state of a promise, fulfilled or rejected.
|
|
899
|
+
|
|
900
|
+
A promise can be in one of three states: pending, fulfilled, or rejected.
|
|
901
|
+
|
|
902
|
+
Promises that are fulfilled have a fulfillment value and are in the fulfilled
|
|
903
|
+
state. Promises that are rejected have a rejection reason and are in the
|
|
904
|
+
rejected state. A fulfillment value is never a thenable.
|
|
905
|
+
|
|
906
|
+
Promises can also be said to *resolve* a value. If this value is also a
|
|
907
|
+
promise, then the original promise's settled state will match the value's
|
|
908
|
+
settled state. So a promise that *resolves* a promise that rejects will
|
|
909
|
+
itself reject, and a promise that *resolves* a promise that fulfills will
|
|
910
|
+
itself fulfill.
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
Basic Usage:
|
|
914
|
+
------------
|
|
915
|
+
|
|
916
|
+
```js
|
|
917
|
+
let promise = new Promise(function(resolve, reject) {
|
|
918
|
+
// on success
|
|
919
|
+
resolve(value);
|
|
920
|
+
|
|
921
|
+
// on failure
|
|
922
|
+
reject(reason);
|
|
923
|
+
});
|
|
924
|
+
|
|
925
|
+
promise.then(function(value) {
|
|
926
|
+
// on fulfillment
|
|
927
|
+
}, function(reason) {
|
|
928
|
+
// on rejection
|
|
929
|
+
});
|
|
930
|
+
```
|
|
931
|
+
|
|
932
|
+
Advanced Usage:
|
|
933
|
+
---------------
|
|
934
|
+
|
|
935
|
+
Promises shine when abstracting away asynchronous interactions such as
|
|
936
|
+
`XMLHttpRequest`s.
|
|
937
|
+
|
|
938
|
+
```js
|
|
939
|
+
function getJSON(url) {
|
|
940
|
+
return new Promise(function(resolve, reject){
|
|
941
|
+
let xhr = new XMLHttpRequest();
|
|
942
|
+
|
|
943
|
+
xhr.open('GET', url);
|
|
944
|
+
xhr.onreadystatechange = handler;
|
|
945
|
+
xhr.responseType = 'json';
|
|
946
|
+
xhr.setRequestHeader('Accept', 'application/json');
|
|
947
|
+
xhr.send();
|
|
948
|
+
|
|
949
|
+
function handler() {
|
|
950
|
+
if (this.readyState === this.DONE) {
|
|
951
|
+
if (this.status === 200) {
|
|
952
|
+
resolve(this.response);
|
|
953
|
+
} else {
|
|
954
|
+
reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
getJSON('/posts.json').then(function(json) {
|
|
962
|
+
// on fulfillment
|
|
963
|
+
}, function(reason) {
|
|
964
|
+
// on rejection
|
|
965
|
+
});
|
|
966
|
+
```
|
|
967
|
+
|
|
968
|
+
Unlike callbacks, promises are great composable primitives.
|
|
969
|
+
|
|
970
|
+
```js
|
|
971
|
+
Promise.all([
|
|
972
|
+
getJSON('/posts'),
|
|
973
|
+
getJSON('/comments')
|
|
974
|
+
]).then(function(values){
|
|
975
|
+
values[0] // => postsJSON
|
|
976
|
+
values[1] // => commentsJSON
|
|
977
|
+
|
|
978
|
+
return values;
|
|
979
|
+
});
|
|
980
|
+
```
|
|
981
|
+
|
|
982
|
+
@class Promise
|
|
983
|
+
@param {Function} resolver
|
|
984
|
+
Useful for tooling.
|
|
985
|
+
@constructor
|
|
986
|
+
*/
|
|
987
|
+
var Promise$1 = function () {
|
|
988
|
+
function Promise(resolver) {
|
|
989
|
+
this[PROMISE_ID] = nextId();
|
|
990
|
+
this._result = this._state = undefined;
|
|
991
|
+
this._subscribers = [];
|
|
992
|
+
if (noop !== resolver) {
|
|
993
|
+
typeof resolver !== 'function' && needsResolver();
|
|
994
|
+
this instanceof Promise ? initializePromise(this, resolver) : needsNew();
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
/**
|
|
998
|
+
The primary way of interacting with a promise is through its `then` method,
|
|
999
|
+
which registers callbacks to receive either a promise's eventual value or the
|
|
1000
|
+
reason why the promise cannot be fulfilled.
|
|
1001
|
+
```js
|
|
1002
|
+
findUser().then(function(user){
|
|
1003
|
+
// user is available
|
|
1004
|
+
}, function(reason){
|
|
1005
|
+
// user is unavailable, and you are given the reason why
|
|
1006
|
+
});
|
|
1007
|
+
```
|
|
1008
|
+
Chaining
|
|
1009
|
+
--------
|
|
1010
|
+
The return value of `then` is itself a promise. This second, 'downstream'
|
|
1011
|
+
promise is resolved with the return value of the first promise's fulfillment
|
|
1012
|
+
or rejection handler, or rejected if the handler throws an exception.
|
|
1013
|
+
```js
|
|
1014
|
+
findUser().then(function (user) {
|
|
1015
|
+
return user.name;
|
|
1016
|
+
}, function (reason) {
|
|
1017
|
+
return 'default name';
|
|
1018
|
+
}).then(function (userName) {
|
|
1019
|
+
// If `findUser` fulfilled, `userName` will be the user's name, otherwise it
|
|
1020
|
+
// will be `'default name'`
|
|
1021
|
+
});
|
|
1022
|
+
findUser().then(function (user) {
|
|
1023
|
+
throw new Error('Found user, but still unhappy');
|
|
1024
|
+
}, function (reason) {
|
|
1025
|
+
throw new Error('`findUser` rejected and we're unhappy');
|
|
1026
|
+
}).then(function (value) {
|
|
1027
|
+
// never reached
|
|
1028
|
+
}, function (reason) {
|
|
1029
|
+
// if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.
|
|
1030
|
+
// If `findUser` rejected, `reason` will be '`findUser` rejected and we're unhappy'.
|
|
1031
|
+
});
|
|
1032
|
+
```
|
|
1033
|
+
If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.
|
|
1034
|
+
```js
|
|
1035
|
+
findUser().then(function (user) {
|
|
1036
|
+
throw new PedagogicalException('Upstream error');
|
|
1037
|
+
}).then(function (value) {
|
|
1038
|
+
// never reached
|
|
1039
|
+
}).then(function (value) {
|
|
1040
|
+
// never reached
|
|
1041
|
+
}, function (reason) {
|
|
1042
|
+
// The `PedgagocialException` is propagated all the way down to here
|
|
1043
|
+
});
|
|
1044
|
+
```
|
|
1045
|
+
Assimilation
|
|
1046
|
+
------------
|
|
1047
|
+
Sometimes the value you want to propagate to a downstream promise can only be
|
|
1048
|
+
retrieved asynchronously. This can be achieved by returning a promise in the
|
|
1049
|
+
fulfillment or rejection handler. The downstream promise will then be pending
|
|
1050
|
+
until the returned promise is settled. This is called *assimilation*.
|
|
1051
|
+
```js
|
|
1052
|
+
findUser().then(function (user) {
|
|
1053
|
+
return findCommentsByAuthor(user);
|
|
1054
|
+
}).then(function (comments) {
|
|
1055
|
+
// The user's comments are now available
|
|
1056
|
+
});
|
|
1057
|
+
```
|
|
1058
|
+
If the assimliated promise rejects, then the downstream promise will also reject.
|
|
1059
|
+
```js
|
|
1060
|
+
findUser().then(function (user) {
|
|
1061
|
+
return findCommentsByAuthor(user);
|
|
1062
|
+
}).then(function (comments) {
|
|
1063
|
+
// If `findCommentsByAuthor` fulfills, we'll have the value here
|
|
1064
|
+
}, function (reason) {
|
|
1065
|
+
// If `findCommentsByAuthor` rejects, we'll have the reason here
|
|
1066
|
+
});
|
|
1067
|
+
```
|
|
1068
|
+
Simple Example
|
|
1069
|
+
--------------
|
|
1070
|
+
Synchronous Example
|
|
1071
|
+
```javascript
|
|
1072
|
+
let result;
|
|
1073
|
+
try {
|
|
1074
|
+
result = findResult();
|
|
1075
|
+
// success
|
|
1076
|
+
} catch(reason) {
|
|
1077
|
+
// failure
|
|
1078
|
+
}
|
|
1079
|
+
```
|
|
1080
|
+
Errback Example
|
|
1081
|
+
```js
|
|
1082
|
+
findResult(function(result, err){
|
|
1083
|
+
if (err) {
|
|
1084
|
+
// failure
|
|
1085
|
+
} else {
|
|
1086
|
+
// success
|
|
1087
|
+
}
|
|
1088
|
+
});
|
|
1089
|
+
```
|
|
1090
|
+
Promise Example;
|
|
1091
|
+
```javascript
|
|
1092
|
+
findResult().then(function(result){
|
|
1093
|
+
// success
|
|
1094
|
+
}, function(reason){
|
|
1095
|
+
// failure
|
|
1096
|
+
});
|
|
1097
|
+
```
|
|
1098
|
+
Advanced Example
|
|
1099
|
+
--------------
|
|
1100
|
+
Synchronous Example
|
|
1101
|
+
```javascript
|
|
1102
|
+
let author, books;
|
|
1103
|
+
try {
|
|
1104
|
+
author = findAuthor();
|
|
1105
|
+
books = findBooksByAuthor(author);
|
|
1106
|
+
// success
|
|
1107
|
+
} catch(reason) {
|
|
1108
|
+
// failure
|
|
1109
|
+
}
|
|
1110
|
+
```
|
|
1111
|
+
Errback Example
|
|
1112
|
+
```js
|
|
1113
|
+
function foundBooks(books) {
|
|
1114
|
+
}
|
|
1115
|
+
function failure(reason) {
|
|
1116
|
+
}
|
|
1117
|
+
findAuthor(function(author, err){
|
|
1118
|
+
if (err) {
|
|
1119
|
+
failure(err);
|
|
1120
|
+
// failure
|
|
1121
|
+
} else {
|
|
1122
|
+
try {
|
|
1123
|
+
findBoooksByAuthor(author, function(books, err) {
|
|
1124
|
+
if (err) {
|
|
1125
|
+
failure(err);
|
|
1126
|
+
} else {
|
|
1127
|
+
try {
|
|
1128
|
+
foundBooks(books);
|
|
1129
|
+
} catch(reason) {
|
|
1130
|
+
failure(reason);
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1134
|
+
} catch(error) {
|
|
1135
|
+
failure(err);
|
|
1136
|
+
}
|
|
1137
|
+
// success
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
```
|
|
1141
|
+
Promise Example;
|
|
1142
|
+
```javascript
|
|
1143
|
+
findAuthor().
|
|
1144
|
+
then(findBooksByAuthor).
|
|
1145
|
+
then(function(books){
|
|
1146
|
+
// found books
|
|
1147
|
+
}).catch(function(reason){
|
|
1148
|
+
// something went wrong
|
|
1149
|
+
});
|
|
1150
|
+
```
|
|
1151
|
+
@method then
|
|
1152
|
+
@param {Function} onFulfilled
|
|
1153
|
+
@param {Function} onRejected
|
|
1154
|
+
Useful for tooling.
|
|
1155
|
+
@return {Promise}
|
|
1156
|
+
*/
|
|
1157
|
+
/**
|
|
1158
|
+
`catch` is simply sugar for `then(undefined, onRejection)` which makes it the same
|
|
1159
|
+
as the catch block of a try/catch statement.
|
|
1160
|
+
```js
|
|
1161
|
+
function findAuthor(){
|
|
1162
|
+
throw new Error('couldn't find that author');
|
|
1163
|
+
}
|
|
1164
|
+
// synchronous
|
|
1165
|
+
try {
|
|
1166
|
+
findAuthor();
|
|
1167
|
+
} catch(reason) {
|
|
1168
|
+
// something went wrong
|
|
1169
|
+
}
|
|
1170
|
+
// async with promises
|
|
1171
|
+
findAuthor().catch(function(reason){
|
|
1172
|
+
// something went wrong
|
|
1173
|
+
});
|
|
1174
|
+
```
|
|
1175
|
+
@method catch
|
|
1176
|
+
@param {Function} onRejection
|
|
1177
|
+
Useful for tooling.
|
|
1178
|
+
@return {Promise}
|
|
1179
|
+
*/
|
|
1180
|
+
Promise.prototype.catch = function _catch(onRejection) {
|
|
1181
|
+
return this.then(null, onRejection);
|
|
1182
|
+
};
|
|
1183
|
+
/**
|
|
1184
|
+
`finally` will be invoked regardless of the promise's fate just as native
|
|
1185
|
+
try/catch/finally behaves
|
|
1186
|
+
|
|
1187
|
+
Synchronous example:
|
|
1188
|
+
|
|
1189
|
+
```js
|
|
1190
|
+
findAuthor() {
|
|
1191
|
+
if (Math.random() > 0.5) {
|
|
1192
|
+
throw new Error();
|
|
1193
|
+
}
|
|
1194
|
+
return new Author();
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
try {
|
|
1198
|
+
return findAuthor(); // succeed or fail
|
|
1199
|
+
} catch(error) {
|
|
1200
|
+
return findOtherAuther();
|
|
1201
|
+
} finally {
|
|
1202
|
+
// always runs
|
|
1203
|
+
// doesn't affect the return value
|
|
1204
|
+
}
|
|
1205
|
+
```
|
|
1206
|
+
|
|
1207
|
+
Asynchronous example:
|
|
1208
|
+
|
|
1209
|
+
```js
|
|
1210
|
+
findAuthor().catch(function(reason){
|
|
1211
|
+
return findOtherAuther();
|
|
1212
|
+
}).finally(function(){
|
|
1213
|
+
// author was either found, or not
|
|
1214
|
+
});
|
|
1215
|
+
```
|
|
1216
|
+
|
|
1217
|
+
@method finally
|
|
1218
|
+
@param {Function} callback
|
|
1219
|
+
@return {Promise}
|
|
1220
|
+
*/
|
|
1221
|
+
Promise.prototype.finally = function _finally(callback) {
|
|
1222
|
+
var promise = this;
|
|
1223
|
+
var constructor = promise.constructor;
|
|
1224
|
+
if (isFunction(callback)) {
|
|
1225
|
+
return promise.then(function (value) {
|
|
1226
|
+
return constructor.resolve(callback()).then(function () {
|
|
1227
|
+
return value;
|
|
1228
|
+
});
|
|
1229
|
+
}, function (reason) {
|
|
1230
|
+
return constructor.resolve(callback()).then(function () {
|
|
1231
|
+
throw reason;
|
|
1232
|
+
});
|
|
1233
|
+
});
|
|
1234
|
+
}
|
|
1235
|
+
return promise.then(callback, callback);
|
|
1236
|
+
};
|
|
1237
|
+
return Promise;
|
|
1238
|
+
}();
|
|
1239
|
+
Promise$1.prototype.then = then;
|
|
1240
|
+
Promise$1.all = all;
|
|
1241
|
+
Promise$1.race = race;
|
|
1242
|
+
Promise$1.resolve = resolve$1;
|
|
1243
|
+
Promise$1.reject = reject$1;
|
|
1244
|
+
Promise$1._setScheduler = setScheduler;
|
|
1245
|
+
Promise$1._setAsap = setAsap;
|
|
1246
|
+
Promise$1._asap = asap;
|
|
1247
|
+
/*global self*/
|
|
1248
|
+
function polyfill() {
|
|
1249
|
+
var local = void 0;
|
|
1250
|
+
if (typeof __webpack_require__.g !== 'undefined') {
|
|
1251
|
+
local = __webpack_require__.g;
|
|
1252
|
+
}
|
|
1253
|
+
else if (typeof self !== 'undefined') {
|
|
1254
|
+
local = self;
|
|
1255
|
+
}
|
|
1256
|
+
else {
|
|
1257
|
+
try {
|
|
1258
|
+
local = Function('return this')();
|
|
1259
|
+
}
|
|
1260
|
+
catch (e) {
|
|
1261
|
+
throw new Error('polyfill failed because global object is unavailable in this environment');
|
|
1262
|
+
}
|
|
1263
|
+
}
|
|
1264
|
+
var P = local.Promise;
|
|
1265
|
+
if (P) {
|
|
1266
|
+
var promiseToString = null;
|
|
1267
|
+
try {
|
|
1268
|
+
promiseToString = Object.prototype.toString.call(P.resolve());
|
|
1269
|
+
}
|
|
1270
|
+
catch (e) {
|
|
1271
|
+
// silently ignored
|
|
1272
|
+
}
|
|
1273
|
+
if (promiseToString === '[object Promise]' && !P.cast) {
|
|
1274
|
+
return;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
local.Promise = Promise$1;
|
|
1278
|
+
}
|
|
1279
|
+
// Strange compat..
|
|
1280
|
+
Promise$1.polyfill = polyfill;
|
|
1281
|
+
Promise$1.Promise = Promise$1;
|
|
1282
|
+
return Promise$1;
|
|
1283
|
+
})));
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
/***/ }),
|
|
1288
|
+
|
|
1289
|
+
/***/ 64707:
|
|
1290
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
__webpack_require__(49445);
|
|
1294
|
+
var entryUnbind = __webpack_require__(40532);
|
|
1295
|
+
module.exports = entryUnbind('Array', 'findIndex');
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/***/ }),
|
|
1299
|
+
|
|
1300
|
+
/***/ 7513:
|
|
1301
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
__webpack_require__(95491);
|
|
1305
|
+
__webpack_require__(69507);
|
|
1306
|
+
var path = __webpack_require__(21504);
|
|
1307
|
+
module.exports = path.Array.from;
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
/***/ }),
|
|
1311
|
+
|
|
1312
|
+
/***/ 29368:
|
|
1313
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
__webpack_require__(92059);
|
|
1317
|
+
__webpack_require__(7222);
|
|
1318
|
+
__webpack_require__(88598);
|
|
1319
|
+
__webpack_require__(10695);
|
|
1320
|
+
__webpack_require__(62630);
|
|
1321
|
+
__webpack_require__(4282);
|
|
1322
|
+
__webpack_require__(38163);
|
|
1323
|
+
__webpack_require__(86912);
|
|
1324
|
+
__webpack_require__(1957);
|
|
1325
|
+
__webpack_require__(94811);
|
|
1326
|
+
__webpack_require__(89580);
|
|
1327
|
+
__webpack_require__(40582);
|
|
1328
|
+
__webpack_require__(80294);
|
|
1329
|
+
__webpack_require__(19644);
|
|
1330
|
+
__webpack_require__(28619);
|
|
1331
|
+
__webpack_require__(76880);
|
|
1332
|
+
__webpack_require__(9163);
|
|
1333
|
+
__webpack_require__(57914);
|
|
1334
|
+
__webpack_require__(20926);
|
|
1335
|
+
__webpack_require__(83775);
|
|
1336
|
+
var path = __webpack_require__(21504);
|
|
1337
|
+
module.exports = path.Symbol;
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
/***/ }),
|
|
1341
|
+
|
|
1342
|
+
/***/ 49649:
|
|
1343
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
var isCallable = __webpack_require__(55468);
|
|
1347
|
+
var tryToString = __webpack_require__(5174);
|
|
1348
|
+
var $TypeError = TypeError;
|
|
1349
|
+
// `Assert: IsCallable(argument) is true`
|
|
1350
|
+
module.exports = function (argument) {
|
|
1351
|
+
if (isCallable(argument))
|
|
1352
|
+
return argument;
|
|
1353
|
+
throw new $TypeError(tryToString(argument) + ' is not a function');
|
|
1354
|
+
};
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
/***/ }),
|
|
1358
|
+
|
|
1359
|
+
/***/ 23785:
|
|
1360
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
var isPossiblePrototype = __webpack_require__(84200);
|
|
1364
|
+
var $String = String;
|
|
1365
|
+
var $TypeError = TypeError;
|
|
1366
|
+
module.exports = function (argument) {
|
|
1367
|
+
if (isPossiblePrototype(argument))
|
|
1368
|
+
return argument;
|
|
1369
|
+
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
/***/ }),
|
|
1374
|
+
|
|
1375
|
+
/***/ 1922:
|
|
1376
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
1380
|
+
var create = __webpack_require__(52713);
|
|
1381
|
+
var defineProperty = (__webpack_require__(11154).f);
|
|
1382
|
+
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
1383
|
+
var ArrayPrototype = Array.prototype;
|
|
1384
|
+
// Array.prototype[@@unscopables]
|
|
1385
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1386
|
+
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1387
|
+
defineProperty(ArrayPrototype, UNSCOPABLES, {
|
|
1388
|
+
configurable: true,
|
|
1389
|
+
value: create(null)
|
|
1390
|
+
});
|
|
1391
|
+
}
|
|
1392
|
+
// add a key to Array.prototype[@@unscopables]
|
|
1393
|
+
module.exports = function (key) {
|
|
1394
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1395
|
+
};
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
/***/ }),
|
|
1399
|
+
|
|
1400
|
+
/***/ 79002:
|
|
1401
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
var isObject = __webpack_require__(56063);
|
|
1405
|
+
var $String = String;
|
|
1406
|
+
var $TypeError = TypeError;
|
|
1407
|
+
// `Assert: Type(argument) is Object`
|
|
1408
|
+
module.exports = function (argument) {
|
|
1409
|
+
if (isObject(argument))
|
|
1410
|
+
return argument;
|
|
1411
|
+
throw new $TypeError($String(argument) + ' is not an object');
|
|
1412
|
+
};
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
/***/ }),
|
|
1416
|
+
|
|
1417
|
+
/***/ 91531:
|
|
1418
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
var bind = __webpack_require__(69661);
|
|
1422
|
+
var call = __webpack_require__(31944);
|
|
1423
|
+
var toObject = __webpack_require__(58860);
|
|
1424
|
+
var callWithSafeIterationClosing = __webpack_require__(23756);
|
|
1425
|
+
var isArrayIteratorMethod = __webpack_require__(96242);
|
|
1426
|
+
var isConstructor = __webpack_require__(38018);
|
|
1427
|
+
var lengthOfArrayLike = __webpack_require__(2701);
|
|
1428
|
+
var createProperty = __webpack_require__(44849);
|
|
1429
|
+
var getIterator = __webpack_require__(50318);
|
|
1430
|
+
var getIteratorMethod = __webpack_require__(38994);
|
|
1431
|
+
var $Array = Array;
|
|
1432
|
+
// `Array.from` method implementation
|
|
1433
|
+
// https://tc39.es/ecma262/#sec-array.from
|
|
1434
|
+
module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
|
|
1435
|
+
var O = toObject(arrayLike);
|
|
1436
|
+
var IS_CONSTRUCTOR = isConstructor(this);
|
|
1437
|
+
var argumentsLength = arguments.length;
|
|
1438
|
+
var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
|
|
1439
|
+
var mapping = mapfn !== undefined;
|
|
1440
|
+
if (mapping)
|
|
1441
|
+
mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
|
|
1442
|
+
var iteratorMethod = getIteratorMethod(O);
|
|
1443
|
+
var index = 0;
|
|
1444
|
+
var length, result, step, iterator, next, value;
|
|
1445
|
+
// if the target is not iterable or it's an array with the default iterator - use a simple case
|
|
1446
|
+
if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
|
|
1447
|
+
result = IS_CONSTRUCTOR ? new this() : [];
|
|
1448
|
+
iterator = getIterator(O, iteratorMethod);
|
|
1449
|
+
next = iterator.next;
|
|
1450
|
+
for (; !(step = call(next, iterator)).done; index++) {
|
|
1451
|
+
value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
|
|
1452
|
+
createProperty(result, index, value);
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
else {
|
|
1456
|
+
length = lengthOfArrayLike(O);
|
|
1457
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
|
|
1458
|
+
for (; length > index; index++) {
|
|
1459
|
+
value = mapping ? mapfn(O[index], index) : O[index];
|
|
1460
|
+
createProperty(result, index, value);
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
result.length = index;
|
|
1464
|
+
return result;
|
|
1465
|
+
};
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
/***/ }),
|
|
1469
|
+
|
|
1470
|
+
/***/ 54962:
|
|
1471
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
1475
|
+
var toAbsoluteIndex = __webpack_require__(13619);
|
|
1476
|
+
var lengthOfArrayLike = __webpack_require__(2701);
|
|
1477
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
1478
|
+
var createMethod = function (IS_INCLUDES) {
|
|
1479
|
+
return function ($this, el, fromIndex) {
|
|
1480
|
+
var O = toIndexedObject($this);
|
|
1481
|
+
var length = lengthOfArrayLike(O);
|
|
1482
|
+
if (length === 0)
|
|
1483
|
+
return !IS_INCLUDES && -1;
|
|
1484
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
1485
|
+
var value;
|
|
1486
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
1487
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1488
|
+
if (IS_INCLUDES && el !== el)
|
|
1489
|
+
while (length > index) {
|
|
1490
|
+
value = O[index++];
|
|
1491
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
1492
|
+
if (value !== value)
|
|
1493
|
+
return true;
|
|
1494
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
1495
|
+
}
|
|
1496
|
+
else
|
|
1497
|
+
for (; length > index; index++) {
|
|
1498
|
+
if ((IS_INCLUDES || index in O) && O[index] === el)
|
|
1499
|
+
return IS_INCLUDES || index || 0;
|
|
1500
|
+
}
|
|
1501
|
+
return !IS_INCLUDES && -1;
|
|
1502
|
+
};
|
|
1503
|
+
};
|
|
1504
|
+
module.exports = {
|
|
1505
|
+
// `Array.prototype.includes` method
|
|
1506
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
1507
|
+
includes: createMethod(true),
|
|
1508
|
+
// `Array.prototype.indexOf` method
|
|
1509
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
1510
|
+
indexOf: createMethod(false)
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
/***/ }),
|
|
1515
|
+
|
|
1516
|
+
/***/ 84536:
|
|
1517
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
var bind = __webpack_require__(69661);
|
|
1521
|
+
var uncurryThis = __webpack_require__(84369);
|
|
1522
|
+
var IndexedObject = __webpack_require__(21072);
|
|
1523
|
+
var toObject = __webpack_require__(58860);
|
|
1524
|
+
var lengthOfArrayLike = __webpack_require__(2701);
|
|
1525
|
+
var arraySpeciesCreate = __webpack_require__(24686);
|
|
1526
|
+
var push = uncurryThis([].push);
|
|
1527
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1528
|
+
var createMethod = function (TYPE) {
|
|
1529
|
+
var IS_MAP = TYPE === 1;
|
|
1530
|
+
var IS_FILTER = TYPE === 2;
|
|
1531
|
+
var IS_SOME = TYPE === 3;
|
|
1532
|
+
var IS_EVERY = TYPE === 4;
|
|
1533
|
+
var IS_FIND_INDEX = TYPE === 6;
|
|
1534
|
+
var IS_FILTER_REJECT = TYPE === 7;
|
|
1535
|
+
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
|
|
1536
|
+
return function ($this, callbackfn, that, specificCreate) {
|
|
1537
|
+
var O = toObject($this);
|
|
1538
|
+
var self = IndexedObject(O);
|
|
1539
|
+
var length = lengthOfArrayLike(self);
|
|
1540
|
+
var boundFunction = bind(callbackfn, that);
|
|
1541
|
+
var index = 0;
|
|
1542
|
+
var create = specificCreate || arraySpeciesCreate;
|
|
1543
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
1544
|
+
var value, result;
|
|
1545
|
+
for (; length > index; index++)
|
|
1546
|
+
if (NO_HOLES || index in self) {
|
|
1547
|
+
value = self[index];
|
|
1548
|
+
result = boundFunction(value, index, O);
|
|
1549
|
+
if (TYPE) {
|
|
1550
|
+
if (IS_MAP)
|
|
1551
|
+
target[index] = result; // map
|
|
1552
|
+
else if (result)
|
|
1553
|
+
switch (TYPE) {
|
|
1554
|
+
case 3: return true; // some
|
|
1555
|
+
case 5: return value; // find
|
|
1556
|
+
case 6: return index; // findIndex
|
|
1557
|
+
case 2: push(target, value); // filter
|
|
1558
|
+
}
|
|
1559
|
+
else
|
|
1560
|
+
switch (TYPE) {
|
|
1561
|
+
case 4: return false; // every
|
|
1562
|
+
case 7: push(target, value); // filterReject
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1566
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
module.exports = {
|
|
1570
|
+
// `Array.prototype.forEach` method
|
|
1571
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1572
|
+
forEach: createMethod(0),
|
|
1573
|
+
// `Array.prototype.map` method
|
|
1574
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1575
|
+
map: createMethod(1),
|
|
1576
|
+
// `Array.prototype.filter` method
|
|
1577
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1578
|
+
filter: createMethod(2),
|
|
1579
|
+
// `Array.prototype.some` method
|
|
1580
|
+
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
1581
|
+
some: createMethod(3),
|
|
1582
|
+
// `Array.prototype.every` method
|
|
1583
|
+
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
1584
|
+
every: createMethod(4),
|
|
1585
|
+
// `Array.prototype.find` method
|
|
1586
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1587
|
+
find: createMethod(5),
|
|
1588
|
+
// `Array.prototype.findIndex` method
|
|
1589
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
1590
|
+
findIndex: createMethod(6),
|
|
1591
|
+
// `Array.prototype.filterReject` method
|
|
1592
|
+
// https://github.com/tc39/proposal-array-filtering
|
|
1593
|
+
filterReject: createMethod(7)
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
/***/ }),
|
|
1598
|
+
|
|
1599
|
+
/***/ 16074:
|
|
1600
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1601
|
+
|
|
1602
|
+
|
|
1603
|
+
var fails = __webpack_require__(11794);
|
|
1604
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
1605
|
+
var V8_VERSION = __webpack_require__(9696);
|
|
1606
|
+
var SPECIES = wellKnownSymbol('species');
|
|
1607
|
+
module.exports = function (METHOD_NAME) {
|
|
1608
|
+
// We can't use this feature detection in V8 since it causes
|
|
1609
|
+
// deoptimization and serious performance degradation
|
|
1610
|
+
// https://github.com/zloirock/core-js/issues/677
|
|
1611
|
+
return V8_VERSION >= 51 || !fails(function () {
|
|
1612
|
+
var array = [];
|
|
1613
|
+
var constructor = array.constructor = {};
|
|
1614
|
+
constructor[SPECIES] = function () {
|
|
1615
|
+
return { foo: 1 };
|
|
1616
|
+
};
|
|
1617
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
1618
|
+
});
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
/***/ }),
|
|
1623
|
+
|
|
1624
|
+
/***/ 85457:
|
|
1625
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1626
|
+
|
|
1627
|
+
|
|
1628
|
+
var uncurryThis = __webpack_require__(84369);
|
|
1629
|
+
module.exports = uncurryThis([].slice);
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
/***/ }),
|
|
1633
|
+
|
|
1634
|
+
/***/ 85148:
|
|
1635
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
var isArray = __webpack_require__(96127);
|
|
1639
|
+
var isConstructor = __webpack_require__(38018);
|
|
1640
|
+
var isObject = __webpack_require__(56063);
|
|
1641
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
1642
|
+
var SPECIES = wellKnownSymbol('species');
|
|
1643
|
+
var $Array = Array;
|
|
1644
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
1645
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1646
|
+
module.exports = function (originalArray) {
|
|
1647
|
+
var C;
|
|
1648
|
+
if (isArray(originalArray)) {
|
|
1649
|
+
C = originalArray.constructor;
|
|
1650
|
+
// cross-realm fallback
|
|
1651
|
+
if (isConstructor(C) && (C === $Array || isArray(C.prototype)))
|
|
1652
|
+
C = undefined;
|
|
1653
|
+
else if (isObject(C)) {
|
|
1654
|
+
C = C[SPECIES];
|
|
1655
|
+
if (C === null)
|
|
1656
|
+
C = undefined;
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
return C === undefined ? $Array : C;
|
|
1660
|
+
};
|
|
1661
|
+
|
|
1662
|
+
|
|
1663
|
+
/***/ }),
|
|
1664
|
+
|
|
1665
|
+
/***/ 24686:
|
|
1666
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
var arraySpeciesConstructor = __webpack_require__(85148);
|
|
1670
|
+
// `ArraySpeciesCreate` abstract operation
|
|
1671
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1672
|
+
module.exports = function (originalArray, length) {
|
|
1673
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1674
|
+
};
|
|
1675
|
+
|
|
1676
|
+
|
|
1677
|
+
/***/ }),
|
|
1678
|
+
|
|
1679
|
+
/***/ 23756:
|
|
1680
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
var anObject = __webpack_require__(79002);
|
|
1684
|
+
var iteratorClose = __webpack_require__(62004);
|
|
1685
|
+
// call something on iterator step with safe closing on error
|
|
1686
|
+
module.exports = function (iterator, fn, value, ENTRIES) {
|
|
1687
|
+
try {
|
|
1688
|
+
return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);
|
|
1689
|
+
}
|
|
1690
|
+
catch (error) {
|
|
1691
|
+
iteratorClose(iterator, 'throw', error);
|
|
1692
|
+
}
|
|
1693
|
+
};
|
|
1694
|
+
|
|
1695
|
+
|
|
1696
|
+
/***/ }),
|
|
1697
|
+
|
|
1698
|
+
/***/ 60947:
|
|
1699
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
1703
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
1704
|
+
var SAFE_CLOSING = false;
|
|
1705
|
+
try {
|
|
1706
|
+
var called = 0;
|
|
1707
|
+
var iteratorWithReturn = {
|
|
1708
|
+
next: function () {
|
|
1709
|
+
return { done: !!called++ };
|
|
1710
|
+
},
|
|
1711
|
+
'return': function () {
|
|
1712
|
+
SAFE_CLOSING = true;
|
|
1713
|
+
}
|
|
1714
|
+
};
|
|
1715
|
+
iteratorWithReturn[ITERATOR] = function () {
|
|
1716
|
+
return this;
|
|
1717
|
+
};
|
|
1718
|
+
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
1719
|
+
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
1720
|
+
}
|
|
1721
|
+
catch (error) { /* empty */ }
|
|
1722
|
+
module.exports = function (exec, SKIP_CLOSING) {
|
|
1723
|
+
try {
|
|
1724
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING)
|
|
1725
|
+
return false;
|
|
1726
|
+
}
|
|
1727
|
+
catch (error) {
|
|
1728
|
+
return false;
|
|
1729
|
+
} // workaround of old WebKit + `eval` bug
|
|
1730
|
+
var ITERATION_SUPPORT = false;
|
|
1731
|
+
try {
|
|
1732
|
+
var object = {};
|
|
1733
|
+
object[ITERATOR] = function () {
|
|
1734
|
+
return {
|
|
1735
|
+
next: function () {
|
|
1736
|
+
return { done: ITERATION_SUPPORT = true };
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
exec(object);
|
|
1741
|
+
}
|
|
1742
|
+
catch (error) { /* empty */ }
|
|
1743
|
+
return ITERATION_SUPPORT;
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
|
|
1747
|
+
/***/ }),
|
|
1748
|
+
|
|
1749
|
+
/***/ 96321:
|
|
1750
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
var uncurryThis = __webpack_require__(84369);
|
|
1754
|
+
var toString = uncurryThis({}.toString);
|
|
1755
|
+
var stringSlice = uncurryThis(''.slice);
|
|
1756
|
+
module.exports = function (it) {
|
|
1757
|
+
return stringSlice(toString(it), 8, -1);
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
/***/ }),
|
|
1762
|
+
|
|
1763
|
+
/***/ 12318:
|
|
1764
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
var TO_STRING_TAG_SUPPORT = __webpack_require__(46833);
|
|
1768
|
+
var isCallable = __webpack_require__(55468);
|
|
1769
|
+
var classofRaw = __webpack_require__(96321);
|
|
1770
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
1771
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
1772
|
+
var $Object = Object;
|
|
1773
|
+
// ES3 wrong here
|
|
1774
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1775
|
+
// fallback for IE11 Script Access Denied error
|
|
1776
|
+
var tryGet = function (it, key) {
|
|
1777
|
+
try {
|
|
1778
|
+
return it[key];
|
|
1779
|
+
}
|
|
1780
|
+
catch (error) { /* empty */ }
|
|
1781
|
+
};
|
|
1782
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1783
|
+
module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1784
|
+
var O, tag, result;
|
|
1785
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1786
|
+
// @@toStringTag case
|
|
1787
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1788
|
+
// builtinTag case
|
|
1789
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1790
|
+
// ES3 arguments fallback
|
|
1791
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
1792
|
+
};
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
/***/ }),
|
|
1796
|
+
|
|
1797
|
+
/***/ 79041:
|
|
1798
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
var hasOwn = __webpack_require__(58898);
|
|
1802
|
+
var ownKeys = __webpack_require__(42576);
|
|
1803
|
+
var getOwnPropertyDescriptorModule = __webpack_require__(34072);
|
|
1804
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
1805
|
+
module.exports = function (target, source, exceptions) {
|
|
1806
|
+
var keys = ownKeys(source);
|
|
1807
|
+
var defineProperty = definePropertyModule.f;
|
|
1808
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1809
|
+
for (var i = 0; i < keys.length; i++) {
|
|
1810
|
+
var key = keys[i];
|
|
1811
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
1812
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1813
|
+
}
|
|
1814
|
+
}
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
/***/ }),
|
|
1819
|
+
|
|
1820
|
+
/***/ 18776:
|
|
1821
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
var fails = __webpack_require__(11794);
|
|
1825
|
+
module.exports = !fails(function () {
|
|
1826
|
+
function F() { }
|
|
1827
|
+
F.prototype.constructor = null;
|
|
1828
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1829
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1830
|
+
});
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
/***/ }),
|
|
1834
|
+
|
|
1835
|
+
/***/ 11392:
|
|
1836
|
+
/***/ (function(module) {
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
// `CreateIterResultObject` abstract operation
|
|
1840
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1841
|
+
module.exports = function (value, done) {
|
|
1842
|
+
return { value: value, done: done };
|
|
1843
|
+
};
|
|
1844
|
+
|
|
1845
|
+
|
|
1846
|
+
/***/ }),
|
|
1847
|
+
|
|
1848
|
+
/***/ 41752:
|
|
1849
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
1853
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
1854
|
+
var createPropertyDescriptor = __webpack_require__(72787);
|
|
1855
|
+
module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
1856
|
+
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
|
|
1857
|
+
} : function (object, key, value) {
|
|
1858
|
+
object[key] = value;
|
|
1859
|
+
return object;
|
|
1860
|
+
};
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
/***/ }),
|
|
1864
|
+
|
|
1865
|
+
/***/ 72787:
|
|
1866
|
+
/***/ (function(module) {
|
|
1867
|
+
|
|
1868
|
+
|
|
1869
|
+
module.exports = function (bitmap, value) {
|
|
1870
|
+
return {
|
|
1871
|
+
enumerable: !(bitmap & 1),
|
|
1872
|
+
configurable: !(bitmap & 2),
|
|
1873
|
+
writable: !(bitmap & 4),
|
|
1874
|
+
value: value
|
|
1875
|
+
};
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
/***/ }),
|
|
1880
|
+
|
|
1881
|
+
/***/ 44849:
|
|
1882
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
1886
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
1887
|
+
var createPropertyDescriptor = __webpack_require__(72787);
|
|
1888
|
+
module.exports = function (object, key, value) {
|
|
1889
|
+
if (DESCRIPTORS)
|
|
1890
|
+
definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
1891
|
+
else
|
|
1892
|
+
object[key] = value;
|
|
1893
|
+
};
|
|
1894
|
+
|
|
1895
|
+
|
|
1896
|
+
/***/ }),
|
|
1897
|
+
|
|
1898
|
+
/***/ 79093:
|
|
1899
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
var makeBuiltIn = __webpack_require__(66530);
|
|
1903
|
+
var defineProperty = __webpack_require__(11154);
|
|
1904
|
+
module.exports = function (target, name, descriptor) {
|
|
1905
|
+
if (descriptor.get)
|
|
1906
|
+
makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1907
|
+
if (descriptor.set)
|
|
1908
|
+
makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1909
|
+
return defineProperty.f(target, name, descriptor);
|
|
1910
|
+
};
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
/***/ }),
|
|
1914
|
+
|
|
1915
|
+
/***/ 47941:
|
|
1916
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1917
|
+
|
|
1918
|
+
|
|
1919
|
+
var isCallable = __webpack_require__(55468);
|
|
1920
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
1921
|
+
var makeBuiltIn = __webpack_require__(66530);
|
|
1922
|
+
var defineGlobalProperty = __webpack_require__(61486);
|
|
1923
|
+
module.exports = function (O, key, value, options) {
|
|
1924
|
+
if (!options)
|
|
1925
|
+
options = {};
|
|
1926
|
+
var simple = options.enumerable;
|
|
1927
|
+
var name = options.name !== undefined ? options.name : key;
|
|
1928
|
+
if (isCallable(value))
|
|
1929
|
+
makeBuiltIn(value, name, options);
|
|
1930
|
+
if (options.global) {
|
|
1931
|
+
if (simple)
|
|
1932
|
+
O[key] = value;
|
|
1933
|
+
else
|
|
1934
|
+
defineGlobalProperty(key, value);
|
|
1935
|
+
}
|
|
1936
|
+
else {
|
|
1937
|
+
try {
|
|
1938
|
+
if (!options.unsafe)
|
|
1939
|
+
delete O[key];
|
|
1940
|
+
else if (O[key])
|
|
1941
|
+
simple = true;
|
|
1942
|
+
}
|
|
1943
|
+
catch (error) { /* empty */ }
|
|
1944
|
+
if (simple)
|
|
1945
|
+
O[key] = value;
|
|
1946
|
+
else
|
|
1947
|
+
definePropertyModule.f(O, key, {
|
|
1948
|
+
value: value,
|
|
1949
|
+
enumerable: false,
|
|
1950
|
+
configurable: !options.nonConfigurable,
|
|
1951
|
+
writable: !options.nonWritable
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
return O;
|
|
1955
|
+
};
|
|
1956
|
+
|
|
1957
|
+
|
|
1958
|
+
/***/ }),
|
|
1959
|
+
|
|
1960
|
+
/***/ 61486:
|
|
1961
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
var globalThis = __webpack_require__(36749);
|
|
1965
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1966
|
+
var defineProperty = Object.defineProperty;
|
|
1967
|
+
module.exports = function (key, value) {
|
|
1968
|
+
try {
|
|
1969
|
+
defineProperty(globalThis, key, { value: value, configurable: true, writable: true });
|
|
1970
|
+
}
|
|
1971
|
+
catch (error) {
|
|
1972
|
+
globalThis[key] = value;
|
|
1973
|
+
}
|
|
1974
|
+
return value;
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
/***/ }),
|
|
1979
|
+
|
|
1980
|
+
/***/ 54525:
|
|
1981
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
|
+
var fails = __webpack_require__(11794);
|
|
1985
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
1986
|
+
module.exports = !fails(function () {
|
|
1987
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1988
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
1989
|
+
});
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
/***/ }),
|
|
1993
|
+
|
|
1994
|
+
/***/ 33350:
|
|
1995
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
var globalThis = __webpack_require__(36749);
|
|
1999
|
+
var isObject = __webpack_require__(56063);
|
|
2000
|
+
var document = globalThis.document;
|
|
2001
|
+
// typeof document.createElement is 'object' in old IE
|
|
2002
|
+
var EXISTS = isObject(document) && isObject(document.createElement);
|
|
2003
|
+
module.exports = function (it) {
|
|
2004
|
+
return EXISTS ? document.createElement(it) : {};
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
|
|
2008
|
+
/***/ }),
|
|
2009
|
+
|
|
2010
|
+
/***/ 74098:
|
|
2011
|
+
/***/ (function(module) {
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
var $TypeError = TypeError;
|
|
2015
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
|
|
2016
|
+
module.exports = function (it) {
|
|
2017
|
+
if (it > MAX_SAFE_INTEGER)
|
|
2018
|
+
throw $TypeError('Maximum allowed index exceeded');
|
|
2019
|
+
return it;
|
|
2020
|
+
};
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
/***/ }),
|
|
2024
|
+
|
|
2025
|
+
/***/ 40532:
|
|
2026
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
var globalThis = __webpack_require__(36749);
|
|
2030
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2031
|
+
module.exports = function (CONSTRUCTOR, METHOD) {
|
|
2032
|
+
return uncurryThis(globalThis[CONSTRUCTOR].prototype[METHOD]);
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
/***/ }),
|
|
2037
|
+
|
|
2038
|
+
/***/ 36922:
|
|
2039
|
+
/***/ (function(module) {
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
// IE8- don't enum bug keys
|
|
2043
|
+
module.exports = [
|
|
2044
|
+
'constructor',
|
|
2045
|
+
'hasOwnProperty',
|
|
2046
|
+
'isPrototypeOf',
|
|
2047
|
+
'propertyIsEnumerable',
|
|
2048
|
+
'toLocaleString',
|
|
2049
|
+
'toString',
|
|
2050
|
+
'valueOf'
|
|
2051
|
+
];
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
/***/ }),
|
|
2055
|
+
|
|
2056
|
+
/***/ 61100:
|
|
2057
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2058
|
+
|
|
2059
|
+
|
|
2060
|
+
var globalThis = __webpack_require__(36749);
|
|
2061
|
+
var navigator = globalThis.navigator;
|
|
2062
|
+
var userAgent = navigator && navigator.userAgent;
|
|
2063
|
+
module.exports = userAgent ? String(userAgent) : '';
|
|
2064
|
+
|
|
2065
|
+
|
|
2066
|
+
/***/ }),
|
|
2067
|
+
|
|
2068
|
+
/***/ 9696:
|
|
2069
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
var globalThis = __webpack_require__(36749);
|
|
2073
|
+
var userAgent = __webpack_require__(61100);
|
|
2074
|
+
var process = globalThis.process;
|
|
2075
|
+
var Deno = globalThis.Deno;
|
|
2076
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
2077
|
+
var v8 = versions && versions.v8;
|
|
2078
|
+
var match, version;
|
|
2079
|
+
if (v8) {
|
|
2080
|
+
match = v8.split('.');
|
|
2081
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
2082
|
+
// but their correct versions are not interesting for us
|
|
2083
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
2084
|
+
}
|
|
2085
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
2086
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
2087
|
+
if (!version && userAgent) {
|
|
2088
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
2089
|
+
if (!match || match[1] >= 74) {
|
|
2090
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
2091
|
+
if (match)
|
|
2092
|
+
version = +match[1];
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
module.exports = version;
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
/***/ }),
|
|
2099
|
+
|
|
2100
|
+
/***/ 22829:
|
|
2101
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
var globalThis = __webpack_require__(36749);
|
|
2105
|
+
var getOwnPropertyDescriptor = (__webpack_require__(34072).f);
|
|
2106
|
+
var createNonEnumerableProperty = __webpack_require__(41752);
|
|
2107
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
2108
|
+
var defineGlobalProperty = __webpack_require__(61486);
|
|
2109
|
+
var copyConstructorProperties = __webpack_require__(79041);
|
|
2110
|
+
var isForced = __webpack_require__(43721);
|
|
2111
|
+
/*
|
|
2112
|
+
options.target - name of the target object
|
|
2113
|
+
options.global - target is the global object
|
|
2114
|
+
options.stat - export as static methods of target
|
|
2115
|
+
options.proto - export as prototype methods of target
|
|
2116
|
+
options.real - real prototype method for the `pure` version
|
|
2117
|
+
options.forced - export even if the native feature is available
|
|
2118
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
2119
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
2120
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
2121
|
+
options.sham - add a flag to not completely full polyfills
|
|
2122
|
+
options.enumerable - export as enumerable property
|
|
2123
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
2124
|
+
options.name - the .name of the function if it does not match the key
|
|
2125
|
+
*/
|
|
2126
|
+
module.exports = function (options, source) {
|
|
2127
|
+
var TARGET = options.target;
|
|
2128
|
+
var GLOBAL = options.global;
|
|
2129
|
+
var STATIC = options.stat;
|
|
2130
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
2131
|
+
if (GLOBAL) {
|
|
2132
|
+
target = globalThis;
|
|
2133
|
+
}
|
|
2134
|
+
else if (STATIC) {
|
|
2135
|
+
target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});
|
|
2136
|
+
}
|
|
2137
|
+
else {
|
|
2138
|
+
target = globalThis[TARGET] && globalThis[TARGET].prototype;
|
|
2139
|
+
}
|
|
2140
|
+
if (target)
|
|
2141
|
+
for (key in source) {
|
|
2142
|
+
sourceProperty = source[key];
|
|
2143
|
+
if (options.dontCallGetSet) {
|
|
2144
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
2145
|
+
targetProperty = descriptor && descriptor.value;
|
|
2146
|
+
}
|
|
2147
|
+
else
|
|
2148
|
+
targetProperty = target[key];
|
|
2149
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
2150
|
+
// contained in target
|
|
2151
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
2152
|
+
if (typeof sourceProperty == typeof targetProperty)
|
|
2153
|
+
continue;
|
|
2154
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
2155
|
+
}
|
|
2156
|
+
// add a flag to not completely full polyfills
|
|
2157
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
2158
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
2159
|
+
}
|
|
2160
|
+
defineBuiltIn(target, key, sourceProperty, options);
|
|
2161
|
+
}
|
|
2162
|
+
};
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
/***/ }),
|
|
2166
|
+
|
|
2167
|
+
/***/ 11794:
|
|
2168
|
+
/***/ (function(module) {
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
module.exports = function (exec) {
|
|
2172
|
+
try {
|
|
2173
|
+
return !!exec();
|
|
2174
|
+
}
|
|
2175
|
+
catch (error) {
|
|
2176
|
+
return true;
|
|
2177
|
+
}
|
|
2178
|
+
};
|
|
2179
|
+
|
|
2180
|
+
|
|
2181
|
+
/***/ }),
|
|
2182
|
+
|
|
2183
|
+
/***/ 14150:
|
|
2184
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
var NATIVE_BIND = __webpack_require__(38719);
|
|
2188
|
+
var FunctionPrototype = Function.prototype;
|
|
2189
|
+
var apply = FunctionPrototype.apply;
|
|
2190
|
+
var call = FunctionPrototype.call;
|
|
2191
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
2192
|
+
module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {
|
|
2193
|
+
return call.apply(apply, arguments);
|
|
2194
|
+
});
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
/***/ }),
|
|
2198
|
+
|
|
2199
|
+
/***/ 69661:
|
|
2200
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2201
|
+
|
|
2202
|
+
|
|
2203
|
+
var uncurryThis = __webpack_require__(55211);
|
|
2204
|
+
var aCallable = __webpack_require__(49649);
|
|
2205
|
+
var NATIVE_BIND = __webpack_require__(38719);
|
|
2206
|
+
var bind = uncurryThis(uncurryThis.bind);
|
|
2207
|
+
// optional / simple context binding
|
|
2208
|
+
module.exports = function (fn, that) {
|
|
2209
|
+
aCallable(fn);
|
|
2210
|
+
return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function ( /* ...args */) {
|
|
2211
|
+
return fn.apply(that, arguments);
|
|
2212
|
+
};
|
|
2213
|
+
};
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
/***/ }),
|
|
2217
|
+
|
|
2218
|
+
/***/ 38719:
|
|
2219
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2220
|
+
|
|
2221
|
+
|
|
2222
|
+
var fails = __webpack_require__(11794);
|
|
2223
|
+
module.exports = !fails(function () {
|
|
2224
|
+
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
2225
|
+
var test = (function () { }).bind();
|
|
2226
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2227
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
2228
|
+
});
|
|
2229
|
+
|
|
2230
|
+
|
|
2231
|
+
/***/ }),
|
|
2232
|
+
|
|
2233
|
+
/***/ 31944:
|
|
2234
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
var NATIVE_BIND = __webpack_require__(38719);
|
|
2238
|
+
var call = Function.prototype.call;
|
|
2239
|
+
module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
2240
|
+
return call.apply(call, arguments);
|
|
2241
|
+
};
|
|
2242
|
+
|
|
2243
|
+
|
|
2244
|
+
/***/ }),
|
|
2245
|
+
|
|
2246
|
+
/***/ 84735:
|
|
2247
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
2251
|
+
var hasOwn = __webpack_require__(58898);
|
|
2252
|
+
var FunctionPrototype = Function.prototype;
|
|
2253
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2254
|
+
var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;
|
|
2255
|
+
var EXISTS = hasOwn(FunctionPrototype, 'name');
|
|
2256
|
+
// additional protection from minified / mangled / dropped function names
|
|
2257
|
+
var PROPER = EXISTS && (function something() { }).name === 'something';
|
|
2258
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
2259
|
+
module.exports = {
|
|
2260
|
+
EXISTS: EXISTS,
|
|
2261
|
+
PROPER: PROPER,
|
|
2262
|
+
CONFIGURABLE: CONFIGURABLE
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
|
|
2266
|
+
/***/ }),
|
|
2267
|
+
|
|
2268
|
+
/***/ 24689:
|
|
2269
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2270
|
+
|
|
2271
|
+
|
|
2272
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2273
|
+
var aCallable = __webpack_require__(49649);
|
|
2274
|
+
module.exports = function (object, key, method) {
|
|
2275
|
+
try {
|
|
2276
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2277
|
+
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2278
|
+
}
|
|
2279
|
+
catch (error) { /* empty */ }
|
|
2280
|
+
};
|
|
2281
|
+
|
|
2282
|
+
|
|
2283
|
+
/***/ }),
|
|
2284
|
+
|
|
2285
|
+
/***/ 55211:
|
|
2286
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
var classofRaw = __webpack_require__(96321);
|
|
2290
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2291
|
+
module.exports = function (fn) {
|
|
2292
|
+
// Nashorn bug:
|
|
2293
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
2294
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
2295
|
+
if (classofRaw(fn) === 'Function')
|
|
2296
|
+
return uncurryThis(fn);
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
/***/ }),
|
|
2301
|
+
|
|
2302
|
+
/***/ 84369:
|
|
2303
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2304
|
+
|
|
2305
|
+
|
|
2306
|
+
var NATIVE_BIND = __webpack_require__(38719);
|
|
2307
|
+
var FunctionPrototype = Function.prototype;
|
|
2308
|
+
var call = FunctionPrototype.call;
|
|
2309
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);
|
|
2310
|
+
module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
2311
|
+
return function () {
|
|
2312
|
+
return call.apply(fn, arguments);
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
|
|
2316
|
+
|
|
2317
|
+
/***/ }),
|
|
2318
|
+
|
|
2319
|
+
/***/ 93572:
|
|
2320
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
var globalThis = __webpack_require__(36749);
|
|
2324
|
+
var isCallable = __webpack_require__(55468);
|
|
2325
|
+
var aFunction = function (argument) {
|
|
2326
|
+
return isCallable(argument) ? argument : undefined;
|
|
2327
|
+
};
|
|
2328
|
+
module.exports = function (namespace, method) {
|
|
2329
|
+
return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];
|
|
2330
|
+
};
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
/***/ }),
|
|
2334
|
+
|
|
2335
|
+
/***/ 38994:
|
|
2336
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2337
|
+
|
|
2338
|
+
|
|
2339
|
+
var classof = __webpack_require__(12318);
|
|
2340
|
+
var getMethod = __webpack_require__(17585);
|
|
2341
|
+
var isNullOrUndefined = __webpack_require__(77630);
|
|
2342
|
+
var Iterators = __webpack_require__(24396);
|
|
2343
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
2344
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
2345
|
+
module.exports = function (it) {
|
|
2346
|
+
if (!isNullOrUndefined(it))
|
|
2347
|
+
return getMethod(it, ITERATOR)
|
|
2348
|
+
|| getMethod(it, '@@iterator')
|
|
2349
|
+
|| Iterators[classof(it)];
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/***/ }),
|
|
2354
|
+
|
|
2355
|
+
/***/ 50318:
|
|
2356
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2357
|
+
|
|
2358
|
+
|
|
2359
|
+
var call = __webpack_require__(31944);
|
|
2360
|
+
var aCallable = __webpack_require__(49649);
|
|
2361
|
+
var anObject = __webpack_require__(79002);
|
|
2362
|
+
var tryToString = __webpack_require__(5174);
|
|
2363
|
+
var getIteratorMethod = __webpack_require__(38994);
|
|
2364
|
+
var $TypeError = TypeError;
|
|
2365
|
+
module.exports = function (argument, usingIterator) {
|
|
2366
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;
|
|
2367
|
+
if (aCallable(iteratorMethod))
|
|
2368
|
+
return anObject(call(iteratorMethod, argument));
|
|
2369
|
+
throw new $TypeError(tryToString(argument) + ' is not iterable');
|
|
2370
|
+
};
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/***/ }),
|
|
2374
|
+
|
|
2375
|
+
/***/ 91918:
|
|
2376
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2377
|
+
|
|
2378
|
+
|
|
2379
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2380
|
+
var isArray = __webpack_require__(96127);
|
|
2381
|
+
var isCallable = __webpack_require__(55468);
|
|
2382
|
+
var classof = __webpack_require__(96321);
|
|
2383
|
+
var toString = __webpack_require__(67850);
|
|
2384
|
+
var push = uncurryThis([].push);
|
|
2385
|
+
module.exports = function (replacer) {
|
|
2386
|
+
if (isCallable(replacer))
|
|
2387
|
+
return replacer;
|
|
2388
|
+
if (!isArray(replacer))
|
|
2389
|
+
return;
|
|
2390
|
+
var rawLength = replacer.length;
|
|
2391
|
+
var keys = [];
|
|
2392
|
+
for (var i = 0; i < rawLength; i++) {
|
|
2393
|
+
var element = replacer[i];
|
|
2394
|
+
if (typeof element == 'string')
|
|
2395
|
+
push(keys, element);
|
|
2396
|
+
else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String')
|
|
2397
|
+
push(keys, toString(element));
|
|
2398
|
+
}
|
|
2399
|
+
var keysLength = keys.length;
|
|
2400
|
+
var root = true;
|
|
2401
|
+
return function (key, value) {
|
|
2402
|
+
if (root) {
|
|
2403
|
+
root = false;
|
|
2404
|
+
return value;
|
|
2405
|
+
}
|
|
2406
|
+
if (isArray(this))
|
|
2407
|
+
return value;
|
|
2408
|
+
for (var j = 0; j < keysLength; j++)
|
|
2409
|
+
if (keys[j] === key)
|
|
2410
|
+
return value;
|
|
2411
|
+
};
|
|
2412
|
+
};
|
|
2413
|
+
|
|
2414
|
+
|
|
2415
|
+
/***/ }),
|
|
2416
|
+
|
|
2417
|
+
/***/ 17585:
|
|
2418
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
var aCallable = __webpack_require__(49649);
|
|
2422
|
+
var isNullOrUndefined = __webpack_require__(77630);
|
|
2423
|
+
// `GetMethod` abstract operation
|
|
2424
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
2425
|
+
module.exports = function (V, P) {
|
|
2426
|
+
var func = V[P];
|
|
2427
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
|
|
2431
|
+
/***/ }),
|
|
2432
|
+
|
|
2433
|
+
/***/ 36749:
|
|
2434
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
var check = function (it) {
|
|
2438
|
+
return it && it.Math === Math && it;
|
|
2439
|
+
};
|
|
2440
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
2441
|
+
module.exports =
|
|
2442
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
2443
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
2444
|
+
check(typeof window == 'object' && window) ||
|
|
2445
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
2446
|
+
check(typeof self == 'object' && self) ||
|
|
2447
|
+
check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
|
|
2448
|
+
check(typeof this == 'object' && this) ||
|
|
2449
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
2450
|
+
(function () { return this; })() || Function('return this')();
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
/***/ }),
|
|
2454
|
+
|
|
2455
|
+
/***/ 58898:
|
|
2456
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2457
|
+
|
|
2458
|
+
|
|
2459
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2460
|
+
var toObject = __webpack_require__(58860);
|
|
2461
|
+
var hasOwnProperty = uncurryThis({}.hasOwnProperty);
|
|
2462
|
+
// `HasOwnProperty` abstract operation
|
|
2463
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
2464
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
2465
|
+
module.exports = Object.hasOwn || function hasOwn(it, key) {
|
|
2466
|
+
return hasOwnProperty(toObject(it), key);
|
|
2467
|
+
};
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
/***/ }),
|
|
2471
|
+
|
|
2472
|
+
/***/ 25220:
|
|
2473
|
+
/***/ (function(module) {
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
module.exports = {};
|
|
2477
|
+
|
|
2478
|
+
|
|
2479
|
+
/***/ }),
|
|
2480
|
+
|
|
2481
|
+
/***/ 56194:
|
|
2482
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
2486
|
+
module.exports = getBuiltIn('document', 'documentElement');
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/***/ }),
|
|
2490
|
+
|
|
2491
|
+
/***/ 13126:
|
|
2492
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2493
|
+
|
|
2494
|
+
|
|
2495
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
2496
|
+
var fails = __webpack_require__(11794);
|
|
2497
|
+
var createElement = __webpack_require__(33350);
|
|
2498
|
+
// Thanks to IE8 for its funny defineProperty
|
|
2499
|
+
module.exports = !DESCRIPTORS && !fails(function () {
|
|
2500
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2501
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
2502
|
+
get: function () { return 7; }
|
|
2503
|
+
}).a !== 7;
|
|
2504
|
+
});
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
/***/ }),
|
|
2508
|
+
|
|
2509
|
+
/***/ 21072:
|
|
2510
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2514
|
+
var fails = __webpack_require__(11794);
|
|
2515
|
+
var classof = __webpack_require__(96321);
|
|
2516
|
+
var $Object = Object;
|
|
2517
|
+
var split = uncurryThis(''.split);
|
|
2518
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
2519
|
+
module.exports = fails(function () {
|
|
2520
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
2521
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
2522
|
+
return !$Object('z').propertyIsEnumerable(0);
|
|
2523
|
+
}) ? function (it) {
|
|
2524
|
+
return classof(it) === 'String' ? split(it, '') : $Object(it);
|
|
2525
|
+
} : $Object;
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/***/ }),
|
|
2529
|
+
|
|
2530
|
+
/***/ 70181:
|
|
2531
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2535
|
+
var isCallable = __webpack_require__(55468);
|
|
2536
|
+
var store = __webpack_require__(50662);
|
|
2537
|
+
var functionToString = uncurryThis(Function.toString);
|
|
2538
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
2539
|
+
if (!isCallable(store.inspectSource)) {
|
|
2540
|
+
store.inspectSource = function (it) {
|
|
2541
|
+
return functionToString(it);
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
module.exports = store.inspectSource;
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
/***/ }),
|
|
2548
|
+
|
|
2549
|
+
/***/ 238:
|
|
2550
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
var NATIVE_WEAK_MAP = __webpack_require__(14041);
|
|
2554
|
+
var globalThis = __webpack_require__(36749);
|
|
2555
|
+
var isObject = __webpack_require__(56063);
|
|
2556
|
+
var createNonEnumerableProperty = __webpack_require__(41752);
|
|
2557
|
+
var hasOwn = __webpack_require__(58898);
|
|
2558
|
+
var shared = __webpack_require__(50662);
|
|
2559
|
+
var sharedKey = __webpack_require__(44840);
|
|
2560
|
+
var hiddenKeys = __webpack_require__(25220);
|
|
2561
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
2562
|
+
var TypeError = globalThis.TypeError;
|
|
2563
|
+
var WeakMap = globalThis.WeakMap;
|
|
2564
|
+
var set, get, has;
|
|
2565
|
+
var enforce = function (it) {
|
|
2566
|
+
return has(it) ? get(it) : set(it, {});
|
|
2567
|
+
};
|
|
2568
|
+
var getterFor = function (TYPE) {
|
|
2569
|
+
return function (it) {
|
|
2570
|
+
var state;
|
|
2571
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
2572
|
+
throw new TypeError('Incompatible receiver, ' + TYPE + ' required');
|
|
2573
|
+
}
|
|
2574
|
+
return state;
|
|
2575
|
+
};
|
|
2576
|
+
};
|
|
2577
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
2578
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
2579
|
+
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
2580
|
+
store.get = store.get;
|
|
2581
|
+
store.has = store.has;
|
|
2582
|
+
store.set = store.set;
|
|
2583
|
+
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
2584
|
+
set = function (it, metadata) {
|
|
2585
|
+
if (store.has(it))
|
|
2586
|
+
throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
2587
|
+
metadata.facade = it;
|
|
2588
|
+
store.set(it, metadata);
|
|
2589
|
+
return metadata;
|
|
2590
|
+
};
|
|
2591
|
+
get = function (it) {
|
|
2592
|
+
return store.get(it) || {};
|
|
2593
|
+
};
|
|
2594
|
+
has = function (it) {
|
|
2595
|
+
return store.has(it);
|
|
2596
|
+
};
|
|
2597
|
+
}
|
|
2598
|
+
else {
|
|
2599
|
+
var STATE = sharedKey('state');
|
|
2600
|
+
hiddenKeys[STATE] = true;
|
|
2601
|
+
set = function (it, metadata) {
|
|
2602
|
+
if (hasOwn(it, STATE))
|
|
2603
|
+
throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
2604
|
+
metadata.facade = it;
|
|
2605
|
+
createNonEnumerableProperty(it, STATE, metadata);
|
|
2606
|
+
return metadata;
|
|
2607
|
+
};
|
|
2608
|
+
get = function (it) {
|
|
2609
|
+
return hasOwn(it, STATE) ? it[STATE] : {};
|
|
2610
|
+
};
|
|
2611
|
+
has = function (it) {
|
|
2612
|
+
return hasOwn(it, STATE);
|
|
2613
|
+
};
|
|
2614
|
+
}
|
|
2615
|
+
module.exports = {
|
|
2616
|
+
set: set,
|
|
2617
|
+
get: get,
|
|
2618
|
+
has: has,
|
|
2619
|
+
enforce: enforce,
|
|
2620
|
+
getterFor: getterFor
|
|
2621
|
+
};
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
/***/ }),
|
|
2625
|
+
|
|
2626
|
+
/***/ 96242:
|
|
2627
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
2631
|
+
var Iterators = __webpack_require__(24396);
|
|
2632
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
2633
|
+
var ArrayPrototype = Array.prototype;
|
|
2634
|
+
// check on default Array iterator
|
|
2635
|
+
module.exports = function (it) {
|
|
2636
|
+
return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
/***/ }),
|
|
2641
|
+
|
|
2642
|
+
/***/ 96127:
|
|
2643
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
var classof = __webpack_require__(96321);
|
|
2647
|
+
// `IsArray` abstract operation
|
|
2648
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
2649
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2650
|
+
module.exports = Array.isArray || function isArray(argument) {
|
|
2651
|
+
return classof(argument) === 'Array';
|
|
2652
|
+
};
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
/***/ }),
|
|
2656
|
+
|
|
2657
|
+
/***/ 55468:
|
|
2658
|
+
/***/ (function(module) {
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
2662
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
2663
|
+
// `IsCallable` abstract operation
|
|
2664
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
2665
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
2666
|
+
module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
2667
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
2668
|
+
} : function (argument) {
|
|
2669
|
+
return typeof argument == 'function';
|
|
2670
|
+
};
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
/***/ }),
|
|
2674
|
+
|
|
2675
|
+
/***/ 38018:
|
|
2676
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
var uncurryThis = __webpack_require__(84369);
|
|
2680
|
+
var fails = __webpack_require__(11794);
|
|
2681
|
+
var isCallable = __webpack_require__(55468);
|
|
2682
|
+
var classof = __webpack_require__(12318);
|
|
2683
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
2684
|
+
var inspectSource = __webpack_require__(70181);
|
|
2685
|
+
var noop = function () { };
|
|
2686
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
2687
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2688
|
+
var exec = uncurryThis(constructorRegExp.exec);
|
|
2689
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
2690
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
2691
|
+
if (!isCallable(argument))
|
|
2692
|
+
return false;
|
|
2693
|
+
try {
|
|
2694
|
+
construct(noop, [], argument);
|
|
2695
|
+
return true;
|
|
2696
|
+
}
|
|
2697
|
+
catch (error) {
|
|
2698
|
+
return false;
|
|
2699
|
+
}
|
|
2700
|
+
};
|
|
2701
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
2702
|
+
if (!isCallable(argument))
|
|
2703
|
+
return false;
|
|
2704
|
+
switch (classof(argument)) {
|
|
2705
|
+
case 'AsyncFunction':
|
|
2706
|
+
case 'GeneratorFunction':
|
|
2707
|
+
case 'AsyncGeneratorFunction': return false;
|
|
2708
|
+
}
|
|
2709
|
+
try {
|
|
2710
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
2711
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
2712
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
2713
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
2714
|
+
}
|
|
2715
|
+
catch (error) {
|
|
2716
|
+
return true;
|
|
2717
|
+
}
|
|
2718
|
+
};
|
|
2719
|
+
isConstructorLegacy.sham = true;
|
|
2720
|
+
// `IsConstructor` abstract operation
|
|
2721
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2722
|
+
module.exports = !construct || fails(function () {
|
|
2723
|
+
var called;
|
|
2724
|
+
return isConstructorModern(isConstructorModern.call)
|
|
2725
|
+
|| !isConstructorModern(Object)
|
|
2726
|
+
|| !isConstructorModern(function () { called = true; })
|
|
2727
|
+
|| called;
|
|
2728
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
/***/ }),
|
|
2732
|
+
|
|
2733
|
+
/***/ 43721:
|
|
2734
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
var fails = __webpack_require__(11794);
|
|
2738
|
+
var isCallable = __webpack_require__(55468);
|
|
2739
|
+
var replacement = /#|\.prototype\./;
|
|
2740
|
+
var isForced = function (feature, detection) {
|
|
2741
|
+
var value = data[normalize(feature)];
|
|
2742
|
+
return value === POLYFILL ? true
|
|
2743
|
+
: value === NATIVE ? false
|
|
2744
|
+
: isCallable(detection) ? fails(detection)
|
|
2745
|
+
: !!detection;
|
|
2746
|
+
};
|
|
2747
|
+
var normalize = isForced.normalize = function (string) {
|
|
2748
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
2749
|
+
};
|
|
2750
|
+
var data = isForced.data = {};
|
|
2751
|
+
var NATIVE = isForced.NATIVE = 'N';
|
|
2752
|
+
var POLYFILL = isForced.POLYFILL = 'P';
|
|
2753
|
+
module.exports = isForced;
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
/***/ }),
|
|
2757
|
+
|
|
2758
|
+
/***/ 77630:
|
|
2759
|
+
/***/ (function(module) {
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
// we can't use just `it == null` since of `document.all` special case
|
|
2763
|
+
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
2764
|
+
module.exports = function (it) {
|
|
2765
|
+
return it === null || it === undefined;
|
|
2766
|
+
};
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
/***/ }),
|
|
2770
|
+
|
|
2771
|
+
/***/ 56063:
|
|
2772
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
var isCallable = __webpack_require__(55468);
|
|
2776
|
+
module.exports = function (it) {
|
|
2777
|
+
return typeof it == 'object' ? it !== null : isCallable(it);
|
|
2778
|
+
};
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
/***/ }),
|
|
2782
|
+
|
|
2783
|
+
/***/ 84200:
|
|
2784
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
var isObject = __webpack_require__(56063);
|
|
2788
|
+
module.exports = function (argument) {
|
|
2789
|
+
return isObject(argument) || argument === null;
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
/***/ }),
|
|
2794
|
+
|
|
2795
|
+
/***/ 32470:
|
|
2796
|
+
/***/ (function(module) {
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
module.exports = false;
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
/***/ }),
|
|
2803
|
+
|
|
2804
|
+
/***/ 81264:
|
|
2805
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
2809
|
+
var isCallable = __webpack_require__(55468);
|
|
2810
|
+
var isPrototypeOf = __webpack_require__(67618);
|
|
2811
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(16401);
|
|
2812
|
+
var $Object = Object;
|
|
2813
|
+
module.exports = USE_SYMBOL_AS_UID ? function (it) {
|
|
2814
|
+
return typeof it == 'symbol';
|
|
2815
|
+
} : function (it) {
|
|
2816
|
+
var $Symbol = getBuiltIn('Symbol');
|
|
2817
|
+
return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));
|
|
2818
|
+
};
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
/***/ }),
|
|
2822
|
+
|
|
2823
|
+
/***/ 62004:
|
|
2824
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
var call = __webpack_require__(31944);
|
|
2828
|
+
var anObject = __webpack_require__(79002);
|
|
2829
|
+
var getMethod = __webpack_require__(17585);
|
|
2830
|
+
module.exports = function (iterator, kind, value) {
|
|
2831
|
+
var innerResult, innerError;
|
|
2832
|
+
anObject(iterator);
|
|
2833
|
+
try {
|
|
2834
|
+
innerResult = getMethod(iterator, 'return');
|
|
2835
|
+
if (!innerResult) {
|
|
2836
|
+
if (kind === 'throw')
|
|
2837
|
+
throw value;
|
|
2838
|
+
return value;
|
|
2839
|
+
}
|
|
2840
|
+
innerResult = call(innerResult, iterator);
|
|
2841
|
+
}
|
|
2842
|
+
catch (error) {
|
|
2843
|
+
innerError = true;
|
|
2844
|
+
innerResult = error;
|
|
2845
|
+
}
|
|
2846
|
+
if (kind === 'throw')
|
|
2847
|
+
throw value;
|
|
2848
|
+
if (innerError)
|
|
2849
|
+
throw innerResult;
|
|
2850
|
+
anObject(innerResult);
|
|
2851
|
+
return value;
|
|
2852
|
+
};
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
/***/ }),
|
|
2856
|
+
|
|
2857
|
+
/***/ 89767:
|
|
2858
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
var IteratorPrototype = (__webpack_require__(47922).IteratorPrototype);
|
|
2862
|
+
var create = __webpack_require__(52713);
|
|
2863
|
+
var createPropertyDescriptor = __webpack_require__(72787);
|
|
2864
|
+
var setToStringTag = __webpack_require__(36698);
|
|
2865
|
+
var Iterators = __webpack_require__(24396);
|
|
2866
|
+
var returnThis = function () { return this; };
|
|
2867
|
+
module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2868
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2869
|
+
IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
2870
|
+
setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);
|
|
2871
|
+
Iterators[TO_STRING_TAG] = returnThis;
|
|
2872
|
+
return IteratorConstructor;
|
|
2873
|
+
};
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
/***/ }),
|
|
2877
|
+
|
|
2878
|
+
/***/ 33649:
|
|
2879
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
var $ = __webpack_require__(22829);
|
|
2883
|
+
var call = __webpack_require__(31944);
|
|
2884
|
+
var IS_PURE = __webpack_require__(32470);
|
|
2885
|
+
var FunctionName = __webpack_require__(84735);
|
|
2886
|
+
var isCallable = __webpack_require__(55468);
|
|
2887
|
+
var createIteratorConstructor = __webpack_require__(89767);
|
|
2888
|
+
var getPrototypeOf = __webpack_require__(59210);
|
|
2889
|
+
var setPrototypeOf = __webpack_require__(72478);
|
|
2890
|
+
var setToStringTag = __webpack_require__(36698);
|
|
2891
|
+
var createNonEnumerableProperty = __webpack_require__(41752);
|
|
2892
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
2893
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
2894
|
+
var Iterators = __webpack_require__(24396);
|
|
2895
|
+
var IteratorsCore = __webpack_require__(47922);
|
|
2896
|
+
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2897
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2898
|
+
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2899
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2900
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
2901
|
+
var KEYS = 'keys';
|
|
2902
|
+
var VALUES = 'values';
|
|
2903
|
+
var ENTRIES = 'entries';
|
|
2904
|
+
var returnThis = function () { return this; };
|
|
2905
|
+
module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
2906
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
2907
|
+
var getIterationMethod = function (KIND) {
|
|
2908
|
+
if (KIND === DEFAULT && defaultIterator)
|
|
2909
|
+
return defaultIterator;
|
|
2910
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype)
|
|
2911
|
+
return IterablePrototype[KIND];
|
|
2912
|
+
switch (KIND) {
|
|
2913
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
2914
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
2915
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
2916
|
+
}
|
|
2917
|
+
return function () { return new IteratorConstructor(this); };
|
|
2918
|
+
};
|
|
2919
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2920
|
+
var INCORRECT_VALUES_NAME = false;
|
|
2921
|
+
var IterablePrototype = Iterable.prototype;
|
|
2922
|
+
var nativeIterator = IterablePrototype[ITERATOR]
|
|
2923
|
+
|| IterablePrototype['@@iterator']
|
|
2924
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2925
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
2926
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
2927
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
2928
|
+
// fix native
|
|
2929
|
+
if (anyNativeIterator) {
|
|
2930
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2931
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2932
|
+
if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2933
|
+
if (setPrototypeOf) {
|
|
2934
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2935
|
+
}
|
|
2936
|
+
else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {
|
|
2937
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
// Set @@toStringTag to native iterators
|
|
2941
|
+
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);
|
|
2942
|
+
if (IS_PURE)
|
|
2943
|
+
Iterators[TO_STRING_TAG] = returnThis;
|
|
2944
|
+
}
|
|
2945
|
+
}
|
|
2946
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
2947
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
2948
|
+
if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {
|
|
2949
|
+
createNonEnumerableProperty(IterablePrototype, 'name', VALUES);
|
|
2950
|
+
}
|
|
2951
|
+
else {
|
|
2952
|
+
INCORRECT_VALUES_NAME = true;
|
|
2953
|
+
defaultIterator = function values() { return call(nativeIterator, this); };
|
|
2954
|
+
}
|
|
2955
|
+
}
|
|
2956
|
+
// export additional methods
|
|
2957
|
+
if (DEFAULT) {
|
|
2958
|
+
methods = {
|
|
2959
|
+
values: getIterationMethod(VALUES),
|
|
2960
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
2961
|
+
entries: getIterationMethod(ENTRIES)
|
|
2962
|
+
};
|
|
2963
|
+
if (FORCED)
|
|
2964
|
+
for (KEY in methods) {
|
|
2965
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2966
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
else
|
|
2970
|
+
$({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2971
|
+
}
|
|
2972
|
+
// define iterator
|
|
2973
|
+
if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {
|
|
2974
|
+
defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });
|
|
2975
|
+
}
|
|
2976
|
+
Iterators[NAME] = defaultIterator;
|
|
2977
|
+
return methods;
|
|
2978
|
+
};
|
|
2979
|
+
|
|
2980
|
+
|
|
2981
|
+
/***/ }),
|
|
2982
|
+
|
|
2983
|
+
/***/ 47922:
|
|
2984
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
var fails = __webpack_require__(11794);
|
|
2988
|
+
var isCallable = __webpack_require__(55468);
|
|
2989
|
+
var isObject = __webpack_require__(56063);
|
|
2990
|
+
var create = __webpack_require__(52713);
|
|
2991
|
+
var getPrototypeOf = __webpack_require__(59210);
|
|
2992
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
2993
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
2994
|
+
var IS_PURE = __webpack_require__(32470);
|
|
2995
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
2996
|
+
var BUGGY_SAFARI_ITERATORS = false;
|
|
2997
|
+
// `%IteratorPrototype%` object
|
|
2998
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2999
|
+
var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
3000
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
3001
|
+
if ([].keys) {
|
|
3002
|
+
arrayIterator = [].keys();
|
|
3003
|
+
// Safari 8 has buggy iterators w/o `next`
|
|
3004
|
+
if (!('next' in arrayIterator))
|
|
3005
|
+
BUGGY_SAFARI_ITERATORS = true;
|
|
3006
|
+
else {
|
|
3007
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));
|
|
3008
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype)
|
|
3009
|
+
IteratorPrototype = PrototypeOfArrayIteratorPrototype;
|
|
3010
|
+
}
|
|
3011
|
+
}
|
|
3012
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {
|
|
3013
|
+
var test = {};
|
|
3014
|
+
// FF44- legacy iterators case
|
|
3015
|
+
return IteratorPrototype[ITERATOR].call(test) !== test;
|
|
3016
|
+
});
|
|
3017
|
+
if (NEW_ITERATOR_PROTOTYPE)
|
|
3018
|
+
IteratorPrototype = {};
|
|
3019
|
+
else if (IS_PURE)
|
|
3020
|
+
IteratorPrototype = create(IteratorPrototype);
|
|
3021
|
+
// `%IteratorPrototype%[@@iterator]()` method
|
|
3022
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
3023
|
+
if (!isCallable(IteratorPrototype[ITERATOR])) {
|
|
3024
|
+
defineBuiltIn(IteratorPrototype, ITERATOR, function () {
|
|
3025
|
+
return this;
|
|
3026
|
+
});
|
|
3027
|
+
}
|
|
3028
|
+
module.exports = {
|
|
3029
|
+
IteratorPrototype: IteratorPrototype,
|
|
3030
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS
|
|
3031
|
+
};
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
/***/ }),
|
|
3035
|
+
|
|
3036
|
+
/***/ 24396:
|
|
3037
|
+
/***/ (function(module) {
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
module.exports = {};
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
/***/ }),
|
|
3044
|
+
|
|
3045
|
+
/***/ 2701:
|
|
3046
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
var toLength = __webpack_require__(72843);
|
|
3050
|
+
// `LengthOfArrayLike` abstract operation
|
|
3051
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
3052
|
+
module.exports = function (obj) {
|
|
3053
|
+
return toLength(obj.length);
|
|
3054
|
+
};
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
/***/ }),
|
|
3058
|
+
|
|
3059
|
+
/***/ 66530:
|
|
3060
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3064
|
+
var fails = __webpack_require__(11794);
|
|
3065
|
+
var isCallable = __webpack_require__(55468);
|
|
3066
|
+
var hasOwn = __webpack_require__(58898);
|
|
3067
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
3068
|
+
var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(84735).CONFIGURABLE);
|
|
3069
|
+
var inspectSource = __webpack_require__(70181);
|
|
3070
|
+
var InternalStateModule = __webpack_require__(238);
|
|
3071
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
3072
|
+
var getInternalState = InternalStateModule.get;
|
|
3073
|
+
var $String = String;
|
|
3074
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3075
|
+
var defineProperty = Object.defineProperty;
|
|
3076
|
+
var stringSlice = uncurryThis(''.slice);
|
|
3077
|
+
var replace = uncurryThis(''.replace);
|
|
3078
|
+
var join = uncurryThis([].join);
|
|
3079
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {
|
|
3080
|
+
return defineProperty(function () { }, 'length', { value: 8 }).length !== 8;
|
|
3081
|
+
});
|
|
3082
|
+
var TEMPLATE = String(String).split('String');
|
|
3083
|
+
var makeBuiltIn = module.exports = function (value, name, options) {
|
|
3084
|
+
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
|
3085
|
+
name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
3086
|
+
}
|
|
3087
|
+
if (options && options.getter)
|
|
3088
|
+
name = 'get ' + name;
|
|
3089
|
+
if (options && options.setter)
|
|
3090
|
+
name = 'set ' + name;
|
|
3091
|
+
if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
3092
|
+
if (DESCRIPTORS)
|
|
3093
|
+
defineProperty(value, 'name', { value: name, configurable: true });
|
|
3094
|
+
else
|
|
3095
|
+
value.name = name;
|
|
3096
|
+
}
|
|
3097
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {
|
|
3098
|
+
defineProperty(value, 'length', { value: options.arity });
|
|
3099
|
+
}
|
|
3100
|
+
try {
|
|
3101
|
+
if (options && hasOwn(options, 'constructor') && options.constructor) {
|
|
3102
|
+
if (DESCRIPTORS)
|
|
3103
|
+
defineProperty(value, 'prototype', { writable: false });
|
|
3104
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
3105
|
+
}
|
|
3106
|
+
else if (value.prototype)
|
|
3107
|
+
value.prototype = undefined;
|
|
3108
|
+
}
|
|
3109
|
+
catch (error) { /* empty */ }
|
|
3110
|
+
var state = enforceInternalState(value);
|
|
3111
|
+
if (!hasOwn(state, 'source')) {
|
|
3112
|
+
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
3113
|
+
}
|
|
3114
|
+
return value;
|
|
3115
|
+
};
|
|
3116
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
3117
|
+
// eslint-disable-next-line no-extend-native -- required
|
|
3118
|
+
Function.prototype.toString = makeBuiltIn(function toString() {
|
|
3119
|
+
return isCallable(this) && getInternalState(this).source || inspectSource(this);
|
|
3120
|
+
}, 'toString');
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
/***/ }),
|
|
3124
|
+
|
|
3125
|
+
/***/ 64814:
|
|
3126
|
+
/***/ (function(module) {
|
|
3127
|
+
|
|
3128
|
+
|
|
3129
|
+
var ceil = Math.ceil;
|
|
3130
|
+
var floor = Math.floor;
|
|
3131
|
+
// `Math.trunc` method
|
|
3132
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
3133
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
3134
|
+
module.exports = Math.trunc || function trunc(x) {
|
|
3135
|
+
var n = +x;
|
|
3136
|
+
return (n > 0 ? floor : ceil)(n);
|
|
3137
|
+
};
|
|
3138
|
+
|
|
3139
|
+
|
|
3140
|
+
/***/ }),
|
|
3141
|
+
|
|
3142
|
+
/***/ 52713:
|
|
3143
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3144
|
+
|
|
3145
|
+
|
|
3146
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
3147
|
+
var anObject = __webpack_require__(79002);
|
|
3148
|
+
var definePropertiesModule = __webpack_require__(68126);
|
|
3149
|
+
var enumBugKeys = __webpack_require__(36922);
|
|
3150
|
+
var hiddenKeys = __webpack_require__(25220);
|
|
3151
|
+
var html = __webpack_require__(56194);
|
|
3152
|
+
var documentCreateElement = __webpack_require__(33350);
|
|
3153
|
+
var sharedKey = __webpack_require__(44840);
|
|
3154
|
+
var GT = '>';
|
|
3155
|
+
var LT = '<';
|
|
3156
|
+
var PROTOTYPE = 'prototype';
|
|
3157
|
+
var SCRIPT = 'script';
|
|
3158
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3159
|
+
var EmptyConstructor = function () { };
|
|
3160
|
+
var scriptTag = function (content) {
|
|
3161
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3162
|
+
};
|
|
3163
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3164
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3165
|
+
activeXDocument.write(scriptTag(''));
|
|
3166
|
+
activeXDocument.close();
|
|
3167
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
3168
|
+
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
|
3169
|
+
activeXDocument = null;
|
|
3170
|
+
return temp;
|
|
3171
|
+
};
|
|
3172
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3173
|
+
var NullProtoObjectViaIFrame = function () {
|
|
3174
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
3175
|
+
var iframe = documentCreateElement('iframe');
|
|
3176
|
+
var JS = 'java' + SCRIPT + ':';
|
|
3177
|
+
var iframeDocument;
|
|
3178
|
+
iframe.style.display = 'none';
|
|
3179
|
+
html.appendChild(iframe);
|
|
3180
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
3181
|
+
iframe.src = String(JS);
|
|
3182
|
+
iframeDocument = iframe.contentWindow.document;
|
|
3183
|
+
iframeDocument.open();
|
|
3184
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3185
|
+
iframeDocument.close();
|
|
3186
|
+
return iframeDocument.F;
|
|
3187
|
+
};
|
|
3188
|
+
// Check for document.domain and active x support
|
|
3189
|
+
// No need to use active x approach when document.domain is not set
|
|
3190
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3191
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3192
|
+
// avoid IE GC bug
|
|
3193
|
+
var activeXDocument;
|
|
3194
|
+
var NullProtoObject = function () {
|
|
3195
|
+
try {
|
|
3196
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
3197
|
+
}
|
|
3198
|
+
catch (error) { /* ignore */ }
|
|
3199
|
+
NullProtoObject = typeof document != 'undefined'
|
|
3200
|
+
? document.domain && activeXDocument
|
|
3201
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3202
|
+
: NullProtoObjectViaIFrame()
|
|
3203
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3204
|
+
var length = enumBugKeys.length;
|
|
3205
|
+
while (length--)
|
|
3206
|
+
delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3207
|
+
return NullProtoObject();
|
|
3208
|
+
};
|
|
3209
|
+
hiddenKeys[IE_PROTO] = true;
|
|
3210
|
+
// `Object.create` method
|
|
3211
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
3212
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
3213
|
+
module.exports = Object.create || function create(O, Properties) {
|
|
3214
|
+
var result;
|
|
3215
|
+
if (O !== null) {
|
|
3216
|
+
EmptyConstructor[PROTOTYPE] = anObject(O);
|
|
3217
|
+
result = new EmptyConstructor();
|
|
3218
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
3219
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3220
|
+
result[IE_PROTO] = O;
|
|
3221
|
+
}
|
|
3222
|
+
else
|
|
3223
|
+
result = NullProtoObject();
|
|
3224
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3225
|
+
};
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
/***/ }),
|
|
3229
|
+
|
|
3230
|
+
/***/ 68126:
|
|
3231
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3232
|
+
|
|
3233
|
+
|
|
3234
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
3235
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(90739);
|
|
3236
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
3237
|
+
var anObject = __webpack_require__(79002);
|
|
3238
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
3239
|
+
var objectKeys = __webpack_require__(14769);
|
|
3240
|
+
// `Object.defineProperties` method
|
|
3241
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
3242
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
3243
|
+
exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
3244
|
+
anObject(O);
|
|
3245
|
+
var props = toIndexedObject(Properties);
|
|
3246
|
+
var keys = objectKeys(Properties);
|
|
3247
|
+
var length = keys.length;
|
|
3248
|
+
var index = 0;
|
|
3249
|
+
var key;
|
|
3250
|
+
while (length > index)
|
|
3251
|
+
definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
3252
|
+
return O;
|
|
3253
|
+
};
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
/***/ }),
|
|
3257
|
+
|
|
3258
|
+
/***/ 11154:
|
|
3259
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3260
|
+
|
|
3261
|
+
|
|
3262
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
3263
|
+
var IE8_DOM_DEFINE = __webpack_require__(13126);
|
|
3264
|
+
var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(90739);
|
|
3265
|
+
var anObject = __webpack_require__(79002);
|
|
3266
|
+
var toPropertyKey = __webpack_require__(92776);
|
|
3267
|
+
var $TypeError = TypeError;
|
|
3268
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
3269
|
+
var $defineProperty = Object.defineProperty;
|
|
3270
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3271
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3272
|
+
var ENUMERABLE = 'enumerable';
|
|
3273
|
+
var CONFIGURABLE = 'configurable';
|
|
3274
|
+
var WRITABLE = 'writable';
|
|
3275
|
+
// `Object.defineProperty` method
|
|
3276
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
3277
|
+
exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
3278
|
+
anObject(O);
|
|
3279
|
+
P = toPropertyKey(P);
|
|
3280
|
+
anObject(Attributes);
|
|
3281
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
3282
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
3283
|
+
if (current && current[WRITABLE]) {
|
|
3284
|
+
O[P] = Attributes.value;
|
|
3285
|
+
Attributes = {
|
|
3286
|
+
configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],
|
|
3287
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
3288
|
+
writable: false
|
|
3289
|
+
};
|
|
3290
|
+
}
|
|
3291
|
+
}
|
|
3292
|
+
return $defineProperty(O, P, Attributes);
|
|
3293
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
3294
|
+
anObject(O);
|
|
3295
|
+
P = toPropertyKey(P);
|
|
3296
|
+
anObject(Attributes);
|
|
3297
|
+
if (IE8_DOM_DEFINE)
|
|
3298
|
+
try {
|
|
3299
|
+
return $defineProperty(O, P, Attributes);
|
|
3300
|
+
}
|
|
3301
|
+
catch (error) { /* empty */ }
|
|
3302
|
+
if ('get' in Attributes || 'set' in Attributes)
|
|
3303
|
+
throw new $TypeError('Accessors not supported');
|
|
3304
|
+
if ('value' in Attributes)
|
|
3305
|
+
O[P] = Attributes.value;
|
|
3306
|
+
return O;
|
|
3307
|
+
};
|
|
3308
|
+
|
|
3309
|
+
|
|
3310
|
+
/***/ }),
|
|
3311
|
+
|
|
3312
|
+
/***/ 34072:
|
|
3313
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3314
|
+
|
|
3315
|
+
|
|
3316
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
3317
|
+
var call = __webpack_require__(31944);
|
|
3318
|
+
var propertyIsEnumerableModule = __webpack_require__(66000);
|
|
3319
|
+
var createPropertyDescriptor = __webpack_require__(72787);
|
|
3320
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
3321
|
+
var toPropertyKey = __webpack_require__(92776);
|
|
3322
|
+
var hasOwn = __webpack_require__(58898);
|
|
3323
|
+
var IE8_DOM_DEFINE = __webpack_require__(13126);
|
|
3324
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3325
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3326
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
3327
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
3328
|
+
exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
3329
|
+
O = toIndexedObject(O);
|
|
3330
|
+
P = toPropertyKey(P);
|
|
3331
|
+
if (IE8_DOM_DEFINE)
|
|
3332
|
+
try {
|
|
3333
|
+
return $getOwnPropertyDescriptor(O, P);
|
|
3334
|
+
}
|
|
3335
|
+
catch (error) { /* empty */ }
|
|
3336
|
+
if (hasOwn(O, P))
|
|
3337
|
+
return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
3338
|
+
};
|
|
3339
|
+
|
|
3340
|
+
|
|
3341
|
+
/***/ }),
|
|
3342
|
+
|
|
3343
|
+
/***/ 23701:
|
|
3344
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
/* eslint-disable es/no-object-getownpropertynames -- safe */
|
|
3348
|
+
var classof = __webpack_require__(96321);
|
|
3349
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
3350
|
+
var $getOwnPropertyNames = (__webpack_require__(17213).f);
|
|
3351
|
+
var arraySlice = __webpack_require__(85457);
|
|
3352
|
+
var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
|
|
3353
|
+
? Object.getOwnPropertyNames(window) : [];
|
|
3354
|
+
var getWindowNames = function (it) {
|
|
3355
|
+
try {
|
|
3356
|
+
return $getOwnPropertyNames(it);
|
|
3357
|
+
}
|
|
3358
|
+
catch (error) {
|
|
3359
|
+
return arraySlice(windowNames);
|
|
3360
|
+
}
|
|
3361
|
+
};
|
|
3362
|
+
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
3363
|
+
module.exports.f = function getOwnPropertyNames(it) {
|
|
3364
|
+
return windowNames && classof(it) === 'Window'
|
|
3365
|
+
? getWindowNames(it)
|
|
3366
|
+
: $getOwnPropertyNames(toIndexedObject(it));
|
|
3367
|
+
};
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
/***/ }),
|
|
3371
|
+
|
|
3372
|
+
/***/ 17213:
|
|
3373
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
3374
|
+
|
|
3375
|
+
|
|
3376
|
+
var internalObjectKeys = __webpack_require__(55155);
|
|
3377
|
+
var enumBugKeys = __webpack_require__(36922);
|
|
3378
|
+
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
3379
|
+
// `Object.getOwnPropertyNames` method
|
|
3380
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
3381
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
3382
|
+
exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
3383
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
3384
|
+
};
|
|
3385
|
+
|
|
3386
|
+
|
|
3387
|
+
/***/ }),
|
|
3388
|
+
|
|
3389
|
+
/***/ 89452:
|
|
3390
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3391
|
+
|
|
3392
|
+
|
|
3393
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
3394
|
+
exports.f = Object.getOwnPropertySymbols;
|
|
3395
|
+
|
|
3396
|
+
|
|
3397
|
+
/***/ }),
|
|
3398
|
+
|
|
3399
|
+
/***/ 59210:
|
|
3400
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3401
|
+
|
|
3402
|
+
|
|
3403
|
+
var hasOwn = __webpack_require__(58898);
|
|
3404
|
+
var isCallable = __webpack_require__(55468);
|
|
3405
|
+
var toObject = __webpack_require__(58860);
|
|
3406
|
+
var sharedKey = __webpack_require__(44840);
|
|
3407
|
+
var CORRECT_PROTOTYPE_GETTER = __webpack_require__(18776);
|
|
3408
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3409
|
+
var $Object = Object;
|
|
3410
|
+
var ObjectPrototype = $Object.prototype;
|
|
3411
|
+
// `Object.getPrototypeOf` method
|
|
3412
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
3413
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
3414
|
+
module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
3415
|
+
var object = toObject(O);
|
|
3416
|
+
if (hasOwn(object, IE_PROTO))
|
|
3417
|
+
return object[IE_PROTO];
|
|
3418
|
+
var constructor = object.constructor;
|
|
3419
|
+
if (isCallable(constructor) && object instanceof constructor) {
|
|
3420
|
+
return constructor.prototype;
|
|
3421
|
+
}
|
|
3422
|
+
return object instanceof $Object ? ObjectPrototype : null;
|
|
3423
|
+
};
|
|
3424
|
+
|
|
3425
|
+
|
|
3426
|
+
/***/ }),
|
|
3427
|
+
|
|
3428
|
+
/***/ 67618:
|
|
3429
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3430
|
+
|
|
3431
|
+
|
|
3432
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3433
|
+
module.exports = uncurryThis({}.isPrototypeOf);
|
|
3434
|
+
|
|
3435
|
+
|
|
3436
|
+
/***/ }),
|
|
3437
|
+
|
|
3438
|
+
/***/ 55155:
|
|
3439
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3440
|
+
|
|
3441
|
+
|
|
3442
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3443
|
+
var hasOwn = __webpack_require__(58898);
|
|
3444
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
3445
|
+
var indexOf = (__webpack_require__(54962).indexOf);
|
|
3446
|
+
var hiddenKeys = __webpack_require__(25220);
|
|
3447
|
+
var push = uncurryThis([].push);
|
|
3448
|
+
module.exports = function (object, names) {
|
|
3449
|
+
var O = toIndexedObject(object);
|
|
3450
|
+
var i = 0;
|
|
3451
|
+
var result = [];
|
|
3452
|
+
var key;
|
|
3453
|
+
for (key in O)
|
|
3454
|
+
!hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);
|
|
3455
|
+
// Don't enum bug & hidden keys
|
|
3456
|
+
while (names.length > i)
|
|
3457
|
+
if (hasOwn(O, key = names[i++])) {
|
|
3458
|
+
~indexOf(result, key) || push(result, key);
|
|
3459
|
+
}
|
|
3460
|
+
return result;
|
|
3461
|
+
};
|
|
3462
|
+
|
|
3463
|
+
|
|
3464
|
+
/***/ }),
|
|
3465
|
+
|
|
3466
|
+
/***/ 14769:
|
|
3467
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3468
|
+
|
|
3469
|
+
|
|
3470
|
+
var internalObjectKeys = __webpack_require__(55155);
|
|
3471
|
+
var enumBugKeys = __webpack_require__(36922);
|
|
3472
|
+
// `Object.keys` method
|
|
3473
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
3474
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
3475
|
+
module.exports = Object.keys || function keys(O) {
|
|
3476
|
+
return internalObjectKeys(O, enumBugKeys);
|
|
3477
|
+
};
|
|
3478
|
+
|
|
3479
|
+
|
|
3480
|
+
/***/ }),
|
|
3481
|
+
|
|
3482
|
+
/***/ 66000:
|
|
3483
|
+
/***/ (function(__unused_webpack_module, exports) {
|
|
3484
|
+
|
|
3485
|
+
|
|
3486
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
3487
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
3488
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
3489
|
+
// Nashorn ~ JDK8 bug
|
|
3490
|
+
var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
3491
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
3492
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
3493
|
+
exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
3494
|
+
var descriptor = getOwnPropertyDescriptor(this, V);
|
|
3495
|
+
return !!descriptor && descriptor.enumerable;
|
|
3496
|
+
} : $propertyIsEnumerable;
|
|
3497
|
+
|
|
3498
|
+
|
|
3499
|
+
/***/ }),
|
|
3500
|
+
|
|
3501
|
+
/***/ 72478:
|
|
3502
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3503
|
+
|
|
3504
|
+
|
|
3505
|
+
/* eslint-disable no-proto -- safe */
|
|
3506
|
+
var uncurryThisAccessor = __webpack_require__(24689);
|
|
3507
|
+
var isObject = __webpack_require__(56063);
|
|
3508
|
+
var requireObjectCoercible = __webpack_require__(7605);
|
|
3509
|
+
var aPossiblePrototype = __webpack_require__(23785);
|
|
3510
|
+
// `Object.setPrototypeOf` method
|
|
3511
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
3512
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
3513
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
3514
|
+
module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
3515
|
+
var CORRECT_SETTER = false;
|
|
3516
|
+
var test = {};
|
|
3517
|
+
var setter;
|
|
3518
|
+
try {
|
|
3519
|
+
setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
|
|
3520
|
+
setter(test, []);
|
|
3521
|
+
CORRECT_SETTER = test instanceof Array;
|
|
3522
|
+
}
|
|
3523
|
+
catch (error) { /* empty */ }
|
|
3524
|
+
return function setPrototypeOf(O, proto) {
|
|
3525
|
+
requireObjectCoercible(O);
|
|
3526
|
+
aPossiblePrototype(proto);
|
|
3527
|
+
if (!isObject(O))
|
|
3528
|
+
return O;
|
|
3529
|
+
if (CORRECT_SETTER)
|
|
3530
|
+
setter(O, proto);
|
|
3531
|
+
else
|
|
3532
|
+
O.__proto__ = proto;
|
|
3533
|
+
return O;
|
|
3534
|
+
};
|
|
3535
|
+
}() : undefined);
|
|
3536
|
+
|
|
3537
|
+
|
|
3538
|
+
/***/ }),
|
|
3539
|
+
|
|
3540
|
+
/***/ 46724:
|
|
3541
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3542
|
+
|
|
3543
|
+
|
|
3544
|
+
var TO_STRING_TAG_SUPPORT = __webpack_require__(46833);
|
|
3545
|
+
var classof = __webpack_require__(12318);
|
|
3546
|
+
// `Object.prototype.toString` method implementation
|
|
3547
|
+
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
3548
|
+
module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {
|
|
3549
|
+
return '[object ' + classof(this) + ']';
|
|
3550
|
+
};
|
|
3551
|
+
|
|
3552
|
+
|
|
3553
|
+
/***/ }),
|
|
3554
|
+
|
|
3555
|
+
/***/ 69775:
|
|
3556
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3557
|
+
|
|
3558
|
+
|
|
3559
|
+
var call = __webpack_require__(31944);
|
|
3560
|
+
var isCallable = __webpack_require__(55468);
|
|
3561
|
+
var isObject = __webpack_require__(56063);
|
|
3562
|
+
var $TypeError = TypeError;
|
|
3563
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
3564
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
3565
|
+
module.exports = function (input, pref) {
|
|
3566
|
+
var fn, val;
|
|
3567
|
+
if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
|
|
3568
|
+
return val;
|
|
3569
|
+
if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input)))
|
|
3570
|
+
return val;
|
|
3571
|
+
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input)))
|
|
3572
|
+
return val;
|
|
3573
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
3574
|
+
};
|
|
3575
|
+
|
|
3576
|
+
|
|
3577
|
+
/***/ }),
|
|
3578
|
+
|
|
3579
|
+
/***/ 42576:
|
|
3580
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3581
|
+
|
|
3582
|
+
|
|
3583
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
3584
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3585
|
+
var getOwnPropertyNamesModule = __webpack_require__(17213);
|
|
3586
|
+
var getOwnPropertySymbolsModule = __webpack_require__(89452);
|
|
3587
|
+
var anObject = __webpack_require__(79002);
|
|
3588
|
+
var concat = uncurryThis([].concat);
|
|
3589
|
+
// all object keys, includes non-enumerable and symbols
|
|
3590
|
+
module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
3591
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
3592
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
3593
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
3594
|
+
};
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
/***/ }),
|
|
3598
|
+
|
|
3599
|
+
/***/ 21504:
|
|
3600
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3601
|
+
|
|
3602
|
+
|
|
3603
|
+
var globalThis = __webpack_require__(36749);
|
|
3604
|
+
module.exports = globalThis;
|
|
3605
|
+
|
|
3606
|
+
|
|
3607
|
+
/***/ }),
|
|
3608
|
+
|
|
3609
|
+
/***/ 7605:
|
|
3610
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3611
|
+
|
|
3612
|
+
|
|
3613
|
+
var isNullOrUndefined = __webpack_require__(77630);
|
|
3614
|
+
var $TypeError = TypeError;
|
|
3615
|
+
// `RequireObjectCoercible` abstract operation
|
|
3616
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
3617
|
+
module.exports = function (it) {
|
|
3618
|
+
if (isNullOrUndefined(it))
|
|
3619
|
+
throw new $TypeError("Can't call method on " + it);
|
|
3620
|
+
return it;
|
|
3621
|
+
};
|
|
3622
|
+
|
|
3623
|
+
|
|
3624
|
+
/***/ }),
|
|
3625
|
+
|
|
3626
|
+
/***/ 36698:
|
|
3627
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3628
|
+
|
|
3629
|
+
|
|
3630
|
+
var defineProperty = (__webpack_require__(11154).f);
|
|
3631
|
+
var hasOwn = __webpack_require__(58898);
|
|
3632
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
3633
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
3634
|
+
module.exports = function (target, TAG, STATIC) {
|
|
3635
|
+
if (target && !STATIC)
|
|
3636
|
+
target = target.prototype;
|
|
3637
|
+
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
3638
|
+
defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
3639
|
+
}
|
|
3640
|
+
};
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
/***/ }),
|
|
3644
|
+
|
|
3645
|
+
/***/ 44840:
|
|
3646
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
var shared = __webpack_require__(27962);
|
|
3650
|
+
var uid = __webpack_require__(15489);
|
|
3651
|
+
var keys = shared('keys');
|
|
3652
|
+
module.exports = function (key) {
|
|
3653
|
+
return keys[key] || (keys[key] = uid(key));
|
|
3654
|
+
};
|
|
3655
|
+
|
|
3656
|
+
|
|
3657
|
+
/***/ }),
|
|
3658
|
+
|
|
3659
|
+
/***/ 50662:
|
|
3660
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3661
|
+
|
|
3662
|
+
|
|
3663
|
+
var IS_PURE = __webpack_require__(32470);
|
|
3664
|
+
var globalThis = __webpack_require__(36749);
|
|
3665
|
+
var defineGlobalProperty = __webpack_require__(61486);
|
|
3666
|
+
var SHARED = '__core-js_shared__';
|
|
3667
|
+
var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});
|
|
3668
|
+
(store.versions || (store.versions = [])).push({
|
|
3669
|
+
version: '3.38.1',
|
|
3670
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
3671
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
3672
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
|
|
3673
|
+
source: 'https://github.com/zloirock/core-js'
|
|
3674
|
+
});
|
|
3675
|
+
|
|
3676
|
+
|
|
3677
|
+
/***/ }),
|
|
3678
|
+
|
|
3679
|
+
/***/ 27962:
|
|
3680
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3681
|
+
|
|
3682
|
+
|
|
3683
|
+
var store = __webpack_require__(50662);
|
|
3684
|
+
module.exports = function (key, value) {
|
|
3685
|
+
return store[key] || (store[key] = value || {});
|
|
3686
|
+
};
|
|
3687
|
+
|
|
3688
|
+
|
|
3689
|
+
/***/ }),
|
|
3690
|
+
|
|
3691
|
+
/***/ 48692:
|
|
3692
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3693
|
+
|
|
3694
|
+
|
|
3695
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3696
|
+
var toIntegerOrInfinity = __webpack_require__(39784);
|
|
3697
|
+
var toString = __webpack_require__(67850);
|
|
3698
|
+
var requireObjectCoercible = __webpack_require__(7605);
|
|
3699
|
+
var charAt = uncurryThis(''.charAt);
|
|
3700
|
+
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
3701
|
+
var stringSlice = uncurryThis(''.slice);
|
|
3702
|
+
var createMethod = function (CONVERT_TO_STRING) {
|
|
3703
|
+
return function ($this, pos) {
|
|
3704
|
+
var S = toString(requireObjectCoercible($this));
|
|
3705
|
+
var position = toIntegerOrInfinity(pos);
|
|
3706
|
+
var size = S.length;
|
|
3707
|
+
var first, second;
|
|
3708
|
+
if (position < 0 || position >= size)
|
|
3709
|
+
return CONVERT_TO_STRING ? '' : undefined;
|
|
3710
|
+
first = charCodeAt(S, position);
|
|
3711
|
+
return first < 0xD800 || first > 0xDBFF || position + 1 === size
|
|
3712
|
+
|| (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
|
|
3713
|
+
? CONVERT_TO_STRING
|
|
3714
|
+
? charAt(S, position)
|
|
3715
|
+
: first
|
|
3716
|
+
: CONVERT_TO_STRING
|
|
3717
|
+
? stringSlice(S, position, position + 2)
|
|
3718
|
+
: (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
|
|
3719
|
+
};
|
|
3720
|
+
};
|
|
3721
|
+
module.exports = {
|
|
3722
|
+
// `String.prototype.codePointAt` method
|
|
3723
|
+
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
3724
|
+
codeAt: createMethod(false),
|
|
3725
|
+
// `String.prototype.at` method
|
|
3726
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
3727
|
+
charAt: createMethod(true)
|
|
3728
|
+
};
|
|
3729
|
+
|
|
3730
|
+
|
|
3731
|
+
/***/ }),
|
|
3732
|
+
|
|
3733
|
+
/***/ 8464:
|
|
3734
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3735
|
+
|
|
3736
|
+
|
|
3737
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
3738
|
+
var V8_VERSION = __webpack_require__(9696);
|
|
3739
|
+
var fails = __webpack_require__(11794);
|
|
3740
|
+
var globalThis = __webpack_require__(36749);
|
|
3741
|
+
var $String = globalThis.String;
|
|
3742
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
3743
|
+
module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
|
|
3744
|
+
var symbol = Symbol('symbol detection');
|
|
3745
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
3746
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
3747
|
+
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
|
3748
|
+
// of course, fail.
|
|
3749
|
+
return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
3750
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
3751
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
3752
|
+
});
|
|
3753
|
+
|
|
3754
|
+
|
|
3755
|
+
/***/ }),
|
|
3756
|
+
|
|
3757
|
+
/***/ 67109:
|
|
3758
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
var call = __webpack_require__(31944);
|
|
3762
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
3763
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
3764
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
3765
|
+
module.exports = function () {
|
|
3766
|
+
var Symbol = getBuiltIn('Symbol');
|
|
3767
|
+
var SymbolPrototype = Symbol && Symbol.prototype;
|
|
3768
|
+
var valueOf = SymbolPrototype && SymbolPrototype.valueOf;
|
|
3769
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
3770
|
+
if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {
|
|
3771
|
+
// `Symbol.prototype[@@toPrimitive]` method
|
|
3772
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
|
|
3773
|
+
// eslint-disable-next-line no-unused-vars -- required for .length
|
|
3774
|
+
defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {
|
|
3775
|
+
return call(valueOf, this);
|
|
3776
|
+
}, { arity: 1 });
|
|
3777
|
+
}
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
/***/ }),
|
|
3782
|
+
|
|
3783
|
+
/***/ 68097:
|
|
3784
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
3788
|
+
/* eslint-disable es/no-symbol -- safe */
|
|
3789
|
+
module.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;
|
|
3790
|
+
|
|
3791
|
+
|
|
3792
|
+
/***/ }),
|
|
3793
|
+
|
|
3794
|
+
/***/ 13619:
|
|
3795
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3796
|
+
|
|
3797
|
+
|
|
3798
|
+
var toIntegerOrInfinity = __webpack_require__(39784);
|
|
3799
|
+
var max = Math.max;
|
|
3800
|
+
var min = Math.min;
|
|
3801
|
+
// Helper for a popular repeating case of the spec:
|
|
3802
|
+
// Let integer be ? ToInteger(index).
|
|
3803
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
3804
|
+
module.exports = function (index, length) {
|
|
3805
|
+
var integer = toIntegerOrInfinity(index);
|
|
3806
|
+
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
3807
|
+
};
|
|
3808
|
+
|
|
3809
|
+
|
|
3810
|
+
/***/ }),
|
|
3811
|
+
|
|
3812
|
+
/***/ 53324:
|
|
3813
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3814
|
+
|
|
3815
|
+
|
|
3816
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
3817
|
+
var IndexedObject = __webpack_require__(21072);
|
|
3818
|
+
var requireObjectCoercible = __webpack_require__(7605);
|
|
3819
|
+
module.exports = function (it) {
|
|
3820
|
+
return IndexedObject(requireObjectCoercible(it));
|
|
3821
|
+
};
|
|
3822
|
+
|
|
3823
|
+
|
|
3824
|
+
/***/ }),
|
|
3825
|
+
|
|
3826
|
+
/***/ 39784:
|
|
3827
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3828
|
+
|
|
3829
|
+
|
|
3830
|
+
var trunc = __webpack_require__(64814);
|
|
3831
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
3832
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
3833
|
+
module.exports = function (argument) {
|
|
3834
|
+
var number = +argument;
|
|
3835
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
3836
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
3837
|
+
};
|
|
3838
|
+
|
|
3839
|
+
|
|
3840
|
+
/***/ }),
|
|
3841
|
+
|
|
3842
|
+
/***/ 72843:
|
|
3843
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3844
|
+
|
|
3845
|
+
|
|
3846
|
+
var toIntegerOrInfinity = __webpack_require__(39784);
|
|
3847
|
+
var min = Math.min;
|
|
3848
|
+
// `ToLength` abstract operation
|
|
3849
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
3850
|
+
module.exports = function (argument) {
|
|
3851
|
+
var len = toIntegerOrInfinity(argument);
|
|
3852
|
+
return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
3853
|
+
};
|
|
3854
|
+
|
|
3855
|
+
|
|
3856
|
+
/***/ }),
|
|
3857
|
+
|
|
3858
|
+
/***/ 58860:
|
|
3859
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
var requireObjectCoercible = __webpack_require__(7605);
|
|
3863
|
+
var $Object = Object;
|
|
3864
|
+
// `ToObject` abstract operation
|
|
3865
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
3866
|
+
module.exports = function (argument) {
|
|
3867
|
+
return $Object(requireObjectCoercible(argument));
|
|
3868
|
+
};
|
|
3869
|
+
|
|
3870
|
+
|
|
3871
|
+
/***/ }),
|
|
3872
|
+
|
|
3873
|
+
/***/ 18258:
|
|
3874
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
var call = __webpack_require__(31944);
|
|
3878
|
+
var isObject = __webpack_require__(56063);
|
|
3879
|
+
var isSymbol = __webpack_require__(81264);
|
|
3880
|
+
var getMethod = __webpack_require__(17585);
|
|
3881
|
+
var ordinaryToPrimitive = __webpack_require__(69775);
|
|
3882
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
3883
|
+
var $TypeError = TypeError;
|
|
3884
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
3885
|
+
// `ToPrimitive` abstract operation
|
|
3886
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
3887
|
+
module.exports = function (input, pref) {
|
|
3888
|
+
if (!isObject(input) || isSymbol(input))
|
|
3889
|
+
return input;
|
|
3890
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
3891
|
+
var result;
|
|
3892
|
+
if (exoticToPrim) {
|
|
3893
|
+
if (pref === undefined)
|
|
3894
|
+
pref = 'default';
|
|
3895
|
+
result = call(exoticToPrim, input, pref);
|
|
3896
|
+
if (!isObject(result) || isSymbol(result))
|
|
3897
|
+
return result;
|
|
3898
|
+
throw new $TypeError("Can't convert object to primitive value");
|
|
3899
|
+
}
|
|
3900
|
+
if (pref === undefined)
|
|
3901
|
+
pref = 'number';
|
|
3902
|
+
return ordinaryToPrimitive(input, pref);
|
|
3903
|
+
};
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
/***/ }),
|
|
3907
|
+
|
|
3908
|
+
/***/ 92776:
|
|
3909
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
var toPrimitive = __webpack_require__(18258);
|
|
3913
|
+
var isSymbol = __webpack_require__(81264);
|
|
3914
|
+
// `ToPropertyKey` abstract operation
|
|
3915
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
3916
|
+
module.exports = function (argument) {
|
|
3917
|
+
var key = toPrimitive(argument, 'string');
|
|
3918
|
+
return isSymbol(key) ? key : key + '';
|
|
3919
|
+
};
|
|
3920
|
+
|
|
3921
|
+
|
|
3922
|
+
/***/ }),
|
|
3923
|
+
|
|
3924
|
+
/***/ 46833:
|
|
3925
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
3929
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
3930
|
+
var test = {};
|
|
3931
|
+
test[TO_STRING_TAG] = 'z';
|
|
3932
|
+
module.exports = String(test) === '[object z]';
|
|
3933
|
+
|
|
3934
|
+
|
|
3935
|
+
/***/ }),
|
|
3936
|
+
|
|
3937
|
+
/***/ 67850:
|
|
3938
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3939
|
+
|
|
3940
|
+
|
|
3941
|
+
var classof = __webpack_require__(12318);
|
|
3942
|
+
var $String = String;
|
|
3943
|
+
module.exports = function (argument) {
|
|
3944
|
+
if (classof(argument) === 'Symbol')
|
|
3945
|
+
throw new TypeError('Cannot convert a Symbol value to a string');
|
|
3946
|
+
return $String(argument);
|
|
3947
|
+
};
|
|
3948
|
+
|
|
3949
|
+
|
|
3950
|
+
/***/ }),
|
|
3951
|
+
|
|
3952
|
+
/***/ 5174:
|
|
3953
|
+
/***/ (function(module) {
|
|
3954
|
+
|
|
3955
|
+
|
|
3956
|
+
var $String = String;
|
|
3957
|
+
module.exports = function (argument) {
|
|
3958
|
+
try {
|
|
3959
|
+
return $String(argument);
|
|
3960
|
+
}
|
|
3961
|
+
catch (error) {
|
|
3962
|
+
return 'Object';
|
|
3963
|
+
}
|
|
3964
|
+
};
|
|
3965
|
+
|
|
3966
|
+
|
|
3967
|
+
/***/ }),
|
|
3968
|
+
|
|
3969
|
+
/***/ 15489:
|
|
3970
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3971
|
+
|
|
3972
|
+
|
|
3973
|
+
var uncurryThis = __webpack_require__(84369);
|
|
3974
|
+
var id = 0;
|
|
3975
|
+
var postfix = Math.random();
|
|
3976
|
+
var toString = uncurryThis(1.0.toString);
|
|
3977
|
+
module.exports = function (key) {
|
|
3978
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
3979
|
+
};
|
|
3980
|
+
|
|
3981
|
+
|
|
3982
|
+
/***/ }),
|
|
3983
|
+
|
|
3984
|
+
/***/ 16401:
|
|
3985
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3986
|
+
|
|
3987
|
+
|
|
3988
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
3989
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
3990
|
+
module.exports = NATIVE_SYMBOL
|
|
3991
|
+
&& !Symbol.sham
|
|
3992
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
3993
|
+
|
|
3994
|
+
|
|
3995
|
+
/***/ }),
|
|
3996
|
+
|
|
3997
|
+
/***/ 90739:
|
|
3998
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
3999
|
+
|
|
4000
|
+
|
|
4001
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
4002
|
+
var fails = __webpack_require__(11794);
|
|
4003
|
+
// V8 ~ Chrome 36-
|
|
4004
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
4005
|
+
module.exports = DESCRIPTORS && fails(function () {
|
|
4006
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
4007
|
+
return Object.defineProperty(function () { }, 'prototype', {
|
|
4008
|
+
value: 42,
|
|
4009
|
+
writable: false
|
|
4010
|
+
}).prototype !== 42;
|
|
4011
|
+
});
|
|
4012
|
+
|
|
4013
|
+
|
|
4014
|
+
/***/ }),
|
|
4015
|
+
|
|
4016
|
+
/***/ 14041:
|
|
4017
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
var globalThis = __webpack_require__(36749);
|
|
4021
|
+
var isCallable = __webpack_require__(55468);
|
|
4022
|
+
var WeakMap = globalThis.WeakMap;
|
|
4023
|
+
module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
4024
|
+
|
|
4025
|
+
|
|
4026
|
+
/***/ }),
|
|
4027
|
+
|
|
4028
|
+
/***/ 44604:
|
|
4029
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4030
|
+
|
|
4031
|
+
|
|
4032
|
+
var path = __webpack_require__(21504);
|
|
4033
|
+
var hasOwn = __webpack_require__(58898);
|
|
4034
|
+
var wrappedWellKnownSymbolModule = __webpack_require__(25514);
|
|
4035
|
+
var defineProperty = (__webpack_require__(11154).f);
|
|
4036
|
+
module.exports = function (NAME) {
|
|
4037
|
+
var Symbol = path.Symbol || (path.Symbol = {});
|
|
4038
|
+
if (!hasOwn(Symbol, NAME))
|
|
4039
|
+
defineProperty(Symbol, NAME, {
|
|
4040
|
+
value: wrappedWellKnownSymbolModule.f(NAME)
|
|
4041
|
+
});
|
|
4042
|
+
};
|
|
4043
|
+
|
|
4044
|
+
|
|
4045
|
+
/***/ }),
|
|
4046
|
+
|
|
4047
|
+
/***/ 25514:
|
|
4048
|
+
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
|
|
4049
|
+
|
|
4050
|
+
|
|
4051
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
4052
|
+
exports.f = wellKnownSymbol;
|
|
4053
|
+
|
|
4054
|
+
|
|
4055
|
+
/***/ }),
|
|
4056
|
+
|
|
4057
|
+
/***/ 47226:
|
|
4058
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
4059
|
+
|
|
4060
|
+
|
|
4061
|
+
var globalThis = __webpack_require__(36749);
|
|
4062
|
+
var shared = __webpack_require__(27962);
|
|
4063
|
+
var hasOwn = __webpack_require__(58898);
|
|
4064
|
+
var uid = __webpack_require__(15489);
|
|
4065
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
4066
|
+
var USE_SYMBOL_AS_UID = __webpack_require__(16401);
|
|
4067
|
+
var Symbol = globalThis.Symbol;
|
|
4068
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
4069
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;
|
|
4070
|
+
module.exports = function (name) {
|
|
4071
|
+
if (!hasOwn(WellKnownSymbolsStore, name)) {
|
|
4072
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)
|
|
4073
|
+
? Symbol[name]
|
|
4074
|
+
: createWellKnownSymbol('Symbol.' + name);
|
|
4075
|
+
}
|
|
4076
|
+
return WellKnownSymbolsStore[name];
|
|
4077
|
+
};
|
|
4078
|
+
|
|
4079
|
+
|
|
4080
|
+
/***/ }),
|
|
4081
|
+
|
|
4082
|
+
/***/ 92059:
|
|
4083
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4084
|
+
|
|
4085
|
+
|
|
4086
|
+
var $ = __webpack_require__(22829);
|
|
4087
|
+
var fails = __webpack_require__(11794);
|
|
4088
|
+
var isArray = __webpack_require__(96127);
|
|
4089
|
+
var isObject = __webpack_require__(56063);
|
|
4090
|
+
var toObject = __webpack_require__(58860);
|
|
4091
|
+
var lengthOfArrayLike = __webpack_require__(2701);
|
|
4092
|
+
var doesNotExceedSafeInteger = __webpack_require__(74098);
|
|
4093
|
+
var createProperty = __webpack_require__(44849);
|
|
4094
|
+
var arraySpeciesCreate = __webpack_require__(24686);
|
|
4095
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__(16074);
|
|
4096
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
4097
|
+
var V8_VERSION = __webpack_require__(9696);
|
|
4098
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
4099
|
+
// We can't use this feature detection in V8 since it causes
|
|
4100
|
+
// deoptimization and serious performance degradation
|
|
4101
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
4102
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
4103
|
+
var array = [];
|
|
4104
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
4105
|
+
return array.concat()[0] !== array;
|
|
4106
|
+
});
|
|
4107
|
+
var isConcatSpreadable = function (O) {
|
|
4108
|
+
if (!isObject(O))
|
|
4109
|
+
return false;
|
|
4110
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
4111
|
+
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
4112
|
+
};
|
|
4113
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');
|
|
4114
|
+
// `Array.prototype.concat` method
|
|
4115
|
+
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
4116
|
+
// with adding support of @@isConcatSpreadable and @@species
|
|
4117
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
4118
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
4119
|
+
concat: function concat(arg) {
|
|
4120
|
+
var O = toObject(this);
|
|
4121
|
+
var A = arraySpeciesCreate(O, 0);
|
|
4122
|
+
var n = 0;
|
|
4123
|
+
var i, k, length, len, E;
|
|
4124
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
4125
|
+
E = i === -1 ? O : arguments[i];
|
|
4126
|
+
if (isConcatSpreadable(E)) {
|
|
4127
|
+
len = lengthOfArrayLike(E);
|
|
4128
|
+
doesNotExceedSafeInteger(n + len);
|
|
4129
|
+
for (k = 0; k < len; k++, n++)
|
|
4130
|
+
if (k in E)
|
|
4131
|
+
createProperty(A, n, E[k]);
|
|
4132
|
+
}
|
|
4133
|
+
else {
|
|
4134
|
+
doesNotExceedSafeInteger(n + 1);
|
|
4135
|
+
createProperty(A, n++, E);
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
A.length = n;
|
|
4139
|
+
return A;
|
|
4140
|
+
}
|
|
4141
|
+
});
|
|
4142
|
+
|
|
4143
|
+
|
|
4144
|
+
/***/ }),
|
|
4145
|
+
|
|
4146
|
+
/***/ 49445:
|
|
4147
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4148
|
+
|
|
4149
|
+
|
|
4150
|
+
var $ = __webpack_require__(22829);
|
|
4151
|
+
var $findIndex = (__webpack_require__(84536).findIndex);
|
|
4152
|
+
var addToUnscopables = __webpack_require__(1922);
|
|
4153
|
+
var FIND_INDEX = 'findIndex';
|
|
4154
|
+
var SKIPS_HOLES = true;
|
|
4155
|
+
// Shouldn't skip holes
|
|
4156
|
+
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
|
|
4157
|
+
if (FIND_INDEX in [])
|
|
4158
|
+
Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
|
|
4159
|
+
// `Array.prototype.findIndex` method
|
|
4160
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findindex
|
|
4161
|
+
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
4162
|
+
findIndex: function findIndex(callbackfn /* , that = undefined */) {
|
|
4163
|
+
return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
4164
|
+
}
|
|
4165
|
+
});
|
|
4166
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
4167
|
+
addToUnscopables(FIND_INDEX);
|
|
4168
|
+
|
|
4169
|
+
|
|
4170
|
+
/***/ }),
|
|
4171
|
+
|
|
4172
|
+
/***/ 69507:
|
|
4173
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4174
|
+
|
|
4175
|
+
|
|
4176
|
+
var $ = __webpack_require__(22829);
|
|
4177
|
+
var from = __webpack_require__(91531);
|
|
4178
|
+
var checkCorrectnessOfIteration = __webpack_require__(60947);
|
|
4179
|
+
var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {
|
|
4180
|
+
// eslint-disable-next-line es/no-array-from -- required for testing
|
|
4181
|
+
Array.from(iterable);
|
|
4182
|
+
});
|
|
4183
|
+
// `Array.from` method
|
|
4184
|
+
// https://tc39.es/ecma262/#sec-array.from
|
|
4185
|
+
$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {
|
|
4186
|
+
from: from
|
|
4187
|
+
});
|
|
4188
|
+
|
|
4189
|
+
|
|
4190
|
+
/***/ }),
|
|
4191
|
+
|
|
4192
|
+
/***/ 15159:
|
|
4193
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4194
|
+
|
|
4195
|
+
|
|
4196
|
+
var $ = __webpack_require__(22829);
|
|
4197
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
4198
|
+
var apply = __webpack_require__(14150);
|
|
4199
|
+
var call = __webpack_require__(31944);
|
|
4200
|
+
var uncurryThis = __webpack_require__(84369);
|
|
4201
|
+
var fails = __webpack_require__(11794);
|
|
4202
|
+
var isCallable = __webpack_require__(55468);
|
|
4203
|
+
var isSymbol = __webpack_require__(81264);
|
|
4204
|
+
var arraySlice = __webpack_require__(85457);
|
|
4205
|
+
var getReplacerFunction = __webpack_require__(91918);
|
|
4206
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
4207
|
+
var $String = String;
|
|
4208
|
+
var $stringify = getBuiltIn('JSON', 'stringify');
|
|
4209
|
+
var exec = uncurryThis(/./.exec);
|
|
4210
|
+
var charAt = uncurryThis(''.charAt);
|
|
4211
|
+
var charCodeAt = uncurryThis(''.charCodeAt);
|
|
4212
|
+
var replace = uncurryThis(''.replace);
|
|
4213
|
+
var numberToString = uncurryThis(1.0.toString);
|
|
4214
|
+
var tester = /[\uD800-\uDFFF]/g;
|
|
4215
|
+
var low = /^[\uD800-\uDBFF]$/;
|
|
4216
|
+
var hi = /^[\uDC00-\uDFFF]$/;
|
|
4217
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
|
|
4218
|
+
var symbol = getBuiltIn('Symbol')('stringify detection');
|
|
4219
|
+
// MS Edge converts symbol values to JSON as {}
|
|
4220
|
+
return $stringify([symbol]) !== '[null]'
|
|
4221
|
+
// WebKit converts symbol values to JSON as null
|
|
4222
|
+
|| $stringify({ a: symbol }) !== '{}'
|
|
4223
|
+
// V8 throws on boxed symbols
|
|
4224
|
+
|| $stringify(Object(symbol)) !== '{}';
|
|
4225
|
+
});
|
|
4226
|
+
// https://github.com/tc39/proposal-well-formed-stringify
|
|
4227
|
+
var ILL_FORMED_UNICODE = fails(function () {
|
|
4228
|
+
return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
|
|
4229
|
+
|| $stringify('\uDEAD') !== '"\\udead"';
|
|
4230
|
+
});
|
|
4231
|
+
var stringifyWithSymbolsFix = function (it, replacer) {
|
|
4232
|
+
var args = arraySlice(arguments);
|
|
4233
|
+
var $replacer = getReplacerFunction(replacer);
|
|
4234
|
+
if (!isCallable($replacer) && (it === undefined || isSymbol(it)))
|
|
4235
|
+
return; // IE8 returns string on undefined
|
|
4236
|
+
args[1] = function (key, value) {
|
|
4237
|
+
// some old implementations (like WebKit) could pass numbers as keys
|
|
4238
|
+
if (isCallable($replacer))
|
|
4239
|
+
value = call($replacer, this, $String(key), value);
|
|
4240
|
+
if (!isSymbol(value))
|
|
4241
|
+
return value;
|
|
4242
|
+
};
|
|
4243
|
+
return apply($stringify, null, args);
|
|
4244
|
+
};
|
|
4245
|
+
var fixIllFormed = function (match, offset, string) {
|
|
4246
|
+
var prev = charAt(string, offset - 1);
|
|
4247
|
+
var next = charAt(string, offset + 1);
|
|
4248
|
+
if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
|
|
4249
|
+
return '\\u' + numberToString(charCodeAt(match, 0), 16);
|
|
4250
|
+
}
|
|
4251
|
+
return match;
|
|
4252
|
+
};
|
|
4253
|
+
if ($stringify) {
|
|
4254
|
+
// `JSON.stringify` method
|
|
4255
|
+
// https://tc39.es/ecma262/#sec-json.stringify
|
|
4256
|
+
$({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
4257
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
4258
|
+
stringify: function stringify(it, replacer, space) {
|
|
4259
|
+
var args = arraySlice(arguments);
|
|
4260
|
+
var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
4261
|
+
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
|
|
4262
|
+
}
|
|
4263
|
+
});
|
|
4264
|
+
}
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
|
+
/***/ }),
|
|
4268
|
+
|
|
4269
|
+
/***/ 57914:
|
|
4270
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4271
|
+
|
|
4272
|
+
|
|
4273
|
+
var globalThis = __webpack_require__(36749);
|
|
4274
|
+
var setToStringTag = __webpack_require__(36698);
|
|
4275
|
+
// JSON[@@toStringTag] property
|
|
4276
|
+
// https://tc39.es/ecma262/#sec-json-@@tostringtag
|
|
4277
|
+
setToStringTag(globalThis.JSON, 'JSON', true);
|
|
4278
|
+
|
|
4279
|
+
|
|
4280
|
+
/***/ }),
|
|
4281
|
+
|
|
4282
|
+
/***/ 20926:
|
|
4283
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4284
|
+
|
|
4285
|
+
|
|
4286
|
+
var setToStringTag = __webpack_require__(36698);
|
|
4287
|
+
// Math[@@toStringTag] property
|
|
4288
|
+
// https://tc39.es/ecma262/#sec-math-@@tostringtag
|
|
4289
|
+
setToStringTag(Math, 'Math', true);
|
|
4290
|
+
|
|
4291
|
+
|
|
4292
|
+
/***/ }),
|
|
4293
|
+
|
|
4294
|
+
/***/ 43130:
|
|
4295
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4296
|
+
|
|
4297
|
+
|
|
4298
|
+
var $ = __webpack_require__(22829);
|
|
4299
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
4300
|
+
var fails = __webpack_require__(11794);
|
|
4301
|
+
var getOwnPropertySymbolsModule = __webpack_require__(89452);
|
|
4302
|
+
var toObject = __webpack_require__(58860);
|
|
4303
|
+
// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
|
|
4304
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3443
|
|
4305
|
+
var FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });
|
|
4306
|
+
// `Object.getOwnPropertySymbols` method
|
|
4307
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertysymbols
|
|
4308
|
+
$({ target: 'Object', stat: true, forced: FORCED }, {
|
|
4309
|
+
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
4310
|
+
var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
4311
|
+
return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];
|
|
4312
|
+
}
|
|
4313
|
+
});
|
|
4314
|
+
|
|
4315
|
+
|
|
4316
|
+
/***/ }),
|
|
4317
|
+
|
|
4318
|
+
/***/ 7222:
|
|
4319
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4320
|
+
|
|
4321
|
+
|
|
4322
|
+
var TO_STRING_TAG_SUPPORT = __webpack_require__(46833);
|
|
4323
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
4324
|
+
var toString = __webpack_require__(46724);
|
|
4325
|
+
// `Object.prototype.toString` method
|
|
4326
|
+
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
4327
|
+
if (!TO_STRING_TAG_SUPPORT) {
|
|
4328
|
+
defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });
|
|
4329
|
+
}
|
|
4330
|
+
|
|
4331
|
+
|
|
4332
|
+
/***/ }),
|
|
4333
|
+
|
|
4334
|
+
/***/ 83775:
|
|
4335
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4336
|
+
|
|
4337
|
+
|
|
4338
|
+
var $ = __webpack_require__(22829);
|
|
4339
|
+
var globalThis = __webpack_require__(36749);
|
|
4340
|
+
var setToStringTag = __webpack_require__(36698);
|
|
4341
|
+
$({ global: true }, { Reflect: {} });
|
|
4342
|
+
// Reflect[@@toStringTag] property
|
|
4343
|
+
// https://tc39.es/ecma262/#sec-reflect-@@tostringtag
|
|
4344
|
+
setToStringTag(globalThis.Reflect, 'Reflect', true);
|
|
4345
|
+
|
|
4346
|
+
|
|
4347
|
+
/***/ }),
|
|
4348
|
+
|
|
4349
|
+
/***/ 95491:
|
|
4350
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4351
|
+
|
|
4352
|
+
|
|
4353
|
+
var charAt = (__webpack_require__(48692).charAt);
|
|
4354
|
+
var toString = __webpack_require__(67850);
|
|
4355
|
+
var InternalStateModule = __webpack_require__(238);
|
|
4356
|
+
var defineIterator = __webpack_require__(33649);
|
|
4357
|
+
var createIterResultObject = __webpack_require__(11392);
|
|
4358
|
+
var STRING_ITERATOR = 'String Iterator';
|
|
4359
|
+
var setInternalState = InternalStateModule.set;
|
|
4360
|
+
var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);
|
|
4361
|
+
// `String.prototype[@@iterator]` method
|
|
4362
|
+
// https://tc39.es/ecma262/#sec-string.prototype-@@iterator
|
|
4363
|
+
defineIterator(String, 'String', function (iterated) {
|
|
4364
|
+
setInternalState(this, {
|
|
4365
|
+
type: STRING_ITERATOR,
|
|
4366
|
+
string: toString(iterated),
|
|
4367
|
+
index: 0
|
|
4368
|
+
});
|
|
4369
|
+
// `%StringIteratorPrototype%.next` method
|
|
4370
|
+
// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next
|
|
4371
|
+
}, function next() {
|
|
4372
|
+
var state = getInternalState(this);
|
|
4373
|
+
var string = state.string;
|
|
4374
|
+
var index = state.index;
|
|
4375
|
+
var point;
|
|
4376
|
+
if (index >= string.length)
|
|
4377
|
+
return createIterResultObject(undefined, true);
|
|
4378
|
+
point = charAt(string, index);
|
|
4379
|
+
state.index += point.length;
|
|
4380
|
+
return createIterResultObject(point, false);
|
|
4381
|
+
});
|
|
4382
|
+
|
|
4383
|
+
|
|
4384
|
+
/***/ }),
|
|
4385
|
+
|
|
4386
|
+
/***/ 10695:
|
|
4387
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4388
|
+
|
|
4389
|
+
|
|
4390
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4391
|
+
// `Symbol.asyncIterator` well-known symbol
|
|
4392
|
+
// https://tc39.es/ecma262/#sec-symbol.asynciterator
|
|
4393
|
+
defineWellKnownSymbol('asyncIterator');
|
|
4394
|
+
|
|
4395
|
+
|
|
4396
|
+
/***/ }),
|
|
4397
|
+
|
|
4398
|
+
/***/ 2624:
|
|
4399
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4400
|
+
|
|
4401
|
+
|
|
4402
|
+
var $ = __webpack_require__(22829);
|
|
4403
|
+
var globalThis = __webpack_require__(36749);
|
|
4404
|
+
var call = __webpack_require__(31944);
|
|
4405
|
+
var uncurryThis = __webpack_require__(84369);
|
|
4406
|
+
var IS_PURE = __webpack_require__(32470);
|
|
4407
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
4408
|
+
var NATIVE_SYMBOL = __webpack_require__(8464);
|
|
4409
|
+
var fails = __webpack_require__(11794);
|
|
4410
|
+
var hasOwn = __webpack_require__(58898);
|
|
4411
|
+
var isPrototypeOf = __webpack_require__(67618);
|
|
4412
|
+
var anObject = __webpack_require__(79002);
|
|
4413
|
+
var toIndexedObject = __webpack_require__(53324);
|
|
4414
|
+
var toPropertyKey = __webpack_require__(92776);
|
|
4415
|
+
var $toString = __webpack_require__(67850);
|
|
4416
|
+
var createPropertyDescriptor = __webpack_require__(72787);
|
|
4417
|
+
var nativeObjectCreate = __webpack_require__(52713);
|
|
4418
|
+
var objectKeys = __webpack_require__(14769);
|
|
4419
|
+
var getOwnPropertyNamesModule = __webpack_require__(17213);
|
|
4420
|
+
var getOwnPropertyNamesExternal = __webpack_require__(23701);
|
|
4421
|
+
var getOwnPropertySymbolsModule = __webpack_require__(89452);
|
|
4422
|
+
var getOwnPropertyDescriptorModule = __webpack_require__(34072);
|
|
4423
|
+
var definePropertyModule = __webpack_require__(11154);
|
|
4424
|
+
var definePropertiesModule = __webpack_require__(68126);
|
|
4425
|
+
var propertyIsEnumerableModule = __webpack_require__(66000);
|
|
4426
|
+
var defineBuiltIn = __webpack_require__(47941);
|
|
4427
|
+
var defineBuiltInAccessor = __webpack_require__(79093);
|
|
4428
|
+
var shared = __webpack_require__(27962);
|
|
4429
|
+
var sharedKey = __webpack_require__(44840);
|
|
4430
|
+
var hiddenKeys = __webpack_require__(25220);
|
|
4431
|
+
var uid = __webpack_require__(15489);
|
|
4432
|
+
var wellKnownSymbol = __webpack_require__(47226);
|
|
4433
|
+
var wrappedWellKnownSymbolModule = __webpack_require__(25514);
|
|
4434
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4435
|
+
var defineSymbolToPrimitive = __webpack_require__(67109);
|
|
4436
|
+
var setToStringTag = __webpack_require__(36698);
|
|
4437
|
+
var InternalStateModule = __webpack_require__(238);
|
|
4438
|
+
var $forEach = (__webpack_require__(84536).forEach);
|
|
4439
|
+
var HIDDEN = sharedKey('hidden');
|
|
4440
|
+
var SYMBOL = 'Symbol';
|
|
4441
|
+
var PROTOTYPE = 'prototype';
|
|
4442
|
+
var setInternalState = InternalStateModule.set;
|
|
4443
|
+
var getInternalState = InternalStateModule.getterFor(SYMBOL);
|
|
4444
|
+
var ObjectPrototype = Object[PROTOTYPE];
|
|
4445
|
+
var $Symbol = globalThis.Symbol;
|
|
4446
|
+
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
|
|
4447
|
+
var RangeError = globalThis.RangeError;
|
|
4448
|
+
var TypeError = globalThis.TypeError;
|
|
4449
|
+
var QObject = globalThis.QObject;
|
|
4450
|
+
var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
4451
|
+
var nativeDefineProperty = definePropertyModule.f;
|
|
4452
|
+
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
4453
|
+
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
4454
|
+
var push = uncurryThis([].push);
|
|
4455
|
+
var AllSymbols = shared('symbols');
|
|
4456
|
+
var ObjectPrototypeSymbols = shared('op-symbols');
|
|
4457
|
+
var WellKnownSymbolsStore = shared('wks');
|
|
4458
|
+
// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
|
|
4459
|
+
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
4460
|
+
// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
|
|
4461
|
+
var fallbackDefineProperty = function (O, P, Attributes) {
|
|
4462
|
+
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);
|
|
4463
|
+
if (ObjectPrototypeDescriptor)
|
|
4464
|
+
delete ObjectPrototype[P];
|
|
4465
|
+
nativeDefineProperty(O, P, Attributes);
|
|
4466
|
+
if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {
|
|
4467
|
+
nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);
|
|
4468
|
+
}
|
|
4469
|
+
};
|
|
4470
|
+
var setSymbolDescriptor = DESCRIPTORS && fails(function () {
|
|
4471
|
+
return nativeObjectCreate(nativeDefineProperty({}, 'a', {
|
|
4472
|
+
get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }
|
|
4473
|
+
})).a !== 7;
|
|
4474
|
+
}) ? fallbackDefineProperty : nativeDefineProperty;
|
|
4475
|
+
var wrap = function (tag, description) {
|
|
4476
|
+
var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
|
|
4477
|
+
setInternalState(symbol, {
|
|
4478
|
+
type: SYMBOL,
|
|
4479
|
+
tag: tag,
|
|
4480
|
+
description: description
|
|
4481
|
+
});
|
|
4482
|
+
if (!DESCRIPTORS)
|
|
4483
|
+
symbol.description = description;
|
|
4484
|
+
return symbol;
|
|
4485
|
+
};
|
|
4486
|
+
var $defineProperty = function defineProperty(O, P, Attributes) {
|
|
4487
|
+
if (O === ObjectPrototype)
|
|
4488
|
+
$defineProperty(ObjectPrototypeSymbols, P, Attributes);
|
|
4489
|
+
anObject(O);
|
|
4490
|
+
var key = toPropertyKey(P);
|
|
4491
|
+
anObject(Attributes);
|
|
4492
|
+
if (hasOwn(AllSymbols, key)) {
|
|
4493
|
+
if (!Attributes.enumerable) {
|
|
4494
|
+
if (!hasOwn(O, HIDDEN))
|
|
4495
|
+
nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));
|
|
4496
|
+
O[HIDDEN][key] = true;
|
|
4497
|
+
}
|
|
4498
|
+
else {
|
|
4499
|
+
if (hasOwn(O, HIDDEN) && O[HIDDEN][key])
|
|
4500
|
+
O[HIDDEN][key] = false;
|
|
4501
|
+
Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });
|
|
4502
|
+
}
|
|
4503
|
+
return setSymbolDescriptor(O, key, Attributes);
|
|
4504
|
+
}
|
|
4505
|
+
return nativeDefineProperty(O, key, Attributes);
|
|
4506
|
+
};
|
|
4507
|
+
var $defineProperties = function defineProperties(O, Properties) {
|
|
4508
|
+
anObject(O);
|
|
4509
|
+
var properties = toIndexedObject(Properties);
|
|
4510
|
+
var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));
|
|
4511
|
+
$forEach(keys, function (key) {
|
|
4512
|
+
if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key))
|
|
4513
|
+
$defineProperty(O, key, properties[key]);
|
|
4514
|
+
});
|
|
4515
|
+
return O;
|
|
4516
|
+
};
|
|
4517
|
+
var $create = function create(O, Properties) {
|
|
4518
|
+
return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
|
|
4519
|
+
};
|
|
4520
|
+
var $propertyIsEnumerable = function propertyIsEnumerable(V) {
|
|
4521
|
+
var P = toPropertyKey(V);
|
|
4522
|
+
var enumerable = call(nativePropertyIsEnumerable, this, P);
|
|
4523
|
+
if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P))
|
|
4524
|
+
return false;
|
|
4525
|
+
return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]
|
|
4526
|
+
? enumerable : true;
|
|
4527
|
+
};
|
|
4528
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {
|
|
4529
|
+
var it = toIndexedObject(O);
|
|
4530
|
+
var key = toPropertyKey(P);
|
|
4531
|
+
if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key))
|
|
4532
|
+
return;
|
|
4533
|
+
var descriptor = nativeGetOwnPropertyDescriptor(it, key);
|
|
4534
|
+
if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {
|
|
4535
|
+
descriptor.enumerable = true;
|
|
4536
|
+
}
|
|
4537
|
+
return descriptor;
|
|
4538
|
+
};
|
|
4539
|
+
var $getOwnPropertyNames = function getOwnPropertyNames(O) {
|
|
4540
|
+
var names = nativeGetOwnPropertyNames(toIndexedObject(O));
|
|
4541
|
+
var result = [];
|
|
4542
|
+
$forEach(names, function (key) {
|
|
4543
|
+
if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key))
|
|
4544
|
+
push(result, key);
|
|
4545
|
+
});
|
|
4546
|
+
return result;
|
|
4547
|
+
};
|
|
4548
|
+
var $getOwnPropertySymbols = function (O) {
|
|
4549
|
+
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;
|
|
4550
|
+
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));
|
|
4551
|
+
var result = [];
|
|
4552
|
+
$forEach(names, function (key) {
|
|
4553
|
+
if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {
|
|
4554
|
+
push(result, AllSymbols[key]);
|
|
4555
|
+
}
|
|
4556
|
+
});
|
|
4557
|
+
return result;
|
|
4558
|
+
};
|
|
4559
|
+
// `Symbol` constructor
|
|
4560
|
+
// https://tc39.es/ecma262/#sec-symbol-constructor
|
|
4561
|
+
if (!NATIVE_SYMBOL) {
|
|
4562
|
+
$Symbol = function Symbol() {
|
|
4563
|
+
if (isPrototypeOf(SymbolPrototype, this))
|
|
4564
|
+
throw new TypeError('Symbol is not a constructor');
|
|
4565
|
+
var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);
|
|
4566
|
+
var tag = uid(description);
|
|
4567
|
+
var setter = function (value) {
|
|
4568
|
+
var $this = this === undefined ? globalThis : this;
|
|
4569
|
+
if ($this === ObjectPrototype)
|
|
4570
|
+
call(setter, ObjectPrototypeSymbols, value);
|
|
4571
|
+
if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag))
|
|
4572
|
+
$this[HIDDEN][tag] = false;
|
|
4573
|
+
var descriptor = createPropertyDescriptor(1, value);
|
|
4574
|
+
try {
|
|
4575
|
+
setSymbolDescriptor($this, tag, descriptor);
|
|
4576
|
+
}
|
|
4577
|
+
catch (error) {
|
|
4578
|
+
if (!(error instanceof RangeError))
|
|
4579
|
+
throw error;
|
|
4580
|
+
fallbackDefineProperty($this, tag, descriptor);
|
|
4581
|
+
}
|
|
4582
|
+
};
|
|
4583
|
+
if (DESCRIPTORS && USE_SETTER)
|
|
4584
|
+
setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });
|
|
4585
|
+
return wrap(tag, description);
|
|
4586
|
+
};
|
|
4587
|
+
SymbolPrototype = $Symbol[PROTOTYPE];
|
|
4588
|
+
defineBuiltIn(SymbolPrototype, 'toString', function toString() {
|
|
4589
|
+
return getInternalState(this).tag;
|
|
4590
|
+
});
|
|
4591
|
+
defineBuiltIn($Symbol, 'withoutSetter', function (description) {
|
|
4592
|
+
return wrap(uid(description), description);
|
|
4593
|
+
});
|
|
4594
|
+
propertyIsEnumerableModule.f = $propertyIsEnumerable;
|
|
4595
|
+
definePropertyModule.f = $defineProperty;
|
|
4596
|
+
definePropertiesModule.f = $defineProperties;
|
|
4597
|
+
getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;
|
|
4598
|
+
getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
|
|
4599
|
+
getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;
|
|
4600
|
+
wrappedWellKnownSymbolModule.f = function (name) {
|
|
4601
|
+
return wrap(wellKnownSymbol(name), name);
|
|
4602
|
+
};
|
|
4603
|
+
if (DESCRIPTORS) {
|
|
4604
|
+
// https://github.com/tc39/proposal-Symbol-description
|
|
4605
|
+
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
4606
|
+
configurable: true,
|
|
4607
|
+
get: function description() {
|
|
4608
|
+
return getInternalState(this).description;
|
|
4609
|
+
}
|
|
4610
|
+
});
|
|
4611
|
+
if (!IS_PURE) {
|
|
4612
|
+
defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });
|
|
4613
|
+
}
|
|
4614
|
+
}
|
|
4615
|
+
}
|
|
4616
|
+
$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {
|
|
4617
|
+
Symbol: $Symbol
|
|
4618
|
+
});
|
|
4619
|
+
$forEach(objectKeys(WellKnownSymbolsStore), function (name) {
|
|
4620
|
+
defineWellKnownSymbol(name);
|
|
4621
|
+
});
|
|
4622
|
+
$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {
|
|
4623
|
+
useSetter: function () { USE_SETTER = true; },
|
|
4624
|
+
useSimple: function () { USE_SETTER = false; }
|
|
4625
|
+
});
|
|
4626
|
+
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {
|
|
4627
|
+
// `Object.create` method
|
|
4628
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
4629
|
+
create: $create,
|
|
4630
|
+
// `Object.defineProperty` method
|
|
4631
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
4632
|
+
defineProperty: $defineProperty,
|
|
4633
|
+
// `Object.defineProperties` method
|
|
4634
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
4635
|
+
defineProperties: $defineProperties,
|
|
4636
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
4637
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
|
4638
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
4639
|
+
});
|
|
4640
|
+
$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {
|
|
4641
|
+
// `Object.getOwnPropertyNames` method
|
|
4642
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
4643
|
+
getOwnPropertyNames: $getOwnPropertyNames
|
|
4644
|
+
});
|
|
4645
|
+
// `Symbol.prototype[@@toPrimitive]` method
|
|
4646
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
|
|
4647
|
+
defineSymbolToPrimitive();
|
|
4648
|
+
// `Symbol.prototype[@@toStringTag]` property
|
|
4649
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
|
|
4650
|
+
setToStringTag($Symbol, SYMBOL);
|
|
4651
|
+
hiddenKeys[HIDDEN] = true;
|
|
4652
|
+
|
|
4653
|
+
|
|
4654
|
+
/***/ }),
|
|
4655
|
+
|
|
4656
|
+
/***/ 62630:
|
|
4657
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4658
|
+
|
|
4659
|
+
// `Symbol.prototype.description` getter
|
|
4660
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype.description
|
|
4661
|
+
|
|
4662
|
+
var $ = __webpack_require__(22829);
|
|
4663
|
+
var DESCRIPTORS = __webpack_require__(54525);
|
|
4664
|
+
var globalThis = __webpack_require__(36749);
|
|
4665
|
+
var uncurryThis = __webpack_require__(84369);
|
|
4666
|
+
var hasOwn = __webpack_require__(58898);
|
|
4667
|
+
var isCallable = __webpack_require__(55468);
|
|
4668
|
+
var isPrototypeOf = __webpack_require__(67618);
|
|
4669
|
+
var toString = __webpack_require__(67850);
|
|
4670
|
+
var defineBuiltInAccessor = __webpack_require__(79093);
|
|
4671
|
+
var copyConstructorProperties = __webpack_require__(79041);
|
|
4672
|
+
var NativeSymbol = globalThis.Symbol;
|
|
4673
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
4674
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
4675
|
+
// Safari 12 bug
|
|
4676
|
+
NativeSymbol().description !== undefined)) {
|
|
4677
|
+
var EmptyStringDescriptionStore = {};
|
|
4678
|
+
// wrap Symbol constructor for correct work with undefined description
|
|
4679
|
+
var SymbolWrapper = function Symbol() {
|
|
4680
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
|
4681
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
4682
|
+
// eslint-disable-next-line sonar/inconsistent-function-call -- ok
|
|
4683
|
+
? new NativeSymbol(description)
|
|
4684
|
+
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
4685
|
+
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
4686
|
+
if (description === '')
|
|
4687
|
+
EmptyStringDescriptionStore[result] = true;
|
|
4688
|
+
return result;
|
|
4689
|
+
};
|
|
4690
|
+
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
|
4691
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
|
4692
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
|
4693
|
+
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
4694
|
+
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
|
4695
|
+
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
|
4696
|
+
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
4697
|
+
var replace = uncurryThis(''.replace);
|
|
4698
|
+
var stringSlice = uncurryThis(''.slice);
|
|
4699
|
+
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
4700
|
+
configurable: true,
|
|
4701
|
+
get: function description() {
|
|
4702
|
+
var symbol = thisSymbolValue(this);
|
|
4703
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol))
|
|
4704
|
+
return '';
|
|
4705
|
+
var string = symbolDescriptiveString(symbol);
|
|
4706
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
|
4707
|
+
return desc === '' ? undefined : desc;
|
|
4708
|
+
}
|
|
4709
|
+
});
|
|
4710
|
+
$({ global: true, constructor: true, forced: true }, {
|
|
4711
|
+
Symbol: SymbolWrapper
|
|
4712
|
+
});
|
|
4713
|
+
}
|
|
4714
|
+
|
|
4715
|
+
|
|
4716
|
+
/***/ }),
|
|
4717
|
+
|
|
4718
|
+
/***/ 18323:
|
|
4719
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4720
|
+
|
|
4721
|
+
|
|
4722
|
+
var $ = __webpack_require__(22829);
|
|
4723
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
4724
|
+
var hasOwn = __webpack_require__(58898);
|
|
4725
|
+
var toString = __webpack_require__(67850);
|
|
4726
|
+
var shared = __webpack_require__(27962);
|
|
4727
|
+
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(68097);
|
|
4728
|
+
var StringToSymbolRegistry = shared('string-to-symbol-registry');
|
|
4729
|
+
var SymbolToStringRegistry = shared('symbol-to-string-registry');
|
|
4730
|
+
// `Symbol.for` method
|
|
4731
|
+
// https://tc39.es/ecma262/#sec-symbol.for
|
|
4732
|
+
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
|
|
4733
|
+
'for': function (key) {
|
|
4734
|
+
var string = toString(key);
|
|
4735
|
+
if (hasOwn(StringToSymbolRegistry, string))
|
|
4736
|
+
return StringToSymbolRegistry[string];
|
|
4737
|
+
var symbol = getBuiltIn('Symbol')(string);
|
|
4738
|
+
StringToSymbolRegistry[string] = symbol;
|
|
4739
|
+
SymbolToStringRegistry[symbol] = string;
|
|
4740
|
+
return symbol;
|
|
4741
|
+
}
|
|
4742
|
+
});
|
|
4743
|
+
|
|
4744
|
+
|
|
4745
|
+
/***/ }),
|
|
4746
|
+
|
|
4747
|
+
/***/ 4282:
|
|
4748
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4752
|
+
// `Symbol.hasInstance` well-known symbol
|
|
4753
|
+
// https://tc39.es/ecma262/#sec-symbol.hasinstance
|
|
4754
|
+
defineWellKnownSymbol('hasInstance');
|
|
4755
|
+
|
|
4756
|
+
|
|
4757
|
+
/***/ }),
|
|
4758
|
+
|
|
4759
|
+
/***/ 38163:
|
|
4760
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4761
|
+
|
|
4762
|
+
|
|
4763
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4764
|
+
// `Symbol.isConcatSpreadable` well-known symbol
|
|
4765
|
+
// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable
|
|
4766
|
+
defineWellKnownSymbol('isConcatSpreadable');
|
|
4767
|
+
|
|
4768
|
+
|
|
4769
|
+
/***/ }),
|
|
4770
|
+
|
|
4771
|
+
/***/ 86912:
|
|
4772
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4773
|
+
|
|
4774
|
+
|
|
4775
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4776
|
+
// `Symbol.iterator` well-known symbol
|
|
4777
|
+
// https://tc39.es/ecma262/#sec-symbol.iterator
|
|
4778
|
+
defineWellKnownSymbol('iterator');
|
|
4779
|
+
|
|
4780
|
+
|
|
4781
|
+
/***/ }),
|
|
4782
|
+
|
|
4783
|
+
/***/ 88598:
|
|
4784
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4785
|
+
|
|
4786
|
+
|
|
4787
|
+
// TODO: Remove this module from `core-js@4` since it's split to modules listed below
|
|
4788
|
+
__webpack_require__(2624);
|
|
4789
|
+
__webpack_require__(18323);
|
|
4790
|
+
__webpack_require__(87397);
|
|
4791
|
+
__webpack_require__(15159);
|
|
4792
|
+
__webpack_require__(43130);
|
|
4793
|
+
|
|
4794
|
+
|
|
4795
|
+
/***/ }),
|
|
4796
|
+
|
|
4797
|
+
/***/ 87397:
|
|
4798
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4799
|
+
|
|
4800
|
+
|
|
4801
|
+
var $ = __webpack_require__(22829);
|
|
4802
|
+
var hasOwn = __webpack_require__(58898);
|
|
4803
|
+
var isSymbol = __webpack_require__(81264);
|
|
4804
|
+
var tryToString = __webpack_require__(5174);
|
|
4805
|
+
var shared = __webpack_require__(27962);
|
|
4806
|
+
var NATIVE_SYMBOL_REGISTRY = __webpack_require__(68097);
|
|
4807
|
+
var SymbolToStringRegistry = shared('symbol-to-string-registry');
|
|
4808
|
+
// `Symbol.keyFor` method
|
|
4809
|
+
// https://tc39.es/ecma262/#sec-symbol.keyfor
|
|
4810
|
+
$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {
|
|
4811
|
+
keyFor: function keyFor(sym) {
|
|
4812
|
+
if (!isSymbol(sym))
|
|
4813
|
+
throw new TypeError(tryToString(sym) + ' is not a symbol');
|
|
4814
|
+
if (hasOwn(SymbolToStringRegistry, sym))
|
|
4815
|
+
return SymbolToStringRegistry[sym];
|
|
4816
|
+
}
|
|
4817
|
+
});
|
|
4818
|
+
|
|
4819
|
+
|
|
4820
|
+
/***/ }),
|
|
4821
|
+
|
|
4822
|
+
/***/ 94811:
|
|
4823
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4824
|
+
|
|
4825
|
+
|
|
4826
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4827
|
+
// `Symbol.matchAll` well-known symbol
|
|
4828
|
+
// https://tc39.es/ecma262/#sec-symbol.matchall
|
|
4829
|
+
defineWellKnownSymbol('matchAll');
|
|
4830
|
+
|
|
4831
|
+
|
|
4832
|
+
/***/ }),
|
|
4833
|
+
|
|
4834
|
+
/***/ 1957:
|
|
4835
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4836
|
+
|
|
4837
|
+
|
|
4838
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4839
|
+
// `Symbol.match` well-known symbol
|
|
4840
|
+
// https://tc39.es/ecma262/#sec-symbol.match
|
|
4841
|
+
defineWellKnownSymbol('match');
|
|
4842
|
+
|
|
4843
|
+
|
|
4844
|
+
/***/ }),
|
|
4845
|
+
|
|
4846
|
+
/***/ 89580:
|
|
4847
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4848
|
+
|
|
4849
|
+
|
|
4850
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4851
|
+
// `Symbol.replace` well-known symbol
|
|
4852
|
+
// https://tc39.es/ecma262/#sec-symbol.replace
|
|
4853
|
+
defineWellKnownSymbol('replace');
|
|
4854
|
+
|
|
4855
|
+
|
|
4856
|
+
/***/ }),
|
|
4857
|
+
|
|
4858
|
+
/***/ 40582:
|
|
4859
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4860
|
+
|
|
4861
|
+
|
|
4862
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4863
|
+
// `Symbol.search` well-known symbol
|
|
4864
|
+
// https://tc39.es/ecma262/#sec-symbol.search
|
|
4865
|
+
defineWellKnownSymbol('search');
|
|
4866
|
+
|
|
4867
|
+
|
|
4868
|
+
/***/ }),
|
|
4869
|
+
|
|
4870
|
+
/***/ 80294:
|
|
4871
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4872
|
+
|
|
4873
|
+
|
|
4874
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4875
|
+
// `Symbol.species` well-known symbol
|
|
4876
|
+
// https://tc39.es/ecma262/#sec-symbol.species
|
|
4877
|
+
defineWellKnownSymbol('species');
|
|
4878
|
+
|
|
4879
|
+
|
|
4880
|
+
/***/ }),
|
|
4881
|
+
|
|
4882
|
+
/***/ 19644:
|
|
4883
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4884
|
+
|
|
4885
|
+
|
|
4886
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4887
|
+
// `Symbol.split` well-known symbol
|
|
4888
|
+
// https://tc39.es/ecma262/#sec-symbol.split
|
|
4889
|
+
defineWellKnownSymbol('split');
|
|
4890
|
+
|
|
4891
|
+
|
|
4892
|
+
/***/ }),
|
|
4893
|
+
|
|
4894
|
+
/***/ 28619:
|
|
4895
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4896
|
+
|
|
4897
|
+
|
|
4898
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4899
|
+
var defineSymbolToPrimitive = __webpack_require__(67109);
|
|
4900
|
+
// `Symbol.toPrimitive` well-known symbol
|
|
4901
|
+
// https://tc39.es/ecma262/#sec-symbol.toprimitive
|
|
4902
|
+
defineWellKnownSymbol('toPrimitive');
|
|
4903
|
+
// `Symbol.prototype[@@toPrimitive]` method
|
|
4904
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive
|
|
4905
|
+
defineSymbolToPrimitive();
|
|
4906
|
+
|
|
4907
|
+
|
|
4908
|
+
/***/ }),
|
|
4909
|
+
|
|
4910
|
+
/***/ 76880:
|
|
4911
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4912
|
+
|
|
4913
|
+
|
|
4914
|
+
var getBuiltIn = __webpack_require__(93572);
|
|
4915
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4916
|
+
var setToStringTag = __webpack_require__(36698);
|
|
4917
|
+
// `Symbol.toStringTag` well-known symbol
|
|
4918
|
+
// https://tc39.es/ecma262/#sec-symbol.tostringtag
|
|
4919
|
+
defineWellKnownSymbol('toStringTag');
|
|
4920
|
+
// `Symbol.prototype[@@toStringTag]` property
|
|
4921
|
+
// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag
|
|
4922
|
+
setToStringTag(getBuiltIn('Symbol'), 'Symbol');
|
|
4923
|
+
|
|
4924
|
+
|
|
4925
|
+
/***/ }),
|
|
4926
|
+
|
|
4927
|
+
/***/ 9163:
|
|
4928
|
+
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
4929
|
+
|
|
4930
|
+
|
|
4931
|
+
var defineWellKnownSymbol = __webpack_require__(44604);
|
|
4932
|
+
// `Symbol.unscopables` well-known symbol
|
|
4933
|
+
// https://tc39.es/ecma262/#sec-symbol.unscopables
|
|
4934
|
+
defineWellKnownSymbol('unscopables');
|
|
4935
|
+
|
|
4936
|
+
|
|
4937
|
+
/***/ })
|
|
4938
|
+
|
|
4939
|
+
}]);
|