@fluxo-dev/shell-printing 0.0.41 → 0.0.42
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 +748 -350
- package/package.json +9 -2
package/index.esm.js
CHANGED
|
@@ -16,7 +16,7 @@ var check = function (it) {
|
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
19
|
-
var global$
|
|
19
|
+
var global$e =
|
|
20
20
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
21
21
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
22
22
|
check(typeof window == 'object' && window) ||
|
|
@@ -29,7 +29,7 @@ var global$d =
|
|
|
29
29
|
|
|
30
30
|
var objectGetOwnPropertyDescriptor = {};
|
|
31
31
|
|
|
32
|
-
var fails$
|
|
32
|
+
var fails$d = function (exec) {
|
|
33
33
|
try {
|
|
34
34
|
return !!exec();
|
|
35
35
|
} catch (error) {
|
|
@@ -37,29 +37,29 @@ var fails$c = function (exec) {
|
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
-
var fails$
|
|
40
|
+
var fails$c = fails$d;
|
|
41
41
|
|
|
42
42
|
// Detect IE8's incomplete defineProperty implementation
|
|
43
|
-
var descriptors = !fails$
|
|
43
|
+
var descriptors = !fails$c(function () {
|
|
44
44
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
45
45
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
var fails$
|
|
48
|
+
var fails$b = fails$d;
|
|
49
49
|
|
|
50
|
-
var functionBindNative = !fails$
|
|
50
|
+
var functionBindNative = !fails$b(function () {
|
|
51
51
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
52
52
|
var test = (function () { /* empty */ }).bind();
|
|
53
53
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
54
54
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
var NATIVE_BIND$
|
|
57
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
58
58
|
|
|
59
|
-
var call$
|
|
59
|
+
var call$b = Function.prototype.call;
|
|
60
60
|
|
|
61
|
-
var functionCall = NATIVE_BIND$
|
|
62
|
-
return call$
|
|
61
|
+
var functionCall = NATIVE_BIND$2 ? call$b.bind(call$b) : function () {
|
|
62
|
+
return call$b.apply(call$b, arguments);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
var objectPropertyIsEnumerable = {};
|
|
@@ -78,7 +78,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
78
78
|
return !!descriptor && descriptor.enumerable;
|
|
79
79
|
} : $propertyIsEnumerable;
|
|
80
80
|
|
|
81
|
-
var createPropertyDescriptor$
|
|
81
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
82
82
|
return {
|
|
83
83
|
enumerable: !(bitmap & 1),
|
|
84
84
|
configurable: !(bitmap & 2),
|
|
@@ -87,57 +87,57 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
87
87
|
};
|
|
88
88
|
};
|
|
89
89
|
|
|
90
|
-
var NATIVE_BIND = functionBindNative;
|
|
90
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
91
91
|
|
|
92
92
|
var FunctionPrototype$1 = Function.prototype;
|
|
93
|
-
var call$
|
|
94
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
|
93
|
+
var call$a = FunctionPrototype$1.call;
|
|
94
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$a, call$a);
|
|
95
95
|
|
|
96
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
96
|
+
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
97
97
|
return function () {
|
|
98
|
-
return call$
|
|
98
|
+
return call$a.apply(fn, arguments);
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
var uncurryThis$
|
|
102
|
+
var uncurryThis$e = functionUncurryThis;
|
|
103
103
|
|
|
104
|
-
var toString$5 = uncurryThis$
|
|
105
|
-
var stringSlice$2 = uncurryThis$
|
|
104
|
+
var toString$5 = uncurryThis$e({}.toString);
|
|
105
|
+
var stringSlice$2 = uncurryThis$e(''.slice);
|
|
106
106
|
|
|
107
|
-
var classofRaw$
|
|
107
|
+
var classofRaw$2 = function (it) {
|
|
108
108
|
return stringSlice$2(toString$5(it), 8, -1);
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
var uncurryThis$
|
|
112
|
-
var fails$
|
|
113
|
-
var classof$
|
|
111
|
+
var uncurryThis$d = functionUncurryThis;
|
|
112
|
+
var fails$a = fails$d;
|
|
113
|
+
var classof$3 = classofRaw$2;
|
|
114
114
|
|
|
115
115
|
var $Object$4 = Object;
|
|
116
|
-
var split = uncurryThis$
|
|
116
|
+
var split = uncurryThis$d(''.split);
|
|
117
117
|
|
|
118
118
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
119
|
-
var indexedObject = fails$
|
|
119
|
+
var indexedObject = fails$a(function () {
|
|
120
120
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
121
121
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
122
122
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
123
123
|
}) ? function (it) {
|
|
124
|
-
return classof$
|
|
124
|
+
return classof$3(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
125
125
|
} : $Object$4;
|
|
126
126
|
|
|
127
127
|
// we can't use just `it == null` since of `document.all` special case
|
|
128
128
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
129
|
-
var isNullOrUndefined$
|
|
129
|
+
var isNullOrUndefined$3 = function (it) {
|
|
130
130
|
return it === null || it === undefined;
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
var isNullOrUndefined$
|
|
133
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
134
134
|
|
|
135
|
-
var $TypeError$
|
|
135
|
+
var $TypeError$a = TypeError;
|
|
136
136
|
|
|
137
137
|
// `RequireObjectCoercible` abstract operation
|
|
138
138
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
139
139
|
var requireObjectCoercible$4 = function (it) {
|
|
140
|
-
if (isNullOrUndefined$
|
|
140
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
|
|
141
141
|
return it;
|
|
142
142
|
};
|
|
143
143
|
|
|
@@ -155,40 +155,40 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
155
155
|
// `IsCallable` abstract operation
|
|
156
156
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
157
157
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
158
|
-
var isCallable$
|
|
158
|
+
var isCallable$g = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
159
159
|
return typeof argument == 'function' || argument === documentAll;
|
|
160
160
|
} : function (argument) {
|
|
161
161
|
return typeof argument == 'function';
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
var isCallable$
|
|
164
|
+
var isCallable$f = isCallable$g;
|
|
165
165
|
|
|
166
166
|
var isObject$8 = function (it) {
|
|
167
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
167
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
168
168
|
};
|
|
169
169
|
|
|
170
|
-
var global$
|
|
171
|
-
var isCallable$
|
|
170
|
+
var global$d = global$e;
|
|
171
|
+
var isCallable$e = isCallable$g;
|
|
172
172
|
|
|
173
173
|
var aFunction = function (argument) {
|
|
174
|
-
return isCallable$
|
|
174
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
175
175
|
};
|
|
176
176
|
|
|
177
177
|
var getBuiltIn$3 = function (namespace, method) {
|
|
178
|
-
return arguments.length < 2 ? aFunction(global$
|
|
178
|
+
return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
|
|
179
179
|
};
|
|
180
180
|
|
|
181
|
-
var uncurryThis$
|
|
181
|
+
var uncurryThis$c = functionUncurryThis;
|
|
182
182
|
|
|
183
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
183
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
184
184
|
|
|
185
185
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
|
186
186
|
|
|
187
|
-
var global$
|
|
187
|
+
var global$c = global$e;
|
|
188
188
|
var userAgent = engineUserAgent;
|
|
189
189
|
|
|
190
|
-
var process$1 = global$
|
|
191
|
-
var Deno = global$
|
|
190
|
+
var process$1 = global$c.process;
|
|
191
|
+
var Deno = global$c.Deno;
|
|
192
192
|
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
|
193
193
|
var v8 = versions && versions.v8;
|
|
194
194
|
var match, version;
|
|
@@ -214,13 +214,13 @@ var engineV8Version = version;
|
|
|
214
214
|
|
|
215
215
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
216
216
|
var V8_VERSION = engineV8Version;
|
|
217
|
-
var fails$
|
|
218
|
-
var global$
|
|
217
|
+
var fails$9 = fails$d;
|
|
218
|
+
var global$b = global$e;
|
|
219
219
|
|
|
220
|
-
var $String$5 = global$
|
|
220
|
+
var $String$5 = global$b.String;
|
|
221
221
|
|
|
222
222
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
223
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
223
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
|
224
224
|
var symbol = Symbol('symbol detection');
|
|
225
225
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
226
226
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -239,8 +239,8 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
|
|
|
239
239
|
&& typeof Symbol.iterator == 'symbol';
|
|
240
240
|
|
|
241
241
|
var getBuiltIn$2 = getBuiltIn$3;
|
|
242
|
-
var isCallable$
|
|
243
|
-
var isPrototypeOf$
|
|
242
|
+
var isCallable$d = isCallable$g;
|
|
243
|
+
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
244
244
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
245
245
|
|
|
246
246
|
var $Object$3 = Object;
|
|
@@ -249,12 +249,12 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
|
249
249
|
return typeof it == 'symbol';
|
|
250
250
|
} : function (it) {
|
|
251
251
|
var $Symbol = getBuiltIn$2('Symbol');
|
|
252
|
-
return isCallable$
|
|
252
|
+
return isCallable$d($Symbol) && isPrototypeOf$4($Symbol.prototype, $Object$3(it));
|
|
253
253
|
};
|
|
254
254
|
|
|
255
255
|
var $String$4 = String;
|
|
256
256
|
|
|
257
|
-
var tryToString$
|
|
257
|
+
var tryToString$3 = function (argument) {
|
|
258
258
|
try {
|
|
259
259
|
return $String$4(argument);
|
|
260
260
|
} catch (error) {
|
|
@@ -262,59 +262,61 @@ var tryToString$1 = function (argument) {
|
|
|
262
262
|
}
|
|
263
263
|
};
|
|
264
264
|
|
|
265
|
-
var isCallable$
|
|
266
|
-
var tryToString = tryToString$
|
|
265
|
+
var isCallable$c = isCallable$g;
|
|
266
|
+
var tryToString$2 = tryToString$3;
|
|
267
267
|
|
|
268
|
-
var $TypeError$
|
|
268
|
+
var $TypeError$9 = TypeError;
|
|
269
269
|
|
|
270
270
|
// `Assert: IsCallable(argument) is true`
|
|
271
|
-
var aCallable$
|
|
272
|
-
if (isCallable$
|
|
273
|
-
throw new $TypeError$
|
|
271
|
+
var aCallable$6 = function (argument) {
|
|
272
|
+
if (isCallable$c(argument)) return argument;
|
|
273
|
+
throw new $TypeError$9(tryToString$2(argument) + ' is not a function');
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
var aCallable$
|
|
277
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
276
|
+
var aCallable$5 = aCallable$6;
|
|
277
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
278
278
|
|
|
279
279
|
// `GetMethod` abstract operation
|
|
280
280
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
281
|
-
var getMethod$
|
|
281
|
+
var getMethod$4 = function (V, P) {
|
|
282
282
|
var func = V[P];
|
|
283
|
-
return isNullOrUndefined(func) ? undefined : aCallable$
|
|
283
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable$5(func);
|
|
284
284
|
};
|
|
285
285
|
|
|
286
|
-
var call$
|
|
287
|
-
var isCallable$
|
|
286
|
+
var call$9 = functionCall;
|
|
287
|
+
var isCallable$b = isCallable$g;
|
|
288
288
|
var isObject$7 = isObject$8;
|
|
289
289
|
|
|
290
|
-
var $TypeError$
|
|
290
|
+
var $TypeError$8 = TypeError;
|
|
291
291
|
|
|
292
292
|
// `OrdinaryToPrimitive` abstract operation
|
|
293
293
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
294
294
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
295
295
|
var fn, val;
|
|
296
|
-
if (pref === 'string' && isCallable$
|
|
297
|
-
if (isCallable$
|
|
298
|
-
if (pref !== 'string' && isCallable$
|
|
299
|
-
throw new $TypeError$
|
|
296
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;
|
|
297
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$7(val = call$9(fn, input))) return val;
|
|
298
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;
|
|
299
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
300
300
|
};
|
|
301
301
|
|
|
302
302
|
var sharedStore = {exports: {}};
|
|
303
303
|
|
|
304
|
-
var
|
|
304
|
+
var isPure = false;
|
|
305
|
+
|
|
306
|
+
var global$a = global$e;
|
|
305
307
|
|
|
306
308
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
307
309
|
var defineProperty$5 = Object.defineProperty;
|
|
308
310
|
|
|
309
311
|
var defineGlobalProperty$3 = function (key, value) {
|
|
310
312
|
try {
|
|
311
|
-
defineProperty$5(global$
|
|
313
|
+
defineProperty$5(global$a, key, { value: value, configurable: true, writable: true });
|
|
312
314
|
} catch (error) {
|
|
313
|
-
global$
|
|
315
|
+
global$a[key] = value;
|
|
314
316
|
} return value;
|
|
315
317
|
};
|
|
316
318
|
|
|
317
|
-
var globalThis$1 = global$
|
|
319
|
+
var globalThis$1 = global$e;
|
|
318
320
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
319
321
|
|
|
320
322
|
var SHARED = '__core-js_shared__';
|
|
@@ -346,10 +348,10 @@ var toObject$2 = function (argument) {
|
|
|
346
348
|
return $Object$2(requireObjectCoercible$2(argument));
|
|
347
349
|
};
|
|
348
350
|
|
|
349
|
-
var uncurryThis$
|
|
351
|
+
var uncurryThis$b = functionUncurryThis;
|
|
350
352
|
var toObject$1 = toObject$2;
|
|
351
353
|
|
|
352
|
-
var hasOwnProperty = uncurryThis$
|
|
354
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
353
355
|
|
|
354
356
|
// `HasOwnProperty` abstract operation
|
|
355
357
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -358,56 +360,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
358
360
|
return hasOwnProperty(toObject$1(it), key);
|
|
359
361
|
};
|
|
360
362
|
|
|
361
|
-
var uncurryThis$
|
|
363
|
+
var uncurryThis$a = functionUncurryThis;
|
|
362
364
|
|
|
363
365
|
var id = 0;
|
|
364
366
|
var postfix = Math.random();
|
|
365
|
-
var toString$4 = uncurryThis$
|
|
367
|
+
var toString$4 = uncurryThis$a(1.0.toString);
|
|
366
368
|
|
|
367
369
|
var uid$2 = function (key) {
|
|
368
370
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
369
371
|
};
|
|
370
372
|
|
|
371
|
-
var global$
|
|
373
|
+
var global$9 = global$e;
|
|
372
374
|
var shared$2 = shared$3;
|
|
373
|
-
var hasOwn$
|
|
375
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
374
376
|
var uid$1 = uid$2;
|
|
375
377
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
376
378
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
377
379
|
|
|
378
|
-
var Symbol$2 = global$
|
|
380
|
+
var Symbol$2 = global$9.Symbol;
|
|
379
381
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
380
382
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$2['for'] || Symbol$2 : Symbol$2 && Symbol$2.withoutSetter || uid$1;
|
|
381
383
|
|
|
382
|
-
var wellKnownSymbol$
|
|
383
|
-
if (!hasOwn$
|
|
384
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$
|
|
384
|
+
var wellKnownSymbol$c = function (name) {
|
|
385
|
+
if (!hasOwn$b(WellKnownSymbolsStore, name)) {
|
|
386
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$b(Symbol$2, name)
|
|
385
387
|
? Symbol$2[name]
|
|
386
388
|
: createWellKnownSymbol('Symbol.' + name);
|
|
387
389
|
} return WellKnownSymbolsStore[name];
|
|
388
390
|
};
|
|
389
391
|
|
|
390
|
-
var call$
|
|
392
|
+
var call$8 = functionCall;
|
|
391
393
|
var isObject$6 = isObject$8;
|
|
392
394
|
var isSymbol$1 = isSymbol$2;
|
|
393
|
-
var getMethod = getMethod$
|
|
395
|
+
var getMethod$3 = getMethod$4;
|
|
394
396
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
395
|
-
var wellKnownSymbol$
|
|
397
|
+
var wellKnownSymbol$b = wellKnownSymbol$c;
|
|
396
398
|
|
|
397
|
-
var $TypeError$
|
|
398
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
399
|
+
var $TypeError$7 = TypeError;
|
|
400
|
+
var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
|
|
399
401
|
|
|
400
402
|
// `ToPrimitive` abstract operation
|
|
401
403
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
402
404
|
var toPrimitive$1 = function (input, pref) {
|
|
403
405
|
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
404
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
406
|
+
var exoticToPrim = getMethod$3(input, TO_PRIMITIVE);
|
|
405
407
|
var result;
|
|
406
408
|
if (exoticToPrim) {
|
|
407
409
|
if (pref === undefined) pref = 'default';
|
|
408
|
-
result = call$
|
|
410
|
+
result = call$8(exoticToPrim, input, pref);
|
|
409
411
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
410
|
-
throw new $TypeError$
|
|
412
|
+
throw new $TypeError$7("Can't convert object to primitive value");
|
|
411
413
|
}
|
|
412
414
|
if (pref === undefined) pref = 'number';
|
|
413
415
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -423,10 +425,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
423
425
|
return isSymbol(key) ? key : key + '';
|
|
424
426
|
};
|
|
425
427
|
|
|
426
|
-
var global$
|
|
428
|
+
var global$8 = global$e;
|
|
427
429
|
var isObject$5 = isObject$8;
|
|
428
430
|
|
|
429
|
-
var document$1 = global$
|
|
431
|
+
var document$1 = global$8.document;
|
|
430
432
|
// typeof document.createElement is 'object' in old IE
|
|
431
433
|
var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
|
|
432
434
|
|
|
@@ -434,25 +436,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
434
436
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
435
437
|
};
|
|
436
438
|
|
|
437
|
-
var DESCRIPTORS$
|
|
438
|
-
var fails$
|
|
439
|
+
var DESCRIPTORS$b = descriptors;
|
|
440
|
+
var fails$8 = fails$d;
|
|
439
441
|
var createElement = documentCreateElement$2;
|
|
440
442
|
|
|
441
443
|
// Thanks to IE8 for its funny defineProperty
|
|
442
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
444
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$8(function () {
|
|
443
445
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
444
446
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
445
447
|
get: function () { return 7; }
|
|
446
448
|
}).a !== 7;
|
|
447
449
|
});
|
|
448
450
|
|
|
449
|
-
var DESCRIPTORS$
|
|
450
|
-
var call$
|
|
451
|
+
var DESCRIPTORS$a = descriptors;
|
|
452
|
+
var call$7 = functionCall;
|
|
451
453
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
452
|
-
var createPropertyDescriptor$
|
|
454
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
453
455
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
454
456
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
455
|
-
var hasOwn$
|
|
457
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
456
458
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
457
459
|
|
|
458
460
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -460,23 +462,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
460
462
|
|
|
461
463
|
// `Object.getOwnPropertyDescriptor` method
|
|
462
464
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
463
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
465
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
464
466
|
O = toIndexedObject$4(O);
|
|
465
467
|
P = toPropertyKey$1(P);
|
|
466
468
|
if (IE8_DOM_DEFINE$1) try {
|
|
467
469
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
468
470
|
} catch (error) { /* empty */ }
|
|
469
|
-
if (hasOwn$
|
|
471
|
+
if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$7(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
470
472
|
};
|
|
471
473
|
|
|
472
474
|
var objectDefineProperty = {};
|
|
473
475
|
|
|
474
|
-
var DESCRIPTORS$
|
|
475
|
-
var fails$
|
|
476
|
+
var DESCRIPTORS$9 = descriptors;
|
|
477
|
+
var fails$7 = fails$d;
|
|
476
478
|
|
|
477
479
|
// V8 ~ Chrome 36-
|
|
478
480
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
479
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
481
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$7(function () {
|
|
480
482
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
481
483
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
482
484
|
value: 42,
|
|
@@ -487,21 +489,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$6(function () {
|
|
|
487
489
|
var isObject$4 = isObject$8;
|
|
488
490
|
|
|
489
491
|
var $String$3 = String;
|
|
490
|
-
var $TypeError$
|
|
492
|
+
var $TypeError$6 = TypeError;
|
|
491
493
|
|
|
492
494
|
// `Assert: Type(argument) is Object`
|
|
493
|
-
var anObject$
|
|
495
|
+
var anObject$d = function (argument) {
|
|
494
496
|
if (isObject$4(argument)) return argument;
|
|
495
|
-
throw new $TypeError$
|
|
497
|
+
throw new $TypeError$6($String$3(argument) + ' is not an object');
|
|
496
498
|
};
|
|
497
499
|
|
|
498
|
-
var DESCRIPTORS$
|
|
500
|
+
var DESCRIPTORS$8 = descriptors;
|
|
499
501
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
500
502
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
501
|
-
var anObject$
|
|
503
|
+
var anObject$c = anObject$d;
|
|
502
504
|
var toPropertyKey = toPropertyKey$2;
|
|
503
505
|
|
|
504
|
-
var $TypeError$
|
|
506
|
+
var $TypeError$5 = TypeError;
|
|
505
507
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
506
508
|
var $defineProperty = Object.defineProperty;
|
|
507
509
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -512,10 +514,10 @@ var WRITABLE = 'writable';
|
|
|
512
514
|
|
|
513
515
|
// `Object.defineProperty` method
|
|
514
516
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
515
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
516
|
-
anObject$
|
|
517
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
518
|
+
anObject$c(O);
|
|
517
519
|
P = toPropertyKey(P);
|
|
518
|
-
anObject$
|
|
520
|
+
anObject$c(Attributes);
|
|
519
521
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
520
522
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
521
523
|
if (current && current[WRITABLE]) {
|
|
@@ -528,23 +530,23 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
528
530
|
}
|
|
529
531
|
} return $defineProperty(O, P, Attributes);
|
|
530
532
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
531
|
-
anObject$
|
|
533
|
+
anObject$c(O);
|
|
532
534
|
P = toPropertyKey(P);
|
|
533
|
-
anObject$
|
|
535
|
+
anObject$c(Attributes);
|
|
534
536
|
if (IE8_DOM_DEFINE) try {
|
|
535
537
|
return $defineProperty(O, P, Attributes);
|
|
536
538
|
} catch (error) { /* empty */ }
|
|
537
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
539
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
|
|
538
540
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
539
541
|
return O;
|
|
540
542
|
};
|
|
541
543
|
|
|
542
|
-
var DESCRIPTORS$
|
|
543
|
-
var definePropertyModule$
|
|
544
|
-
var createPropertyDescriptor$
|
|
544
|
+
var DESCRIPTORS$7 = descriptors;
|
|
545
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
546
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
545
547
|
|
|
546
|
-
var createNonEnumerableProperty$
|
|
547
|
-
return definePropertyModule$
|
|
548
|
+
var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
549
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
548
550
|
} : function (object, key, value) {
|
|
549
551
|
object[key] = value;
|
|
550
552
|
return object;
|
|
@@ -552,17 +554,17 @@ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value
|
|
|
552
554
|
|
|
553
555
|
var makeBuiltIn$3 = {exports: {}};
|
|
554
556
|
|
|
555
|
-
var DESCRIPTORS$
|
|
556
|
-
var hasOwn$
|
|
557
|
+
var DESCRIPTORS$6 = descriptors;
|
|
558
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
557
559
|
|
|
558
560
|
var FunctionPrototype = Function.prototype;
|
|
559
561
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
560
|
-
var getDescriptor = DESCRIPTORS$
|
|
562
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
561
563
|
|
|
562
|
-
var EXISTS = hasOwn$
|
|
564
|
+
var EXISTS = hasOwn$9(FunctionPrototype, 'name');
|
|
563
565
|
// additional protection from minified / mangled / dropped function names
|
|
564
566
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
565
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
567
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
566
568
|
|
|
567
569
|
var functionName = {
|
|
568
570
|
EXISTS: EXISTS,
|
|
@@ -570,14 +572,14 @@ var functionName = {
|
|
|
570
572
|
CONFIGURABLE: CONFIGURABLE
|
|
571
573
|
};
|
|
572
574
|
|
|
573
|
-
var uncurryThis$
|
|
574
|
-
var isCallable$
|
|
575
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
576
|
+
var isCallable$a = isCallable$g;
|
|
575
577
|
var store$1 = sharedStoreExports;
|
|
576
578
|
|
|
577
|
-
var functionToString = uncurryThis$
|
|
579
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
578
580
|
|
|
579
581
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
580
|
-
if (!isCallable$
|
|
582
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
|
581
583
|
store$1.inspectSource = function (it) {
|
|
582
584
|
return functionToString(it);
|
|
583
585
|
};
|
|
@@ -585,12 +587,12 @@ if (!isCallable$9(store$1.inspectSource)) {
|
|
|
585
587
|
|
|
586
588
|
var inspectSource$1 = store$1.inspectSource;
|
|
587
589
|
|
|
588
|
-
var global$
|
|
589
|
-
var isCallable$
|
|
590
|
+
var global$7 = global$e;
|
|
591
|
+
var isCallable$9 = isCallable$g;
|
|
590
592
|
|
|
591
|
-
var WeakMap$1 = global$
|
|
593
|
+
var WeakMap$1 = global$7.WeakMap;
|
|
592
594
|
|
|
593
|
-
var weakMapBasicDetection = isCallable$
|
|
595
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
594
596
|
|
|
595
597
|
var shared$1 = shared$3;
|
|
596
598
|
var uid = uid$2;
|
|
@@ -604,17 +606,17 @@ var sharedKey$3 = function (key) {
|
|
|
604
606
|
var hiddenKeys$4 = {};
|
|
605
607
|
|
|
606
608
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
607
|
-
var global$
|
|
609
|
+
var global$6 = global$e;
|
|
608
610
|
var isObject$3 = isObject$8;
|
|
609
|
-
var createNonEnumerableProperty$
|
|
610
|
-
var hasOwn$
|
|
611
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
|
612
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
611
613
|
var shared = sharedStoreExports;
|
|
612
614
|
var sharedKey$2 = sharedKey$3;
|
|
613
615
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
614
616
|
|
|
615
617
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
616
|
-
var TypeError$1 = global$
|
|
617
|
-
var WeakMap = global$
|
|
618
|
+
var TypeError$1 = global$6.TypeError;
|
|
619
|
+
var WeakMap = global$6.WeakMap;
|
|
618
620
|
var set, get, has$1;
|
|
619
621
|
|
|
620
622
|
var enforce = function (it) {
|
|
@@ -653,16 +655,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
653
655
|
var STATE = sharedKey$2('state');
|
|
654
656
|
hiddenKeys$3[STATE] = true;
|
|
655
657
|
set = function (it, metadata) {
|
|
656
|
-
if (hasOwn$
|
|
658
|
+
if (hasOwn$8(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
657
659
|
metadata.facade = it;
|
|
658
|
-
createNonEnumerableProperty$
|
|
660
|
+
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
659
661
|
return metadata;
|
|
660
662
|
};
|
|
661
663
|
get = function (it) {
|
|
662
|
-
return hasOwn$
|
|
664
|
+
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
663
665
|
};
|
|
664
666
|
has$1 = function (it) {
|
|
665
|
-
return hasOwn$
|
|
667
|
+
return hasOwn$8(it, STATE);
|
|
666
668
|
};
|
|
667
669
|
}
|
|
668
670
|
|
|
@@ -674,25 +676,25 @@ var internalState = {
|
|
|
674
676
|
getterFor: getterFor
|
|
675
677
|
};
|
|
676
678
|
|
|
677
|
-
var uncurryThis$
|
|
678
|
-
var fails$
|
|
679
|
-
var isCallable$
|
|
680
|
-
var hasOwn$
|
|
681
|
-
var DESCRIPTORS$
|
|
679
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
680
|
+
var fails$6 = fails$d;
|
|
681
|
+
var isCallable$8 = isCallable$g;
|
|
682
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
683
|
+
var DESCRIPTORS$5 = descriptors;
|
|
682
684
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
683
685
|
var inspectSource = inspectSource$1;
|
|
684
|
-
var InternalStateModule$
|
|
686
|
+
var InternalStateModule$2 = internalState;
|
|
685
687
|
|
|
686
|
-
var enforceInternalState = InternalStateModule$
|
|
687
|
-
var getInternalState$1 = InternalStateModule$
|
|
688
|
+
var enforceInternalState = InternalStateModule$2.enforce;
|
|
689
|
+
var getInternalState$1 = InternalStateModule$2.get;
|
|
688
690
|
var $String$2 = String;
|
|
689
691
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
690
692
|
var defineProperty$4 = Object.defineProperty;
|
|
691
|
-
var stringSlice$1 = uncurryThis$
|
|
692
|
-
var replace$2 = uncurryThis$
|
|
693
|
-
var join = uncurryThis$
|
|
693
|
+
var stringSlice$1 = uncurryThis$8(''.slice);
|
|
694
|
+
var replace$2 = uncurryThis$8(''.replace);
|
|
695
|
+
var join = uncurryThis$8([].join);
|
|
694
696
|
|
|
695
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
697
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$6(function () {
|
|
696
698
|
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
697
699
|
});
|
|
698
700
|
|
|
@@ -704,21 +706,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
704
706
|
}
|
|
705
707
|
if (options && options.getter) name = 'get ' + name;
|
|
706
708
|
if (options && options.setter) name = 'set ' + name;
|
|
707
|
-
if (!hasOwn$
|
|
708
|
-
if (DESCRIPTORS$
|
|
709
|
+
if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
710
|
+
if (DESCRIPTORS$5) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
709
711
|
else value.name = name;
|
|
710
712
|
}
|
|
711
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
713
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {
|
|
712
714
|
defineProperty$4(value, 'length', { value: options.arity });
|
|
713
715
|
}
|
|
714
716
|
try {
|
|
715
|
-
if (options && hasOwn$
|
|
716
|
-
if (DESCRIPTORS$
|
|
717
|
+
if (options && hasOwn$7(options, 'constructor') && options.constructor) {
|
|
718
|
+
if (DESCRIPTORS$5) defineProperty$4(value, 'prototype', { writable: false });
|
|
717
719
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
718
720
|
} else if (value.prototype) value.prototype = undefined;
|
|
719
721
|
} catch (error) { /* empty */ }
|
|
720
722
|
var state = enforceInternalState(value);
|
|
721
|
-
if (!hasOwn$
|
|
723
|
+
if (!hasOwn$7(state, 'source')) {
|
|
722
724
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
723
725
|
} return value;
|
|
724
726
|
};
|
|
@@ -726,21 +728,21 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
|
726
728
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
727
729
|
// eslint-disable-next-line no-extend-native -- required
|
|
728
730
|
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
729
|
-
return isCallable$
|
|
731
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
|
730
732
|
}, 'toString');
|
|
731
733
|
|
|
732
734
|
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
733
735
|
|
|
734
|
-
var isCallable$
|
|
735
|
-
var definePropertyModule$
|
|
736
|
+
var isCallable$7 = isCallable$g;
|
|
737
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
736
738
|
var makeBuiltIn$1 = makeBuiltInExports;
|
|
737
739
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
738
740
|
|
|
739
|
-
var defineBuiltIn$
|
|
741
|
+
var defineBuiltIn$5 = function (O, key, value, options) {
|
|
740
742
|
if (!options) options = {};
|
|
741
743
|
var simple = options.enumerable;
|
|
742
744
|
var name = options.name !== undefined ? options.name : key;
|
|
743
|
-
if (isCallable$
|
|
745
|
+
if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
|
|
744
746
|
if (options.global) {
|
|
745
747
|
if (simple) O[key] = value;
|
|
746
748
|
else defineGlobalProperty$1(key, value);
|
|
@@ -750,7 +752,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
|
|
|
750
752
|
else if (O[key]) simple = true;
|
|
751
753
|
} catch (error) { /* empty */ }
|
|
752
754
|
if (simple) O[key] = value;
|
|
753
|
-
else definePropertyModule$
|
|
755
|
+
else definePropertyModule$3.f(O, key, {
|
|
754
756
|
value: value,
|
|
755
757
|
enumerable: false,
|
|
756
758
|
configurable: !options.nonConfigurable,
|
|
@@ -810,19 +812,19 @@ var toLength = toLength$1;
|
|
|
810
812
|
|
|
811
813
|
// `LengthOfArrayLike` abstract operation
|
|
812
814
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
813
|
-
var lengthOfArrayLike$
|
|
815
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
814
816
|
return toLength(obj.length);
|
|
815
817
|
};
|
|
816
818
|
|
|
817
819
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
818
820
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
819
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
821
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
820
822
|
|
|
821
823
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
822
824
|
var createMethod$1 = function (IS_INCLUDES) {
|
|
823
825
|
return function ($this, el, fromIndex) {
|
|
824
826
|
var O = toIndexedObject$3($this);
|
|
825
|
-
var length = lengthOfArrayLike(O);
|
|
827
|
+
var length = lengthOfArrayLike$1(O);
|
|
826
828
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
827
829
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
828
830
|
var value;
|
|
@@ -848,22 +850,22 @@ var arrayIncludes = {
|
|
|
848
850
|
indexOf: createMethod$1(false)
|
|
849
851
|
};
|
|
850
852
|
|
|
851
|
-
var uncurryThis$
|
|
852
|
-
var hasOwn$
|
|
853
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
854
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
853
855
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
854
856
|
var indexOf = arrayIncludes.indexOf;
|
|
855
857
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
856
858
|
|
|
857
|
-
var push = uncurryThis$
|
|
859
|
+
var push = uncurryThis$7([].push);
|
|
858
860
|
|
|
859
861
|
var objectKeysInternal = function (object, names) {
|
|
860
862
|
var O = toIndexedObject$2(object);
|
|
861
863
|
var i = 0;
|
|
862
864
|
var result = [];
|
|
863
865
|
var key;
|
|
864
|
-
for (key in O) !hasOwn$
|
|
866
|
+
for (key in O) !hasOwn$6(hiddenKeys$2, key) && hasOwn$6(O, key) && push(result, key);
|
|
865
867
|
// Don't enum bug & hidden keys
|
|
866
|
-
while (names.length > i) if (hasOwn$
|
|
868
|
+
while (names.length > i) if (hasOwn$6(O, key = names[i++])) {
|
|
867
869
|
~indexOf(result, key) || push(result, key);
|
|
868
870
|
}
|
|
869
871
|
return result;
|
|
@@ -898,39 +900,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
898
900
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
899
901
|
|
|
900
902
|
var getBuiltIn$1 = getBuiltIn$3;
|
|
901
|
-
var uncurryThis$
|
|
903
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
902
904
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
903
905
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
904
|
-
var anObject$
|
|
906
|
+
var anObject$b = anObject$d;
|
|
905
907
|
|
|
906
|
-
var concat = uncurryThis$
|
|
908
|
+
var concat = uncurryThis$6([].concat);
|
|
907
909
|
|
|
908
910
|
// all object keys, includes non-enumerable and symbols
|
|
909
911
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
910
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
912
|
+
var keys = getOwnPropertyNamesModule.f(anObject$b(it));
|
|
911
913
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
912
914
|
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
913
915
|
};
|
|
914
916
|
|
|
915
|
-
var hasOwn$
|
|
917
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
916
918
|
var ownKeys = ownKeys$1;
|
|
917
919
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
918
|
-
var definePropertyModule$
|
|
920
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
919
921
|
|
|
920
922
|
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
|
921
923
|
var keys = ownKeys(source);
|
|
922
|
-
var defineProperty = definePropertyModule$
|
|
924
|
+
var defineProperty = definePropertyModule$2.f;
|
|
923
925
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
924
926
|
for (var i = 0; i < keys.length; i++) {
|
|
925
927
|
var key = keys[i];
|
|
926
|
-
if (!hasOwn$
|
|
928
|
+
if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {
|
|
927
929
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
928
930
|
}
|
|
929
931
|
}
|
|
930
932
|
};
|
|
931
933
|
|
|
932
|
-
var fails$
|
|
933
|
-
var isCallable$
|
|
934
|
+
var fails$5 = fails$d;
|
|
935
|
+
var isCallable$6 = isCallable$g;
|
|
934
936
|
|
|
935
937
|
var replacement = /#|\.prototype\./;
|
|
936
938
|
|
|
@@ -938,7 +940,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
938
940
|
var value = data[normalize(feature)];
|
|
939
941
|
return value === POLYFILL ? true
|
|
940
942
|
: value === NATIVE ? false
|
|
941
|
-
: isCallable$
|
|
943
|
+
: isCallable$6(detection) ? fails$5(detection)
|
|
942
944
|
: !!detection;
|
|
943
945
|
};
|
|
944
946
|
|
|
@@ -952,10 +954,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
952
954
|
|
|
953
955
|
var isForced_1 = isForced$1;
|
|
954
956
|
|
|
955
|
-
var global$
|
|
957
|
+
var global$5 = global$e;
|
|
956
958
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
957
|
-
var createNonEnumerableProperty$
|
|
958
|
-
var defineBuiltIn$
|
|
959
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
|
960
|
+
var defineBuiltIn$4 = defineBuiltIn$5;
|
|
959
961
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
960
962
|
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
|
961
963
|
var isForced = isForced_1;
|
|
@@ -981,11 +983,11 @@ var _export = function (options, source) {
|
|
|
981
983
|
var STATIC = options.stat;
|
|
982
984
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
983
985
|
if (GLOBAL) {
|
|
984
|
-
target = global$
|
|
986
|
+
target = global$5;
|
|
985
987
|
} else if (STATIC) {
|
|
986
|
-
target = global$
|
|
988
|
+
target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
|
|
987
989
|
} else {
|
|
988
|
-
target = global$
|
|
990
|
+
target = global$5[TARGET] && global$5[TARGET].prototype;
|
|
989
991
|
}
|
|
990
992
|
if (target) for (key in source) {
|
|
991
993
|
sourceProperty = source[key];
|
|
@@ -1001,31 +1003,31 @@ var _export = function (options, source) {
|
|
|
1001
1003
|
}
|
|
1002
1004
|
// add a flag to not completely full polyfills
|
|
1003
1005
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1004
|
-
createNonEnumerableProperty$
|
|
1006
|
+
createNonEnumerableProperty$3(sourceProperty, 'sham', true);
|
|
1005
1007
|
}
|
|
1006
|
-
defineBuiltIn$
|
|
1008
|
+
defineBuiltIn$4(target, key, sourceProperty, options);
|
|
1007
1009
|
}
|
|
1008
1010
|
};
|
|
1009
1011
|
|
|
1010
|
-
var wellKnownSymbol$
|
|
1012
|
+
var wellKnownSymbol$a = wellKnownSymbol$c;
|
|
1011
1013
|
|
|
1012
|
-
var TO_STRING_TAG$
|
|
1014
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$a('toStringTag');
|
|
1013
1015
|
var test = {};
|
|
1014
1016
|
|
|
1015
|
-
test[TO_STRING_TAG$
|
|
1017
|
+
test[TO_STRING_TAG$4] = 'z';
|
|
1016
1018
|
|
|
1017
1019
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1018
1020
|
|
|
1019
1021
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1020
|
-
var isCallable$
|
|
1021
|
-
var classofRaw = classofRaw$
|
|
1022
|
-
var wellKnownSymbol$
|
|
1022
|
+
var isCallable$5 = isCallable$g;
|
|
1023
|
+
var classofRaw$1 = classofRaw$2;
|
|
1024
|
+
var wellKnownSymbol$9 = wellKnownSymbol$c;
|
|
1023
1025
|
|
|
1024
|
-
var TO_STRING_TAG$
|
|
1026
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
|
|
1025
1027
|
var $Object$1 = Object;
|
|
1026
1028
|
|
|
1027
1029
|
// ES3 wrong here
|
|
1028
|
-
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1030
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
|
1029
1031
|
|
|
1030
1032
|
// fallback for IE11 Script Access Denied error
|
|
1031
1033
|
var tryGet = function (it, key) {
|
|
@@ -1035,50 +1037,50 @@ var tryGet = function (it, key) {
|
|
|
1035
1037
|
};
|
|
1036
1038
|
|
|
1037
1039
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1038
|
-
var classof$
|
|
1040
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
1039
1041
|
var O, tag, result;
|
|
1040
1042
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1041
1043
|
// @@toStringTag case
|
|
1042
|
-
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$
|
|
1044
|
+
: typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$3)) == 'string' ? tag
|
|
1043
1045
|
// builtinTag case
|
|
1044
|
-
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1046
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
|
1045
1047
|
// ES3 arguments fallback
|
|
1046
|
-
: (result = classofRaw(O)) === 'Object' && isCallable$
|
|
1048
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$5(O.callee) ? 'Arguments' : result;
|
|
1047
1049
|
};
|
|
1048
1050
|
|
|
1049
|
-
var classof = classof$
|
|
1051
|
+
var classof$1 = classof$2;
|
|
1050
1052
|
|
|
1051
1053
|
var $String$1 = String;
|
|
1052
1054
|
|
|
1053
1055
|
var toString$3 = function (argument) {
|
|
1054
|
-
if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1056
|
+
if (classof$1(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
|
1055
1057
|
return $String$1(argument);
|
|
1056
1058
|
};
|
|
1057
1059
|
|
|
1058
1060
|
var makeBuiltIn = makeBuiltInExports;
|
|
1059
1061
|
var defineProperty$3 = objectDefineProperty;
|
|
1060
1062
|
|
|
1061
|
-
var defineBuiltInAccessor$
|
|
1063
|
+
var defineBuiltInAccessor$2 = function (target, name, descriptor) {
|
|
1062
1064
|
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
1063
1065
|
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
1064
1066
|
return defineProperty$3.f(target, name, descriptor);
|
|
1065
1067
|
};
|
|
1066
1068
|
|
|
1067
|
-
var $$
|
|
1068
|
-
var DESCRIPTORS$
|
|
1069
|
-
var global$
|
|
1070
|
-
var uncurryThis$
|
|
1071
|
-
var hasOwn$
|
|
1072
|
-
var isCallable$
|
|
1073
|
-
var isPrototypeOf$
|
|
1069
|
+
var $$5 = _export;
|
|
1070
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1071
|
+
var global$4 = global$e;
|
|
1072
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1073
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1074
|
+
var isCallable$4 = isCallable$g;
|
|
1075
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
1074
1076
|
var toString$2 = toString$3;
|
|
1075
|
-
var defineBuiltInAccessor = defineBuiltInAccessor$
|
|
1077
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
1076
1078
|
var copyConstructorProperties = copyConstructorProperties$2;
|
|
1077
1079
|
|
|
1078
|
-
var NativeSymbol = global$
|
|
1080
|
+
var NativeSymbol = global$4.Symbol;
|
|
1079
1081
|
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
|
1080
1082
|
|
|
1081
|
-
if (DESCRIPTORS$
|
|
1083
|
+
if (DESCRIPTORS$4 && isCallable$4(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
|
1082
1084
|
// Safari 12 bug
|
|
1083
1085
|
NativeSymbol().description !== undefined
|
|
1084
1086
|
)) {
|
|
@@ -1086,7 +1088,7 @@ if (DESCRIPTORS$2 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
1086
1088
|
// wrap Symbol constructor for correct work with undefined description
|
|
1087
1089
|
var SymbolWrapper = function Symbol() {
|
|
1088
1090
|
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$2(arguments[0]);
|
|
1089
|
-
var result = isPrototypeOf$
|
|
1091
|
+
var result = isPrototypeOf$3(SymbolPrototype, this)
|
|
1090
1092
|
? new NativeSymbol(description)
|
|
1091
1093
|
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
|
1092
1094
|
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
|
@@ -1099,24 +1101,24 @@ if (DESCRIPTORS$2 && isCallable$3(NativeSymbol) && (!('description' in SymbolPro
|
|
|
1099
1101
|
SymbolPrototype.constructor = SymbolWrapper;
|
|
1100
1102
|
|
|
1101
1103
|
var NATIVE_SYMBOL = String(NativeSymbol('description detection')) === 'Symbol(description detection)';
|
|
1102
|
-
var thisSymbolValue = uncurryThis$
|
|
1103
|
-
var symbolDescriptiveString = uncurryThis$
|
|
1104
|
+
var thisSymbolValue = uncurryThis$5(SymbolPrototype.valueOf);
|
|
1105
|
+
var symbolDescriptiveString = uncurryThis$5(SymbolPrototype.toString);
|
|
1104
1106
|
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
|
1105
|
-
var replace$1 = uncurryThis$
|
|
1106
|
-
var stringSlice = uncurryThis$
|
|
1107
|
+
var replace$1 = uncurryThis$5(''.replace);
|
|
1108
|
+
var stringSlice = uncurryThis$5(''.slice);
|
|
1107
1109
|
|
|
1108
|
-
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
|
1110
|
+
defineBuiltInAccessor$1(SymbolPrototype, 'description', {
|
|
1109
1111
|
configurable: true,
|
|
1110
1112
|
get: function description() {
|
|
1111
1113
|
var symbol = thisSymbolValue(this);
|
|
1112
|
-
if (hasOwn$
|
|
1114
|
+
if (hasOwn$4(EmptyStringDescriptionStore, symbol)) return '';
|
|
1113
1115
|
var string = symbolDescriptiveString(symbol);
|
|
1114
1116
|
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace$1(string, regexp, '$1');
|
|
1115
1117
|
return desc === '' ? undefined : desc;
|
|
1116
1118
|
}
|
|
1117
1119
|
});
|
|
1118
1120
|
|
|
1119
|
-
$$
|
|
1121
|
+
$$5({ global: true, constructor: true, forced: true }, {
|
|
1120
1122
|
Symbol: SymbolWrapper
|
|
1121
1123
|
});
|
|
1122
1124
|
}
|
|
@@ -1133,24 +1135,24 @@ var objectKeys$1 = Object.keys || function keys(O) {
|
|
|
1133
1135
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1134
1136
|
};
|
|
1135
1137
|
|
|
1136
|
-
var DESCRIPTORS$
|
|
1138
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1137
1139
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1138
|
-
var definePropertyModule = objectDefineProperty;
|
|
1139
|
-
var anObject$
|
|
1140
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1141
|
+
var anObject$a = anObject$d;
|
|
1140
1142
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1141
1143
|
var objectKeys = objectKeys$1;
|
|
1142
1144
|
|
|
1143
1145
|
// `Object.defineProperties` method
|
|
1144
1146
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1145
1147
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1146
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1147
|
-
anObject$
|
|
1148
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1149
|
+
anObject$a(O);
|
|
1148
1150
|
var props = toIndexedObject$1(Properties);
|
|
1149
1151
|
var keys = objectKeys(Properties);
|
|
1150
1152
|
var length = keys.length;
|
|
1151
1153
|
var index = 0;
|
|
1152
1154
|
var key;
|
|
1153
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1155
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1154
1156
|
return O;
|
|
1155
1157
|
};
|
|
1156
1158
|
|
|
@@ -1159,7 +1161,7 @@ var getBuiltIn = getBuiltIn$3;
|
|
|
1159
1161
|
var html$1 = getBuiltIn('document', 'documentElement');
|
|
1160
1162
|
|
|
1161
1163
|
/* global ActiveXObject -- old IE, WSH */
|
|
1162
|
-
var anObject$
|
|
1164
|
+
var anObject$9 = anObject$d;
|
|
1163
1165
|
var definePropertiesModule = objectDefineProperties;
|
|
1164
1166
|
var enumBugKeys = enumBugKeys$3;
|
|
1165
1167
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -1233,7 +1235,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1233
1235
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1234
1236
|
var result;
|
|
1235
1237
|
if (O !== null) {
|
|
1236
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
1238
|
+
EmptyConstructor[PROTOTYPE] = anObject$9(O);
|
|
1237
1239
|
result = new EmptyConstructor();
|
|
1238
1240
|
EmptyConstructor[PROTOTYPE] = null;
|
|
1239
1241
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -1242,40 +1244,40 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1242
1244
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1243
1245
|
};
|
|
1244
1246
|
|
|
1245
|
-
var wellKnownSymbol$
|
|
1246
|
-
var create$
|
|
1247
|
+
var wellKnownSymbol$8 = wellKnownSymbol$c;
|
|
1248
|
+
var create$2 = objectCreate;
|
|
1247
1249
|
var defineProperty$2 = objectDefineProperty.f;
|
|
1248
1250
|
|
|
1249
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
1250
|
-
var ArrayPrototype = Array.prototype;
|
|
1251
|
+
var UNSCOPABLES = wellKnownSymbol$8('unscopables');
|
|
1252
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
1251
1253
|
|
|
1252
1254
|
// Array.prototype[@@unscopables]
|
|
1253
1255
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1254
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
1255
|
-
defineProperty$2(ArrayPrototype, UNSCOPABLES, {
|
|
1256
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
1257
|
+
defineProperty$2(ArrayPrototype$1, UNSCOPABLES, {
|
|
1256
1258
|
configurable: true,
|
|
1257
|
-
value: create$
|
|
1259
|
+
value: create$2(null)
|
|
1258
1260
|
});
|
|
1259
1261
|
}
|
|
1260
1262
|
|
|
1261
1263
|
// add a key to Array.prototype[@@unscopables]
|
|
1262
1264
|
var addToUnscopables$1 = function (key) {
|
|
1263
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1265
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
1264
1266
|
};
|
|
1265
1267
|
|
|
1266
1268
|
var iterators = {};
|
|
1267
1269
|
|
|
1268
|
-
var fails$
|
|
1270
|
+
var fails$4 = fails$d;
|
|
1269
1271
|
|
|
1270
|
-
var correctPrototypeGetter = !fails$
|
|
1272
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
1271
1273
|
function F() { /* empty */ }
|
|
1272
1274
|
F.prototype.constructor = null;
|
|
1273
1275
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1274
1276
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1275
1277
|
});
|
|
1276
1278
|
|
|
1277
|
-
var hasOwn$
|
|
1278
|
-
var isCallable$
|
|
1279
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1280
|
+
var isCallable$3 = isCallable$g;
|
|
1279
1281
|
var toObject = toObject$2;
|
|
1280
1282
|
var sharedKey = sharedKey$3;
|
|
1281
1283
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
@@ -1289,26 +1291,26 @@ var ObjectPrototype = $Object.prototype;
|
|
|
1289
1291
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1290
1292
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
1291
1293
|
var object = toObject(O);
|
|
1292
|
-
if (hasOwn$
|
|
1294
|
+
if (hasOwn$3(object, IE_PROTO)) return object[IE_PROTO];
|
|
1293
1295
|
var constructor = object.constructor;
|
|
1294
|
-
if (isCallable$
|
|
1296
|
+
if (isCallable$3(constructor) && object instanceof constructor) {
|
|
1295
1297
|
return constructor.prototype;
|
|
1296
1298
|
} return object instanceof $Object ? ObjectPrototype : null;
|
|
1297
1299
|
};
|
|
1298
1300
|
|
|
1299
|
-
var fails$
|
|
1300
|
-
var isCallable$
|
|
1301
|
+
var fails$3 = fails$d;
|
|
1302
|
+
var isCallable$2 = isCallable$g;
|
|
1301
1303
|
var isObject$2 = isObject$8;
|
|
1302
|
-
var getPrototypeOf$
|
|
1303
|
-
var defineBuiltIn$
|
|
1304
|
-
var wellKnownSymbol$
|
|
1304
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
1305
|
+
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
1306
|
+
var wellKnownSymbol$7 = wellKnownSymbol$c;
|
|
1305
1307
|
|
|
1306
|
-
var ITERATOR$
|
|
1308
|
+
var ITERATOR$6 = wellKnownSymbol$7('iterator');
|
|
1307
1309
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1308
1310
|
|
|
1309
1311
|
// `%IteratorPrototype%` object
|
|
1310
1312
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1311
|
-
var IteratorPrototype$
|
|
1313
|
+
var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1312
1314
|
|
|
1313
1315
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1314
1316
|
if ([].keys) {
|
|
@@ -1316,68 +1318,68 @@ if ([].keys) {
|
|
|
1316
1318
|
// Safari 8 has buggy iterators w/o `next`
|
|
1317
1319
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1318
1320
|
else {
|
|
1319
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
1320
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
1321
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
1322
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
|
|
1321
1323
|
}
|
|
1322
1324
|
}
|
|
1323
1325
|
|
|
1324
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$
|
|
1326
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$4) || fails$3(function () {
|
|
1325
1327
|
var test = {};
|
|
1326
1328
|
// FF44- legacy iterators case
|
|
1327
|
-
return IteratorPrototype$
|
|
1329
|
+
return IteratorPrototype$4[ITERATOR$6].call(test) !== test;
|
|
1328
1330
|
});
|
|
1329
1331
|
|
|
1330
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
1332
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
|
|
1331
1333
|
|
|
1332
1334
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
1333
1335
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1334
|
-
if (!isCallable$
|
|
1335
|
-
defineBuiltIn$
|
|
1336
|
+
if (!isCallable$2(IteratorPrototype$4[ITERATOR$6])) {
|
|
1337
|
+
defineBuiltIn$3(IteratorPrototype$4, ITERATOR$6, function () {
|
|
1336
1338
|
return this;
|
|
1337
1339
|
});
|
|
1338
1340
|
}
|
|
1339
1341
|
|
|
1340
1342
|
var iteratorsCore = {
|
|
1341
|
-
IteratorPrototype: IteratorPrototype$
|
|
1343
|
+
IteratorPrototype: IteratorPrototype$4,
|
|
1342
1344
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1343
1345
|
};
|
|
1344
1346
|
|
|
1345
1347
|
var defineProperty$1 = objectDefineProperty.f;
|
|
1346
|
-
var hasOwn$
|
|
1347
|
-
var wellKnownSymbol$
|
|
1348
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
1349
|
+
var wellKnownSymbol$6 = wellKnownSymbol$c;
|
|
1348
1350
|
|
|
1349
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
1351
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
|
|
1350
1352
|
|
|
1351
1353
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
1352
1354
|
if (target && !STATIC) target = target.prototype;
|
|
1353
|
-
if (target && !hasOwn$
|
|
1354
|
-
defineProperty$1(target, TO_STRING_TAG, { configurable: true, value: TAG });
|
|
1355
|
+
if (target && !hasOwn$2(target, TO_STRING_TAG$2)) {
|
|
1356
|
+
defineProperty$1(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
|
|
1355
1357
|
}
|
|
1356
1358
|
};
|
|
1357
1359
|
|
|
1358
|
-
var IteratorPrototype$
|
|
1359
|
-
var create = objectCreate;
|
|
1360
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
1360
|
+
var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
|
|
1361
|
+
var create$1 = objectCreate;
|
|
1362
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
1361
1363
|
var setToStringTag$2 = setToStringTag$3;
|
|
1362
|
-
var Iterators$
|
|
1364
|
+
var Iterators$4 = iterators;
|
|
1363
1365
|
|
|
1364
1366
|
var returnThis$1 = function () { return this; };
|
|
1365
1367
|
|
|
1366
1368
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1367
1369
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1368
|
-
IteratorConstructor.prototype = create(IteratorPrototype$
|
|
1370
|
+
IteratorConstructor.prototype = create$1(IteratorPrototype$3, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
1369
1371
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
1370
|
-
Iterators$
|
|
1372
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
1371
1373
|
return IteratorConstructor;
|
|
1372
1374
|
};
|
|
1373
1375
|
|
|
1374
|
-
var uncurryThis$
|
|
1375
|
-
var aCallable = aCallable$
|
|
1376
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1377
|
+
var aCallable$4 = aCallable$6;
|
|
1376
1378
|
|
|
1377
1379
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
1378
1380
|
try {
|
|
1379
1381
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1380
|
-
return uncurryThis$
|
|
1382
|
+
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
1381
1383
|
} catch (error) { /* empty */ }
|
|
1382
1384
|
};
|
|
1383
1385
|
|
|
@@ -1390,11 +1392,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
1390
1392
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
1391
1393
|
|
|
1392
1394
|
var $String = String;
|
|
1393
|
-
var $TypeError = TypeError;
|
|
1395
|
+
var $TypeError$4 = TypeError;
|
|
1394
1396
|
|
|
1395
1397
|
var aPossiblePrototype$1 = function (argument) {
|
|
1396
1398
|
if (isPossiblePrototype(argument)) return argument;
|
|
1397
|
-
throw new $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
|
1399
|
+
throw new $TypeError$4("Can't set " + $String(argument) + ' as a prototype');
|
|
1398
1400
|
};
|
|
1399
1401
|
|
|
1400
1402
|
/* eslint-disable no-proto -- safe */
|
|
@@ -1426,25 +1428,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1426
1428
|
};
|
|
1427
1429
|
}() : undefined);
|
|
1428
1430
|
|
|
1429
|
-
var $$
|
|
1430
|
-
var call$
|
|
1431
|
+
var $$4 = _export;
|
|
1432
|
+
var call$6 = functionCall;
|
|
1431
1433
|
var FunctionName = functionName;
|
|
1432
|
-
var isCallable = isCallable$
|
|
1434
|
+
var isCallable$1 = isCallable$g;
|
|
1433
1435
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1434
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
1436
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1435
1437
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
1436
1438
|
var setToStringTag$1 = setToStringTag$3;
|
|
1437
|
-
var createNonEnumerableProperty$
|
|
1438
|
-
var defineBuiltIn$
|
|
1439
|
-
var wellKnownSymbol$
|
|
1440
|
-
var Iterators$
|
|
1439
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
|
|
1440
|
+
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
1441
|
+
var wellKnownSymbol$5 = wellKnownSymbol$c;
|
|
1442
|
+
var Iterators$3 = iterators;
|
|
1441
1443
|
var IteratorsCore = iteratorsCore;
|
|
1442
1444
|
|
|
1443
1445
|
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1444
1446
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1445
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1447
|
+
var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
|
|
1446
1448
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1447
|
-
var ITERATOR$
|
|
1449
|
+
var ITERATOR$5 = wellKnownSymbol$5('iterator');
|
|
1448
1450
|
var KEYS = 'keys';
|
|
1449
1451
|
var VALUES = 'values';
|
|
1450
1452
|
var ENTRIES = 'entries';
|
|
@@ -1470,7 +1472,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1470
1472
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1471
1473
|
var INCORRECT_VALUES_NAME = false;
|
|
1472
1474
|
var IterablePrototype = Iterable.prototype;
|
|
1473
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
1475
|
+
var nativeIterator = IterablePrototype[ITERATOR$5]
|
|
1474
1476
|
|| IterablePrototype['@@iterator']
|
|
1475
1477
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1476
1478
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -1479,13 +1481,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1479
1481
|
|
|
1480
1482
|
// fix native
|
|
1481
1483
|
if (anyNativeIterator) {
|
|
1482
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1484
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
1483
1485
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1484
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1486
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
|
|
1485
1487
|
if (setPrototypeOf) {
|
|
1486
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1487
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$
|
|
1488
|
-
defineBuiltIn$
|
|
1488
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
|
|
1489
|
+
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$5])) {
|
|
1490
|
+
defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$5, returnThis);
|
|
1489
1491
|
}
|
|
1490
1492
|
}
|
|
1491
1493
|
// Set @@toStringTag to native iterators
|
|
@@ -1496,10 +1498,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1496
1498
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1497
1499
|
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1498
1500
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1499
|
-
createNonEnumerableProperty$
|
|
1501
|
+
createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
|
|
1500
1502
|
} else {
|
|
1501
1503
|
INCORRECT_VALUES_NAME = true;
|
|
1502
|
-
defaultIterator = function values() { return call$
|
|
1504
|
+
defaultIterator = function values() { return call$6(nativeIterator, this); };
|
|
1503
1505
|
}
|
|
1504
1506
|
}
|
|
1505
1507
|
|
|
@@ -1512,38 +1514,38 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1512
1514
|
};
|
|
1513
1515
|
if (FORCED) for (KEY in methods) {
|
|
1514
1516
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1515
|
-
defineBuiltIn$
|
|
1517
|
+
defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
|
|
1516
1518
|
}
|
|
1517
|
-
} else $$
|
|
1519
|
+
} else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1518
1520
|
}
|
|
1519
1521
|
|
|
1520
1522
|
// define iterator
|
|
1521
|
-
if (IterablePrototype[ITERATOR$
|
|
1522
|
-
defineBuiltIn$
|
|
1523
|
+
if (IterablePrototype[ITERATOR$5] !== defaultIterator) {
|
|
1524
|
+
defineBuiltIn$2(IterablePrototype, ITERATOR$5, defaultIterator, { name: DEFAULT });
|
|
1523
1525
|
}
|
|
1524
|
-
Iterators$
|
|
1526
|
+
Iterators$3[NAME] = defaultIterator;
|
|
1525
1527
|
|
|
1526
1528
|
return methods;
|
|
1527
1529
|
};
|
|
1528
1530
|
|
|
1529
1531
|
// `CreateIterResultObject` abstract operation
|
|
1530
1532
|
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1531
|
-
var createIterResultObject$
|
|
1533
|
+
var createIterResultObject$2 = function (value, done) {
|
|
1532
1534
|
return { value: value, done: done };
|
|
1533
1535
|
};
|
|
1534
1536
|
|
|
1535
1537
|
var toIndexedObject = toIndexedObject$5;
|
|
1536
1538
|
var addToUnscopables = addToUnscopables$1;
|
|
1537
|
-
var Iterators = iterators;
|
|
1538
|
-
var InternalStateModule = internalState;
|
|
1539
|
+
var Iterators$2 = iterators;
|
|
1540
|
+
var InternalStateModule$1 = internalState;
|
|
1539
1541
|
var defineProperty = objectDefineProperty.f;
|
|
1540
1542
|
var defineIterator = iteratorDefine;
|
|
1541
|
-
var createIterResultObject = createIterResultObject$
|
|
1542
|
-
var DESCRIPTORS = descriptors;
|
|
1543
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1544
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1543
1545
|
|
|
1544
1546
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1545
|
-
var setInternalState = InternalStateModule.set;
|
|
1546
|
-
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1547
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
1548
|
+
var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
|
|
1547
1549
|
|
|
1548
1550
|
// `Array.prototype.entries` method
|
|
1549
1551
|
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
@@ -1556,7 +1558,7 @@ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
|
1556
1558
|
// `CreateArrayIterator` internal method
|
|
1557
1559
|
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1558
1560
|
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1559
|
-
setInternalState(this, {
|
|
1561
|
+
setInternalState$1(this, {
|
|
1560
1562
|
type: ARRAY_ITERATOR,
|
|
1561
1563
|
target: toIndexedObject(iterated), // target
|
|
1562
1564
|
index: 0, // next index
|
|
@@ -1570,18 +1572,18 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
1570
1572
|
var index = state.index++;
|
|
1571
1573
|
if (!target || index >= target.length) {
|
|
1572
1574
|
state.target = undefined;
|
|
1573
|
-
return createIterResultObject(undefined, true);
|
|
1575
|
+
return createIterResultObject$1(undefined, true);
|
|
1574
1576
|
}
|
|
1575
1577
|
switch (state.kind) {
|
|
1576
|
-
case 'keys': return createIterResultObject(index, false);
|
|
1577
|
-
case 'values': return createIterResultObject(target[index], false);
|
|
1578
|
-
} return createIterResultObject([index, target[index]], false);
|
|
1578
|
+
case 'keys': return createIterResultObject$1(index, false);
|
|
1579
|
+
case 'values': return createIterResultObject$1(target[index], false);
|
|
1580
|
+
} return createIterResultObject$1([index, target[index]], false);
|
|
1579
1581
|
}, 'values');
|
|
1580
1582
|
|
|
1581
1583
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1582
1584
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1583
1585
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1584
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
1586
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
1585
1587
|
|
|
1586
1588
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1587
1589
|
addToUnscopables('keys');
|
|
@@ -1589,10 +1591,173 @@ addToUnscopables('values');
|
|
|
1589
1591
|
addToUnscopables('entries');
|
|
1590
1592
|
|
|
1591
1593
|
// V8 ~ Chrome 45- bug
|
|
1592
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
1594
|
+
if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
1593
1595
|
defineProperty(values, 'name', { value: 'values' });
|
|
1594
1596
|
} catch (error) { /* empty */ }
|
|
1595
1597
|
|
|
1598
|
+
// `GetIteratorDirect(obj)` abstract operation
|
|
1599
|
+
// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
|
|
1600
|
+
var getIteratorDirect$2 = function (obj) {
|
|
1601
|
+
return {
|
|
1602
|
+
iterator: obj,
|
|
1603
|
+
next: obj.next,
|
|
1604
|
+
done: false
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1608
|
+
var defineBuiltIn$1 = defineBuiltIn$5;
|
|
1609
|
+
|
|
1610
|
+
var defineBuiltIns$1 = function (target, src, options) {
|
|
1611
|
+
for (var key in src) defineBuiltIn$1(target, key, src[key], options);
|
|
1612
|
+
return target;
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
var call$5 = functionCall;
|
|
1616
|
+
var anObject$8 = anObject$d;
|
|
1617
|
+
var getMethod$2 = getMethod$4;
|
|
1618
|
+
|
|
1619
|
+
var iteratorClose$3 = function (iterator, kind, value) {
|
|
1620
|
+
var innerResult, innerError;
|
|
1621
|
+
anObject$8(iterator);
|
|
1622
|
+
try {
|
|
1623
|
+
innerResult = getMethod$2(iterator, 'return');
|
|
1624
|
+
if (!innerResult) {
|
|
1625
|
+
if (kind === 'throw') throw value;
|
|
1626
|
+
return value;
|
|
1627
|
+
}
|
|
1628
|
+
innerResult = call$5(innerResult, iterator);
|
|
1629
|
+
} catch (error) {
|
|
1630
|
+
innerError = true;
|
|
1631
|
+
innerResult = error;
|
|
1632
|
+
}
|
|
1633
|
+
if (kind === 'throw') throw value;
|
|
1634
|
+
if (innerError) throw innerResult;
|
|
1635
|
+
anObject$8(innerResult);
|
|
1636
|
+
return value;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
var call$4 = functionCall;
|
|
1640
|
+
var create = objectCreate;
|
|
1641
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
|
|
1642
|
+
var defineBuiltIns = defineBuiltIns$1;
|
|
1643
|
+
var wellKnownSymbol$4 = wellKnownSymbol$c;
|
|
1644
|
+
var InternalStateModule = internalState;
|
|
1645
|
+
var getMethod$1 = getMethod$4;
|
|
1646
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1647
|
+
var createIterResultObject = createIterResultObject$2;
|
|
1648
|
+
var iteratorClose$2 = iteratorClose$3;
|
|
1649
|
+
|
|
1650
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
|
|
1651
|
+
var ITERATOR_HELPER = 'IteratorHelper';
|
|
1652
|
+
var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
|
|
1653
|
+
var setInternalState = InternalStateModule.set;
|
|
1654
|
+
|
|
1655
|
+
var createIteratorProxyPrototype = function (IS_ITERATOR) {
|
|
1656
|
+
var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
|
|
1657
|
+
|
|
1658
|
+
return defineBuiltIns(create(IteratorPrototype$1), {
|
|
1659
|
+
next: function next() {
|
|
1660
|
+
var state = getInternalState(this);
|
|
1661
|
+
// for simplification:
|
|
1662
|
+
// for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`
|
|
1663
|
+
// for `%IteratorHelperPrototype%.next` - just a value
|
|
1664
|
+
if (IS_ITERATOR) return state.nextHandler();
|
|
1665
|
+
try {
|
|
1666
|
+
var result = state.done ? undefined : state.nextHandler();
|
|
1667
|
+
return createIterResultObject(result, state.done);
|
|
1668
|
+
} catch (error) {
|
|
1669
|
+
state.done = true;
|
|
1670
|
+
throw error;
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
'return': function () {
|
|
1674
|
+
var state = getInternalState(this);
|
|
1675
|
+
var iterator = state.iterator;
|
|
1676
|
+
state.done = true;
|
|
1677
|
+
if (IS_ITERATOR) {
|
|
1678
|
+
var returnMethod = getMethod$1(iterator, 'return');
|
|
1679
|
+
return returnMethod ? call$4(returnMethod, iterator) : createIterResultObject(undefined, true);
|
|
1680
|
+
}
|
|
1681
|
+
if (state.inner) try {
|
|
1682
|
+
iteratorClose$2(state.inner.iterator, 'normal');
|
|
1683
|
+
} catch (error) {
|
|
1684
|
+
return iteratorClose$2(iterator, 'throw', error);
|
|
1685
|
+
}
|
|
1686
|
+
iteratorClose$2(iterator, 'normal');
|
|
1687
|
+
return createIterResultObject(undefined, true);
|
|
1688
|
+
}
|
|
1689
|
+
});
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
|
|
1693
|
+
var IteratorHelperPrototype = createIteratorProxyPrototype(false);
|
|
1694
|
+
|
|
1695
|
+
createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG$1, 'Iterator Helper');
|
|
1696
|
+
|
|
1697
|
+
var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
|
|
1698
|
+
var IteratorProxy = function Iterator(record, state) {
|
|
1699
|
+
if (state) {
|
|
1700
|
+
state.iterator = record.iterator;
|
|
1701
|
+
state.next = record.next;
|
|
1702
|
+
} else state = record;
|
|
1703
|
+
state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
|
|
1704
|
+
state.nextHandler = nextHandler;
|
|
1705
|
+
state.counter = 0;
|
|
1706
|
+
state.done = false;
|
|
1707
|
+
setInternalState(this, state);
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1710
|
+
IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
|
|
1711
|
+
|
|
1712
|
+
return IteratorProxy;
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
var anObject$7 = anObject$d;
|
|
1716
|
+
var iteratorClose$1 = iteratorClose$3;
|
|
1717
|
+
|
|
1718
|
+
// call something on iterator step with safe closing on error
|
|
1719
|
+
var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
1720
|
+
try {
|
|
1721
|
+
return ENTRIES ? fn(anObject$7(value)[0], value[1]) : fn(value);
|
|
1722
|
+
} catch (error) {
|
|
1723
|
+
iteratorClose$1(iterator, 'throw', error);
|
|
1724
|
+
}
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1727
|
+
var call$3 = functionCall;
|
|
1728
|
+
var aCallable$3 = aCallable$6;
|
|
1729
|
+
var anObject$6 = anObject$d;
|
|
1730
|
+
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
1731
|
+
var createIteratorProxy = iteratorCreateProxy;
|
|
1732
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
1733
|
+
|
|
1734
|
+
var IteratorProxy = createIteratorProxy(function () {
|
|
1735
|
+
var iterator = this.iterator;
|
|
1736
|
+
var result = anObject$6(call$3(this.next, iterator));
|
|
1737
|
+
var done = this.done = !!result.done;
|
|
1738
|
+
if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
|
|
1739
|
+
});
|
|
1740
|
+
|
|
1741
|
+
// `Iterator.prototype.map` method
|
|
1742
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
1743
|
+
var iteratorMap = function map(mapper) {
|
|
1744
|
+
anObject$6(this);
|
|
1745
|
+
aCallable$3(mapper);
|
|
1746
|
+
return new IteratorProxy(getIteratorDirect$1(this), {
|
|
1747
|
+
mapper: mapper
|
|
1748
|
+
});
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
var $$3 = _export;
|
|
1752
|
+
var map = iteratorMap;
|
|
1753
|
+
var IS_PURE = isPure;
|
|
1754
|
+
|
|
1755
|
+
// `Iterator.prototype.map` method
|
|
1756
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
1757
|
+
$$3({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, {
|
|
1758
|
+
map: map
|
|
1759
|
+
});
|
|
1760
|
+
|
|
1596
1761
|
// iterable DOM collections
|
|
1597
1762
|
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1598
1763
|
var domIterables = {
|
|
@@ -1637,24 +1802,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
1637
1802
|
|
|
1638
1803
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1639
1804
|
|
|
1640
|
-
var global$
|
|
1805
|
+
var global$3 = global$e;
|
|
1641
1806
|
var DOMIterables = domIterables;
|
|
1642
1807
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1643
1808
|
var ArrayIteratorMethods = es_array_iterator;
|
|
1644
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1809
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$5;
|
|
1645
1810
|
var setToStringTag = setToStringTag$3;
|
|
1646
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1811
|
+
var wellKnownSymbol$3 = wellKnownSymbol$c;
|
|
1647
1812
|
|
|
1648
|
-
var ITERATOR$
|
|
1813
|
+
var ITERATOR$4 = wellKnownSymbol$3('iterator');
|
|
1649
1814
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
1650
1815
|
|
|
1651
1816
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1652
1817
|
if (CollectionPrototype) {
|
|
1653
1818
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1654
|
-
if (CollectionPrototype[ITERATOR$
|
|
1655
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR$
|
|
1819
|
+
if (CollectionPrototype[ITERATOR$4] !== ArrayValues) try {
|
|
1820
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$4, ArrayValues);
|
|
1656
1821
|
} catch (error) {
|
|
1657
|
-
CollectionPrototype[ITERATOR$
|
|
1822
|
+
CollectionPrototype[ITERATOR$4] = ArrayValues;
|
|
1658
1823
|
}
|
|
1659
1824
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
1660
1825
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
@@ -1669,7 +1834,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
1669
1834
|
};
|
|
1670
1835
|
|
|
1671
1836
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
1672
|
-
handlePrototype(global$
|
|
1837
|
+
handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1673
1838
|
}
|
|
1674
1839
|
|
|
1675
1840
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -3209,12 +3374,12 @@ function AddPrintServer(props) {
|
|
|
3209
3374
|
var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
3210
3375
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
3211
3376
|
|
|
3212
|
-
var uncurryThis$
|
|
3377
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
3213
3378
|
var requireObjectCoercible = requireObjectCoercible$4;
|
|
3214
3379
|
var toString$1 = toString$3;
|
|
3215
3380
|
var whitespaces$1 = whitespaces$2;
|
|
3216
3381
|
|
|
3217
|
-
var replace = uncurryThis$
|
|
3382
|
+
var replace = uncurryThis$3(''.replace);
|
|
3218
3383
|
var ltrim = RegExp('^[' + whitespaces$1 + ']+');
|
|
3219
3384
|
var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');
|
|
3220
3385
|
|
|
@@ -3240,44 +3405,44 @@ var stringTrim = {
|
|
|
3240
3405
|
trim: createMethod(3)
|
|
3241
3406
|
};
|
|
3242
3407
|
|
|
3243
|
-
var global$
|
|
3244
|
-
var fails$
|
|
3245
|
-
var uncurryThis = functionUncurryThis;
|
|
3408
|
+
var global$2 = global$e;
|
|
3409
|
+
var fails$2 = fails$d;
|
|
3410
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
3246
3411
|
var toString = toString$3;
|
|
3247
3412
|
var trim = stringTrim.trim;
|
|
3248
3413
|
var whitespaces = whitespaces$2;
|
|
3249
3414
|
|
|
3250
|
-
var $parseInt$1 = global$
|
|
3251
|
-
var Symbol$1 = global$
|
|
3252
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
3415
|
+
var $parseInt$1 = global$2.parseInt;
|
|
3416
|
+
var Symbol$1 = global$2.Symbol;
|
|
3417
|
+
var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;
|
|
3253
3418
|
var hex = /^[+-]?0x/i;
|
|
3254
|
-
var exec = uncurryThis(hex.exec);
|
|
3255
|
-
var FORCED = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
3419
|
+
var exec = uncurryThis$2(hex.exec);
|
|
3420
|
+
var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22
|
|
3256
3421
|
// MS Edge 18- broken with boxed symbols
|
|
3257
|
-
|| (ITERATOR && !fails$
|
|
3422
|
+
|| (ITERATOR$3 && !fails$2(function () { $parseInt$1(Object(ITERATOR$3)); }));
|
|
3258
3423
|
|
|
3259
3424
|
// `parseInt` method
|
|
3260
3425
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
3261
|
-
var numberParseInt = FORCED ? function parseInt(string, radix) {
|
|
3426
|
+
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
3262
3427
|
var S = trim(toString(string));
|
|
3263
3428
|
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
3264
3429
|
} : $parseInt$1;
|
|
3265
3430
|
|
|
3266
|
-
var
|
|
3431
|
+
var $$2 = _export;
|
|
3267
3432
|
var $parseInt = numberParseInt;
|
|
3268
3433
|
|
|
3269
3434
|
// `parseInt` method
|
|
3270
3435
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
3271
|
-
|
|
3436
|
+
$$2({ global: true, forced: parseInt !== $parseInt }, {
|
|
3272
3437
|
parseInt: $parseInt
|
|
3273
3438
|
});
|
|
3274
3439
|
|
|
3275
|
-
var anObject$
|
|
3440
|
+
var anObject$5 = anObject$d;
|
|
3276
3441
|
|
|
3277
3442
|
// `RegExp.prototype.flags` getter implementation
|
|
3278
3443
|
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
|
3279
3444
|
var regexpFlags = function () {
|
|
3280
|
-
var that = anObject$
|
|
3445
|
+
var that = anObject$5(this);
|
|
3281
3446
|
var result = '';
|
|
3282
3447
|
if (that.hasIndices) result += 'd';
|
|
3283
3448
|
if (that.global) result += 'g';
|
|
@@ -3290,31 +3455,31 @@ var regexpFlags = function () {
|
|
|
3290
3455
|
return result;
|
|
3291
3456
|
};
|
|
3292
3457
|
|
|
3293
|
-
var call = functionCall;
|
|
3294
|
-
var hasOwn = hasOwnProperty_1;
|
|
3295
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
3458
|
+
var call$2 = functionCall;
|
|
3459
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
3460
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3296
3461
|
var regExpFlags = regexpFlags;
|
|
3297
3462
|
|
|
3298
3463
|
var RegExpPrototype$1 = RegExp.prototype;
|
|
3299
3464
|
|
|
3300
3465
|
var regexpGetFlags = function (R) {
|
|
3301
3466
|
var flags = R.flags;
|
|
3302
|
-
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
|
|
3303
|
-
? call(regExpFlags, R) : flags;
|
|
3467
|
+
return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$1(R, 'flags') && isPrototypeOf$2(RegExpPrototype$1, R)
|
|
3468
|
+
? call$2(regExpFlags, R) : flags;
|
|
3304
3469
|
};
|
|
3305
3470
|
|
|
3306
3471
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
3307
|
-
var defineBuiltIn = defineBuiltIn$
|
|
3308
|
-
var anObject = anObject$
|
|
3472
|
+
var defineBuiltIn = defineBuiltIn$5;
|
|
3473
|
+
var anObject$4 = anObject$d;
|
|
3309
3474
|
var $toString = toString$3;
|
|
3310
|
-
var fails = fails$
|
|
3475
|
+
var fails$1 = fails$d;
|
|
3311
3476
|
var getRegExpFlags = regexpGetFlags;
|
|
3312
3477
|
|
|
3313
3478
|
var TO_STRING = 'toString';
|
|
3314
3479
|
var RegExpPrototype = RegExp.prototype;
|
|
3315
3480
|
var nativeToString = RegExpPrototype[TO_STRING];
|
|
3316
3481
|
|
|
3317
|
-
var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
3482
|
+
var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
|
|
3318
3483
|
// FF44- RegExp#toString has a wrong name
|
|
3319
3484
|
var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
3320
3485
|
|
|
@@ -3322,7 +3487,7 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
|
|
|
3322
3487
|
// https://tc39.es/ecma262/#sec-regexp.prototype.tostring
|
|
3323
3488
|
if (NOT_GENERIC || INCORRECT_NAME) {
|
|
3324
3489
|
defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
|
|
3325
|
-
var R = anObject(this);
|
|
3490
|
+
var R = anObject$4(this);
|
|
3326
3491
|
var pattern = $toString(R.source);
|
|
3327
3492
|
var flags = $toString(getRegExpFlags(R));
|
|
3328
3493
|
return '/' + pattern + '/' + flags;
|
|
@@ -3766,6 +3931,239 @@ function PrintServerList() {
|
|
|
3766
3931
|
});
|
|
3767
3932
|
}
|
|
3768
3933
|
|
|
3934
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3935
|
+
|
|
3936
|
+
var $TypeError$3 = TypeError;
|
|
3937
|
+
|
|
3938
|
+
var anInstance$1 = function (it, Prototype) {
|
|
3939
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
3940
|
+
throw new $TypeError$3('Incorrect invocation');
|
|
3941
|
+
};
|
|
3942
|
+
|
|
3943
|
+
var DESCRIPTORS$1 = descriptors;
|
|
3944
|
+
var definePropertyModule = objectDefineProperty;
|
|
3945
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3946
|
+
|
|
3947
|
+
var createProperty$1 = function (object, key, value) {
|
|
3948
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
3949
|
+
else object[key] = value;
|
|
3950
|
+
};
|
|
3951
|
+
|
|
3952
|
+
var $$1 = _export;
|
|
3953
|
+
var global$1 = global$e;
|
|
3954
|
+
var anInstance = anInstance$1;
|
|
3955
|
+
var anObject$3 = anObject$d;
|
|
3956
|
+
var isCallable = isCallable$g;
|
|
3957
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3958
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
3959
|
+
var createProperty = createProperty$1;
|
|
3960
|
+
var fails = fails$d;
|
|
3961
|
+
var hasOwn = hasOwnProperty_1;
|
|
3962
|
+
var wellKnownSymbol$2 = wellKnownSymbol$c;
|
|
3963
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3964
|
+
var DESCRIPTORS = descriptors;
|
|
3965
|
+
|
|
3966
|
+
var CONSTRUCTOR = 'constructor';
|
|
3967
|
+
var ITERATOR$2 = 'Iterator';
|
|
3968
|
+
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
3969
|
+
|
|
3970
|
+
var $TypeError$2 = TypeError;
|
|
3971
|
+
var NativeIterator = global$1[ITERATOR$2];
|
|
3972
|
+
|
|
3973
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3974
|
+
var FORCED = !isCallable(NativeIterator)
|
|
3975
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
3976
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3977
|
+
|| !fails(function () { NativeIterator({}); });
|
|
3978
|
+
|
|
3979
|
+
var IteratorConstructor = function Iterator() {
|
|
3980
|
+
anInstance(this, IteratorPrototype);
|
|
3981
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
3982
|
+
};
|
|
3983
|
+
|
|
3984
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3985
|
+
if (DESCRIPTORS) {
|
|
3986
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
3987
|
+
configurable: true,
|
|
3988
|
+
get: function () {
|
|
3989
|
+
return value;
|
|
3990
|
+
},
|
|
3991
|
+
set: function (replacement) {
|
|
3992
|
+
anObject$3(this);
|
|
3993
|
+
if (this === IteratorPrototype) throw new $TypeError$2("You can't redefine this property");
|
|
3994
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
3995
|
+
else createProperty(this, key, replacement);
|
|
3996
|
+
}
|
|
3997
|
+
});
|
|
3998
|
+
} else IteratorPrototype[key] = value;
|
|
3999
|
+
};
|
|
4000
|
+
|
|
4001
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR$2);
|
|
4002
|
+
|
|
4003
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
4004
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
4008
|
+
|
|
4009
|
+
// `Iterator` constructor
|
|
4010
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4011
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
4012
|
+
Iterator: IteratorConstructor
|
|
4013
|
+
});
|
|
4014
|
+
|
|
4015
|
+
var classofRaw = classofRaw$2;
|
|
4016
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
4017
|
+
|
|
4018
|
+
var functionUncurryThisClause = function (fn) {
|
|
4019
|
+
// Nashorn bug:
|
|
4020
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
4021
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
4022
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
|
|
4023
|
+
};
|
|
4024
|
+
|
|
4025
|
+
var uncurryThis = functionUncurryThisClause;
|
|
4026
|
+
var aCallable$2 = aCallable$6;
|
|
4027
|
+
var NATIVE_BIND = functionBindNative;
|
|
4028
|
+
|
|
4029
|
+
var bind$1 = uncurryThis(uncurryThis.bind);
|
|
4030
|
+
|
|
4031
|
+
// optional / simple context binding
|
|
4032
|
+
var functionBindContext = function (fn, that) {
|
|
4033
|
+
aCallable$2(fn);
|
|
4034
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
4035
|
+
return fn.apply(that, arguments);
|
|
4036
|
+
};
|
|
4037
|
+
};
|
|
4038
|
+
|
|
4039
|
+
var wellKnownSymbol$1 = wellKnownSymbol$c;
|
|
4040
|
+
var Iterators$1 = iterators;
|
|
4041
|
+
|
|
4042
|
+
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
4043
|
+
var ArrayPrototype = Array.prototype;
|
|
4044
|
+
|
|
4045
|
+
// check on default Array iterator
|
|
4046
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
4047
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
4048
|
+
};
|
|
4049
|
+
|
|
4050
|
+
var classof = classof$2;
|
|
4051
|
+
var getMethod = getMethod$4;
|
|
4052
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
|
4053
|
+
var Iterators = iterators;
|
|
4054
|
+
var wellKnownSymbol = wellKnownSymbol$c;
|
|
4055
|
+
|
|
4056
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
4057
|
+
|
|
4058
|
+
var getIteratorMethod$2 = function (it) {
|
|
4059
|
+
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
4060
|
+
|| getMethod(it, '@@iterator')
|
|
4061
|
+
|| Iterators[classof(it)];
|
|
4062
|
+
};
|
|
4063
|
+
|
|
4064
|
+
var call$1 = functionCall;
|
|
4065
|
+
var aCallable$1 = aCallable$6;
|
|
4066
|
+
var anObject$2 = anObject$d;
|
|
4067
|
+
var tryToString$1 = tryToString$3;
|
|
4068
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
4069
|
+
|
|
4070
|
+
var $TypeError$1 = TypeError;
|
|
4071
|
+
|
|
4072
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
4073
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
4074
|
+
if (aCallable$1(iteratorMethod)) return anObject$2(call$1(iteratorMethod, argument));
|
|
4075
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
4076
|
+
};
|
|
4077
|
+
|
|
4078
|
+
var bind = functionBindContext;
|
|
4079
|
+
var call = functionCall;
|
|
4080
|
+
var anObject$1 = anObject$d;
|
|
4081
|
+
var tryToString = tryToString$3;
|
|
4082
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
4083
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
4084
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
4085
|
+
var getIterator = getIterator$1;
|
|
4086
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
4087
|
+
var iteratorClose = iteratorClose$3;
|
|
4088
|
+
|
|
4089
|
+
var $TypeError = TypeError;
|
|
4090
|
+
|
|
4091
|
+
var Result = function (stopped, result) {
|
|
4092
|
+
this.stopped = stopped;
|
|
4093
|
+
this.result = result;
|
|
4094
|
+
};
|
|
4095
|
+
|
|
4096
|
+
var ResultPrototype = Result.prototype;
|
|
4097
|
+
|
|
4098
|
+
var iterate$1 = function (iterable, unboundFunction, options) {
|
|
4099
|
+
var that = options && options.that;
|
|
4100
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
4101
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
4102
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
4103
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
4104
|
+
var fn = bind(unboundFunction, that);
|
|
4105
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
4106
|
+
|
|
4107
|
+
var stop = function (condition) {
|
|
4108
|
+
if (iterator) iteratorClose(iterator, 'normal', condition);
|
|
4109
|
+
return new Result(true, condition);
|
|
4110
|
+
};
|
|
4111
|
+
|
|
4112
|
+
var callFn = function (value) {
|
|
4113
|
+
if (AS_ENTRIES) {
|
|
4114
|
+
anObject$1(value);
|
|
4115
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
4116
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4117
|
+
};
|
|
4118
|
+
|
|
4119
|
+
if (IS_RECORD) {
|
|
4120
|
+
iterator = iterable.iterator;
|
|
4121
|
+
} else if (IS_ITERATOR) {
|
|
4122
|
+
iterator = iterable;
|
|
4123
|
+
} else {
|
|
4124
|
+
iterFn = getIteratorMethod(iterable);
|
|
4125
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
4126
|
+
// optimisation for array iterators
|
|
4127
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
4128
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
4129
|
+
result = callFn(iterable[index]);
|
|
4130
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
4131
|
+
} return new Result(false);
|
|
4132
|
+
}
|
|
4133
|
+
iterator = getIterator(iterable, iterFn);
|
|
4134
|
+
}
|
|
4135
|
+
|
|
4136
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
4137
|
+
while (!(step = call(next, iterator)).done) {
|
|
4138
|
+
try {
|
|
4139
|
+
result = callFn(step.value);
|
|
4140
|
+
} catch (error) {
|
|
4141
|
+
iteratorClose(iterator, 'throw', error);
|
|
4142
|
+
}
|
|
4143
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
4144
|
+
} return new Result(false);
|
|
4145
|
+
};
|
|
4146
|
+
|
|
4147
|
+
var $ = _export;
|
|
4148
|
+
var iterate = iterate$1;
|
|
4149
|
+
var aCallable = aCallable$6;
|
|
4150
|
+
var anObject = anObject$d;
|
|
4151
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
4152
|
+
|
|
4153
|
+
// `Iterator.prototype.find` method
|
|
4154
|
+
// https://github.com/tc39/proposal-iterator-helpers
|
|
4155
|
+
$({ target: 'Iterator', proto: true, real: true }, {
|
|
4156
|
+
find: function find(predicate) {
|
|
4157
|
+
anObject(this);
|
|
4158
|
+
aCallable(predicate);
|
|
4159
|
+
var record = getIteratorDirect(this);
|
|
4160
|
+
var counter = 0;
|
|
4161
|
+
return iterate(record, function (value, stop) {
|
|
4162
|
+
if (predicate(value, counter++)) return stop(value);
|
|
4163
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).result;
|
|
4164
|
+
}
|
|
4165
|
+
});
|
|
4166
|
+
|
|
3769
4167
|
function PrinterChooser(props) {
|
|
3770
4168
|
const [printServersLoaded, setPrintServersLoaded] = useState(false);
|
|
3771
4169
|
const [selectedPrintServer, setSelectedPrintServer] = useState(null);
|