@sebgroup/green-react 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.d.ts +1 -0
- package/{index.js → index.esm.js} +1484 -401
- package/package.json +5 -6
- package/src/lib/accordion/accordion-item.d.ts +1 -1
- package/src/lib/accordion/accordion.d.ts +1 -1
- package/src/lib/alert-ribbon/alert-ribbon.d.ts +1 -1
- package/src/lib/badge/badge.d.ts +1 -1
- package/src/lib/card/card.d.ts +1 -1
- package/src/lib/datepicker/datepicker.d.ts +1 -1
- package/src/lib/dropdown/dropdown.d.ts +1 -1
- package/src/lib/form/button/button.d.ts +1 -1
- package/src/lib/form/buttonGroup/buttonGroup.d.ts +1 -1
- package/src/lib/form/formContext.d.ts +1 -1
- package/src/lib/form/group/group.d.ts +1 -1
- package/src/lib/form/iconButton/iconButton.d.ts +1 -1
- package/src/lib/form/input/input.d.ts +1 -1
- package/src/lib/form/radioButton/radioGroup.d.ts +1 -1
- package/src/lib/form/text/text.d.ts +1 -1
- package/src/lib/formItem/formItem.d.ts +1 -1
- package/src/lib/icons/bankId.d.ts +1 -1
- package/src/lib/icons/check.d.ts +1 -1
- package/src/lib/icons/chevronDown.d.ts +1 -1
- package/src/lib/icons/infoCircle.d.ts +1 -1
- package/src/lib/icons/square-exclamation.d.ts +1 -1
- package/src/lib/icons/square-info.d.ts +1 -1
- package/src/lib/icons/times.d.ts +1 -1
- package/src/lib/layout/flexbox/flexbox.d.ts +1 -1
- package/src/lib/link/link.d.ts +1 -1
- package/src/lib/list/list.d.ts +1 -1
- package/src/lib/list/listItem.d.ts +1 -1
- package/src/lib/list/valueList.d.ts +6 -6
- package/src/lib/modal/modal.d.ts +1 -1
- package/src/lib/navbar/navbar.d.ts +1 -1
- package/src/lib/select/select.d.ts +4 -4
- package/src/lib/slider/slider.d.ts +1 -1
- package/src/lib/stepper/stepper.d.ts +1 -1
- package/src/lib/tabs/tabs.d.ts +1 -1
- package/src/types/props/index.d.ts +1 -0
|
@@ -5,7 +5,7 @@ import classNames from 'classnames';
|
|
|
5
5
|
|
|
6
6
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
7
7
|
|
|
8
|
-
var fails$
|
|
8
|
+
var fails$f = function (exec) {
|
|
9
9
|
try {
|
|
10
10
|
return !!exec();
|
|
11
11
|
} catch (error) {
|
|
@@ -13,66 +13,66 @@ var fails$d = function (exec) {
|
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
var fails$
|
|
16
|
+
var fails$e = fails$f;
|
|
17
17
|
|
|
18
|
-
var functionBindNative = !fails$
|
|
18
|
+
var functionBindNative = !fails$e(function () {
|
|
19
19
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
20
20
|
var test = (function () { /* empty */ }).bind();
|
|
21
21
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
22
22
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
var NATIVE_BIND$
|
|
25
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
26
26
|
|
|
27
|
-
var FunctionPrototype$
|
|
28
|
-
var call$
|
|
29
|
-
var uncurryThisWithBind = NATIVE_BIND$
|
|
27
|
+
var FunctionPrototype$2 = Function.prototype;
|
|
28
|
+
var call$f = FunctionPrototype$2.call;
|
|
29
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$f, call$f);
|
|
30
30
|
|
|
31
|
-
var functionUncurryThis = NATIVE_BIND$
|
|
31
|
+
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
32
32
|
return function () {
|
|
33
|
-
return call$
|
|
33
|
+
return call$f.apply(fn, arguments);
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
var uncurryThis$
|
|
37
|
+
var uncurryThis$h = functionUncurryThis;
|
|
38
38
|
|
|
39
|
-
var toString$5 = uncurryThis$
|
|
40
|
-
var stringSlice$2 = uncurryThis$
|
|
39
|
+
var toString$5 = uncurryThis$h({}.toString);
|
|
40
|
+
var stringSlice$2 = uncurryThis$h(''.slice);
|
|
41
41
|
|
|
42
|
-
var classofRaw$
|
|
42
|
+
var classofRaw$2 = function (it) {
|
|
43
43
|
return stringSlice$2(toString$5(it), 8, -1);
|
|
44
44
|
};
|
|
45
45
|
|
|
46
|
-
var uncurryThis$
|
|
47
|
-
var fails$
|
|
48
|
-
var classof$
|
|
46
|
+
var uncurryThis$g = functionUncurryThis;
|
|
47
|
+
var fails$d = fails$f;
|
|
48
|
+
var classof$5 = classofRaw$2;
|
|
49
49
|
|
|
50
50
|
var $Object$4 = Object;
|
|
51
|
-
var split = uncurryThis$
|
|
51
|
+
var split = uncurryThis$g(''.split);
|
|
52
52
|
|
|
53
53
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
54
|
-
var indexedObject = fails$
|
|
54
|
+
var indexedObject = fails$d(function () {
|
|
55
55
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
56
56
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
57
57
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
58
58
|
}) ? function (it) {
|
|
59
|
-
return classof$
|
|
59
|
+
return classof$5(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
60
60
|
} : $Object$4;
|
|
61
61
|
|
|
62
62
|
// we can't use just `it == null` since of `document.all` special case
|
|
63
63
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
64
|
-
var isNullOrUndefined$
|
|
64
|
+
var isNullOrUndefined$4 = function (it) {
|
|
65
65
|
return it === null || it === undefined;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
|
-
var isNullOrUndefined$
|
|
68
|
+
var isNullOrUndefined$3 = isNullOrUndefined$4;
|
|
69
69
|
|
|
70
|
-
var $TypeError$
|
|
70
|
+
var $TypeError$c = TypeError;
|
|
71
71
|
|
|
72
72
|
// `RequireObjectCoercible` abstract operation
|
|
73
73
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
74
74
|
var requireObjectCoercible$3 = function (it) {
|
|
75
|
-
if (isNullOrUndefined$
|
|
75
|
+
if (isNullOrUndefined$3(it)) throw $TypeError$c("Can't call method on " + it);
|
|
76
76
|
return it;
|
|
77
77
|
};
|
|
78
78
|
|
|
@@ -89,7 +89,7 @@ var check = function (it) {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
92
|
-
var global$
|
|
92
|
+
var global$i =
|
|
93
93
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
94
94
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
95
95
|
check(typeof window == 'object' && window) ||
|
|
@@ -101,24 +101,24 @@ var global$d =
|
|
|
101
101
|
|
|
102
102
|
var shared$3 = {exports: {}};
|
|
103
103
|
|
|
104
|
-
var global$
|
|
104
|
+
var global$h = global$i;
|
|
105
105
|
|
|
106
106
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
107
107
|
var defineProperty$6 = Object.defineProperty;
|
|
108
108
|
|
|
109
109
|
var defineGlobalProperty$3 = function (key, value) {
|
|
110
110
|
try {
|
|
111
|
-
defineProperty$6(global$
|
|
111
|
+
defineProperty$6(global$h, key, { value: value, configurable: true, writable: true });
|
|
112
112
|
} catch (error) {
|
|
113
|
-
global$
|
|
113
|
+
global$h[key] = value;
|
|
114
114
|
} return value;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
var global$
|
|
117
|
+
var global$g = global$i;
|
|
118
118
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
119
119
|
|
|
120
120
|
var SHARED = '__core-js_shared__';
|
|
121
|
-
var store$3 = global$
|
|
121
|
+
var store$3 = global$g[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
122
122
|
|
|
123
123
|
var sharedStore = store$3;
|
|
124
124
|
|
|
@@ -144,10 +144,10 @@ var toObject$3 = function (argument) {
|
|
|
144
144
|
return $Object$3(requireObjectCoercible$1(argument));
|
|
145
145
|
};
|
|
146
146
|
|
|
147
|
-
var uncurryThis$
|
|
147
|
+
var uncurryThis$f = functionUncurryThis;
|
|
148
148
|
var toObject$2 = toObject$3;
|
|
149
149
|
|
|
150
|
-
var hasOwnProperty = uncurryThis$
|
|
150
|
+
var hasOwnProperty = uncurryThis$f({}.hasOwnProperty);
|
|
151
151
|
|
|
152
152
|
// `HasOwnProperty` abstract operation
|
|
153
153
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -156,11 +156,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
156
156
|
return hasOwnProperty(toObject$2(it), key);
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
var uncurryThis$
|
|
159
|
+
var uncurryThis$e = functionUncurryThis;
|
|
160
160
|
|
|
161
161
|
var id = 0;
|
|
162
162
|
var postfix = Math.random();
|
|
163
|
-
var toString$4 = uncurryThis$
|
|
163
|
+
var toString$4 = uncurryThis$e(1.0.toString);
|
|
164
164
|
|
|
165
165
|
var uid$2 = function (key) {
|
|
166
166
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
@@ -168,12 +168,12 @@ var uid$2 = function (key) {
|
|
|
168
168
|
|
|
169
169
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
170
170
|
|
|
171
|
-
var global$
|
|
172
|
-
var userAgent = engineUserAgent;
|
|
171
|
+
var global$f = global$i;
|
|
172
|
+
var userAgent$3 = engineUserAgent;
|
|
173
173
|
|
|
174
|
-
var process = global$
|
|
175
|
-
var Deno = global$
|
|
176
|
-
var versions = process && process.versions || Deno && Deno.version;
|
|
174
|
+
var process$4 = global$f.process;
|
|
175
|
+
var Deno$1 = global$f.Deno;
|
|
176
|
+
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
|
177
177
|
var v8 = versions && versions.v8;
|
|
178
178
|
var match, version;
|
|
179
179
|
|
|
@@ -186,10 +186,10 @@ if (v8) {
|
|
|
186
186
|
|
|
187
187
|
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
188
188
|
// so check `userAgent` even if `.v8` exists, but 0
|
|
189
|
-
if (!version && userAgent) {
|
|
190
|
-
match = userAgent.match(/Edge\/(\d+)/);
|
|
189
|
+
if (!version && userAgent$3) {
|
|
190
|
+
match = userAgent$3.match(/Edge\/(\d+)/);
|
|
191
191
|
if (!match || match[1] >= 74) {
|
|
192
|
-
match = userAgent.match(/Chrome\/(\d+)/);
|
|
192
|
+
match = userAgent$3.match(/Chrome\/(\d+)/);
|
|
193
193
|
if (match) version = +match[1];
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -198,17 +198,17 @@ var engineV8Version = version;
|
|
|
198
198
|
|
|
199
199
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
200
200
|
|
|
201
|
-
var V8_VERSION = engineV8Version;
|
|
202
|
-
var fails$
|
|
201
|
+
var V8_VERSION$1 = engineV8Version;
|
|
202
|
+
var fails$c = fails$f;
|
|
203
203
|
|
|
204
204
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
205
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
205
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
|
|
206
206
|
var symbol = Symbol();
|
|
207
207
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
208
208
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
209
209
|
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
210
210
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
211
|
-
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
211
|
+
!Symbol.sham && V8_VERSION$1 && V8_VERSION$1 < 41;
|
|
212
212
|
});
|
|
213
213
|
|
|
214
214
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
@@ -219,20 +219,20 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
219
219
|
&& !Symbol.sham
|
|
220
220
|
&& typeof Symbol.iterator == 'symbol';
|
|
221
221
|
|
|
222
|
-
var global$
|
|
222
|
+
var global$e = global$i;
|
|
223
223
|
var shared$2 = shared$3.exports;
|
|
224
|
-
var hasOwn$
|
|
224
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
225
225
|
var uid$1 = uid$2;
|
|
226
226
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
227
227
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
228
228
|
|
|
229
|
-
var Symbol$2 = global$
|
|
229
|
+
var Symbol$2 = global$e.Symbol;
|
|
230
230
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
231
231
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
232
232
|
|
|
233
|
-
var wellKnownSymbol$
|
|
234
|
-
if (!hasOwn$
|
|
235
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$
|
|
233
|
+
var wellKnownSymbol$e = function (name) {
|
|
234
|
+
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
235
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$b(Symbol$2, name)
|
|
236
236
|
? Symbol$2[name]
|
|
237
237
|
: createWellKnownSymbol('Symbol.' + name);
|
|
238
238
|
} return WellKnownSymbolsStore[name];
|
|
@@ -255,50 +255,50 @@ var documentAll$1 = $documentAll$1.all;
|
|
|
255
255
|
|
|
256
256
|
// `IsCallable` abstract operation
|
|
257
257
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
258
|
-
var isCallable$
|
|
258
|
+
var isCallable$l = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
259
259
|
return typeof argument == 'function' || argument === documentAll$1;
|
|
260
260
|
} : function (argument) {
|
|
261
261
|
return typeof argument == 'function';
|
|
262
262
|
};
|
|
263
263
|
|
|
264
|
-
var isCallable$
|
|
264
|
+
var isCallable$k = isCallable$l;
|
|
265
265
|
var $documentAll = documentAll_1;
|
|
266
266
|
|
|
267
267
|
var documentAll = $documentAll.all;
|
|
268
268
|
|
|
269
|
-
var isObject$
|
|
270
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
269
|
+
var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
270
|
+
return typeof it == 'object' ? it !== null : isCallable$k(it) || it === documentAll;
|
|
271
271
|
} : function (it) {
|
|
272
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
272
|
+
return typeof it == 'object' ? it !== null : isCallable$k(it);
|
|
273
273
|
};
|
|
274
274
|
|
|
275
|
-
var isObject$
|
|
275
|
+
var isObject$7 = isObject$8;
|
|
276
276
|
|
|
277
277
|
var $String$4 = String;
|
|
278
|
-
var $TypeError$
|
|
278
|
+
var $TypeError$b = TypeError;
|
|
279
279
|
|
|
280
280
|
// `Assert: Type(argument) is Object`
|
|
281
|
-
var anObject$
|
|
282
|
-
if (isObject$
|
|
283
|
-
throw $TypeError$
|
|
281
|
+
var anObject$c = function (argument) {
|
|
282
|
+
if (isObject$7(argument)) return argument;
|
|
283
|
+
throw $TypeError$b($String$4(argument) + ' is not an object');
|
|
284
284
|
};
|
|
285
285
|
|
|
286
286
|
var objectDefineProperties = {};
|
|
287
287
|
|
|
288
|
-
var fails$
|
|
288
|
+
var fails$b = fails$f;
|
|
289
289
|
|
|
290
290
|
// Detect IE8's incomplete defineProperty implementation
|
|
291
|
-
var descriptors = !fails$
|
|
291
|
+
var descriptors = !fails$b(function () {
|
|
292
292
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
293
293
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
294
294
|
});
|
|
295
295
|
|
|
296
|
-
var DESCRIPTORS$
|
|
297
|
-
var fails$
|
|
296
|
+
var DESCRIPTORS$b = descriptors;
|
|
297
|
+
var fails$a = fails$f;
|
|
298
298
|
|
|
299
299
|
// V8 ~ Chrome 36-
|
|
300
300
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
301
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
301
|
+
var v8PrototypeDefineBug = DESCRIPTORS$b && fails$a(function () {
|
|
302
302
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
303
303
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
304
304
|
value: 42,
|
|
@@ -308,55 +308,55 @@ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$8(function () {
|
|
|
308
308
|
|
|
309
309
|
var objectDefineProperty = {};
|
|
310
310
|
|
|
311
|
-
var global$
|
|
312
|
-
var isObject$
|
|
311
|
+
var global$d = global$i;
|
|
312
|
+
var isObject$6 = isObject$8;
|
|
313
313
|
|
|
314
|
-
var document$
|
|
314
|
+
var document$3 = global$d.document;
|
|
315
315
|
// typeof document.createElement is 'object' in old IE
|
|
316
|
-
var EXISTS$1 = isObject$
|
|
316
|
+
var EXISTS$1 = isObject$6(document$3) && isObject$6(document$3.createElement);
|
|
317
317
|
|
|
318
318
|
var documentCreateElement$2 = function (it) {
|
|
319
|
-
return EXISTS$1 ? document$
|
|
319
|
+
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
320
320
|
};
|
|
321
321
|
|
|
322
|
-
var DESCRIPTORS$
|
|
323
|
-
var fails$
|
|
324
|
-
var createElement = documentCreateElement$2;
|
|
322
|
+
var DESCRIPTORS$a = descriptors;
|
|
323
|
+
var fails$9 = fails$f;
|
|
324
|
+
var createElement$1 = documentCreateElement$2;
|
|
325
325
|
|
|
326
326
|
// Thanks to IE8 for its funny defineProperty
|
|
327
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
327
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$9(function () {
|
|
328
328
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
329
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
329
|
+
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
330
330
|
get: function () { return 7; }
|
|
331
331
|
}).a != 7;
|
|
332
332
|
});
|
|
333
333
|
|
|
334
|
-
var NATIVE_BIND = functionBindNative;
|
|
334
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
335
335
|
|
|
336
|
-
var call$
|
|
336
|
+
var call$e = Function.prototype.call;
|
|
337
337
|
|
|
338
|
-
var functionCall = NATIVE_BIND ? call$
|
|
339
|
-
return call$
|
|
338
|
+
var functionCall = NATIVE_BIND$2 ? call$e.bind(call$e) : function () {
|
|
339
|
+
return call$e.apply(call$e, arguments);
|
|
340
340
|
};
|
|
341
341
|
|
|
342
|
-
var global$
|
|
343
|
-
var isCallable$
|
|
342
|
+
var global$c = global$i;
|
|
343
|
+
var isCallable$j = isCallable$l;
|
|
344
344
|
|
|
345
345
|
var aFunction = function (argument) {
|
|
346
|
-
return isCallable$
|
|
346
|
+
return isCallable$j(argument) ? argument : undefined;
|
|
347
347
|
};
|
|
348
348
|
|
|
349
|
-
var getBuiltIn$
|
|
350
|
-
return arguments.length < 2 ? aFunction(global$
|
|
349
|
+
var getBuiltIn$7 = function (namespace, method) {
|
|
350
|
+
return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
|
|
351
351
|
};
|
|
352
352
|
|
|
353
|
-
var uncurryThis$
|
|
353
|
+
var uncurryThis$d = functionUncurryThis;
|
|
354
354
|
|
|
355
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
355
|
+
var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
|
|
356
356
|
|
|
357
|
-
var getBuiltIn$
|
|
358
|
-
var isCallable$
|
|
359
|
-
var isPrototypeOf$
|
|
357
|
+
var getBuiltIn$6 = getBuiltIn$7;
|
|
358
|
+
var isCallable$i = isCallable$l;
|
|
359
|
+
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
360
360
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
361
361
|
|
|
362
362
|
var $Object$2 = Object;
|
|
@@ -364,13 +364,13 @@ var $Object$2 = Object;
|
|
|
364
364
|
var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
365
365
|
return typeof it == 'symbol';
|
|
366
366
|
} : function (it) {
|
|
367
|
-
var $Symbol = getBuiltIn$
|
|
368
|
-
return isCallable$
|
|
367
|
+
var $Symbol = getBuiltIn$6('Symbol');
|
|
368
|
+
return isCallable$i($Symbol) && isPrototypeOf$4($Symbol.prototype, $Object$2(it));
|
|
369
369
|
};
|
|
370
370
|
|
|
371
371
|
var $String$3 = String;
|
|
372
372
|
|
|
373
|
-
var tryToString$
|
|
373
|
+
var tryToString$4 = function (argument) {
|
|
374
374
|
try {
|
|
375
375
|
return $String$3(argument);
|
|
376
376
|
} catch (error) {
|
|
@@ -378,64 +378,64 @@ var tryToString$1 = function (argument) {
|
|
|
378
378
|
}
|
|
379
379
|
};
|
|
380
380
|
|
|
381
|
-
var isCallable$
|
|
382
|
-
var tryToString = tryToString$
|
|
381
|
+
var isCallable$h = isCallable$l;
|
|
382
|
+
var tryToString$3 = tryToString$4;
|
|
383
383
|
|
|
384
|
-
var $TypeError$
|
|
384
|
+
var $TypeError$a = TypeError;
|
|
385
385
|
|
|
386
386
|
// `Assert: IsCallable(argument) is true`
|
|
387
|
-
var aCallable$
|
|
388
|
-
if (isCallable$
|
|
389
|
-
throw $TypeError$
|
|
387
|
+
var aCallable$8 = function (argument) {
|
|
388
|
+
if (isCallable$h(argument)) return argument;
|
|
389
|
+
throw $TypeError$a(tryToString$3(argument) + ' is not a function');
|
|
390
390
|
};
|
|
391
391
|
|
|
392
|
-
var aCallable$
|
|
393
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
392
|
+
var aCallable$7 = aCallable$8;
|
|
393
|
+
var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
394
394
|
|
|
395
395
|
// `GetMethod` abstract operation
|
|
396
396
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
397
|
-
var getMethod$
|
|
397
|
+
var getMethod$3 = function (V, P) {
|
|
398
398
|
var func = V[P];
|
|
399
|
-
return isNullOrUndefined(func) ? undefined : aCallable$
|
|
399
|
+
return isNullOrUndefined$2(func) ? undefined : aCallable$7(func);
|
|
400
400
|
};
|
|
401
401
|
|
|
402
|
-
var call$
|
|
403
|
-
var isCallable$
|
|
404
|
-
var isObject$
|
|
402
|
+
var call$d = functionCall;
|
|
403
|
+
var isCallable$g = isCallable$l;
|
|
404
|
+
var isObject$5 = isObject$8;
|
|
405
405
|
|
|
406
|
-
var $TypeError$
|
|
406
|
+
var $TypeError$9 = TypeError;
|
|
407
407
|
|
|
408
408
|
// `OrdinaryToPrimitive` abstract operation
|
|
409
409
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
410
410
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
411
411
|
var fn, val;
|
|
412
|
-
if (pref === 'string' && isCallable$
|
|
413
|
-
if (isCallable$
|
|
414
|
-
if (pref !== 'string' && isCallable$
|
|
415
|
-
throw $TypeError$
|
|
412
|
+
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$5(val = call$d(fn, input))) return val;
|
|
413
|
+
if (isCallable$g(fn = input.valueOf) && !isObject$5(val = call$d(fn, input))) return val;
|
|
414
|
+
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$5(val = call$d(fn, input))) return val;
|
|
415
|
+
throw $TypeError$9("Can't convert object to primitive value");
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
var call$
|
|
419
|
-
var isObject$
|
|
418
|
+
var call$c = functionCall;
|
|
419
|
+
var isObject$4 = isObject$8;
|
|
420
420
|
var isSymbol$1 = isSymbol$2;
|
|
421
|
-
var getMethod = getMethod$
|
|
421
|
+
var getMethod$2 = getMethod$3;
|
|
422
422
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
423
|
-
var wellKnownSymbol$
|
|
423
|
+
var wellKnownSymbol$d = wellKnownSymbol$e;
|
|
424
424
|
|
|
425
|
-
var $TypeError$
|
|
426
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
425
|
+
var $TypeError$8 = TypeError;
|
|
426
|
+
var TO_PRIMITIVE = wellKnownSymbol$d('toPrimitive');
|
|
427
427
|
|
|
428
428
|
// `ToPrimitive` abstract operation
|
|
429
429
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
430
430
|
var toPrimitive$1 = function (input, pref) {
|
|
431
|
-
if (!isObject$
|
|
432
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
431
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
432
|
+
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
433
433
|
var result;
|
|
434
434
|
if (exoticToPrim) {
|
|
435
435
|
if (pref === undefined) pref = 'default';
|
|
436
|
-
result = call$
|
|
437
|
-
if (!isObject$
|
|
438
|
-
throw $TypeError$
|
|
436
|
+
result = call$c(exoticToPrim, input, pref);
|
|
437
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
438
|
+
throw $TypeError$8("Can't convert object to primitive value");
|
|
439
439
|
}
|
|
440
440
|
if (pref === undefined) pref = 'number';
|
|
441
441
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -451,13 +451,13 @@ var toPropertyKey$2 = function (argument) {
|
|
|
451
451
|
return isSymbol(key) ? key : key + '';
|
|
452
452
|
};
|
|
453
453
|
|
|
454
|
-
var DESCRIPTORS$
|
|
454
|
+
var DESCRIPTORS$9 = descriptors;
|
|
455
455
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
456
456
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
457
|
-
var anObject$
|
|
457
|
+
var anObject$b = anObject$c;
|
|
458
458
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
459
459
|
|
|
460
|
-
var $TypeError$
|
|
460
|
+
var $TypeError$7 = TypeError;
|
|
461
461
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
462
462
|
var $defineProperty = Object.defineProperty;
|
|
463
463
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -468,10 +468,10 @@ var WRITABLE = 'writable';
|
|
|
468
468
|
|
|
469
469
|
// `Object.defineProperty` method
|
|
470
470
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
471
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
472
|
-
anObject$
|
|
471
|
+
objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
472
|
+
anObject$b(O);
|
|
473
473
|
P = toPropertyKey$1(P);
|
|
474
|
-
anObject$
|
|
474
|
+
anObject$b(Attributes);
|
|
475
475
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
476
476
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
477
477
|
if (current && current[WRITABLE]) {
|
|
@@ -484,13 +484,13 @@ objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
484
484
|
}
|
|
485
485
|
} return $defineProperty(O, P, Attributes);
|
|
486
486
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
487
|
-
anObject$
|
|
487
|
+
anObject$b(O);
|
|
488
488
|
P = toPropertyKey$1(P);
|
|
489
|
-
anObject$
|
|
489
|
+
anObject$b(Attributes);
|
|
490
490
|
if (IE8_DOM_DEFINE$1) try {
|
|
491
491
|
return $defineProperty(O, P, Attributes);
|
|
492
492
|
} catch (error) { /* empty */ }
|
|
493
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$
|
|
493
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$7('Accessors not supported');
|
|
494
494
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
495
495
|
return O;
|
|
496
496
|
};
|
|
@@ -543,19 +543,19 @@ var toLength = toLength$1;
|
|
|
543
543
|
|
|
544
544
|
// `LengthOfArrayLike` abstract operation
|
|
545
545
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
546
|
-
var lengthOfArrayLike$
|
|
546
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
547
547
|
return toLength(obj.length);
|
|
548
548
|
};
|
|
549
549
|
|
|
550
550
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
551
551
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
552
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
552
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
553
553
|
|
|
554
554
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
555
555
|
var createMethod$1 = function (IS_INCLUDES) {
|
|
556
556
|
return function ($this, el, fromIndex) {
|
|
557
557
|
var O = toIndexedObject$4($this);
|
|
558
|
-
var length = lengthOfArrayLike(O);
|
|
558
|
+
var length = lengthOfArrayLike$1(O);
|
|
559
559
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
560
560
|
var value;
|
|
561
561
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -582,22 +582,22 @@ var arrayIncludes = {
|
|
|
582
582
|
|
|
583
583
|
var hiddenKeys$4 = {};
|
|
584
584
|
|
|
585
|
-
var uncurryThis$
|
|
586
|
-
var hasOwn$
|
|
585
|
+
var uncurryThis$c = functionUncurryThis;
|
|
586
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
587
587
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
588
588
|
var indexOf = arrayIncludes.indexOf;
|
|
589
589
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
590
590
|
|
|
591
|
-
var push = uncurryThis$
|
|
591
|
+
var push = uncurryThis$c([].push);
|
|
592
592
|
|
|
593
593
|
var objectKeysInternal = function (object, names) {
|
|
594
594
|
var O = toIndexedObject$3(object);
|
|
595
595
|
var i = 0;
|
|
596
596
|
var result = [];
|
|
597
597
|
var key;
|
|
598
|
-
for (key in O) !hasOwn$
|
|
598
|
+
for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push(result, key);
|
|
599
599
|
// Don't enum bug & hidden keys
|
|
600
|
-
while (names.length > i) if (hasOwn$
|
|
600
|
+
while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
|
|
601
601
|
~indexOf(result, key) || push(result, key);
|
|
602
602
|
}
|
|
603
603
|
return result;
|
|
@@ -624,18 +624,18 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
624
624
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
625
625
|
};
|
|
626
626
|
|
|
627
|
-
var DESCRIPTORS$
|
|
627
|
+
var DESCRIPTORS$8 = descriptors;
|
|
628
628
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
629
629
|
var definePropertyModule$3 = objectDefineProperty;
|
|
630
|
-
var anObject$
|
|
630
|
+
var anObject$a = anObject$c;
|
|
631
631
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
632
632
|
var objectKeys$1 = objectKeys$2;
|
|
633
633
|
|
|
634
634
|
// `Object.defineProperties` method
|
|
635
635
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
636
636
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
637
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
638
|
-
anObject$
|
|
637
|
+
objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
638
|
+
anObject$a(O);
|
|
639
639
|
var props = toIndexedObject$2(Properties);
|
|
640
640
|
var keys = objectKeys$1(Properties);
|
|
641
641
|
var length = keys.length;
|
|
@@ -645,9 +645,9 @@ objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
|
|
|
645
645
|
return O;
|
|
646
646
|
};
|
|
647
647
|
|
|
648
|
-
var getBuiltIn$
|
|
648
|
+
var getBuiltIn$5 = getBuiltIn$7;
|
|
649
649
|
|
|
650
|
-
var html$
|
|
650
|
+
var html$2 = getBuiltIn$5('document', 'documentElement');
|
|
651
651
|
|
|
652
652
|
var shared$1 = shared$3.exports;
|
|
653
653
|
var uid = uid$2;
|
|
@@ -660,11 +660,11 @@ var sharedKey$3 = function (key) {
|
|
|
660
660
|
|
|
661
661
|
/* global ActiveXObject -- old IE, WSH */
|
|
662
662
|
|
|
663
|
-
var anObject$
|
|
663
|
+
var anObject$9 = anObject$c;
|
|
664
664
|
var definePropertiesModule = objectDefineProperties;
|
|
665
665
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
666
666
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
667
|
-
var html = html$
|
|
667
|
+
var html$1 = html$2;
|
|
668
668
|
var documentCreateElement$1 = documentCreateElement$2;
|
|
669
669
|
var sharedKey$2 = sharedKey$3;
|
|
670
670
|
|
|
@@ -696,7 +696,7 @@ var NullProtoObjectViaIFrame = function () {
|
|
|
696
696
|
var JS = 'java' + SCRIPT + ':';
|
|
697
697
|
var iframeDocument;
|
|
698
698
|
iframe.style.display = 'none';
|
|
699
|
-
html.appendChild(iframe);
|
|
699
|
+
html$1.appendChild(iframe);
|
|
700
700
|
// https://github.com/zloirock/core-js/issues/475
|
|
701
701
|
iframe.src = String(JS);
|
|
702
702
|
iframeDocument = iframe.contentWindow.document;
|
|
@@ -734,7 +734,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
734
734
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
735
735
|
var result;
|
|
736
736
|
if (O !== null) {
|
|
737
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
737
|
+
EmptyConstructor[PROTOTYPE] = anObject$9(O);
|
|
738
738
|
result = new EmptyConstructor();
|
|
739
739
|
EmptyConstructor[PROTOTYPE] = null;
|
|
740
740
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -743,17 +743,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
743
743
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
744
744
|
};
|
|
745
745
|
|
|
746
|
-
var wellKnownSymbol$
|
|
746
|
+
var wellKnownSymbol$c = wellKnownSymbol$e;
|
|
747
747
|
var create$1 = objectCreate;
|
|
748
748
|
var defineProperty$5 = objectDefineProperty.f;
|
|
749
749
|
|
|
750
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
751
|
-
var ArrayPrototype = Array.prototype;
|
|
750
|
+
var UNSCOPABLES = wellKnownSymbol$c('unscopables');
|
|
751
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
752
752
|
|
|
753
753
|
// Array.prototype[@@unscopables]
|
|
754
754
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
755
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
756
|
-
defineProperty$5(ArrayPrototype, UNSCOPABLES, {
|
|
755
|
+
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
756
|
+
defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
|
|
757
757
|
configurable: true,
|
|
758
758
|
value: create$1(null)
|
|
759
759
|
});
|
|
@@ -761,17 +761,17 @@ if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
|
761
761
|
|
|
762
762
|
// add a key to Array.prototype[@@unscopables]
|
|
763
763
|
var addToUnscopables$1 = function (key) {
|
|
764
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
764
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
765
765
|
};
|
|
766
766
|
|
|
767
767
|
var iterators = {};
|
|
768
768
|
|
|
769
|
-
var global$
|
|
770
|
-
var isCallable$
|
|
769
|
+
var global$b = global$i;
|
|
770
|
+
var isCallable$f = isCallable$l;
|
|
771
771
|
|
|
772
|
-
var WeakMap$1 = global$
|
|
772
|
+
var WeakMap$1 = global$b.WeakMap;
|
|
773
773
|
|
|
774
|
-
var weakMapBasicDetection = isCallable$
|
|
774
|
+
var weakMapBasicDetection = isCallable$f(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
775
775
|
|
|
776
776
|
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
777
777
|
return {
|
|
@@ -782,11 +782,11 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
782
782
|
};
|
|
783
783
|
};
|
|
784
784
|
|
|
785
|
-
var DESCRIPTORS$
|
|
785
|
+
var DESCRIPTORS$7 = descriptors;
|
|
786
786
|
var definePropertyModule$2 = objectDefineProperty;
|
|
787
787
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
788
788
|
|
|
789
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
789
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
790
790
|
return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
|
|
791
791
|
} : function (object, key, value) {
|
|
792
792
|
object[key] = value;
|
|
@@ -794,28 +794,28 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
794
794
|
};
|
|
795
795
|
|
|
796
796
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
797
|
-
var global$
|
|
798
|
-
var isObject$
|
|
797
|
+
var global$a = global$i;
|
|
798
|
+
var isObject$3 = isObject$8;
|
|
799
799
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
800
|
-
var hasOwn$
|
|
800
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
801
801
|
var shared = sharedStore;
|
|
802
802
|
var sharedKey$1 = sharedKey$3;
|
|
803
803
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
804
804
|
|
|
805
805
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
806
|
-
var TypeError$
|
|
807
|
-
var WeakMap = global$
|
|
808
|
-
var set, get, has;
|
|
806
|
+
var TypeError$2 = global$a.TypeError;
|
|
807
|
+
var WeakMap = global$a.WeakMap;
|
|
808
|
+
var set$1, get, has;
|
|
809
809
|
|
|
810
810
|
var enforce = function (it) {
|
|
811
|
-
return has(it) ? get(it) : set(it, {});
|
|
811
|
+
return has(it) ? get(it) : set$1(it, {});
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
var getterFor = function (TYPE) {
|
|
815
815
|
return function (it) {
|
|
816
816
|
var state;
|
|
817
|
-
if (!isObject$
|
|
818
|
-
throw TypeError$
|
|
817
|
+
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
|
818
|
+
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
|
819
819
|
} return state;
|
|
820
820
|
};
|
|
821
821
|
};
|
|
@@ -827,8 +827,8 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
827
827
|
store$1.has = store$1.has;
|
|
828
828
|
store$1.set = store$1.set;
|
|
829
829
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
830
|
-
set = function (it, metadata) {
|
|
831
|
-
if (store$1.has(it)) throw TypeError$
|
|
830
|
+
set$1 = function (it, metadata) {
|
|
831
|
+
if (store$1.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
832
832
|
metadata.facade = it;
|
|
833
833
|
store$1.set(it, metadata);
|
|
834
834
|
return metadata;
|
|
@@ -842,22 +842,22 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
842
842
|
} else {
|
|
843
843
|
var STATE = sharedKey$1('state');
|
|
844
844
|
hiddenKeys$1[STATE] = true;
|
|
845
|
-
set = function (it, metadata) {
|
|
846
|
-
if (hasOwn$
|
|
845
|
+
set$1 = function (it, metadata) {
|
|
846
|
+
if (hasOwn$9(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
847
847
|
metadata.facade = it;
|
|
848
848
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
849
849
|
return metadata;
|
|
850
850
|
};
|
|
851
851
|
get = function (it) {
|
|
852
|
-
return hasOwn$
|
|
852
|
+
return hasOwn$9(it, STATE) ? it[STATE] : {};
|
|
853
853
|
};
|
|
854
854
|
has = function (it) {
|
|
855
|
-
return hasOwn$
|
|
855
|
+
return hasOwn$9(it, STATE);
|
|
856
856
|
};
|
|
857
857
|
}
|
|
858
858
|
|
|
859
859
|
var internalState = {
|
|
860
|
-
set: set,
|
|
860
|
+
set: set$1,
|
|
861
861
|
get: get,
|
|
862
862
|
has: has,
|
|
863
863
|
enforce: enforce,
|
|
@@ -870,25 +870,25 @@ var objectPropertyIsEnumerable = {};
|
|
|
870
870
|
|
|
871
871
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
872
872
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
873
|
-
var getOwnPropertyDescriptor$
|
|
873
|
+
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
874
874
|
|
|
875
875
|
// Nashorn ~ JDK8 bug
|
|
876
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$
|
|
876
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
877
877
|
|
|
878
878
|
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
879
879
|
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
880
880
|
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
881
|
-
var descriptor = getOwnPropertyDescriptor$
|
|
881
|
+
var descriptor = getOwnPropertyDescriptor$2(this, V);
|
|
882
882
|
return !!descriptor && descriptor.enumerable;
|
|
883
883
|
} : $propertyIsEnumerable;
|
|
884
884
|
|
|
885
|
-
var DESCRIPTORS$
|
|
886
|
-
var call$
|
|
885
|
+
var DESCRIPTORS$6 = descriptors;
|
|
886
|
+
var call$b = functionCall;
|
|
887
887
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
888
888
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
889
889
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
890
890
|
var toPropertyKey = toPropertyKey$2;
|
|
891
|
-
var hasOwn$
|
|
891
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
892
892
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
893
893
|
|
|
894
894
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -896,28 +896,28 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
896
896
|
|
|
897
897
|
// `Object.getOwnPropertyDescriptor` method
|
|
898
898
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
899
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
899
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
900
900
|
O = toIndexedObject$1(O);
|
|
901
901
|
P = toPropertyKey(P);
|
|
902
902
|
if (IE8_DOM_DEFINE) try {
|
|
903
903
|
return $getOwnPropertyDescriptor(O, P);
|
|
904
904
|
} catch (error) { /* empty */ }
|
|
905
|
-
if (hasOwn$
|
|
905
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call$b(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
906
906
|
};
|
|
907
907
|
|
|
908
908
|
var makeBuiltIn$3 = {exports: {}};
|
|
909
909
|
|
|
910
|
-
var DESCRIPTORS$
|
|
911
|
-
var hasOwn$
|
|
910
|
+
var DESCRIPTORS$5 = descriptors;
|
|
911
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
912
912
|
|
|
913
|
-
var FunctionPrototype = Function.prototype;
|
|
913
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
914
914
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
915
|
-
var getDescriptor = DESCRIPTORS$
|
|
915
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
|
916
916
|
|
|
917
|
-
var EXISTS = hasOwn$
|
|
917
|
+
var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
|
|
918
918
|
// additional protection from minified / mangled / dropped function names
|
|
919
919
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
920
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
920
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
921
921
|
|
|
922
922
|
var functionName = {
|
|
923
923
|
EXISTS: EXISTS,
|
|
@@ -925,40 +925,40 @@ var functionName = {
|
|
|
925
925
|
CONFIGURABLE: CONFIGURABLE
|
|
926
926
|
};
|
|
927
927
|
|
|
928
|
-
var uncurryThis$
|
|
929
|
-
var isCallable$
|
|
928
|
+
var uncurryThis$b = functionUncurryThis;
|
|
929
|
+
var isCallable$e = isCallable$l;
|
|
930
930
|
var store = sharedStore;
|
|
931
931
|
|
|
932
|
-
var functionToString = uncurryThis$
|
|
932
|
+
var functionToString = uncurryThis$b(Function.toString);
|
|
933
933
|
|
|
934
934
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
935
|
-
if (!isCallable$
|
|
935
|
+
if (!isCallable$e(store.inspectSource)) {
|
|
936
936
|
store.inspectSource = function (it) {
|
|
937
937
|
return functionToString(it);
|
|
938
938
|
};
|
|
939
939
|
}
|
|
940
940
|
|
|
941
|
-
var inspectSource$
|
|
941
|
+
var inspectSource$3 = store.inspectSource;
|
|
942
942
|
|
|
943
|
-
var uncurryThis$
|
|
944
|
-
var fails$
|
|
945
|
-
var isCallable$
|
|
946
|
-
var hasOwn$
|
|
947
|
-
var DESCRIPTORS$
|
|
943
|
+
var uncurryThis$a = functionUncurryThis;
|
|
944
|
+
var fails$8 = fails$f;
|
|
945
|
+
var isCallable$d = isCallable$l;
|
|
946
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
947
|
+
var DESCRIPTORS$4 = descriptors;
|
|
948
948
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
949
|
-
var inspectSource = inspectSource$
|
|
950
|
-
var InternalStateModule$
|
|
949
|
+
var inspectSource$2 = inspectSource$3;
|
|
950
|
+
var InternalStateModule$2 = internalState;
|
|
951
951
|
|
|
952
|
-
var enforceInternalState = InternalStateModule$
|
|
953
|
-
var getInternalState$1 = InternalStateModule$
|
|
952
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
953
|
+
var getInternalState$1 = InternalStateModule$2.get;
|
|
954
954
|
var $String$2 = String;
|
|
955
955
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
956
956
|
var defineProperty$4 = Object.defineProperty;
|
|
957
|
-
var stringSlice$1 = uncurryThis$
|
|
958
|
-
var replace$2 = uncurryThis$
|
|
959
|
-
var join = uncurryThis$
|
|
957
|
+
var stringSlice$1 = uncurryThis$a(''.slice);
|
|
958
|
+
var replace$2 = uncurryThis$a(''.replace);
|
|
959
|
+
var join = uncurryThis$a([].join);
|
|
960
960
|
|
|
961
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
961
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$8(function () {
|
|
962
962
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
963
963
|
});
|
|
964
964
|
|
|
@@ -970,21 +970,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
970
970
|
}
|
|
971
971
|
if (options && options.getter) name = 'get ' + name;
|
|
972
972
|
if (options && options.setter) name = 'set ' + name;
|
|
973
|
-
if (!hasOwn$
|
|
974
|
-
if (DESCRIPTORS$
|
|
973
|
+
if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
974
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
975
975
|
else value.name = name;
|
|
976
976
|
}
|
|
977
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
977
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
|
|
978
978
|
defineProperty$4(value, 'length', { value: options.arity });
|
|
979
979
|
}
|
|
980
980
|
try {
|
|
981
|
-
if (options && hasOwn$
|
|
982
|
-
if (DESCRIPTORS$
|
|
981
|
+
if (options && hasOwn$6(options, 'constructor') && options.constructor) {
|
|
982
|
+
if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
|
|
983
983
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
984
984
|
} else if (value.prototype) value.prototype = undefined;
|
|
985
985
|
} catch (error) { /* empty */ }
|
|
986
986
|
var state = enforceInternalState(value);
|
|
987
|
-
if (!hasOwn$
|
|
987
|
+
if (!hasOwn$6(state, 'source')) {
|
|
988
988
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
989
989
|
} return value;
|
|
990
990
|
};
|
|
@@ -992,19 +992,19 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
992
992
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
993
993
|
// eslint-disable-next-line no-extend-native -- required
|
|
994
994
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
995
|
-
return isCallable$
|
|
995
|
+
return isCallable$d(this) && getInternalState$1(this).source || inspectSource$2(this);
|
|
996
996
|
}, 'toString');
|
|
997
997
|
|
|
998
|
-
var isCallable$
|
|
998
|
+
var isCallable$c = isCallable$l;
|
|
999
999
|
var definePropertyModule$1 = objectDefineProperty;
|
|
1000
1000
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
1001
1001
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1002
1002
|
|
|
1003
|
-
var defineBuiltIn$
|
|
1003
|
+
var defineBuiltIn$6 = function (O, key, value, options) {
|
|
1004
1004
|
if (!options) options = {};
|
|
1005
1005
|
var simple = options.enumerable;
|
|
1006
1006
|
var name = options.name !== undefined ? options.name : key;
|
|
1007
|
-
if (isCallable$
|
|
1007
|
+
if (isCallable$c(value)) makeBuiltIn$1(value, name, options);
|
|
1008
1008
|
if (options.global) {
|
|
1009
1009
|
if (simple) O[key] = value;
|
|
1010
1010
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1042,22 +1042,22 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1042
1042
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1043
1043
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1044
1044
|
|
|
1045
|
-
var getBuiltIn = getBuiltIn$
|
|
1046
|
-
var uncurryThis$
|
|
1045
|
+
var getBuiltIn$4 = getBuiltIn$7;
|
|
1046
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1047
1047
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1048
1048
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1049
|
-
var anObject$
|
|
1049
|
+
var anObject$8 = anObject$c;
|
|
1050
1050
|
|
|
1051
|
-
var concat$1 = uncurryThis$
|
|
1051
|
+
var concat$1 = uncurryThis$9([].concat);
|
|
1052
1052
|
|
|
1053
1053
|
// all object keys, includes non-enumerable and symbols
|
|
1054
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1055
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1054
|
+
var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1055
|
+
var keys = getOwnPropertyNamesModule.f(anObject$8(it));
|
|
1056
1056
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1057
1057
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
1060
|
-
var hasOwn$
|
|
1060
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1061
1061
|
var ownKeys = ownKeys$1;
|
|
1062
1062
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1063
1063
|
var definePropertyModule = objectDefineProperty;
|
|
@@ -1068,42 +1068,42 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
|
1068
1068
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1069
1069
|
for (var i = 0; i < keys.length; i++) {
|
|
1070
1070
|
var key = keys[i];
|
|
1071
|
-
if (!hasOwn$
|
|
1071
|
+
if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
|
|
1072
1072
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
1075
|
};
|
|
1076
1076
|
|
|
1077
|
-
var fails$
|
|
1078
|
-
var isCallable$
|
|
1077
|
+
var fails$7 = fails$f;
|
|
1078
|
+
var isCallable$b = isCallable$l;
|
|
1079
1079
|
|
|
1080
1080
|
var replacement = /#|\.prototype\./;
|
|
1081
1081
|
|
|
1082
|
-
var isForced$
|
|
1082
|
+
var isForced$2 = function (feature, detection) {
|
|
1083
1083
|
var value = data[normalize(feature)];
|
|
1084
1084
|
return value == POLYFILL ? true
|
|
1085
1085
|
: value == NATIVE ? false
|
|
1086
|
-
: isCallable$
|
|
1086
|
+
: isCallable$b(detection) ? fails$7(detection)
|
|
1087
1087
|
: !!detection;
|
|
1088
1088
|
};
|
|
1089
1089
|
|
|
1090
|
-
var normalize = isForced$
|
|
1090
|
+
var normalize = isForced$2.normalize = function (string) {
|
|
1091
1091
|
return String(string).replace(replacement, '.').toLowerCase();
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
var data = isForced$
|
|
1095
|
-
var NATIVE = isForced$
|
|
1096
|
-
var POLYFILL = isForced$
|
|
1094
|
+
var data = isForced$2.data = {};
|
|
1095
|
+
var NATIVE = isForced$2.NATIVE = 'N';
|
|
1096
|
+
var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
1097
1097
|
|
|
1098
|
-
var isForced_1 = isForced$
|
|
1098
|
+
var isForced_1 = isForced$2;
|
|
1099
1099
|
|
|
1100
|
-
var global$
|
|
1101
|
-
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1100
|
+
var global$9 = global$i;
|
|
1101
|
+
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
1102
1102
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
1103
|
-
var defineBuiltIn$
|
|
1103
|
+
var defineBuiltIn$5 = defineBuiltIn$6;
|
|
1104
1104
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1105
1105
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
1106
|
-
var isForced = isForced_1;
|
|
1106
|
+
var isForced$1 = isForced_1;
|
|
1107
1107
|
|
|
1108
1108
|
/*
|
|
1109
1109
|
options.target - name of the target object
|
|
@@ -1126,19 +1126,19 @@ var _export = function (options, source) {
|
|
|
1126
1126
|
var STATIC = options.stat;
|
|
1127
1127
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1128
1128
|
if (GLOBAL) {
|
|
1129
|
-
target = global$
|
|
1129
|
+
target = global$9;
|
|
1130
1130
|
} else if (STATIC) {
|
|
1131
|
-
target = global$
|
|
1131
|
+
target = global$9[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1132
1132
|
} else {
|
|
1133
|
-
target = (global$
|
|
1133
|
+
target = (global$9[TARGET] || {}).prototype;
|
|
1134
1134
|
}
|
|
1135
1135
|
if (target) for (key in source) {
|
|
1136
1136
|
sourceProperty = source[key];
|
|
1137
1137
|
if (options.dontCallGetSet) {
|
|
1138
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1138
|
+
descriptor = getOwnPropertyDescriptor$1(target, key);
|
|
1139
1139
|
targetProperty = descriptor && descriptor.value;
|
|
1140
1140
|
} else targetProperty = target[key];
|
|
1141
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1141
|
+
FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1142
1142
|
// contained in target
|
|
1143
1143
|
if (!FORCED && targetProperty !== undefined) {
|
|
1144
1144
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
@@ -1148,21 +1148,21 @@ var _export = function (options, source) {
|
|
|
1148
1148
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1149
1149
|
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
1150
1150
|
}
|
|
1151
|
-
defineBuiltIn$
|
|
1151
|
+
defineBuiltIn$5(target, key, sourceProperty, options);
|
|
1152
1152
|
}
|
|
1153
1153
|
};
|
|
1154
1154
|
|
|
1155
|
-
var fails$
|
|
1155
|
+
var fails$6 = fails$f;
|
|
1156
1156
|
|
|
1157
|
-
var correctPrototypeGetter = !fails$
|
|
1157
|
+
var correctPrototypeGetter = !fails$6(function () {
|
|
1158
1158
|
function F() { /* empty */ }
|
|
1159
1159
|
F.prototype.constructor = null;
|
|
1160
1160
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1161
1161
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1162
1162
|
});
|
|
1163
1163
|
|
|
1164
|
-
var hasOwn$
|
|
1165
|
-
var isCallable$
|
|
1164
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1165
|
+
var isCallable$a = isCallable$l;
|
|
1166
1166
|
var toObject$1 = toObject$3;
|
|
1167
1167
|
var sharedKey = sharedKey$3;
|
|
1168
1168
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1176,21 +1176,21 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1176
1176
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1177
1177
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1178
1178
|
var object = toObject$1(O);
|
|
1179
|
-
if (hasOwn$
|
|
1179
|
+
if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
|
|
1180
1180
|
var constructor = object.constructor;
|
|
1181
|
-
if (isCallable$
|
|
1181
|
+
if (isCallable$a(constructor) && object instanceof constructor) {
|
|
1182
1182
|
return constructor.prototype;
|
|
1183
1183
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1184
1184
|
};
|
|
1185
1185
|
|
|
1186
|
-
var fails$
|
|
1187
|
-
var isCallable$
|
|
1188
|
-
var isObject = isObject$
|
|
1186
|
+
var fails$5 = fails$f;
|
|
1187
|
+
var isCallable$9 = isCallable$l;
|
|
1188
|
+
var isObject$2 = isObject$8;
|
|
1189
1189
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1190
|
-
var defineBuiltIn$
|
|
1191
|
-
var wellKnownSymbol$
|
|
1190
|
+
var defineBuiltIn$4 = defineBuiltIn$6;
|
|
1191
|
+
var wellKnownSymbol$b = wellKnownSymbol$e;
|
|
1192
1192
|
|
|
1193
|
-
var ITERATOR$
|
|
1193
|
+
var ITERATOR$6 = wellKnownSymbol$b('iterator');
|
|
1194
1194
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1195
1195
|
|
|
1196
1196
|
// `%IteratorPrototype%` object
|
|
@@ -1208,18 +1208,18 @@ if ([].keys) {
|
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
1210
|
|
|
1211
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$
|
|
1211
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$5(function () {
|
|
1212
1212
|
var test = {};
|
|
1213
1213
|
// FF44- legacy iterators case
|
|
1214
|
-
return IteratorPrototype$2[ITERATOR$
|
|
1214
|
+
return IteratorPrototype$2[ITERATOR$6].call(test) !== test;
|
|
1215
1215
|
});
|
|
1216
1216
|
|
|
1217
1217
|
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1218
1218
|
|
|
1219
1219
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1220
1220
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1221
|
-
if (!isCallable$
|
|
1222
|
-
defineBuiltIn$
|
|
1221
|
+
if (!isCallable$9(IteratorPrototype$2[ITERATOR$6])) {
|
|
1222
|
+
defineBuiltIn$4(IteratorPrototype$2, ITERATOR$6, function () {
|
|
1223
1223
|
return this;
|
|
1224
1224
|
});
|
|
1225
1225
|
}
|
|
@@ -1230,14 +1230,14 @@ var iteratorsCore = {
|
|
|
1230
1230
|
};
|
|
1231
1231
|
|
|
1232
1232
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1233
|
-
var hasOwn$
|
|
1234
|
-
var wellKnownSymbol$
|
|
1233
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1234
|
+
var wellKnownSymbol$a = wellKnownSymbol$e;
|
|
1235
1235
|
|
|
1236
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
1236
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$a('toStringTag');
|
|
1237
1237
|
|
|
1238
|
-
var setToStringTag$
|
|
1238
|
+
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1239
1239
|
if (target && !STATIC) target = target.prototype;
|
|
1240
|
-
if (target && !hasOwn$
|
|
1240
|
+
if (target && !hasOwn$3(target, TO_STRING_TAG$3)) {
|
|
1241
1241
|
defineProperty$3(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1242
1242
|
}
|
|
1243
1243
|
};
|
|
@@ -1245,43 +1245,43 @@ var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
|
1245
1245
|
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1246
1246
|
var create = objectCreate;
|
|
1247
1247
|
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1248
|
-
var setToStringTag$
|
|
1249
|
-
var Iterators$
|
|
1248
|
+
var setToStringTag$2 = setToStringTag$3;
|
|
1249
|
+
var Iterators$4 = iterators;
|
|
1250
1250
|
|
|
1251
1251
|
var returnThis$1 = function () { return this; };
|
|
1252
1252
|
|
|
1253
1253
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1254
1254
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1255
1255
|
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1256
|
-
setToStringTag$
|
|
1257
|
-
Iterators$
|
|
1256
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1257
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1258
1258
|
return IteratorConstructor;
|
|
1259
1259
|
};
|
|
1260
1260
|
|
|
1261
|
-
var uncurryThis$
|
|
1262
|
-
var aCallable = aCallable$
|
|
1261
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1262
|
+
var aCallable$6 = aCallable$8;
|
|
1263
1263
|
|
|
1264
1264
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1265
1265
|
try {
|
|
1266
1266
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1267
|
-
return uncurryThis$
|
|
1267
|
+
return uncurryThis$8(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1268
1268
|
} catch (error) { /* empty */ }
|
|
1269
1269
|
};
|
|
1270
1270
|
|
|
1271
|
-
var isCallable$
|
|
1271
|
+
var isCallable$8 = isCallable$l;
|
|
1272
1272
|
|
|
1273
1273
|
var $String$1 = String;
|
|
1274
|
-
var $TypeError = TypeError;
|
|
1274
|
+
var $TypeError$6 = TypeError;
|
|
1275
1275
|
|
|
1276
1276
|
var aPossiblePrototype$1 = function (argument) {
|
|
1277
|
-
if (typeof argument == 'object' || isCallable$
|
|
1278
|
-
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1277
|
+
if (typeof argument == 'object' || isCallable$8(argument)) return argument;
|
|
1278
|
+
throw $TypeError$6("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1279
1279
|
};
|
|
1280
1280
|
|
|
1281
1281
|
/* eslint-disable no-proto -- safe */
|
|
1282
1282
|
|
|
1283
1283
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1284
|
-
var anObject$
|
|
1284
|
+
var anObject$7 = anObject$c;
|
|
1285
1285
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1286
1286
|
|
|
1287
1287
|
// `Object.setPrototypeOf` method
|
|
@@ -1298,7 +1298,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1298
1298
|
CORRECT_SETTER = test instanceof Array;
|
|
1299
1299
|
} catch (error) { /* empty */ }
|
|
1300
1300
|
return function setPrototypeOf(O, proto) {
|
|
1301
|
-
anObject$
|
|
1301
|
+
anObject$7(O);
|
|
1302
1302
|
aPossiblePrototype(proto);
|
|
1303
1303
|
if (CORRECT_SETTER) setter(O, proto);
|
|
1304
1304
|
else O.__proto__ = proto;
|
|
@@ -1306,25 +1306,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1306
1306
|
};
|
|
1307
1307
|
}() : undefined);
|
|
1308
1308
|
|
|
1309
|
-
var $$
|
|
1310
|
-
var call$
|
|
1309
|
+
var $$9 = _export;
|
|
1310
|
+
var call$a = functionCall;
|
|
1311
1311
|
var FunctionName = functionName;
|
|
1312
|
-
var isCallable$
|
|
1312
|
+
var isCallable$7 = isCallable$l;
|
|
1313
1313
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1314
1314
|
var getPrototypeOf = objectGetPrototypeOf;
|
|
1315
|
-
var setPrototypeOf = objectSetPrototypeOf;
|
|
1316
|
-
var setToStringTag = setToStringTag$
|
|
1315
|
+
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1316
|
+
var setToStringTag$1 = setToStringTag$3;
|
|
1317
1317
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1318
|
-
var defineBuiltIn$
|
|
1319
|
-
var wellKnownSymbol$
|
|
1320
|
-
var Iterators$
|
|
1318
|
+
var defineBuiltIn$3 = defineBuiltIn$6;
|
|
1319
|
+
var wellKnownSymbol$9 = wellKnownSymbol$e;
|
|
1320
|
+
var Iterators$3 = iterators;
|
|
1321
1321
|
var IteratorsCore = iteratorsCore;
|
|
1322
1322
|
|
|
1323
1323
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1324
1324
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1325
1325
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1326
1326
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1327
|
-
var ITERATOR$
|
|
1327
|
+
var ITERATOR$5 = wellKnownSymbol$9('iterator');
|
|
1328
1328
|
var KEYS = 'keys';
|
|
1329
1329
|
var VALUES = 'values';
|
|
1330
1330
|
var ENTRIES = 'entries';
|
|
@@ -1347,7 +1347,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1347
1347
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1348
1348
|
var INCORRECT_VALUES_NAME = false;
|
|
1349
1349
|
var IterablePrototype = Iterable.prototype;
|
|
1350
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1350
|
+
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
1351
1351
|
|| IterablePrototype['@@iterator']
|
|
1352
1352
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1353
1353
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1359,14 +1359,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1359
1359
|
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1360
1360
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1361
1361
|
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1362
|
-
if (setPrototypeOf) {
|
|
1363
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1364
|
-
} else if (!isCallable$
|
|
1365
|
-
defineBuiltIn$
|
|
1362
|
+
if (setPrototypeOf$1) {
|
|
1363
|
+
setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
|
|
1364
|
+
} else if (!isCallable$7(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1365
|
+
defineBuiltIn$3(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
// Set @@toStringTag to native iterators
|
|
1369
|
-
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1369
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
1372
|
|
|
@@ -1376,7 +1376,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1376
1376
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1377
1377
|
} else {
|
|
1378
1378
|
INCORRECT_VALUES_NAME = true;
|
|
1379
|
-
defaultIterator = function values() { return call$
|
|
1379
|
+
defaultIterator = function values() { return call$a(nativeIterator, this); };
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
|
|
@@ -1389,16 +1389,16 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1389
1389
|
};
|
|
1390
1390
|
if (FORCED) for (KEY in methods) {
|
|
1391
1391
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1392
|
-
defineBuiltIn$
|
|
1392
|
+
defineBuiltIn$3(IterablePrototype, KEY, methods[KEY]);
|
|
1393
1393
|
}
|
|
1394
|
-
} else $$
|
|
1394
|
+
} else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
1397
|
// define iterator
|
|
1398
|
-
if (IterablePrototype[ITERATOR$
|
|
1399
|
-
defineBuiltIn$
|
|
1398
|
+
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
1399
|
+
defineBuiltIn$3(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
1400
1400
|
}
|
|
1401
|
-
Iterators$
|
|
1401
|
+
Iterators$3[NAME] = defaultIterator;
|
|
1402
1402
|
|
|
1403
1403
|
return methods;
|
|
1404
1404
|
};
|
|
@@ -1411,16 +1411,16 @@ var createIterResultObject$1 = function (value, done) {
|
|
|
1411
1411
|
|
|
1412
1412
|
var toIndexedObject = toIndexedObject$5;
|
|
1413
1413
|
var addToUnscopables = addToUnscopables$1;
|
|
1414
|
-
var Iterators = iterators;
|
|
1415
|
-
var InternalStateModule = internalState;
|
|
1414
|
+
var Iterators$2 = iterators;
|
|
1415
|
+
var InternalStateModule$1 = internalState;
|
|
1416
1416
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1417
1417
|
var defineIterator = iteratorDefine;
|
|
1418
1418
|
var createIterResultObject = createIterResultObject$1;
|
|
1419
|
-
var DESCRIPTORS$
|
|
1419
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1420
1420
|
|
|
1421
1421
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1422
|
-
var setInternalState = InternalStateModule.set;
|
|
1423
|
-
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1422
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1423
|
+
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1424
1424
|
|
|
1425
1425
|
// `Array.prototype.entries` method
|
|
1426
1426
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1433,7 +1433,7 @@ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
1433
1433
|
// `CreateArrayIterator` internal method
|
|
1434
1434
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1435
1435
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1436
|
-
setInternalState(this, {
|
|
1436
|
+
setInternalState$1(this, {
|
|
1437
1437
|
type: ARRAY_ITERATOR,
|
|
1438
1438
|
target: toIndexedObject(iterated), // target
|
|
1439
1439
|
index: 0, // next index
|
|
@@ -1458,7 +1458,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1458
1458
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1459
1459
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1460
1460
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1461
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1461
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1462
1462
|
|
|
1463
1463
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1464
1464
|
addToUnscopables('keys');
|
|
@@ -1466,7 +1466,7 @@ addToUnscopables('values');
|
|
|
1466
1466
|
addToUnscopables('entries');
|
|
1467
1467
|
|
|
1468
1468
|
// V8 ~ Chrome 45- bug
|
|
1469
|
-
if (DESCRIPTORS$
|
|
1469
|
+
if (DESCRIPTORS$3 && values.name !== 'values') try {
|
|
1470
1470
|
defineProperty$2(values, 'name', { value: 'values' });
|
|
1471
1471
|
} catch (error) { /* empty */ }
|
|
1472
1472
|
|
|
@@ -1514,24 +1514,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1514
1514
|
|
|
1515
1515
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1516
1516
|
|
|
1517
|
-
var global$
|
|
1517
|
+
var global$8 = global$i;
|
|
1518
1518
|
var DOMIterables = domIterables;
|
|
1519
1519
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1520
1520
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1521
1521
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1522
|
-
var wellKnownSymbol$
|
|
1522
|
+
var wellKnownSymbol$8 = wellKnownSymbol$e;
|
|
1523
1523
|
|
|
1524
|
-
var ITERATOR$
|
|
1525
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
1524
|
+
var ITERATOR$4 = wellKnownSymbol$8('iterator');
|
|
1525
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
|
|
1526
1526
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1527
1527
|
|
|
1528
1528
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1529
1529
|
if (CollectionPrototype) {
|
|
1530
1530
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1531
|
-
if (CollectionPrototype[ITERATOR$
|
|
1532
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$
|
|
1531
|
+
if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
|
|
1532
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$4, ArrayValues);
|
|
1533
1533
|
} catch (error) {
|
|
1534
|
-
CollectionPrototype[ITERATOR$
|
|
1534
|
+
CollectionPrototype[ITERATOR$4] = ArrayValues;
|
|
1535
1535
|
}
|
|
1536
1536
|
if (!CollectionPrototype[TO_STRING_TAG$2]) {
|
|
1537
1537
|
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
@@ -1548,15 +1548,15 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1548
1548
|
};
|
|
1549
1549
|
|
|
1550
1550
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1551
|
-
handlePrototype(global$
|
|
1551
|
+
handlePrototype(global$8[COLLECTION_NAME] && global$8[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
1554
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1555
1555
|
|
|
1556
|
-
var DESCRIPTORS$
|
|
1557
|
-
var uncurryThis$
|
|
1558
|
-
var call$
|
|
1559
|
-
var fails$
|
|
1556
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1557
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1558
|
+
var call$9 = functionCall;
|
|
1559
|
+
var fails$4 = fails$f;
|
|
1560
1560
|
var objectKeys = objectKeys$2;
|
|
1561
1561
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1562
1562
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1567,13 +1567,13 @@ var IndexedObject = indexedObject;
|
|
|
1567
1567
|
var $assign = Object.assign;
|
|
1568
1568
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1569
1569
|
var defineProperty$1 = Object.defineProperty;
|
|
1570
|
-
var concat = uncurryThis$
|
|
1570
|
+
var concat = uncurryThis$7([].concat);
|
|
1571
1571
|
|
|
1572
1572
|
// `Object.assign` method
|
|
1573
1573
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1574
|
-
var objectAssign = !$assign || fails$
|
|
1574
|
+
var objectAssign = !$assign || fails$4(function () {
|
|
1575
1575
|
// should have correct order of operations (Edge bug)
|
|
1576
|
-
if (DESCRIPTORS$
|
|
1576
|
+
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
|
|
1577
1577
|
enumerable: true,
|
|
1578
1578
|
get: function () {
|
|
1579
1579
|
defineProperty$1(this, 'b', {
|
|
@@ -1605,18 +1605,18 @@ var objectAssign = !$assign || fails$2(function () {
|
|
|
1605
1605
|
var key;
|
|
1606
1606
|
while (length > j) {
|
|
1607
1607
|
key = keys[j++];
|
|
1608
|
-
if (!DESCRIPTORS$
|
|
1608
|
+
if (!DESCRIPTORS$2 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1609
1609
|
}
|
|
1610
1610
|
} return T;
|
|
1611
1611
|
} : $assign;
|
|
1612
1612
|
|
|
1613
|
-
var $$
|
|
1613
|
+
var $$8 = _export;
|
|
1614
1614
|
var assign = objectAssign;
|
|
1615
1615
|
|
|
1616
1616
|
// `Object.assign` method
|
|
1617
1617
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1618
1618
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1619
|
-
$$
|
|
1619
|
+
$$8({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1620
1620
|
assign: assign
|
|
1621
1621
|
});
|
|
1622
1622
|
|
|
@@ -1724,16 +1724,6 @@ function __rest(s, e) {
|
|
|
1724
1724
|
t[p[i]] = s[p[i]];
|
|
1725
1725
|
}
|
|
1726
1726
|
return t;
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
1730
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
1731
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
1732
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
1733
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
1734
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
1735
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1736
|
-
});
|
|
1737
1727
|
}
|
|
1738
1728
|
|
|
1739
1729
|
const Check = ({
|
|
@@ -2745,6 +2735,1143 @@ function Group({
|
|
|
2745
2735
|
}));
|
|
2746
2736
|
}
|
|
2747
2737
|
|
|
2738
|
+
var classof$4 = classofRaw$2;
|
|
2739
|
+
|
|
2740
|
+
var engineIsNode = typeof process != 'undefined' && classof$4(process) == 'process';
|
|
2741
|
+
|
|
2742
|
+
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
2743
|
+
var defineProperty = objectDefineProperty;
|
|
2744
|
+
|
|
2745
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
2746
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2747
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2748
|
+
return defineProperty.f(target, name, descriptor);
|
|
2749
|
+
};
|
|
2750
|
+
|
|
2751
|
+
var getBuiltIn$3 = getBuiltIn$7;
|
|
2752
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
2753
|
+
var wellKnownSymbol$7 = wellKnownSymbol$e;
|
|
2754
|
+
var DESCRIPTORS$1 = descriptors;
|
|
2755
|
+
|
|
2756
|
+
var SPECIES$2 = wellKnownSymbol$7('species');
|
|
2757
|
+
|
|
2758
|
+
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
2759
|
+
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
2760
|
+
|
|
2761
|
+
if (DESCRIPTORS$1 && Constructor && !Constructor[SPECIES$2]) {
|
|
2762
|
+
defineBuiltInAccessor$1(Constructor, SPECIES$2, {
|
|
2763
|
+
configurable: true,
|
|
2764
|
+
get: function () { return this; }
|
|
2765
|
+
});
|
|
2766
|
+
}
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2770
|
+
|
|
2771
|
+
var $TypeError$5 = TypeError;
|
|
2772
|
+
|
|
2773
|
+
var anInstance$1 = function (it, Prototype) {
|
|
2774
|
+
if (isPrototypeOf$3(Prototype, it)) return it;
|
|
2775
|
+
throw $TypeError$5('Incorrect invocation');
|
|
2776
|
+
};
|
|
2777
|
+
|
|
2778
|
+
var wellKnownSymbol$6 = wellKnownSymbol$e;
|
|
2779
|
+
|
|
2780
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
|
|
2781
|
+
var test = {};
|
|
2782
|
+
|
|
2783
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
2784
|
+
|
|
2785
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
2786
|
+
|
|
2787
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2788
|
+
var isCallable$6 = isCallable$l;
|
|
2789
|
+
var classofRaw$1 = classofRaw$2;
|
|
2790
|
+
var wellKnownSymbol$5 = wellKnownSymbol$e;
|
|
2791
|
+
|
|
2792
|
+
var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
|
|
2793
|
+
var $Object = Object;
|
|
2794
|
+
|
|
2795
|
+
// ES3 wrong here
|
|
2796
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
|
2797
|
+
|
|
2798
|
+
// fallback for IE11 Script Access Denied error
|
|
2799
|
+
var tryGet = function (it, key) {
|
|
2800
|
+
try {
|
|
2801
|
+
return it[key];
|
|
2802
|
+
} catch (error) { /* empty */ }
|
|
2803
|
+
};
|
|
2804
|
+
|
|
2805
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
2806
|
+
var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
2807
|
+
var O, tag, result;
|
|
2808
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2809
|
+
// @@toStringTag case
|
|
2810
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
2811
|
+
// builtinTag case
|
|
2812
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
2813
|
+
// ES3 arguments fallback
|
|
2814
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
2815
|
+
};
|
|
2816
|
+
|
|
2817
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2818
|
+
var fails$3 = fails$f;
|
|
2819
|
+
var isCallable$5 = isCallable$l;
|
|
2820
|
+
var classof$2 = classof$3;
|
|
2821
|
+
var getBuiltIn$2 = getBuiltIn$7;
|
|
2822
|
+
var inspectSource$1 = inspectSource$3;
|
|
2823
|
+
|
|
2824
|
+
var noop$1 = function () { /* empty */ };
|
|
2825
|
+
var empty = [];
|
|
2826
|
+
var construct = getBuiltIn$2('Reflect', 'construct');
|
|
2827
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2828
|
+
var exec$1 = uncurryThis$6(constructorRegExp.exec);
|
|
2829
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop$1);
|
|
2830
|
+
|
|
2831
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
2832
|
+
if (!isCallable$5(argument)) return false;
|
|
2833
|
+
try {
|
|
2834
|
+
construct(noop$1, empty, argument);
|
|
2835
|
+
return true;
|
|
2836
|
+
} catch (error) {
|
|
2837
|
+
return false;
|
|
2838
|
+
}
|
|
2839
|
+
};
|
|
2840
|
+
|
|
2841
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
2842
|
+
if (!isCallable$5(argument)) return false;
|
|
2843
|
+
switch (classof$2(argument)) {
|
|
2844
|
+
case 'AsyncFunction':
|
|
2845
|
+
case 'GeneratorFunction':
|
|
2846
|
+
case 'AsyncGeneratorFunction': return false;
|
|
2847
|
+
}
|
|
2848
|
+
try {
|
|
2849
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
2850
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
2851
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
2852
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
|
|
2853
|
+
} catch (error) {
|
|
2854
|
+
return true;
|
|
2855
|
+
}
|
|
2856
|
+
};
|
|
2857
|
+
|
|
2858
|
+
isConstructorLegacy.sham = true;
|
|
2859
|
+
|
|
2860
|
+
// `IsConstructor` abstract operation
|
|
2861
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
2862
|
+
var isConstructor$1 = !construct || fails$3(function () {
|
|
2863
|
+
var called;
|
|
2864
|
+
return isConstructorModern(isConstructorModern.call)
|
|
2865
|
+
|| !isConstructorModern(Object)
|
|
2866
|
+
|| !isConstructorModern(function () { called = true; })
|
|
2867
|
+
|| called;
|
|
2868
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
2869
|
+
|
|
2870
|
+
var isConstructor = isConstructor$1;
|
|
2871
|
+
var tryToString$2 = tryToString$4;
|
|
2872
|
+
|
|
2873
|
+
var $TypeError$4 = TypeError;
|
|
2874
|
+
|
|
2875
|
+
// `Assert: IsConstructor(argument) is true`
|
|
2876
|
+
var aConstructor$1 = function (argument) {
|
|
2877
|
+
if (isConstructor(argument)) return argument;
|
|
2878
|
+
throw $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
|
2879
|
+
};
|
|
2880
|
+
|
|
2881
|
+
var anObject$6 = anObject$c;
|
|
2882
|
+
var aConstructor = aConstructor$1;
|
|
2883
|
+
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2884
|
+
var wellKnownSymbol$4 = wellKnownSymbol$e;
|
|
2885
|
+
|
|
2886
|
+
var SPECIES$1 = wellKnownSymbol$4('species');
|
|
2887
|
+
|
|
2888
|
+
// `SpeciesConstructor` abstract operation
|
|
2889
|
+
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
2890
|
+
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
2891
|
+
var C = anObject$6(O).constructor;
|
|
2892
|
+
var S;
|
|
2893
|
+
return C === undefined || isNullOrUndefined$1(S = anObject$6(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
2897
|
+
|
|
2898
|
+
var FunctionPrototype = Function.prototype;
|
|
2899
|
+
var apply$1 = FunctionPrototype.apply;
|
|
2900
|
+
var call$8 = FunctionPrototype.call;
|
|
2901
|
+
|
|
2902
|
+
// eslint-disable-next-line es/no-reflect -- safe
|
|
2903
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$8.bind(apply$1) : function () {
|
|
2904
|
+
return call$8.apply(apply$1, arguments);
|
|
2905
|
+
});
|
|
2906
|
+
|
|
2907
|
+
var classofRaw = classofRaw$2;
|
|
2908
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2909
|
+
|
|
2910
|
+
var functionUncurryThisClause = function (fn) {
|
|
2911
|
+
// Nashorn bug:
|
|
2912
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
2913
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
2914
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$5(fn);
|
|
2915
|
+
};
|
|
2916
|
+
|
|
2917
|
+
var uncurryThis$4 = functionUncurryThisClause;
|
|
2918
|
+
var aCallable$5 = aCallable$8;
|
|
2919
|
+
var NATIVE_BIND = functionBindNative;
|
|
2920
|
+
|
|
2921
|
+
var bind$4 = uncurryThis$4(uncurryThis$4.bind);
|
|
2922
|
+
|
|
2923
|
+
// optional / simple context binding
|
|
2924
|
+
var functionBindContext = function (fn, that) {
|
|
2925
|
+
aCallable$5(fn);
|
|
2926
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
|
|
2927
|
+
return fn.apply(that, arguments);
|
|
2928
|
+
};
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2932
|
+
|
|
2933
|
+
var arraySlice$1 = uncurryThis$3([].slice);
|
|
2934
|
+
|
|
2935
|
+
var $TypeError$3 = TypeError;
|
|
2936
|
+
|
|
2937
|
+
var validateArgumentsLength$1 = function (passed, required) {
|
|
2938
|
+
if (passed < required) throw $TypeError$3('Not enough arguments');
|
|
2939
|
+
return passed;
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
var userAgent$2 = engineUserAgent;
|
|
2943
|
+
|
|
2944
|
+
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
2945
|
+
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2946
|
+
|
|
2947
|
+
var global$7 = global$i;
|
|
2948
|
+
var apply = functionApply;
|
|
2949
|
+
var bind$3 = functionBindContext;
|
|
2950
|
+
var isCallable$4 = isCallable$l;
|
|
2951
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2952
|
+
var fails$2 = fails$f;
|
|
2953
|
+
var html = html$2;
|
|
2954
|
+
var arraySlice = arraySlice$1;
|
|
2955
|
+
var createElement = documentCreateElement$2;
|
|
2956
|
+
var validateArgumentsLength = validateArgumentsLength$1;
|
|
2957
|
+
var IS_IOS$1 = engineIsIos;
|
|
2958
|
+
var IS_NODE$3 = engineIsNode;
|
|
2959
|
+
|
|
2960
|
+
var set = global$7.setImmediate;
|
|
2961
|
+
var clear = global$7.clearImmediate;
|
|
2962
|
+
var process$3 = global$7.process;
|
|
2963
|
+
var Dispatch = global$7.Dispatch;
|
|
2964
|
+
var Function$1 = global$7.Function;
|
|
2965
|
+
var MessageChannel = global$7.MessageChannel;
|
|
2966
|
+
var String$1 = global$7.String;
|
|
2967
|
+
var counter = 0;
|
|
2968
|
+
var queue$2 = {};
|
|
2969
|
+
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
2970
|
+
var $location, defer, channel, port;
|
|
2971
|
+
|
|
2972
|
+
fails$2(function () {
|
|
2973
|
+
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
2974
|
+
$location = global$7.location;
|
|
2975
|
+
});
|
|
2976
|
+
|
|
2977
|
+
var run = function (id) {
|
|
2978
|
+
if (hasOwn$2(queue$2, id)) {
|
|
2979
|
+
var fn = queue$2[id];
|
|
2980
|
+
delete queue$2[id];
|
|
2981
|
+
fn();
|
|
2982
|
+
}
|
|
2983
|
+
};
|
|
2984
|
+
|
|
2985
|
+
var runner = function (id) {
|
|
2986
|
+
return function () {
|
|
2987
|
+
run(id);
|
|
2988
|
+
};
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
var eventListener = function (event) {
|
|
2992
|
+
run(event.data);
|
|
2993
|
+
};
|
|
2994
|
+
|
|
2995
|
+
var globalPostMessageDefer = function (id) {
|
|
2996
|
+
// old engines have not location.origin
|
|
2997
|
+
global$7.postMessage(String$1(id), $location.protocol + '//' + $location.host);
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
3001
|
+
if (!set || !clear) {
|
|
3002
|
+
set = function setImmediate(handler) {
|
|
3003
|
+
validateArgumentsLength(arguments.length, 1);
|
|
3004
|
+
var fn = isCallable$4(handler) ? handler : Function$1(handler);
|
|
3005
|
+
var args = arraySlice(arguments, 1);
|
|
3006
|
+
queue$2[++counter] = function () {
|
|
3007
|
+
apply(fn, undefined, args);
|
|
3008
|
+
};
|
|
3009
|
+
defer(counter);
|
|
3010
|
+
return counter;
|
|
3011
|
+
};
|
|
3012
|
+
clear = function clearImmediate(id) {
|
|
3013
|
+
delete queue$2[id];
|
|
3014
|
+
};
|
|
3015
|
+
// Node.js 0.8-
|
|
3016
|
+
if (IS_NODE$3) {
|
|
3017
|
+
defer = function (id) {
|
|
3018
|
+
process$3.nextTick(runner(id));
|
|
3019
|
+
};
|
|
3020
|
+
// Sphere (JS game engine) Dispatch API
|
|
3021
|
+
} else if (Dispatch && Dispatch.now) {
|
|
3022
|
+
defer = function (id) {
|
|
3023
|
+
Dispatch.now(runner(id));
|
|
3024
|
+
};
|
|
3025
|
+
// Browsers with MessageChannel, includes WebWorkers
|
|
3026
|
+
// except iOS - https://github.com/zloirock/core-js/issues/624
|
|
3027
|
+
} else if (MessageChannel && !IS_IOS$1) {
|
|
3028
|
+
channel = new MessageChannel();
|
|
3029
|
+
port = channel.port2;
|
|
3030
|
+
channel.port1.onmessage = eventListener;
|
|
3031
|
+
defer = bind$3(port.postMessage, port);
|
|
3032
|
+
// Browsers with postMessage, skip WebWorkers
|
|
3033
|
+
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
3034
|
+
} else if (
|
|
3035
|
+
global$7.addEventListener &&
|
|
3036
|
+
isCallable$4(global$7.postMessage) &&
|
|
3037
|
+
!global$7.importScripts &&
|
|
3038
|
+
$location && $location.protocol !== 'file:' &&
|
|
3039
|
+
!fails$2(globalPostMessageDefer)
|
|
3040
|
+
) {
|
|
3041
|
+
defer = globalPostMessageDefer;
|
|
3042
|
+
global$7.addEventListener('message', eventListener, false);
|
|
3043
|
+
// IE8-
|
|
3044
|
+
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
3045
|
+
defer = function (id) {
|
|
3046
|
+
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
|
3047
|
+
html.removeChild(this);
|
|
3048
|
+
run(id);
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
// Rest old browsers
|
|
3052
|
+
} else {
|
|
3053
|
+
defer = function (id) {
|
|
3054
|
+
setTimeout(runner(id), 0);
|
|
3055
|
+
};
|
|
3056
|
+
}
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
var task$1 = {
|
|
3060
|
+
set: set,
|
|
3061
|
+
clear: clear
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
var Queue$2 = function () {
|
|
3065
|
+
this.head = null;
|
|
3066
|
+
this.tail = null;
|
|
3067
|
+
};
|
|
3068
|
+
|
|
3069
|
+
Queue$2.prototype = {
|
|
3070
|
+
add: function (item) {
|
|
3071
|
+
var entry = { item: item, next: null };
|
|
3072
|
+
var tail = this.tail;
|
|
3073
|
+
if (tail) tail.next = entry;
|
|
3074
|
+
else this.head = entry;
|
|
3075
|
+
this.tail = entry;
|
|
3076
|
+
},
|
|
3077
|
+
get: function () {
|
|
3078
|
+
var entry = this.head;
|
|
3079
|
+
if (entry) {
|
|
3080
|
+
var next = this.head = entry.next;
|
|
3081
|
+
if (next === null) this.tail = null;
|
|
3082
|
+
return entry.item;
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
var queue$1 = Queue$2;
|
|
3088
|
+
|
|
3089
|
+
var userAgent$1 = engineUserAgent;
|
|
3090
|
+
|
|
3091
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != 'undefined';
|
|
3092
|
+
|
|
3093
|
+
var userAgent = engineUserAgent;
|
|
3094
|
+
|
|
3095
|
+
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
3096
|
+
|
|
3097
|
+
var global$6 = global$i;
|
|
3098
|
+
var bind$2 = functionBindContext;
|
|
3099
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
3100
|
+
var macrotask = task$1.set;
|
|
3101
|
+
var Queue$1 = queue$1;
|
|
3102
|
+
var IS_IOS = engineIsIos;
|
|
3103
|
+
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
3104
|
+
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
3105
|
+
var IS_NODE$2 = engineIsNode;
|
|
3106
|
+
|
|
3107
|
+
var MutationObserver = global$6.MutationObserver || global$6.WebKitMutationObserver;
|
|
3108
|
+
var document$2 = global$6.document;
|
|
3109
|
+
var process$2 = global$6.process;
|
|
3110
|
+
var Promise$1 = global$6.Promise;
|
|
3111
|
+
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
3112
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$6, 'queueMicrotask');
|
|
3113
|
+
var microtask$1 = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
3114
|
+
var notify$1, toggle, node, promise, then;
|
|
3115
|
+
|
|
3116
|
+
// modern engines have queueMicrotask method
|
|
3117
|
+
if (!microtask$1) {
|
|
3118
|
+
var queue = new Queue$1();
|
|
3119
|
+
|
|
3120
|
+
var flush = function () {
|
|
3121
|
+
var parent, fn;
|
|
3122
|
+
if (IS_NODE$2 && (parent = process$2.domain)) parent.exit();
|
|
3123
|
+
while (fn = queue.get()) try {
|
|
3124
|
+
fn();
|
|
3125
|
+
} catch (error) {
|
|
3126
|
+
if (queue.head) notify$1();
|
|
3127
|
+
throw error;
|
|
3128
|
+
}
|
|
3129
|
+
if (parent) parent.enter();
|
|
3130
|
+
};
|
|
3131
|
+
|
|
3132
|
+
// browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
|
|
3133
|
+
// also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
|
|
3134
|
+
if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
3135
|
+
toggle = true;
|
|
3136
|
+
node = document$2.createTextNode('');
|
|
3137
|
+
new MutationObserver(flush).observe(node, { characterData: true });
|
|
3138
|
+
notify$1 = function () {
|
|
3139
|
+
node.data = toggle = !toggle;
|
|
3140
|
+
};
|
|
3141
|
+
// environments with maybe non-completely correct, but existent Promise
|
|
3142
|
+
} else if (!IS_IOS_PEBBLE && Promise$1 && Promise$1.resolve) {
|
|
3143
|
+
// Promise.resolve without an argument throws an error in LG WebOS 2
|
|
3144
|
+
promise = Promise$1.resolve(undefined);
|
|
3145
|
+
// workaround of WebKit ~ iOS Safari 10.1 bug
|
|
3146
|
+
promise.constructor = Promise$1;
|
|
3147
|
+
then = bind$2(promise.then, promise);
|
|
3148
|
+
notify$1 = function () {
|
|
3149
|
+
then(flush);
|
|
3150
|
+
};
|
|
3151
|
+
// Node.js without promises
|
|
3152
|
+
} else if (IS_NODE$2) {
|
|
3153
|
+
notify$1 = function () {
|
|
3154
|
+
process$2.nextTick(flush);
|
|
3155
|
+
};
|
|
3156
|
+
// for other environments - macrotask based on:
|
|
3157
|
+
// - setImmediate
|
|
3158
|
+
// - MessageChannel
|
|
3159
|
+
// - window.postMessage
|
|
3160
|
+
// - onreadystatechange
|
|
3161
|
+
// - setTimeout
|
|
3162
|
+
} else {
|
|
3163
|
+
// `webpack` dev server bug on IE global methods - use bind(fn, global)
|
|
3164
|
+
macrotask = bind$2(macrotask, global$6);
|
|
3165
|
+
notify$1 = function () {
|
|
3166
|
+
macrotask(flush);
|
|
3167
|
+
};
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
microtask$1 = function (fn) {
|
|
3171
|
+
if (!queue.head) notify$1();
|
|
3172
|
+
queue.add(fn);
|
|
3173
|
+
};
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
var microtask_1 = microtask$1;
|
|
3177
|
+
|
|
3178
|
+
var hostReportErrors$1 = function (a, b) {
|
|
3179
|
+
try {
|
|
3180
|
+
// eslint-disable-next-line no-console -- safe
|
|
3181
|
+
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
3182
|
+
} catch (error) { /* empty */ }
|
|
3183
|
+
};
|
|
3184
|
+
|
|
3185
|
+
var perform$3 = function (exec) {
|
|
3186
|
+
try {
|
|
3187
|
+
return { error: false, value: exec() };
|
|
3188
|
+
} catch (error) {
|
|
3189
|
+
return { error: true, value: error };
|
|
3190
|
+
}
|
|
3191
|
+
};
|
|
3192
|
+
|
|
3193
|
+
var global$5 = global$i;
|
|
3194
|
+
|
|
3195
|
+
var promiseNativeConstructor = global$5.Promise;
|
|
3196
|
+
|
|
3197
|
+
/* global Deno -- Deno case */
|
|
3198
|
+
|
|
3199
|
+
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
|
3200
|
+
|
|
3201
|
+
var IS_DENO$1 = engineIsDeno;
|
|
3202
|
+
var IS_NODE$1 = engineIsNode;
|
|
3203
|
+
|
|
3204
|
+
var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
3205
|
+
&& typeof window == 'object'
|
|
3206
|
+
&& typeof document == 'object';
|
|
3207
|
+
|
|
3208
|
+
var global$4 = global$i;
|
|
3209
|
+
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
3210
|
+
var isCallable$3 = isCallable$l;
|
|
3211
|
+
var isForced = isForced_1;
|
|
3212
|
+
var inspectSource = inspectSource$3;
|
|
3213
|
+
var wellKnownSymbol$3 = wellKnownSymbol$e;
|
|
3214
|
+
var IS_BROWSER = engineIsBrowser;
|
|
3215
|
+
var IS_DENO = engineIsDeno;
|
|
3216
|
+
var V8_VERSION = engineV8Version;
|
|
3217
|
+
|
|
3218
|
+
NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
|
|
3219
|
+
var SPECIES = wellKnownSymbol$3('species');
|
|
3220
|
+
var SUBCLASSING = false;
|
|
3221
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$3(global$4.PromiseRejectionEvent);
|
|
3222
|
+
|
|
3223
|
+
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
|
|
3224
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
|
|
3225
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor$3);
|
|
3226
|
+
// V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
|
|
3227
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=830565
|
|
3228
|
+
// We can't detect it synchronously, so just check versions
|
|
3229
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;
|
|
3230
|
+
// We can't use @@species feature detection in V8 since it causes
|
|
3231
|
+
// deoptimization and performance degradation
|
|
3232
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
3233
|
+
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
|
|
3234
|
+
// Detect correctness of subclassing with @@species support
|
|
3235
|
+
var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
|
|
3236
|
+
var FakePromise = function (exec) {
|
|
3237
|
+
exec(function () { /* empty */ }, function () { /* empty */ });
|
|
3238
|
+
};
|
|
3239
|
+
var constructor = promise.constructor = {};
|
|
3240
|
+
constructor[SPECIES] = FakePromise;
|
|
3241
|
+
SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
|
|
3242
|
+
if (!SUBCLASSING) return true;
|
|
3243
|
+
// Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
|
|
3244
|
+
} return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
3245
|
+
});
|
|
3246
|
+
|
|
3247
|
+
var promiseConstructorDetection = {
|
|
3248
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
|
|
3249
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
|
|
3250
|
+
SUBCLASSING: SUBCLASSING
|
|
3251
|
+
};
|
|
3252
|
+
|
|
3253
|
+
var newPromiseCapability$2 = {};
|
|
3254
|
+
|
|
3255
|
+
var aCallable$4 = aCallable$8;
|
|
3256
|
+
|
|
3257
|
+
var $TypeError$2 = TypeError;
|
|
3258
|
+
|
|
3259
|
+
var PromiseCapability = function (C) {
|
|
3260
|
+
var resolve, reject;
|
|
3261
|
+
this.promise = new C(function ($$resolve, $$reject) {
|
|
3262
|
+
if (resolve !== undefined || reject !== undefined) throw $TypeError$2('Bad Promise constructor');
|
|
3263
|
+
resolve = $$resolve;
|
|
3264
|
+
reject = $$reject;
|
|
3265
|
+
});
|
|
3266
|
+
this.resolve = aCallable$4(resolve);
|
|
3267
|
+
this.reject = aCallable$4(reject);
|
|
3268
|
+
};
|
|
3269
|
+
|
|
3270
|
+
// `NewPromiseCapability` abstract operation
|
|
3271
|
+
// https://tc39.es/ecma262/#sec-newpromisecapability
|
|
3272
|
+
newPromiseCapability$2.f = function (C) {
|
|
3273
|
+
return new PromiseCapability(C);
|
|
3274
|
+
};
|
|
3275
|
+
|
|
3276
|
+
var $$7 = _export;
|
|
3277
|
+
var IS_NODE = engineIsNode;
|
|
3278
|
+
var global$3 = global$i;
|
|
3279
|
+
var call$7 = functionCall;
|
|
3280
|
+
var defineBuiltIn$2 = defineBuiltIn$6;
|
|
3281
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
3282
|
+
var setToStringTag = setToStringTag$3;
|
|
3283
|
+
var setSpecies = setSpecies$1;
|
|
3284
|
+
var aCallable$3 = aCallable$8;
|
|
3285
|
+
var isCallable$2 = isCallable$l;
|
|
3286
|
+
var isObject$1 = isObject$8;
|
|
3287
|
+
var anInstance = anInstance$1;
|
|
3288
|
+
var speciesConstructor = speciesConstructor$1;
|
|
3289
|
+
var task = task$1.set;
|
|
3290
|
+
var microtask = microtask_1;
|
|
3291
|
+
var hostReportErrors = hostReportErrors$1;
|
|
3292
|
+
var perform$2 = perform$3;
|
|
3293
|
+
var Queue = queue$1;
|
|
3294
|
+
var InternalStateModule = internalState;
|
|
3295
|
+
var NativePromiseConstructor$2 = promiseNativeConstructor;
|
|
3296
|
+
var PromiseConstructorDetection = promiseConstructorDetection;
|
|
3297
|
+
var newPromiseCapabilityModule$3 = newPromiseCapability$2;
|
|
3298
|
+
|
|
3299
|
+
var PROMISE = 'Promise';
|
|
3300
|
+
var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
|
|
3301
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
3302
|
+
var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;
|
|
3303
|
+
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
3304
|
+
var setInternalState = InternalStateModule.set;
|
|
3305
|
+
var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
3306
|
+
var PromiseConstructor = NativePromiseConstructor$2;
|
|
3307
|
+
var PromisePrototype = NativePromisePrototype$1;
|
|
3308
|
+
var TypeError$1 = global$3.TypeError;
|
|
3309
|
+
var document$1 = global$3.document;
|
|
3310
|
+
var process$1 = global$3.process;
|
|
3311
|
+
var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
|
|
3312
|
+
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
3313
|
+
|
|
3314
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$3.dispatchEvent);
|
|
3315
|
+
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
3316
|
+
var REJECTION_HANDLED = 'rejectionhandled';
|
|
3317
|
+
var PENDING = 0;
|
|
3318
|
+
var FULFILLED = 1;
|
|
3319
|
+
var REJECTED = 2;
|
|
3320
|
+
var HANDLED = 1;
|
|
3321
|
+
var UNHANDLED = 2;
|
|
3322
|
+
|
|
3323
|
+
var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;
|
|
3324
|
+
|
|
3325
|
+
// helpers
|
|
3326
|
+
var isThenable = function (it) {
|
|
3327
|
+
var then;
|
|
3328
|
+
return isObject$1(it) && isCallable$2(then = it.then) ? then : false;
|
|
3329
|
+
};
|
|
3330
|
+
|
|
3331
|
+
var callReaction = function (reaction, state) {
|
|
3332
|
+
var value = state.value;
|
|
3333
|
+
var ok = state.state == FULFILLED;
|
|
3334
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
3335
|
+
var resolve = reaction.resolve;
|
|
3336
|
+
var reject = reaction.reject;
|
|
3337
|
+
var domain = reaction.domain;
|
|
3338
|
+
var result, then, exited;
|
|
3339
|
+
try {
|
|
3340
|
+
if (handler) {
|
|
3341
|
+
if (!ok) {
|
|
3342
|
+
if (state.rejection === UNHANDLED) onHandleUnhandled(state);
|
|
3343
|
+
state.rejection = HANDLED;
|
|
3344
|
+
}
|
|
3345
|
+
if (handler === true) result = value;
|
|
3346
|
+
else {
|
|
3347
|
+
if (domain) domain.enter();
|
|
3348
|
+
result = handler(value); // can throw
|
|
3349
|
+
if (domain) {
|
|
3350
|
+
domain.exit();
|
|
3351
|
+
exited = true;
|
|
3352
|
+
}
|
|
3353
|
+
}
|
|
3354
|
+
if (result === reaction.promise) {
|
|
3355
|
+
reject(TypeError$1('Promise-chain cycle'));
|
|
3356
|
+
} else if (then = isThenable(result)) {
|
|
3357
|
+
call$7(then, result, resolve, reject);
|
|
3358
|
+
} else resolve(result);
|
|
3359
|
+
} else reject(value);
|
|
3360
|
+
} catch (error) {
|
|
3361
|
+
if (domain && !exited) domain.exit();
|
|
3362
|
+
reject(error);
|
|
3363
|
+
}
|
|
3364
|
+
};
|
|
3365
|
+
|
|
3366
|
+
var notify = function (state, isReject) {
|
|
3367
|
+
if (state.notified) return;
|
|
3368
|
+
state.notified = true;
|
|
3369
|
+
microtask(function () {
|
|
3370
|
+
var reactions = state.reactions;
|
|
3371
|
+
var reaction;
|
|
3372
|
+
while (reaction = reactions.get()) {
|
|
3373
|
+
callReaction(reaction, state);
|
|
3374
|
+
}
|
|
3375
|
+
state.notified = false;
|
|
3376
|
+
if (isReject && !state.rejection) onUnhandled(state);
|
|
3377
|
+
});
|
|
3378
|
+
};
|
|
3379
|
+
|
|
3380
|
+
var dispatchEvent = function (name, promise, reason) {
|
|
3381
|
+
var event, handler;
|
|
3382
|
+
if (DISPATCH_EVENT) {
|
|
3383
|
+
event = document$1.createEvent('Event');
|
|
3384
|
+
event.promise = promise;
|
|
3385
|
+
event.reason = reason;
|
|
3386
|
+
event.initEvent(name, false, true);
|
|
3387
|
+
global$3.dispatchEvent(event);
|
|
3388
|
+
} else event = { promise: promise, reason: reason };
|
|
3389
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$3['on' + name])) handler(event);
|
|
3390
|
+
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
3391
|
+
};
|
|
3392
|
+
|
|
3393
|
+
var onUnhandled = function (state) {
|
|
3394
|
+
call$7(task, global$3, function () {
|
|
3395
|
+
var promise = state.facade;
|
|
3396
|
+
var value = state.value;
|
|
3397
|
+
var IS_UNHANDLED = isUnhandled(state);
|
|
3398
|
+
var result;
|
|
3399
|
+
if (IS_UNHANDLED) {
|
|
3400
|
+
result = perform$2(function () {
|
|
3401
|
+
if (IS_NODE) {
|
|
3402
|
+
process$1.emit('unhandledRejection', value, promise);
|
|
3403
|
+
} else dispatchEvent(UNHANDLED_REJECTION, promise, value);
|
|
3404
|
+
});
|
|
3405
|
+
// Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
|
|
3406
|
+
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
|
3407
|
+
if (result.error) throw result.value;
|
|
3408
|
+
}
|
|
3409
|
+
});
|
|
3410
|
+
};
|
|
3411
|
+
|
|
3412
|
+
var isUnhandled = function (state) {
|
|
3413
|
+
return state.rejection !== HANDLED && !state.parent;
|
|
3414
|
+
};
|
|
3415
|
+
|
|
3416
|
+
var onHandleUnhandled = function (state) {
|
|
3417
|
+
call$7(task, global$3, function () {
|
|
3418
|
+
var promise = state.facade;
|
|
3419
|
+
if (IS_NODE) {
|
|
3420
|
+
process$1.emit('rejectionHandled', promise);
|
|
3421
|
+
} else dispatchEvent(REJECTION_HANDLED, promise, state.value);
|
|
3422
|
+
});
|
|
3423
|
+
};
|
|
3424
|
+
|
|
3425
|
+
var bind$1 = function (fn, state, unwrap) {
|
|
3426
|
+
return function (value) {
|
|
3427
|
+
fn(state, value, unwrap);
|
|
3428
|
+
};
|
|
3429
|
+
};
|
|
3430
|
+
|
|
3431
|
+
var internalReject = function (state, value, unwrap) {
|
|
3432
|
+
if (state.done) return;
|
|
3433
|
+
state.done = true;
|
|
3434
|
+
if (unwrap) state = unwrap;
|
|
3435
|
+
state.value = value;
|
|
3436
|
+
state.state = REJECTED;
|
|
3437
|
+
notify(state, true);
|
|
3438
|
+
};
|
|
3439
|
+
|
|
3440
|
+
var internalResolve = function (state, value, unwrap) {
|
|
3441
|
+
if (state.done) return;
|
|
3442
|
+
state.done = true;
|
|
3443
|
+
if (unwrap) state = unwrap;
|
|
3444
|
+
try {
|
|
3445
|
+
if (state.facade === value) throw TypeError$1("Promise can't be resolved itself");
|
|
3446
|
+
var then = isThenable(value);
|
|
3447
|
+
if (then) {
|
|
3448
|
+
microtask(function () {
|
|
3449
|
+
var wrapper = { done: false };
|
|
3450
|
+
try {
|
|
3451
|
+
call$7(then, value,
|
|
3452
|
+
bind$1(internalResolve, wrapper, state),
|
|
3453
|
+
bind$1(internalReject, wrapper, state)
|
|
3454
|
+
);
|
|
3455
|
+
} catch (error) {
|
|
3456
|
+
internalReject(wrapper, error, state);
|
|
3457
|
+
}
|
|
3458
|
+
});
|
|
3459
|
+
} else {
|
|
3460
|
+
state.value = value;
|
|
3461
|
+
state.state = FULFILLED;
|
|
3462
|
+
notify(state, false);
|
|
3463
|
+
}
|
|
3464
|
+
} catch (error) {
|
|
3465
|
+
internalReject({ done: false }, error, state);
|
|
3466
|
+
}
|
|
3467
|
+
};
|
|
3468
|
+
|
|
3469
|
+
// constructor polyfill
|
|
3470
|
+
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
3471
|
+
// 25.4.3.1 Promise(executor)
|
|
3472
|
+
PromiseConstructor = function Promise(executor) {
|
|
3473
|
+
anInstance(this, PromisePrototype);
|
|
3474
|
+
aCallable$3(executor);
|
|
3475
|
+
call$7(Internal, this);
|
|
3476
|
+
var state = getInternalPromiseState(this);
|
|
3477
|
+
try {
|
|
3478
|
+
executor(bind$1(internalResolve, state), bind$1(internalReject, state));
|
|
3479
|
+
} catch (error) {
|
|
3480
|
+
internalReject(state, error);
|
|
3481
|
+
}
|
|
3482
|
+
};
|
|
3483
|
+
|
|
3484
|
+
PromisePrototype = PromiseConstructor.prototype;
|
|
3485
|
+
|
|
3486
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3487
|
+
Internal = function Promise(executor) {
|
|
3488
|
+
setInternalState(this, {
|
|
3489
|
+
type: PROMISE,
|
|
3490
|
+
done: false,
|
|
3491
|
+
notified: false,
|
|
3492
|
+
parent: false,
|
|
3493
|
+
reactions: new Queue(),
|
|
3494
|
+
rejection: false,
|
|
3495
|
+
state: PENDING,
|
|
3496
|
+
value: undefined
|
|
3497
|
+
});
|
|
3498
|
+
};
|
|
3499
|
+
|
|
3500
|
+
// `Promise.prototype.then` method
|
|
3501
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.then
|
|
3502
|
+
Internal.prototype = defineBuiltIn$2(PromisePrototype, 'then', function then(onFulfilled, onRejected) {
|
|
3503
|
+
var state = getInternalPromiseState(this);
|
|
3504
|
+
var reaction = newPromiseCapability$1(speciesConstructor(this, PromiseConstructor));
|
|
3505
|
+
state.parent = true;
|
|
3506
|
+
reaction.ok = isCallable$2(onFulfilled) ? onFulfilled : true;
|
|
3507
|
+
reaction.fail = isCallable$2(onRejected) && onRejected;
|
|
3508
|
+
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
|
3509
|
+
if (state.state == PENDING) state.reactions.add(reaction);
|
|
3510
|
+
else microtask(function () {
|
|
3511
|
+
callReaction(reaction, state);
|
|
3512
|
+
});
|
|
3513
|
+
return reaction.promise;
|
|
3514
|
+
});
|
|
3515
|
+
|
|
3516
|
+
OwnPromiseCapability = function () {
|
|
3517
|
+
var promise = new Internal();
|
|
3518
|
+
var state = getInternalPromiseState(promise);
|
|
3519
|
+
this.promise = promise;
|
|
3520
|
+
this.resolve = bind$1(internalResolve, state);
|
|
3521
|
+
this.reject = bind$1(internalReject, state);
|
|
3522
|
+
};
|
|
3523
|
+
|
|
3524
|
+
newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
|
|
3525
|
+
return C === PromiseConstructor || C === PromiseWrapper
|
|
3526
|
+
? new OwnPromiseCapability(C)
|
|
3527
|
+
: newGenericPromiseCapability(C);
|
|
3528
|
+
};
|
|
3529
|
+
|
|
3530
|
+
if (isCallable$2(NativePromiseConstructor$2) && NativePromisePrototype$1 !== Object.prototype) {
|
|
3531
|
+
nativeThen = NativePromisePrototype$1.then;
|
|
3532
|
+
|
|
3533
|
+
if (!NATIVE_PROMISE_SUBCLASSING) {
|
|
3534
|
+
// make `Promise#then` return a polyfilled `Promise` for native promise-based APIs
|
|
3535
|
+
defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
|
|
3536
|
+
var that = this;
|
|
3537
|
+
return new PromiseConstructor(function (resolve, reject) {
|
|
3538
|
+
call$7(nativeThen, that, resolve, reject);
|
|
3539
|
+
}).then(onFulfilled, onRejected);
|
|
3540
|
+
// https://github.com/zloirock/core-js/issues/640
|
|
3541
|
+
}, { unsafe: true });
|
|
3542
|
+
}
|
|
3543
|
+
|
|
3544
|
+
// make `.constructor === Promise` work for native promise-based APIs
|
|
3545
|
+
try {
|
|
3546
|
+
delete NativePromisePrototype$1.constructor;
|
|
3547
|
+
} catch (error) { /* empty */ }
|
|
3548
|
+
|
|
3549
|
+
// make `instanceof Promise` work for native promise-based APIs
|
|
3550
|
+
if (setPrototypeOf) {
|
|
3551
|
+
setPrototypeOf(NativePromisePrototype$1, PromisePrototype);
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
$$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
|
|
3557
|
+
Promise: PromiseConstructor
|
|
3558
|
+
});
|
|
3559
|
+
|
|
3560
|
+
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
3561
|
+
setSpecies(PROMISE);
|
|
3562
|
+
|
|
3563
|
+
var wellKnownSymbol$2 = wellKnownSymbol$e;
|
|
3564
|
+
var Iterators$1 = iterators;
|
|
3565
|
+
|
|
3566
|
+
var ITERATOR$3 = wellKnownSymbol$2('iterator');
|
|
3567
|
+
var ArrayPrototype = Array.prototype;
|
|
3568
|
+
|
|
3569
|
+
// check on default Array iterator
|
|
3570
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
3571
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
var classof$1 = classof$3;
|
|
3575
|
+
var getMethod$1 = getMethod$3;
|
|
3576
|
+
var isNullOrUndefined = isNullOrUndefined$4;
|
|
3577
|
+
var Iterators = iterators;
|
|
3578
|
+
var wellKnownSymbol$1 = wellKnownSymbol$e;
|
|
3579
|
+
|
|
3580
|
+
var ITERATOR$2 = wellKnownSymbol$1('iterator');
|
|
3581
|
+
|
|
3582
|
+
var getIteratorMethod$2 = function (it) {
|
|
3583
|
+
if (!isNullOrUndefined(it)) return getMethod$1(it, ITERATOR$2)
|
|
3584
|
+
|| getMethod$1(it, '@@iterator')
|
|
3585
|
+
|| Iterators[classof$1(it)];
|
|
3586
|
+
};
|
|
3587
|
+
|
|
3588
|
+
var call$6 = functionCall;
|
|
3589
|
+
var aCallable$2 = aCallable$8;
|
|
3590
|
+
var anObject$5 = anObject$c;
|
|
3591
|
+
var tryToString$1 = tryToString$4;
|
|
3592
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3593
|
+
|
|
3594
|
+
var $TypeError$1 = TypeError;
|
|
3595
|
+
|
|
3596
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
3597
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3598
|
+
if (aCallable$2(iteratorMethod)) return anObject$5(call$6(iteratorMethod, argument));
|
|
3599
|
+
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
3600
|
+
};
|
|
3601
|
+
|
|
3602
|
+
var call$5 = functionCall;
|
|
3603
|
+
var anObject$4 = anObject$c;
|
|
3604
|
+
var getMethod = getMethod$3;
|
|
3605
|
+
|
|
3606
|
+
var iteratorClose$1 = function (iterator, kind, value) {
|
|
3607
|
+
var innerResult, innerError;
|
|
3608
|
+
anObject$4(iterator);
|
|
3609
|
+
try {
|
|
3610
|
+
innerResult = getMethod(iterator, 'return');
|
|
3611
|
+
if (!innerResult) {
|
|
3612
|
+
if (kind === 'throw') throw value;
|
|
3613
|
+
return value;
|
|
3614
|
+
}
|
|
3615
|
+
innerResult = call$5(innerResult, iterator);
|
|
3616
|
+
} catch (error) {
|
|
3617
|
+
innerError = true;
|
|
3618
|
+
innerResult = error;
|
|
3619
|
+
}
|
|
3620
|
+
if (kind === 'throw') throw value;
|
|
3621
|
+
if (innerError) throw innerResult;
|
|
3622
|
+
anObject$4(innerResult);
|
|
3623
|
+
return value;
|
|
3624
|
+
};
|
|
3625
|
+
|
|
3626
|
+
var bind = functionBindContext;
|
|
3627
|
+
var call$4 = functionCall;
|
|
3628
|
+
var anObject$3 = anObject$c;
|
|
3629
|
+
var tryToString = tryToString$4;
|
|
3630
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3631
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
3632
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3633
|
+
var getIterator = getIterator$1;
|
|
3634
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
3635
|
+
var iteratorClose = iteratorClose$1;
|
|
3636
|
+
|
|
3637
|
+
var $TypeError = TypeError;
|
|
3638
|
+
|
|
3639
|
+
var Result = function (stopped, result) {
|
|
3640
|
+
this.stopped = stopped;
|
|
3641
|
+
this.result = result;
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
var ResultPrototype = Result.prototype;
|
|
3645
|
+
|
|
3646
|
+
var iterate$2 = function (iterable, unboundFunction, options) {
|
|
3647
|
+
var that = options && options.that;
|
|
3648
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3649
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3650
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3651
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3652
|
+
var fn = bind(unboundFunction, that);
|
|
3653
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
3654
|
+
|
|
3655
|
+
var stop = function (condition) {
|
|
3656
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
3657
|
+
return new Result(true, condition);
|
|
3658
|
+
};
|
|
3659
|
+
|
|
3660
|
+
var callFn = function (value) {
|
|
3661
|
+
if (AS_ENTRIES) {
|
|
3662
|
+
anObject$3(value);
|
|
3663
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3664
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3667
|
+
if (IS_RECORD) {
|
|
3668
|
+
iterator = iterable.iterator;
|
|
3669
|
+
} else if (IS_ITERATOR) {
|
|
3670
|
+
iterator = iterable;
|
|
3671
|
+
} else {
|
|
3672
|
+
iterFn = getIteratorMethod(iterable);
|
|
3673
|
+
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3674
|
+
// optimisation for array iterators
|
|
3675
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
3676
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
3677
|
+
result = callFn(iterable[index]);
|
|
3678
|
+
if (result && isPrototypeOf$2(ResultPrototype, result)) return result;
|
|
3679
|
+
} return new Result(false);
|
|
3680
|
+
}
|
|
3681
|
+
iterator = getIterator(iterable, iterFn);
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3685
|
+
while (!(step = call$4(next, iterator)).done) {
|
|
3686
|
+
try {
|
|
3687
|
+
result = callFn(step.value);
|
|
3688
|
+
} catch (error) {
|
|
3689
|
+
iteratorClose(iterator, 'throw', error);
|
|
3690
|
+
}
|
|
3691
|
+
if (typeof result == 'object' && result && isPrototypeOf$2(ResultPrototype, result)) return result;
|
|
3692
|
+
} return new Result(false);
|
|
3693
|
+
};
|
|
3694
|
+
|
|
3695
|
+
var wellKnownSymbol = wellKnownSymbol$e;
|
|
3696
|
+
|
|
3697
|
+
var ITERATOR$1 = wellKnownSymbol('iterator');
|
|
3698
|
+
var SAFE_CLOSING = false;
|
|
3699
|
+
|
|
3700
|
+
try {
|
|
3701
|
+
var called = 0;
|
|
3702
|
+
var iteratorWithReturn = {
|
|
3703
|
+
next: function () {
|
|
3704
|
+
return { done: !!called++ };
|
|
3705
|
+
},
|
|
3706
|
+
'return': function () {
|
|
3707
|
+
SAFE_CLOSING = true;
|
|
3708
|
+
}
|
|
3709
|
+
};
|
|
3710
|
+
iteratorWithReturn[ITERATOR$1] = function () {
|
|
3711
|
+
return this;
|
|
3712
|
+
};
|
|
3713
|
+
// eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
|
|
3714
|
+
Array.from(iteratorWithReturn, function () { throw 2; });
|
|
3715
|
+
} catch (error) { /* empty */ }
|
|
3716
|
+
|
|
3717
|
+
var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
3718
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
|
3719
|
+
var ITERATION_SUPPORT = false;
|
|
3720
|
+
try {
|
|
3721
|
+
var object = {};
|
|
3722
|
+
object[ITERATOR$1] = function () {
|
|
3723
|
+
return {
|
|
3724
|
+
next: function () {
|
|
3725
|
+
return { done: ITERATION_SUPPORT = true };
|
|
3726
|
+
}
|
|
3727
|
+
};
|
|
3728
|
+
};
|
|
3729
|
+
exec(object);
|
|
3730
|
+
} catch (error) { /* empty */ }
|
|
3731
|
+
return ITERATION_SUPPORT;
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
var NativePromiseConstructor$1 = promiseNativeConstructor;
|
|
3735
|
+
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$1;
|
|
3736
|
+
var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3737
|
+
|
|
3738
|
+
var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function (iterable) {
|
|
3739
|
+
NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
|
|
3740
|
+
});
|
|
3741
|
+
|
|
3742
|
+
var $$6 = _export;
|
|
3743
|
+
var call$3 = functionCall;
|
|
3744
|
+
var aCallable$1 = aCallable$8;
|
|
3745
|
+
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3746
|
+
var perform$1 = perform$3;
|
|
3747
|
+
var iterate$1 = iterate$2;
|
|
3748
|
+
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
3749
|
+
|
|
3750
|
+
// `Promise.all` method
|
|
3751
|
+
// https://tc39.es/ecma262/#sec-promise.all
|
|
3752
|
+
$$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
|
|
3753
|
+
all: function all(iterable) {
|
|
3754
|
+
var C = this;
|
|
3755
|
+
var capability = newPromiseCapabilityModule$2.f(C);
|
|
3756
|
+
var resolve = capability.resolve;
|
|
3757
|
+
var reject = capability.reject;
|
|
3758
|
+
var result = perform$1(function () {
|
|
3759
|
+
var $promiseResolve = aCallable$1(C.resolve);
|
|
3760
|
+
var values = [];
|
|
3761
|
+
var counter = 0;
|
|
3762
|
+
var remaining = 1;
|
|
3763
|
+
iterate$1(iterable, function (promise) {
|
|
3764
|
+
var index = counter++;
|
|
3765
|
+
var alreadyCalled = false;
|
|
3766
|
+
remaining++;
|
|
3767
|
+
call$3($promiseResolve, C, promise).then(function (value) {
|
|
3768
|
+
if (alreadyCalled) return;
|
|
3769
|
+
alreadyCalled = true;
|
|
3770
|
+
values[index] = value;
|
|
3771
|
+
--remaining || resolve(values);
|
|
3772
|
+
}, reject);
|
|
3773
|
+
});
|
|
3774
|
+
--remaining || resolve(values);
|
|
3775
|
+
});
|
|
3776
|
+
if (result.error) reject(result.value);
|
|
3777
|
+
return capability.promise;
|
|
3778
|
+
}
|
|
3779
|
+
});
|
|
3780
|
+
|
|
3781
|
+
var $$5 = _export;
|
|
3782
|
+
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3783
|
+
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3784
|
+
var getBuiltIn$1 = getBuiltIn$7;
|
|
3785
|
+
var isCallable$1 = isCallable$l;
|
|
3786
|
+
var defineBuiltIn$1 = defineBuiltIn$6;
|
|
3787
|
+
|
|
3788
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
3789
|
+
|
|
3790
|
+
// `Promise.prototype.catch` method
|
|
3791
|
+
// https://tc39.es/ecma262/#sec-promise.prototype.catch
|
|
3792
|
+
$$5({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
|
|
3793
|
+
'catch': function (onRejected) {
|
|
3794
|
+
return this.then(undefined, onRejected);
|
|
3795
|
+
}
|
|
3796
|
+
});
|
|
3797
|
+
|
|
3798
|
+
// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`
|
|
3799
|
+
if (isCallable$1(NativePromiseConstructor)) {
|
|
3800
|
+
var method = getBuiltIn$1('Promise').prototype['catch'];
|
|
3801
|
+
if (NativePromisePrototype['catch'] !== method) {
|
|
3802
|
+
defineBuiltIn$1(NativePromisePrototype, 'catch', method, { unsafe: true });
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
var $$4 = _export;
|
|
3807
|
+
var call$2 = functionCall;
|
|
3808
|
+
var aCallable = aCallable$8;
|
|
3809
|
+
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3810
|
+
var perform = perform$3;
|
|
3811
|
+
var iterate = iterate$2;
|
|
3812
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
3813
|
+
|
|
3814
|
+
// `Promise.race` method
|
|
3815
|
+
// https://tc39.es/ecma262/#sec-promise.race
|
|
3816
|
+
$$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
|
|
3817
|
+
race: function race(iterable) {
|
|
3818
|
+
var C = this;
|
|
3819
|
+
var capability = newPromiseCapabilityModule$1.f(C);
|
|
3820
|
+
var reject = capability.reject;
|
|
3821
|
+
var result = perform(function () {
|
|
3822
|
+
var $promiseResolve = aCallable(C.resolve);
|
|
3823
|
+
iterate(iterable, function (promise) {
|
|
3824
|
+
call$2($promiseResolve, C, promise).then(capability.resolve, reject);
|
|
3825
|
+
});
|
|
3826
|
+
});
|
|
3827
|
+
if (result.error) reject(result.value);
|
|
3828
|
+
return capability.promise;
|
|
3829
|
+
}
|
|
3830
|
+
});
|
|
3831
|
+
|
|
3832
|
+
var $$3 = _export;
|
|
3833
|
+
var call$1 = functionCall;
|
|
3834
|
+
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3835
|
+
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3836
|
+
|
|
3837
|
+
// `Promise.reject` method
|
|
3838
|
+
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3839
|
+
$$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
3840
|
+
reject: function reject(r) {
|
|
3841
|
+
var capability = newPromiseCapabilityModule.f(this);
|
|
3842
|
+
call$1(capability.reject, undefined, r);
|
|
3843
|
+
return capability.promise;
|
|
3844
|
+
}
|
|
3845
|
+
});
|
|
3846
|
+
|
|
3847
|
+
var anObject$2 = anObject$c;
|
|
3848
|
+
var isObject = isObject$8;
|
|
3849
|
+
var newPromiseCapability = newPromiseCapability$2;
|
|
3850
|
+
|
|
3851
|
+
var promiseResolve$1 = function (C, x) {
|
|
3852
|
+
anObject$2(C);
|
|
3853
|
+
if (isObject(x) && x.constructor === C) return x;
|
|
3854
|
+
var promiseCapability = newPromiseCapability.f(C);
|
|
3855
|
+
var resolve = promiseCapability.resolve;
|
|
3856
|
+
resolve(x);
|
|
3857
|
+
return promiseCapability.promise;
|
|
3858
|
+
};
|
|
3859
|
+
|
|
3860
|
+
var $$2 = _export;
|
|
3861
|
+
var getBuiltIn = getBuiltIn$7;
|
|
3862
|
+
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3863
|
+
var promiseResolve = promiseResolve$1;
|
|
3864
|
+
|
|
3865
|
+
getBuiltIn('Promise');
|
|
3866
|
+
|
|
3867
|
+
// `Promise.resolve` method
|
|
3868
|
+
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3869
|
+
$$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
|
|
3870
|
+
resolve: function resolve(x) {
|
|
3871
|
+
return promiseResolve(this, x);
|
|
3872
|
+
}
|
|
3873
|
+
});
|
|
3874
|
+
|
|
2748
3875
|
const FormItem = ({
|
|
2749
3876
|
expandableInfo,
|
|
2750
3877
|
label,
|
|
@@ -2805,18 +3932,18 @@ const FormItem = ({
|
|
|
2805
3932
|
size: "small",
|
|
2806
3933
|
"aria-expanded": isExpanded,
|
|
2807
3934
|
"aria-controls": `${inputId}-expandable-info`,
|
|
2808
|
-
onClick: event =>
|
|
3935
|
+
onClick: async event => {
|
|
2809
3936
|
if (!isExpanded) {
|
|
2810
3937
|
setIsHidden(false);
|
|
2811
|
-
|
|
3938
|
+
await delay(10);
|
|
2812
3939
|
expandableInnerRef.current && setExpandableHeight(expandableInnerRef.current['clientHeight']);
|
|
2813
3940
|
setIsExpanded(true);
|
|
2814
3941
|
} else {
|
|
2815
3942
|
setIsExpanded(false);
|
|
2816
|
-
|
|
3943
|
+
await delay(300);
|
|
2817
3944
|
setIsHidden(true);
|
|
2818
3945
|
}
|
|
2819
|
-
}
|
|
3946
|
+
}
|
|
2820
3947
|
}, {
|
|
2821
3948
|
children: isExpanded ? jsx(Times, {
|
|
2822
3949
|
title: expandableInfoButtonLabel
|
|
@@ -3007,46 +4134,7 @@ const Text = ({
|
|
|
3007
4134
|
children: children
|
|
3008
4135
|
}));
|
|
3009
4136
|
|
|
3010
|
-
var
|
|
3011
|
-
|
|
3012
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
3013
|
-
var test = {};
|
|
3014
|
-
|
|
3015
|
-
test[TO_STRING_TAG$1] = 'z';
|
|
3016
|
-
|
|
3017
|
-
var toStringTagSupport = String(test) === '[object z]';
|
|
3018
|
-
|
|
3019
|
-
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3020
|
-
var isCallable$1 = isCallable$g;
|
|
3021
|
-
var classofRaw = classofRaw$1;
|
|
3022
|
-
var wellKnownSymbol = wellKnownSymbol$8;
|
|
3023
|
-
|
|
3024
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
3025
|
-
var $Object = Object;
|
|
3026
|
-
|
|
3027
|
-
// ES3 wrong here
|
|
3028
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
3029
|
-
|
|
3030
|
-
// fallback for IE11 Script Access Denied error
|
|
3031
|
-
var tryGet = function (it, key) {
|
|
3032
|
-
try {
|
|
3033
|
-
return it[key];
|
|
3034
|
-
} catch (error) { /* empty */ }
|
|
3035
|
-
};
|
|
3036
|
-
|
|
3037
|
-
// getting tag from ES6+ `Object.prototype.toString`
|
|
3038
|
-
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
3039
|
-
var O, tag, result;
|
|
3040
|
-
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
3041
|
-
// @@toStringTag case
|
|
3042
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
3043
|
-
// builtinTag case
|
|
3044
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
3045
|
-
// ES3 arguments fallback
|
|
3046
|
-
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
3047
|
-
};
|
|
3048
|
-
|
|
3049
|
-
var classof = classof$1;
|
|
4137
|
+
var classof = classof$3;
|
|
3050
4138
|
|
|
3051
4139
|
var $String = String;
|
|
3052
4140
|
|
|
@@ -3055,24 +4143,15 @@ var toString$3 = function (argument) {
|
|
|
3055
4143
|
return $String(argument);
|
|
3056
4144
|
};
|
|
3057
4145
|
|
|
3058
|
-
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
3059
|
-
var defineProperty = objectDefineProperty;
|
|
3060
|
-
|
|
3061
|
-
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
3062
|
-
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
3063
|
-
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
3064
|
-
return defineProperty.f(target, name, descriptor);
|
|
3065
|
-
};
|
|
3066
|
-
|
|
3067
4146
|
var $$1 = _export;
|
|
3068
4147
|
var DESCRIPTORS = descriptors;
|
|
3069
|
-
var global$2 = global$
|
|
4148
|
+
var global$2 = global$i;
|
|
3070
4149
|
var uncurryThis$2 = functionUncurryThis;
|
|
3071
4150
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3072
|
-
var isCallable = isCallable$
|
|
4151
|
+
var isCallable = isCallable$l;
|
|
3073
4152
|
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3074
4153
|
var toString$2 = toString$3;
|
|
3075
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
4154
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
3076
4155
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
3077
4156
|
|
|
3078
4157
|
var NativeSymbol = global$2.Symbol;
|
|
@@ -3491,7 +4570,7 @@ const OptionGroup = ({
|
|
|
3491
4570
|
}));
|
|
3492
4571
|
};
|
|
3493
4572
|
|
|
3494
|
-
var anObject$1 = anObject$
|
|
4573
|
+
var anObject$1 = anObject$c;
|
|
3495
4574
|
|
|
3496
4575
|
// `RegExp.prototype.flags` getter implementation
|
|
3497
4576
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
@@ -3523,10 +4602,10 @@ var regexpGetFlags = function (R) {
|
|
|
3523
4602
|
};
|
|
3524
4603
|
|
|
3525
4604
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
3526
|
-
var defineBuiltIn = defineBuiltIn$
|
|
3527
|
-
var anObject = anObject$
|
|
4605
|
+
var defineBuiltIn = defineBuiltIn$6;
|
|
4606
|
+
var anObject = anObject$c;
|
|
3528
4607
|
var $toString = toString$3;
|
|
3529
|
-
var fails$1 = fails$
|
|
4608
|
+
var fails$1 = fails$f;
|
|
3530
4609
|
var getRegExpFlags = regexpGetFlags;
|
|
3531
4610
|
|
|
3532
4611
|
var TO_STRING = 'toString';
|
|
@@ -3583,7 +4662,8 @@ function Slider({
|
|
|
3583
4662
|
disabled = false,
|
|
3584
4663
|
onChange,
|
|
3585
4664
|
enableClamping = true,
|
|
3586
|
-
onClamp
|
|
4665
|
+
onClamp,
|
|
4666
|
+
enterKeyHint
|
|
3587
4667
|
}) {
|
|
3588
4668
|
const [background, setBackground] = React.useState();
|
|
3589
4669
|
const [sliderValue, setSliderValue] = React.useState(value !== null && value !== void 0 ? value : defaultValue);
|
|
@@ -3643,11 +4723,14 @@ function Slider({
|
|
|
3643
4723
|
unitLabel: unitLabel
|
|
3644
4724
|
}, {
|
|
3645
4725
|
children: jsx("input", {
|
|
3646
|
-
type: "
|
|
4726
|
+
type: "text",
|
|
4727
|
+
inputMode: "numeric",
|
|
4728
|
+
pattern: "[0-9]*",
|
|
3647
4729
|
value: inputFieldValue,
|
|
3648
4730
|
id: `${name}-textbox`,
|
|
3649
4731
|
name: name,
|
|
3650
4732
|
"aria-labelledby": `${name}-label`,
|
|
4733
|
+
enterKeyHint: enterKeyHint,
|
|
3651
4734
|
className: errorMessage ? 'is-invalid' : '',
|
|
3652
4735
|
disabled: disabled,
|
|
3653
4736
|
onChange: e => handleInputFieldChange(e.currentTarget.value),
|
|
@@ -3839,8 +4922,8 @@ var stringTrim = {
|
|
|
3839
4922
|
trim: createMethod(3)
|
|
3840
4923
|
};
|
|
3841
4924
|
|
|
3842
|
-
var global$1 = global$
|
|
3843
|
-
var fails = fails$
|
|
4925
|
+
var global$1 = global$i;
|
|
4926
|
+
var fails = fails$f;
|
|
3844
4927
|
var uncurryThis = functionUncurryThis;
|
|
3845
4928
|
var toString = toString$3;
|
|
3846
4929
|
var trim = stringTrim.trim;
|