@abgov/jsonforms-components 2.3.4 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import styled from 'styled-components';
|
|
|
6
6
|
import axios from 'axios';
|
|
7
7
|
import get$1 from 'lodash/get';
|
|
8
8
|
import { rankWith, isStringControl, and, optionIs, uiTypeIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, isEnumControl, isBooleanControl, getAjv, isVisible, getControlPath, toDataPath, deriveLabelForUISchemaElement, isEnabled, schemaTypeIs, formatIs, createDefaultValue, or, isObjectArrayControl, isPrimitiveArrayControl, Paths, schemaMatches, hasType, isControl, isCategorization, isLayout } from '@jsonforms/core';
|
|
9
|
-
import { withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps,
|
|
9
|
+
import { withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps, JsonFormsDispatch, useJsonForms, withJsonFormsLayoutProps, withJsonFormsArrayLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
|
|
10
10
|
import * as _$c from 'lodash';
|
|
11
11
|
import { isEqual, isEmpty as isEmpty$1, isObject as isObject$f } from 'lodash';
|
|
12
12
|
import merge from 'lodash/merge';
|
|
@@ -19,7 +19,7 @@ import addFormats from 'ajv-formats';
|
|
|
19
19
|
|
|
20
20
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
21
21
|
|
|
22
|
-
var fails$
|
|
22
|
+
var fails$t = function (exec) {
|
|
23
23
|
try {
|
|
24
24
|
return !!exec();
|
|
25
25
|
} catch (error) {
|
|
@@ -27,9 +27,9 @@ var fails$s = function (exec) {
|
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
var fails$
|
|
30
|
+
var fails$s = fails$t;
|
|
31
31
|
|
|
32
|
-
var functionBindNative = !fails$
|
|
32
|
+
var functionBindNative = !fails$s(function () {
|
|
33
33
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
34
34
|
var test = (function () { /* empty */ }).bind();
|
|
35
35
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -39,12 +39,12 @@ var functionBindNative = !fails$r(function () {
|
|
|
39
39
|
var NATIVE_BIND$3 = functionBindNative;
|
|
40
40
|
|
|
41
41
|
var FunctionPrototype$2 = Function.prototype;
|
|
42
|
-
var call$
|
|
43
|
-
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$
|
|
42
|
+
var call$o = FunctionPrototype$2.call;
|
|
43
|
+
var uncurryThisWithBind = NATIVE_BIND$3 && FunctionPrototype$2.bind.bind(call$o, call$o);
|
|
44
44
|
|
|
45
45
|
var functionUncurryThis = NATIVE_BIND$3 ? uncurryThisWithBind : function (fn) {
|
|
46
46
|
return function () {
|
|
47
|
-
return call$
|
|
47
|
+
return call$o.apply(fn, arguments);
|
|
48
48
|
};
|
|
49
49
|
};
|
|
50
50
|
|
|
@@ -58,14 +58,14 @@ var classofRaw$2 = function (it) {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
var uncurryThis$s = functionUncurryThis;
|
|
61
|
-
var fails$
|
|
61
|
+
var fails$r = fails$t;
|
|
62
62
|
var classof$a = classofRaw$2;
|
|
63
63
|
|
|
64
64
|
var $Object$4 = Object;
|
|
65
65
|
var split = uncurryThis$s(''.split);
|
|
66
66
|
|
|
67
67
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
68
|
-
var indexedObject = fails$
|
|
68
|
+
var indexedObject = fails$r(function () {
|
|
69
69
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
70
70
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
71
71
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -81,12 +81,12 @@ var isNullOrUndefined$6 = function (it) {
|
|
|
81
81
|
|
|
82
82
|
var isNullOrUndefined$5 = isNullOrUndefined$6;
|
|
83
83
|
|
|
84
|
-
var $TypeError$
|
|
84
|
+
var $TypeError$k = TypeError;
|
|
85
85
|
|
|
86
86
|
// `RequireObjectCoercible` abstract operation
|
|
87
87
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
88
88
|
var requireObjectCoercible$b = function (it) {
|
|
89
|
-
if (isNullOrUndefined$5(it)) throw new $TypeError$
|
|
89
|
+
if (isNullOrUndefined$5(it)) throw new $TypeError$k("Can't call method on " + it);
|
|
90
90
|
return it;
|
|
91
91
|
};
|
|
92
92
|
|
|
@@ -103,7 +103,7 @@ var check = function (it) {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
106
|
-
var global$
|
|
106
|
+
var global$q =
|
|
107
107
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
108
108
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
109
109
|
check(typeof window == 'object' && window) ||
|
|
@@ -116,20 +116,22 @@ var global$p =
|
|
|
116
116
|
|
|
117
117
|
var sharedStore = {exports: {}};
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var isPure = false;
|
|
120
|
+
|
|
121
|
+
var global$p = global$q;
|
|
120
122
|
|
|
121
123
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
122
124
|
var defineProperty$7 = Object.defineProperty;
|
|
123
125
|
|
|
124
126
|
var defineGlobalProperty$3 = function (key, value) {
|
|
125
127
|
try {
|
|
126
|
-
defineProperty$7(global$
|
|
128
|
+
defineProperty$7(global$p, key, { value: value, configurable: true, writable: true });
|
|
127
129
|
} catch (error) {
|
|
128
|
-
global$
|
|
130
|
+
global$p[key] = value;
|
|
129
131
|
} return value;
|
|
130
132
|
};
|
|
131
133
|
|
|
132
|
-
var globalThis$1 = global$
|
|
134
|
+
var globalThis$1 = global$q;
|
|
133
135
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
134
136
|
|
|
135
137
|
var SHARED = '__core-js_shared__';
|
|
@@ -183,11 +185,11 @@ var uid$2 = function (key) {
|
|
|
183
185
|
|
|
184
186
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
185
187
|
|
|
186
|
-
var global$
|
|
188
|
+
var global$o = global$q;
|
|
187
189
|
var userAgent$3 = engineUserAgent;
|
|
188
190
|
|
|
189
|
-
var process$3 = global$
|
|
190
|
-
var Deno$1 = global$
|
|
191
|
+
var process$3 = global$o.process;
|
|
192
|
+
var Deno$1 = global$o.Deno;
|
|
191
193
|
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
192
194
|
var v8 = versions && versions.v8;
|
|
193
195
|
var match, version;
|
|
@@ -213,13 +215,13 @@ var engineV8Version = version;
|
|
|
213
215
|
|
|
214
216
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
215
217
|
var V8_VERSION$1 = engineV8Version;
|
|
216
|
-
var fails$
|
|
217
|
-
var global$
|
|
218
|
+
var fails$q = fails$t;
|
|
219
|
+
var global$n = global$q;
|
|
218
220
|
|
|
219
|
-
var $String$6 = global$
|
|
221
|
+
var $String$6 = global$n.String;
|
|
220
222
|
|
|
221
223
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
222
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
224
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$q(function () {
|
|
223
225
|
var symbol = Symbol('symbol detection');
|
|
224
226
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
225
227
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -237,20 +239,20 @@ var useSymbolAsUid = NATIVE_SYMBOL$3
|
|
|
237
239
|
&& !Symbol.sham
|
|
238
240
|
&& typeof Symbol.iterator == 'symbol';
|
|
239
241
|
|
|
240
|
-
var global$
|
|
242
|
+
var global$m = global$q;
|
|
241
243
|
var shared$3 = shared$4;
|
|
242
|
-
var hasOwn$
|
|
244
|
+
var hasOwn$e = hasOwnProperty_1;
|
|
243
245
|
var uid$1 = uid$2;
|
|
244
246
|
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
245
247
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
246
248
|
|
|
247
|
-
var Symbol$2 = global$
|
|
249
|
+
var Symbol$2 = global$m.Symbol;
|
|
248
250
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
249
251
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
250
252
|
|
|
251
|
-
var wellKnownSymbol$
|
|
252
|
-
if (!hasOwn$
|
|
253
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$
|
|
253
|
+
var wellKnownSymbol$m = function (name) {
|
|
254
|
+
if (!hasOwn$e(WellKnownSymbolsStore, name)) {
|
|
255
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$2 && hasOwn$e(Symbol$2, name)
|
|
254
256
|
? Symbol$2[name]
|
|
255
257
|
: createWellKnownSymbol('Symbol.' + name);
|
|
256
258
|
} return WellKnownSymbolsStore[name];
|
|
@@ -262,45 +264,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
262
264
|
// `IsCallable` abstract operation
|
|
263
265
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
264
266
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
265
|
-
var isCallable$
|
|
267
|
+
var isCallable$r = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
266
268
|
return typeof argument == 'function' || argument === documentAll;
|
|
267
269
|
} : function (argument) {
|
|
268
270
|
return typeof argument == 'function';
|
|
269
271
|
};
|
|
270
272
|
|
|
271
|
-
var isCallable$
|
|
273
|
+
var isCallable$q = isCallable$r;
|
|
272
274
|
|
|
273
275
|
var isObject$e = function (it) {
|
|
274
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
276
|
+
return typeof it == 'object' ? it !== null : isCallable$q(it);
|
|
275
277
|
};
|
|
276
278
|
|
|
277
279
|
var isObject$d = isObject$e;
|
|
278
280
|
|
|
279
281
|
var $String$5 = String;
|
|
280
|
-
var $TypeError$
|
|
282
|
+
var $TypeError$j = TypeError;
|
|
281
283
|
|
|
282
284
|
// `Assert: Type(argument) is Object`
|
|
283
|
-
var anObject$
|
|
285
|
+
var anObject$o = function (argument) {
|
|
284
286
|
if (isObject$d(argument)) return argument;
|
|
285
|
-
throw new $TypeError$
|
|
287
|
+
throw new $TypeError$j($String$5(argument) + ' is not an object');
|
|
286
288
|
};
|
|
287
289
|
|
|
288
290
|
var objectDefineProperties = {};
|
|
289
291
|
|
|
290
|
-
var fails$
|
|
292
|
+
var fails$p = fails$t;
|
|
291
293
|
|
|
292
294
|
// Detect IE8's incomplete defineProperty implementation
|
|
293
|
-
var descriptors = !fails$
|
|
295
|
+
var descriptors = !fails$p(function () {
|
|
294
296
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
295
297
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
296
298
|
});
|
|
297
299
|
|
|
298
|
-
var DESCRIPTORS$
|
|
299
|
-
var fails$
|
|
300
|
+
var DESCRIPTORS$i = descriptors;
|
|
301
|
+
var fails$o = fails$t;
|
|
300
302
|
|
|
301
303
|
// V8 ~ Chrome 36-
|
|
302
304
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
303
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
305
|
+
var v8PrototypeDefineBug = DESCRIPTORS$i && fails$o(function () {
|
|
304
306
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
305
307
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
306
308
|
value: 42,
|
|
@@ -310,10 +312,10 @@ var v8PrototypeDefineBug = DESCRIPTORS$h && fails$n(function () {
|
|
|
310
312
|
|
|
311
313
|
var objectDefineProperty = {};
|
|
312
314
|
|
|
313
|
-
var global$
|
|
315
|
+
var global$l = global$q;
|
|
314
316
|
var isObject$c = isObject$e;
|
|
315
317
|
|
|
316
|
-
var document$3 = global$
|
|
318
|
+
var document$3 = global$l.document;
|
|
317
319
|
// typeof document.createElement is 'object' in old IE
|
|
318
320
|
var EXISTS$1 = isObject$c(document$3) && isObject$c(document$3.createElement);
|
|
319
321
|
|
|
@@ -321,12 +323,12 @@ var documentCreateElement$2 = function (it) {
|
|
|
321
323
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
322
324
|
};
|
|
323
325
|
|
|
324
|
-
var DESCRIPTORS$
|
|
325
|
-
var fails$
|
|
326
|
+
var DESCRIPTORS$h = descriptors;
|
|
327
|
+
var fails$n = fails$t;
|
|
326
328
|
var createElement$1 = documentCreateElement$2;
|
|
327
329
|
|
|
328
330
|
// Thanks to IE8 for its funny defineProperty
|
|
329
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
331
|
+
var ie8DomDefine = !DESCRIPTORS$h && !fails$n(function () {
|
|
330
332
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
331
333
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
|
332
334
|
get: function () { return 7; }
|
|
@@ -335,21 +337,21 @@ var ie8DomDefine = !DESCRIPTORS$g && !fails$m(function () {
|
|
|
335
337
|
|
|
336
338
|
var NATIVE_BIND$2 = functionBindNative;
|
|
337
339
|
|
|
338
|
-
var call$
|
|
340
|
+
var call$n = Function.prototype.call;
|
|
339
341
|
|
|
340
|
-
var functionCall = NATIVE_BIND$2 ? call$
|
|
341
|
-
return call$
|
|
342
|
+
var functionCall = NATIVE_BIND$2 ? call$n.bind(call$n) : function () {
|
|
343
|
+
return call$n.apply(call$n, arguments);
|
|
342
344
|
};
|
|
343
345
|
|
|
344
|
-
var global$
|
|
345
|
-
var isCallable$
|
|
346
|
+
var global$k = global$q;
|
|
347
|
+
var isCallable$p = isCallable$r;
|
|
346
348
|
|
|
347
349
|
var aFunction = function (argument) {
|
|
348
|
-
return isCallable$
|
|
350
|
+
return isCallable$p(argument) ? argument : undefined;
|
|
349
351
|
};
|
|
350
352
|
|
|
351
353
|
var getBuiltIn$9 = function (namespace, method) {
|
|
352
|
-
return arguments.length < 2 ? aFunction(global$
|
|
354
|
+
return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
|
|
353
355
|
};
|
|
354
356
|
|
|
355
357
|
var uncurryThis$p = functionUncurryThis;
|
|
@@ -357,7 +359,7 @@ var uncurryThis$p = functionUncurryThis;
|
|
|
357
359
|
var objectIsPrototypeOf = uncurryThis$p({}.isPrototypeOf);
|
|
358
360
|
|
|
359
361
|
var getBuiltIn$8 = getBuiltIn$9;
|
|
360
|
-
var isCallable$
|
|
362
|
+
var isCallable$o = isCallable$r;
|
|
361
363
|
var isPrototypeOf$6 = objectIsPrototypeOf;
|
|
362
364
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
363
365
|
|
|
@@ -367,7 +369,7 @@ var isSymbol$3 = USE_SYMBOL_AS_UID ? function (it) {
|
|
|
367
369
|
return typeof it == 'symbol';
|
|
368
370
|
} : function (it) {
|
|
369
371
|
var $Symbol = getBuiltIn$8('Symbol');
|
|
370
|
-
return isCallable$
|
|
372
|
+
return isCallable$o($Symbol) && isPrototypeOf$6($Symbol.prototype, $Object$2(it));
|
|
371
373
|
};
|
|
372
374
|
|
|
373
375
|
var $String$4 = String;
|
|
@@ -380,64 +382,64 @@ var tryToString$4 = function (argument) {
|
|
|
380
382
|
}
|
|
381
383
|
};
|
|
382
384
|
|
|
383
|
-
var isCallable$
|
|
385
|
+
var isCallable$n = isCallable$r;
|
|
384
386
|
var tryToString$3 = tryToString$4;
|
|
385
387
|
|
|
386
|
-
var $TypeError$
|
|
388
|
+
var $TypeError$i = TypeError;
|
|
387
389
|
|
|
388
390
|
// `Assert: IsCallable(argument) is true`
|
|
389
|
-
var aCallable$
|
|
390
|
-
if (isCallable$
|
|
391
|
-
throw new $TypeError$
|
|
391
|
+
var aCallable$g = function (argument) {
|
|
392
|
+
if (isCallable$n(argument)) return argument;
|
|
393
|
+
throw new $TypeError$i(tryToString$3(argument) + ' is not a function');
|
|
392
394
|
};
|
|
393
395
|
|
|
394
|
-
var aCallable$
|
|
396
|
+
var aCallable$f = aCallable$g;
|
|
395
397
|
var isNullOrUndefined$4 = isNullOrUndefined$6;
|
|
396
398
|
|
|
397
399
|
// `GetMethod` abstract operation
|
|
398
400
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
399
|
-
var getMethod$
|
|
401
|
+
var getMethod$6 = function (V, P) {
|
|
400
402
|
var func = V[P];
|
|
401
|
-
return isNullOrUndefined$4(func) ? undefined : aCallable$
|
|
403
|
+
return isNullOrUndefined$4(func) ? undefined : aCallable$f(func);
|
|
402
404
|
};
|
|
403
405
|
|
|
404
|
-
var call$
|
|
405
|
-
var isCallable$
|
|
406
|
+
var call$m = functionCall;
|
|
407
|
+
var isCallable$m = isCallable$r;
|
|
406
408
|
var isObject$b = isObject$e;
|
|
407
409
|
|
|
408
|
-
var $TypeError$
|
|
410
|
+
var $TypeError$h = TypeError;
|
|
409
411
|
|
|
410
412
|
// `OrdinaryToPrimitive` abstract operation
|
|
411
413
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
412
414
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
413
415
|
var fn, val;
|
|
414
|
-
if (pref === 'string' && isCallable$
|
|
415
|
-
if (isCallable$
|
|
416
|
-
if (pref !== 'string' && isCallable$
|
|
417
|
-
throw new $TypeError$
|
|
416
|
+
if (pref === 'string' && isCallable$m(fn = input.toString) && !isObject$b(val = call$m(fn, input))) return val;
|
|
417
|
+
if (isCallable$m(fn = input.valueOf) && !isObject$b(val = call$m(fn, input))) return val;
|
|
418
|
+
if (pref !== 'string' && isCallable$m(fn = input.toString) && !isObject$b(val = call$m(fn, input))) return val;
|
|
419
|
+
throw new $TypeError$h("Can't convert object to primitive value");
|
|
418
420
|
};
|
|
419
421
|
|
|
420
|
-
var call$
|
|
422
|
+
var call$l = functionCall;
|
|
421
423
|
var isObject$a = isObject$e;
|
|
422
424
|
var isSymbol$2 = isSymbol$3;
|
|
423
|
-
var getMethod$
|
|
425
|
+
var getMethod$5 = getMethod$6;
|
|
424
426
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
425
|
-
var wellKnownSymbol$
|
|
427
|
+
var wellKnownSymbol$l = wellKnownSymbol$m;
|
|
426
428
|
|
|
427
|
-
var $TypeError$
|
|
428
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
429
|
+
var $TypeError$g = TypeError;
|
|
430
|
+
var TO_PRIMITIVE = wellKnownSymbol$l('toPrimitive');
|
|
429
431
|
|
|
430
432
|
// `ToPrimitive` abstract operation
|
|
431
433
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
432
434
|
var toPrimitive$1 = function (input, pref) {
|
|
433
435
|
if (!isObject$a(input) || isSymbol$2(input)) return input;
|
|
434
|
-
var exoticToPrim = getMethod$
|
|
436
|
+
var exoticToPrim = getMethod$5(input, TO_PRIMITIVE);
|
|
435
437
|
var result;
|
|
436
438
|
if (exoticToPrim) {
|
|
437
439
|
if (pref === undefined) pref = 'default';
|
|
438
|
-
result = call$
|
|
440
|
+
result = call$l(exoticToPrim, input, pref);
|
|
439
441
|
if (!isObject$a(result) || isSymbol$2(result)) return result;
|
|
440
|
-
throw new $TypeError$
|
|
442
|
+
throw new $TypeError$g("Can't convert object to primitive value");
|
|
441
443
|
}
|
|
442
444
|
if (pref === undefined) pref = 'number';
|
|
443
445
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -453,13 +455,13 @@ var toPropertyKey$2 = function (argument) {
|
|
|
453
455
|
return isSymbol$1(key) ? key : key + '';
|
|
454
456
|
};
|
|
455
457
|
|
|
456
|
-
var DESCRIPTORS$
|
|
458
|
+
var DESCRIPTORS$g = descriptors;
|
|
457
459
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
458
460
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
459
|
-
var anObject$
|
|
461
|
+
var anObject$n = anObject$o;
|
|
460
462
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
461
463
|
|
|
462
|
-
var $TypeError$
|
|
464
|
+
var $TypeError$f = TypeError;
|
|
463
465
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
464
466
|
var $defineProperty = Object.defineProperty;
|
|
465
467
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -470,10 +472,10 @@ var WRITABLE = 'writable';
|
|
|
470
472
|
|
|
471
473
|
// `Object.defineProperty` method
|
|
472
474
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
473
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
474
|
-
anObject$
|
|
475
|
+
objectDefineProperty.f = DESCRIPTORS$g ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
476
|
+
anObject$n(O);
|
|
475
477
|
P = toPropertyKey$1(P);
|
|
476
|
-
anObject$
|
|
478
|
+
anObject$n(Attributes);
|
|
477
479
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
478
480
|
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
479
481
|
if (current && current[WRITABLE]) {
|
|
@@ -486,13 +488,13 @@ objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
486
488
|
}
|
|
487
489
|
} return $defineProperty(O, P, Attributes);
|
|
488
490
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
489
|
-
anObject$
|
|
491
|
+
anObject$n(O);
|
|
490
492
|
P = toPropertyKey$1(P);
|
|
491
|
-
anObject$
|
|
493
|
+
anObject$n(Attributes);
|
|
492
494
|
if (IE8_DOM_DEFINE$1) try {
|
|
493
495
|
return $defineProperty(O, P, Attributes);
|
|
494
496
|
} catch (error) { /* empty */ }
|
|
495
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
497
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$f('Accessors not supported');
|
|
496
498
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
497
499
|
return O;
|
|
498
500
|
};
|
|
@@ -587,7 +589,7 @@ var arrayIncludes = {
|
|
|
587
589
|
var hiddenKeys$4 = {};
|
|
588
590
|
|
|
589
591
|
var uncurryThis$o = functionUncurryThis;
|
|
590
|
-
var hasOwn$
|
|
592
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
591
593
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
592
594
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
593
595
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
@@ -599,9 +601,9 @@ var objectKeysInternal = function (object, names) {
|
|
|
599
601
|
var i = 0;
|
|
600
602
|
var result = [];
|
|
601
603
|
var key;
|
|
602
|
-
for (key in O) !hasOwn$
|
|
604
|
+
for (key in O) !hasOwn$d(hiddenKeys$3, key) && hasOwn$d(O, key) && push$2(result, key);
|
|
603
605
|
// Don't enum bug & hidden keys
|
|
604
|
-
while (names.length > i) if (hasOwn$
|
|
606
|
+
while (names.length > i) if (hasOwn$d(O, key = names[i++])) {
|
|
605
607
|
~indexOf$1(result, key) || push$2(result, key);
|
|
606
608
|
}
|
|
607
609
|
return result;
|
|
@@ -628,18 +630,18 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
628
630
|
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
629
631
|
};
|
|
630
632
|
|
|
631
|
-
var DESCRIPTORS$
|
|
633
|
+
var DESCRIPTORS$f = descriptors;
|
|
632
634
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
633
635
|
var definePropertyModule$4 = objectDefineProperty;
|
|
634
|
-
var anObject$
|
|
636
|
+
var anObject$m = anObject$o;
|
|
635
637
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
636
638
|
var objectKeys$1 = objectKeys$2;
|
|
637
639
|
|
|
638
640
|
// `Object.defineProperties` method
|
|
639
641
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
640
642
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
641
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
642
|
-
anObject$
|
|
643
|
+
objectDefineProperties.f = DESCRIPTORS$f && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
644
|
+
anObject$m(O);
|
|
643
645
|
var props = toIndexedObject$2(Properties);
|
|
644
646
|
var keys = objectKeys$1(Properties);
|
|
645
647
|
var length = keys.length;
|
|
@@ -663,7 +665,7 @@ var sharedKey$3 = function (key) {
|
|
|
663
665
|
};
|
|
664
666
|
|
|
665
667
|
/* global ActiveXObject -- old IE, WSH */
|
|
666
|
-
var anObject$
|
|
668
|
+
var anObject$l = anObject$o;
|
|
667
669
|
var definePropertiesModule = objectDefineProperties;
|
|
668
670
|
var enumBugKeys$1 = enumBugKeys$3;
|
|
669
671
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
@@ -737,7 +739,7 @@ hiddenKeys$2[IE_PROTO$1] = true;
|
|
|
737
739
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
738
740
|
var result;
|
|
739
741
|
if (O !== null) {
|
|
740
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
742
|
+
EmptyConstructor[PROTOTYPE] = anObject$l(O);
|
|
741
743
|
result = new EmptyConstructor();
|
|
742
744
|
EmptyConstructor[PROTOTYPE] = null;
|
|
743
745
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -746,11 +748,11 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
746
748
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
747
749
|
};
|
|
748
750
|
|
|
749
|
-
var wellKnownSymbol$
|
|
750
|
-
var create$
|
|
751
|
+
var wellKnownSymbol$k = wellKnownSymbol$m;
|
|
752
|
+
var create$4 = objectCreate;
|
|
751
753
|
var defineProperty$6 = objectDefineProperty.f;
|
|
752
754
|
|
|
753
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
755
|
+
var UNSCOPABLES = wellKnownSymbol$k('unscopables');
|
|
754
756
|
var ArrayPrototype$1 = Array.prototype;
|
|
755
757
|
|
|
756
758
|
// Array.prototype[@@unscopables]
|
|
@@ -758,7 +760,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
|
758
760
|
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
759
761
|
defineProperty$6(ArrayPrototype$1, UNSCOPABLES, {
|
|
760
762
|
configurable: true,
|
|
761
|
-
value: create$
|
|
763
|
+
value: create$4(null)
|
|
762
764
|
});
|
|
763
765
|
}
|
|
764
766
|
|
|
@@ -769,12 +771,12 @@ var addToUnscopables$4 = function (key) {
|
|
|
769
771
|
|
|
770
772
|
var iterators = {};
|
|
771
773
|
|
|
772
|
-
var global$
|
|
773
|
-
var isCallable$
|
|
774
|
+
var global$j = global$q;
|
|
775
|
+
var isCallable$l = isCallable$r;
|
|
774
776
|
|
|
775
|
-
var WeakMap$1 = global$
|
|
777
|
+
var WeakMap$1 = global$j.WeakMap;
|
|
776
778
|
|
|
777
|
-
var weakMapBasicDetection = isCallable$
|
|
779
|
+
var weakMapBasicDetection = isCallable$l(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
778
780
|
|
|
779
781
|
var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
780
782
|
return {
|
|
@@ -785,11 +787,11 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
|
|
|
785
787
|
};
|
|
786
788
|
};
|
|
787
789
|
|
|
788
|
-
var DESCRIPTORS$
|
|
790
|
+
var DESCRIPTORS$e = descriptors;
|
|
789
791
|
var definePropertyModule$3 = objectDefineProperty;
|
|
790
792
|
var createPropertyDescriptor$4 = createPropertyDescriptor$5;
|
|
791
793
|
|
|
792
|
-
var createNonEnumerableProperty$
|
|
794
|
+
var createNonEnumerableProperty$a = DESCRIPTORS$e ? function (object, key, value) {
|
|
793
795
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor$4(1, value));
|
|
794
796
|
} : function (object, key, value) {
|
|
795
797
|
object[key] = value;
|
|
@@ -797,17 +799,17 @@ var createNonEnumerableProperty$9 = DESCRIPTORS$d ? function (object, key, value
|
|
|
797
799
|
};
|
|
798
800
|
|
|
799
801
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
800
|
-
var global$
|
|
802
|
+
var global$i = global$q;
|
|
801
803
|
var isObject$9 = isObject$e;
|
|
802
|
-
var createNonEnumerableProperty$
|
|
803
|
-
var hasOwn$
|
|
804
|
+
var createNonEnumerableProperty$9 = createNonEnumerableProperty$a;
|
|
805
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
804
806
|
var shared$1 = sharedStore.exports;
|
|
805
807
|
var sharedKey$1 = sharedKey$3;
|
|
806
808
|
var hiddenKeys$1 = hiddenKeys$4;
|
|
807
809
|
|
|
808
810
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
809
|
-
var TypeError$2 = global$
|
|
810
|
-
var WeakMap = global$
|
|
811
|
+
var TypeError$2 = global$i.TypeError;
|
|
812
|
+
var WeakMap = global$i.WeakMap;
|
|
811
813
|
var set$1, get, has;
|
|
812
814
|
|
|
813
815
|
var enforce = function (it) {
|
|
@@ -846,16 +848,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
846
848
|
var STATE = sharedKey$1('state');
|
|
847
849
|
hiddenKeys$1[STATE] = true;
|
|
848
850
|
set$1 = function (it, metadata) {
|
|
849
|
-
if (hasOwn$
|
|
851
|
+
if (hasOwn$c(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
|
850
852
|
metadata.facade = it;
|
|
851
|
-
createNonEnumerableProperty$
|
|
853
|
+
createNonEnumerableProperty$9(it, STATE, metadata);
|
|
852
854
|
return metadata;
|
|
853
855
|
};
|
|
854
856
|
get = function (it) {
|
|
855
|
-
return hasOwn$
|
|
857
|
+
return hasOwn$c(it, STATE) ? it[STATE] : {};
|
|
856
858
|
};
|
|
857
859
|
has = function (it) {
|
|
858
|
-
return hasOwn$
|
|
860
|
+
return hasOwn$c(it, STATE);
|
|
859
861
|
};
|
|
860
862
|
}
|
|
861
863
|
|
|
@@ -885,13 +887,13 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
885
887
|
return !!descriptor && descriptor.enumerable;
|
|
886
888
|
} : $propertyIsEnumerable;
|
|
887
889
|
|
|
888
|
-
var DESCRIPTORS$
|
|
889
|
-
var call$
|
|
890
|
+
var DESCRIPTORS$d = descriptors;
|
|
891
|
+
var call$k = functionCall;
|
|
890
892
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
891
893
|
var createPropertyDescriptor$3 = createPropertyDescriptor$5;
|
|
892
894
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
893
895
|
var toPropertyKey = toPropertyKey$2;
|
|
894
|
-
var hasOwn$
|
|
896
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
895
897
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
896
898
|
|
|
897
899
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -899,28 +901,28 @@ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
|
899
901
|
|
|
900
902
|
// `Object.getOwnPropertyDescriptor` method
|
|
901
903
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
902
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
904
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
903
905
|
O = toIndexedObject$1(O);
|
|
904
906
|
P = toPropertyKey(P);
|
|
905
907
|
if (IE8_DOM_DEFINE) try {
|
|
906
908
|
return $getOwnPropertyDescriptor(O, P);
|
|
907
909
|
} catch (error) { /* empty */ }
|
|
908
|
-
if (hasOwn$
|
|
910
|
+
if (hasOwn$b(O, P)) return createPropertyDescriptor$3(!call$k(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
909
911
|
};
|
|
910
912
|
|
|
911
913
|
var makeBuiltIn$3 = {exports: {}};
|
|
912
914
|
|
|
913
|
-
var DESCRIPTORS$
|
|
914
|
-
var hasOwn$
|
|
915
|
+
var DESCRIPTORS$c = descriptors;
|
|
916
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
915
917
|
|
|
916
918
|
var FunctionPrototype$1 = Function.prototype;
|
|
917
919
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
918
|
-
var getDescriptor = DESCRIPTORS$
|
|
920
|
+
var getDescriptor = DESCRIPTORS$c && Object.getOwnPropertyDescriptor;
|
|
919
921
|
|
|
920
|
-
var EXISTS = hasOwn$
|
|
922
|
+
var EXISTS = hasOwn$a(FunctionPrototype$1, 'name');
|
|
921
923
|
// additional protection from minified / mangled / dropped function names
|
|
922
924
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
923
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
925
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$c || (DESCRIPTORS$c && getDescriptor(FunctionPrototype$1, 'name').configurable));
|
|
924
926
|
|
|
925
927
|
var functionName = {
|
|
926
928
|
EXISTS: EXISTS,
|
|
@@ -929,13 +931,13 @@ var functionName = {
|
|
|
929
931
|
};
|
|
930
932
|
|
|
931
933
|
var uncurryThis$n = functionUncurryThis;
|
|
932
|
-
var isCallable$
|
|
934
|
+
var isCallable$k = isCallable$r;
|
|
933
935
|
var store = sharedStore.exports;
|
|
934
936
|
|
|
935
937
|
var functionToString = uncurryThis$n(Function.toString);
|
|
936
938
|
|
|
937
939
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
938
|
-
if (!isCallable$
|
|
940
|
+
if (!isCallable$k(store.inspectSource)) {
|
|
939
941
|
store.inspectSource = function (it) {
|
|
940
942
|
return functionToString(it);
|
|
941
943
|
};
|
|
@@ -944,16 +946,16 @@ if (!isCallable$j(store.inspectSource)) {
|
|
|
944
946
|
var inspectSource$3 = store.inspectSource;
|
|
945
947
|
|
|
946
948
|
var uncurryThis$m = functionUncurryThis;
|
|
947
|
-
var fails$
|
|
948
|
-
var isCallable$
|
|
949
|
-
var hasOwn$
|
|
950
|
-
var DESCRIPTORS$
|
|
949
|
+
var fails$m = fails$t;
|
|
950
|
+
var isCallable$j = isCallable$r;
|
|
951
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
952
|
+
var DESCRIPTORS$b = descriptors;
|
|
951
953
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
952
954
|
var inspectSource$2 = inspectSource$3;
|
|
953
|
-
var InternalStateModule$
|
|
955
|
+
var InternalStateModule$3 = internalState;
|
|
954
956
|
|
|
955
|
-
var enforceInternalState$1 = InternalStateModule$
|
|
956
|
-
var getInternalState$3 = InternalStateModule$
|
|
957
|
+
var enforceInternalState$1 = InternalStateModule$3.enforce;
|
|
958
|
+
var getInternalState$3 = InternalStateModule$3.get;
|
|
957
959
|
var $String$3 = String;
|
|
958
960
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
959
961
|
var defineProperty$5 = Object.defineProperty;
|
|
@@ -961,7 +963,7 @@ var stringSlice$7 = uncurryThis$m(''.slice);
|
|
|
961
963
|
var replace$7 = uncurryThis$m(''.replace);
|
|
962
964
|
var join = uncurryThis$m([].join);
|
|
963
965
|
|
|
964
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
966
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$b && !fails$m(function () {
|
|
965
967
|
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
966
968
|
});
|
|
967
969
|
|
|
@@ -973,21 +975,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
973
975
|
}
|
|
974
976
|
if (options && options.getter) name = 'get ' + name;
|
|
975
977
|
if (options && options.setter) name = 'set ' + name;
|
|
976
|
-
if (!hasOwn$
|
|
977
|
-
if (DESCRIPTORS$
|
|
978
|
+
if (!hasOwn$9(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
979
|
+
if (DESCRIPTORS$b) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
978
980
|
else value.name = name;
|
|
979
981
|
}
|
|
980
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
982
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$9(options, 'arity') && value.length !== options.arity) {
|
|
981
983
|
defineProperty$5(value, 'length', { value: options.arity });
|
|
982
984
|
}
|
|
983
985
|
try {
|
|
984
|
-
if (options && hasOwn$
|
|
985
|
-
if (DESCRIPTORS$
|
|
986
|
+
if (options && hasOwn$9(options, 'constructor') && options.constructor) {
|
|
987
|
+
if (DESCRIPTORS$b) defineProperty$5(value, 'prototype', { writable: false });
|
|
986
988
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
987
989
|
} else if (value.prototype) value.prototype = undefined;
|
|
988
990
|
} catch (error) { /* empty */ }
|
|
989
991
|
var state = enforceInternalState$1(value);
|
|
990
|
-
if (!hasOwn$
|
|
992
|
+
if (!hasOwn$9(state, 'source')) {
|
|
991
993
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
992
994
|
} return value;
|
|
993
995
|
};
|
|
@@ -995,19 +997,19 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
995
997
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
996
998
|
// eslint-disable-next-line no-extend-native -- required
|
|
997
999
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
998
|
-
return isCallable$
|
|
1000
|
+
return isCallable$j(this) && getInternalState$3(this).source || inspectSource$2(this);
|
|
999
1001
|
}, 'toString');
|
|
1000
1002
|
|
|
1001
|
-
var isCallable$
|
|
1003
|
+
var isCallable$i = isCallable$r;
|
|
1002
1004
|
var definePropertyModule$2 = objectDefineProperty;
|
|
1003
1005
|
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
|
1004
1006
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1005
1007
|
|
|
1006
|
-
var defineBuiltIn$
|
|
1008
|
+
var defineBuiltIn$9 = function (O, key, value, options) {
|
|
1007
1009
|
if (!options) options = {};
|
|
1008
1010
|
var simple = options.enumerable;
|
|
1009
1011
|
var name = options.name !== undefined ? options.name : key;
|
|
1010
|
-
if (isCallable$
|
|
1012
|
+
if (isCallable$i(value)) makeBuiltIn$1(value, name, options);
|
|
1011
1013
|
if (options.global) {
|
|
1012
1014
|
if (simple) O[key] = value;
|
|
1013
1015
|
else defineGlobalProperty$1(key, value);
|
|
@@ -1049,18 +1051,18 @@ var getBuiltIn$6 = getBuiltIn$9;
|
|
|
1049
1051
|
var uncurryThis$l = functionUncurryThis;
|
|
1050
1052
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1051
1053
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1052
|
-
var anObject$
|
|
1054
|
+
var anObject$k = anObject$o;
|
|
1053
1055
|
|
|
1054
1056
|
var concat$2 = uncurryThis$l([].concat);
|
|
1055
1057
|
|
|
1056
1058
|
// all object keys, includes non-enumerable and symbols
|
|
1057
1059
|
var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1058
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1060
|
+
var keys = getOwnPropertyNamesModule.f(anObject$k(it));
|
|
1059
1061
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1060
1062
|
return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
|
|
1061
1063
|
};
|
|
1062
1064
|
|
|
1063
|
-
var hasOwn$
|
|
1065
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
1064
1066
|
var ownKeys = ownKeys$1;
|
|
1065
1067
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1066
1068
|
var definePropertyModule$1 = objectDefineProperty;
|
|
@@ -1071,14 +1073,14 @@ var copyConstructorProperties$3 = function (target, source, exceptions) {
|
|
|
1071
1073
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1072
1074
|
for (var i = 0; i < keys.length; i++) {
|
|
1073
1075
|
var key = keys[i];
|
|
1074
|
-
if (!hasOwn$
|
|
1076
|
+
if (!hasOwn$8(target, key) && !(exceptions && hasOwn$8(exceptions, key))) {
|
|
1075
1077
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1076
1078
|
}
|
|
1077
1079
|
}
|
|
1078
1080
|
};
|
|
1079
1081
|
|
|
1080
|
-
var fails$
|
|
1081
|
-
var isCallable$
|
|
1082
|
+
var fails$l = fails$t;
|
|
1083
|
+
var isCallable$h = isCallable$r;
|
|
1082
1084
|
|
|
1083
1085
|
var replacement = /#|\.prototype\./;
|
|
1084
1086
|
|
|
@@ -1086,7 +1088,7 @@ var isForced$3 = function (feature, detection) {
|
|
|
1086
1088
|
var value = data[normalize(feature)];
|
|
1087
1089
|
return value === POLYFILL ? true
|
|
1088
1090
|
: value === NATIVE ? false
|
|
1089
|
-
: isCallable$
|
|
1091
|
+
: isCallable$h(detection) ? fails$l(detection)
|
|
1090
1092
|
: !!detection;
|
|
1091
1093
|
};
|
|
1092
1094
|
|
|
@@ -1100,10 +1102,10 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
1100
1102
|
|
|
1101
1103
|
var isForced_1 = isForced$3;
|
|
1102
1104
|
|
|
1103
|
-
var global$
|
|
1105
|
+
var global$h = global$q;
|
|
1104
1106
|
var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;
|
|
1105
|
-
var createNonEnumerableProperty$
|
|
1106
|
-
var defineBuiltIn$
|
|
1107
|
+
var createNonEnumerableProperty$8 = createNonEnumerableProperty$a;
|
|
1108
|
+
var defineBuiltIn$8 = defineBuiltIn$9;
|
|
1107
1109
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1108
1110
|
var copyConstructorProperties$2 = copyConstructorProperties$3;
|
|
1109
1111
|
var isForced$2 = isForced_1;
|
|
@@ -1129,11 +1131,11 @@ var _export = function (options, source) {
|
|
|
1129
1131
|
var STATIC = options.stat;
|
|
1130
1132
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1131
1133
|
if (GLOBAL) {
|
|
1132
|
-
target = global$
|
|
1134
|
+
target = global$h;
|
|
1133
1135
|
} else if (STATIC) {
|
|
1134
|
-
target = global$
|
|
1136
|
+
target = global$h[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1135
1137
|
} else {
|
|
1136
|
-
target = global$
|
|
1138
|
+
target = global$h[TARGET] && global$h[TARGET].prototype;
|
|
1137
1139
|
}
|
|
1138
1140
|
if (target) for (key in source) {
|
|
1139
1141
|
sourceProperty = source[key];
|
|
@@ -1149,23 +1151,23 @@ var _export = function (options, source) {
|
|
|
1149
1151
|
}
|
|
1150
1152
|
// add a flag to not completely full polyfills
|
|
1151
1153
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1152
|
-
createNonEnumerableProperty$
|
|
1154
|
+
createNonEnumerableProperty$8(sourceProperty, 'sham', true);
|
|
1153
1155
|
}
|
|
1154
|
-
defineBuiltIn$
|
|
1156
|
+
defineBuiltIn$8(target, key, sourceProperty, options);
|
|
1155
1157
|
}
|
|
1156
1158
|
};
|
|
1157
1159
|
|
|
1158
|
-
var fails$
|
|
1160
|
+
var fails$k = fails$t;
|
|
1159
1161
|
|
|
1160
|
-
var correctPrototypeGetter = !fails$
|
|
1162
|
+
var correctPrototypeGetter = !fails$k(function () {
|
|
1161
1163
|
function F() { /* empty */ }
|
|
1162
1164
|
F.prototype.constructor = null;
|
|
1163
1165
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1164
1166
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1165
1167
|
});
|
|
1166
1168
|
|
|
1167
|
-
var hasOwn$
|
|
1168
|
-
var isCallable$
|
|
1169
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
1170
|
+
var isCallable$g = isCallable$r;
|
|
1169
1171
|
var toObject$6 = toObject$8;
|
|
1170
1172
|
var sharedKey = sharedKey$3;
|
|
1171
1173
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1179,26 +1181,26 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1179
1181
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1180
1182
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1181
1183
|
var object = toObject$6(O);
|
|
1182
|
-
if (hasOwn$
|
|
1184
|
+
if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
|
|
1183
1185
|
var constructor = object.constructor;
|
|
1184
|
-
if (isCallable$
|
|
1186
|
+
if (isCallable$g(constructor) && object instanceof constructor) {
|
|
1185
1187
|
return constructor.prototype;
|
|
1186
1188
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1187
1189
|
};
|
|
1188
1190
|
|
|
1189
|
-
var fails$
|
|
1190
|
-
var isCallable$
|
|
1191
|
+
var fails$j = fails$t;
|
|
1192
|
+
var isCallable$f = isCallable$r;
|
|
1191
1193
|
var isObject$8 = isObject$e;
|
|
1192
|
-
var getPrototypeOf$
|
|
1193
|
-
var defineBuiltIn$
|
|
1194
|
-
var wellKnownSymbol$
|
|
1194
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1195
|
+
var defineBuiltIn$7 = defineBuiltIn$9;
|
|
1196
|
+
var wellKnownSymbol$j = wellKnownSymbol$m;
|
|
1195
1197
|
|
|
1196
|
-
var ITERATOR$
|
|
1198
|
+
var ITERATOR$7 = wellKnownSymbol$j('iterator');
|
|
1197
1199
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1198
1200
|
|
|
1199
1201
|
// `%IteratorPrototype%` object
|
|
1200
1202
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1201
|
-
var IteratorPrototype$
|
|
1203
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1202
1204
|
|
|
1203
1205
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1204
1206
|
if ([].keys) {
|
|
@@ -1206,47 +1208,47 @@ if ([].keys) {
|
|
|
1206
1208
|
// Safari 8 has buggy iterators w/o `next`
|
|
1207
1209
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1208
1210
|
else {
|
|
1209
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1210
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1211
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1212
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1211
1213
|
}
|
|
1212
1214
|
}
|
|
1213
1215
|
|
|
1214
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$
|
|
1216
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$8(IteratorPrototype$4) || fails$j(function () {
|
|
1215
1217
|
var test = {};
|
|
1216
1218
|
// FF44- legacy iterators case
|
|
1217
|
-
return IteratorPrototype$
|
|
1219
|
+
return IteratorPrototype$4[ITERATOR$7].call(test) !== test;
|
|
1218
1220
|
});
|
|
1219
1221
|
|
|
1220
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1222
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1221
1223
|
|
|
1222
1224
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1223
1225
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1224
|
-
if (!isCallable$
|
|
1225
|
-
defineBuiltIn$
|
|
1226
|
+
if (!isCallable$f(IteratorPrototype$4[ITERATOR$7])) {
|
|
1227
|
+
defineBuiltIn$7(IteratorPrototype$4, ITERATOR$7, function () {
|
|
1226
1228
|
return this;
|
|
1227
1229
|
});
|
|
1228
1230
|
}
|
|
1229
1231
|
|
|
1230
1232
|
var iteratorsCore = {
|
|
1231
|
-
IteratorPrototype: IteratorPrototype$
|
|
1233
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1232
1234
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1233
1235
|
};
|
|
1234
1236
|
|
|
1235
1237
|
var defineProperty$4 = objectDefineProperty.f;
|
|
1236
|
-
var hasOwn$
|
|
1237
|
-
var wellKnownSymbol$
|
|
1238
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
1239
|
+
var wellKnownSymbol$i = wellKnownSymbol$m;
|
|
1238
1240
|
|
|
1239
|
-
var TO_STRING_TAG$
|
|
1241
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$i('toStringTag');
|
|
1240
1242
|
|
|
1241
1243
|
var setToStringTag$4 = function (target, TAG, STATIC) {
|
|
1242
1244
|
if (target && !STATIC) target = target.prototype;
|
|
1243
|
-
if (target && !hasOwn$
|
|
1244
|
-
defineProperty$4(target, TO_STRING_TAG$
|
|
1245
|
+
if (target && !hasOwn$6(target, TO_STRING_TAG$4)) {
|
|
1246
|
+
defineProperty$4(target, TO_STRING_TAG$4, { configurable: true, value: TAG });
|
|
1245
1247
|
}
|
|
1246
1248
|
};
|
|
1247
1249
|
|
|
1248
|
-
var IteratorPrototype$
|
|
1249
|
-
var create$
|
|
1250
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1251
|
+
var create$3 = objectCreate;
|
|
1250
1252
|
var createPropertyDescriptor$2 = createPropertyDescriptor$5;
|
|
1251
1253
|
var setToStringTag$3 = setToStringTag$4;
|
|
1252
1254
|
var Iterators$4 = iterators;
|
|
@@ -1255,19 +1257,19 @@ var returnThis$1 = function () { return this; };
|
|
|
1255
1257
|
|
|
1256
1258
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1257
1259
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1258
|
-
IteratorConstructor.prototype = create$
|
|
1260
|
+
IteratorConstructor.prototype = create$3(IteratorPrototype$3, { next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next) });
|
|
1259
1261
|
setToStringTag$3(IteratorConstructor, TO_STRING_TAG, false);
|
|
1260
1262
|
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1261
1263
|
return IteratorConstructor;
|
|
1262
1264
|
};
|
|
1263
1265
|
|
|
1264
1266
|
var uncurryThis$k = functionUncurryThis;
|
|
1265
|
-
var aCallable$
|
|
1267
|
+
var aCallable$e = aCallable$g;
|
|
1266
1268
|
|
|
1267
1269
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1268
1270
|
try {
|
|
1269
1271
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1270
|
-
return uncurryThis$k(aCallable$
|
|
1272
|
+
return uncurryThis$k(aCallable$e(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1271
1273
|
} catch (error) { /* empty */ }
|
|
1272
1274
|
};
|
|
1273
1275
|
|
|
@@ -1280,11 +1282,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1280
1282
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1281
1283
|
|
|
1282
1284
|
var $String$2 = String;
|
|
1283
|
-
var $TypeError$
|
|
1285
|
+
var $TypeError$e = TypeError;
|
|
1284
1286
|
|
|
1285
1287
|
var aPossiblePrototype$1 = function (argument) {
|
|
1286
1288
|
if (isPossiblePrototype(argument)) return argument;
|
|
1287
|
-
throw new $TypeError$
|
|
1289
|
+
throw new $TypeError$e("Can't set " + $String$2(argument) + ' as a prototype');
|
|
1288
1290
|
};
|
|
1289
1291
|
|
|
1290
1292
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1316,25 +1318,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1316
1318
|
};
|
|
1317
1319
|
}() : undefined);
|
|
1318
1320
|
|
|
1319
|
-
var $$
|
|
1320
|
-
var call$
|
|
1321
|
+
var $$w = _export;
|
|
1322
|
+
var call$j = functionCall;
|
|
1321
1323
|
var FunctionName = functionName;
|
|
1322
|
-
var isCallable$
|
|
1324
|
+
var isCallable$e = isCallable$r;
|
|
1323
1325
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1324
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1326
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1325
1327
|
var setPrototypeOf$3 = objectSetPrototypeOf;
|
|
1326
1328
|
var setToStringTag$2 = setToStringTag$4;
|
|
1327
|
-
var createNonEnumerableProperty$
|
|
1328
|
-
var defineBuiltIn$
|
|
1329
|
-
var wellKnownSymbol$
|
|
1329
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$a;
|
|
1330
|
+
var defineBuiltIn$6 = defineBuiltIn$9;
|
|
1331
|
+
var wellKnownSymbol$h = wellKnownSymbol$m;
|
|
1330
1332
|
var Iterators$3 = iterators;
|
|
1331
1333
|
var IteratorsCore = iteratorsCore;
|
|
1332
1334
|
|
|
1333
1335
|
var PROPER_FUNCTION_NAME$2 = FunctionName.PROPER;
|
|
1334
1336
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1335
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1337
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1336
1338
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1337
|
-
var ITERATOR$
|
|
1339
|
+
var ITERATOR$6 = wellKnownSymbol$h('iterator');
|
|
1338
1340
|
var KEYS = 'keys';
|
|
1339
1341
|
var VALUES = 'values';
|
|
1340
1342
|
var ENTRIES = 'entries';
|
|
@@ -1360,7 +1362,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1360
1362
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1361
1363
|
var INCORRECT_VALUES_NAME = false;
|
|
1362
1364
|
var IterablePrototype = Iterable.prototype;
|
|
1363
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1365
|
+
var nativeIterator = IterablePrototype[ITERATOR$6]
|
|
1364
1366
|
|| IterablePrototype['@@iterator']
|
|
1365
1367
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1366
1368
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1369,13 +1371,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1369
1371
|
|
|
1370
1372
|
// fix native
|
|
1371
1373
|
if (anyNativeIterator) {
|
|
1372
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1374
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1373
1375
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1374
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1376
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1375
1377
|
if (setPrototypeOf$3) {
|
|
1376
|
-
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype);
|
|
1377
|
-
} else if (!isCallable$
|
|
1378
|
-
defineBuiltIn$
|
|
1378
|
+
setPrototypeOf$3(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1379
|
+
} else if (!isCallable$e(CurrentIteratorPrototype[ITERATOR$6])) {
|
|
1380
|
+
defineBuiltIn$6(CurrentIteratorPrototype, ITERATOR$6, returnThis);
|
|
1379
1381
|
}
|
|
1380
1382
|
}
|
|
1381
1383
|
// Set @@toStringTag to native iterators
|
|
@@ -1386,10 +1388,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1386
1388
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1387
1389
|
if (PROPER_FUNCTION_NAME$2 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1388
1390
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1389
|
-
createNonEnumerableProperty$
|
|
1391
|
+
createNonEnumerableProperty$7(IterablePrototype, 'name', VALUES);
|
|
1390
1392
|
} else {
|
|
1391
1393
|
INCORRECT_VALUES_NAME = true;
|
|
1392
|
-
defaultIterator = function values() { return call$
|
|
1394
|
+
defaultIterator = function values() { return call$j(nativeIterator, this); };
|
|
1393
1395
|
}
|
|
1394
1396
|
}
|
|
1395
1397
|
|
|
@@ -1402,14 +1404,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1402
1404
|
};
|
|
1403
1405
|
if (FORCED) for (KEY in methods) {
|
|
1404
1406
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1405
|
-
defineBuiltIn$
|
|
1407
|
+
defineBuiltIn$6(IterablePrototype, KEY, methods[KEY]);
|
|
1406
1408
|
}
|
|
1407
|
-
} else $$
|
|
1409
|
+
} else $$w({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1408
1410
|
}
|
|
1409
1411
|
|
|
1410
1412
|
// define iterator
|
|
1411
|
-
if (IterablePrototype[ITERATOR$
|
|
1412
|
-
defineBuiltIn$
|
|
1413
|
+
if (IterablePrototype[ITERATOR$6] !== defaultIterator) {
|
|
1414
|
+
defineBuiltIn$6(IterablePrototype, ITERATOR$6, defaultIterator, { name: DEFAULT });
|
|
1413
1415
|
}
|
|
1414
1416
|
Iterators$3[NAME] = defaultIterator;
|
|
1415
1417
|
|
|
@@ -1418,22 +1420,22 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1418
1420
|
|
|
1419
1421
|
// `CreateIterResultObject` abstract operation
|
|
1420
1422
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1421
|
-
var createIterResultObject$
|
|
1423
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1422
1424
|
return { value: value, done: done };
|
|
1423
1425
|
};
|
|
1424
1426
|
|
|
1425
1427
|
var toIndexedObject = toIndexedObject$5;
|
|
1426
1428
|
var addToUnscopables$3 = addToUnscopables$4;
|
|
1427
1429
|
var Iterators$2 = iterators;
|
|
1428
|
-
var InternalStateModule$
|
|
1430
|
+
var InternalStateModule$2 = internalState;
|
|
1429
1431
|
var defineProperty$3 = objectDefineProperty.f;
|
|
1430
1432
|
var defineIterator = iteratorDefine;
|
|
1431
|
-
var createIterResultObject = createIterResultObject$
|
|
1432
|
-
var DESCRIPTORS$
|
|
1433
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1434
|
+
var DESCRIPTORS$a = descriptors;
|
|
1433
1435
|
|
|
1434
1436
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1435
|
-
var setInternalState$
|
|
1436
|
-
var getInternalState$2 = InternalStateModule$
|
|
1437
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
1438
|
+
var getInternalState$2 = InternalStateModule$2.getterFor(ARRAY_ITERATOR);
|
|
1437
1439
|
|
|
1438
1440
|
// `Array.prototype.entries` method
|
|
1439
1441
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1446,7 +1448,7 @@ var getInternalState$2 = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
|
1446
1448
|
// `CreateArrayIterator` internal method
|
|
1447
1449
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1448
1450
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1449
|
-
setInternalState$
|
|
1451
|
+
setInternalState$2(this, {
|
|
1450
1452
|
type: ARRAY_ITERATOR,
|
|
1451
1453
|
target: toIndexedObject(iterated), // target
|
|
1452
1454
|
index: 0, // next index
|
|
@@ -1460,12 +1462,12 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1460
1462
|
var index = state.index++;
|
|
1461
1463
|
if (!target || index >= target.length) {
|
|
1462
1464
|
state.target = undefined;
|
|
1463
|
-
return createIterResultObject(undefined, true);
|
|
1465
|
+
return createIterResultObject$1(undefined, true);
|
|
1464
1466
|
}
|
|
1465
1467
|
switch (state.kind) {
|
|
1466
|
-
case 'keys': return createIterResultObject(index, false);
|
|
1467
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
1468
|
-
} return createIterResultObject([index, target[index]], false);
|
|
1468
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1469
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1470
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1469
1471
|
}, 'values');
|
|
1470
1472
|
|
|
1471
1473
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
@@ -1479,7 +1481,7 @@ addToUnscopables$3('values');
|
|
|
1479
1481
|
addToUnscopables$3('entries');
|
|
1480
1482
|
|
|
1481
1483
|
// V8 ~ Chrome 45- bug
|
|
1482
|
-
if (DESCRIPTORS$
|
|
1484
|
+
if (DESCRIPTORS$a && values.name !== 'values') try {
|
|
1483
1485
|
defineProperty$3(values, 'name', { value: 'values' });
|
|
1484
1486
|
} catch (error) { /* empty */ }
|
|
1485
1487
|
|
|
@@ -1527,30 +1529,30 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1527
1529
|
|
|
1528
1530
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1529
1531
|
|
|
1530
|
-
var global$
|
|
1532
|
+
var global$g = global$q;
|
|
1531
1533
|
var DOMIterables = domIterables;
|
|
1532
1534
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1533
1535
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1534
|
-
var createNonEnumerableProperty$
|
|
1536
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$a;
|
|
1535
1537
|
var setToStringTag$1 = setToStringTag$4;
|
|
1536
|
-
var wellKnownSymbol$
|
|
1538
|
+
var wellKnownSymbol$g = wellKnownSymbol$m;
|
|
1537
1539
|
|
|
1538
|
-
var ITERATOR$
|
|
1540
|
+
var ITERATOR$5 = wellKnownSymbol$g('iterator');
|
|
1539
1541
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1540
1542
|
|
|
1541
1543
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1542
1544
|
if (CollectionPrototype) {
|
|
1543
1545
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1544
|
-
if (CollectionPrototype[ITERATOR$
|
|
1545
|
-
createNonEnumerableProperty$
|
|
1546
|
+
if (CollectionPrototype[ITERATOR$5] !== ArrayValues) try {
|
|
1547
|
+
createNonEnumerableProperty$6(CollectionPrototype, ITERATOR$5, ArrayValues);
|
|
1546
1548
|
} catch (error) {
|
|
1547
|
-
CollectionPrototype[ITERATOR$
|
|
1549
|
+
CollectionPrototype[ITERATOR$5] = ArrayValues;
|
|
1548
1550
|
}
|
|
1549
1551
|
setToStringTag$1(CollectionPrototype, COLLECTION_NAME, true);
|
|
1550
1552
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1551
1553
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1552
1554
|
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1553
|
-
createNonEnumerableProperty$
|
|
1555
|
+
createNonEnumerableProperty$6(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1554
1556
|
} catch (error) {
|
|
1555
1557
|
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1556
1558
|
}
|
|
@@ -1559,15 +1561,15 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1559
1561
|
};
|
|
1560
1562
|
|
|
1561
1563
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1562
|
-
handlePrototype(global$
|
|
1564
|
+
handlePrototype(global$g[COLLECTION_NAME] && global$g[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1563
1565
|
}
|
|
1564
1566
|
|
|
1565
1567
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1566
1568
|
|
|
1567
|
-
var DESCRIPTORS$
|
|
1569
|
+
var DESCRIPTORS$9 = descriptors;
|
|
1568
1570
|
var uncurryThis$j = functionUncurryThis;
|
|
1569
|
-
var call$
|
|
1570
|
-
var fails$
|
|
1571
|
+
var call$i = functionCall;
|
|
1572
|
+
var fails$i = fails$t;
|
|
1571
1573
|
var objectKeys = objectKeys$2;
|
|
1572
1574
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1573
1575
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1582,9 +1584,9 @@ var concat$1 = uncurryThis$j([].concat);
|
|
|
1582
1584
|
|
|
1583
1585
|
// `Object.assign` method
|
|
1584
1586
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1585
|
-
var objectAssign = !$assign || fails$
|
|
1587
|
+
var objectAssign = !$assign || fails$i(function () {
|
|
1586
1588
|
// should have correct order of operations (Edge bug)
|
|
1587
|
-
if (DESCRIPTORS$
|
|
1589
|
+
if (DESCRIPTORS$9 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
|
|
1588
1590
|
enumerable: true,
|
|
1589
1591
|
get: function () {
|
|
1590
1592
|
defineProperty$2(this, 'b', {
|
|
@@ -1616,18 +1618,18 @@ var objectAssign = !$assign || fails$h(function () {
|
|
|
1616
1618
|
var key;
|
|
1617
1619
|
while (length > j) {
|
|
1618
1620
|
key = keys[j++];
|
|
1619
|
-
if (!DESCRIPTORS$
|
|
1621
|
+
if (!DESCRIPTORS$9 || call$i(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1620
1622
|
}
|
|
1621
1623
|
} return T;
|
|
1622
1624
|
} : $assign;
|
|
1623
1625
|
|
|
1624
|
-
var $$
|
|
1626
|
+
var $$v = _export;
|
|
1625
1627
|
var assign = objectAssign;
|
|
1626
1628
|
|
|
1627
1629
|
// `Object.assign` method
|
|
1628
1630
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1629
1631
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1630
|
-
$$
|
|
1632
|
+
$$v({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1631
1633
|
assign: assign
|
|
1632
1634
|
});
|
|
1633
1635
|
|
|
@@ -1635,11 +1637,11 @@ var NATIVE_BIND$1 = functionBindNative;
|
|
|
1635
1637
|
|
|
1636
1638
|
var FunctionPrototype = Function.prototype;
|
|
1637
1639
|
var apply$4 = FunctionPrototype.apply;
|
|
1638
|
-
var call$
|
|
1640
|
+
var call$h = FunctionPrototype.call;
|
|
1639
1641
|
|
|
1640
1642
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1641
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$
|
|
1642
|
-
return call$
|
|
1643
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$h.bind(apply$4) : function () {
|
|
1644
|
+
return call$h.apply(apply$4, arguments);
|
|
1643
1645
|
});
|
|
1644
1646
|
|
|
1645
1647
|
var defineProperty$1 = objectDefineProperty.f;
|
|
@@ -1652,7 +1654,7 @@ var proxyAccessor$2 = function (Target, Source, key) {
|
|
|
1652
1654
|
});
|
|
1653
1655
|
};
|
|
1654
1656
|
|
|
1655
|
-
var isCallable$
|
|
1657
|
+
var isCallable$d = isCallable$r;
|
|
1656
1658
|
var isObject$5 = isObject$e;
|
|
1657
1659
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
1658
1660
|
|
|
@@ -1663,7 +1665,7 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
1663
1665
|
// it can work only with native `setPrototypeOf`
|
|
1664
1666
|
setPrototypeOf$2 &&
|
|
1665
1667
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
1666
|
-
isCallable$
|
|
1668
|
+
isCallable$d(NewTarget = dummy.constructor) &&
|
|
1667
1669
|
NewTarget !== Wrapper &&
|
|
1668
1670
|
isObject$5(NewTargetPrototype = NewTarget.prototype) &&
|
|
1669
1671
|
NewTargetPrototype !== Wrapper.prototype
|
|
@@ -1671,21 +1673,21 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
1671
1673
|
return $this;
|
|
1672
1674
|
};
|
|
1673
1675
|
|
|
1674
|
-
var wellKnownSymbol$
|
|
1676
|
+
var wellKnownSymbol$f = wellKnownSymbol$m;
|
|
1675
1677
|
|
|
1676
|
-
var TO_STRING_TAG$
|
|
1678
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$f('toStringTag');
|
|
1677
1679
|
var test = {};
|
|
1678
1680
|
|
|
1679
|
-
test[TO_STRING_TAG$
|
|
1681
|
+
test[TO_STRING_TAG$3] = 'z';
|
|
1680
1682
|
|
|
1681
1683
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1682
1684
|
|
|
1683
1685
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1684
|
-
var isCallable$
|
|
1686
|
+
var isCallable$c = isCallable$r;
|
|
1685
1687
|
var classofRaw$1 = classofRaw$2;
|
|
1686
|
-
var wellKnownSymbol$
|
|
1688
|
+
var wellKnownSymbol$e = wellKnownSymbol$m;
|
|
1687
1689
|
|
|
1688
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1690
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
1689
1691
|
var $Object = Object;
|
|
1690
1692
|
|
|
1691
1693
|
// ES3 wrong here
|
|
@@ -1703,11 +1705,11 @@ var classof$9 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
|
1703
1705
|
var O, tag, result;
|
|
1704
1706
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1705
1707
|
// @@toStringTag case
|
|
1706
|
-
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1708
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG$2)) == 'string' ? tag
|
|
1707
1709
|
// builtinTag case
|
|
1708
1710
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1709
1711
|
// ES3 arguments fallback
|
|
1710
|
-
: (result = classofRaw$1(O)) === 'Object' && isCallable$
|
|
1712
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$c(O.callee) ? 'Arguments' : result;
|
|
1711
1713
|
};
|
|
1712
1714
|
|
|
1713
1715
|
var classof$8 = classof$9;
|
|
@@ -1726,13 +1728,13 @@ var normalizeStringArgument$1 = function (argument, $default) {
|
|
|
1726
1728
|
};
|
|
1727
1729
|
|
|
1728
1730
|
var isObject$4 = isObject$e;
|
|
1729
|
-
var createNonEnumerableProperty$
|
|
1731
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$a;
|
|
1730
1732
|
|
|
1731
1733
|
// `InstallErrorCause` abstract operation
|
|
1732
1734
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
1733
1735
|
var installErrorCause$1 = function (O, options) {
|
|
1734
1736
|
if (isObject$4(options) && 'cause' in options) {
|
|
1735
|
-
createNonEnumerableProperty$
|
|
1737
|
+
createNonEnumerableProperty$5(O, 'cause', options.cause);
|
|
1736
1738
|
}
|
|
1737
1739
|
};
|
|
1738
1740
|
|
|
@@ -1752,10 +1754,10 @@ var errorStackClear = function (stack, dropEntries) {
|
|
|
1752
1754
|
} return stack;
|
|
1753
1755
|
};
|
|
1754
1756
|
|
|
1755
|
-
var fails$
|
|
1757
|
+
var fails$h = fails$t;
|
|
1756
1758
|
var createPropertyDescriptor$1 = createPropertyDescriptor$5;
|
|
1757
1759
|
|
|
1758
|
-
var errorStackInstallable = !fails$
|
|
1760
|
+
var errorStackInstallable = !fails$h(function () {
|
|
1759
1761
|
var error = new Error('a');
|
|
1760
1762
|
if (!('stack' in error)) return true;
|
|
1761
1763
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
@@ -1763,7 +1765,7 @@ var errorStackInstallable = !fails$g(function () {
|
|
|
1763
1765
|
return error.stack !== 7;
|
|
1764
1766
|
});
|
|
1765
1767
|
|
|
1766
|
-
var createNonEnumerableProperty$
|
|
1768
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$a;
|
|
1767
1769
|
var clearErrorStack = errorStackClear;
|
|
1768
1770
|
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
1769
1771
|
|
|
@@ -1773,13 +1775,13 @@ var captureStackTrace = Error.captureStackTrace;
|
|
|
1773
1775
|
var errorStackInstall = function (error, C, stack, dropEntries) {
|
|
1774
1776
|
if (ERROR_STACK_INSTALLABLE) {
|
|
1775
1777
|
if (captureStackTrace) captureStackTrace(error, C);
|
|
1776
|
-
else createNonEnumerableProperty$
|
|
1778
|
+
else createNonEnumerableProperty$4(error, 'stack', clearErrorStack(stack, dropEntries));
|
|
1777
1779
|
}
|
|
1778
1780
|
};
|
|
1779
1781
|
|
|
1780
1782
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
1781
|
-
var hasOwn$
|
|
1782
|
-
var createNonEnumerableProperty$
|
|
1783
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1784
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$a;
|
|
1783
1785
|
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
1784
1786
|
var setPrototypeOf$1 = objectSetPrototypeOf;
|
|
1785
1787
|
var copyConstructorProperties$1 = copyConstructorProperties$3;
|
|
@@ -1788,7 +1790,7 @@ var inheritIfRequired$1 = inheritIfRequired$2;
|
|
|
1788
1790
|
var normalizeStringArgument = normalizeStringArgument$1;
|
|
1789
1791
|
var installErrorCause = installErrorCause$1;
|
|
1790
1792
|
var installErrorStack = errorStackInstall;
|
|
1791
|
-
var DESCRIPTORS$
|
|
1793
|
+
var DESCRIPTORS$8 = descriptors;
|
|
1792
1794
|
|
|
1793
1795
|
var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {
|
|
1794
1796
|
var STACK_TRACE_LIMIT = 'stackTraceLimit';
|
|
@@ -1802,7 +1804,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1802
1804
|
var OriginalErrorPrototype = OriginalError.prototype;
|
|
1803
1805
|
|
|
1804
1806
|
// V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006
|
|
1805
|
-
if (hasOwn$
|
|
1807
|
+
if (hasOwn$5(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;
|
|
1806
1808
|
|
|
1807
1809
|
if (!FORCED) return OriginalError;
|
|
1808
1810
|
|
|
@@ -1811,7 +1813,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1811
1813
|
var WrappedError = wrapper(function (a, b) {
|
|
1812
1814
|
var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);
|
|
1813
1815
|
var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();
|
|
1814
|
-
if (message !== undefined) createNonEnumerableProperty$
|
|
1816
|
+
if (message !== undefined) createNonEnumerableProperty$3(result, 'message', message);
|
|
1815
1817
|
installErrorStack(result, WrappedError, result.stack, 2);
|
|
1816
1818
|
if (this && isPrototypeOf$5(OriginalErrorPrototype, this)) inheritIfRequired$1(result, this, WrappedError);
|
|
1817
1819
|
if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);
|
|
@@ -1823,7 +1825,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1823
1825
|
if (ERROR_NAME !== 'Error') {
|
|
1824
1826
|
if (setPrototypeOf$1) setPrototypeOf$1(WrappedError, BaseError);
|
|
1825
1827
|
else copyConstructorProperties$1(WrappedError, BaseError, { name: true });
|
|
1826
|
-
} else if (DESCRIPTORS$
|
|
1828
|
+
} else if (DESCRIPTORS$8 && STACK_TRACE_LIMIT in OriginalError) {
|
|
1827
1829
|
proxyAccessor$1(WrappedError, OriginalError, STACK_TRACE_LIMIT);
|
|
1828
1830
|
proxyAccessor$1(WrappedError, OriginalError, 'prepareStackTrace');
|
|
1829
1831
|
}
|
|
@@ -1833,7 +1835,7 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1833
1835
|
try {
|
|
1834
1836
|
// Safari 13- bug: WebAssembly errors does not have a proper `.name`
|
|
1835
1837
|
if (OriginalErrorPrototype.name !== ERROR_NAME) {
|
|
1836
|
-
createNonEnumerableProperty$
|
|
1838
|
+
createNonEnumerableProperty$3(OriginalErrorPrototype, 'name', ERROR_NAME);
|
|
1837
1839
|
}
|
|
1838
1840
|
OriginalErrorPrototype.constructor = WrappedError;
|
|
1839
1841
|
} catch (error) { /* empty */ }
|
|
@@ -1842,28 +1844,28 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
1842
1844
|
};
|
|
1843
1845
|
|
|
1844
1846
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
1845
|
-
var $$
|
|
1846
|
-
var global$
|
|
1847
|
+
var $$u = _export;
|
|
1848
|
+
var global$f = global$q;
|
|
1847
1849
|
var apply$3 = functionApply;
|
|
1848
1850
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
1849
1851
|
|
|
1850
1852
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
1851
|
-
var WebAssembly = global$
|
|
1853
|
+
var WebAssembly = global$f[WEB_ASSEMBLY];
|
|
1852
1854
|
|
|
1853
1855
|
// eslint-disable-next-line es/no-error-cause -- feature detection
|
|
1854
|
-
var FORCED$
|
|
1856
|
+
var FORCED$5 = new Error('e', { cause: 7 }).cause !== 7;
|
|
1855
1857
|
|
|
1856
1858
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1857
1859
|
var O = {};
|
|
1858
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$
|
|
1859
|
-
$$
|
|
1860
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$5);
|
|
1861
|
+
$$u({ global: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1860
1862
|
};
|
|
1861
1863
|
|
|
1862
1864
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
1863
1865
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
1864
1866
|
var O = {};
|
|
1865
|
-
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$
|
|
1866
|
-
$$
|
|
1867
|
+
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$5);
|
|
1868
|
+
$$u({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED$5 }, O);
|
|
1867
1869
|
}
|
|
1868
1870
|
};
|
|
1869
1871
|
|
|
@@ -1899,7 +1901,7 @@ exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {
|
|
|
1899
1901
|
return function RuntimeError(message) { return apply$3(init, this, arguments); };
|
|
1900
1902
|
});
|
|
1901
1903
|
|
|
1902
|
-
var $$
|
|
1904
|
+
var $$t = _export;
|
|
1903
1905
|
var toObject$4 = toObject$8;
|
|
1904
1906
|
var lengthOfArrayLike$5 = lengthOfArrayLike$7;
|
|
1905
1907
|
var toIntegerOrInfinity$4 = toIntegerOrInfinity$7;
|
|
@@ -1907,7 +1909,7 @@ var addToUnscopables$2 = addToUnscopables$4;
|
|
|
1907
1909
|
|
|
1908
1910
|
// `Array.prototype.at` method
|
|
1909
1911
|
// https://tc39.es/ecma262/#sec-array.prototype.at
|
|
1910
|
-
$$
|
|
1912
|
+
$$t({ target: 'Array', proto: true }, {
|
|
1911
1913
|
at: function at(index) {
|
|
1912
1914
|
var O = toObject$4(this);
|
|
1913
1915
|
var len = lengthOfArrayLike$5(O);
|
|
@@ -1919,12 +1921,12 @@ $$l({ target: 'Array', proto: true }, {
|
|
|
1919
1921
|
|
|
1920
1922
|
addToUnscopables$2('at');
|
|
1921
1923
|
|
|
1922
|
-
var anObject$
|
|
1924
|
+
var anObject$j = anObject$o;
|
|
1923
1925
|
|
|
1924
1926
|
// `RegExp.prototype.flags` getter implementation
|
|
1925
1927
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
1926
1928
|
var regexpFlags$1 = function () {
|
|
1927
|
-
var that = anObject$
|
|
1929
|
+
var that = anObject$j(this);
|
|
1928
1930
|
var result = '';
|
|
1929
1931
|
if (that.hasIndices) result += 'd';
|
|
1930
1932
|
if (that.global) result += 'g';
|
|
@@ -1937,13 +1939,13 @@ var regexpFlags$1 = function () {
|
|
|
1937
1939
|
return result;
|
|
1938
1940
|
};
|
|
1939
1941
|
|
|
1940
|
-
var fails$
|
|
1941
|
-
var global$
|
|
1942
|
+
var fails$g = fails$t;
|
|
1943
|
+
var global$e = global$q;
|
|
1942
1944
|
|
|
1943
1945
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1944
|
-
var $RegExp$2 = global$
|
|
1946
|
+
var $RegExp$2 = global$e.RegExp;
|
|
1945
1947
|
|
|
1946
|
-
var UNSUPPORTED_Y$2 = fails$
|
|
1948
|
+
var UNSUPPORTED_Y$2 = fails$g(function () {
|
|
1947
1949
|
var re = $RegExp$2('a', 'y');
|
|
1948
1950
|
re.lastIndex = 2;
|
|
1949
1951
|
return re.exec('abcd') !== null;
|
|
@@ -1951,11 +1953,11 @@ var UNSUPPORTED_Y$2 = fails$f(function () {
|
|
|
1951
1953
|
|
|
1952
1954
|
// UC Browser bug
|
|
1953
1955
|
// https://github.com/zloirock/core-js/issues/1008
|
|
1954
|
-
var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$
|
|
1956
|
+
var MISSED_STICKY$1 = UNSUPPORTED_Y$2 || fails$g(function () {
|
|
1955
1957
|
return !$RegExp$2('a', 'y').sticky;
|
|
1956
1958
|
});
|
|
1957
1959
|
|
|
1958
|
-
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$
|
|
1960
|
+
var BROKEN_CARET = UNSUPPORTED_Y$2 || fails$g(function () {
|
|
1959
1961
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
|
1960
1962
|
var re = $RegExp$2('^r', 'gy');
|
|
1961
1963
|
re.lastIndex = 2;
|
|
@@ -1968,24 +1970,24 @@ var regexpStickyHelpers = {
|
|
|
1968
1970
|
UNSUPPORTED_Y: UNSUPPORTED_Y$2
|
|
1969
1971
|
};
|
|
1970
1972
|
|
|
1971
|
-
var fails$
|
|
1972
|
-
var global$
|
|
1973
|
+
var fails$f = fails$t;
|
|
1974
|
+
var global$d = global$q;
|
|
1973
1975
|
|
|
1974
1976
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1975
|
-
var $RegExp$1 = global$
|
|
1977
|
+
var $RegExp$1 = global$d.RegExp;
|
|
1976
1978
|
|
|
1977
|
-
var regexpUnsupportedDotAll = fails$
|
|
1979
|
+
var regexpUnsupportedDotAll = fails$f(function () {
|
|
1978
1980
|
var re = $RegExp$1('.', 's');
|
|
1979
1981
|
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
|
1980
1982
|
});
|
|
1981
1983
|
|
|
1982
|
-
var fails$
|
|
1983
|
-
var global$
|
|
1984
|
+
var fails$e = fails$t;
|
|
1985
|
+
var global$c = global$q;
|
|
1984
1986
|
|
|
1985
1987
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1986
|
-
var $RegExp = global$
|
|
1988
|
+
var $RegExp = global$c.RegExp;
|
|
1987
1989
|
|
|
1988
|
-
var regexpUnsupportedNcg = fails$
|
|
1990
|
+
var regexpUnsupportedNcg = fails$e(function () {
|
|
1989
1991
|
var re = $RegExp('(?<a>b)', 'g');
|
|
1990
1992
|
return re.exec('b').groups.a !== 'b' ||
|
|
1991
1993
|
'b'.replace(re, '$<a>c') !== 'bc';
|
|
@@ -1993,13 +1995,13 @@ var regexpUnsupportedNcg = fails$d(function () {
|
|
|
1993
1995
|
|
|
1994
1996
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1995
1997
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1996
|
-
var call$
|
|
1998
|
+
var call$g = functionCall;
|
|
1997
1999
|
var uncurryThis$h = functionUncurryThis;
|
|
1998
2000
|
var toString$d = toString$f;
|
|
1999
2001
|
var regexpFlags = regexpFlags$1;
|
|
2000
2002
|
var stickyHelpers$1 = regexpStickyHelpers;
|
|
2001
2003
|
var shared = shared$4;
|
|
2002
|
-
var create$
|
|
2004
|
+
var create$2 = objectCreate;
|
|
2003
2005
|
var getInternalState$1 = internalState.get;
|
|
2004
2006
|
var UNSUPPORTED_DOT_ALL$2 = regexpUnsupportedDotAll;
|
|
2005
2007
|
var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
|
|
@@ -2015,8 +2017,8 @@ var stringSlice$6 = uncurryThis$h(''.slice);
|
|
|
2015
2017
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
2016
2018
|
var re1 = /a/;
|
|
2017
2019
|
var re2 = /b*/g;
|
|
2018
|
-
call$
|
|
2019
|
-
call$
|
|
2020
|
+
call$g(nativeExec, re1, 'a');
|
|
2021
|
+
call$g(nativeExec, re2, 'a');
|
|
2020
2022
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
2021
2023
|
})();
|
|
2022
2024
|
|
|
@@ -2037,14 +2039,14 @@ if (PATCH) {
|
|
|
2037
2039
|
|
|
2038
2040
|
if (raw) {
|
|
2039
2041
|
raw.lastIndex = re.lastIndex;
|
|
2040
|
-
result = call$
|
|
2042
|
+
result = call$g(patchedExec, raw, str);
|
|
2041
2043
|
re.lastIndex = raw.lastIndex;
|
|
2042
2044
|
return result;
|
|
2043
2045
|
}
|
|
2044
2046
|
|
|
2045
2047
|
var groups = state.groups;
|
|
2046
2048
|
var sticky = UNSUPPORTED_Y$1 && re.sticky;
|
|
2047
|
-
var flags = call$
|
|
2049
|
+
var flags = call$g(regexpFlags, re);
|
|
2048
2050
|
var source = re.source;
|
|
2049
2051
|
var charsAdded = 0;
|
|
2050
2052
|
var strCopy = str;
|
|
@@ -2072,7 +2074,7 @@ if (PATCH) {
|
|
|
2072
2074
|
}
|
|
2073
2075
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
2074
2076
|
|
|
2075
|
-
match = call$
|
|
2077
|
+
match = call$g(nativeExec, sticky ? reCopy : re, strCopy);
|
|
2076
2078
|
|
|
2077
2079
|
if (sticky) {
|
|
2078
2080
|
if (match) {
|
|
@@ -2087,7 +2089,7 @@ if (PATCH) {
|
|
|
2087
2089
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
2088
2090
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
2089
2091
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
2090
|
-
call$
|
|
2092
|
+
call$g(nativeReplace, match[0], reCopy, function () {
|
|
2091
2093
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
2092
2094
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
2093
2095
|
}
|
|
@@ -2095,7 +2097,7 @@ if (PATCH) {
|
|
|
2095
2097
|
}
|
|
2096
2098
|
|
|
2097
2099
|
if (match && groups) {
|
|
2098
|
-
match.groups = object = create$
|
|
2100
|
+
match.groups = object = create$2(null);
|
|
2099
2101
|
for (i = 0; i < groups.length; i++) {
|
|
2100
2102
|
group = groups[i];
|
|
2101
2103
|
object[group[0]] = match[group[1]];
|
|
@@ -2108,21 +2110,21 @@ if (PATCH) {
|
|
|
2108
2110
|
|
|
2109
2111
|
var regexpExec$2 = patchedExec;
|
|
2110
2112
|
|
|
2111
|
-
var $$
|
|
2113
|
+
var $$s = _export;
|
|
2112
2114
|
var exec$4 = regexpExec$2;
|
|
2113
2115
|
|
|
2114
2116
|
// `RegExp.prototype.exec` method
|
|
2115
2117
|
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
|
2116
|
-
$$
|
|
2118
|
+
$$s({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
|
|
2117
2119
|
exec: exec$4
|
|
2118
2120
|
});
|
|
2119
2121
|
|
|
2120
2122
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2121
2123
|
|
|
2122
|
-
var $$
|
|
2123
|
-
var call$
|
|
2124
|
-
var isCallable$
|
|
2125
|
-
var anObject$
|
|
2124
|
+
var $$r = _export;
|
|
2125
|
+
var call$f = functionCall;
|
|
2126
|
+
var isCallable$b = isCallable$r;
|
|
2127
|
+
var anObject$i = anObject$o;
|
|
2126
2128
|
var toString$c = toString$f;
|
|
2127
2129
|
|
|
2128
2130
|
var DELEGATES_TO_EXEC = function () {
|
|
@@ -2139,21 +2141,21 @@ var nativeTest = /./.test;
|
|
|
2139
2141
|
|
|
2140
2142
|
// `RegExp.prototype.test` method
|
|
2141
2143
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
2142
|
-
$$
|
|
2144
|
+
$$r({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
|
|
2143
2145
|
test: function (S) {
|
|
2144
|
-
var R = anObject$
|
|
2146
|
+
var R = anObject$i(this);
|
|
2145
2147
|
var string = toString$c(S);
|
|
2146
2148
|
var exec = R.exec;
|
|
2147
|
-
if (!isCallable$
|
|
2148
|
-
var result = call$
|
|
2149
|
+
if (!isCallable$b(exec)) return call$f(nativeTest, R, string);
|
|
2150
|
+
var result = call$f(exec, R, string);
|
|
2149
2151
|
if (result === null) return false;
|
|
2150
|
-
anObject$
|
|
2152
|
+
anObject$i(result);
|
|
2151
2153
|
return true;
|
|
2152
2154
|
}
|
|
2153
2155
|
});
|
|
2154
2156
|
|
|
2155
|
-
var call$
|
|
2156
|
-
var hasOwn$
|
|
2157
|
+
var call$e = functionCall;
|
|
2158
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
2157
2159
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
2158
2160
|
var regExpFlags = regexpFlags$1;
|
|
2159
2161
|
|
|
@@ -2161,53 +2163,53 @@ var RegExpPrototype$4 = RegExp.prototype;
|
|
|
2161
2163
|
|
|
2162
2164
|
var regexpGetFlags = function (R) {
|
|
2163
2165
|
var flags = R.flags;
|
|
2164
|
-
return flags === undefined && !('flags' in RegExpPrototype$4) && !hasOwn$
|
|
2165
|
-
? call$
|
|
2166
|
+
return flags === undefined && !('flags' in RegExpPrototype$4) && !hasOwn$4(R, 'flags') && isPrototypeOf$4(RegExpPrototype$4, R)
|
|
2167
|
+
? call$e(regExpFlags, R) : flags;
|
|
2166
2168
|
};
|
|
2167
2169
|
|
|
2168
2170
|
var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
2169
|
-
var defineBuiltIn$
|
|
2170
|
-
var anObject$
|
|
2171
|
+
var defineBuiltIn$5 = defineBuiltIn$9;
|
|
2172
|
+
var anObject$h = anObject$o;
|
|
2171
2173
|
var $toString = toString$f;
|
|
2172
|
-
var fails$
|
|
2174
|
+
var fails$d = fails$t;
|
|
2173
2175
|
var getRegExpFlags$1 = regexpGetFlags;
|
|
2174
2176
|
|
|
2175
2177
|
var TO_STRING = 'toString';
|
|
2176
2178
|
var RegExpPrototype$3 = RegExp.prototype;
|
|
2177
2179
|
var nativeToString = RegExpPrototype$3[TO_STRING];
|
|
2178
2180
|
|
|
2179
|
-
var NOT_GENERIC = fails$
|
|
2181
|
+
var NOT_GENERIC = fails$d(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
2180
2182
|
// FF44- RegExp#toString has a wrong name
|
|
2181
2183
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING;
|
|
2182
2184
|
|
|
2183
2185
|
// `RegExp.prototype.toString` method
|
|
2184
2186
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
2185
2187
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
2186
|
-
defineBuiltIn$
|
|
2187
|
-
var R = anObject$
|
|
2188
|
+
defineBuiltIn$5(RegExpPrototype$3, TO_STRING, function toString() {
|
|
2189
|
+
var R = anObject$h(this);
|
|
2188
2190
|
var pattern = $toString(R.source);
|
|
2189
2191
|
var flags = $toString(getRegExpFlags$1(R));
|
|
2190
2192
|
return '/' + pattern + '/' + flags;
|
|
2191
2193
|
}, { unsafe: true });
|
|
2192
2194
|
}
|
|
2193
2195
|
|
|
2194
|
-
var $$
|
|
2196
|
+
var $$q = _export;
|
|
2195
2197
|
var uncurryThis$g = functionUncurryThis;
|
|
2196
2198
|
var requireObjectCoercible$7 = requireObjectCoercible$b;
|
|
2197
2199
|
var toIntegerOrInfinity$3 = toIntegerOrInfinity$7;
|
|
2198
2200
|
var toString$b = toString$f;
|
|
2199
|
-
var fails$
|
|
2201
|
+
var fails$c = fails$t;
|
|
2200
2202
|
|
|
2201
2203
|
var charAt$5 = uncurryThis$g(''.charAt);
|
|
2202
2204
|
|
|
2203
|
-
var FORCED$
|
|
2205
|
+
var FORCED$4 = fails$c(function () {
|
|
2204
2206
|
// eslint-disable-next-line es/no-array-string-prototype-at -- safe
|
|
2205
2207
|
return '𠮷'.at(-2) !== '\uD842';
|
|
2206
2208
|
});
|
|
2207
2209
|
|
|
2208
2210
|
// `String.prototype.at` method
|
|
2209
2211
|
// https://tc39.es/ecma262/#sec-string.prototype.at
|
|
2210
|
-
$$
|
|
2212
|
+
$$q({ target: 'String', proto: true, forced: FORCED$4 }, {
|
|
2211
2213
|
at: function at(index) {
|
|
2212
2214
|
var S = toString$b(requireObjectCoercible$7(this));
|
|
2213
2215
|
var len = S.length;
|
|
@@ -2219,27 +2221,27 @@ $$i({ target: 'String', proto: true, forced: FORCED$3 }, {
|
|
|
2219
2221
|
|
|
2220
2222
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
2221
2223
|
|
|
2222
|
-
var call$
|
|
2223
|
-
var defineBuiltIn$
|
|
2224
|
+
var call$d = functionCall;
|
|
2225
|
+
var defineBuiltIn$4 = defineBuiltIn$9;
|
|
2224
2226
|
var regexpExec$1 = regexpExec$2;
|
|
2225
|
-
var fails$
|
|
2226
|
-
var wellKnownSymbol$
|
|
2227
|
-
var createNonEnumerableProperty$
|
|
2227
|
+
var fails$b = fails$t;
|
|
2228
|
+
var wellKnownSymbol$d = wellKnownSymbol$m;
|
|
2229
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$a;
|
|
2228
2230
|
|
|
2229
|
-
var SPECIES$4 = wellKnownSymbol$
|
|
2231
|
+
var SPECIES$4 = wellKnownSymbol$d('species');
|
|
2230
2232
|
var RegExpPrototype$2 = RegExp.prototype;
|
|
2231
2233
|
|
|
2232
2234
|
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
2233
|
-
var SYMBOL = wellKnownSymbol$
|
|
2235
|
+
var SYMBOL = wellKnownSymbol$d(KEY);
|
|
2234
2236
|
|
|
2235
|
-
var DELEGATES_TO_SYMBOL = !fails$
|
|
2237
|
+
var DELEGATES_TO_SYMBOL = !fails$b(function () {
|
|
2236
2238
|
// String methods call symbol-named RegExp methods
|
|
2237
2239
|
var O = {};
|
|
2238
2240
|
O[SYMBOL] = function () { return 7; };
|
|
2239
2241
|
return ''[KEY](O) !== 7;
|
|
2240
2242
|
});
|
|
2241
2243
|
|
|
2242
|
-
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$
|
|
2244
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$b(function () {
|
|
2243
2245
|
// Symbol-named RegExp methods call .exec
|
|
2244
2246
|
var execCalled = false;
|
|
2245
2247
|
var re = /a/;
|
|
@@ -2279,18 +2281,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
2279
2281
|
// The native String method already delegates to @@method (this
|
|
2280
2282
|
// polyfilled function), leasing to infinite recursion.
|
|
2281
2283
|
// We avoid it by directly calling the native @@method method.
|
|
2282
|
-
return { done: true, value: call$
|
|
2284
|
+
return { done: true, value: call$d(nativeRegExpMethod, regexp, str, arg2) };
|
|
2283
2285
|
}
|
|
2284
|
-
return { done: true, value: call$
|
|
2286
|
+
return { done: true, value: call$d(nativeMethod, str, regexp, arg2) };
|
|
2285
2287
|
}
|
|
2286
2288
|
return { done: false };
|
|
2287
2289
|
});
|
|
2288
2290
|
|
|
2289
|
-
defineBuiltIn$
|
|
2290
|
-
defineBuiltIn$
|
|
2291
|
+
defineBuiltIn$4(String.prototype, KEY, methods[0]);
|
|
2292
|
+
defineBuiltIn$4(RegExpPrototype$2, SYMBOL, methods[1]);
|
|
2291
2293
|
}
|
|
2292
2294
|
|
|
2293
|
-
if (SHAM) createNonEnumerableProperty$
|
|
2295
|
+
if (SHAM) createNonEnumerableProperty$2(RegExpPrototype$2[SYMBOL], 'sham', true);
|
|
2294
2296
|
};
|
|
2295
2297
|
|
|
2296
2298
|
var uncurryThis$f = functionUncurryThis;
|
|
@@ -2384,46 +2386,46 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
2384
2386
|
});
|
|
2385
2387
|
};
|
|
2386
2388
|
|
|
2387
|
-
var call$
|
|
2388
|
-
var anObject$
|
|
2389
|
-
var isCallable$
|
|
2389
|
+
var call$c = functionCall;
|
|
2390
|
+
var anObject$g = anObject$o;
|
|
2391
|
+
var isCallable$a = isCallable$r;
|
|
2390
2392
|
var classof$7 = classofRaw$2;
|
|
2391
2393
|
var regexpExec = regexpExec$2;
|
|
2392
2394
|
|
|
2393
|
-
var $TypeError$
|
|
2395
|
+
var $TypeError$d = TypeError;
|
|
2394
2396
|
|
|
2395
2397
|
// `RegExpExec` abstract operation
|
|
2396
2398
|
// https://tc39.es/ecma262/#sec-regexpexec
|
|
2397
2399
|
var regexpExecAbstract = function (R, S) {
|
|
2398
2400
|
var exec = R.exec;
|
|
2399
|
-
if (isCallable$
|
|
2400
|
-
var result = call$
|
|
2401
|
-
if (result !== null) anObject$
|
|
2401
|
+
if (isCallable$a(exec)) {
|
|
2402
|
+
var result = call$c(exec, R, S);
|
|
2403
|
+
if (result !== null) anObject$g(result);
|
|
2402
2404
|
return result;
|
|
2403
2405
|
}
|
|
2404
|
-
if (classof$7(R) === 'RegExp') return call$
|
|
2405
|
-
throw new $TypeError$
|
|
2406
|
+
if (classof$7(R) === 'RegExp') return call$c(regexpExec, R, S);
|
|
2407
|
+
throw new $TypeError$d('RegExp#exec called on incompatible receiver');
|
|
2406
2408
|
};
|
|
2407
2409
|
|
|
2408
2410
|
var apply$2 = functionApply;
|
|
2409
|
-
var call$
|
|
2411
|
+
var call$b = functionCall;
|
|
2410
2412
|
var uncurryThis$d = functionUncurryThis;
|
|
2411
2413
|
var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
|
|
2412
|
-
var fails$
|
|
2413
|
-
var anObject$
|
|
2414
|
-
var isCallable$
|
|
2414
|
+
var fails$a = fails$t;
|
|
2415
|
+
var anObject$f = anObject$o;
|
|
2416
|
+
var isCallable$9 = isCallable$r;
|
|
2415
2417
|
var isNullOrUndefined$3 = isNullOrUndefined$6;
|
|
2416
2418
|
var toIntegerOrInfinity$1 = toIntegerOrInfinity$7;
|
|
2417
2419
|
var toLength$3 = toLength$5;
|
|
2418
2420
|
var toString$9 = toString$f;
|
|
2419
2421
|
var requireObjectCoercible$5 = requireObjectCoercible$b;
|
|
2420
2422
|
var advanceStringIndex$1 = advanceStringIndex$2;
|
|
2421
|
-
var getMethod$
|
|
2423
|
+
var getMethod$4 = getMethod$6;
|
|
2422
2424
|
var getSubstitution = getSubstitution$1;
|
|
2423
2425
|
var regExpExec$1 = regexpExecAbstract;
|
|
2424
|
-
var wellKnownSymbol$
|
|
2426
|
+
var wellKnownSymbol$c = wellKnownSymbol$m;
|
|
2425
2427
|
|
|
2426
|
-
var REPLACE = wellKnownSymbol$
|
|
2428
|
+
var REPLACE = wellKnownSymbol$c('replace');
|
|
2427
2429
|
var max = Math.max;
|
|
2428
2430
|
var min$2 = Math.min;
|
|
2429
2431
|
var concat = uncurryThis$d([].concat);
|
|
@@ -2450,7 +2452,7 @@ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
|
|
|
2450
2452
|
return false;
|
|
2451
2453
|
})();
|
|
2452
2454
|
|
|
2453
|
-
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$
|
|
2455
|
+
var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$a(function () {
|
|
2454
2456
|
var re = /./;
|
|
2455
2457
|
re.exec = function () {
|
|
2456
2458
|
var result = [];
|
|
@@ -2470,15 +2472,15 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
2470
2472
|
// https://tc39.es/ecma262/#sec-string.prototype.replace
|
|
2471
2473
|
function replace(searchValue, replaceValue) {
|
|
2472
2474
|
var O = requireObjectCoercible$5(this);
|
|
2473
|
-
var replacer = isNullOrUndefined$3(searchValue) ? undefined : getMethod$
|
|
2475
|
+
var replacer = isNullOrUndefined$3(searchValue) ? undefined : getMethod$4(searchValue, REPLACE);
|
|
2474
2476
|
return replacer
|
|
2475
|
-
? call$
|
|
2476
|
-
: call$
|
|
2477
|
+
? call$b(replacer, searchValue, O, replaceValue)
|
|
2478
|
+
: call$b(nativeReplace, toString$9(O), searchValue, replaceValue);
|
|
2477
2479
|
},
|
|
2478
2480
|
// `RegExp.prototype[@@replace]` method
|
|
2479
2481
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
|
|
2480
2482
|
function (string, replaceValue) {
|
|
2481
|
-
var rx = anObject$
|
|
2483
|
+
var rx = anObject$f(this);
|
|
2482
2484
|
var S = toString$9(string);
|
|
2483
2485
|
|
|
2484
2486
|
if (
|
|
@@ -2490,7 +2492,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
|
|
|
2490
2492
|
if (res.done) return res.value;
|
|
2491
2493
|
}
|
|
2492
2494
|
|
|
2493
|
-
var functionalReplace = isCallable$
|
|
2495
|
+
var functionalReplace = isCallable$9(replaceValue);
|
|
2494
2496
|
if (!functionalReplace) replaceValue = toString$9(replaceValue);
|
|
2495
2497
|
|
|
2496
2498
|
var global = rx.global;
|
|
@@ -2559,9 +2561,9 @@ var functionUncurryThisClause = function (fn) {
|
|
|
2559
2561
|
|
|
2560
2562
|
var isObject$3 = isObject$e;
|
|
2561
2563
|
var classof$6 = classofRaw$2;
|
|
2562
|
-
var wellKnownSymbol$
|
|
2564
|
+
var wellKnownSymbol$b = wellKnownSymbol$m;
|
|
2563
2565
|
|
|
2564
|
-
var MATCH$2 = wellKnownSymbol$
|
|
2566
|
+
var MATCH$2 = wellKnownSymbol$b('match');
|
|
2565
2567
|
|
|
2566
2568
|
// `IsRegExp` abstract operation
|
|
2567
2569
|
// https://tc39.es/ecma262/#sec-isregexp
|
|
@@ -2572,17 +2574,17 @@ var isRegexp = function (it) {
|
|
|
2572
2574
|
|
|
2573
2575
|
var isRegExp$1 = isRegexp;
|
|
2574
2576
|
|
|
2575
|
-
var $TypeError$
|
|
2577
|
+
var $TypeError$c = TypeError;
|
|
2576
2578
|
|
|
2577
2579
|
var notARegexp = function (it) {
|
|
2578
2580
|
if (isRegExp$1(it)) {
|
|
2579
|
-
throw new $TypeError$
|
|
2581
|
+
throw new $TypeError$c("The method doesn't accept regular expressions");
|
|
2580
2582
|
} return it;
|
|
2581
2583
|
};
|
|
2582
2584
|
|
|
2583
|
-
var wellKnownSymbol$
|
|
2585
|
+
var wellKnownSymbol$a = wellKnownSymbol$m;
|
|
2584
2586
|
|
|
2585
|
-
var MATCH$1 = wellKnownSymbol$
|
|
2587
|
+
var MATCH$1 = wellKnownSymbol$a('match');
|
|
2586
2588
|
|
|
2587
2589
|
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
2588
2590
|
var regexp = /./;
|
|
@@ -2596,7 +2598,7 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
|
2596
2598
|
} return false;
|
|
2597
2599
|
};
|
|
2598
2600
|
|
|
2599
|
-
var $$
|
|
2601
|
+
var $$p = _export;
|
|
2600
2602
|
var uncurryThis$b = functionUncurryThisClause;
|
|
2601
2603
|
var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
|
|
2602
2604
|
var toLength$2 = toLength$5;
|
|
@@ -2617,7 +2619,7 @@ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {
|
|
|
2617
2619
|
|
|
2618
2620
|
// `String.prototype.startsWith` method
|
|
2619
2621
|
// https://tc39.es/ecma262/#sec-string.prototype.startswith
|
|
2620
|
-
$$
|
|
2622
|
+
$$p({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {
|
|
2621
2623
|
startsWith: function startsWith(searchString /* , position = 0 */) {
|
|
2622
2624
|
var that = toString$8(requireObjectCoercible$4(this));
|
|
2623
2625
|
notARegExp$2(searchString);
|
|
@@ -2627,6 +2629,259 @@ $$h({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_
|
|
|
2627
2629
|
}
|
|
2628
2630
|
});
|
|
2629
2631
|
|
|
2632
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
2633
|
+
|
|
2634
|
+
var $TypeError$b = TypeError;
|
|
2635
|
+
|
|
2636
|
+
var anInstance$2 = function (it, Prototype) {
|
|
2637
|
+
if (isPrototypeOf$3(Prototype, it)) return it;
|
|
2638
|
+
throw new $TypeError$b('Incorrect invocation');
|
|
2639
|
+
};
|
|
2640
|
+
|
|
2641
|
+
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
2642
|
+
var defineProperty = objectDefineProperty;
|
|
2643
|
+
|
|
2644
|
+
var defineBuiltInAccessor$4 = function (target, name, descriptor) {
|
|
2645
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
2646
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
2647
|
+
return defineProperty.f(target, name, descriptor);
|
|
2648
|
+
};
|
|
2649
|
+
|
|
2650
|
+
var DESCRIPTORS$7 = descriptors;
|
|
2651
|
+
var definePropertyModule = objectDefineProperty;
|
|
2652
|
+
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
2653
|
+
|
|
2654
|
+
var createProperty$2 = function (object, key, value) {
|
|
2655
|
+
if (DESCRIPTORS$7) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
2656
|
+
else object[key] = value;
|
|
2657
|
+
};
|
|
2658
|
+
|
|
2659
|
+
var $$o = _export;
|
|
2660
|
+
var global$b = global$q;
|
|
2661
|
+
var anInstance$1 = anInstance$2;
|
|
2662
|
+
var anObject$e = anObject$o;
|
|
2663
|
+
var isCallable$8 = isCallable$r;
|
|
2664
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
2665
|
+
var defineBuiltInAccessor$3 = defineBuiltInAccessor$4;
|
|
2666
|
+
var createProperty$1 = createProperty$2;
|
|
2667
|
+
var fails$9 = fails$t;
|
|
2668
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
2669
|
+
var wellKnownSymbol$9 = wellKnownSymbol$m;
|
|
2670
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
2671
|
+
var DESCRIPTORS$6 = descriptors;
|
|
2672
|
+
|
|
2673
|
+
var CONSTRUCTOR = 'constructor';
|
|
2674
|
+
var ITERATOR$4 = 'Iterator';
|
|
2675
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$9('toStringTag');
|
|
2676
|
+
|
|
2677
|
+
var $TypeError$a = TypeError;
|
|
2678
|
+
var NativeIterator = global$b[ITERATOR$4];
|
|
2679
|
+
|
|
2680
|
+
// FF56- have non-standard global helper `Iterator`
|
|
2681
|
+
var FORCED$3 = !isCallable$8(NativeIterator)
|
|
2682
|
+
|| NativeIterator.prototype !== IteratorPrototype$1
|
|
2683
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
2684
|
+
|| !fails$9(function () { NativeIterator({}); });
|
|
2685
|
+
|
|
2686
|
+
var IteratorConstructor = function Iterator() {
|
|
2687
|
+
anInstance$1(this, IteratorPrototype$1);
|
|
2688
|
+
if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError$a('Abstract class Iterator not directly constructable');
|
|
2689
|
+
};
|
|
2690
|
+
|
|
2691
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
2692
|
+
if (DESCRIPTORS$6) {
|
|
2693
|
+
defineBuiltInAccessor$3(IteratorPrototype$1, key, {
|
|
2694
|
+
configurable: true,
|
|
2695
|
+
get: function () {
|
|
2696
|
+
return value;
|
|
2697
|
+
},
|
|
2698
|
+
set: function (replacement) {
|
|
2699
|
+
anObject$e(this);
|
|
2700
|
+
if (this === IteratorPrototype$1) throw new $TypeError$a("You can't redefine this property");
|
|
2701
|
+
if (hasOwn$3(this, key)) this[key] = replacement;
|
|
2702
|
+
else createProperty$1(this, key, replacement);
|
|
2703
|
+
}
|
|
2704
|
+
});
|
|
2705
|
+
} else IteratorPrototype$1[key] = value;
|
|
2706
|
+
};
|
|
2707
|
+
|
|
2708
|
+
if (!hasOwn$3(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$4);
|
|
2709
|
+
|
|
2710
|
+
if (FORCED$3 || !hasOwn$3(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
|
|
2711
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
2712
|
+
}
|
|
2713
|
+
|
|
2714
|
+
IteratorConstructor.prototype = IteratorPrototype$1;
|
|
2715
|
+
|
|
2716
|
+
// `Iterator` constructor
|
|
2717
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2718
|
+
$$o({ global: true, constructor: true, forced: FORCED$3 }, {
|
|
2719
|
+
Iterator: IteratorConstructor
|
|
2720
|
+
});
|
|
2721
|
+
|
|
2722
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
2723
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
2724
|
+
var getIteratorDirect$7 = function (obj) {
|
|
2725
|
+
return {
|
|
2726
|
+
iterator: obj,
|
|
2727
|
+
next: obj.next,
|
|
2728
|
+
done: false
|
|
2729
|
+
};
|
|
2730
|
+
};
|
|
2731
|
+
|
|
2732
|
+
var defineBuiltIn$3 = defineBuiltIn$9;
|
|
2733
|
+
|
|
2734
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
2735
|
+
for (var key in src) defineBuiltIn$3(target, key, src[key], options);
|
|
2736
|
+
return target;
|
|
2737
|
+
};
|
|
2738
|
+
|
|
2739
|
+
var call$a = functionCall;
|
|
2740
|
+
var anObject$d = anObject$o;
|
|
2741
|
+
var getMethod$3 = getMethod$6;
|
|
2742
|
+
|
|
2743
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
2744
|
+
var innerResult, innerError;
|
|
2745
|
+
anObject$d(iterator);
|
|
2746
|
+
try {
|
|
2747
|
+
innerResult = getMethod$3(iterator, 'return');
|
|
2748
|
+
if (!innerResult) {
|
|
2749
|
+
if (kind === 'throw') throw value;
|
|
2750
|
+
return value;
|
|
2751
|
+
}
|
|
2752
|
+
innerResult = call$a(innerResult, iterator);
|
|
2753
|
+
} catch (error) {
|
|
2754
|
+
innerError = true;
|
|
2755
|
+
innerResult = error;
|
|
2756
|
+
}
|
|
2757
|
+
if (kind === 'throw') throw value;
|
|
2758
|
+
if (innerError) throw innerResult;
|
|
2759
|
+
anObject$d(innerResult);
|
|
2760
|
+
return value;
|
|
2761
|
+
};
|
|
2762
|
+
|
|
2763
|
+
var call$9 = functionCall;
|
|
2764
|
+
var create$1 = objectCreate;
|
|
2765
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$a;
|
|
2766
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
2767
|
+
var wellKnownSymbol$8 = wellKnownSymbol$m;
|
|
2768
|
+
var InternalStateModule$1 = internalState;
|
|
2769
|
+
var getMethod$2 = getMethod$6;
|
|
2770
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
2771
|
+
var createIterResultObject = createIterResultObject$2;
|
|
2772
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
2773
|
+
|
|
2774
|
+
var TO_STRING_TAG = wellKnownSymbol$8('toStringTag');
|
|
2775
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
2776
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
2777
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
2778
|
+
|
|
2779
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
2780
|
+
var getInternalState = InternalStateModule$1.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
2781
|
+
|
|
2782
|
+
return defineBuiltIns(create$1(IteratorPrototype), {
|
|
2783
|
+
next: function next() {
|
|
2784
|
+
var state = getInternalState(this);
|
|
2785
|
+
// for simplification:
|
|
2786
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
2787
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
2788
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
2789
|
+
try {
|
|
2790
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
2791
|
+
return createIterResultObject(result, state.done);
|
|
2792
|
+
} catch (error) {
|
|
2793
|
+
state.done = true;
|
|
2794
|
+
throw error;
|
|
2795
|
+
}
|
|
2796
|
+
},
|
|
2797
|
+
'return': function () {
|
|
2798
|
+
var state = getInternalState(this);
|
|
2799
|
+
var iterator = state.iterator;
|
|
2800
|
+
state.done = true;
|
|
2801
|
+
if (IS_ITERATOR) {
|
|
2802
|
+
var returnMethod = getMethod$2(iterator, 'return');
|
|
2803
|
+
return returnMethod ? call$9(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
2804
|
+
}
|
|
2805
|
+
if (state.inner) try {
|
|
2806
|
+
iteratorClose$2(state.inner.iterator, 'normal');
|
|
2807
|
+
} catch (error) {
|
|
2808
|
+
return iteratorClose$2(iterator, 'throw', error);
|
|
2809
|
+
}
|
|
2810
|
+
iteratorClose$2(iterator, 'normal');
|
|
2811
|
+
return createIterResultObject(undefined, true);
|
|
2812
|
+
}
|
|
2813
|
+
});
|
|
2814
|
+
};
|
|
2815
|
+
|
|
2816
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
2817
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
2818
|
+
|
|
2819
|
+
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
|
|
2820
|
+
|
|
2821
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
2822
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
2823
|
+
if (state) {
|
|
2824
|
+
state.iterator = record.iterator;
|
|
2825
|
+
state.next = record.next;
|
|
2826
|
+
} else state = record;
|
|
2827
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
2828
|
+
state.nextHandler = nextHandler;
|
|
2829
|
+
state.counter = 0;
|
|
2830
|
+
state.done = false;
|
|
2831
|
+
setInternalState$1(this, state);
|
|
2832
|
+
};
|
|
2833
|
+
|
|
2834
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
2835
|
+
|
|
2836
|
+
return IteratorProxy;
|
|
2837
|
+
};
|
|
2838
|
+
|
|
2839
|
+
var anObject$c = anObject$o;
|
|
2840
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
2841
|
+
|
|
2842
|
+
// call something on iterator step with safe closing on error
|
|
2843
|
+
var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
|
|
2844
|
+
try {
|
|
2845
|
+
return ENTRIES ? fn(anObject$c(value)[0], value[1]) : fn(value);
|
|
2846
|
+
} catch (error) {
|
|
2847
|
+
iteratorClose$1(iterator, 'throw', error);
|
|
2848
|
+
}
|
|
2849
|
+
};
|
|
2850
|
+
|
|
2851
|
+
var call$8 = functionCall;
|
|
2852
|
+
var aCallable$d = aCallable$g;
|
|
2853
|
+
var anObject$b = anObject$o;
|
|
2854
|
+
var getIteratorDirect$6 = getIteratorDirect$7;
|
|
2855
|
+
var createIteratorProxy$1 = iteratorCreateProxy;
|
|
2856
|
+
var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
|
|
2857
|
+
|
|
2858
|
+
var IteratorProxy$1 = createIteratorProxy$1(function () {
|
|
2859
|
+
var iterator = this.iterator;
|
|
2860
|
+
var result = anObject$b(call$8(this.next, iterator));
|
|
2861
|
+
var done = this.done = !!result.done;
|
|
2862
|
+
if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
|
|
2863
|
+
});
|
|
2864
|
+
|
|
2865
|
+
// `Iterator.prototype.map` method
|
|
2866
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2867
|
+
var iteratorMap = function map(mapper) {
|
|
2868
|
+
anObject$b(this);
|
|
2869
|
+
aCallable$d(mapper);
|
|
2870
|
+
return new IteratorProxy$1(getIteratorDirect$6(this), {
|
|
2871
|
+
mapper: mapper
|
|
2872
|
+
});
|
|
2873
|
+
};
|
|
2874
|
+
|
|
2875
|
+
var $$n = _export;
|
|
2876
|
+
var map = iteratorMap;
|
|
2877
|
+
var IS_PURE$1 = isPure;
|
|
2878
|
+
|
|
2879
|
+
// `Iterator.prototype.map` method
|
|
2880
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
2881
|
+
$$n({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
|
|
2882
|
+
map: map
|
|
2883
|
+
});
|
|
2884
|
+
|
|
2630
2885
|
const sinTitle = 'Social insurance number';
|
|
2631
2886
|
const invalidSin = 'Social insurance number is invalid';
|
|
2632
2887
|
|
|
@@ -2649,8 +2904,8 @@ const capitalizeFirstLetter = words => {
|
|
|
2649
2904
|
const controlScopeMatchesLabel = (scope, label) => {
|
|
2650
2905
|
var _a, _b, _c;
|
|
2651
2906
|
// Get the property name in the string from the scope
|
|
2652
|
-
const splitIdName = (_c = (_b = (_a = scope.replace(' ', '').split('/')) === null || _a === void 0 ? void 0 : _a.at(-1)) === null || _b === void 0 ? void 0 : _b.toLowerCase()) !== null && _c !== void 0 ? _c : '';
|
|
2653
|
-
const labelWithNoSpaces = label.replace(' ', '').toLowerCase();
|
|
2907
|
+
const splitIdName = (_c = (_b = (_a = scope === null || scope === void 0 ? void 0 : scope.replace(' ', '').split('/')) === null || _a === void 0 ? void 0 : _a.at(-1)) === null || _b === void 0 ? void 0 : _b.toLowerCase()) !== null && _c !== void 0 ? _c : '';
|
|
2908
|
+
const labelWithNoSpaces = label === null || label === void 0 ? void 0 : label.replace(' ', '').toLowerCase();
|
|
2654
2909
|
return splitIdName === labelWithNoSpaces;
|
|
2655
2910
|
};
|
|
2656
2911
|
/**
|
|
@@ -2788,6 +3043,41 @@ const convertToSentenceCase = input => {
|
|
|
2788
3043
|
return firstWord.concat(newWords).join(' ');
|
|
2789
3044
|
};
|
|
2790
3045
|
|
|
3046
|
+
var $$m = _export;
|
|
3047
|
+
var call$7 = functionCall;
|
|
3048
|
+
var aCallable$c = aCallable$g;
|
|
3049
|
+
var anObject$a = anObject$o;
|
|
3050
|
+
var getIteratorDirect$5 = getIteratorDirect$7;
|
|
3051
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
3052
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
|
|
3053
|
+
var IS_PURE = isPure;
|
|
3054
|
+
|
|
3055
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
3056
|
+
var iterator = this.iterator;
|
|
3057
|
+
var predicate = this.predicate;
|
|
3058
|
+
var next = this.next;
|
|
3059
|
+
var result, done, value;
|
|
3060
|
+
while (true) {
|
|
3061
|
+
result = anObject$a(call$7(next, iterator));
|
|
3062
|
+
done = this.done = !!result.done;
|
|
3063
|
+
if (done) return;
|
|
3064
|
+
value = result.value;
|
|
3065
|
+
if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value;
|
|
3066
|
+
}
|
|
3067
|
+
});
|
|
3068
|
+
|
|
3069
|
+
// `Iterator.prototype.filter` method
|
|
3070
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3071
|
+
$$m({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
3072
|
+
filter: function filter(predicate) {
|
|
3073
|
+
anObject$a(this);
|
|
3074
|
+
aCallable$c(predicate);
|
|
3075
|
+
return new IteratorProxy(getIteratorDirect$5(this), {
|
|
3076
|
+
predicate: predicate
|
|
3077
|
+
});
|
|
3078
|
+
}
|
|
3079
|
+
});
|
|
3080
|
+
|
|
2791
3081
|
const standardizeDate = date => {
|
|
2792
3082
|
try {
|
|
2793
3083
|
const stdDate = new Date(date).toISOString().substring(0, 10);
|
|
@@ -3056,7 +3346,7 @@ var isArray$4 = Array.isArray || function isArray(argument) {
|
|
|
3056
3346
|
return classof$5(argument) === 'Array';
|
|
3057
3347
|
};
|
|
3058
3348
|
|
|
3059
|
-
var DESCRIPTORS$
|
|
3349
|
+
var DESCRIPTORS$5 = descriptors;
|
|
3060
3350
|
var isArray$3 = isArray$4;
|
|
3061
3351
|
|
|
3062
3352
|
var $TypeError$9 = TypeError;
|
|
@@ -3064,7 +3354,7 @@ var $TypeError$9 = TypeError;
|
|
|
3064
3354
|
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
3065
3355
|
|
|
3066
3356
|
// Safari < 13 does not throw an error in this case
|
|
3067
|
-
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$
|
|
3357
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$5 && !function () {
|
|
3068
3358
|
// makes no sense without proper strict mode support
|
|
3069
3359
|
if (this !== undefined) return true;
|
|
3070
3360
|
try {
|
|
@@ -3091,12 +3381,12 @@ var doesNotExceedSafeInteger$2 = function (it) {
|
|
|
3091
3381
|
return it;
|
|
3092
3382
|
};
|
|
3093
3383
|
|
|
3094
|
-
var $$
|
|
3384
|
+
var $$l = _export;
|
|
3095
3385
|
var toObject$2 = toObject$8;
|
|
3096
3386
|
var lengthOfArrayLike$4 = lengthOfArrayLike$7;
|
|
3097
3387
|
var setArrayLength = arraySetLength;
|
|
3098
3388
|
var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
|
|
3099
|
-
var fails$8 = fails$
|
|
3389
|
+
var fails$8 = fails$t;
|
|
3100
3390
|
|
|
3101
3391
|
var INCORRECT_TO_LENGTH = fails$8(function () {
|
|
3102
3392
|
return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
|
|
@@ -3117,7 +3407,7 @@ var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
|
3117
3407
|
|
|
3118
3408
|
// `Array.prototype.push` method
|
|
3119
3409
|
// https://tc39.es/ecma262/#sec-array.prototype.push
|
|
3120
|
-
$$
|
|
3410
|
+
$$l({ target: 'Array', proto: true, arity: 1, forced: FORCED$2 }, {
|
|
3121
3411
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3122
3412
|
push: function push(item) {
|
|
3123
3413
|
var O = toObject$2(this);
|
|
@@ -3168,9 +3458,9 @@ function registerReducer(state, action) {
|
|
|
3168
3458
|
return state;
|
|
3169
3459
|
}
|
|
3170
3460
|
|
|
3171
|
-
var $$
|
|
3461
|
+
var $$k = _export;
|
|
3172
3462
|
var $includes = arrayIncludes.includes;
|
|
3173
|
-
var fails$7 = fails$
|
|
3463
|
+
var fails$7 = fails$t;
|
|
3174
3464
|
var addToUnscopables$1 = addToUnscopables$4;
|
|
3175
3465
|
|
|
3176
3466
|
// FF99+ bug
|
|
@@ -3181,7 +3471,7 @@ var BROKEN_ON_SPARSE = fails$7(function () {
|
|
|
3181
3471
|
|
|
3182
3472
|
// `Array.prototype.includes` method
|
|
3183
3473
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3184
|
-
$$
|
|
3474
|
+
$$k({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
3185
3475
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3186
3476
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3187
3477
|
}
|
|
@@ -3196,7 +3486,7 @@ var arraySlice$2 = uncurryThis$a([].slice);
|
|
|
3196
3486
|
|
|
3197
3487
|
var uncurryThis$9 = functionUncurryThis;
|
|
3198
3488
|
var isArray$2 = isArray$4;
|
|
3199
|
-
var isCallable$7 = isCallable$
|
|
3489
|
+
var isCallable$7 = isCallable$r;
|
|
3200
3490
|
var classof$4 = classofRaw$2;
|
|
3201
3491
|
var toString$7 = toString$f;
|
|
3202
3492
|
|
|
@@ -3224,13 +3514,13 @@ var getJsonReplacerFunction = function (replacer) {
|
|
|
3224
3514
|
};
|
|
3225
3515
|
};
|
|
3226
3516
|
|
|
3227
|
-
var $$
|
|
3517
|
+
var $$j = _export;
|
|
3228
3518
|
var getBuiltIn$4 = getBuiltIn$9;
|
|
3229
3519
|
var apply$1 = functionApply;
|
|
3230
|
-
var call$
|
|
3520
|
+
var call$6 = functionCall;
|
|
3231
3521
|
var uncurryThis$8 = functionUncurryThis;
|
|
3232
|
-
var fails$6 = fails$
|
|
3233
|
-
var isCallable$6 = isCallable$
|
|
3522
|
+
var fails$6 = fails$t;
|
|
3523
|
+
var isCallable$6 = isCallable$r;
|
|
3234
3524
|
var isSymbol = isSymbol$3;
|
|
3235
3525
|
var arraySlice$1 = arraySlice$2;
|
|
3236
3526
|
var getReplacerFunction = getJsonReplacerFunction;
|
|
@@ -3270,7 +3560,7 @@ var stringifyWithSymbolsFix = function (it, replacer) {
|
|
|
3270
3560
|
if (!isCallable$6($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
|
|
3271
3561
|
args[1] = function (key, value) {
|
|
3272
3562
|
// some old implementations (like WebKit) could pass numbers as keys
|
|
3273
|
-
if (isCallable$6($replacer)) value = call$
|
|
3563
|
+
if (isCallable$6($replacer)) value = call$6($replacer, this, $String(key), value);
|
|
3274
3564
|
if (!isSymbol(value)) return value;
|
|
3275
3565
|
};
|
|
3276
3566
|
return apply$1($stringify, null, args);
|
|
@@ -3287,34 +3577,216 @@ var fixIllFormed = function (match, offset, string) {
|
|
|
3287
3577
|
if ($stringify) {
|
|
3288
3578
|
// `JSON.stringify` method
|
|
3289
3579
|
// https://tc39.es/ecma262/#sec-json.stringify
|
|
3290
|
-
$$
|
|
3580
|
+
$$j({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
|
|
3291
3581
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3292
3582
|
stringify: function stringify(it, replacer, space) {
|
|
3293
3583
|
var args = arraySlice$1(arguments);
|
|
3294
3584
|
var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
3295
3585
|
return ILL_FORMED_UNICODE && typeof result == 'string' ? replace$3(result, tester, fixIllFormed) : result;
|
|
3296
3586
|
}
|
|
3297
|
-
});
|
|
3298
|
-
}
|
|
3587
|
+
});
|
|
3588
|
+
}
|
|
3589
|
+
|
|
3590
|
+
var $$i = _export;
|
|
3591
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
3592
|
+
var notARegExp$1 = notARegexp;
|
|
3593
|
+
var requireObjectCoercible$3 = requireObjectCoercible$b;
|
|
3594
|
+
var toString$6 = toString$f;
|
|
3595
|
+
var correctIsRegExpLogic$1 = correctIsRegexpLogic;
|
|
3596
|
+
|
|
3597
|
+
var stringIndexOf$1 = uncurryThis$7(''.indexOf);
|
|
3598
|
+
|
|
3599
|
+
// `String.prototype.includes` method
|
|
3600
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
3601
|
+
$$i({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
|
|
3602
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
3603
|
+
return !!~stringIndexOf$1(
|
|
3604
|
+
toString$6(requireObjectCoercible$3(this)),
|
|
3605
|
+
toString$6(notARegExp$1(searchString)),
|
|
3606
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
3607
|
+
);
|
|
3608
|
+
}
|
|
3609
|
+
});
|
|
3610
|
+
|
|
3611
|
+
var uncurryThis$6 = functionUncurryThisClause;
|
|
3612
|
+
var aCallable$b = aCallable$g;
|
|
3613
|
+
var NATIVE_BIND = functionBindNative;
|
|
3614
|
+
|
|
3615
|
+
var bind$5 = uncurryThis$6(uncurryThis$6.bind);
|
|
3616
|
+
|
|
3617
|
+
// optional / simple context binding
|
|
3618
|
+
var functionBindContext = function (fn, that) {
|
|
3619
|
+
aCallable$b(fn);
|
|
3620
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$5(fn, that) : function (/* ...args */) {
|
|
3621
|
+
return fn.apply(that, arguments);
|
|
3622
|
+
};
|
|
3623
|
+
};
|
|
3624
|
+
|
|
3625
|
+
var wellKnownSymbol$7 = wellKnownSymbol$m;
|
|
3626
|
+
var Iterators$1 = iterators;
|
|
3627
|
+
|
|
3628
|
+
var ITERATOR$3 = wellKnownSymbol$7('iterator');
|
|
3629
|
+
var ArrayPrototype = Array.prototype;
|
|
3630
|
+
|
|
3631
|
+
// check on default Array iterator
|
|
3632
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
3633
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3636
|
+
var classof$3 = classof$9;
|
|
3637
|
+
var getMethod$1 = getMethod$6;
|
|
3638
|
+
var isNullOrUndefined$2 = isNullOrUndefined$6;
|
|
3639
|
+
var Iterators = iterators;
|
|
3640
|
+
var wellKnownSymbol$6 = wellKnownSymbol$m;
|
|
3641
|
+
|
|
3642
|
+
var ITERATOR$2 = wellKnownSymbol$6('iterator');
|
|
3643
|
+
|
|
3644
|
+
var getIteratorMethod$2 = function (it) {
|
|
3645
|
+
if (!isNullOrUndefined$2(it)) return getMethod$1(it, ITERATOR$2)
|
|
3646
|
+
|| getMethod$1(it, '@@iterator')
|
|
3647
|
+
|| Iterators[classof$3(it)];
|
|
3648
|
+
};
|
|
3649
|
+
|
|
3650
|
+
var call$5 = functionCall;
|
|
3651
|
+
var aCallable$a = aCallable$g;
|
|
3652
|
+
var anObject$9 = anObject$o;
|
|
3653
|
+
var tryToString$2 = tryToString$4;
|
|
3654
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3655
|
+
|
|
3656
|
+
var $TypeError$7 = TypeError;
|
|
3657
|
+
|
|
3658
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
3659
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3660
|
+
if (aCallable$a(iteratorMethod)) return anObject$9(call$5(iteratorMethod, argument));
|
|
3661
|
+
throw new $TypeError$7(tryToString$2(argument) + ' is not iterable');
|
|
3662
|
+
};
|
|
3663
|
+
|
|
3664
|
+
var bind$4 = functionBindContext;
|
|
3665
|
+
var call$4 = functionCall;
|
|
3666
|
+
var anObject$8 = anObject$o;
|
|
3667
|
+
var tryToString$1 = tryToString$4;
|
|
3668
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3669
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$7;
|
|
3670
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3671
|
+
var getIterator = getIterator$1;
|
|
3672
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
3673
|
+
var iteratorClose = iteratorClose$3;
|
|
3674
|
+
|
|
3675
|
+
var $TypeError$6 = TypeError;
|
|
3676
|
+
|
|
3677
|
+
var Result = function (stopped, result) {
|
|
3678
|
+
this.stopped = stopped;
|
|
3679
|
+
this.result = result;
|
|
3680
|
+
};
|
|
3681
|
+
|
|
3682
|
+
var ResultPrototype = Result.prototype;
|
|
3683
|
+
|
|
3684
|
+
var iterate$8 = function (iterable, unboundFunction, options) {
|
|
3685
|
+
var that = options && options.that;
|
|
3686
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3687
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3688
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3689
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3690
|
+
var fn = bind$4(unboundFunction, that);
|
|
3691
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
3692
|
+
|
|
3693
|
+
var stop = function (condition) {
|
|
3694
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
3695
|
+
return new Result(true, condition);
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
var callFn = function (value) {
|
|
3699
|
+
if (AS_ENTRIES) {
|
|
3700
|
+
anObject$8(value);
|
|
3701
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3702
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3703
|
+
};
|
|
3704
|
+
|
|
3705
|
+
if (IS_RECORD) {
|
|
3706
|
+
iterator = iterable.iterator;
|
|
3707
|
+
} else if (IS_ITERATOR) {
|
|
3708
|
+
iterator = iterable;
|
|
3709
|
+
} else {
|
|
3710
|
+
iterFn = getIteratorMethod(iterable);
|
|
3711
|
+
if (!iterFn) throw new $TypeError$6(tryToString$1(iterable) + ' is not iterable');
|
|
3712
|
+
// optimisation for array iterators
|
|
3713
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
3714
|
+
for (index = 0, length = lengthOfArrayLike$3(iterable); length > index; index++) {
|
|
3715
|
+
result = callFn(iterable[index]);
|
|
3716
|
+
if (result && isPrototypeOf$2(ResultPrototype, result)) return result;
|
|
3717
|
+
} return new Result(false);
|
|
3718
|
+
}
|
|
3719
|
+
iterator = getIterator(iterable, iterFn);
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3723
|
+
while (!(step = call$4(next, iterator)).done) {
|
|
3724
|
+
try {
|
|
3725
|
+
result = callFn(step.value);
|
|
3726
|
+
} catch (error) {
|
|
3727
|
+
iteratorClose(iterator, 'throw', error);
|
|
3728
|
+
}
|
|
3729
|
+
if (typeof result == 'object' && result && isPrototypeOf$2(ResultPrototype, result)) return result;
|
|
3730
|
+
} return new Result(false);
|
|
3731
|
+
};
|
|
3299
3732
|
|
|
3300
|
-
var $$
|
|
3301
|
-
var
|
|
3302
|
-
var
|
|
3303
|
-
var
|
|
3304
|
-
var
|
|
3305
|
-
|
|
3733
|
+
var $$h = _export;
|
|
3734
|
+
var iterate$7 = iterate$8;
|
|
3735
|
+
var aCallable$9 = aCallable$g;
|
|
3736
|
+
var anObject$7 = anObject$o;
|
|
3737
|
+
var getIteratorDirect$4 = getIteratorDirect$7;
|
|
3738
|
+
|
|
3739
|
+
// `Iterator.prototype.find` method
|
|
3740
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3741
|
+
$$h({ target: 'Iterator', proto: true, real: true }, {
|
|
3742
|
+
find: function find(predicate) {
|
|
3743
|
+
anObject$7(this);
|
|
3744
|
+
aCallable$9(predicate);
|
|
3745
|
+
var record = getIteratorDirect$4(this);
|
|
3746
|
+
var counter = 0;
|
|
3747
|
+
return iterate$7(record, function (value, stop) {
|
|
3748
|
+
if (predicate(value, counter++)) return stop(value);
|
|
3749
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
3750
|
+
}
|
|
3751
|
+
});
|
|
3306
3752
|
|
|
3307
|
-
var
|
|
3753
|
+
var $$g = _export;
|
|
3754
|
+
var iterate$6 = iterate$8;
|
|
3755
|
+
var aCallable$8 = aCallable$g;
|
|
3756
|
+
var anObject$6 = anObject$o;
|
|
3757
|
+
var getIteratorDirect$3 = getIteratorDirect$7;
|
|
3758
|
+
|
|
3759
|
+
// `Iterator.prototype.forEach` method
|
|
3760
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3761
|
+
$$g({ target: 'Iterator', proto: true, real: true }, {
|
|
3762
|
+
forEach: function forEach(fn) {
|
|
3763
|
+
anObject$6(this);
|
|
3764
|
+
aCallable$8(fn);
|
|
3765
|
+
var record = getIteratorDirect$3(this);
|
|
3766
|
+
var counter = 0;
|
|
3767
|
+
iterate$6(record, function (value) {
|
|
3768
|
+
fn(value, counter++);
|
|
3769
|
+
}, { IS_RECORD: true });
|
|
3770
|
+
}
|
|
3771
|
+
});
|
|
3308
3772
|
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3773
|
+
var $$f = _export;
|
|
3774
|
+
var iterate$5 = iterate$8;
|
|
3775
|
+
var aCallable$7 = aCallable$g;
|
|
3776
|
+
var anObject$5 = anObject$o;
|
|
3777
|
+
var getIteratorDirect$2 = getIteratorDirect$7;
|
|
3778
|
+
|
|
3779
|
+
// `Iterator.prototype.some` method
|
|
3780
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
3781
|
+
$$f({ target: 'Iterator', proto: true, real: true }, {
|
|
3782
|
+
some: function some(predicate) {
|
|
3783
|
+
anObject$5(this);
|
|
3784
|
+
aCallable$7(predicate);
|
|
3785
|
+
var record = getIteratorDirect$2(this);
|
|
3786
|
+
var counter = 0;
|
|
3787
|
+
return iterate$5(record, function (value, stop) {
|
|
3788
|
+
if (predicate(value, counter++)) return stop();
|
|
3789
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
3318
3790
|
}
|
|
3319
3791
|
});
|
|
3320
3792
|
|
|
@@ -3360,26 +3832,17 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
3360
3832
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
3361
3833
|
};
|
|
3362
3834
|
|
|
3363
|
-
var makeBuiltIn = makeBuiltIn$3.exports;
|
|
3364
|
-
var defineProperty = objectDefineProperty;
|
|
3365
|
-
|
|
3366
|
-
var defineBuiltInAccessor$3 = function (target, name, descriptor) {
|
|
3367
|
-
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
3368
|
-
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
3369
|
-
return defineProperty.f(target, name, descriptor);
|
|
3370
|
-
};
|
|
3371
|
-
|
|
3372
3835
|
var getBuiltIn$3 = getBuiltIn$9;
|
|
3373
|
-
var defineBuiltInAccessor$2 = defineBuiltInAccessor$
|
|
3374
|
-
var wellKnownSymbol$
|
|
3375
|
-
var DESCRIPTORS$
|
|
3836
|
+
var defineBuiltInAccessor$2 = defineBuiltInAccessor$4;
|
|
3837
|
+
var wellKnownSymbol$5 = wellKnownSymbol$m;
|
|
3838
|
+
var DESCRIPTORS$4 = descriptors;
|
|
3376
3839
|
|
|
3377
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
3840
|
+
var SPECIES$3 = wellKnownSymbol$5('species');
|
|
3378
3841
|
|
|
3379
3842
|
var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
3380
3843
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
3381
3844
|
|
|
3382
|
-
if (DESCRIPTORS$
|
|
3845
|
+
if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$3]) {
|
|
3383
3846
|
defineBuiltInAccessor$2(Constructor, SPECIES$3, {
|
|
3384
3847
|
configurable: true,
|
|
3385
3848
|
get: function () { return this; }
|
|
@@ -3387,38 +3850,38 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
|
|
|
3387
3850
|
}
|
|
3388
3851
|
};
|
|
3389
3852
|
|
|
3390
|
-
var DESCRIPTORS$
|
|
3391
|
-
var global$a = global$
|
|
3392
|
-
var uncurryThis$
|
|
3853
|
+
var DESCRIPTORS$3 = descriptors;
|
|
3854
|
+
var global$a = global$q;
|
|
3855
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
3393
3856
|
var isForced$1 = isForced_1;
|
|
3394
3857
|
var inheritIfRequired = inheritIfRequired$2;
|
|
3395
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
3858
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$a;
|
|
3396
3859
|
var create = objectCreate;
|
|
3397
3860
|
var getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
3398
|
-
var isPrototypeOf$
|
|
3861
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3399
3862
|
var isRegExp = isRegexp;
|
|
3400
3863
|
var toString$5 = toString$f;
|
|
3401
3864
|
var getRegExpFlags = regexpGetFlags;
|
|
3402
3865
|
var stickyHelpers = regexpStickyHelpers;
|
|
3403
3866
|
var proxyAccessor = proxyAccessor$2;
|
|
3404
|
-
var defineBuiltIn$2 = defineBuiltIn$
|
|
3405
|
-
var fails$5 = fails$
|
|
3867
|
+
var defineBuiltIn$2 = defineBuiltIn$9;
|
|
3868
|
+
var fails$5 = fails$t;
|
|
3406
3869
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3407
3870
|
var enforceInternalState = internalState.enforce;
|
|
3408
3871
|
var setSpecies$1 = setSpecies$2;
|
|
3409
|
-
var wellKnownSymbol$
|
|
3872
|
+
var wellKnownSymbol$4 = wellKnownSymbol$m;
|
|
3410
3873
|
var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
|
|
3411
3874
|
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
3412
3875
|
|
|
3413
|
-
var MATCH = wellKnownSymbol$
|
|
3876
|
+
var MATCH = wellKnownSymbol$4('match');
|
|
3414
3877
|
var NativeRegExp = global$a.RegExp;
|
|
3415
3878
|
var RegExpPrototype$1 = NativeRegExp.prototype;
|
|
3416
3879
|
var SyntaxError = global$a.SyntaxError;
|
|
3417
|
-
var exec$2 = uncurryThis$
|
|
3418
|
-
var charAt = uncurryThis$
|
|
3419
|
-
var replace$2 = uncurryThis$
|
|
3420
|
-
var stringIndexOf = uncurryThis$
|
|
3421
|
-
var stringSlice$1 = uncurryThis$
|
|
3880
|
+
var exec$2 = uncurryThis$5(RegExpPrototype$1.exec);
|
|
3881
|
+
var charAt = uncurryThis$5(''.charAt);
|
|
3882
|
+
var replace$2 = uncurryThis$5(''.replace);
|
|
3883
|
+
var stringIndexOf = uncurryThis$5(''.indexOf);
|
|
3884
|
+
var stringSlice$1 = uncurryThis$5(''.slice);
|
|
3422
3885
|
// TODO: Use only proper RegExpIdentifierName
|
|
3423
3886
|
var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
|
|
3424
3887
|
var re1 = /a/g;
|
|
@@ -3430,7 +3893,7 @@ var CORRECT_NEW = new NativeRegExp(re1) !== re1;
|
|
|
3430
3893
|
var MISSED_STICKY = stickyHelpers.MISSED_STICKY;
|
|
3431
3894
|
var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;
|
|
3432
3895
|
|
|
3433
|
-
var BASE_FORCED = DESCRIPTORS$
|
|
3896
|
+
var BASE_FORCED = DESCRIPTORS$3 &&
|
|
3434
3897
|
(!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG || fails$5(function () {
|
|
3435
3898
|
re2[MATCH] = false;
|
|
3436
3899
|
// RegExp constructor can alter flags and IsRegExp works correct with @@match
|
|
@@ -3509,7 +3972,7 @@ var handleNCG = function (string) {
|
|
|
3509
3972
|
// https://tc39.es/ecma262/#sec-regexp-constructor
|
|
3510
3973
|
if (isForced$1('RegExp', BASE_FORCED)) {
|
|
3511
3974
|
var RegExpWrapper = function RegExp(pattern, flags) {
|
|
3512
|
-
var thisIsRegExp = isPrototypeOf$
|
|
3975
|
+
var thisIsRegExp = isPrototypeOf$1(RegExpPrototype$1, this);
|
|
3513
3976
|
var patternIsRegExp = isRegExp(pattern);
|
|
3514
3977
|
var flagsAreUndefined = flags === undefined;
|
|
3515
3978
|
var groups = [];
|
|
@@ -3520,7 +3983,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
3520
3983
|
return pattern;
|
|
3521
3984
|
}
|
|
3522
3985
|
|
|
3523
|
-
if (patternIsRegExp || isPrototypeOf$
|
|
3986
|
+
if (patternIsRegExp || isPrototypeOf$1(RegExpPrototype$1, pattern)) {
|
|
3524
3987
|
pattern = pattern.source;
|
|
3525
3988
|
if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);
|
|
3526
3989
|
}
|
|
@@ -3579,28 +4042,28 @@ if (isForced$1('RegExp', BASE_FORCED)) {
|
|
|
3579
4042
|
// https://tc39.es/ecma262/#sec-get-regexp-@@species
|
|
3580
4043
|
setSpecies$1('RegExp');
|
|
3581
4044
|
|
|
3582
|
-
var DESCRIPTORS$
|
|
4045
|
+
var DESCRIPTORS$2 = descriptors;
|
|
3583
4046
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
3584
|
-
var classof$
|
|
3585
|
-
var defineBuiltInAccessor$1 = defineBuiltInAccessor$
|
|
4047
|
+
var classof$2 = classofRaw$2;
|
|
4048
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$4;
|
|
3586
4049
|
var getInternalState = internalState.get;
|
|
3587
4050
|
|
|
3588
4051
|
var RegExpPrototype = RegExp.prototype;
|
|
3589
|
-
var $TypeError$
|
|
4052
|
+
var $TypeError$5 = TypeError;
|
|
3590
4053
|
|
|
3591
4054
|
// `RegExp.prototype.dotAll` getter
|
|
3592
4055
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall
|
|
3593
|
-
if (DESCRIPTORS$
|
|
4056
|
+
if (DESCRIPTORS$2 && UNSUPPORTED_DOT_ALL) {
|
|
3594
4057
|
defineBuiltInAccessor$1(RegExpPrototype, 'dotAll', {
|
|
3595
4058
|
configurable: true,
|
|
3596
4059
|
get: function dotAll() {
|
|
3597
4060
|
if (this === RegExpPrototype) return;
|
|
3598
4061
|
// We can't use InternalStateModule.getterFor because
|
|
3599
4062
|
// we don't add metadata for regexps created by a literal.
|
|
3600
|
-
if (classof$
|
|
4063
|
+
if (classof$2(this) === 'RegExp') {
|
|
3601
4064
|
return !!getInternalState(this).dotAll;
|
|
3602
4065
|
}
|
|
3603
|
-
throw new $TypeError$
|
|
4066
|
+
throw new $TypeError$5('Incompatible receiver, RegExp required');
|
|
3604
4067
|
}
|
|
3605
4068
|
});
|
|
3606
4069
|
}
|
|
@@ -3804,7 +4267,9 @@ let _$a = t => t,
|
|
|
3804
4267
|
_t3$5,
|
|
3805
4268
|
_t4$5,
|
|
3806
4269
|
_t5$3,
|
|
3807
|
-
_t6$3
|
|
4270
|
+
_t6$3,
|
|
4271
|
+
_t7$2,
|
|
4272
|
+
_t8$2;
|
|
3808
4273
|
const FormFieldWrapper = styled.div(_t$a || (_t$a = _$a`
|
|
3809
4274
|
margin-bottom: var(--goa-space-l);
|
|
3810
4275
|
`));
|
|
@@ -3823,7 +4288,7 @@ const RequiredTextLabel = styled.label(_t3$5 || (_t3$5 = _$a`
|
|
|
3823
4288
|
font-style: normal;
|
|
3824
4289
|
`));
|
|
3825
4290
|
const PageReviewNameCol = styled.td(_t4$5 || (_t4$5 = _$a`
|
|
3826
|
-
width:
|
|
4291
|
+
width: 5%;
|
|
3827
4292
|
padding-top: var(--goa-space-s);
|
|
3828
4293
|
padding-bottom: var(--goa-space-s);
|
|
3829
4294
|
padding-right: var(--goa-space-m);
|
|
@@ -3836,6 +4301,13 @@ const PageReviewValueCol = styled.td(_t5$3 || (_t5$3 = _$a`
|
|
|
3836
4301
|
const CheckboxWrapper = styled.div(_t6$3 || (_t6$3 = _$a`
|
|
3837
4302
|
height: 28px;
|
|
3838
4303
|
`));
|
|
4304
|
+
styled.h4(_t7$2 || (_t7$2 = _$a`
|
|
4305
|
+
margin: 0 0 0.25rem 0;
|
|
4306
|
+
fontsize: larger;
|
|
4307
|
+
`));
|
|
4308
|
+
const Row = styled.h4(_t8$2 || (_t8$2 = _$a`
|
|
4309
|
+
border-bottom: 1px solid #ddd;
|
|
4310
|
+
`));
|
|
3839
4311
|
|
|
3840
4312
|
const GoAInputBaseControl = props => {
|
|
3841
4313
|
var _a, _b;
|
|
@@ -3880,21 +4352,21 @@ const GoAInputBaseControl = props => {
|
|
|
3880
4352
|
});
|
|
3881
4353
|
};
|
|
3882
4354
|
|
|
3883
|
-
var $$
|
|
3884
|
-
var DESCRIPTORS$
|
|
3885
|
-
var global$9 = global$
|
|
3886
|
-
var uncurryThis$
|
|
4355
|
+
var $$e = _export;
|
|
4356
|
+
var DESCRIPTORS$1 = descriptors;
|
|
4357
|
+
var global$9 = global$q;
|
|
4358
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
3887
4359
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3888
|
-
var isCallable$5 = isCallable$
|
|
3889
|
-
var isPrototypeOf
|
|
4360
|
+
var isCallable$5 = isCallable$r;
|
|
4361
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
3890
4362
|
var toString$4 = toString$f;
|
|
3891
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
4363
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$4;
|
|
3892
4364
|
var copyConstructorProperties = copyConstructorProperties$3;
|
|
3893
4365
|
|
|
3894
4366
|
var NativeSymbol = global$9.Symbol;
|
|
3895
4367
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
3896
4368
|
|
|
3897
|
-
if (DESCRIPTORS$
|
|
4369
|
+
if (DESCRIPTORS$1 && isCallable$5(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
3898
4370
|
// Safari 12 bug
|
|
3899
4371
|
NativeSymbol().description !== undefined
|
|
3900
4372
|
)) {
|
|
@@ -3902,7 +4374,7 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3902
4374
|
// wrap Symbol constructor for correct work with undefined description
|
|
3903
4375
|
var SymbolWrapper = function Symbol() {
|
|
3904
4376
|
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$4(arguments[0]);
|
|
3905
|
-
var result = isPrototypeOf
|
|
4377
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
|
3906
4378
|
? new NativeSymbol(description)
|
|
3907
4379
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
3908
4380
|
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
@@ -3915,11 +4387,11 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3915
4387
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
3916
4388
|
|
|
3917
4389
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
3918
|
-
var thisSymbolValue = uncurryThis$
|
|
3919
|
-
var symbolDescriptiveString = uncurryThis$
|
|
4390
|
+
var thisSymbolValue = uncurryThis$4(SymbolPrototype.valueOf);
|
|
4391
|
+
var symbolDescriptiveString = uncurryThis$4(SymbolPrototype.toString);
|
|
3920
4392
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
3921
|
-
var replace$1 = uncurryThis$
|
|
3922
|
-
var stringSlice = uncurryThis$
|
|
4393
|
+
var replace$1 = uncurryThis$4(''.replace);
|
|
4394
|
+
var stringSlice = uncurryThis$4(''.slice);
|
|
3923
4395
|
|
|
3924
4396
|
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
3925
4397
|
configurable: true,
|
|
@@ -3932,19 +4404,19 @@ if (DESCRIPTORS$2 && isCallable$5(NativeSymbol) && (!('description' in SymbolPro
|
|
|
3932
4404
|
}
|
|
3933
4405
|
});
|
|
3934
4406
|
|
|
3935
|
-
$$
|
|
4407
|
+
$$e({ global: true, constructor: true, forced: true }, {
|
|
3936
4408
|
Symbol: SymbolWrapper
|
|
3937
4409
|
});
|
|
3938
4410
|
}
|
|
3939
4411
|
|
|
3940
|
-
var call$
|
|
4412
|
+
var call$3 = functionCall;
|
|
3941
4413
|
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
|
3942
|
-
var anObject$
|
|
3943
|
-
var isNullOrUndefined$
|
|
4414
|
+
var anObject$4 = anObject$o;
|
|
4415
|
+
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
3944
4416
|
var toLength$1 = toLength$5;
|
|
3945
4417
|
var toString$3 = toString$f;
|
|
3946
4418
|
var requireObjectCoercible$2 = requireObjectCoercible$b;
|
|
3947
|
-
var getMethod
|
|
4419
|
+
var getMethod = getMethod$6;
|
|
3948
4420
|
var advanceStringIndex = advanceStringIndex$2;
|
|
3949
4421
|
var regExpExec = regexpExecAbstract;
|
|
3950
4422
|
|
|
@@ -3955,13 +4427,13 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
|
|
|
3955
4427
|
// https://tc39.es/ecma262/#sec-string.prototype.match
|
|
3956
4428
|
function match(regexp) {
|
|
3957
4429
|
var O = requireObjectCoercible$2(this);
|
|
3958
|
-
var matcher = isNullOrUndefined$
|
|
3959
|
-
return matcher ? call$
|
|
4430
|
+
var matcher = isNullOrUndefined$1(regexp) ? undefined : getMethod(regexp, MATCH);
|
|
4431
|
+
return matcher ? call$3(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$3(O));
|
|
3960
4432
|
},
|
|
3961
4433
|
// `RegExp.prototype[@@match]` method
|
|
3962
4434
|
// https://tc39.es/ecma262/#sec-regexp.prototype-@@match
|
|
3963
4435
|
function (string) {
|
|
3964
|
-
var rx = anObject$
|
|
4436
|
+
var rx = anObject$4(this);
|
|
3965
4437
|
var S = toString$3(string);
|
|
3966
4438
|
var res = maybeCallNative(nativeMatch, rx, S);
|
|
3967
4439
|
|
|
@@ -3989,12 +4461,12 @@ fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNa
|
|
|
3989
4461
|
var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
3990
4462
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
3991
4463
|
|
|
3992
|
-
var uncurryThis$
|
|
4464
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
3993
4465
|
var requireObjectCoercible$1 = requireObjectCoercible$b;
|
|
3994
4466
|
var toString$2 = toString$f;
|
|
3995
4467
|
var whitespaces$2 = whitespaces$3;
|
|
3996
4468
|
|
|
3997
|
-
var replace = uncurryThis$
|
|
4469
|
+
var replace = uncurryThis$3(''.replace);
|
|
3998
4470
|
var ltrim = RegExp('^[' + whitespaces$2 + ']+');
|
|
3999
4471
|
var rtrim = RegExp('(^|[^' + whitespaces$2 + '])[' + whitespaces$2 + ']+$');
|
|
4000
4472
|
|
|
@@ -4021,7 +4493,7 @@ var stringTrim = {
|
|
|
4021
4493
|
};
|
|
4022
4494
|
|
|
4023
4495
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4024
|
-
var fails$4 = fails$
|
|
4496
|
+
var fails$4 = fails$t;
|
|
4025
4497
|
var whitespaces$1 = whitespaces$3;
|
|
4026
4498
|
|
|
4027
4499
|
var non = '\u200B\u0085\u180E';
|
|
@@ -4036,13 +4508,13 @@ var stringTrimForced = function (METHOD_NAME) {
|
|
|
4036
4508
|
});
|
|
4037
4509
|
};
|
|
4038
4510
|
|
|
4039
|
-
var $$
|
|
4511
|
+
var $$d = _export;
|
|
4040
4512
|
var $trim = stringTrim.trim;
|
|
4041
4513
|
var forcedStringTrimMethod = stringTrimForced;
|
|
4042
4514
|
|
|
4043
4515
|
// `String.prototype.trim` method
|
|
4044
4516
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
4045
|
-
$$
|
|
4517
|
+
$$d({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
4046
4518
|
trim: function trim() {
|
|
4047
4519
|
return $trim(this);
|
|
4048
4520
|
}
|
|
@@ -4377,8 +4849,8 @@ function fetchRegisterConfigFromOptions$1(options) {
|
|
|
4377
4849
|
return config;
|
|
4378
4850
|
}
|
|
4379
4851
|
const formatSin = value => {
|
|
4380
|
-
const inputVal = value.replace(/ /g, '');
|
|
4381
|
-
let inputNumbersOnly = inputVal.replace(/\D/g, '');
|
|
4852
|
+
const inputVal = value === null || value === void 0 ? void 0 : value.replace(/ /g, '');
|
|
4853
|
+
let inputNumbersOnly = inputVal === null || inputVal === void 0 ? void 0 : inputVal.replace(/\D/g, '');
|
|
4382
4854
|
if (inputNumbersOnly.length > 16) {
|
|
4383
4855
|
inputNumbersOnly = inputNumbersOnly.substr(0, 9);
|
|
4384
4856
|
}
|
|
@@ -5281,6 +5753,7 @@ const GoABaseInputReviewComponent = props => {
|
|
|
5281
5753
|
}
|
|
5282
5754
|
return jsxs("div", {
|
|
5283
5755
|
style: {
|
|
5756
|
+
fontWeight: '400',
|
|
5284
5757
|
textWrap: 'wrap',
|
|
5285
5758
|
wordBreak: 'break-word'
|
|
5286
5759
|
},
|
|
@@ -5300,7 +5773,12 @@ const GoAInputBaseTableReview = props => {
|
|
|
5300
5773
|
const {
|
|
5301
5774
|
data,
|
|
5302
5775
|
uischema,
|
|
5303
|
-
label
|
|
5776
|
+
label,
|
|
5777
|
+
schema,
|
|
5778
|
+
path,
|
|
5779
|
+
errors,
|
|
5780
|
+
enabled,
|
|
5781
|
+
cells
|
|
5304
5782
|
} = props;
|
|
5305
5783
|
const labelToUpdate = convertToSentenceCase(getLabelText(uischema.scope, label || ''));
|
|
5306
5784
|
let reviewText = data;
|
|
@@ -5319,12 +5797,21 @@ const GoAInputBaseTableReview = props => {
|
|
|
5319
5797
|
}
|
|
5320
5798
|
return jsxs("tr", {
|
|
5321
5799
|
"data-testid": `input-base-table-${label}-row`,
|
|
5322
|
-
children: [jsx(PageReviewNameCol, {
|
|
5800
|
+
children: [labelToUpdate && jsx(PageReviewNameCol, {
|
|
5323
5801
|
children: jsx("strong", {
|
|
5324
5802
|
children: labelToUpdate
|
|
5325
5803
|
})
|
|
5326
5804
|
}), jsx(PageReviewValueCol, {
|
|
5327
|
-
children: reviewText
|
|
5805
|
+
children: typeof reviewText === 'string' ? jsx("div", {
|
|
5806
|
+
children: reviewText
|
|
5807
|
+
}) : jsx(JsonFormsDispatch, {
|
|
5808
|
+
"data-testid": `jsonforms-object-list-defined-elements-dispatch`,
|
|
5809
|
+
schema: schema,
|
|
5810
|
+
uischema: uischema,
|
|
5811
|
+
enabled: enabled,
|
|
5812
|
+
renderers: GoAReviewRenderers,
|
|
5813
|
+
cells: cells
|
|
5814
|
+
})
|
|
5328
5815
|
})]
|
|
5329
5816
|
});
|
|
5330
5817
|
};
|
|
@@ -5540,6 +6027,7 @@ const TableReviewPageTitleRow = styled.div(_t16$1 || (_t16$1 = _$6`
|
|
|
5540
6027
|
`));
|
|
5541
6028
|
const TableReviewCategoryLabel = styled.h3(_t17$1 || (_t17$1 = _$6`
|
|
5542
6029
|
color: var(--goa-color-text-secondary) !important;
|
|
6030
|
+
margin-bottom: var(--goa-space-l);
|
|
5543
6031
|
`));
|
|
5544
6032
|
const CategoryStatus = styled.td(_t18$1 || (_t18$1 = _$6`
|
|
5545
6033
|
width: var(--goa-space-xl);
|
|
@@ -5714,31 +6202,17 @@ const RenderStepElements = props => {
|
|
|
5714
6202
|
});
|
|
5715
6203
|
};
|
|
5716
6204
|
|
|
5717
|
-
var uncurryThis$3 = functionUncurryThisClause;
|
|
5718
|
-
var aCallable$6 = aCallable$9;
|
|
5719
|
-
var NATIVE_BIND = functionBindNative;
|
|
5720
|
-
|
|
5721
|
-
var bind$5 = uncurryThis$3(uncurryThis$3.bind);
|
|
5722
|
-
|
|
5723
|
-
// optional / simple context binding
|
|
5724
|
-
var functionBindContext = function (fn, that) {
|
|
5725
|
-
aCallable$6(fn);
|
|
5726
|
-
return that === undefined ? fn : NATIVE_BIND ? bind$5(fn, that) : function (/* ...args */) {
|
|
5727
|
-
return fn.apply(that, arguments);
|
|
5728
|
-
};
|
|
5729
|
-
};
|
|
5730
|
-
|
|
5731
6205
|
var isArray$1 = isArray$4;
|
|
5732
|
-
var lengthOfArrayLike$
|
|
6206
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$7;
|
|
5733
6207
|
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
|
|
5734
|
-
var bind$
|
|
6208
|
+
var bind$3 = functionBindContext;
|
|
5735
6209
|
|
|
5736
6210
|
// `FlattenIntoArray` abstract operation
|
|
5737
6211
|
// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
|
|
5738
6212
|
var flattenIntoArray$1 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) {
|
|
5739
6213
|
var targetIndex = start;
|
|
5740
6214
|
var sourceIndex = 0;
|
|
5741
|
-
var mapFn = mapper ? bind$
|
|
6215
|
+
var mapFn = mapper ? bind$3(mapper, thisArg) : false;
|
|
5742
6216
|
var element, elementLen;
|
|
5743
6217
|
|
|
5744
6218
|
while (sourceIndex < sourceLen) {
|
|
@@ -5746,7 +6220,7 @@ var flattenIntoArray$1 = function (target, original, source, sourceLen, start, d
|
|
|
5746
6220
|
element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
|
|
5747
6221
|
|
|
5748
6222
|
if (depth > 0 && isArray$1(element)) {
|
|
5749
|
-
elementLen = lengthOfArrayLike$
|
|
6223
|
+
elementLen = lengthOfArrayLike$2(element);
|
|
5750
6224
|
targetIndex = flattenIntoArray$1(target, original, element, elementLen, targetIndex, depth - 1) - 1;
|
|
5751
6225
|
} else {
|
|
5752
6226
|
doesNotExceedSafeInteger(targetIndex + 1);
|
|
@@ -5763,9 +6237,9 @@ var flattenIntoArray$1 = function (target, original, source, sourceLen, start, d
|
|
|
5763
6237
|
var flattenIntoArray_1 = flattenIntoArray$1;
|
|
5764
6238
|
|
|
5765
6239
|
var uncurryThis$2 = functionUncurryThis;
|
|
5766
|
-
var fails$3 = fails$
|
|
5767
|
-
var isCallable$4 = isCallable$
|
|
5768
|
-
var classof$
|
|
6240
|
+
var fails$3 = fails$t;
|
|
6241
|
+
var isCallable$4 = isCallable$r;
|
|
6242
|
+
var classof$1 = classof$9;
|
|
5769
6243
|
var getBuiltIn$2 = getBuiltIn$9;
|
|
5770
6244
|
var inspectSource$1 = inspectSource$3;
|
|
5771
6245
|
|
|
@@ -5787,7 +6261,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
5787
6261
|
|
|
5788
6262
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
5789
6263
|
if (!isCallable$4(argument)) return false;
|
|
5790
|
-
switch (classof$
|
|
6264
|
+
switch (classof$1(argument)) {
|
|
5791
6265
|
case 'AsyncFunction':
|
|
5792
6266
|
case 'GeneratorFunction':
|
|
5793
6267
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -5817,9 +6291,9 @@ var isConstructor$2 = !construct || fails$3(function () {
|
|
|
5817
6291
|
var isArray = isArray$4;
|
|
5818
6292
|
var isConstructor$1 = isConstructor$2;
|
|
5819
6293
|
var isObject$2 = isObject$e;
|
|
5820
|
-
var wellKnownSymbol$
|
|
6294
|
+
var wellKnownSymbol$3 = wellKnownSymbol$m;
|
|
5821
6295
|
|
|
5822
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
6296
|
+
var SPECIES$2 = wellKnownSymbol$3('species');
|
|
5823
6297
|
var $Array = Array;
|
|
5824
6298
|
|
|
5825
6299
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
@@ -5845,20 +6319,20 @@ var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
|
5845
6319
|
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
5846
6320
|
};
|
|
5847
6321
|
|
|
5848
|
-
var $$
|
|
6322
|
+
var $$c = _export;
|
|
5849
6323
|
var flattenIntoArray = flattenIntoArray_1;
|
|
5850
6324
|
var toObject$1 = toObject$8;
|
|
5851
|
-
var lengthOfArrayLike$
|
|
6325
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$7;
|
|
5852
6326
|
var toIntegerOrInfinity = toIntegerOrInfinity$7;
|
|
5853
6327
|
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
5854
6328
|
|
|
5855
6329
|
// `Array.prototype.flat` method
|
|
5856
6330
|
// https://tc39.es/ecma262/#sec-array.prototype.flat
|
|
5857
|
-
$$
|
|
6331
|
+
$$c({ target: 'Array', proto: true }, {
|
|
5858
6332
|
flat: function flat(/* depthArg = 1 */) {
|
|
5859
6333
|
var depthArg = arguments.length ? arguments[0] : undefined;
|
|
5860
6334
|
var O = toObject$1(this);
|
|
5861
|
-
var sourceLen = lengthOfArrayLike$
|
|
6335
|
+
var sourceLen = lengthOfArrayLike$1(O);
|
|
5862
6336
|
var A = arraySpeciesCreate(O, 0);
|
|
5863
6337
|
A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));
|
|
5864
6338
|
return A;
|
|
@@ -6294,6 +6768,8 @@ const FormStepper = props => {
|
|
|
6294
6768
|
/**
|
|
6295
6769
|
* StepperCtx can only be provided once to prevent issues from categorization in categorization
|
|
6296
6770
|
* */
|
|
6771
|
+
// eslint-disable-next-line
|
|
6772
|
+
useEffect(() => {}, [formStepperCtx === null || formStepperCtx === void 0 ? void 0 : formStepperCtx.isProvided]);
|
|
6297
6773
|
if ((formStepperCtx === null || formStepperCtx === void 0 ? void 0 : formStepperCtx.isProvided) === true) {
|
|
6298
6774
|
return jsx(FormStepperView, Object.assign({}, props));
|
|
6299
6775
|
}
|
|
@@ -6517,12 +6993,12 @@ const BackButton = ({
|
|
|
6517
6993
|
});
|
|
6518
6994
|
};
|
|
6519
6995
|
|
|
6520
|
-
var aCallable$
|
|
6996
|
+
var aCallable$6 = aCallable$g;
|
|
6521
6997
|
var toObject = toObject$8;
|
|
6522
6998
|
var IndexedObject = indexedObject;
|
|
6523
|
-
var lengthOfArrayLike
|
|
6999
|
+
var lengthOfArrayLike = lengthOfArrayLike$7;
|
|
6524
7000
|
|
|
6525
|
-
var $TypeError$
|
|
7001
|
+
var $TypeError$4 = TypeError;
|
|
6526
7002
|
|
|
6527
7003
|
var REDUCE_EMPTY = 'Reduce of empty array with no initial value';
|
|
6528
7004
|
|
|
@@ -6531,9 +7007,9 @@ var createMethod = function (IS_RIGHT) {
|
|
|
6531
7007
|
return function (that, callbackfn, argumentsLength, memo) {
|
|
6532
7008
|
var O = toObject(that);
|
|
6533
7009
|
var self = IndexedObject(O);
|
|
6534
|
-
var length = lengthOfArrayLike
|
|
6535
|
-
aCallable$
|
|
6536
|
-
if (length === 0 && argumentsLength < 2) throw new $TypeError$
|
|
7010
|
+
var length = lengthOfArrayLike(O);
|
|
7011
|
+
aCallable$6(callbackfn);
|
|
7012
|
+
if (length === 0 && argumentsLength < 2) throw new $TypeError$4(REDUCE_EMPTY);
|
|
6537
7013
|
var index = IS_RIGHT ? length - 1 : 0;
|
|
6538
7014
|
var i = IS_RIGHT ? -1 : 1;
|
|
6539
7015
|
if (argumentsLength < 2) while (true) {
|
|
@@ -6544,7 +7020,7 @@ var createMethod = function (IS_RIGHT) {
|
|
|
6544
7020
|
}
|
|
6545
7021
|
index += i;
|
|
6546
7022
|
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
6547
|
-
throw new $TypeError$
|
|
7023
|
+
throw new $TypeError$4(REDUCE_EMPTY);
|
|
6548
7024
|
}
|
|
6549
7025
|
}
|
|
6550
7026
|
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
@@ -6563,7 +7039,7 @@ var arrayReduce = {
|
|
|
6563
7039
|
right: createMethod(true)
|
|
6564
7040
|
};
|
|
6565
7041
|
|
|
6566
|
-
var fails$2 = fails$
|
|
7042
|
+
var fails$2 = fails$t;
|
|
6567
7043
|
|
|
6568
7044
|
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
6569
7045
|
var method = [][METHOD_NAME];
|
|
@@ -6573,12 +7049,12 @@ var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
|
6573
7049
|
});
|
|
6574
7050
|
};
|
|
6575
7051
|
|
|
6576
|
-
var global$8 = global$
|
|
6577
|
-
var classof
|
|
7052
|
+
var global$8 = global$q;
|
|
7053
|
+
var classof = classofRaw$2;
|
|
6578
7054
|
|
|
6579
|
-
var engineIsNode = classof
|
|
7055
|
+
var engineIsNode = classof(global$8.process) === 'process';
|
|
6580
7056
|
|
|
6581
|
-
var $$
|
|
7057
|
+
var $$b = _export;
|
|
6582
7058
|
var $reduce = arrayReduce.left;
|
|
6583
7059
|
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
6584
7060
|
var CHROME_VERSION = engineV8Version;
|
|
@@ -6591,13 +7067,45 @@ var FORCED$1 = CHROME_BUG || !arrayMethodIsStrict('reduce');
|
|
|
6591
7067
|
|
|
6592
7068
|
// `Array.prototype.reduce` method
|
|
6593
7069
|
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
6594
|
-
$$
|
|
7070
|
+
$$b({ target: 'Array', proto: true, forced: FORCED$1 }, {
|
|
6595
7071
|
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
6596
7072
|
var length = arguments.length;
|
|
6597
7073
|
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
6598
7074
|
}
|
|
6599
7075
|
});
|
|
6600
7076
|
|
|
7077
|
+
var $$a = _export;
|
|
7078
|
+
var iterate$4 = iterate$8;
|
|
7079
|
+
var aCallable$5 = aCallable$g;
|
|
7080
|
+
var anObject$3 = anObject$o;
|
|
7081
|
+
var getIteratorDirect$1 = getIteratorDirect$7;
|
|
7082
|
+
|
|
7083
|
+
var $TypeError$3 = TypeError;
|
|
7084
|
+
|
|
7085
|
+
// `Iterator.prototype.reduce` method
|
|
7086
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
7087
|
+
$$a({ target: 'Iterator', proto: true, real: true }, {
|
|
7088
|
+
reduce: function reduce(reducer /* , initialValue */) {
|
|
7089
|
+
anObject$3(this);
|
|
7090
|
+
aCallable$5(reducer);
|
|
7091
|
+
var record = getIteratorDirect$1(this);
|
|
7092
|
+
var noInitial = arguments.length < 2;
|
|
7093
|
+
var accumulator = noInitial ? undefined : arguments[1];
|
|
7094
|
+
var counter = 0;
|
|
7095
|
+
iterate$4(record, function (value) {
|
|
7096
|
+
if (noInitial) {
|
|
7097
|
+
noInitial = false;
|
|
7098
|
+
accumulator = value;
|
|
7099
|
+
} else {
|
|
7100
|
+
accumulator = reducer(accumulator, value, counter);
|
|
7101
|
+
}
|
|
7102
|
+
counter++;
|
|
7103
|
+
}, { IS_RECORD: true });
|
|
7104
|
+
if (noInitial) throw new $TypeError$3('Reduce of empty iterator with no initial value');
|
|
7105
|
+
return accumulator;
|
|
7106
|
+
}
|
|
7107
|
+
});
|
|
7108
|
+
|
|
6601
7109
|
var PageStatus;
|
|
6602
7110
|
(function (PageStatus) {
|
|
6603
7111
|
PageStatus["Complete"] = "Completed";
|
|
@@ -6695,7 +7203,7 @@ const FormStepperPageReviewer = props => {
|
|
|
6695
7203
|
children: "Review your answers"
|
|
6696
7204
|
}), categories.map((category, index) => {
|
|
6697
7205
|
const categoryLabel = category.label || category.i18n || 'Unknown Category';
|
|
6698
|
-
return jsxs(
|
|
7206
|
+
return jsxs(Row, {
|
|
6699
7207
|
children: [jsx("div", {
|
|
6700
7208
|
children: jsxs(TableReviewPageTitleRow, {
|
|
6701
7209
|
children: [jsx(TableReviewCategoryLabel, {
|
|
@@ -7251,165 +7759,24 @@ const FileUploaderStyle = styled.div(_t4$2 || (_t4$2 = _$3`
|
|
|
7251
7759
|
|
|
7252
7760
|
const FileUploaderTester = rankWith(3, and(schemaTypeIs('string'), formatIs('file-urn')));
|
|
7253
7761
|
|
|
7254
|
-
var
|
|
7255
|
-
var
|
|
7256
|
-
|
|
7257
|
-
var ITERATOR$3 = wellKnownSymbol$4('iterator');
|
|
7258
|
-
var ArrayPrototype = Array.prototype;
|
|
7259
|
-
|
|
7260
|
-
// check on default Array iterator
|
|
7261
|
-
var isArrayIteratorMethod$1 = function (it) {
|
|
7262
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
|
|
7263
|
-
};
|
|
7264
|
-
|
|
7265
|
-
var classof = classof$9;
|
|
7266
|
-
var getMethod$1 = getMethod$5;
|
|
7267
|
-
var isNullOrUndefined$1 = isNullOrUndefined$6;
|
|
7268
|
-
var Iterators = iterators;
|
|
7269
|
-
var wellKnownSymbol$3 = wellKnownSymbol$k;
|
|
7270
|
-
|
|
7271
|
-
var ITERATOR$2 = wellKnownSymbol$3('iterator');
|
|
7272
|
-
|
|
7273
|
-
var getIteratorMethod$2 = function (it) {
|
|
7274
|
-
if (!isNullOrUndefined$1(it)) return getMethod$1(it, ITERATOR$2)
|
|
7275
|
-
|| getMethod$1(it, '@@iterator')
|
|
7276
|
-
|| Iterators[classof(it)];
|
|
7277
|
-
};
|
|
7278
|
-
|
|
7279
|
-
var call$5 = functionCall;
|
|
7280
|
-
var aCallable$4 = aCallable$9;
|
|
7281
|
-
var anObject$4 = anObject$f;
|
|
7282
|
-
var tryToString$2 = tryToString$4;
|
|
7283
|
-
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
7284
|
-
|
|
7285
|
-
var $TypeError$5 = TypeError;
|
|
7286
|
-
|
|
7287
|
-
var getIterator$1 = function (argument, usingIterator) {
|
|
7288
|
-
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
7289
|
-
if (aCallable$4(iteratorMethod)) return anObject$4(call$5(iteratorMethod, argument));
|
|
7290
|
-
throw new $TypeError$5(tryToString$2(argument) + ' is not iterable');
|
|
7291
|
-
};
|
|
7292
|
-
|
|
7293
|
-
var call$4 = functionCall;
|
|
7294
|
-
var anObject$3 = anObject$f;
|
|
7295
|
-
var getMethod = getMethod$5;
|
|
7296
|
-
|
|
7297
|
-
var iteratorClose$1 = function (iterator, kind, value) {
|
|
7298
|
-
var innerResult, innerError;
|
|
7299
|
-
anObject$3(iterator);
|
|
7300
|
-
try {
|
|
7301
|
-
innerResult = getMethod(iterator, 'return');
|
|
7302
|
-
if (!innerResult) {
|
|
7303
|
-
if (kind === 'throw') throw value;
|
|
7304
|
-
return value;
|
|
7305
|
-
}
|
|
7306
|
-
innerResult = call$4(innerResult, iterator);
|
|
7307
|
-
} catch (error) {
|
|
7308
|
-
innerError = true;
|
|
7309
|
-
innerResult = error;
|
|
7310
|
-
}
|
|
7311
|
-
if (kind === 'throw') throw value;
|
|
7312
|
-
if (innerError) throw innerResult;
|
|
7313
|
-
anObject$3(innerResult);
|
|
7314
|
-
return value;
|
|
7315
|
-
};
|
|
7316
|
-
|
|
7317
|
-
var bind$3 = functionBindContext;
|
|
7318
|
-
var call$3 = functionCall;
|
|
7319
|
-
var anObject$2 = anObject$f;
|
|
7320
|
-
var tryToString$1 = tryToString$4;
|
|
7321
|
-
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
7322
|
-
var lengthOfArrayLike = lengthOfArrayLike$7;
|
|
7323
|
-
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
7324
|
-
var getIterator = getIterator$1;
|
|
7325
|
-
var getIteratorMethod = getIteratorMethod$2;
|
|
7326
|
-
var iteratorClose = iteratorClose$1;
|
|
7327
|
-
|
|
7328
|
-
var $TypeError$4 = TypeError;
|
|
7329
|
-
|
|
7330
|
-
var Result = function (stopped, result) {
|
|
7331
|
-
this.stopped = stopped;
|
|
7332
|
-
this.result = result;
|
|
7333
|
-
};
|
|
7334
|
-
|
|
7335
|
-
var ResultPrototype = Result.prototype;
|
|
7336
|
-
|
|
7337
|
-
var iterate$3 = function (iterable, unboundFunction, options) {
|
|
7338
|
-
var that = options && options.that;
|
|
7339
|
-
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
7340
|
-
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
7341
|
-
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
7342
|
-
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
7343
|
-
var fn = bind$3(unboundFunction, that);
|
|
7344
|
-
var iterator, iterFn, index, length, result, next, step;
|
|
7345
|
-
|
|
7346
|
-
var stop = function (condition) {
|
|
7347
|
-
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
7348
|
-
return new Result(true, condition);
|
|
7349
|
-
};
|
|
7350
|
-
|
|
7351
|
-
var callFn = function (value) {
|
|
7352
|
-
if (AS_ENTRIES) {
|
|
7353
|
-
anObject$2(value);
|
|
7354
|
-
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
7355
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
7356
|
-
};
|
|
7357
|
-
|
|
7358
|
-
if (IS_RECORD) {
|
|
7359
|
-
iterator = iterable.iterator;
|
|
7360
|
-
} else if (IS_ITERATOR) {
|
|
7361
|
-
iterator = iterable;
|
|
7362
|
-
} else {
|
|
7363
|
-
iterFn = getIteratorMethod(iterable);
|
|
7364
|
-
if (!iterFn) throw new $TypeError$4(tryToString$1(iterable) + ' is not iterable');
|
|
7365
|
-
// optimisation for array iterators
|
|
7366
|
-
if (isArrayIteratorMethod(iterFn)) {
|
|
7367
|
-
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
7368
|
-
result = callFn(iterable[index]);
|
|
7369
|
-
if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
7370
|
-
} return new Result(false);
|
|
7371
|
-
}
|
|
7372
|
-
iterator = getIterator(iterable, iterFn);
|
|
7373
|
-
}
|
|
7374
|
-
|
|
7375
|
-
next = IS_RECORD ? iterable.next : iterator.next;
|
|
7376
|
-
while (!(step = call$3(next, iterator)).done) {
|
|
7377
|
-
try {
|
|
7378
|
-
result = callFn(step.value);
|
|
7379
|
-
} catch (error) {
|
|
7380
|
-
iteratorClose(iterator, 'throw', error);
|
|
7381
|
-
}
|
|
7382
|
-
if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
|
|
7383
|
-
} return new Result(false);
|
|
7384
|
-
};
|
|
7385
|
-
|
|
7386
|
-
var DESCRIPTORS$1 = descriptors;
|
|
7387
|
-
var definePropertyModule = objectDefineProperty;
|
|
7388
|
-
var createPropertyDescriptor = createPropertyDescriptor$5;
|
|
7389
|
-
|
|
7390
|
-
var createProperty$1 = function (object, key, value) {
|
|
7391
|
-
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
7392
|
-
else object[key] = value;
|
|
7393
|
-
};
|
|
7394
|
-
|
|
7395
|
-
var $$8 = _export;
|
|
7396
|
-
var iterate$2 = iterate$3;
|
|
7397
|
-
var createProperty = createProperty$1;
|
|
7762
|
+
var $$9 = _export;
|
|
7763
|
+
var iterate$3 = iterate$8;
|
|
7764
|
+
var createProperty = createProperty$2;
|
|
7398
7765
|
|
|
7399
7766
|
// `Object.fromEntries` method
|
|
7400
7767
|
// https://github.com/tc39/proposal-object-from-entries
|
|
7401
|
-
$$
|
|
7768
|
+
$$9({ target: 'Object', stat: true }, {
|
|
7402
7769
|
fromEntries: function fromEntries(iterable) {
|
|
7403
7770
|
var obj = {};
|
|
7404
|
-
iterate$
|
|
7771
|
+
iterate$3(iterable, function (k, v) {
|
|
7405
7772
|
createProperty(obj, k, v);
|
|
7406
7773
|
}, { AS_ENTRIES: true });
|
|
7407
7774
|
return obj;
|
|
7408
7775
|
}
|
|
7409
7776
|
});
|
|
7410
7777
|
|
|
7411
|
-
var global$7 = global$
|
|
7412
|
-
var fails$1 = fails$
|
|
7778
|
+
var global$7 = global$q;
|
|
7779
|
+
var fails$1 = fails$t;
|
|
7413
7780
|
var uncurryThis$1 = functionUncurryThis;
|
|
7414
7781
|
var toString$1 = toString$f;
|
|
7415
7782
|
var trim = stringTrim.trim;
|
|
@@ -7431,12 +7798,12 @@ var numberParseInt = FORCED ? function parseInt(string, radix) {
|
|
|
7431
7798
|
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
7432
7799
|
} : $parseInt$1;
|
|
7433
7800
|
|
|
7434
|
-
var $$
|
|
7801
|
+
var $$8 = _export;
|
|
7435
7802
|
var $parseInt = numberParseInt;
|
|
7436
7803
|
|
|
7437
7804
|
// `parseInt` method
|
|
7438
7805
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
7439
|
-
$$
|
|
7806
|
+
$$8({ global: true, forced: parseInt !== $parseInt }, {
|
|
7440
7807
|
parseInt: $parseInt
|
|
7441
7808
|
});
|
|
7442
7809
|
|
|
@@ -7725,21 +8092,6 @@ const ObjectArrayToolBar = /*#__PURE__*/React.memo(function TableToolbar({
|
|
|
7725
8092
|
});
|
|
7726
8093
|
});
|
|
7727
8094
|
|
|
7728
|
-
const extractNestedFields = (properties, propertyKeys) => {
|
|
7729
|
-
const nestedItems = {};
|
|
7730
|
-
propertyKeys.forEach(key => {
|
|
7731
|
-
var _a, _b;
|
|
7732
|
-
if (properties[key].type === 'array') {
|
|
7733
|
-
const propItems = properties[key] && ((_a = properties[key].items) === null || _a === void 0 ? void 0 : _a.properties) || [];
|
|
7734
|
-
const propReqItems = properties[key].items && ((_b = properties[key].items) === null || _b === void 0 ? void 0 : _b.required) || [];
|
|
7735
|
-
nestedItems[key] = {
|
|
7736
|
-
properties: [...Object.keys(propItems)],
|
|
7737
|
-
required: [...Object.keys(propReqItems)]
|
|
7738
|
-
};
|
|
7739
|
-
}
|
|
7740
|
-
});
|
|
7741
|
-
return nestedItems;
|
|
7742
|
-
};
|
|
7743
8095
|
/**
|
|
7744
8096
|
* Extract Json data schema name attribute and the ui schema label name.
|
|
7745
8097
|
* @param obj
|
|
@@ -7764,12 +8116,38 @@ const extractNames = (obj, names = {}) => {
|
|
|
7764
8116
|
}
|
|
7765
8117
|
return names;
|
|
7766
8118
|
};
|
|
8119
|
+
const DataTable = ({
|
|
8120
|
+
itemsSchema,
|
|
8121
|
+
data
|
|
8122
|
+
}) => {
|
|
8123
|
+
var _a;
|
|
8124
|
+
return jsxs(GoATable, {
|
|
8125
|
+
width: "100%",
|
|
8126
|
+
children: [jsx("thead", {
|
|
8127
|
+
children: jsx("tr", {
|
|
8128
|
+
children: itemsSchema && ((_a = Object.keys(itemsSchema)) === null || _a === void 0 ? void 0 : _a.map((headNames, ix) => {
|
|
8129
|
+
return jsx("th", {
|
|
8130
|
+
children: headNames
|
|
8131
|
+
}, ix);
|
|
8132
|
+
}))
|
|
8133
|
+
})
|
|
8134
|
+
}), jsx("tbody", {
|
|
8135
|
+
children: data.map((obj, index) => jsx("tr", {
|
|
8136
|
+
children: itemsSchema && Object.keys(itemsSchema).map((headNames, ix) => {
|
|
8137
|
+
return jsx("td", {
|
|
8138
|
+
children: obj[headNames]
|
|
8139
|
+
}, ix);
|
|
8140
|
+
})
|
|
8141
|
+
}, index))
|
|
8142
|
+
})]
|
|
8143
|
+
});
|
|
8144
|
+
};
|
|
7767
8145
|
const isObjectArrayEmpty = currentData => {
|
|
7768
8146
|
const result = isEmpty$1(currentData) || JSON.stringify(currentData) === '[{}]';
|
|
7769
8147
|
return result;
|
|
7770
8148
|
};
|
|
7771
8149
|
const renderCellColumn = ({
|
|
7772
|
-
|
|
8150
|
+
data,
|
|
7773
8151
|
error,
|
|
7774
8152
|
errors,
|
|
7775
8153
|
index,
|
|
@@ -7791,38 +8169,39 @@ const renderCellColumn = ({
|
|
|
7791
8169
|
})
|
|
7792
8170
|
});
|
|
7793
8171
|
};
|
|
7794
|
-
if (
|
|
7795
|
-
return renderWarningCell(
|
|
7796
|
-
} else if (
|
|
7797
|
-
return renderWarningCell(
|
|
8172
|
+
if (data === undefined && isRequired || error !== '' && error !== undefined) {
|
|
8173
|
+
return renderWarningCell(data);
|
|
8174
|
+
} else if (data !== undefined && isRequired && error) {
|
|
8175
|
+
return renderWarningCell(data);
|
|
7798
8176
|
}
|
|
7799
8177
|
const path = `/${rowPath}/${index}/${element}/${index === 0 ? index : index - 1}`;
|
|
7800
8178
|
const nestedErrors = errors === null || errors === void 0 ? void 0 : errors.filter(e => e.instancePath.includes(path));
|
|
7801
8179
|
/* istanbul ignore next */
|
|
7802
|
-
if (typeof
|
|
7803
|
-
return
|
|
7804
|
-
} else if (typeof
|
|
7805
|
-
const result = Object.keys(
|
|
8180
|
+
if (typeof data === 'string') {
|
|
8181
|
+
return data;
|
|
8182
|
+
} else if (typeof data === 'object' || Array.isArray(data)) {
|
|
8183
|
+
const result = Object.keys(data);
|
|
7806
8184
|
if (!isRequired && nestedErrors.length === 0) {
|
|
7807
8185
|
return jsx("pre", {
|
|
7808
|
-
children: JSON.stringify(
|
|
8186
|
+
children: JSON.stringify(data, null, 2)
|
|
7809
8187
|
});
|
|
7810
8188
|
} else if (result.length === 0) {
|
|
7811
8189
|
return renderWarningCell();
|
|
7812
|
-
} else if (result.length > 0 && (isObjectArrayEmpty(
|
|
8190
|
+
} else if (result.length > 0 && (isObjectArrayEmpty(data) || nestedErrors.length > 0)) {
|
|
7813
8191
|
return jsx("pre", {
|
|
7814
|
-
children: renderWarningCell(JSON.stringify(
|
|
8192
|
+
children: renderWarningCell(JSON.stringify(data, null, 2))
|
|
7815
8193
|
});
|
|
7816
|
-
} else if (
|
|
7817
|
-
const values = Object.values(
|
|
8194
|
+
} else if (data !== undefined && result.length > 0 && error !== '' && error !== undefined) {
|
|
8195
|
+
const values = Object.values(data);
|
|
7818
8196
|
if (values && values.length > 0) {
|
|
7819
8197
|
return jsx("pre", {
|
|
7820
8198
|
children: renderWarningCell(JSON.stringify(values.at(0), null, 2))
|
|
7821
8199
|
});
|
|
7822
8200
|
}
|
|
7823
8201
|
} else {
|
|
7824
|
-
return jsx(
|
|
7825
|
-
|
|
8202
|
+
return jsx(DataTable, {
|
|
8203
|
+
itemsSchema: data[0],
|
|
8204
|
+
data: data
|
|
7826
8205
|
});
|
|
7827
8206
|
}
|
|
7828
8207
|
}
|
|
@@ -7843,14 +8222,14 @@ const GenerateRows$1 = (Cell, schema, rowPath, enabled, openDeleteDialog, handle
|
|
|
7843
8222
|
handleChange,
|
|
7844
8223
|
errors
|
|
7845
8224
|
};
|
|
7846
|
-
return
|
|
8225
|
+
return jsx("div", {
|
|
7847
8226
|
style: {
|
|
7848
8227
|
display: 'flex',
|
|
7849
8228
|
flexDirection: 'column'
|
|
7850
8229
|
},
|
|
7851
|
-
children:
|
|
8230
|
+
children: jsx(Cell, Object.assign({}, props, {
|
|
7852
8231
|
count: count || 0
|
|
7853
|
-
}))
|
|
8232
|
+
}))
|
|
7854
8233
|
});
|
|
7855
8234
|
} else {
|
|
7856
8235
|
const props = {
|
|
@@ -7871,10 +8250,7 @@ const GenerateRows$1 = (Cell, schema, rowPath, enabled, openDeleteDialog, handle
|
|
|
7871
8250
|
};
|
|
7872
8251
|
const getValidColumnProps$1 = scopedSchema => {
|
|
7873
8252
|
if (scopedSchema.type === 'object' && typeof scopedSchema.properties === 'object') {
|
|
7874
|
-
return Object.keys(scopedSchema.properties)
|
|
7875
|
-
var _a;
|
|
7876
|
-
return ((_a = scopedSchema.properties) === null || _a === void 0 ? void 0 : _a[prop].type) !== 'array';
|
|
7877
|
-
});
|
|
8253
|
+
return Object.keys(scopedSchema.properties);
|
|
7878
8254
|
}
|
|
7879
8255
|
// primitives
|
|
7880
8256
|
return [''];
|
|
@@ -7905,7 +8281,7 @@ const ctxToNonEmptyCellProps$1 = (ctx, ownProps) => {
|
|
|
7905
8281
|
};
|
|
7906
8282
|
};
|
|
7907
8283
|
const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellComponent(props) {
|
|
7908
|
-
var _a, _b, _c, _d;
|
|
8284
|
+
var _a, _b, _c, _d, _e;
|
|
7909
8285
|
const {
|
|
7910
8286
|
schema,
|
|
7911
8287
|
enabled,
|
|
@@ -7920,31 +8296,30 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
|
|
|
7920
8296
|
handleChange,
|
|
7921
8297
|
errors
|
|
7922
8298
|
} = props;
|
|
7923
|
-
const
|
|
7924
|
-
const required =
|
|
7925
|
-
const
|
|
7926
|
-
|
|
7927
|
-
let tableKeys = extractNames((_b = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _b === void 0 ? void 0 : _b.detail);
|
|
8299
|
+
const element = (schema === null || schema === void 0 ? void 0 : schema.items) || ((_b = (_a = schema === null || schema === void 0 ? void 0 : schema.properties) === null || _a === void 0 ? void 0 : _a[rowPath]) === null || _b === void 0 ? void 0 : _b.items);
|
|
8300
|
+
const required = element === null || element === void 0 ? void 0 : element.required;
|
|
8301
|
+
const properties = element === null || element === void 0 ? void 0 : element.properties;
|
|
8302
|
+
let tableKeys = extractNames((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.detail);
|
|
7928
8303
|
if (Object.keys(tableKeys).length === 0) {
|
|
7929
|
-
Object.keys(properties).forEach(item => {
|
|
8304
|
+
properties && Object.keys(properties).forEach(item => {
|
|
7930
8305
|
tableKeys[item] = item;
|
|
7931
8306
|
});
|
|
7932
8307
|
}
|
|
7933
|
-
if (Object.keys(properties).length !== Object.keys(tableKeys).length) {
|
|
8308
|
+
if (properties && Object.keys(properties).length !== Object.keys(tableKeys).length) {
|
|
7934
8309
|
const tempTableKeys = {};
|
|
7935
8310
|
//For nested objects to display only the top level column.
|
|
7936
|
-
Object.keys(properties).forEach(item => {
|
|
8311
|
+
properties && Object.keys(properties).forEach(item => {
|
|
7937
8312
|
if (Object.keys(tableKeys).includes(item)) {
|
|
7938
8313
|
tempTableKeys[item] = tableKeys[item];
|
|
7939
8314
|
}
|
|
7940
8315
|
});
|
|
7941
8316
|
tableKeys = tempTableKeys;
|
|
7942
8317
|
}
|
|
7943
|
-
const hasAnyErrors = Array.isArray(errors) ? ((
|
|
8318
|
+
const hasAnyErrors = Array.isArray(errors) ? ((_d = errors === null || errors === void 0 ? void 0 : errors.filter(err => {
|
|
7944
8319
|
return err.instancePath.includes(rowPath);
|
|
7945
|
-
})) === null ||
|
|
8320
|
+
})) === null || _d === void 0 ? void 0 : _d.length) > 0 : false;
|
|
7946
8321
|
return jsxs(NonEmptyCellStyle, {
|
|
7947
|
-
children: [(
|
|
8322
|
+
children: [(_e = uischema === null || uischema === void 0 ? void 0 : uischema.elements) === null || _e === void 0 ? void 0 : _e.map(element => {
|
|
7948
8323
|
return jsx(JsonFormsDispatch, {
|
|
7949
8324
|
"data-testid": `jsonforms-object-list-defined-elements-dispatch`,
|
|
7950
8325
|
schema: schema,
|
|
@@ -7954,7 +8329,7 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
|
|
|
7954
8329
|
renderers: isInReview ? GoAReviewRenderers : renderers,
|
|
7955
8330
|
cells: cells
|
|
7956
8331
|
}, rowPath);
|
|
7957
|
-
}), Object.keys(properties).length > 0 && jsxs(Fragment, {
|
|
8332
|
+
}), properties && Object.keys(properties).length > 0 && jsxs(Fragment, {
|
|
7958
8333
|
children: [jsxs(GoATable, {
|
|
7959
8334
|
width: "100%",
|
|
7960
8335
|
children: [jsx("thead", {
|
|
@@ -8005,7 +8380,7 @@ const NonEmptyCellComponent$1 = /*#__PURE__*/React.memo(function NonEmptyCellCom
|
|
|
8005
8380
|
children: jsx("div", {
|
|
8006
8381
|
"data-testid": `#/properties/${schemaName}-input-${i}-review`,
|
|
8007
8382
|
children: renderCellColumn({
|
|
8008
|
-
currentData,
|
|
8383
|
+
data: currentData,
|
|
8009
8384
|
error: error === null || error === void 0 ? void 0 : error.message,
|
|
8010
8385
|
isRequired: (_a = required === null || required === void 0 ? void 0 : required.includes(tableKeys[element])) !== null && _a !== void 0 ? _a : false,
|
|
8011
8386
|
errors: errors !== undefined ? errors : [],
|
|
@@ -9033,7 +9408,7 @@ const AddressInputs = ({
|
|
|
9033
9408
|
});
|
|
9034
9409
|
};
|
|
9035
9410
|
|
|
9036
|
-
var $$
|
|
9411
|
+
var $$7 = _export;
|
|
9037
9412
|
var uncurryThis = functionUncurryThisClause;
|
|
9038
9413
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
9039
9414
|
var toLength = toLength$5;
|
|
@@ -9054,7 +9429,7 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
|
|
|
9054
9429
|
|
|
9055
9430
|
// `String.prototype.endsWith` method
|
|
9056
9431
|
// https://tc39.es/ecma262/#sec-string.prototype.endswith
|
|
9057
|
-
$$
|
|
9432
|
+
$$7({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
|
|
9058
9433
|
endsWith: function endsWith(searchString /* , endPosition = @length */) {
|
|
9059
9434
|
var that = toString(requireObjectCoercible(this));
|
|
9060
9435
|
notARegExp(searchString);
|
|
@@ -9758,6 +10133,26 @@ const AddressLoopUpControlTableReview = props => {
|
|
|
9758
10133
|
});
|
|
9759
10134
|
};
|
|
9760
10135
|
|
|
10136
|
+
var $$6 = _export;
|
|
10137
|
+
var iterate$2 = iterate$8;
|
|
10138
|
+
var aCallable$4 = aCallable$g;
|
|
10139
|
+
var anObject$2 = anObject$o;
|
|
10140
|
+
var getIteratorDirect = getIteratorDirect$7;
|
|
10141
|
+
|
|
10142
|
+
// `Iterator.prototype.every` method
|
|
10143
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
10144
|
+
$$6({ target: 'Iterator', proto: true, real: true }, {
|
|
10145
|
+
every: function every(predicate) {
|
|
10146
|
+
anObject$2(this);
|
|
10147
|
+
aCallable$4(predicate);
|
|
10148
|
+
var record = getIteratorDirect(this);
|
|
10149
|
+
var counter = 0;
|
|
10150
|
+
return !iterate$2(record, function (value, stop) {
|
|
10151
|
+
if (!predicate(value, counter++)) return stop();
|
|
10152
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
10153
|
+
}
|
|
10154
|
+
});
|
|
10155
|
+
|
|
9761
10156
|
const isPropertiesMatch = (obj, props, isExactMatch) => {
|
|
9762
10157
|
if (isObject$f(obj)) {
|
|
9763
10158
|
const keys = Object.keys(obj);
|
|
@@ -10496,15 +10891,6 @@ const createDefaultAjv = (...schemas) => {
|
|
|
10496
10891
|
return ajv;
|
|
10497
10892
|
};
|
|
10498
10893
|
|
|
10499
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
10500
|
-
|
|
10501
|
-
var $TypeError$3 = TypeError;
|
|
10502
|
-
|
|
10503
|
-
var anInstance$1 = function (it, Prototype) {
|
|
10504
|
-
if (isPrototypeOf(Prototype, it)) return it;
|
|
10505
|
-
throw new $TypeError$3('Incorrect invocation');
|
|
10506
|
-
};
|
|
10507
|
-
|
|
10508
10894
|
var isConstructor = isConstructor$2;
|
|
10509
10895
|
var tryToString = tryToString$4;
|
|
10510
10896
|
|
|
@@ -10516,10 +10902,10 @@ var aConstructor$1 = function (argument) {
|
|
|
10516
10902
|
throw new $TypeError$2(tryToString(argument) + ' is not a constructor');
|
|
10517
10903
|
};
|
|
10518
10904
|
|
|
10519
|
-
var anObject$1 = anObject$
|
|
10905
|
+
var anObject$1 = anObject$o;
|
|
10520
10906
|
var aConstructor = aConstructor$1;
|
|
10521
10907
|
var isNullOrUndefined = isNullOrUndefined$6;
|
|
10522
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
10908
|
+
var wellKnownSymbol$2 = wellKnownSymbol$m;
|
|
10523
10909
|
|
|
10524
10910
|
var SPECIES$1 = wellKnownSymbol$2('species');
|
|
10525
10911
|
|
|
@@ -10543,12 +10929,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
10543
10929
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
|
10544
10930
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
10545
10931
|
|
|
10546
|
-
var global$6 = global$
|
|
10932
|
+
var global$6 = global$q;
|
|
10547
10933
|
var apply = functionApply;
|
|
10548
10934
|
var bind$2 = functionBindContext;
|
|
10549
|
-
var isCallable$3 = isCallable$
|
|
10935
|
+
var isCallable$3 = isCallable$r;
|
|
10550
10936
|
var hasOwn = hasOwnProperty_1;
|
|
10551
|
-
var fails = fails$
|
|
10937
|
+
var fails = fails$t;
|
|
10552
10938
|
var html = html$2;
|
|
10553
10939
|
var arraySlice = arraySlice$2;
|
|
10554
10940
|
var createElement = documentCreateElement$2;
|
|
@@ -10660,7 +11046,7 @@ var task$1 = {
|
|
|
10660
11046
|
clear: clear
|
|
10661
11047
|
};
|
|
10662
11048
|
|
|
10663
|
-
var global$5 = global$
|
|
11049
|
+
var global$5 = global$q;
|
|
10664
11050
|
var DESCRIPTORS = descriptors;
|
|
10665
11051
|
|
|
10666
11052
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -10706,7 +11092,7 @@ var userAgent = engineUserAgent;
|
|
|
10706
11092
|
|
|
10707
11093
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
10708
11094
|
|
|
10709
|
-
var global$4 = global$
|
|
11095
|
+
var global$4 = global$q;
|
|
10710
11096
|
var safeGetBuiltIn = safeGetBuiltIn$1;
|
|
10711
11097
|
var bind$1 = functionBindContext;
|
|
10712
11098
|
var macrotask = task$1.set;
|
|
@@ -10800,7 +11186,7 @@ var perform$3 = function (exec) {
|
|
|
10800
11186
|
}
|
|
10801
11187
|
};
|
|
10802
11188
|
|
|
10803
|
-
var global$3 = global$
|
|
11189
|
+
var global$3 = global$q;
|
|
10804
11190
|
|
|
10805
11191
|
var promiseNativeConstructor = global$3.Promise;
|
|
10806
11192
|
|
|
@@ -10814,12 +11200,12 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
|
10814
11200
|
&& typeof window == 'object'
|
|
10815
11201
|
&& typeof document == 'object';
|
|
10816
11202
|
|
|
10817
|
-
var global$2 = global$
|
|
11203
|
+
var global$2 = global$q;
|
|
10818
11204
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
10819
|
-
var isCallable$2 = isCallable$
|
|
11205
|
+
var isCallable$2 = isCallable$r;
|
|
10820
11206
|
var isForced = isForced_1;
|
|
10821
11207
|
var inspectSource = inspectSource$3;
|
|
10822
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
11208
|
+
var wellKnownSymbol$1 = wellKnownSymbol$m;
|
|
10823
11209
|
var IS_BROWSER = engineIsBrowser;
|
|
10824
11210
|
var IS_DENO = engineIsDeno;
|
|
10825
11211
|
var V8_VERSION = engineV8Version;
|
|
@@ -10861,7 +11247,7 @@ var promiseConstructorDetection = {
|
|
|
10861
11247
|
|
|
10862
11248
|
var newPromiseCapability$2 = {};
|
|
10863
11249
|
|
|
10864
|
-
var aCallable$3 = aCallable$
|
|
11250
|
+
var aCallable$3 = aCallable$g;
|
|
10865
11251
|
|
|
10866
11252
|
var $TypeError = TypeError;
|
|
10867
11253
|
|
|
@@ -10884,16 +11270,16 @@ newPromiseCapability$2.f = function (C) {
|
|
|
10884
11270
|
|
|
10885
11271
|
var $$5 = _export;
|
|
10886
11272
|
var IS_NODE = engineIsNode;
|
|
10887
|
-
var global$1 = global$
|
|
11273
|
+
var global$1 = global$q;
|
|
10888
11274
|
var call$2 = functionCall;
|
|
10889
|
-
var defineBuiltIn$1 = defineBuiltIn$
|
|
11275
|
+
var defineBuiltIn$1 = defineBuiltIn$9;
|
|
10890
11276
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
10891
11277
|
var setToStringTag = setToStringTag$4;
|
|
10892
11278
|
var setSpecies = setSpecies$2;
|
|
10893
|
-
var aCallable$2 = aCallable$
|
|
10894
|
-
var isCallable$1 = isCallable$
|
|
11279
|
+
var aCallable$2 = aCallable$g;
|
|
11280
|
+
var isCallable$1 = isCallable$r;
|
|
10895
11281
|
var isObject$1 = isObject$e;
|
|
10896
|
-
var anInstance = anInstance$
|
|
11282
|
+
var anInstance = anInstance$2;
|
|
10897
11283
|
var speciesConstructor = speciesConstructor$1;
|
|
10898
11284
|
var task = task$1.set;
|
|
10899
11285
|
var microtask = microtask_1;
|
|
@@ -11169,7 +11555,7 @@ $$5({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
|
|
|
11169
11555
|
setToStringTag(PromiseConstructor, PROMISE, false);
|
|
11170
11556
|
setSpecies(PROMISE);
|
|
11171
11557
|
|
|
11172
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
11558
|
+
var wellKnownSymbol = wellKnownSymbol$m;
|
|
11173
11559
|
|
|
11174
11560
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
11175
11561
|
var SAFE_CLOSING = false;
|
|
@@ -11220,10 +11606,10 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
|
|
|
11220
11606
|
|
|
11221
11607
|
var $$4 = _export;
|
|
11222
11608
|
var call$1 = functionCall;
|
|
11223
|
-
var aCallable$1 = aCallable$
|
|
11609
|
+
var aCallable$1 = aCallable$g;
|
|
11224
11610
|
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
11225
11611
|
var perform$1 = perform$3;
|
|
11226
|
-
var iterate$1 = iterate$
|
|
11612
|
+
var iterate$1 = iterate$8;
|
|
11227
11613
|
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
11228
11614
|
|
|
11229
11615
|
// `Promise.all` method
|
|
@@ -11261,8 +11647,8 @@ var $$3 = _export;
|
|
|
11261
11647
|
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
11262
11648
|
var NativePromiseConstructor = promiseNativeConstructor;
|
|
11263
11649
|
var getBuiltIn$1 = getBuiltIn$9;
|
|
11264
|
-
var isCallable = isCallable$
|
|
11265
|
-
var defineBuiltIn = defineBuiltIn$
|
|
11650
|
+
var isCallable = isCallable$r;
|
|
11651
|
+
var defineBuiltIn = defineBuiltIn$9;
|
|
11266
11652
|
|
|
11267
11653
|
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
11268
11654
|
|
|
@@ -11284,10 +11670,10 @@ if (isCallable(NativePromiseConstructor)) {
|
|
|
11284
11670
|
|
|
11285
11671
|
var $$2 = _export;
|
|
11286
11672
|
var call = functionCall;
|
|
11287
|
-
var aCallable = aCallable$
|
|
11673
|
+
var aCallable = aCallable$g;
|
|
11288
11674
|
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
11289
11675
|
var perform = perform$3;
|
|
11290
|
-
var iterate = iterate$
|
|
11676
|
+
var iterate = iterate$8;
|
|
11291
11677
|
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
11292
11678
|
|
|
11293
11679
|
// `Promise.race` method
|
|
@@ -11323,7 +11709,7 @@ $$1({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
|
|
|
11323
11709
|
}
|
|
11324
11710
|
});
|
|
11325
11711
|
|
|
11326
|
-
var anObject = anObject$
|
|
11712
|
+
var anObject = anObject$o;
|
|
11327
11713
|
var isObject = isObject$e;
|
|
11328
11714
|
var newPromiseCapability = newPromiseCapability$2;
|
|
11329
11715
|
|