@trackunit/custom-field-components 0.0.189 → 0.0.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1107 -992
  2. package/package.json +5 -4
package/index.js CHANGED
@@ -1,30 +1,14 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { CustomFieldType } from '@trackunit/iris-app-runtime-core-api';
3
- import { FormGroup, Checkbox, DateField, Select, BaseInput, TextField, ActionButton } from '@trackunit/react-components';
3
+ import { FormGroup, Checkbox, DateField, Select, IconButton, NumberInput, BaseInput, Icon, TextField, ActionButton } from '@trackunit/react-components';
4
+ import { tw, twx } from '@trackunit/tailwind-styled-components';
4
5
  import * as React from 'react';
5
- import { useCallback, useEffect } from 'react';
6
+ import { useCallback, useEffect, useState } from 'react';
6
7
  import { isValidPhoneNumber } from 'libphonenumber-js';
7
8
 
8
9
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
10
 
10
- var check = function (it) {
11
- return it && it.Math == Math && it;
12
- };
13
-
14
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
15
- var global$g =
16
- // eslint-disable-next-line es/no-global-this -- safe
17
- check(typeof globalThis == 'object' && globalThis) ||
18
- check(typeof window == 'object' && window) ||
19
- // eslint-disable-next-line no-restricted-globals -- safe
20
- check(typeof self == 'object' && self) ||
21
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22
- // eslint-disable-next-line no-new-func -- fallback
23
- (function () { return this; })() || Function('return this')();
24
-
25
- var objectGetOwnPropertyDescriptor = {};
26
-
27
- var fails$g = function (exec) {
11
+ var fails$h = function (exec) {
28
12
  try {
29
13
  return !!exec();
30
14
  } catch (error) {
@@ -32,17 +16,9 @@ var fails$g = function (exec) {
32
16
  }
33
17
  };
34
18
 
35
- var fails$f = fails$g;
19
+ var fails$g = fails$h;
36
20
 
37
- // Detect IE8's incomplete defineProperty implementation
38
- var descriptors = !fails$f(function () {
39
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
40
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
41
- });
42
-
43
- var fails$e = fails$g;
44
-
45
- var functionBindNative = !fails$e(function () {
21
+ var functionBindNative = !fails$g(function () {
46
22
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
47
23
  var test = (function () { /* empty */ }).bind();
48
24
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -51,56 +27,23 @@ var functionBindNative = !fails$e(function () {
51
27
 
52
28
  var NATIVE_BIND$1 = functionBindNative;
53
29
 
54
- var call$8 = Function.prototype.call;
55
-
56
- var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
57
- return call$8.apply(call$8, arguments);
58
- };
59
-
60
- var objectPropertyIsEnumerable = {};
61
-
62
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
63
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
64
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
65
-
66
- // Nashorn ~ JDK8 bug
67
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
68
-
69
- // `Object.prototype.propertyIsEnumerable` method implementation
70
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
71
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
72
- var descriptor = getOwnPropertyDescriptor$1(this, V);
73
- return !!descriptor && descriptor.enumerable;
74
- } : $propertyIsEnumerable;
75
-
76
- var createPropertyDescriptor$3 = function (bitmap, value) {
77
- return {
78
- enumerable: !(bitmap & 1),
79
- configurable: !(bitmap & 2),
80
- writable: !(bitmap & 4),
81
- value: value
82
- };
83
- };
84
-
85
- var NATIVE_BIND = functionBindNative;
86
-
87
30
  var FunctionPrototype$1 = Function.prototype;
88
- var call$7 = FunctionPrototype$1.call;
89
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
31
+ var call$8 = FunctionPrototype$1.call;
32
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$8, call$8);
90
33
 
91
34
  var functionUncurryThisRaw = function (fn) {
92
- return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
93
- return call$7.apply(fn, arguments);
35
+ return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
36
+ return call$8.apply(fn, arguments);
94
37
  };
95
38
  };
96
39
 
97
40
  var uncurryThisRaw$1 = functionUncurryThisRaw;
98
41
 
99
- var toString$5 = uncurryThisRaw$1({}.toString);
42
+ var toString$7 = uncurryThisRaw$1({}.toString);
100
43
  var stringSlice$3 = uncurryThisRaw$1(''.slice);
101
44
 
102
45
  var classofRaw$2 = function (it) {
103
- return stringSlice$3(toString$5(it), 8, -1);
46
+ return stringSlice$3(toString$7(it), 8, -1);
104
47
  };
105
48
 
106
49
  var classofRaw$1 = classofRaw$2;
@@ -113,15 +56,15 @@ var functionUncurryThis = function (fn) {
113
56
  if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
114
57
  };
115
58
 
116
- var uncurryThis$b = functionUncurryThis;
117
- var fails$d = fails$g;
59
+ var uncurryThis$d = functionUncurryThis;
60
+ var fails$f = fails$h;
118
61
  var classof$3 = classofRaw$2;
119
62
 
120
63
  var $Object$4 = Object;
121
- var split = uncurryThis$b(''.split);
64
+ var split = uncurryThis$d(''.split);
122
65
 
123
66
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
124
- var indexedObject = fails$d(function () {
67
+ var indexedObject = fails$f(function () {
125
68
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
126
69
  // eslint-disable-next-line no-prototype-builtins -- safe
127
70
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -141,17 +84,99 @@ var $TypeError$6 = TypeError;
141
84
 
142
85
  // `RequireObjectCoercible` abstract operation
143
86
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
144
- var requireObjectCoercible$2 = function (it) {
87
+ var requireObjectCoercible$3 = function (it) {
145
88
  if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
146
89
  return it;
147
90
  };
148
91
 
149
92
  // toObject with fallback for non-array-like ES3 strings
150
93
  var IndexedObject$1 = indexedObject;
151
- var requireObjectCoercible$1 = requireObjectCoercible$2;
94
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
152
95
 
153
96
  var toIndexedObject$5 = function (it) {
154
- return IndexedObject$1(requireObjectCoercible$1(it));
97
+ return IndexedObject$1(requireObjectCoercible$2(it));
98
+ };
99
+
100
+ var check = function (it) {
101
+ return it && it.Math == Math && it;
102
+ };
103
+
104
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
105
+ var global$h =
106
+ // eslint-disable-next-line es/no-global-this -- safe
107
+ check(typeof globalThis == 'object' && globalThis) ||
108
+ check(typeof window == 'object' && window) ||
109
+ // eslint-disable-next-line no-restricted-globals -- safe
110
+ check(typeof self == 'object' && self) ||
111
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
112
+ // eslint-disable-next-line no-new-func -- fallback
113
+ (function () { return this; })() || Function('return this')();
114
+
115
+ var shared$4 = {exports: {}};
116
+
117
+ var global$g = global$h;
118
+
119
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
120
+ var defineProperty$7 = Object.defineProperty;
121
+
122
+ var defineGlobalProperty$3 = function (key, value) {
123
+ try {
124
+ defineProperty$7(global$g, key, { value: value, configurable: true, writable: true });
125
+ } catch (error) {
126
+ global$g[key] = value;
127
+ } return value;
128
+ };
129
+
130
+ var global$f = global$h;
131
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
132
+
133
+ var SHARED = '__core-js_shared__';
134
+ var store$3 = global$f[SHARED] || defineGlobalProperty$2(SHARED, {});
135
+
136
+ var sharedStore = store$3;
137
+
138
+ var store$2 = sharedStore;
139
+
140
+ (shared$4.exports = function (key, value) {
141
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
142
+ })('versions', []).push({
143
+ version: '3.25.5',
144
+ mode: 'global',
145
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
146
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
147
+ source: 'https://github.com/zloirock/core-js'
148
+ });
149
+
150
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
151
+
152
+ var $Object$3 = Object;
153
+
154
+ // `ToObject` abstract operation
155
+ // https://tc39.es/ecma262/#sec-toobject
156
+ var toObject$3 = function (argument) {
157
+ return $Object$3(requireObjectCoercible$1(argument));
158
+ };
159
+
160
+ var uncurryThis$c = functionUncurryThis;
161
+ var toObject$2 = toObject$3;
162
+
163
+ var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
164
+
165
+ // `HasOwnProperty` abstract operation
166
+ // https://tc39.es/ecma262/#sec-hasownproperty
167
+ // eslint-disable-next-line es/no-object-hasown -- safe
168
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
169
+ return hasOwnProperty(toObject$2(it), key);
170
+ };
171
+
172
+ var uncurryThis$b = functionUncurryThis;
173
+
174
+ var id = 0;
175
+ var postfix = Math.random();
176
+ var toString$6 = uncurryThis$b(1.0.toString);
177
+
178
+ var uid$2 = function (key) {
179
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
155
180
  };
156
181
 
157
182
  var documentAll$2 = typeof document == 'object' && document.all;
@@ -176,41 +201,26 @@ var isCallable$h = $documentAll$1.IS_HTMLDDA ? function (argument) {
176
201
  return typeof argument == 'function';
177
202
  };
178
203
 
204
+ var global$e = global$h;
179
205
  var isCallable$g = isCallable$h;
180
- var $documentAll = documentAll_1;
181
-
182
- var documentAll = $documentAll.all;
183
-
184
- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
185
- return typeof it == 'object' ? it !== null : isCallable$g(it) || it === documentAll;
186
- } : function (it) {
187
- return typeof it == 'object' ? it !== null : isCallable$g(it);
188
- };
189
-
190
- var global$f = global$g;
191
- var isCallable$f = isCallable$h;
192
206
 
193
207
  var aFunction = function (argument) {
194
- return isCallable$f(argument) ? argument : undefined;
208
+ return isCallable$g(argument) ? argument : undefined;
195
209
  };
196
210
 
197
211
  var getBuiltIn$5 = function (namespace, method) {
198
- return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
212
+ return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
199
213
  };
200
214
 
201
- var uncurryThis$a = functionUncurryThis;
202
-
203
- var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
204
-
205
215
  var getBuiltIn$4 = getBuiltIn$5;
206
216
 
207
217
  var engineUserAgent = getBuiltIn$4('navigator', 'userAgent') || '';
208
218
 
209
- var global$e = global$g;
219
+ var global$d = global$h;
210
220
  var userAgent = engineUserAgent;
211
221
 
212
- var process = global$e.process;
213
- var Deno = global$e.Deno;
222
+ var process = global$d.process;
223
+ var Deno = global$d.Deno;
214
224
  var versions = process && process.versions || Deno && Deno.version;
215
225
  var v8 = versions && versions.v8;
216
226
  var match, version;
@@ -237,10 +247,10 @@ var engineV8Version = version;
237
247
  /* eslint-disable es/no-symbol -- required for testing */
238
248
 
239
249
  var V8_VERSION = engineV8Version;
240
- var fails$c = fails$g;
250
+ var fails$e = fails$h;
241
251
 
242
252
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
243
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
253
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
244
254
  var symbol = Symbol();
245
255
  // Chrome 38 Symbol has incorrect toString conversion
246
256
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -257,25 +267,132 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
257
267
  && !Symbol.sham
258
268
  && typeof Symbol.iterator == 'symbol';
259
269
 
270
+ var global$c = global$h;
271
+ var shared$3 = shared$4.exports;
272
+ var hasOwn$b = hasOwnProperty_1;
273
+ var uid$1 = uid$2;
274
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
275
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
276
+
277
+ var WellKnownSymbolsStore = shared$3('wks');
278
+ var Symbol$2 = global$c.Symbol;
279
+ var symbolFor = Symbol$2 && Symbol$2['for'];
280
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
281
+
282
+ var wellKnownSymbol$b = function (name) {
283
+ if (!hasOwn$b(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore[name] == 'string')) {
284
+ var description = 'Symbol.' + name;
285
+ if (NATIVE_SYMBOL$1 && hasOwn$b(Symbol$2, name)) {
286
+ WellKnownSymbolsStore[name] = Symbol$2[name];
287
+ } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
288
+ WellKnownSymbolsStore[name] = symbolFor(description);
289
+ } else {
290
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
291
+ }
292
+ } return WellKnownSymbolsStore[name];
293
+ };
294
+
295
+ var isCallable$f = isCallable$h;
296
+ var $documentAll = documentAll_1;
297
+
298
+ var documentAll = $documentAll.all;
299
+
300
+ var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
301
+ return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
302
+ } : function (it) {
303
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
304
+ };
305
+
306
+ var isObject$7 = isObject$8;
307
+
308
+ var $String$3 = String;
309
+ var $TypeError$5 = TypeError;
310
+
311
+ // `Assert: Type(argument) is Object`
312
+ var anObject$7 = function (argument) {
313
+ if (isObject$7(argument)) return argument;
314
+ throw $TypeError$5($String$3(argument) + ' is not an object');
315
+ };
316
+
317
+ var objectDefineProperties = {};
318
+
319
+ var fails$d = fails$h;
320
+
321
+ // Detect IE8's incomplete defineProperty implementation
322
+ var descriptors = !fails$d(function () {
323
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
324
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
325
+ });
326
+
327
+ var DESCRIPTORS$c = descriptors;
328
+ var fails$c = fails$h;
329
+
330
+ // V8 ~ Chrome 36-
331
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
332
+ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$c(function () {
333
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
334
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
335
+ value: 42,
336
+ writable: false
337
+ }).prototype != 42;
338
+ });
339
+
340
+ var objectDefineProperty = {};
341
+
342
+ var global$b = global$h;
343
+ var isObject$6 = isObject$8;
344
+
345
+ var document$1 = global$b.document;
346
+ // typeof document.createElement is 'object' in old IE
347
+ var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
348
+
349
+ var documentCreateElement$2 = function (it) {
350
+ return EXISTS$1 ? document$1.createElement(it) : {};
351
+ };
352
+
353
+ var DESCRIPTORS$b = descriptors;
354
+ var fails$b = fails$h;
355
+ var createElement = documentCreateElement$2;
356
+
357
+ // Thanks to IE8 for its funny defineProperty
358
+ var ie8DomDefine = !DESCRIPTORS$b && !fails$b(function () {
359
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
360
+ return Object.defineProperty(createElement('div'), 'a', {
361
+ get: function () { return 7; }
362
+ }).a != 7;
363
+ });
364
+
365
+ var NATIVE_BIND = functionBindNative;
366
+
367
+ var call$7 = Function.prototype.call;
368
+
369
+ var functionCall = NATIVE_BIND ? call$7.bind(call$7) : function () {
370
+ return call$7.apply(call$7, arguments);
371
+ };
372
+
373
+ var uncurryThis$a = functionUncurryThis;
374
+
375
+ var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
376
+
260
377
  var getBuiltIn$3 = getBuiltIn$5;
261
378
  var isCallable$e = isCallable$h;
262
379
  var isPrototypeOf$3 = objectIsPrototypeOf;
263
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
380
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
264
381
 
265
- var $Object$3 = Object;
382
+ var $Object$2 = Object;
266
383
 
267
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
384
+ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
268
385
  return typeof it == 'symbol';
269
386
  } : function (it) {
270
387
  var $Symbol = getBuiltIn$3('Symbol');
271
- return isCallable$e($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
388
+ return isCallable$e($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$2(it));
272
389
  };
273
390
 
274
- var $String$3 = String;
391
+ var $String$2 = String;
275
392
 
276
393
  var tryToString$1 = function (argument) {
277
394
  try {
278
- return $String$3(argument);
395
+ return $String$2(argument);
279
396
  } catch (error) {
280
397
  return 'Object';
281
398
  }
@@ -284,12 +401,12 @@ var tryToString$1 = function (argument) {
284
401
  var isCallable$d = isCallable$h;
285
402
  var tryToString = tryToString$1;
286
403
 
287
- var $TypeError$5 = TypeError;
404
+ var $TypeError$4 = TypeError;
288
405
 
289
406
  // `Assert: IsCallable(argument) is true`
290
407
  var aCallable$1 = function (argument) {
291
408
  if (isCallable$d(argument)) return argument;
292
- throw $TypeError$5(tryToString(argument) + ' is not a function');
409
+ throw $TypeError$4(tryToString(argument) + ' is not a function');
293
410
  };
294
411
 
295
412
  var aCallable = aCallable$1;
@@ -304,137 +421,45 @@ var getMethod$1 = function (V, P) {
304
421
 
305
422
  var call$6 = functionCall;
306
423
  var isCallable$c = isCallable$h;
307
- var isObject$7 = isObject$8;
424
+ var isObject$5 = isObject$8;
308
425
 
309
- var $TypeError$4 = TypeError;
426
+ var $TypeError$3 = TypeError;
310
427
 
311
428
  // `OrdinaryToPrimitive` abstract operation
312
429
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
313
430
  var ordinaryToPrimitive$1 = function (input, pref) {
314
431
  var fn, val;
315
- if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val;
316
- if (isCallable$c(fn = input.valueOf) && !isObject$7(val = call$6(fn, input))) return val;
317
- if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val;
318
- throw $TypeError$4("Can't convert object to primitive value");
432
+ if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$6(fn, input))) return val;
433
+ if (isCallable$c(fn = input.valueOf) && !isObject$5(val = call$6(fn, input))) return val;
434
+ if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$6(fn, input))) return val;
435
+ throw $TypeError$3("Can't convert object to primitive value");
319
436
  };
320
437
 
321
- var shared$4 = {exports: {}};
438
+ var call$5 = functionCall;
439
+ var isObject$4 = isObject$8;
440
+ var isSymbol$1 = isSymbol$2;
441
+ var getMethod = getMethod$1;
442
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
443
+ var wellKnownSymbol$a = wellKnownSymbol$b;
322
444
 
323
- var global$d = global$g;
445
+ var $TypeError$2 = TypeError;
446
+ var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');
324
447
 
325
- // eslint-disable-next-line es/no-object-defineproperty -- safe
326
- var defineProperty$7 = Object.defineProperty;
327
-
328
- var defineGlobalProperty$3 = function (key, value) {
329
- try {
330
- defineProperty$7(global$d, key, { value: value, configurable: true, writable: true });
331
- } catch (error) {
332
- global$d[key] = value;
333
- } return value;
334
- };
335
-
336
- var global$c = global$g;
337
- var defineGlobalProperty$2 = defineGlobalProperty$3;
338
-
339
- var SHARED = '__core-js_shared__';
340
- var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
341
-
342
- var sharedStore = store$3;
343
-
344
- var store$2 = sharedStore;
345
-
346
- (shared$4.exports = function (key, value) {
347
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
348
- })('versions', []).push({
349
- version: '3.25.5',
350
- mode: 'global',
351
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
352
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
353
- source: 'https://github.com/zloirock/core-js'
354
- });
355
-
356
- var requireObjectCoercible = requireObjectCoercible$2;
357
-
358
- var $Object$2 = Object;
359
-
360
- // `ToObject` abstract operation
361
- // https://tc39.es/ecma262/#sec-toobject
362
- var toObject$3 = function (argument) {
363
- return $Object$2(requireObjectCoercible(argument));
364
- };
365
-
366
- var uncurryThis$9 = functionUncurryThis;
367
- var toObject$2 = toObject$3;
368
-
369
- var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
370
-
371
- // `HasOwnProperty` abstract operation
372
- // https://tc39.es/ecma262/#sec-hasownproperty
373
- // eslint-disable-next-line es/no-object-hasown -- safe
374
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
375
- return hasOwnProperty(toObject$2(it), key);
376
- };
377
-
378
- var uncurryThis$8 = functionUncurryThis;
379
-
380
- var id = 0;
381
- var postfix = Math.random();
382
- var toString$4 = uncurryThis$8(1.0.toString);
383
-
384
- var uid$2 = function (key) {
385
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
386
- };
387
-
388
- var global$b = global$g;
389
- var shared$3 = shared$4.exports;
390
- var hasOwn$b = hasOwnProperty_1;
391
- var uid$1 = uid$2;
392
- var NATIVE_SYMBOL$1 = symbolConstructorDetection;
393
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
394
-
395
- var WellKnownSymbolsStore = shared$3('wks');
396
- var Symbol$1 = global$b.Symbol;
397
- var symbolFor = Symbol$1 && Symbol$1['for'];
398
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
399
-
400
- var wellKnownSymbol$b = function (name) {
401
- if (!hasOwn$b(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore[name] == 'string')) {
402
- var description = 'Symbol.' + name;
403
- if (NATIVE_SYMBOL$1 && hasOwn$b(Symbol$1, name)) {
404
- WellKnownSymbolsStore[name] = Symbol$1[name];
405
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
406
- WellKnownSymbolsStore[name] = symbolFor(description);
407
- } else {
408
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
409
- }
410
- } return WellKnownSymbolsStore[name];
411
- };
412
-
413
- var call$5 = functionCall;
414
- var isObject$6 = isObject$8;
415
- var isSymbol$1 = isSymbol$2;
416
- var getMethod = getMethod$1;
417
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
418
- var wellKnownSymbol$a = wellKnownSymbol$b;
419
-
420
- var $TypeError$3 = TypeError;
421
- var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');
422
-
423
- // `ToPrimitive` abstract operation
424
- // https://tc39.es/ecma262/#sec-toprimitive
425
- var toPrimitive$1 = function (input, pref) {
426
- if (!isObject$6(input) || isSymbol$1(input)) return input;
427
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
428
- var result;
429
- if (exoticToPrim) {
430
- if (pref === undefined) pref = 'default';
431
- result = call$5(exoticToPrim, input, pref);
432
- if (!isObject$6(result) || isSymbol$1(result)) return result;
433
- throw $TypeError$3("Can't convert object to primitive value");
434
- }
435
- if (pref === undefined) pref = 'number';
436
- return ordinaryToPrimitive(input, pref);
437
- };
448
+ // `ToPrimitive` abstract operation
449
+ // https://tc39.es/ecma262/#sec-toprimitive
450
+ var toPrimitive$1 = function (input, pref) {
451
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
452
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
453
+ var result;
454
+ if (exoticToPrim) {
455
+ if (pref === undefined) pref = 'default';
456
+ result = call$5(exoticToPrim, input, pref);
457
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
458
+ throw $TypeError$2("Can't convert object to primitive value");
459
+ }
460
+ if (pref === undefined) pref = 'number';
461
+ return ordinaryToPrimitive(input, pref);
462
+ };
438
463
 
439
464
  var toPrimitive = toPrimitive$1;
440
465
  var isSymbol = isSymbol$2;
@@ -446,101 +471,29 @@ var toPropertyKey$2 = function (argument) {
446
471
  return isSymbol(key) ? key : key + '';
447
472
  };
448
473
 
449
- var global$a = global$g;
450
- var isObject$5 = isObject$8;
451
-
452
- var document$1 = global$a.document;
453
- // typeof document.createElement is 'object' in old IE
454
- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
455
-
456
- var documentCreateElement$2 = function (it) {
457
- return EXISTS$1 ? document$1.createElement(it) : {};
458
- };
459
-
460
- var DESCRIPTORS$c = descriptors;
461
- var fails$b = fails$g;
462
- var createElement = documentCreateElement$2;
463
-
464
- // Thanks to IE8 for its funny defineProperty
465
- var ie8DomDefine = !DESCRIPTORS$c && !fails$b(function () {
466
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
467
- return Object.defineProperty(createElement('div'), 'a', {
468
- get: function () { return 7; }
469
- }).a != 7;
470
- });
471
-
472
- var DESCRIPTORS$b = descriptors;
473
- var call$4 = functionCall;
474
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
475
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
476
- var toIndexedObject$4 = toIndexedObject$5;
477
- var toPropertyKey$1 = toPropertyKey$2;
478
- var hasOwn$a = hasOwnProperty_1;
479
- var IE8_DOM_DEFINE$1 = ie8DomDefine;
480
-
481
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
482
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
483
-
484
- // `Object.getOwnPropertyDescriptor` method
485
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
486
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
487
- O = toIndexedObject$4(O);
488
- P = toPropertyKey$1(P);
489
- if (IE8_DOM_DEFINE$1) try {
490
- return $getOwnPropertyDescriptor$1(O, P);
491
- } catch (error) { /* empty */ }
492
- if (hasOwn$a(O, P)) return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
493
- };
494
-
495
- var objectDefineProperty = {};
496
-
497
474
  var DESCRIPTORS$a = descriptors;
498
- var fails$a = fails$g;
499
-
500
- // V8 ~ Chrome 36-
501
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
502
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$a(function () {
503
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
504
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
505
- value: 42,
506
- writable: false
507
- }).prototype != 42;
508
- });
509
-
510
- var isObject$4 = isObject$8;
511
-
512
- var $String$2 = String;
513
- var $TypeError$2 = TypeError;
514
-
515
- // `Assert: Type(argument) is Object`
516
- var anObject$7 = function (argument) {
517
- if (isObject$4(argument)) return argument;
518
- throw $TypeError$2($String$2(argument) + ' is not an object');
519
- };
520
-
521
- var DESCRIPTORS$9 = descriptors;
522
- var IE8_DOM_DEFINE = ie8DomDefine;
475
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
523
476
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
524
477
  var anObject$6 = anObject$7;
525
- var toPropertyKey = toPropertyKey$2;
478
+ var toPropertyKey$1 = toPropertyKey$2;
526
479
 
527
480
  var $TypeError$1 = TypeError;
528
481
  // eslint-disable-next-line es/no-object-defineproperty -- safe
529
482
  var $defineProperty = Object.defineProperty;
530
483
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
531
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
484
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
532
485
  var ENUMERABLE = 'enumerable';
533
486
  var CONFIGURABLE$1 = 'configurable';
534
487
  var WRITABLE = 'writable';
535
488
 
536
489
  // `Object.defineProperty` method
537
490
  // https://tc39.es/ecma262/#sec-object.defineproperty
538
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
491
+ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
539
492
  anObject$6(O);
540
- P = toPropertyKey(P);
493
+ P = toPropertyKey$1(P);
541
494
  anObject$6(Attributes);
542
495
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
543
- var current = $getOwnPropertyDescriptor(O, P);
496
+ var current = $getOwnPropertyDescriptor$1(O, P);
544
497
  if (current && current[WRITABLE]) {
545
498
  O[P] = Attributes.value;
546
499
  Attributes = {
@@ -552,9 +505,9 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
552
505
  } return $defineProperty(O, P, Attributes);
553
506
  } : $defineProperty : function defineProperty(O, P, Attributes) {
554
507
  anObject$6(O);
555
- P = toPropertyKey(P);
508
+ P = toPropertyKey$1(P);
556
509
  anObject$6(Attributes);
557
- if (IE8_DOM_DEFINE) try {
510
+ if (IE8_DOM_DEFINE$1) try {
558
511
  return $defineProperty(O, P, Attributes);
559
512
  } catch (error) { /* empty */ }
560
513
  if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
@@ -562,82 +515,316 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
562
515
  return O;
563
516
  };
564
517
 
565
- var DESCRIPTORS$8 = descriptors;
566
- var definePropertyModule$4 = objectDefineProperty;
567
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
518
+ var ceil = Math.ceil;
519
+ var floor = Math.floor;
568
520
 
569
- var createNonEnumerableProperty$5 = DESCRIPTORS$8 ? function (object, key, value) {
570
- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
571
- } : function (object, key, value) {
572
- object[key] = value;
573
- return object;
521
+ // `Math.trunc` method
522
+ // https://tc39.es/ecma262/#sec-math.trunc
523
+ // eslint-disable-next-line es/no-math-trunc -- safe
524
+ var mathTrunc = Math.trunc || function trunc(x) {
525
+ var n = +x;
526
+ return (n > 0 ? floor : ceil)(n);
574
527
  };
575
528
 
576
- var makeBuiltIn$2 = {exports: {}};
529
+ var trunc = mathTrunc;
577
530
 
578
- var DESCRIPTORS$7 = descriptors;
579
- var hasOwn$9 = hasOwnProperty_1;
531
+ // `ToIntegerOrInfinity` abstract operation
532
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
533
+ var toIntegerOrInfinity$2 = function (argument) {
534
+ var number = +argument;
535
+ // eslint-disable-next-line no-self-compare -- NaN check
536
+ return number !== number || number === 0 ? 0 : trunc(number);
537
+ };
580
538
 
581
- var FunctionPrototype = Function.prototype;
582
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
583
- var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
539
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
584
540
 
585
- var EXISTS = hasOwn$9(FunctionPrototype, 'name');
586
- // additional protection from minified / mangled / dropped function names
587
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
588
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype, 'name').configurable));
541
+ var max = Math.max;
542
+ var min$1 = Math.min;
589
543
 
590
- var functionName = {
591
- EXISTS: EXISTS,
592
- PROPER: PROPER,
593
- CONFIGURABLE: CONFIGURABLE
544
+ // Helper for a popular repeating case of the spec:
545
+ // Let integer be ? ToInteger(index).
546
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
547
+ var toAbsoluteIndex$1 = function (index, length) {
548
+ var integer = toIntegerOrInfinity$1(index);
549
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
594
550
  };
595
551
 
596
- var uncurryThis$7 = functionUncurryThis;
597
- var isCallable$b = isCallable$h;
598
- var store$1 = sharedStore;
552
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
599
553
 
600
- var functionToString = uncurryThis$7(Function.toString);
554
+ var min = Math.min;
601
555
 
602
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
603
- if (!isCallable$b(store$1.inspectSource)) {
604
- store$1.inspectSource = function (it) {
605
- return functionToString(it);
606
- };
607
- }
556
+ // `ToLength` abstract operation
557
+ // https://tc39.es/ecma262/#sec-tolength
558
+ var toLength$1 = function (argument) {
559
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
560
+ };
608
561
 
609
- var inspectSource$1 = store$1.inspectSource;
562
+ var toLength = toLength$1;
610
563
 
611
- var global$9 = global$g;
612
- var isCallable$a = isCallable$h;
564
+ // `LengthOfArrayLike` abstract operation
565
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
566
+ var lengthOfArrayLike$1 = function (obj) {
567
+ return toLength(obj.length);
568
+ };
613
569
 
614
- var WeakMap$1 = global$9.WeakMap;
570
+ var toIndexedObject$4 = toIndexedObject$5;
571
+ var toAbsoluteIndex = toAbsoluteIndex$1;
572
+ var lengthOfArrayLike = lengthOfArrayLike$1;
615
573
 
616
- var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
574
+ // `Array.prototype.{ indexOf, includes }` methods implementation
575
+ var createMethod$1 = function (IS_INCLUDES) {
576
+ return function ($this, el, fromIndex) {
577
+ var O = toIndexedObject$4($this);
578
+ var length = lengthOfArrayLike(O);
579
+ var index = toAbsoluteIndex(fromIndex, length);
580
+ var value;
581
+ // Array#includes uses SameValueZero equality algorithm
582
+ // eslint-disable-next-line no-self-compare -- NaN check
583
+ if (IS_INCLUDES && el != el) while (length > index) {
584
+ value = O[index++];
585
+ // eslint-disable-next-line no-self-compare -- NaN check
586
+ if (value != value) return true;
587
+ // Array#indexOf ignores holes, Array#includes - not
588
+ } else for (;length > index; index++) {
589
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
590
+ } return !IS_INCLUDES && -1;
591
+ };
592
+ };
617
593
 
618
- var shared$2 = shared$4.exports;
619
- var uid = uid$2;
594
+ var arrayIncludes = {
595
+ // `Array.prototype.includes` method
596
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
597
+ includes: createMethod$1(true),
598
+ // `Array.prototype.indexOf` method
599
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
600
+ indexOf: createMethod$1(false)
601
+ };
620
602
 
621
- var keys$1 = shared$2('keys');
603
+ var hiddenKeys$4 = {};
622
604
 
623
- var sharedKey$3 = function (key) {
605
+ var uncurryThis$9 = functionUncurryThis;
606
+ var hasOwn$a = hasOwnProperty_1;
607
+ var toIndexedObject$3 = toIndexedObject$5;
608
+ var indexOf$1 = arrayIncludes.indexOf;
609
+ var hiddenKeys$3 = hiddenKeys$4;
610
+
611
+ var push = uncurryThis$9([].push);
612
+
613
+ var objectKeysInternal = function (object, names) {
614
+ var O = toIndexedObject$3(object);
615
+ var i = 0;
616
+ var result = [];
617
+ var key;
618
+ for (key in O) !hasOwn$a(hiddenKeys$3, key) && hasOwn$a(O, key) && push(result, key);
619
+ // Don't enum bug & hidden keys
620
+ while (names.length > i) if (hasOwn$a(O, key = names[i++])) {
621
+ ~indexOf$1(result, key) || push(result, key);
622
+ }
623
+ return result;
624
+ };
625
+
626
+ // IE8- don't enum bug keys
627
+ var enumBugKeys$3 = [
628
+ 'constructor',
629
+ 'hasOwnProperty',
630
+ 'isPrototypeOf',
631
+ 'propertyIsEnumerable',
632
+ 'toLocaleString',
633
+ 'toString',
634
+ 'valueOf'
635
+ ];
636
+
637
+ var internalObjectKeys$1 = objectKeysInternal;
638
+ var enumBugKeys$2 = enumBugKeys$3;
639
+
640
+ // `Object.keys` method
641
+ // https://tc39.es/ecma262/#sec-object.keys
642
+ // eslint-disable-next-line es/no-object-keys -- safe
643
+ var objectKeys$2 = Object.keys || function keys(O) {
644
+ return internalObjectKeys$1(O, enumBugKeys$2);
645
+ };
646
+
647
+ var DESCRIPTORS$9 = descriptors;
648
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
649
+ var definePropertyModule$4 = objectDefineProperty;
650
+ var anObject$5 = anObject$7;
651
+ var toIndexedObject$2 = toIndexedObject$5;
652
+ var objectKeys$1 = objectKeys$2;
653
+
654
+ // `Object.defineProperties` method
655
+ // https://tc39.es/ecma262/#sec-object.defineproperties
656
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
657
+ objectDefineProperties.f = DESCRIPTORS$9 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
658
+ anObject$5(O);
659
+ var props = toIndexedObject$2(Properties);
660
+ var keys = objectKeys$1(Properties);
661
+ var length = keys.length;
662
+ var index = 0;
663
+ var key;
664
+ while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
665
+ return O;
666
+ };
667
+
668
+ var getBuiltIn$2 = getBuiltIn$5;
669
+
670
+ var html$1 = getBuiltIn$2('document', 'documentElement');
671
+
672
+ var shared$2 = shared$4.exports;
673
+ var uid = uid$2;
674
+
675
+ var keys$1 = shared$2('keys');
676
+
677
+ var sharedKey$3 = function (key) {
624
678
  return keys$1[key] || (keys$1[key] = uid(key));
625
679
  };
626
680
 
627
- var hiddenKeys$4 = {};
681
+ /* global ActiveXObject -- old IE, WSH */
682
+
683
+ var anObject$4 = anObject$7;
684
+ var definePropertiesModule = objectDefineProperties;
685
+ var enumBugKeys$1 = enumBugKeys$3;
686
+ var hiddenKeys$2 = hiddenKeys$4;
687
+ var html = html$1;
688
+ var documentCreateElement$1 = documentCreateElement$2;
689
+ var sharedKey$2 = sharedKey$3;
690
+
691
+ var GT = '>';
692
+ var LT = '<';
693
+ var PROTOTYPE = 'prototype';
694
+ var SCRIPT = 'script';
695
+ var IE_PROTO$1 = sharedKey$2('IE_PROTO');
696
+
697
+ var EmptyConstructor = function () { /* empty */ };
698
+
699
+ var scriptTag = function (content) {
700
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
701
+ };
702
+
703
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
704
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
705
+ activeXDocument.write(scriptTag(''));
706
+ activeXDocument.close();
707
+ var temp = activeXDocument.parentWindow.Object;
708
+ activeXDocument = null; // avoid memory leak
709
+ return temp;
710
+ };
711
+
712
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
713
+ var NullProtoObjectViaIFrame = function () {
714
+ // Thrash, waste and sodomy: IE GC bug
715
+ var iframe = documentCreateElement$1('iframe');
716
+ var JS = 'java' + SCRIPT + ':';
717
+ var iframeDocument;
718
+ iframe.style.display = 'none';
719
+ html.appendChild(iframe);
720
+ // https://github.com/zloirock/core-js/issues/475
721
+ iframe.src = String(JS);
722
+ iframeDocument = iframe.contentWindow.document;
723
+ iframeDocument.open();
724
+ iframeDocument.write(scriptTag('document.F=Object'));
725
+ iframeDocument.close();
726
+ return iframeDocument.F;
727
+ };
728
+
729
+ // Check for document.domain and active x support
730
+ // No need to use active x approach when document.domain is not set
731
+ // see https://github.com/es-shims/es5-shim/issues/150
732
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
733
+ // avoid IE GC bug
734
+ var activeXDocument;
735
+ var NullProtoObject = function () {
736
+ try {
737
+ activeXDocument = new ActiveXObject('htmlfile');
738
+ } catch (error) { /* ignore */ }
739
+ NullProtoObject = typeof document != 'undefined'
740
+ ? document.domain && activeXDocument
741
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
742
+ : NullProtoObjectViaIFrame()
743
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
744
+ var length = enumBugKeys$1.length;
745
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
746
+ return NullProtoObject();
747
+ };
748
+
749
+ hiddenKeys$2[IE_PROTO$1] = true;
750
+
751
+ // `Object.create` method
752
+ // https://tc39.es/ecma262/#sec-object.create
753
+ // eslint-disable-next-line es/no-object-create -- safe
754
+ var objectCreate = Object.create || function create(O, Properties) {
755
+ var result;
756
+ if (O !== null) {
757
+ EmptyConstructor[PROTOTYPE] = anObject$4(O);
758
+ result = new EmptyConstructor();
759
+ EmptyConstructor[PROTOTYPE] = null;
760
+ // add "__proto__" for Object.getPrototypeOf polyfill
761
+ result[IE_PROTO$1] = O;
762
+ } else result = NullProtoObject();
763
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
764
+ };
765
+
766
+ var wellKnownSymbol$9 = wellKnownSymbol$b;
767
+ var create$2 = objectCreate;
768
+ var defineProperty$6 = objectDefineProperty.f;
769
+
770
+ var UNSCOPABLES = wellKnownSymbol$9('unscopables');
771
+ var ArrayPrototype = Array.prototype;
772
+
773
+ // Array.prototype[@@unscopables]
774
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
775
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
776
+ defineProperty$6(ArrayPrototype, UNSCOPABLES, {
777
+ configurable: true,
778
+ value: create$2(null)
779
+ });
780
+ }
781
+
782
+ // add a key to Array.prototype[@@unscopables]
783
+ var addToUnscopables$1 = function (key) {
784
+ ArrayPrototype[UNSCOPABLES][key] = true;
785
+ };
786
+
787
+ var iterators = {};
788
+
789
+ var global$a = global$h;
790
+ var isCallable$b = isCallable$h;
791
+
792
+ var WeakMap$1 = global$a.WeakMap;
793
+
794
+ var weakMapBasicDetection = isCallable$b(WeakMap$1) && /native code/.test(String(WeakMap$1));
795
+
796
+ var createPropertyDescriptor$3 = function (bitmap, value) {
797
+ return {
798
+ enumerable: !(bitmap & 1),
799
+ configurable: !(bitmap & 2),
800
+ writable: !(bitmap & 4),
801
+ value: value
802
+ };
803
+ };
804
+
805
+ var DESCRIPTORS$8 = descriptors;
806
+ var definePropertyModule$3 = objectDefineProperty;
807
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
808
+
809
+ var createNonEnumerableProperty$5 = DESCRIPTORS$8 ? function (object, key, value) {
810
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$2(1, value));
811
+ } : function (object, key, value) {
812
+ object[key] = value;
813
+ return object;
814
+ };
628
815
 
629
816
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
630
- var global$8 = global$g;
817
+ var global$9 = global$h;
631
818
  var isObject$3 = isObject$8;
632
819
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
633
- var hasOwn$8 = hasOwnProperty_1;
820
+ var hasOwn$9 = hasOwnProperty_1;
634
821
  var shared$1 = sharedStore;
635
- var sharedKey$2 = sharedKey$3;
636
- var hiddenKeys$3 = hiddenKeys$4;
822
+ var sharedKey$1 = sharedKey$3;
823
+ var hiddenKeys$1 = hiddenKeys$4;
637
824
 
638
825
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
639
- var TypeError$1 = global$8.TypeError;
640
- var WeakMap = global$8.WeakMap;
826
+ var TypeError$1 = global$9.TypeError;
827
+ var WeakMap = global$9.WeakMap;
641
828
  var set, get, has;
642
829
 
643
830
  var enforce = function (it) {
@@ -654,38 +841,38 @@ var getterFor = function (TYPE) {
654
841
  };
655
842
 
656
843
  if (NATIVE_WEAK_MAP || shared$1.state) {
657
- var store = shared$1.state || (shared$1.state = new WeakMap());
844
+ var store$1 = shared$1.state || (shared$1.state = new WeakMap());
658
845
  /* eslint-disable no-self-assign -- prototype methods protection */
659
- store.get = store.get;
660
- store.has = store.has;
661
- store.set = store.set;
846
+ store$1.get = store$1.get;
847
+ store$1.has = store$1.has;
848
+ store$1.set = store$1.set;
662
849
  /* eslint-enable no-self-assign -- prototype methods protection */
663
850
  set = function (it, metadata) {
664
- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
851
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
665
852
  metadata.facade = it;
666
- store.set(it, metadata);
853
+ store$1.set(it, metadata);
667
854
  return metadata;
668
855
  };
669
856
  get = function (it) {
670
- return store.get(it) || {};
857
+ return store$1.get(it) || {};
671
858
  };
672
859
  has = function (it) {
673
- return store.has(it);
860
+ return store$1.has(it);
674
861
  };
675
862
  } else {
676
- var STATE = sharedKey$2('state');
677
- hiddenKeys$3[STATE] = true;
863
+ var STATE = sharedKey$1('state');
864
+ hiddenKeys$1[STATE] = true;
678
865
  set = function (it, metadata) {
679
- if (hasOwn$8(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
866
+ if (hasOwn$9(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
680
867
  metadata.facade = it;
681
868
  createNonEnumerableProperty$4(it, STATE, metadata);
682
869
  return metadata;
683
870
  };
684
871
  get = function (it) {
685
- return hasOwn$8(it, STATE) ? it[STATE] : {};
872
+ return hasOwn$9(it, STATE) ? it[STATE] : {};
686
873
  };
687
874
  has = function (it) {
688
- return hasOwn$8(it, STATE);
875
+ return hasOwn$9(it, STATE);
689
876
  };
690
877
  }
691
878
 
@@ -697,60 +884,136 @@ var internalState = {
697
884
  getterFor: getterFor
698
885
  };
699
886
 
700
- var fails$9 = fails$g;
701
- var isCallable$9 = isCallable$h;
702
- var hasOwn$7 = hasOwnProperty_1;
703
- var DESCRIPTORS$6 = descriptors;
704
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
705
- var inspectSource = inspectSource$1;
706
- var InternalStateModule$1 = internalState;
887
+ var objectGetOwnPropertyDescriptor = {};
707
888
 
708
- var enforceInternalState$1 = InternalStateModule$1.enforce;
709
- var getInternalState$2 = InternalStateModule$1.get;
710
- // eslint-disable-next-line es/no-object-defineproperty -- safe
711
- var defineProperty$6 = Object.defineProperty;
889
+ var objectPropertyIsEnumerable = {};
712
890
 
713
- var CONFIGURABLE_LENGTH = DESCRIPTORS$6 && !fails$9(function () {
714
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
715
- });
891
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
892
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
893
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
716
894
 
717
- var TEMPLATE = String(String).split('String');
895
+ // Nashorn ~ JDK8 bug
896
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
718
897
 
719
- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
720
- if (String(name).slice(0, 7) === 'Symbol(') {
721
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
722
- }
723
- if (options && options.getter) name = 'get ' + name;
724
- if (options && options.setter) name = 'set ' + name;
725
- if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
726
- if (DESCRIPTORS$6) defineProperty$6(value, 'name', { value: name, configurable: true });
727
- else value.name = name;
728
- }
729
- if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {
730
- defineProperty$6(value, 'length', { value: options.arity });
731
- }
732
- try {
733
- if (options && hasOwn$7(options, 'constructor') && options.constructor) {
734
- if (DESCRIPTORS$6) defineProperty$6(value, 'prototype', { writable: false });
735
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
736
- } else if (value.prototype) value.prototype = undefined;
898
+ // `Object.prototype.propertyIsEnumerable` method implementation
899
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
900
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
901
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
902
+ return !!descriptor && descriptor.enumerable;
903
+ } : $propertyIsEnumerable;
904
+
905
+ var DESCRIPTORS$7 = descriptors;
906
+ var call$4 = functionCall;
907
+ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
908
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
909
+ var toIndexedObject$1 = toIndexedObject$5;
910
+ var toPropertyKey = toPropertyKey$2;
911
+ var hasOwn$8 = hasOwnProperty_1;
912
+ var IE8_DOM_DEFINE = ie8DomDefine;
913
+
914
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
915
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
916
+
917
+ // `Object.getOwnPropertyDescriptor` method
918
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
919
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
920
+ O = toIndexedObject$1(O);
921
+ P = toPropertyKey(P);
922
+ if (IE8_DOM_DEFINE) try {
923
+ return $getOwnPropertyDescriptor(O, P);
737
924
  } catch (error) { /* empty */ }
738
- var state = enforceInternalState$1(value);
739
- if (!hasOwn$7(state, 'source')) {
740
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
741
- } return value;
925
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$1(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
742
926
  };
743
927
 
744
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
745
- // eslint-disable-next-line no-extend-native -- required
746
- Function.prototype.toString = makeBuiltIn$1(function toString() {
747
- return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
748
- }, 'toString');
928
+ var makeBuiltIn$2 = {exports: {}};
749
929
 
750
- var isCallable$8 = isCallable$h;
751
- var definePropertyModule$3 = objectDefineProperty;
752
- var makeBuiltIn = makeBuiltIn$2.exports;
753
- var defineGlobalProperty$1 = defineGlobalProperty$3;
930
+ var DESCRIPTORS$6 = descriptors;
931
+ var hasOwn$7 = hasOwnProperty_1;
932
+
933
+ var FunctionPrototype = Function.prototype;
934
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
935
+ var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
936
+
937
+ var EXISTS = hasOwn$7(FunctionPrototype, 'name');
938
+ // additional protection from minified / mangled / dropped function names
939
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
940
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
941
+
942
+ var functionName = {
943
+ EXISTS: EXISTS,
944
+ PROPER: PROPER,
945
+ CONFIGURABLE: CONFIGURABLE
946
+ };
947
+
948
+ var uncurryThis$8 = functionUncurryThis;
949
+ var isCallable$a = isCallable$h;
950
+ var store = sharedStore;
951
+
952
+ var functionToString = uncurryThis$8(Function.toString);
953
+
954
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
955
+ if (!isCallable$a(store.inspectSource)) {
956
+ store.inspectSource = function (it) {
957
+ return functionToString(it);
958
+ };
959
+ }
960
+
961
+ var inspectSource$1 = store.inspectSource;
962
+
963
+ var fails$a = fails$h;
964
+ var isCallable$9 = isCallable$h;
965
+ var hasOwn$6 = hasOwnProperty_1;
966
+ var DESCRIPTORS$5 = descriptors;
967
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
968
+ var inspectSource = inspectSource$1;
969
+ var InternalStateModule$1 = internalState;
970
+
971
+ var enforceInternalState$1 = InternalStateModule$1.enforce;
972
+ var getInternalState$2 = InternalStateModule$1.get;
973
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
974
+ var defineProperty$5 = Object.defineProperty;
975
+
976
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$a(function () {
977
+ return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
978
+ });
979
+
980
+ var TEMPLATE = String(String).split('String');
981
+
982
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
983
+ if (String(name).slice(0, 7) === 'Symbol(') {
984
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
985
+ }
986
+ if (options && options.getter) name = 'get ' + name;
987
+ if (options && options.setter) name = 'set ' + name;
988
+ if (!hasOwn$6(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
989
+ if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
990
+ else value.name = name;
991
+ }
992
+ if (CONFIGURABLE_LENGTH && options && hasOwn$6(options, 'arity') && value.length !== options.arity) {
993
+ defineProperty$5(value, 'length', { value: options.arity });
994
+ }
995
+ try {
996
+ if (options && hasOwn$6(options, 'constructor') && options.constructor) {
997
+ if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
998
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
999
+ } else if (value.prototype) value.prototype = undefined;
1000
+ } catch (error) { /* empty */ }
1001
+ var state = enforceInternalState$1(value);
1002
+ if (!hasOwn$6(state, 'source')) {
1003
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1004
+ } return value;
1005
+ };
1006
+
1007
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1008
+ // eslint-disable-next-line no-extend-native -- required
1009
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
1010
+ return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
1011
+ }, 'toString');
1012
+
1013
+ var isCallable$8 = isCallable$h;
1014
+ var definePropertyModule$2 = objectDefineProperty;
1015
+ var makeBuiltIn = makeBuiltIn$2.exports;
1016
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
754
1017
 
755
1018
  var defineBuiltIn$5 = function (O, key, value, options) {
756
1019
  if (!options) options = {};
@@ -766,7 +1029,7 @@ var defineBuiltIn$5 = function (O, key, value, options) {
766
1029
  else if (O[key]) simple = true;
767
1030
  } catch (error) { /* empty */ }
768
1031
  if (simple) O[key] = value;
769
- else definePropertyModule$3.f(O, key, {
1032
+ else definePropertyModule$2.f(O, key, {
770
1033
  value: value,
771
1034
  enumerable: false,
772
1035
  configurable: !options.nonConfigurable,
@@ -777,133 +1040,16 @@ var defineBuiltIn$5 = function (O, key, value, options) {
777
1040
 
778
1041
  var objectGetOwnPropertyNames = {};
779
1042
 
780
- var ceil = Math.ceil;
781
- var floor = Math.floor;
782
-
783
- // `Math.trunc` method
784
- // https://tc39.es/ecma262/#sec-math.trunc
785
- // eslint-disable-next-line es/no-math-trunc -- safe
786
- var mathTrunc = Math.trunc || function trunc(x) {
787
- var n = +x;
788
- return (n > 0 ? floor : ceil)(n);
789
- };
790
-
791
- var trunc = mathTrunc;
792
-
793
- // `ToIntegerOrInfinity` abstract operation
794
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
795
- var toIntegerOrInfinity$2 = function (argument) {
796
- var number = +argument;
797
- // eslint-disable-next-line no-self-compare -- NaN check
798
- return number !== number || number === 0 ? 0 : trunc(number);
799
- };
800
-
801
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
802
-
803
- var max = Math.max;
804
- var min$1 = Math.min;
805
-
806
- // Helper for a popular repeating case of the spec:
807
- // Let integer be ? ToInteger(index).
808
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
809
- var toAbsoluteIndex$1 = function (index, length) {
810
- var integer = toIntegerOrInfinity$1(index);
811
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
812
- };
813
-
814
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
815
-
816
- var min = Math.min;
817
-
818
- // `ToLength` abstract operation
819
- // https://tc39.es/ecma262/#sec-tolength
820
- var toLength$1 = function (argument) {
821
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
822
- };
823
-
824
- var toLength = toLength$1;
825
-
826
- // `LengthOfArrayLike` abstract operation
827
- // https://tc39.es/ecma262/#sec-lengthofarraylike
828
- var lengthOfArrayLike$1 = function (obj) {
829
- return toLength(obj.length);
830
- };
831
-
832
- var toIndexedObject$3 = toIndexedObject$5;
833
- var toAbsoluteIndex = toAbsoluteIndex$1;
834
- var lengthOfArrayLike = lengthOfArrayLike$1;
835
-
836
- // `Array.prototype.{ indexOf, includes }` methods implementation
837
- var createMethod = function (IS_INCLUDES) {
838
- return function ($this, el, fromIndex) {
839
- var O = toIndexedObject$3($this);
840
- var length = lengthOfArrayLike(O);
841
- var index = toAbsoluteIndex(fromIndex, length);
842
- var value;
843
- // Array#includes uses SameValueZero equality algorithm
844
- // eslint-disable-next-line no-self-compare -- NaN check
845
- if (IS_INCLUDES && el != el) while (length > index) {
846
- value = O[index++];
847
- // eslint-disable-next-line no-self-compare -- NaN check
848
- if (value != value) return true;
849
- // Array#indexOf ignores holes, Array#includes - not
850
- } else for (;length > index; index++) {
851
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
852
- } return !IS_INCLUDES && -1;
853
- };
854
- };
855
-
856
- var arrayIncludes = {
857
- // `Array.prototype.includes` method
858
- // https://tc39.es/ecma262/#sec-array.prototype.includes
859
- includes: createMethod(true),
860
- // `Array.prototype.indexOf` method
861
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
862
- indexOf: createMethod(false)
863
- };
864
-
865
- var uncurryThis$6 = functionUncurryThis;
866
- var hasOwn$6 = hasOwnProperty_1;
867
- var toIndexedObject$2 = toIndexedObject$5;
868
- var indexOf$1 = arrayIncludes.indexOf;
869
- var hiddenKeys$2 = hiddenKeys$4;
870
-
871
- var push = uncurryThis$6([].push);
872
-
873
- var objectKeysInternal = function (object, names) {
874
- var O = toIndexedObject$2(object);
875
- var i = 0;
876
- var result = [];
877
- var key;
878
- for (key in O) !hasOwn$6(hiddenKeys$2, key) && hasOwn$6(O, key) && push(result, key);
879
- // Don't enum bug & hidden keys
880
- while (names.length > i) if (hasOwn$6(O, key = names[i++])) {
881
- ~indexOf$1(result, key) || push(result, key);
882
- }
883
- return result;
884
- };
885
-
886
- // IE8- don't enum bug keys
887
- var enumBugKeys$3 = [
888
- 'constructor',
889
- 'hasOwnProperty',
890
- 'isPrototypeOf',
891
- 'propertyIsEnumerable',
892
- 'toLocaleString',
893
- 'toString',
894
- 'valueOf'
895
- ];
896
-
897
- var internalObjectKeys$1 = objectKeysInternal;
898
- var enumBugKeys$2 = enumBugKeys$3;
1043
+ var internalObjectKeys = objectKeysInternal;
1044
+ var enumBugKeys = enumBugKeys$3;
899
1045
 
900
- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1046
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
901
1047
 
902
1048
  // `Object.getOwnPropertyNames` method
903
1049
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
904
1050
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
905
1051
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
906
- return internalObjectKeys$1(O, hiddenKeys$1);
1052
+ return internalObjectKeys(O, hiddenKeys);
907
1053
  };
908
1054
 
909
1055
  var objectGetOwnPropertySymbols = {};
@@ -911,17 +1057,17 @@ var objectGetOwnPropertySymbols = {};
911
1057
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
912
1058
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
913
1059
 
914
- var getBuiltIn$2 = getBuiltIn$5;
915
- var uncurryThis$5 = functionUncurryThis;
1060
+ var getBuiltIn$1 = getBuiltIn$5;
1061
+ var uncurryThis$7 = functionUncurryThis;
916
1062
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
917
1063
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
918
- var anObject$5 = anObject$7;
1064
+ var anObject$3 = anObject$7;
919
1065
 
920
- var concat$1 = uncurryThis$5([].concat);
1066
+ var concat$1 = uncurryThis$7([].concat);
921
1067
 
922
1068
  // all object keys, includes non-enumerable and symbols
923
- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
924
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
1069
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
1070
+ var keys = getOwnPropertyNamesModule.f(anObject$3(it));
925
1071
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
926
1072
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
927
1073
  };
@@ -929,11 +1075,11 @@ var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
929
1075
  var hasOwn$5 = hasOwnProperty_1;
930
1076
  var ownKeys = ownKeys$1;
931
1077
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
932
- var definePropertyModule$2 = objectDefineProperty;
1078
+ var definePropertyModule$1 = objectDefineProperty;
933
1079
 
934
1080
  var copyConstructorProperties$2 = function (target, source, exceptions) {
935
1081
  var keys = ownKeys(source);
936
- var defineProperty = definePropertyModule$2.f;
1082
+ var defineProperty = definePropertyModule$1.f;
937
1083
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
938
1084
  for (var i = 0; i < keys.length; i++) {
939
1085
  var key = keys[i];
@@ -943,7 +1089,7 @@ var copyConstructorProperties$2 = function (target, source, exceptions) {
943
1089
  }
944
1090
  };
945
1091
 
946
- var fails$8 = fails$g;
1092
+ var fails$9 = fails$h;
947
1093
  var isCallable$7 = isCallable$h;
948
1094
 
949
1095
  var replacement = /#|\.prototype\./;
@@ -952,7 +1098,7 @@ var isForced$2 = function (feature, detection) {
952
1098
  var value = data[normalize(feature)];
953
1099
  return value == POLYFILL ? true
954
1100
  : value == NATIVE ? false
955
- : isCallable$7(detection) ? fails$8(detection)
1101
+ : isCallable$7(detection) ? fails$9(detection)
956
1102
  : !!detection;
957
1103
  };
958
1104
 
@@ -966,417 +1112,100 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
966
1112
 
967
1113
  var isForced_1 = isForced$2;
968
1114
 
969
- var global$7 = global$g;
970
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
971
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
972
- var defineBuiltIn$4 = defineBuiltIn$5;
973
- var defineGlobalProperty = defineGlobalProperty$3;
974
- var copyConstructorProperties$1 = copyConstructorProperties$2;
975
- var isForced$1 = isForced_1;
976
-
977
- /*
978
- options.target - name of the target object
979
- options.global - target is the global object
980
- options.stat - export as static methods of target
981
- options.proto - export as prototype methods of target
982
- options.real - real prototype method for the `pure` version
983
- options.forced - export even if the native feature is available
984
- options.bind - bind methods to the target, required for the `pure` version
985
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
986
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
987
- options.sham - add a flag to not completely full polyfills
988
- options.enumerable - export as enumerable property
989
- options.dontCallGetSet - prevent calling a getter on target
990
- options.name - the .name of the function if it does not match the key
991
- */
992
- var _export = function (options, source) {
993
- var TARGET = options.target;
994
- var GLOBAL = options.global;
995
- var STATIC = options.stat;
996
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
997
- if (GLOBAL) {
998
- target = global$7;
999
- } else if (STATIC) {
1000
- target = global$7[TARGET] || defineGlobalProperty(TARGET, {});
1001
- } else {
1002
- target = (global$7[TARGET] || {}).prototype;
1003
- }
1004
- if (target) for (key in source) {
1005
- sourceProperty = source[key];
1006
- if (options.dontCallGetSet) {
1007
- descriptor = getOwnPropertyDescriptor(target, key);
1008
- targetProperty = descriptor && descriptor.value;
1009
- } else targetProperty = target[key];
1010
- FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1011
- // contained in target
1012
- if (!FORCED && targetProperty !== undefined) {
1013
- if (typeof sourceProperty == typeof targetProperty) continue;
1014
- copyConstructorProperties$1(sourceProperty, targetProperty);
1015
- }
1016
- // add a flag to not completely full polyfills
1017
- if (options.sham || (targetProperty && targetProperty.sham)) {
1018
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1019
- }
1020
- defineBuiltIn$4(target, key, sourceProperty, options);
1021
- }
1022
- };
1023
-
1024
- var wellKnownSymbol$9 = wellKnownSymbol$b;
1025
-
1026
- var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
1027
- var test = {};
1028
-
1029
- test[TO_STRING_TAG$3] = 'z';
1030
-
1031
- var toStringTagSupport = String(test) === '[object z]';
1032
-
1033
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1034
- var isCallable$6 = isCallable$h;
1035
- var classofRaw = classofRaw$2;
1036
- var wellKnownSymbol$8 = wellKnownSymbol$b;
1037
-
1038
- var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1039
- var $Object$1 = Object;
1040
-
1041
- // ES3 wrong here
1042
- var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1043
-
1044
- // fallback for IE11 Script Access Denied error
1045
- var tryGet = function (it, key) {
1046
- try {
1047
- return it[key];
1048
- } catch (error) { /* empty */ }
1049
- };
1050
-
1051
- // getting tag from ES6+ `Object.prototype.toString`
1052
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1053
- var O, tag, result;
1054
- return it === undefined ? 'Undefined' : it === null ? 'Null'
1055
- // @@toStringTag case
1056
- : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
1057
- // builtinTag case
1058
- : CORRECT_ARGUMENTS ? classofRaw(O)
1059
- // ES3 arguments fallback
1060
- : (result = classofRaw(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
1061
- };
1062
-
1063
- var classof$1 = classof$2;
1064
-
1065
- var $String$1 = String;
1066
-
1067
- var toString$3 = function (argument) {
1068
- if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1069
- return $String$1(argument);
1070
- };
1071
-
1072
- var $$3 = _export;
1073
- var DESCRIPTORS$5 = descriptors;
1074
- var global$6 = global$g;
1075
- var uncurryThis$4 = functionUncurryThis;
1076
- var hasOwn$4 = hasOwnProperty_1;
1077
- var isCallable$5 = isCallable$h;
1078
- var isPrototypeOf$2 = objectIsPrototypeOf;
1079
- var toString$2 = toString$3;
1080
- var defineProperty$5 = objectDefineProperty.f;
1081
- var copyConstructorProperties = copyConstructorProperties$2;
1082
-
1083
- var NativeSymbol = global$6.Symbol;
1084
- var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1085
-
1086
- if (DESCRIPTORS$5 && isCallable$5(NativeSymbol) && (!('description' in SymbolPrototype) ||
1087
- // Safari 12 bug
1088
- NativeSymbol().description !== undefined
1089
- )) {
1090
- var EmptyStringDescriptionStore = {};
1091
- // wrap Symbol constructor for correct work with undefined description
1092
- var SymbolWrapper = function Symbol() {
1093
- var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$2(arguments[0]);
1094
- var result = isPrototypeOf$2(SymbolPrototype, this)
1095
- ? new NativeSymbol(description)
1096
- // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1097
- : description === undefined ? NativeSymbol() : NativeSymbol(description);
1098
- if (description === '') EmptyStringDescriptionStore[result] = true;
1099
- return result;
1100
- };
1101
-
1102
- copyConstructorProperties(SymbolWrapper, NativeSymbol);
1103
- SymbolWrapper.prototype = SymbolPrototype;
1104
- SymbolPrototype.constructor = SymbolWrapper;
1105
-
1106
- var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
1107
- var thisSymbolValue = uncurryThis$4(SymbolPrototype.valueOf);
1108
- var symbolDescriptiveString = uncurryThis$4(SymbolPrototype.toString);
1109
- var regexp = /^Symbol\((.*)\)[^)]+$/;
1110
- var replace$2 = uncurryThis$4(''.replace);
1111
- var stringSlice$2 = uncurryThis$4(''.slice);
1112
-
1113
- defineProperty$5(SymbolPrototype, 'description', {
1114
- configurable: true,
1115
- get: function description() {
1116
- var symbol = thisSymbolValue(this);
1117
- if (hasOwn$4(EmptyStringDescriptionStore, symbol)) return '';
1118
- var string = symbolDescriptiveString(symbol);
1119
- var desc = NATIVE_SYMBOL ? stringSlice$2(string, 7, -1) : replace$2(string, regexp, '$1');
1120
- return desc === '' ? undefined : desc;
1121
- }
1122
- });
1123
-
1124
- $$3({ global: true, constructor: true, forced: true }, {
1125
- Symbol: SymbolWrapper
1126
- });
1127
- }
1128
-
1129
- var internalObjectKeys = objectKeysInternal;
1130
- var enumBugKeys$1 = enumBugKeys$3;
1131
-
1132
- // `Object.keys` method
1133
- // https://tc39.es/ecma262/#sec-object.keys
1134
- // eslint-disable-next-line es/no-object-keys -- safe
1135
- var objectKeys$2 = Object.keys || function keys(O) {
1136
- return internalObjectKeys(O, enumBugKeys$1);
1137
- };
1138
-
1139
- var DESCRIPTORS$4 = descriptors;
1140
- var uncurryThis$3 = functionUncurryThis;
1141
- var call$3 = functionCall;
1142
- var fails$7 = fails$g;
1143
- var objectKeys$1 = objectKeys$2;
1144
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1145
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1146
- var toObject$1 = toObject$3;
1147
- var IndexedObject = indexedObject;
1148
-
1149
- // eslint-disable-next-line es/no-object-assign -- safe
1150
- var $assign = Object.assign;
1151
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1152
- var defineProperty$4 = Object.defineProperty;
1153
- var concat = uncurryThis$3([].concat);
1154
-
1155
- // `Object.assign` method
1156
- // https://tc39.es/ecma262/#sec-object.assign
1157
- var objectAssign = !$assign || fails$7(function () {
1158
- // should have correct order of operations (Edge bug)
1159
- if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
1160
- enumerable: true,
1161
- get: function () {
1162
- defineProperty$4(this, 'b', {
1163
- value: 3,
1164
- enumerable: false
1165
- });
1166
- }
1167
- }), { b: 2 })).b !== 1) return true;
1168
- // should work with symbols and should have deterministic property order (V8 bug)
1169
- var A = {};
1170
- var B = {};
1171
- // eslint-disable-next-line es/no-symbol -- safe
1172
- var symbol = Symbol();
1173
- var alphabet = 'abcdefghijklmnopqrst';
1174
- A[symbol] = 7;
1175
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1176
- return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1177
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1178
- var T = toObject$1(target);
1179
- var argumentsLength = arguments.length;
1180
- var index = 1;
1181
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1182
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1183
- while (argumentsLength > index) {
1184
- var S = IndexedObject(arguments[index++]);
1185
- var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1186
- var length = keys.length;
1187
- var j = 0;
1188
- var key;
1189
- while (length > j) {
1190
- key = keys[j++];
1191
- if (!DESCRIPTORS$4 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1192
- }
1193
- } return T;
1194
- } : $assign;
1195
-
1196
- var $$2 = _export;
1197
- var assign = objectAssign;
1198
-
1199
- // `Object.assign` method
1200
- // https://tc39.es/ecma262/#sec-object.assign
1201
- // eslint-disable-next-line es/no-object-assign -- required for testing
1202
- $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1203
- assign: assign
1204
- });
1205
-
1206
- var objectDefineProperties = {};
1207
-
1208
- var DESCRIPTORS$3 = descriptors;
1209
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1210
- var definePropertyModule$1 = objectDefineProperty;
1211
- var anObject$4 = anObject$7;
1212
- var toIndexedObject$1 = toIndexedObject$5;
1213
- var objectKeys = objectKeys$2;
1214
-
1215
- // `Object.defineProperties` method
1216
- // https://tc39.es/ecma262/#sec-object.defineproperties
1217
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1218
- objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1219
- anObject$4(O);
1220
- var props = toIndexedObject$1(Properties);
1221
- var keys = objectKeys(Properties);
1222
- var length = keys.length;
1223
- var index = 0;
1224
- var key;
1225
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1226
- return O;
1227
- };
1228
-
1229
- var getBuiltIn$1 = getBuiltIn$5;
1230
-
1231
- var html$1 = getBuiltIn$1('document', 'documentElement');
1232
-
1233
- /* global ActiveXObject -- old IE, WSH */
1234
-
1235
- var anObject$3 = anObject$7;
1236
- var definePropertiesModule = objectDefineProperties;
1237
- var enumBugKeys = enumBugKeys$3;
1238
- var hiddenKeys = hiddenKeys$4;
1239
- var html = html$1;
1240
- var documentCreateElement$1 = documentCreateElement$2;
1241
- var sharedKey$1 = sharedKey$3;
1242
-
1243
- var GT = '>';
1244
- var LT = '<';
1245
- var PROTOTYPE = 'prototype';
1246
- var SCRIPT = 'script';
1247
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1248
-
1249
- var EmptyConstructor = function () { /* empty */ };
1250
-
1251
- var scriptTag = function (content) {
1252
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1253
- };
1254
-
1255
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1256
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1257
- activeXDocument.write(scriptTag(''));
1258
- activeXDocument.close();
1259
- var temp = activeXDocument.parentWindow.Object;
1260
- activeXDocument = null; // avoid memory leak
1261
- return temp;
1262
- };
1263
-
1264
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1265
- var NullProtoObjectViaIFrame = function () {
1266
- // Thrash, waste and sodomy: IE GC bug
1267
- var iframe = documentCreateElement$1('iframe');
1268
- var JS = 'java' + SCRIPT + ':';
1269
- var iframeDocument;
1270
- iframe.style.display = 'none';
1271
- html.appendChild(iframe);
1272
- // https://github.com/zloirock/core-js/issues/475
1273
- iframe.src = String(JS);
1274
- iframeDocument = iframe.contentWindow.document;
1275
- iframeDocument.open();
1276
- iframeDocument.write(scriptTag('document.F=Object'));
1277
- iframeDocument.close();
1278
- return iframeDocument.F;
1279
- };
1280
-
1281
- // Check for document.domain and active x support
1282
- // No need to use active x approach when document.domain is not set
1283
- // see https://github.com/es-shims/es5-shim/issues/150
1284
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1285
- // avoid IE GC bug
1286
- var activeXDocument;
1287
- var NullProtoObject = function () {
1288
- try {
1289
- activeXDocument = new ActiveXObject('htmlfile');
1290
- } catch (error) { /* ignore */ }
1291
- NullProtoObject = typeof document != 'undefined'
1292
- ? document.domain && activeXDocument
1293
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1294
- : NullProtoObjectViaIFrame()
1295
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1296
- var length = enumBugKeys.length;
1297
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1298
- return NullProtoObject();
1299
- };
1300
-
1301
- hiddenKeys[IE_PROTO$1] = true;
1302
-
1303
- // `Object.create` method
1304
- // https://tc39.es/ecma262/#sec-object.create
1305
- // eslint-disable-next-line es/no-object-create -- safe
1306
- var objectCreate = Object.create || function create(O, Properties) {
1307
- var result;
1308
- if (O !== null) {
1309
- EmptyConstructor[PROTOTYPE] = anObject$3(O);
1310
- result = new EmptyConstructor();
1311
- EmptyConstructor[PROTOTYPE] = null;
1312
- // add "__proto__" for Object.getPrototypeOf polyfill
1313
- result[IE_PROTO$1] = O;
1314
- } else result = NullProtoObject();
1315
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1316
- };
1317
-
1318
- var wellKnownSymbol$7 = wellKnownSymbol$b;
1319
- var create$2 = objectCreate;
1320
- var defineProperty$3 = objectDefineProperty.f;
1321
-
1322
- var UNSCOPABLES = wellKnownSymbol$7('unscopables');
1323
- var ArrayPrototype = Array.prototype;
1324
-
1325
- // Array.prototype[@@unscopables]
1326
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1327
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
1328
- defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1329
- configurable: true,
1330
- value: create$2(null)
1331
- });
1332
- }
1333
-
1334
- // add a key to Array.prototype[@@unscopables]
1335
- var addToUnscopables$1 = function (key) {
1336
- ArrayPrototype[UNSCOPABLES][key] = true;
1337
- };
1115
+ var global$8 = global$h;
1116
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1117
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1118
+ var defineBuiltIn$4 = defineBuiltIn$5;
1119
+ var defineGlobalProperty = defineGlobalProperty$3;
1120
+ var copyConstructorProperties$1 = copyConstructorProperties$2;
1121
+ var isForced$1 = isForced_1;
1338
1122
 
1339
- var iterators = {};
1123
+ /*
1124
+ options.target - name of the target object
1125
+ options.global - target is the global object
1126
+ options.stat - export as static methods of target
1127
+ options.proto - export as prototype methods of target
1128
+ options.real - real prototype method for the `pure` version
1129
+ options.forced - export even if the native feature is available
1130
+ options.bind - bind methods to the target, required for the `pure` version
1131
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1132
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1133
+ options.sham - add a flag to not completely full polyfills
1134
+ options.enumerable - export as enumerable property
1135
+ options.dontCallGetSet - prevent calling a getter on target
1136
+ options.name - the .name of the function if it does not match the key
1137
+ */
1138
+ var _export = function (options, source) {
1139
+ var TARGET = options.target;
1140
+ var GLOBAL = options.global;
1141
+ var STATIC = options.stat;
1142
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1143
+ if (GLOBAL) {
1144
+ target = global$8;
1145
+ } else if (STATIC) {
1146
+ target = global$8[TARGET] || defineGlobalProperty(TARGET, {});
1147
+ } else {
1148
+ target = (global$8[TARGET] || {}).prototype;
1149
+ }
1150
+ if (target) for (key in source) {
1151
+ sourceProperty = source[key];
1152
+ if (options.dontCallGetSet) {
1153
+ descriptor = getOwnPropertyDescriptor(target, key);
1154
+ targetProperty = descriptor && descriptor.value;
1155
+ } else targetProperty = target[key];
1156
+ FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1157
+ // contained in target
1158
+ if (!FORCED && targetProperty !== undefined) {
1159
+ if (typeof sourceProperty == typeof targetProperty) continue;
1160
+ copyConstructorProperties$1(sourceProperty, targetProperty);
1161
+ }
1162
+ // add a flag to not completely full polyfills
1163
+ if (options.sham || (targetProperty && targetProperty.sham)) {
1164
+ createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1165
+ }
1166
+ defineBuiltIn$4(target, key, sourceProperty, options);
1167
+ }
1168
+ };
1340
1169
 
1341
- var fails$6 = fails$g;
1170
+ var fails$8 = fails$h;
1342
1171
 
1343
- var correctPrototypeGetter = !fails$6(function () {
1172
+ var correctPrototypeGetter = !fails$8(function () {
1344
1173
  function F() { /* empty */ }
1345
1174
  F.prototype.constructor = null;
1346
1175
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1347
1176
  return Object.getPrototypeOf(new F()) !== F.prototype;
1348
1177
  });
1349
1178
 
1350
- var hasOwn$3 = hasOwnProperty_1;
1351
- var isCallable$4 = isCallable$h;
1352
- var toObject = toObject$3;
1179
+ var hasOwn$4 = hasOwnProperty_1;
1180
+ var isCallable$6 = isCallable$h;
1181
+ var toObject$1 = toObject$3;
1353
1182
  var sharedKey = sharedKey$3;
1354
1183
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1355
1184
 
1356
1185
  var IE_PROTO = sharedKey('IE_PROTO');
1357
- var $Object = Object;
1358
- var ObjectPrototype = $Object.prototype;
1186
+ var $Object$1 = Object;
1187
+ var ObjectPrototype = $Object$1.prototype;
1359
1188
 
1360
1189
  // `Object.getPrototypeOf` method
1361
1190
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1362
1191
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1363
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1364
- var object = toObject(O);
1365
- if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
1192
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1193
+ var object = toObject$1(O);
1194
+ if (hasOwn$4(object, IE_PROTO)) return object[IE_PROTO];
1366
1195
  var constructor = object.constructor;
1367
- if (isCallable$4(constructor) && object instanceof constructor) {
1196
+ if (isCallable$6(constructor) && object instanceof constructor) {
1368
1197
  return constructor.prototype;
1369
- } return object instanceof $Object ? ObjectPrototype : null;
1198
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1370
1199
  };
1371
1200
 
1372
- var fails$5 = fails$g;
1373
- var isCallable$3 = isCallable$h;
1201
+ var fails$7 = fails$h;
1202
+ var isCallable$5 = isCallable$h;
1374
1203
  var isObject$2 = isObject$8;
1375
1204
  var getPrototypeOf$1 = objectGetPrototypeOf;
1376
1205
  var defineBuiltIn$3 = defineBuiltIn$5;
1377
- var wellKnownSymbol$6 = wellKnownSymbol$b;
1206
+ var wellKnownSymbol$8 = wellKnownSymbol$b;
1378
1207
 
1379
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
1208
+ var ITERATOR$3 = wellKnownSymbol$8('iterator');
1380
1209
  var BUGGY_SAFARI_ITERATORS$1 = false;
1381
1210
 
1382
1211
  // `%IteratorPrototype%` object
@@ -1394,18 +1223,18 @@ if ([].keys) {
1394
1223
  }
1395
1224
  }
1396
1225
 
1397
- var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$5(function () {
1226
+ var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails$7(function () {
1398
1227
  var test = {};
1399
1228
  // FF44- legacy iterators case
1400
- return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
1229
+ return IteratorPrototype$2[ITERATOR$3].call(test) !== test;
1401
1230
  });
1402
1231
 
1403
1232
  if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1404
1233
 
1405
1234
  // `%IteratorPrototype%[@@iterator]()` method
1406
1235
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1407
- if (!isCallable$3(IteratorPrototype$2[ITERATOR$2])) {
1408
- defineBuiltIn$3(IteratorPrototype$2, ITERATOR$2, function () {
1236
+ if (!isCallable$5(IteratorPrototype$2[ITERATOR$3])) {
1237
+ defineBuiltIn$3(IteratorPrototype$2, ITERATOR$3, function () {
1409
1238
  return this;
1410
1239
  });
1411
1240
  }
@@ -1415,16 +1244,16 @@ var iteratorsCore = {
1415
1244
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1416
1245
  };
1417
1246
 
1418
- var defineProperty$2 = objectDefineProperty.f;
1419
- var hasOwn$2 = hasOwnProperty_1;
1420
- var wellKnownSymbol$5 = wellKnownSymbol$b;
1247
+ var defineProperty$4 = objectDefineProperty.f;
1248
+ var hasOwn$3 = hasOwnProperty_1;
1249
+ var wellKnownSymbol$7 = wellKnownSymbol$b;
1421
1250
 
1422
- var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');
1251
+ var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag');
1423
1252
 
1424
1253
  var setToStringTag$2 = function (target, TAG, STATIC) {
1425
1254
  if (target && !STATIC) target = target.prototype;
1426
- if (target && !hasOwn$2(target, TO_STRING_TAG$1)) {
1427
- defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
1255
+ if (target && !hasOwn$3(target, TO_STRING_TAG$3)) {
1256
+ defineProperty$4(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1428
1257
  }
1429
1258
  };
1430
1259
 
@@ -1444,19 +1273,19 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1444
1273
  return IteratorConstructor;
1445
1274
  };
1446
1275
 
1447
- var isCallable$2 = isCallable$h;
1276
+ var isCallable$4 = isCallable$h;
1448
1277
 
1449
- var $String = String;
1278
+ var $String$1 = String;
1450
1279
  var $TypeError = TypeError;
1451
1280
 
1452
1281
  var aPossiblePrototype$1 = function (argument) {
1453
- if (typeof argument == 'object' || isCallable$2(argument)) return argument;
1454
- throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
1282
+ if (typeof argument == 'object' || isCallable$4(argument)) return argument;
1283
+ throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
1455
1284
  };
1456
1285
 
1457
1286
  /* eslint-disable no-proto -- safe */
1458
1287
 
1459
- var uncurryThis$2 = functionUncurryThis;
1288
+ var uncurryThis$6 = functionUncurryThis;
1460
1289
  var anObject$2 = anObject$7;
1461
1290
  var aPossiblePrototype = aPossiblePrototype$1;
1462
1291
 
@@ -1470,7 +1299,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1470
1299
  var setter;
1471
1300
  try {
1472
1301
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1473
- setter = uncurryThis$2(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1302
+ setter = uncurryThis$6(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1474
1303
  setter(test, []);
1475
1304
  CORRECT_SETTER = test instanceof Array;
1476
1305
  } catch (error) { /* empty */ }
@@ -1483,17 +1312,17 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1483
1312
  };
1484
1313
  }() : undefined);
1485
1314
 
1486
- var $$1 = _export;
1487
- var call$2 = functionCall;
1315
+ var $$4 = _export;
1316
+ var call$3 = functionCall;
1488
1317
  var FunctionName = functionName;
1489
- var isCallable$1 = isCallable$h;
1318
+ var isCallable$3 = isCallable$h;
1490
1319
  var createIteratorConstructor = iteratorCreateConstructor;
1491
1320
  var getPrototypeOf = objectGetPrototypeOf;
1492
1321
  var setPrototypeOf$1 = objectSetPrototypeOf;
1493
1322
  var setToStringTag = setToStringTag$2;
1494
1323
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1495
1324
  var defineBuiltIn$2 = defineBuiltIn$5;
1496
- var wellKnownSymbol$4 = wellKnownSymbol$b;
1325
+ var wellKnownSymbol$6 = wellKnownSymbol$b;
1497
1326
  var Iterators$1 = iterators;
1498
1327
  var IteratorsCore = iteratorsCore;
1499
1328
 
@@ -1501,7 +1330,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1501
1330
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1502
1331
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1503
1332
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1504
- var ITERATOR$1 = wellKnownSymbol$4('iterator');
1333
+ var ITERATOR$2 = wellKnownSymbol$6('iterator');
1505
1334
  var KEYS = 'keys';
1506
1335
  var VALUES = 'values';
1507
1336
  var ENTRIES = 'entries';
@@ -1524,7 +1353,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1524
1353
  var TO_STRING_TAG = NAME + ' Iterator';
1525
1354
  var INCORRECT_VALUES_NAME = false;
1526
1355
  var IterablePrototype = Iterable.prototype;
1527
- var nativeIterator = IterablePrototype[ITERATOR$1]
1356
+ var nativeIterator = IterablePrototype[ITERATOR$2]
1528
1357
  || IterablePrototype['@@iterator']
1529
1358
  || DEFAULT && IterablePrototype[DEFAULT];
1530
1359
  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
@@ -1538,8 +1367,8 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1538
1367
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1539
1368
  if (setPrototypeOf$1) {
1540
1369
  setPrototypeOf$1(CurrentIteratorPrototype, IteratorPrototype);
1541
- } else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$1])) {
1542
- defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1370
+ } else if (!isCallable$3(CurrentIteratorPrototype[ITERATOR$2])) {
1371
+ defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$2, returnThis);
1543
1372
  }
1544
1373
  }
1545
1374
  // Set @@toStringTag to native iterators
@@ -1553,7 +1382,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1553
1382
  createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1554
1383
  } else {
1555
1384
  INCORRECT_VALUES_NAME = true;
1556
- defaultIterator = function values() { return call$2(nativeIterator, this); };
1385
+ defaultIterator = function values() { return call$3(nativeIterator, this); };
1557
1386
  }
1558
1387
  }
1559
1388
 
@@ -1568,12 +1397,12 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1568
1397
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1569
1398
  defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
1570
1399
  }
1571
- } else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1400
+ } else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1572
1401
  }
1573
1402
 
1574
1403
  // define iterator
1575
- if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1576
- defineBuiltIn$2(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1404
+ if (IterablePrototype[ITERATOR$2] !== defaultIterator) {
1405
+ defineBuiltIn$2(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
1577
1406
  }
1578
1407
  Iterators$1[NAME] = defaultIterator;
1579
1408
 
@@ -1590,10 +1419,10 @@ var toIndexedObject = toIndexedObject$5;
1590
1419
  var addToUnscopables = addToUnscopables$1;
1591
1420
  var Iterators = iterators;
1592
1421
  var InternalStateModule = internalState;
1593
- var defineProperty$1 = objectDefineProperty.f;
1422
+ var defineProperty$3 = objectDefineProperty.f;
1594
1423
  var defineIterator = iteratorDefine;
1595
1424
  var createIterResultObject = createIterResultObject$1;
1596
- var DESCRIPTORS$2 = descriptors;
1425
+ var DESCRIPTORS$4 = descriptors;
1597
1426
 
1598
1427
  var ARRAY_ITERATOR = 'Array Iterator';
1599
1428
  var setInternalState = InternalStateModule.set;
@@ -1643,8 +1472,8 @@ addToUnscopables('values');
1643
1472
  addToUnscopables('entries');
1644
1473
 
1645
1474
  // V8 ~ Chrome 45- bug
1646
- if (DESCRIPTORS$2 && values.name !== 'values') try {
1647
- defineProperty$1(values, 'name', { value: 'values' });
1475
+ if (DESCRIPTORS$4 && values.name !== 'values') try {
1476
+ defineProperty$3(values, 'name', { value: 'values' });
1648
1477
  } catch (error) { /* empty */ }
1649
1478
 
1650
1479
  // iterable DOM collections
@@ -1691,27 +1520,27 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1691
1520
 
1692
1521
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1693
1522
 
1694
- var global$5 = global$g;
1523
+ var global$7 = global$h;
1695
1524
  var DOMIterables = domIterables;
1696
1525
  var DOMTokenListPrototype = domTokenListPrototype;
1697
1526
  var ArrayIteratorMethods = es_array_iterator;
1698
1527
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1699
- var wellKnownSymbol$3 = wellKnownSymbol$b;
1528
+ var wellKnownSymbol$5 = wellKnownSymbol$b;
1700
1529
 
1701
- var ITERATOR = wellKnownSymbol$3('iterator');
1702
- var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1530
+ var ITERATOR$1 = wellKnownSymbol$5('iterator');
1531
+ var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag');
1703
1532
  var ArrayValues = ArrayIteratorMethods.values;
1704
1533
 
1705
1534
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1706
1535
  if (CollectionPrototype) {
1707
1536
  // some Chrome versions have non-configurable methods on DOMTokenList
1708
- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1709
- createNonEnumerableProperty$1(CollectionPrototype, ITERATOR, ArrayValues);
1537
+ if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
1538
+ createNonEnumerableProperty$1(CollectionPrototype, ITERATOR$1, ArrayValues);
1710
1539
  } catch (error) {
1711
- CollectionPrototype[ITERATOR] = ArrayValues;
1540
+ CollectionPrototype[ITERATOR$1] = ArrayValues;
1712
1541
  }
1713
- if (!CollectionPrototype[TO_STRING_TAG]) {
1714
- createNonEnumerableProperty$1(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
1542
+ if (!CollectionPrototype[TO_STRING_TAG$2]) {
1543
+ createNonEnumerableProperty$1(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
1715
1544
  }
1716
1545
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1717
1546
  // some Chrome versions have non-configurable methods on DOMTokenList
@@ -1725,11 +1554,251 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1725
1554
  };
1726
1555
 
1727
1556
  for (var COLLECTION_NAME in DOMIterables) {
1728
- handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME);
1557
+ handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
1729
1558
  }
1730
1559
 
1731
1560
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1732
1561
 
1562
+ var wellKnownSymbol$4 = wellKnownSymbol$b;
1563
+
1564
+ var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1565
+ var test = {};
1566
+
1567
+ test[TO_STRING_TAG$1] = 'z';
1568
+
1569
+ var toStringTagSupport = String(test) === '[object z]';
1570
+
1571
+ var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1572
+ var isCallable$2 = isCallable$h;
1573
+ var classofRaw = classofRaw$2;
1574
+ var wellKnownSymbol$3 = wellKnownSymbol$b;
1575
+
1576
+ var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1577
+ var $Object = Object;
1578
+
1579
+ // ES3 wrong here
1580
+ var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
1581
+
1582
+ // fallback for IE11 Script Access Denied error
1583
+ var tryGet = function (it, key) {
1584
+ try {
1585
+ return it[key];
1586
+ } catch (error) { /* empty */ }
1587
+ };
1588
+
1589
+ // getting tag from ES6+ `Object.prototype.toString`
1590
+ var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1591
+ var O, tag, result;
1592
+ return it === undefined ? 'Undefined' : it === null ? 'Null'
1593
+ // @@toStringTag case
1594
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1595
+ // builtinTag case
1596
+ : CORRECT_ARGUMENTS ? classofRaw(O)
1597
+ // ES3 arguments fallback
1598
+ : (result = classofRaw(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
1599
+ };
1600
+
1601
+ var classof$1 = classof$2;
1602
+
1603
+ var $String = String;
1604
+
1605
+ var toString$5 = function (argument) {
1606
+ if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1607
+ return $String(argument);
1608
+ };
1609
+
1610
+ var $$3 = _export;
1611
+ var DESCRIPTORS$3 = descriptors;
1612
+ var global$6 = global$h;
1613
+ var uncurryThis$5 = functionUncurryThis;
1614
+ var hasOwn$2 = hasOwnProperty_1;
1615
+ var isCallable$1 = isCallable$h;
1616
+ var isPrototypeOf$2 = objectIsPrototypeOf;
1617
+ var toString$4 = toString$5;
1618
+ var defineProperty$2 = objectDefineProperty.f;
1619
+ var copyConstructorProperties = copyConstructorProperties$2;
1620
+
1621
+ var NativeSymbol = global$6.Symbol;
1622
+ var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1623
+
1624
+ if (DESCRIPTORS$3 && isCallable$1(NativeSymbol) && (!('description' in SymbolPrototype) ||
1625
+ // Safari 12 bug
1626
+ NativeSymbol().description !== undefined
1627
+ )) {
1628
+ var EmptyStringDescriptionStore = {};
1629
+ // wrap Symbol constructor for correct work with undefined description
1630
+ var SymbolWrapper = function Symbol() {
1631
+ var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
1632
+ var result = isPrototypeOf$2(SymbolPrototype, this)
1633
+ ? new NativeSymbol(description)
1634
+ // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
1635
+ : description === undefined ? NativeSymbol() : NativeSymbol(description);
1636
+ if (description === '') EmptyStringDescriptionStore[result] = true;
1637
+ return result;
1638
+ };
1639
+
1640
+ copyConstructorProperties(SymbolWrapper, NativeSymbol);
1641
+ SymbolWrapper.prototype = SymbolPrototype;
1642
+ SymbolPrototype.constructor = SymbolWrapper;
1643
+
1644
+ var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
1645
+ var thisSymbolValue = uncurryThis$5(SymbolPrototype.valueOf);
1646
+ var symbolDescriptiveString = uncurryThis$5(SymbolPrototype.toString);
1647
+ var regexp = /^Symbol\((.*)\)[^)]+$/;
1648
+ var replace$3 = uncurryThis$5(''.replace);
1649
+ var stringSlice$2 = uncurryThis$5(''.slice);
1650
+
1651
+ defineProperty$2(SymbolPrototype, 'description', {
1652
+ configurable: true,
1653
+ get: function description() {
1654
+ var symbol = thisSymbolValue(this);
1655
+ if (hasOwn$2(EmptyStringDescriptionStore, symbol)) return '';
1656
+ var string = symbolDescriptiveString(symbol);
1657
+ var desc = NATIVE_SYMBOL ? stringSlice$2(string, 7, -1) : replace$3(string, regexp, '$1');
1658
+ return desc === '' ? undefined : desc;
1659
+ }
1660
+ });
1661
+
1662
+ $$3({ global: true, constructor: true, forced: true }, {
1663
+ Symbol: SymbolWrapper
1664
+ });
1665
+ }
1666
+
1667
+ var DESCRIPTORS$2 = descriptors;
1668
+ var uncurryThis$4 = functionUncurryThis;
1669
+ var call$2 = functionCall;
1670
+ var fails$6 = fails$h;
1671
+ var objectKeys = objectKeys$2;
1672
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1673
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1674
+ var toObject = toObject$3;
1675
+ var IndexedObject = indexedObject;
1676
+
1677
+ // eslint-disable-next-line es/no-object-assign -- safe
1678
+ var $assign = Object.assign;
1679
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1680
+ var defineProperty$1 = Object.defineProperty;
1681
+ var concat = uncurryThis$4([].concat);
1682
+
1683
+ // `Object.assign` method
1684
+ // https://tc39.es/ecma262/#sec-object.assign
1685
+ var objectAssign = !$assign || fails$6(function () {
1686
+ // should have correct order of operations (Edge bug)
1687
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
1688
+ enumerable: true,
1689
+ get: function () {
1690
+ defineProperty$1(this, 'b', {
1691
+ value: 3,
1692
+ enumerable: false
1693
+ });
1694
+ }
1695
+ }), { b: 2 })).b !== 1) return true;
1696
+ // should work with symbols and should have deterministic property order (V8 bug)
1697
+ var A = {};
1698
+ var B = {};
1699
+ // eslint-disable-next-line es/no-symbol -- safe
1700
+ var symbol = Symbol();
1701
+ var alphabet = 'abcdefghijklmnopqrst';
1702
+ A[symbol] = 7;
1703
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1704
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1705
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1706
+ var T = toObject(target);
1707
+ var argumentsLength = arguments.length;
1708
+ var index = 1;
1709
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1710
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
1711
+ while (argumentsLength > index) {
1712
+ var S = IndexedObject(arguments[index++]);
1713
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1714
+ var length = keys.length;
1715
+ var j = 0;
1716
+ var key;
1717
+ while (length > j) {
1718
+ key = keys[j++];
1719
+ if (!DESCRIPTORS$2 || call$2(propertyIsEnumerable, S, key)) T[key] = S[key];
1720
+ }
1721
+ } return T;
1722
+ } : $assign;
1723
+
1724
+ var $$2 = _export;
1725
+ var assign = objectAssign;
1726
+
1727
+ // `Object.assign` method
1728
+ // https://tc39.es/ecma262/#sec-object.assign
1729
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1730
+ $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1731
+ assign: assign
1732
+ });
1733
+
1734
+ // a string of all valid unicode whitespaces
1735
+ var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
1736
+ '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
1737
+
1738
+ var uncurryThis$3 = functionUncurryThis;
1739
+ var requireObjectCoercible = requireObjectCoercible$3;
1740
+ var toString$3 = toString$5;
1741
+ var whitespaces$1 = whitespaces$2;
1742
+
1743
+ var replace$2 = uncurryThis$3(''.replace);
1744
+ var whitespace = '[' + whitespaces$1 + ']';
1745
+ var ltrim = RegExp('^' + whitespace + whitespace + '*');
1746
+ var rtrim = RegExp(whitespace + whitespace + '*$');
1747
+
1748
+ // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
1749
+ var createMethod = function (TYPE) {
1750
+ return function ($this) {
1751
+ var string = toString$3(requireObjectCoercible($this));
1752
+ if (TYPE & 1) string = replace$2(string, ltrim, '');
1753
+ if (TYPE & 2) string = replace$2(string, rtrim, '');
1754
+ return string;
1755
+ };
1756
+ };
1757
+
1758
+ var stringTrim = {
1759
+ // `String.prototype.{ trimLeft, trimStart }` methods
1760
+ // https://tc39.es/ecma262/#sec-string.prototype.trimstart
1761
+ start: createMethod(1),
1762
+ // `String.prototype.{ trimRight, trimEnd }` methods
1763
+ // https://tc39.es/ecma262/#sec-string.prototype.trimend
1764
+ end: createMethod(2),
1765
+ // `String.prototype.trim` method
1766
+ // https://tc39.es/ecma262/#sec-string.prototype.trim
1767
+ trim: createMethod(3)
1768
+ };
1769
+
1770
+ var global$5 = global$h;
1771
+ var fails$5 = fails$h;
1772
+ var uncurryThis$2 = functionUncurryThis;
1773
+ var toString$2 = toString$5;
1774
+ var trim = stringTrim.trim;
1775
+ var whitespaces = whitespaces$2;
1776
+
1777
+ var charAt$2 = uncurryThis$2(''.charAt);
1778
+ var $parseFloat$1 = global$5.parseFloat;
1779
+ var Symbol$1 = global$5.Symbol;
1780
+ var ITERATOR = Symbol$1 && Symbol$1.iterator;
1781
+ var FORCED = 1 / $parseFloat$1(whitespaces + '-0') !== -Infinity
1782
+ // MS Edge 18- broken with boxed symbols
1783
+ || (ITERATOR && !fails$5(function () { $parseFloat$1(Object(ITERATOR)); }));
1784
+
1785
+ // `parseFloat` method
1786
+ // https://tc39.es/ecma262/#sec-parsefloat-string
1787
+ var numberParseFloat = FORCED ? function parseFloat(string) {
1788
+ var trimmedString = trim(toString$2(string));
1789
+ var result = $parseFloat$1(trimmedString);
1790
+ return result === 0 && charAt$2(trimmedString, 0) == '-' ? -0 : result;
1791
+ } : $parseFloat$1;
1792
+
1793
+ var $$1 = _export;
1794
+ var $parseFloat = numberParseFloat;
1795
+
1796
+ // `parseFloat` method
1797
+ // https://tc39.es/ecma262/#sec-parsefloat-string
1798
+ $$1({ global: true, forced: parseFloat != $parseFloat }, {
1799
+ parseFloat: $parseFloat
1800
+ });
1801
+
1733
1802
  var anObject$1 = anObject$7;
1734
1803
 
1735
1804
  // `RegExp.prototype.flags` getter implementation
@@ -1764,8 +1833,8 @@ var regexpGetFlags = function (R) {
1764
1833
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1765
1834
  var defineBuiltIn$1 = defineBuiltIn$5;
1766
1835
  var anObject = anObject$7;
1767
- var $toString = toString$3;
1768
- var fails$4 = fails$g;
1836
+ var $toString = toString$5;
1837
+ var fails$4 = fails$h;
1769
1838
  var getRegExpFlags$1 = regexpGetFlags;
1770
1839
 
1771
1840
  var TO_STRING = 'toString';
@@ -2006,8 +2075,8 @@ var isRegexp = function (it) {
2006
2075
  return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');
2007
2076
  };
2008
2077
 
2009
- var fails$3 = fails$g;
2010
- var global$4 = global$g;
2078
+ var fails$3 = fails$h;
2079
+ var global$4 = global$h;
2011
2080
 
2012
2081
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2013
2082
  var $RegExp$2 = global$4.RegExp;
@@ -2066,8 +2135,8 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
2066
2135
  }
2067
2136
  };
2068
2137
 
2069
- var fails$2 = fails$g;
2070
- var global$3 = global$g;
2138
+ var fails$2 = fails$h;
2139
+ var global$3 = global$h;
2071
2140
 
2072
2141
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
2073
2142
  var $RegExp$1 = global$3.RegExp;
@@ -2077,8 +2146,8 @@ var regexpUnsupportedDotAll = fails$2(function () {
2077
2146
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
2078
2147
  });
2079
2148
 
2080
- var fails$1 = fails$g;
2081
- var global$2 = global$g;
2149
+ var fails$1 = fails$h;
2150
+ var global$2 = global$h;
2082
2151
 
2083
2152
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2084
2153
  var $RegExp = global$2.RegExp;
@@ -2090,7 +2159,7 @@ var regexpUnsupportedNcg = fails$1(function () {
2090
2159
  });
2091
2160
 
2092
2161
  var DESCRIPTORS = descriptors;
2093
- var global$1 = global$g;
2162
+ var global$1 = global$h;
2094
2163
  var uncurryThis$1 = functionUncurryThis;
2095
2164
  var isForced = isForced_1;
2096
2165
  var inheritIfRequired = inheritIfRequired$1;
@@ -2098,12 +2167,12 @@ var createNonEnumerableProperty = createNonEnumerableProperty$5;
2098
2167
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
2099
2168
  var isPrototypeOf = objectIsPrototypeOf;
2100
2169
  var isRegExp = isRegexp;
2101
- var toString$1 = toString$3;
2170
+ var toString$1 = toString$5;
2102
2171
  var getRegExpFlags = regexpGetFlags;
2103
2172
  var stickyHelpers$1 = regexpStickyHelpers;
2104
2173
  var proxyAccessor = proxyAccessor$1;
2105
2174
  var defineBuiltIn = defineBuiltIn$5;
2106
- var fails = fails$g;
2175
+ var fails = fails$h;
2107
2176
  var hasOwn = hasOwnProperty_1;
2108
2177
  var enforceInternalState = internalState.enforce;
2109
2178
  var setSpecies = setSpecies$1;
@@ -2284,7 +2353,7 @@ setSpecies('RegExp');
2284
2353
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2285
2354
  var call = functionCall;
2286
2355
  var uncurryThis = functionUncurryThis;
2287
- var toString = toString$3;
2356
+ var toString = toString$5;
2288
2357
  var regexpFlags = regexpFlags$1;
2289
2358
  var stickyHelpers = regexpStickyHelpers;
2290
2359
  var shared = shared$4.exports;
@@ -2491,9 +2560,24 @@ const getPhoneNumberValidationRules = definition => {
2491
2560
  return definition.uiEditable ? Object.assign(Object.assign({}, pattern), defaultRules) : defaultRules;
2492
2561
  };
2493
2562
 
2563
+ let _ = t => t,
2564
+ _t2,
2565
+ _t3;
2494
2566
  const useCustomFieldResolver = (field, validation, unitPreference = "SI", fieldId) => {
2495
2567
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
2496
2568
 
2569
+ const [isEditing, setIsEditing] = useState(false);
2570
+ const [numberValue, setNumberValue] = useState(() => {
2571
+ var _a;
2572
+
2573
+ if ((field === null || field === void 0 ? void 0 : field.definition) && field.definition.type === CustomFieldType.NUMBER) {
2574
+ const typedValue = field.value;
2575
+ return (_a = typedValue.numberValue) !== null && _a !== void 0 ? _a : field.definition.defaultNumberValue;
2576
+ } else {
2577
+ return "";
2578
+ }
2579
+ });
2580
+
2497
2581
  if ((field === null || field === void 0 ? void 0 : field.definition) === undefined || ((_a = field === null || field === void 0 ? void 0 : field.definition) === null || _a === void 0 ? void 0 : _a.type) === undefined) {
2498
2582
  return null;
2499
2583
  }
@@ -2592,6 +2676,10 @@ const useCustomFieldResolver = (field, validation, unitPreference = "SI", fieldI
2592
2676
  const typedValue = field.value;
2593
2677
  const rules = getNumberValidationRules(typedDefinition);
2594
2678
  const unit = unitPreference === "US_CUSTOMARY" ? typedDefinition.unitUs : typedDefinition.unitSi;
2679
+ const numberProps = {
2680
+ placeholder: (_t = typedDefinition.title) !== null && _t !== void 0 ? _t : "",
2681
+ addonAfter: unit
2682
+ };
2595
2683
  return jsx(FormGroup, Object.assign({
2596
2684
  label: title,
2597
2685
  isInvalid: errorMessage ? true : false,
@@ -2599,18 +2687,39 @@ const useCustomFieldResolver = (field, validation, unitPreference = "SI", fieldI
2599
2687
  dataTestId: `numberField-FormGroup`,
2600
2688
  disabled: !typedDefinition.uiEditable
2601
2689
  }, {
2602
- children: jsx(BaseInput, Object.assign({
2603
- type: "number",
2690
+ children: isEditing ? jsx(NumberInput, Object.assign({
2604
2691
  id: key || "number-field",
2605
2692
  dataTestId: "numberField",
2606
- placeholder: (_t = typedDefinition.title) !== null && _t !== void 0 ? _t : "",
2607
2693
  defaultValue: (_v = (_u = typedValue.numberValue) !== null && _u !== void 0 ? _u : typedDefinition.defaultNumberValue) !== null && _v !== void 0 ? _v : "",
2608
- addonAfter: unit,
2609
2694
  readOnly: !typedDefinition.uiEditable,
2610
2695
  step: typedDefinition.isInteger ? 1 : "any",
2611
2696
  min: (_w = typedDefinition.minimumNumber) !== null && _w !== void 0 ? _w : undefined,
2612
2697
  max: (_x = typedDefinition.maximumNumber) !== null && _x !== void 0 ? _x : undefined
2613
- }, validation.register(key, rules)))
2698
+ }, validation.register(key, rules), {
2699
+ onBlur: () => setIsEditing(!isEditing),
2700
+ onChange: e => {
2701
+ setNumberValue(e.target.value);
2702
+ validation.register(key, rules).onChange(e);
2703
+ }
2704
+ }, numberProps)) : jsx(BaseInput, Object.assign({
2705
+ type: "text",
2706
+ id: `${key}-number-field`,
2707
+ dataTestId: `${key}-numberField`,
2708
+ defaultValue: parseFloat(Number(numberValue).toPrecision(4)),
2709
+ readOnly: true,
2710
+ actions: jsx(ActionContainer, {
2711
+ children: jsx(StyledIconButton, {
2712
+ dataTestId: "editIconButtonId",
2713
+ size: "small",
2714
+ color: "tertiary",
2715
+ icon: jsx(Icon, {
2716
+ size: "small",
2717
+ name: "PencilIcon"
2718
+ }),
2719
+ onClick: () => setIsEditing(!isEditing)
2720
+ })
2721
+ })
2722
+ }, numberProps))
2614
2723
  }));
2615
2724
  }
2616
2725
 
@@ -2701,5 +2810,11 @@ const CustomField = ({
2701
2810
  }, unitPreference, fieldId);
2702
2811
  return fieldComponent;
2703
2812
  };
2813
+ const ActionContainer = tw.div(_t2 || (_t2 = _`
2814
+ tu-action-container
2815
+ `));
2816
+ const StyledIconButton = twx(IconButton)(_t3 || (_t3 = _`
2817
+ tu-action-button
2818
+ `));
2704
2819
 
2705
2820
  export { CustomField, useCustomFieldResolver };