@trackunit/iris-app-runtime-core 0.2.6 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HostConnector.d.ts +6 -1
- package/index.d.ts +1 -0
- package/index.js +860 -853
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -27,26 +27,24 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
// Methods child is exposing to parent.
|
|
32
|
-
methods: {}
|
|
33
|
-
});
|
|
34
|
-
const getHostConnector = () => {
|
|
35
|
-
return hostConnector.promise;
|
|
36
|
-
};
|
|
30
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
37
31
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
const api = yield getHostConnector();
|
|
41
|
-
return api.getAssetInfo();
|
|
42
|
-
}),
|
|
43
|
-
gotoAssetHome: assetId => __awaiter(void 0, void 0, void 0, function* () {
|
|
44
|
-
const api = yield getHostConnector();
|
|
45
|
-
return api.gotoAssetHome(assetId);
|
|
46
|
-
})
|
|
32
|
+
var check = function (it) {
|
|
33
|
+
return it && it.Math == Math && it;
|
|
47
34
|
};
|
|
48
35
|
|
|
49
|
-
|
|
36
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
37
|
+
var global$d =
|
|
38
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
39
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
40
|
+
check(typeof window == 'object' && window) ||
|
|
41
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
42
|
+
check(typeof self == 'object' && self) ||
|
|
43
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
44
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
45
|
+
(function () { return this; })() || Function('return this')();
|
|
46
|
+
|
|
47
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
50
48
|
|
|
51
49
|
var fails$e = function (exec) {
|
|
52
50
|
try {
|
|
@@ -58,7 +56,15 @@ var fails$e = function (exec) {
|
|
|
58
56
|
|
|
59
57
|
var fails$d = fails$e;
|
|
60
58
|
|
|
61
|
-
|
|
59
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
60
|
+
var descriptors = !fails$d(function () {
|
|
61
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
62
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
var fails$c = fails$e;
|
|
66
|
+
|
|
67
|
+
var functionBindNative = !fails$c(function () {
|
|
62
68
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
63
69
|
var test = (function () { /* empty */ }).bind();
|
|
64
70
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -67,13 +73,46 @@ var functionBindNative = !fails$d(function () {
|
|
|
67
73
|
|
|
68
74
|
var NATIVE_BIND$1 = functionBindNative;
|
|
69
75
|
|
|
76
|
+
var call$6 = Function.prototype.call;
|
|
77
|
+
|
|
78
|
+
var functionCall = NATIVE_BIND$1 ? call$6.bind(call$6) : function () {
|
|
79
|
+
return call$6.apply(call$6, arguments);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
var objectPropertyIsEnumerable = {};
|
|
83
|
+
|
|
84
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
85
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
86
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
87
|
+
|
|
88
|
+
// Nashorn ~ JDK8 bug
|
|
89
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
90
|
+
|
|
91
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
92
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
93
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
94
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
95
|
+
return !!descriptor && descriptor.enumerable;
|
|
96
|
+
} : $propertyIsEnumerable;
|
|
97
|
+
|
|
98
|
+
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
99
|
+
return {
|
|
100
|
+
enumerable: !(bitmap & 1),
|
|
101
|
+
configurable: !(bitmap & 2),
|
|
102
|
+
writable: !(bitmap & 4),
|
|
103
|
+
value: value
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
var NATIVE_BIND = functionBindNative;
|
|
108
|
+
|
|
70
109
|
var FunctionPrototype$1 = Function.prototype;
|
|
71
|
-
var call$
|
|
72
|
-
var uncurryThisWithBind = NATIVE_BIND
|
|
110
|
+
var call$5 = FunctionPrototype$1.call;
|
|
111
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
|
|
73
112
|
|
|
74
113
|
var functionUncurryThisRaw = function (fn) {
|
|
75
|
-
return NATIVE_BIND
|
|
76
|
-
return call$
|
|
114
|
+
return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
|
|
115
|
+
return call$5.apply(fn, arguments);
|
|
77
116
|
};
|
|
78
117
|
};
|
|
79
118
|
|
|
@@ -97,14 +136,14 @@ var functionUncurryThis = function (fn) {
|
|
|
97
136
|
};
|
|
98
137
|
|
|
99
138
|
var uncurryThis$b = functionUncurryThis;
|
|
100
|
-
var fails$
|
|
139
|
+
var fails$b = fails$e;
|
|
101
140
|
var classof$2 = classofRaw$2;
|
|
102
141
|
|
|
103
142
|
var $Object$4 = Object;
|
|
104
143
|
var split = uncurryThis$b(''.split);
|
|
105
144
|
|
|
106
145
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
107
|
-
var indexedObject = fails$
|
|
146
|
+
var indexedObject = fails$b(function () {
|
|
108
147
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
109
148
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
110
149
|
return !$Object$4('z').propertyIsEnumerable(0);
|
|
@@ -137,88 +176,6 @@ var toIndexedObject$5 = function (it) {
|
|
|
137
176
|
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
138
177
|
};
|
|
139
178
|
|
|
140
|
-
var check = function (it) {
|
|
141
|
-
return it && it.Math == Math && it;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
145
|
-
var global$d =
|
|
146
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
147
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
148
|
-
check(typeof window == 'object' && window) ||
|
|
149
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
150
|
-
check(typeof self == 'object' && self) ||
|
|
151
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
152
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
153
|
-
(function () { return this; })() || Function('return this')();
|
|
154
|
-
|
|
155
|
-
var shared$3 = {exports: {}};
|
|
156
|
-
|
|
157
|
-
var global$c = global$d;
|
|
158
|
-
|
|
159
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
160
|
-
var defineProperty$5 = Object.defineProperty;
|
|
161
|
-
|
|
162
|
-
var defineGlobalProperty$3 = function (key, value) {
|
|
163
|
-
try {
|
|
164
|
-
defineProperty$5(global$c, key, { value: value, configurable: true, writable: true });
|
|
165
|
-
} catch (error) {
|
|
166
|
-
global$c[key] = value;
|
|
167
|
-
} return value;
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
var global$b = global$d;
|
|
171
|
-
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
172
|
-
|
|
173
|
-
var SHARED = '__core-js_shared__';
|
|
174
|
-
var store$3 = global$b[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
175
|
-
|
|
176
|
-
var sharedStore = store$3;
|
|
177
|
-
|
|
178
|
-
var store$2 = sharedStore;
|
|
179
|
-
|
|
180
|
-
(shared$3.exports = function (key, value) {
|
|
181
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
182
|
-
})('versions', []).push({
|
|
183
|
-
version: '3.25.5',
|
|
184
|
-
mode: 'global',
|
|
185
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
186
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
187
|
-
source: 'https://github.com/zloirock/core-js'
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
191
|
-
|
|
192
|
-
var $Object$3 = Object;
|
|
193
|
-
|
|
194
|
-
// `ToObject` abstract operation
|
|
195
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
196
|
-
var toObject$3 = function (argument) {
|
|
197
|
-
return $Object$3(requireObjectCoercible$1(argument));
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
var uncurryThis$a = functionUncurryThis;
|
|
201
|
-
var toObject$2 = toObject$3;
|
|
202
|
-
|
|
203
|
-
var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
|
|
204
|
-
|
|
205
|
-
// `HasOwnProperty` abstract operation
|
|
206
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
207
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
208
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
209
|
-
return hasOwnProperty(toObject$2(it), key);
|
|
210
|
-
};
|
|
211
|
-
|
|
212
|
-
var uncurryThis$9 = functionUncurryThis;
|
|
213
|
-
|
|
214
|
-
var id = 0;
|
|
215
|
-
var postfix = Math.random();
|
|
216
|
-
var toString$4 = uncurryThis$9(1.0.toString);
|
|
217
|
-
|
|
218
|
-
var uid$2 = function (key) {
|
|
219
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
220
|
-
};
|
|
221
|
-
|
|
222
179
|
var documentAll$2 = typeof document == 'object' && document.all;
|
|
223
180
|
|
|
224
181
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -241,26 +198,41 @@ var isCallable$f = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
|
241
198
|
return typeof argument == 'function';
|
|
242
199
|
};
|
|
243
200
|
|
|
244
|
-
var global$a = global$d;
|
|
245
201
|
var isCallable$e = isCallable$f;
|
|
202
|
+
var $documentAll = documentAll_1;
|
|
203
|
+
|
|
204
|
+
var documentAll = $documentAll.all;
|
|
205
|
+
|
|
206
|
+
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
207
|
+
return typeof it == 'object' ? it !== null : isCallable$e(it) || it === documentAll;
|
|
208
|
+
} : function (it) {
|
|
209
|
+
return typeof it == 'object' ? it !== null : isCallable$e(it);
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
var global$c = global$d;
|
|
213
|
+
var isCallable$d = isCallable$f;
|
|
246
214
|
|
|
247
215
|
var aFunction = function (argument) {
|
|
248
|
-
return isCallable$
|
|
216
|
+
return isCallable$d(argument) ? argument : undefined;
|
|
249
217
|
};
|
|
250
218
|
|
|
251
219
|
var getBuiltIn$4 = function (namespace, method) {
|
|
252
|
-
return arguments.length < 2 ? aFunction(global$
|
|
220
|
+
return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
|
|
253
221
|
};
|
|
254
222
|
|
|
223
|
+
var uncurryThis$a = functionUncurryThis;
|
|
224
|
+
|
|
225
|
+
var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
|
|
226
|
+
|
|
255
227
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
256
228
|
|
|
257
229
|
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
258
230
|
|
|
259
|
-
var global$
|
|
231
|
+
var global$b = global$d;
|
|
260
232
|
var userAgent = engineUserAgent;
|
|
261
233
|
|
|
262
|
-
var process = global$
|
|
263
|
-
var Deno = global$
|
|
234
|
+
var process = global$b.process;
|
|
235
|
+
var Deno = global$b.Deno;
|
|
264
236
|
var versions = process && process.versions || Deno && Deno.version;
|
|
265
237
|
var v8 = versions && versions.v8;
|
|
266
238
|
var match, version;
|
|
@@ -287,10 +259,10 @@ var engineV8Version = version;
|
|
|
287
259
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
288
260
|
|
|
289
261
|
var V8_VERSION = engineV8Version;
|
|
290
|
-
var fails$
|
|
262
|
+
var fails$a = fails$e;
|
|
291
263
|
|
|
292
264
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
293
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
265
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
|
|
294
266
|
var symbol = Symbol();
|
|
295
267
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
296
268
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -307,195 +279,180 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
307
279
|
&& !Symbol.sham
|
|
308
280
|
&& typeof Symbol.iterator == 'symbol';
|
|
309
281
|
|
|
310
|
-
var
|
|
311
|
-
var
|
|
312
|
-
var
|
|
313
|
-
var uid$1 = uid$2;
|
|
314
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
282
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
283
|
+
var isCallable$c = isCallable$f;
|
|
284
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
315
285
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
316
286
|
|
|
317
|
-
var
|
|
318
|
-
var Symbol$3 = global$8.Symbol;
|
|
319
|
-
var symbolFor = Symbol$3 && Symbol$3['for'];
|
|
320
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
|
|
287
|
+
var $Object$3 = Object;
|
|
321
288
|
|
|
322
|
-
var
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
} else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
|
|
328
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
329
|
-
} else {
|
|
330
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
331
|
-
}
|
|
332
|
-
} return WellKnownSymbolsStore[name];
|
|
289
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
290
|
+
return typeof it == 'symbol';
|
|
291
|
+
} : function (it) {
|
|
292
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
293
|
+
return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
|
|
333
294
|
};
|
|
334
295
|
|
|
335
|
-
var
|
|
336
|
-
var $documentAll = documentAll_1;
|
|
337
|
-
|
|
338
|
-
var documentAll = $documentAll.all;
|
|
296
|
+
var $String$3 = String;
|
|
339
297
|
|
|
340
|
-
var
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
298
|
+
var tryToString$1 = function (argument) {
|
|
299
|
+
try {
|
|
300
|
+
return $String$3(argument);
|
|
301
|
+
} catch (error) {
|
|
302
|
+
return 'Object';
|
|
303
|
+
}
|
|
344
304
|
};
|
|
345
305
|
|
|
346
|
-
var
|
|
306
|
+
var isCallable$b = isCallable$f;
|
|
307
|
+
var tryToString = tryToString$1;
|
|
347
308
|
|
|
348
|
-
var $String$3 = String;
|
|
349
309
|
var $TypeError$5 = TypeError;
|
|
350
310
|
|
|
351
|
-
// `Assert:
|
|
352
|
-
var
|
|
353
|
-
if (
|
|
354
|
-
throw $TypeError$5(
|
|
311
|
+
// `Assert: IsCallable(argument) is true`
|
|
312
|
+
var aCallable$1 = function (argument) {
|
|
313
|
+
if (isCallable$b(argument)) return argument;
|
|
314
|
+
throw $TypeError$5(tryToString(argument) + ' is not a function');
|
|
355
315
|
};
|
|
356
316
|
|
|
357
|
-
var
|
|
317
|
+
var aCallable = aCallable$1;
|
|
318
|
+
var isNullOrUndefined = isNullOrUndefined$2;
|
|
358
319
|
|
|
359
|
-
|
|
320
|
+
// `GetMethod` abstract operation
|
|
321
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
322
|
+
var getMethod$1 = function (V, P) {
|
|
323
|
+
var func = V[P];
|
|
324
|
+
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
325
|
+
};
|
|
360
326
|
|
|
361
|
-
|
|
362
|
-
var
|
|
363
|
-
|
|
364
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
365
|
-
});
|
|
327
|
+
var call$4 = functionCall;
|
|
328
|
+
var isCallable$a = isCallable$f;
|
|
329
|
+
var isObject$5 = isObject$6;
|
|
366
330
|
|
|
367
|
-
var
|
|
368
|
-
var fails$9 = fails$e;
|
|
331
|
+
var $TypeError$4 = TypeError;
|
|
369
332
|
|
|
370
|
-
//
|
|
371
|
-
// https://
|
|
372
|
-
var
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
}
|
|
333
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
334
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
335
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
336
|
+
var fn, val;
|
|
337
|
+
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
338
|
+
if (isCallable$a(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
|
|
339
|
+
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
|
340
|
+
throw $TypeError$4("Can't convert object to primitive value");
|
|
341
|
+
};
|
|
379
342
|
|
|
380
|
-
var
|
|
343
|
+
var shared$3 = {exports: {}};
|
|
381
344
|
|
|
382
|
-
var global$
|
|
383
|
-
var isObject$4 = isObject$6;
|
|
345
|
+
var global$a = global$d;
|
|
384
346
|
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
347
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
348
|
+
var defineProperty$5 = Object.defineProperty;
|
|
388
349
|
|
|
389
|
-
var
|
|
390
|
-
|
|
350
|
+
var defineGlobalProperty$3 = function (key, value) {
|
|
351
|
+
try {
|
|
352
|
+
defineProperty$5(global$a, key, { value: value, configurable: true, writable: true });
|
|
353
|
+
} catch (error) {
|
|
354
|
+
global$a[key] = value;
|
|
355
|
+
} return value;
|
|
391
356
|
};
|
|
392
357
|
|
|
393
|
-
var
|
|
394
|
-
var
|
|
395
|
-
var createElement = documentCreateElement$2;
|
|
396
|
-
|
|
397
|
-
// Thanks to IE8 for its funny defineProperty
|
|
398
|
-
var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(function () {
|
|
399
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
400
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
401
|
-
get: function () { return 7; }
|
|
402
|
-
}).a != 7;
|
|
403
|
-
});
|
|
404
|
-
|
|
405
|
-
var NATIVE_BIND = functionBindNative;
|
|
358
|
+
var global$9 = global$d;
|
|
359
|
+
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
406
360
|
|
|
407
|
-
var
|
|
361
|
+
var SHARED = '__core-js_shared__';
|
|
362
|
+
var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
408
363
|
|
|
409
|
-
var
|
|
410
|
-
return call$5.apply(call$5, arguments);
|
|
411
|
-
};
|
|
364
|
+
var sharedStore = store$3;
|
|
412
365
|
|
|
413
|
-
var
|
|
366
|
+
var store$2 = sharedStore;
|
|
414
367
|
|
|
415
|
-
|
|
368
|
+
(shared$3.exports = function (key, value) {
|
|
369
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
370
|
+
})('versions', []).push({
|
|
371
|
+
version: '3.25.5',
|
|
372
|
+
mode: 'global',
|
|
373
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
374
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
375
|
+
source: 'https://github.com/zloirock/core-js'
|
|
376
|
+
});
|
|
416
377
|
|
|
417
|
-
var
|
|
418
|
-
var isCallable$c = isCallable$f;
|
|
419
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
420
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
378
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
421
379
|
|
|
422
380
|
var $Object$2 = Object;
|
|
423
381
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
var $String$2 = String;
|
|
432
|
-
|
|
433
|
-
var tryToString$1 = function (argument) {
|
|
434
|
-
try {
|
|
435
|
-
return $String$2(argument);
|
|
436
|
-
} catch (error) {
|
|
437
|
-
return 'Object';
|
|
438
|
-
}
|
|
382
|
+
// `ToObject` abstract operation
|
|
383
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
384
|
+
var toObject$3 = function (argument) {
|
|
385
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
439
386
|
};
|
|
440
387
|
|
|
441
|
-
var
|
|
442
|
-
var
|
|
388
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
389
|
+
var toObject$2 = toObject$3;
|
|
443
390
|
|
|
444
|
-
var
|
|
391
|
+
var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
|
|
445
392
|
|
|
446
|
-
// `
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
393
|
+
// `HasOwnProperty` abstract operation
|
|
394
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
395
|
+
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
396
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
397
|
+
return hasOwnProperty(toObject$2(it), key);
|
|
450
398
|
};
|
|
451
399
|
|
|
452
|
-
var
|
|
453
|
-
var isNullOrUndefined = isNullOrUndefined$2;
|
|
400
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
454
401
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
var
|
|
458
|
-
|
|
459
|
-
|
|
402
|
+
var id = 0;
|
|
403
|
+
var postfix = Math.random();
|
|
404
|
+
var toString$4 = uncurryThis$8(1.0.toString);
|
|
405
|
+
|
|
406
|
+
var uid$2 = function (key) {
|
|
407
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
460
408
|
};
|
|
461
409
|
|
|
462
|
-
var
|
|
463
|
-
var
|
|
464
|
-
var
|
|
410
|
+
var global$8 = global$d;
|
|
411
|
+
var shared$2 = shared$3.exports;
|
|
412
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
413
|
+
var uid$1 = uid$2;
|
|
414
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
415
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
465
416
|
|
|
466
|
-
var
|
|
417
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
418
|
+
var Symbol$3 = global$8.Symbol;
|
|
419
|
+
var symbolFor = Symbol$3 && Symbol$3['for'];
|
|
420
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
|
|
467
421
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
var
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
422
|
+
var wellKnownSymbol$8 = function (name) {
|
|
423
|
+
if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
424
|
+
var description = 'Symbol.' + name;
|
|
425
|
+
if (NATIVE_SYMBOL && hasOwn$8(Symbol$3, name)) {
|
|
426
|
+
WellKnownSymbolsStore[name] = Symbol$3[name];
|
|
427
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
428
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
429
|
+
} else {
|
|
430
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
431
|
+
}
|
|
432
|
+
} return WellKnownSymbolsStore[name];
|
|
476
433
|
};
|
|
477
434
|
|
|
478
435
|
var call$3 = functionCall;
|
|
479
|
-
var isObject$
|
|
436
|
+
var isObject$4 = isObject$6;
|
|
480
437
|
var isSymbol$1 = isSymbol$2;
|
|
481
438
|
var getMethod = getMethod$1;
|
|
482
439
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
483
440
|
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
484
441
|
|
|
485
|
-
var $TypeError$
|
|
442
|
+
var $TypeError$3 = TypeError;
|
|
486
443
|
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
487
444
|
|
|
488
445
|
// `ToPrimitive` abstract operation
|
|
489
446
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
490
447
|
var toPrimitive$1 = function (input, pref) {
|
|
491
|
-
if (!isObject$
|
|
448
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
492
449
|
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
493
450
|
var result;
|
|
494
451
|
if (exoticToPrim) {
|
|
495
452
|
if (pref === undefined) pref = 'default';
|
|
496
453
|
result = call$3(exoticToPrim, input, pref);
|
|
497
|
-
if (!isObject$
|
|
498
|
-
throw $TypeError$
|
|
454
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
455
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
|
499
456
|
}
|
|
500
457
|
if (pref === undefined) pref = 'number';
|
|
501
458
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -511,29 +468,101 @@ var toPropertyKey$2 = function (argument) {
|
|
|
511
468
|
return isSymbol(key) ? key : key + '';
|
|
512
469
|
};
|
|
513
470
|
|
|
514
|
-
var
|
|
471
|
+
var global$7 = global$d;
|
|
472
|
+
var isObject$3 = isObject$6;
|
|
473
|
+
|
|
474
|
+
var document$1 = global$7.document;
|
|
475
|
+
// typeof document.createElement is 'object' in old IE
|
|
476
|
+
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
|
477
|
+
|
|
478
|
+
var documentCreateElement$2 = function (it) {
|
|
479
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
var DESCRIPTORS$9 = descriptors;
|
|
483
|
+
var fails$9 = fails$e;
|
|
484
|
+
var createElement = documentCreateElement$2;
|
|
485
|
+
|
|
486
|
+
// Thanks to IE8 for its funny defineProperty
|
|
487
|
+
var ie8DomDefine = !DESCRIPTORS$9 && !fails$9(function () {
|
|
488
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
489
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
490
|
+
get: function () { return 7; }
|
|
491
|
+
}).a != 7;
|
|
492
|
+
});
|
|
493
|
+
|
|
494
|
+
var DESCRIPTORS$8 = descriptors;
|
|
495
|
+
var call$2 = functionCall;
|
|
496
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
497
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
498
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
499
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
500
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
515
501
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
502
|
+
|
|
503
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
504
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
505
|
+
|
|
506
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
507
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
508
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
509
|
+
O = toIndexedObject$4(O);
|
|
510
|
+
P = toPropertyKey$1(P);
|
|
511
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
512
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
|
513
|
+
} catch (error) { /* empty */ }
|
|
514
|
+
if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
var objectDefineProperty = {};
|
|
518
|
+
|
|
519
|
+
var DESCRIPTORS$7 = descriptors;
|
|
520
|
+
var fails$8 = fails$e;
|
|
521
|
+
|
|
522
|
+
// V8 ~ Chrome 36-
|
|
523
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
524
|
+
var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
525
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
526
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
527
|
+
value: 42,
|
|
528
|
+
writable: false
|
|
529
|
+
}).prototype != 42;
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
var isObject$2 = isObject$6;
|
|
533
|
+
|
|
534
|
+
var $String$2 = String;
|
|
535
|
+
var $TypeError$2 = TypeError;
|
|
536
|
+
|
|
537
|
+
// `Assert: Type(argument) is Object`
|
|
538
|
+
var anObject$5 = function (argument) {
|
|
539
|
+
if (isObject$2(argument)) return argument;
|
|
540
|
+
throw $TypeError$2($String$2(argument) + ' is not an object');
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
var DESCRIPTORS$6 = descriptors;
|
|
544
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
516
545
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
517
546
|
var anObject$4 = anObject$5;
|
|
518
|
-
var toPropertyKey
|
|
547
|
+
var toPropertyKey = toPropertyKey$2;
|
|
519
548
|
|
|
520
549
|
var $TypeError$1 = TypeError;
|
|
521
550
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
522
551
|
var $defineProperty = Object.defineProperty;
|
|
523
552
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
524
|
-
var $getOwnPropertyDescriptor
|
|
553
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
525
554
|
var ENUMERABLE = 'enumerable';
|
|
526
555
|
var CONFIGURABLE$1 = 'configurable';
|
|
527
556
|
var WRITABLE = 'writable';
|
|
528
557
|
|
|
529
558
|
// `Object.defineProperty` method
|
|
530
559
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
531
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
560
|
+
objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
532
561
|
anObject$4(O);
|
|
533
|
-
P = toPropertyKey
|
|
562
|
+
P = toPropertyKey(P);
|
|
534
563
|
anObject$4(Attributes);
|
|
535
564
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
536
|
-
var current = $getOwnPropertyDescriptor
|
|
565
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
537
566
|
if (current && current[WRITABLE]) {
|
|
538
567
|
O[P] = Attributes.value;
|
|
539
568
|
Attributes = {
|
|
@@ -545,9 +574,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
545
574
|
} return $defineProperty(O, P, Attributes);
|
|
546
575
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
547
576
|
anObject$4(O);
|
|
548
|
-
P = toPropertyKey
|
|
577
|
+
P = toPropertyKey(P);
|
|
549
578
|
anObject$4(Attributes);
|
|
550
|
-
if (IE8_DOM_DEFINE
|
|
579
|
+
if (IE8_DOM_DEFINE) try {
|
|
551
580
|
return $defineProperty(O, P, Attributes);
|
|
552
581
|
} catch (error) { /* empty */ }
|
|
553
582
|
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
|
|
@@ -555,159 +584,58 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
555
584
|
return O;
|
|
556
585
|
};
|
|
557
586
|
|
|
558
|
-
var
|
|
559
|
-
var
|
|
587
|
+
var DESCRIPTORS$5 = descriptors;
|
|
588
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
589
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
560
590
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
return (n > 0 ? floor : ceil)(n);
|
|
591
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
592
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
|
593
|
+
} : function (object, key, value) {
|
|
594
|
+
object[key] = value;
|
|
595
|
+
return object;
|
|
567
596
|
};
|
|
568
597
|
|
|
569
|
-
var
|
|
598
|
+
var makeBuiltIn$2 = {exports: {}};
|
|
570
599
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
574
|
-
var number = +argument;
|
|
575
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
576
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
577
|
-
};
|
|
600
|
+
var DESCRIPTORS$4 = descriptors;
|
|
601
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
578
602
|
|
|
579
|
-
var
|
|
603
|
+
var FunctionPrototype = Function.prototype;
|
|
604
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
605
|
+
var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
|
|
580
606
|
|
|
581
|
-
var
|
|
582
|
-
|
|
607
|
+
var EXISTS = hasOwn$6(FunctionPrototype, 'name');
|
|
608
|
+
// additional protection from minified / mangled / dropped function names
|
|
609
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
610
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
583
611
|
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
589
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
612
|
+
var functionName = {
|
|
613
|
+
EXISTS: EXISTS,
|
|
614
|
+
PROPER: PROPER,
|
|
615
|
+
CONFIGURABLE: CONFIGURABLE
|
|
590
616
|
};
|
|
591
617
|
|
|
592
|
-
var
|
|
618
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
619
|
+
var isCallable$9 = isCallable$f;
|
|
620
|
+
var store$1 = sharedStore;
|
|
593
621
|
|
|
594
|
-
var
|
|
622
|
+
var functionToString = uncurryThis$7(Function.toString);
|
|
595
623
|
|
|
596
|
-
// `
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
};
|
|
624
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
625
|
+
if (!isCallable$9(store$1.inspectSource)) {
|
|
626
|
+
store$1.inspectSource = function (it) {
|
|
627
|
+
return functionToString(it);
|
|
628
|
+
};
|
|
629
|
+
}
|
|
601
630
|
|
|
602
|
-
var
|
|
631
|
+
var inspectSource$1 = store$1.inspectSource;
|
|
603
632
|
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
607
|
-
return toLength(obj.length);
|
|
608
|
-
};
|
|
633
|
+
var global$6 = global$d;
|
|
634
|
+
var isCallable$8 = isCallable$f;
|
|
609
635
|
|
|
610
|
-
var
|
|
611
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
612
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
636
|
+
var WeakMap$1 = global$6.WeakMap;
|
|
613
637
|
|
|
614
|
-
|
|
615
|
-
var createMethod$1 = function (IS_INCLUDES) {
|
|
616
|
-
return function ($this, el, fromIndex) {
|
|
617
|
-
var O = toIndexedObject$4($this);
|
|
618
|
-
var length = lengthOfArrayLike(O);
|
|
619
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
620
|
-
var value;
|
|
621
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
622
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
623
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
|
624
|
-
value = O[index++];
|
|
625
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
626
|
-
if (value != value) return true;
|
|
627
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
628
|
-
} else for (;length > index; index++) {
|
|
629
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
630
|
-
} return !IS_INCLUDES && -1;
|
|
631
|
-
};
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
var arrayIncludes = {
|
|
635
|
-
// `Array.prototype.includes` method
|
|
636
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
637
|
-
includes: createMethod$1(true),
|
|
638
|
-
// `Array.prototype.indexOf` method
|
|
639
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
640
|
-
indexOf: createMethod$1(false)
|
|
641
|
-
};
|
|
642
|
-
|
|
643
|
-
var hiddenKeys$4 = {};
|
|
644
|
-
|
|
645
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
646
|
-
var hasOwn$7 = hasOwnProperty_1;
|
|
647
|
-
var toIndexedObject$3 = toIndexedObject$5;
|
|
648
|
-
var indexOf = arrayIncludes.indexOf;
|
|
649
|
-
var hiddenKeys$3 = hiddenKeys$4;
|
|
650
|
-
|
|
651
|
-
var push = uncurryThis$7([].push);
|
|
652
|
-
|
|
653
|
-
var objectKeysInternal = function (object, names) {
|
|
654
|
-
var O = toIndexedObject$3(object);
|
|
655
|
-
var i = 0;
|
|
656
|
-
var result = [];
|
|
657
|
-
var key;
|
|
658
|
-
for (key in O) !hasOwn$7(hiddenKeys$3, key) && hasOwn$7(O, key) && push(result, key);
|
|
659
|
-
// Don't enum bug & hidden keys
|
|
660
|
-
while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
|
|
661
|
-
~indexOf(result, key) || push(result, key);
|
|
662
|
-
}
|
|
663
|
-
return result;
|
|
664
|
-
};
|
|
665
|
-
|
|
666
|
-
// IE8- don't enum bug keys
|
|
667
|
-
var enumBugKeys$3 = [
|
|
668
|
-
'constructor',
|
|
669
|
-
'hasOwnProperty',
|
|
670
|
-
'isPrototypeOf',
|
|
671
|
-
'propertyIsEnumerable',
|
|
672
|
-
'toLocaleString',
|
|
673
|
-
'toString',
|
|
674
|
-
'valueOf'
|
|
675
|
-
];
|
|
676
|
-
|
|
677
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
678
|
-
var enumBugKeys$2 = enumBugKeys$3;
|
|
679
|
-
|
|
680
|
-
// `Object.keys` method
|
|
681
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
682
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
683
|
-
var objectKeys$2 = Object.keys || function keys(O) {
|
|
684
|
-
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
685
|
-
};
|
|
686
|
-
|
|
687
|
-
var DESCRIPTORS$6 = descriptors;
|
|
688
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
689
|
-
var definePropertyModule$3 = objectDefineProperty;
|
|
690
|
-
var anObject$3 = anObject$5;
|
|
691
|
-
var toIndexedObject$2 = toIndexedObject$5;
|
|
692
|
-
var objectKeys$1 = objectKeys$2;
|
|
693
|
-
|
|
694
|
-
// `Object.defineProperties` method
|
|
695
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
696
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
697
|
-
objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
698
|
-
anObject$3(O);
|
|
699
|
-
var props = toIndexedObject$2(Properties);
|
|
700
|
-
var keys = objectKeys$1(Properties);
|
|
701
|
-
var length = keys.length;
|
|
702
|
-
var index = 0;
|
|
703
|
-
var key;
|
|
704
|
-
while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
|
|
705
|
-
return O;
|
|
706
|
-
};
|
|
707
|
-
|
|
708
|
-
var getBuiltIn$1 = getBuiltIn$4;
|
|
709
|
-
|
|
710
|
-
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
638
|
+
var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
711
639
|
|
|
712
640
|
var shared$1 = shared$3.exports;
|
|
713
641
|
var uid = uid$2;
|
|
@@ -718,149 +646,16 @@ var sharedKey$3 = function (key) {
|
|
|
718
646
|
return keys[key] || (keys[key] = uid(key));
|
|
719
647
|
};
|
|
720
648
|
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
var anObject$2 = anObject$5;
|
|
724
|
-
var definePropertiesModule = objectDefineProperties;
|
|
725
|
-
var enumBugKeys$1 = enumBugKeys$3;
|
|
726
|
-
var hiddenKeys$2 = hiddenKeys$4;
|
|
727
|
-
var html = html$1;
|
|
728
|
-
var documentCreateElement$1 = documentCreateElement$2;
|
|
729
|
-
var sharedKey$2 = sharedKey$3;
|
|
730
|
-
|
|
731
|
-
var GT = '>';
|
|
732
|
-
var LT = '<';
|
|
733
|
-
var PROTOTYPE = 'prototype';
|
|
734
|
-
var SCRIPT = 'script';
|
|
735
|
-
var IE_PROTO$1 = sharedKey$2('IE_PROTO');
|
|
736
|
-
|
|
737
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
738
|
-
|
|
739
|
-
var scriptTag = function (content) {
|
|
740
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
741
|
-
};
|
|
742
|
-
|
|
743
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
744
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
745
|
-
activeXDocument.write(scriptTag(''));
|
|
746
|
-
activeXDocument.close();
|
|
747
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
748
|
-
activeXDocument = null; // avoid memory leak
|
|
749
|
-
return temp;
|
|
750
|
-
};
|
|
751
|
-
|
|
752
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
753
|
-
var NullProtoObjectViaIFrame = function () {
|
|
754
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
755
|
-
var iframe = documentCreateElement$1('iframe');
|
|
756
|
-
var JS = 'java' + SCRIPT + ':';
|
|
757
|
-
var iframeDocument;
|
|
758
|
-
iframe.style.display = 'none';
|
|
759
|
-
html.appendChild(iframe);
|
|
760
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
761
|
-
iframe.src = String(JS);
|
|
762
|
-
iframeDocument = iframe.contentWindow.document;
|
|
763
|
-
iframeDocument.open();
|
|
764
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
765
|
-
iframeDocument.close();
|
|
766
|
-
return iframeDocument.F;
|
|
767
|
-
};
|
|
768
|
-
|
|
769
|
-
// Check for document.domain and active x support
|
|
770
|
-
// No need to use active x approach when document.domain is not set
|
|
771
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
772
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
773
|
-
// avoid IE GC bug
|
|
774
|
-
var activeXDocument;
|
|
775
|
-
var NullProtoObject = function () {
|
|
776
|
-
try {
|
|
777
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
778
|
-
} catch (error) { /* ignore */ }
|
|
779
|
-
NullProtoObject = typeof document != 'undefined'
|
|
780
|
-
? document.domain && activeXDocument
|
|
781
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
782
|
-
: NullProtoObjectViaIFrame()
|
|
783
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
784
|
-
var length = enumBugKeys$1.length;
|
|
785
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
|
|
786
|
-
return NullProtoObject();
|
|
787
|
-
};
|
|
788
|
-
|
|
789
|
-
hiddenKeys$2[IE_PROTO$1] = true;
|
|
790
|
-
|
|
791
|
-
// `Object.create` method
|
|
792
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
793
|
-
// eslint-disable-next-line es/no-object-create -- safe
|
|
794
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
795
|
-
var result;
|
|
796
|
-
if (O !== null) {
|
|
797
|
-
EmptyConstructor[PROTOTYPE] = anObject$2(O);
|
|
798
|
-
result = new EmptyConstructor();
|
|
799
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
800
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
801
|
-
result[IE_PROTO$1] = O;
|
|
802
|
-
} else result = NullProtoObject();
|
|
803
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
804
|
-
};
|
|
805
|
-
|
|
806
|
-
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
807
|
-
var create$1 = objectCreate;
|
|
808
|
-
var defineProperty$4 = objectDefineProperty.f;
|
|
809
|
-
|
|
810
|
-
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
|
811
|
-
var ArrayPrototype = Array.prototype;
|
|
812
|
-
|
|
813
|
-
// Array.prototype[@@unscopables]
|
|
814
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
815
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
816
|
-
defineProperty$4(ArrayPrototype, UNSCOPABLES, {
|
|
817
|
-
configurable: true,
|
|
818
|
-
value: create$1(null)
|
|
819
|
-
});
|
|
820
|
-
}
|
|
821
|
-
|
|
822
|
-
// add a key to Array.prototype[@@unscopables]
|
|
823
|
-
var addToUnscopables$1 = function (key) {
|
|
824
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
825
|
-
};
|
|
826
|
-
|
|
827
|
-
var iterators = {};
|
|
828
|
-
|
|
829
|
-
var global$6 = global$d;
|
|
830
|
-
var isCallable$9 = isCallable$f;
|
|
831
|
-
|
|
832
|
-
var WeakMap$1 = global$6.WeakMap;
|
|
833
|
-
|
|
834
|
-
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
835
|
-
|
|
836
|
-
var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
837
|
-
return {
|
|
838
|
-
enumerable: !(bitmap & 1),
|
|
839
|
-
configurable: !(bitmap & 2),
|
|
840
|
-
writable: !(bitmap & 4),
|
|
841
|
-
value: value
|
|
842
|
-
};
|
|
843
|
-
};
|
|
844
|
-
|
|
845
|
-
var DESCRIPTORS$5 = descriptors;
|
|
846
|
-
var definePropertyModule$2 = objectDefineProperty;
|
|
847
|
-
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
|
848
|
-
|
|
849
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
|
|
850
|
-
return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
|
|
851
|
-
} : function (object, key, value) {
|
|
852
|
-
object[key] = value;
|
|
853
|
-
return object;
|
|
854
|
-
};
|
|
649
|
+
var hiddenKeys$4 = {};
|
|
855
650
|
|
|
856
651
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
857
652
|
var global$5 = global$d;
|
|
858
653
|
var isObject$1 = isObject$6;
|
|
859
654
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
860
|
-
var hasOwn$
|
|
655
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
861
656
|
var shared = sharedStore;
|
|
862
|
-
var sharedKey$
|
|
863
|
-
var hiddenKeys$
|
|
657
|
+
var sharedKey$2 = sharedKey$3;
|
|
658
|
+
var hiddenKeys$3 = hiddenKeys$4;
|
|
864
659
|
|
|
865
660
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
866
661
|
var TypeError$1 = global$5.TypeError;
|
|
@@ -881,38 +676,38 @@ var getterFor = function (TYPE) {
|
|
|
881
676
|
};
|
|
882
677
|
|
|
883
678
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
884
|
-
var store
|
|
679
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
885
680
|
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
886
|
-
store
|
|
887
|
-
store
|
|
888
|
-
store
|
|
681
|
+
store.get = store.get;
|
|
682
|
+
store.has = store.has;
|
|
683
|
+
store.set = store.set;
|
|
889
684
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
890
685
|
set = function (it, metadata) {
|
|
891
|
-
if (store
|
|
686
|
+
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
892
687
|
metadata.facade = it;
|
|
893
|
-
store
|
|
688
|
+
store.set(it, metadata);
|
|
894
689
|
return metadata;
|
|
895
690
|
};
|
|
896
691
|
get = function (it) {
|
|
897
|
-
return store
|
|
692
|
+
return store.get(it) || {};
|
|
898
693
|
};
|
|
899
694
|
has = function (it) {
|
|
900
|
-
return store
|
|
695
|
+
return store.has(it);
|
|
901
696
|
};
|
|
902
697
|
} else {
|
|
903
|
-
var STATE = sharedKey$
|
|
904
|
-
hiddenKeys$
|
|
698
|
+
var STATE = sharedKey$2('state');
|
|
699
|
+
hiddenKeys$3[STATE] = true;
|
|
905
700
|
set = function (it, metadata) {
|
|
906
|
-
if (hasOwn$
|
|
701
|
+
if (hasOwn$5(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
907
702
|
metadata.facade = it;
|
|
908
703
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
909
704
|
return metadata;
|
|
910
705
|
};
|
|
911
706
|
get = function (it) {
|
|
912
|
-
return hasOwn$
|
|
707
|
+
return hasOwn$5(it, STATE) ? it[STATE] : {};
|
|
913
708
|
};
|
|
914
709
|
has = function (it) {
|
|
915
|
-
return hasOwn$
|
|
710
|
+
return hasOwn$5(it, STATE);
|
|
916
711
|
};
|
|
917
712
|
}
|
|
918
713
|
|
|
@@ -924,125 +719,49 @@ var internalState = {
|
|
|
924
719
|
getterFor: getterFor
|
|
925
720
|
};
|
|
926
721
|
|
|
927
|
-
var
|
|
722
|
+
var fails$7 = fails$e;
|
|
723
|
+
var isCallable$7 = isCallable$f;
|
|
724
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
725
|
+
var DESCRIPTORS$3 = descriptors;
|
|
726
|
+
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
727
|
+
var inspectSource = inspectSource$1;
|
|
728
|
+
var InternalStateModule$1 = internalState;
|
|
928
729
|
|
|
929
|
-
var
|
|
730
|
+
var enforceInternalState = InternalStateModule$1.enforce;
|
|
731
|
+
var getInternalState$1 = InternalStateModule$1.get;
|
|
732
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
733
|
+
var defineProperty$4 = Object.defineProperty;
|
|
930
734
|
|
|
931
|
-
var
|
|
932
|
-
|
|
933
|
-
|
|
735
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$7(function () {
|
|
736
|
+
return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
737
|
+
});
|
|
934
738
|
|
|
935
|
-
|
|
936
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
739
|
+
var TEMPLATE = String(String).split('String');
|
|
937
740
|
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
//
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
if (IE8_DOM_DEFINE) try {
|
|
963
|
-
return $getOwnPropertyDescriptor(O, P);
|
|
964
|
-
} catch (error) { /* empty */ }
|
|
965
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
966
|
-
};
|
|
967
|
-
|
|
968
|
-
var makeBuiltIn$2 = {exports: {}};
|
|
969
|
-
|
|
970
|
-
var DESCRIPTORS$3 = descriptors;
|
|
971
|
-
var hasOwn$4 = hasOwnProperty_1;
|
|
972
|
-
|
|
973
|
-
var FunctionPrototype = Function.prototype;
|
|
974
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
975
|
-
var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
|
|
976
|
-
|
|
977
|
-
var EXISTS = hasOwn$4(FunctionPrototype, 'name');
|
|
978
|
-
// additional protection from minified / mangled / dropped function names
|
|
979
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
980
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
981
|
-
|
|
982
|
-
var functionName = {
|
|
983
|
-
EXISTS: EXISTS,
|
|
984
|
-
PROPER: PROPER,
|
|
985
|
-
CONFIGURABLE: CONFIGURABLE
|
|
986
|
-
};
|
|
987
|
-
|
|
988
|
-
var uncurryThis$6 = functionUncurryThis;
|
|
989
|
-
var isCallable$8 = isCallable$f;
|
|
990
|
-
var store = sharedStore;
|
|
991
|
-
|
|
992
|
-
var functionToString = uncurryThis$6(Function.toString);
|
|
993
|
-
|
|
994
|
-
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
995
|
-
if (!isCallable$8(store.inspectSource)) {
|
|
996
|
-
store.inspectSource = function (it) {
|
|
997
|
-
return functionToString(it);
|
|
998
|
-
};
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
var inspectSource$1 = store.inspectSource;
|
|
1002
|
-
|
|
1003
|
-
var fails$7 = fails$e;
|
|
1004
|
-
var isCallable$7 = isCallable$f;
|
|
1005
|
-
var hasOwn$3 = hasOwnProperty_1;
|
|
1006
|
-
var DESCRIPTORS$2 = descriptors;
|
|
1007
|
-
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
1008
|
-
var inspectSource = inspectSource$1;
|
|
1009
|
-
var InternalStateModule$1 = internalState;
|
|
1010
|
-
|
|
1011
|
-
var enforceInternalState = InternalStateModule$1.enforce;
|
|
1012
|
-
var getInternalState$1 = InternalStateModule$1.get;
|
|
1013
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1014
|
-
var defineProperty$3 = Object.defineProperty;
|
|
1015
|
-
|
|
1016
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {
|
|
1017
|
-
return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
1018
|
-
});
|
|
1019
|
-
|
|
1020
|
-
var TEMPLATE = String(String).split('String');
|
|
1021
|
-
|
|
1022
|
-
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
1023
|
-
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
1024
|
-
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
1025
|
-
}
|
|
1026
|
-
if (options && options.getter) name = 'get ' + name;
|
|
1027
|
-
if (options && options.setter) name = 'set ' + name;
|
|
1028
|
-
if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
1029
|
-
if (DESCRIPTORS$2) defineProperty$3(value, 'name', { value: name, configurable: true });
|
|
1030
|
-
else value.name = name;
|
|
1031
|
-
}
|
|
1032
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
|
|
1033
|
-
defineProperty$3(value, 'length', { value: options.arity });
|
|
1034
|
-
}
|
|
1035
|
-
try {
|
|
1036
|
-
if (options && hasOwn$3(options, 'constructor') && options.constructor) {
|
|
1037
|
-
if (DESCRIPTORS$2) defineProperty$3(value, 'prototype', { writable: false });
|
|
1038
|
-
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
1039
|
-
} else if (value.prototype) value.prototype = undefined;
|
|
1040
|
-
} catch (error) { /* empty */ }
|
|
1041
|
-
var state = enforceInternalState(value);
|
|
1042
|
-
if (!hasOwn$3(state, 'source')) {
|
|
1043
|
-
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1044
|
-
} return value;
|
|
1045
|
-
};
|
|
741
|
+
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
742
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
743
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
744
|
+
}
|
|
745
|
+
if (options && options.getter) name = 'get ' + name;
|
|
746
|
+
if (options && options.setter) name = 'set ' + name;
|
|
747
|
+
if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
748
|
+
if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
|
|
749
|
+
else value.name = name;
|
|
750
|
+
}
|
|
751
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
|
|
752
|
+
defineProperty$4(value, 'length', { value: options.arity });
|
|
753
|
+
}
|
|
754
|
+
try {
|
|
755
|
+
if (options && hasOwn$4(options, 'constructor') && options.constructor) {
|
|
756
|
+
if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
|
|
757
|
+
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
758
|
+
} else if (value.prototype) value.prototype = undefined;
|
|
759
|
+
} catch (error) { /* empty */ }
|
|
760
|
+
var state = enforceInternalState(value);
|
|
761
|
+
if (!hasOwn$4(state, 'source')) {
|
|
762
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
763
|
+
} return value;
|
|
764
|
+
};
|
|
1046
765
|
|
|
1047
766
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
1048
767
|
// eslint-disable-next-line no-extend-native -- required
|
|
@@ -1051,7 +770,7 @@ Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
|
1051
770
|
}, 'toString');
|
|
1052
771
|
|
|
1053
772
|
var isCallable$6 = isCallable$f;
|
|
1054
|
-
var definePropertyModule$
|
|
773
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
1055
774
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
1056
775
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
1057
776
|
|
|
@@ -1069,7 +788,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
1069
788
|
else if (O[key]) simple = true;
|
|
1070
789
|
} catch (error) { /* empty */ }
|
|
1071
790
|
if (simple) O[key] = value;
|
|
1072
|
-
else definePropertyModule$
|
|
791
|
+
else definePropertyModule$2.f(O, key, {
|
|
1073
792
|
value: value,
|
|
1074
793
|
enumerable: false,
|
|
1075
794
|
configurable: !options.nonConfigurable,
|
|
@@ -1080,16 +799,133 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
1080
799
|
|
|
1081
800
|
var objectGetOwnPropertyNames = {};
|
|
1082
801
|
|
|
1083
|
-
var
|
|
1084
|
-
var
|
|
802
|
+
var ceil = Math.ceil;
|
|
803
|
+
var floor = Math.floor;
|
|
804
|
+
|
|
805
|
+
// `Math.trunc` method
|
|
806
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
807
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
808
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
809
|
+
var n = +x;
|
|
810
|
+
return (n > 0 ? floor : ceil)(n);
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
var trunc = mathTrunc;
|
|
814
|
+
|
|
815
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
816
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
817
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
818
|
+
var number = +argument;
|
|
819
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
820
|
+
return number !== number || number === 0 ? 0 : trunc(number);
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
824
|
+
|
|
825
|
+
var max = Math.max;
|
|
826
|
+
var min$1 = Math.min;
|
|
827
|
+
|
|
828
|
+
// Helper for a popular repeating case of the spec:
|
|
829
|
+
// Let integer be ? ToInteger(index).
|
|
830
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
831
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
832
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
833
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
834
|
+
};
|
|
835
|
+
|
|
836
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
837
|
+
|
|
838
|
+
var min = Math.min;
|
|
839
|
+
|
|
840
|
+
// `ToLength` abstract operation
|
|
841
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
842
|
+
var toLength$1 = function (argument) {
|
|
843
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
var toLength = toLength$1;
|
|
847
|
+
|
|
848
|
+
// `LengthOfArrayLike` abstract operation
|
|
849
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
850
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
851
|
+
return toLength(obj.length);
|
|
852
|
+
};
|
|
853
|
+
|
|
854
|
+
var toIndexedObject$3 = toIndexedObject$5;
|
|
855
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
856
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
857
|
+
|
|
858
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
859
|
+
var createMethod$1 = function (IS_INCLUDES) {
|
|
860
|
+
return function ($this, el, fromIndex) {
|
|
861
|
+
var O = toIndexedObject$3($this);
|
|
862
|
+
var length = lengthOfArrayLike(O);
|
|
863
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
864
|
+
var value;
|
|
865
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
866
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
867
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
868
|
+
value = O[index++];
|
|
869
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
870
|
+
if (value != value) return true;
|
|
871
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
872
|
+
} else for (;length > index; index++) {
|
|
873
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
874
|
+
} return !IS_INCLUDES && -1;
|
|
875
|
+
};
|
|
876
|
+
};
|
|
1085
877
|
|
|
1086
|
-
var
|
|
878
|
+
var arrayIncludes = {
|
|
879
|
+
// `Array.prototype.includes` method
|
|
880
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
881
|
+
includes: createMethod$1(true),
|
|
882
|
+
// `Array.prototype.indexOf` method
|
|
883
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
884
|
+
indexOf: createMethod$1(false)
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
888
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
889
|
+
var toIndexedObject$2 = toIndexedObject$5;
|
|
890
|
+
var indexOf = arrayIncludes.indexOf;
|
|
891
|
+
var hiddenKeys$2 = hiddenKeys$4;
|
|
892
|
+
|
|
893
|
+
var push = uncurryThis$6([].push);
|
|
894
|
+
|
|
895
|
+
var objectKeysInternal = function (object, names) {
|
|
896
|
+
var O = toIndexedObject$2(object);
|
|
897
|
+
var i = 0;
|
|
898
|
+
var result = [];
|
|
899
|
+
var key;
|
|
900
|
+
for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
|
|
901
|
+
// Don't enum bug & hidden keys
|
|
902
|
+
while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
|
|
903
|
+
~indexOf(result, key) || push(result, key);
|
|
904
|
+
}
|
|
905
|
+
return result;
|
|
906
|
+
};
|
|
907
|
+
|
|
908
|
+
// IE8- don't enum bug keys
|
|
909
|
+
var enumBugKeys$3 = [
|
|
910
|
+
'constructor',
|
|
911
|
+
'hasOwnProperty',
|
|
912
|
+
'isPrototypeOf',
|
|
913
|
+
'propertyIsEnumerable',
|
|
914
|
+
'toLocaleString',
|
|
915
|
+
'toString',
|
|
916
|
+
'valueOf'
|
|
917
|
+
];
|
|
918
|
+
|
|
919
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
920
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
|
921
|
+
|
|
922
|
+
var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
1087
923
|
|
|
1088
924
|
// `Object.getOwnPropertyNames` method
|
|
1089
925
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1090
926
|
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
1091
927
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
1092
|
-
return internalObjectKeys(O, hiddenKeys);
|
|
928
|
+
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
1093
929
|
};
|
|
1094
930
|
|
|
1095
931
|
var objectGetOwnPropertySymbols = {};
|
|
@@ -1097,119 +933,357 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1097
933
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
1098
934
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1099
935
|
|
|
1100
|
-
var getBuiltIn = getBuiltIn$4;
|
|
936
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
1101
937
|
var uncurryThis$5 = functionUncurryThis;
|
|
1102
938
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
1103
939
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1104
|
-
var anObject$
|
|
940
|
+
var anObject$3 = anObject$5;
|
|
1105
941
|
|
|
1106
942
|
var concat$1 = uncurryThis$5([].concat);
|
|
1107
943
|
|
|
1108
|
-
// all object keys, includes non-enumerable and symbols
|
|
1109
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
1110
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
1111
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
1112
|
-
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
1113
|
-
};
|
|
944
|
+
// all object keys, includes non-enumerable and symbols
|
|
945
|
+
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
946
|
+
var keys = getOwnPropertyNamesModule.f(anObject$3(it));
|
|
947
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
948
|
+
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
952
|
+
var ownKeys = ownKeys$1;
|
|
953
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
954
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
955
|
+
|
|
956
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
957
|
+
var keys = ownKeys(source);
|
|
958
|
+
var defineProperty = definePropertyModule$1.f;
|
|
959
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
960
|
+
for (var i = 0; i < keys.length; i++) {
|
|
961
|
+
var key = keys[i];
|
|
962
|
+
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
963
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
var fails$6 = fails$e;
|
|
969
|
+
var isCallable$5 = isCallable$f;
|
|
970
|
+
|
|
971
|
+
var replacement = /#|\.prototype\./;
|
|
972
|
+
|
|
973
|
+
var isForced$1 = function (feature, detection) {
|
|
974
|
+
var value = data[normalize(feature)];
|
|
975
|
+
return value == POLYFILL ? true
|
|
976
|
+
: value == NATIVE ? false
|
|
977
|
+
: isCallable$5(detection) ? fails$6(detection)
|
|
978
|
+
: !!detection;
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
982
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
var data = isForced$1.data = {};
|
|
986
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
987
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
988
|
+
|
|
989
|
+
var isForced_1 = isForced$1;
|
|
990
|
+
|
|
991
|
+
var global$4 = global$d;
|
|
992
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
993
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
994
|
+
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
995
|
+
var defineGlobalProperty = defineGlobalProperty$3;
|
|
996
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
997
|
+
var isForced = isForced_1;
|
|
998
|
+
|
|
999
|
+
/*
|
|
1000
|
+
options.target - name of the target object
|
|
1001
|
+
options.global - target is the global object
|
|
1002
|
+
options.stat - export as static methods of target
|
|
1003
|
+
options.proto - export as prototype methods of target
|
|
1004
|
+
options.real - real prototype method for the `pure` version
|
|
1005
|
+
options.forced - export even if the native feature is available
|
|
1006
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
1007
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1008
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1009
|
+
options.sham - add a flag to not completely full polyfills
|
|
1010
|
+
options.enumerable - export as enumerable property
|
|
1011
|
+
options.dontCallGetSet - prevent calling a getter on target
|
|
1012
|
+
options.name - the .name of the function if it does not match the key
|
|
1013
|
+
*/
|
|
1014
|
+
var _export = function (options, source) {
|
|
1015
|
+
var TARGET = options.target;
|
|
1016
|
+
var GLOBAL = options.global;
|
|
1017
|
+
var STATIC = options.stat;
|
|
1018
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1019
|
+
if (GLOBAL) {
|
|
1020
|
+
target = global$4;
|
|
1021
|
+
} else if (STATIC) {
|
|
1022
|
+
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1023
|
+
} else {
|
|
1024
|
+
target = (global$4[TARGET] || {}).prototype;
|
|
1025
|
+
}
|
|
1026
|
+
if (target) for (key in source) {
|
|
1027
|
+
sourceProperty = source[key];
|
|
1028
|
+
if (options.dontCallGetSet) {
|
|
1029
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1030
|
+
targetProperty = descriptor && descriptor.value;
|
|
1031
|
+
} else targetProperty = target[key];
|
|
1032
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1033
|
+
// contained in target
|
|
1034
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
1035
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1036
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1037
|
+
}
|
|
1038
|
+
// add a flag to not completely full polyfills
|
|
1039
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1040
|
+
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
1041
|
+
}
|
|
1042
|
+
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1043
|
+
}
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
var internalObjectKeys = objectKeysInternal;
|
|
1047
|
+
var enumBugKeys$1 = enumBugKeys$3;
|
|
1048
|
+
|
|
1049
|
+
// `Object.keys` method
|
|
1050
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
1051
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1052
|
+
var objectKeys$2 = Object.keys || function keys(O) {
|
|
1053
|
+
return internalObjectKeys(O, enumBugKeys$1);
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
var DESCRIPTORS$2 = descriptors;
|
|
1057
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1058
|
+
var call$1 = functionCall;
|
|
1059
|
+
var fails$5 = fails$e;
|
|
1060
|
+
var objectKeys$1 = objectKeys$2;
|
|
1061
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1062
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1063
|
+
var toObject$1 = toObject$3;
|
|
1064
|
+
var IndexedObject = indexedObject;
|
|
1065
|
+
|
|
1066
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1067
|
+
var $assign = Object.assign;
|
|
1068
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1069
|
+
var defineProperty$3 = Object.defineProperty;
|
|
1070
|
+
var concat = uncurryThis$4([].concat);
|
|
1071
|
+
|
|
1072
|
+
// `Object.assign` method
|
|
1073
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1074
|
+
var objectAssign = !$assign || fails$5(function () {
|
|
1075
|
+
// should have correct order of operations (Edge bug)
|
|
1076
|
+
if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
|
|
1077
|
+
enumerable: true,
|
|
1078
|
+
get: function () {
|
|
1079
|
+
defineProperty$3(this, 'b', {
|
|
1080
|
+
value: 3,
|
|
1081
|
+
enumerable: false
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
}), { b: 2 })).b !== 1) return true;
|
|
1085
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1086
|
+
var A = {};
|
|
1087
|
+
var B = {};
|
|
1088
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
1089
|
+
var symbol = Symbol();
|
|
1090
|
+
var alphabet = 'abcdefghijklmnopqrst';
|
|
1091
|
+
A[symbol] = 7;
|
|
1092
|
+
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
1093
|
+
return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
|
|
1094
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1095
|
+
var T = toObject$1(target);
|
|
1096
|
+
var argumentsLength = arguments.length;
|
|
1097
|
+
var index = 1;
|
|
1098
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1099
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1100
|
+
while (argumentsLength > index) {
|
|
1101
|
+
var S = IndexedObject(arguments[index++]);
|
|
1102
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
|
|
1103
|
+
var length = keys.length;
|
|
1104
|
+
var j = 0;
|
|
1105
|
+
var key;
|
|
1106
|
+
while (length > j) {
|
|
1107
|
+
key = keys[j++];
|
|
1108
|
+
if (!DESCRIPTORS$2 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1109
|
+
}
|
|
1110
|
+
} return T;
|
|
1111
|
+
} : $assign;
|
|
1112
|
+
|
|
1113
|
+
var $$4 = _export;
|
|
1114
|
+
var assign = objectAssign;
|
|
1115
|
+
|
|
1116
|
+
// `Object.assign` method
|
|
1117
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1118
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1119
|
+
$$4({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1120
|
+
assign: assign
|
|
1121
|
+
});
|
|
1122
|
+
|
|
1123
|
+
const setupHostConnector = subscribedMethods => {
|
|
1124
|
+
const methods = Object.assign({
|
|
1125
|
+
onGlobalSelectionChanged: () => {},
|
|
1126
|
+
onTokenChanged: () => {},
|
|
1127
|
+
onAssetSortingStateChanged: () => {}
|
|
1128
|
+
}, subscribedMethods);
|
|
1129
|
+
return connectToParent({
|
|
1130
|
+
methods
|
|
1131
|
+
});
|
|
1132
|
+
};
|
|
1133
|
+
const hostConnector = setupHostConnector({});
|
|
1134
|
+
const getHostConnector = () => {
|
|
1135
|
+
return hostConnector.promise;
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
const AssetRuntime = {
|
|
1139
|
+
getAssetInfo: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1140
|
+
const api = yield getHostConnector();
|
|
1141
|
+
return api.getAssetInfo();
|
|
1142
|
+
}),
|
|
1143
|
+
gotoAssetHome: assetId => __awaiter(void 0, void 0, void 0, function* () {
|
|
1144
|
+
const api = yield getHostConnector();
|
|
1145
|
+
return api.gotoAssetHome(assetId);
|
|
1146
|
+
})
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
var objectDefineProperties = {};
|
|
1150
|
+
|
|
1151
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1152
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1153
|
+
var definePropertyModule = objectDefineProperty;
|
|
1154
|
+
var anObject$2 = anObject$5;
|
|
1155
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
1156
|
+
var objectKeys = objectKeys$2;
|
|
1157
|
+
|
|
1158
|
+
// `Object.defineProperties` method
|
|
1159
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1160
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1161
|
+
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1162
|
+
anObject$2(O);
|
|
1163
|
+
var props = toIndexedObject$1(Properties);
|
|
1164
|
+
var keys = objectKeys(Properties);
|
|
1165
|
+
var length = keys.length;
|
|
1166
|
+
var index = 0;
|
|
1167
|
+
var key;
|
|
1168
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1169
|
+
return O;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1173
|
+
|
|
1174
|
+
var html$1 = getBuiltIn('document', 'documentElement');
|
|
1175
|
+
|
|
1176
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
1177
|
+
|
|
1178
|
+
var anObject$1 = anObject$5;
|
|
1179
|
+
var definePropertiesModule = objectDefineProperties;
|
|
1180
|
+
var enumBugKeys = enumBugKeys$3;
|
|
1181
|
+
var hiddenKeys = hiddenKeys$4;
|
|
1182
|
+
var html = html$1;
|
|
1183
|
+
var documentCreateElement$1 = documentCreateElement$2;
|
|
1184
|
+
var sharedKey$1 = sharedKey$3;
|
|
1185
|
+
|
|
1186
|
+
var GT = '>';
|
|
1187
|
+
var LT = '<';
|
|
1188
|
+
var PROTOTYPE = 'prototype';
|
|
1189
|
+
var SCRIPT = 'script';
|
|
1190
|
+
var IE_PROTO$1 = sharedKey$1('IE_PROTO');
|
|
1114
1191
|
|
|
1115
|
-
var
|
|
1116
|
-
var ownKeys = ownKeys$1;
|
|
1117
|
-
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
1118
|
-
var definePropertyModule = objectDefineProperty;
|
|
1192
|
+
var EmptyConstructor = function () { /* empty */ };
|
|
1119
1193
|
|
|
1120
|
-
var
|
|
1121
|
-
|
|
1122
|
-
var defineProperty = definePropertyModule.f;
|
|
1123
|
-
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
1124
|
-
for (var i = 0; i < keys.length; i++) {
|
|
1125
|
-
var key = keys[i];
|
|
1126
|
-
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
1127
|
-
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1194
|
+
var scriptTag = function (content) {
|
|
1195
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
1130
1196
|
};
|
|
1131
1197
|
|
|
1132
|
-
|
|
1133
|
-
var
|
|
1198
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
1199
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
1200
|
+
activeXDocument.write(scriptTag(''));
|
|
1201
|
+
activeXDocument.close();
|
|
1202
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
1203
|
+
activeXDocument = null; // avoid memory leak
|
|
1204
|
+
return temp;
|
|
1205
|
+
};
|
|
1134
1206
|
|
|
1135
|
-
|
|
1207
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
1208
|
+
var NullProtoObjectViaIFrame = function () {
|
|
1209
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
1210
|
+
var iframe = documentCreateElement$1('iframe');
|
|
1211
|
+
var JS = 'java' + SCRIPT + ':';
|
|
1212
|
+
var iframeDocument;
|
|
1213
|
+
iframe.style.display = 'none';
|
|
1214
|
+
html.appendChild(iframe);
|
|
1215
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
1216
|
+
iframe.src = String(JS);
|
|
1217
|
+
iframeDocument = iframe.contentWindow.document;
|
|
1218
|
+
iframeDocument.open();
|
|
1219
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
1220
|
+
iframeDocument.close();
|
|
1221
|
+
return iframeDocument.F;
|
|
1222
|
+
};
|
|
1136
1223
|
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1224
|
+
// Check for document.domain and active x support
|
|
1225
|
+
// No need to use active x approach when document.domain is not set
|
|
1226
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
1227
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
1228
|
+
// avoid IE GC bug
|
|
1229
|
+
var activeXDocument;
|
|
1230
|
+
var NullProtoObject = function () {
|
|
1231
|
+
try {
|
|
1232
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
1233
|
+
} catch (error) { /* ignore */ }
|
|
1234
|
+
NullProtoObject = typeof document != 'undefined'
|
|
1235
|
+
? document.domain && activeXDocument
|
|
1236
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
1237
|
+
: NullProtoObjectViaIFrame()
|
|
1238
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
1239
|
+
var length = enumBugKeys.length;
|
|
1240
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
1241
|
+
return NullProtoObject();
|
|
1143
1242
|
};
|
|
1144
1243
|
|
|
1145
|
-
|
|
1146
|
-
|
|
1244
|
+
hiddenKeys[IE_PROTO$1] = true;
|
|
1245
|
+
|
|
1246
|
+
// `Object.create` method
|
|
1247
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
1248
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
|
1249
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
1250
|
+
var result;
|
|
1251
|
+
if (O !== null) {
|
|
1252
|
+
EmptyConstructor[PROTOTYPE] = anObject$1(O);
|
|
1253
|
+
result = new EmptyConstructor();
|
|
1254
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
1255
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
1256
|
+
result[IE_PROTO$1] = O;
|
|
1257
|
+
} else result = NullProtoObject();
|
|
1258
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
1147
1259
|
};
|
|
1148
1260
|
|
|
1149
|
-
var
|
|
1150
|
-
var
|
|
1151
|
-
var
|
|
1261
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
|
1262
|
+
var create$1 = objectCreate;
|
|
1263
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1152
1264
|
|
|
1153
|
-
var
|
|
1265
|
+
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
|
1266
|
+
var ArrayPrototype = Array.prototype;
|
|
1154
1267
|
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1268
|
+
// Array.prototype[@@unscopables]
|
|
1269
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1270
|
+
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
1271
|
+
defineProperty$2(ArrayPrototype, UNSCOPABLES, {
|
|
1272
|
+
configurable: true,
|
|
1273
|
+
value: create$1(null)
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1162
1276
|
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
options.stat - export as static methods of target
|
|
1167
|
-
options.proto - export as prototype methods of target
|
|
1168
|
-
options.real - real prototype method for the `pure` version
|
|
1169
|
-
options.forced - export even if the native feature is available
|
|
1170
|
-
options.bind - bind methods to the target, required for the `pure` version
|
|
1171
|
-
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1172
|
-
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1173
|
-
options.sham - add a flag to not completely full polyfills
|
|
1174
|
-
options.enumerable - export as enumerable property
|
|
1175
|
-
options.dontCallGetSet - prevent calling a getter on target
|
|
1176
|
-
options.name - the .name of the function if it does not match the key
|
|
1177
|
-
*/
|
|
1178
|
-
var _export = function (options, source) {
|
|
1179
|
-
var TARGET = options.target;
|
|
1180
|
-
var GLOBAL = options.global;
|
|
1181
|
-
var STATIC = options.stat;
|
|
1182
|
-
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1183
|
-
if (GLOBAL) {
|
|
1184
|
-
target = global$4;
|
|
1185
|
-
} else if (STATIC) {
|
|
1186
|
-
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1187
|
-
} else {
|
|
1188
|
-
target = (global$4[TARGET] || {}).prototype;
|
|
1189
|
-
}
|
|
1190
|
-
if (target) for (key in source) {
|
|
1191
|
-
sourceProperty = source[key];
|
|
1192
|
-
if (options.dontCallGetSet) {
|
|
1193
|
-
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1194
|
-
targetProperty = descriptor && descriptor.value;
|
|
1195
|
-
} else targetProperty = target[key];
|
|
1196
|
-
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1197
|
-
// contained in target
|
|
1198
|
-
if (!FORCED && targetProperty !== undefined) {
|
|
1199
|
-
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1200
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1201
|
-
}
|
|
1202
|
-
// add a flag to not completely full polyfills
|
|
1203
|
-
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1204
|
-
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
1205
|
-
}
|
|
1206
|
-
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1207
|
-
}
|
|
1277
|
+
// add a key to Array.prototype[@@unscopables]
|
|
1278
|
+
var addToUnscopables$1 = function (key) {
|
|
1279
|
+
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
1208
1280
|
};
|
|
1209
1281
|
|
|
1210
|
-
var
|
|
1282
|
+
var iterators = {};
|
|
1211
1283
|
|
|
1212
|
-
var
|
|
1284
|
+
var fails$4 = fails$e;
|
|
1285
|
+
|
|
1286
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
1213
1287
|
function F() { /* empty */ }
|
|
1214
1288
|
F.prototype.constructor = null;
|
|
1215
1289
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
@@ -1218,7 +1292,7 @@ var correctPrototypeGetter = !fails$5(function () {
|
|
|
1218
1292
|
|
|
1219
1293
|
var hasOwn$1 = hasOwnProperty_1;
|
|
1220
1294
|
var isCallable$4 = isCallable$f;
|
|
1221
|
-
var toObject
|
|
1295
|
+
var toObject = toObject$3;
|
|
1222
1296
|
var sharedKey = sharedKey$3;
|
|
1223
1297
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1224
1298
|
|
|
@@ -1230,7 +1304,7 @@ var ObjectPrototype = $Object$1.prototype;
|
|
|
1230
1304
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1231
1305
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1232
1306
|
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1233
|
-
var object = toObject
|
|
1307
|
+
var object = toObject(O);
|
|
1234
1308
|
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1235
1309
|
var constructor = object.constructor;
|
|
1236
1310
|
if (isCallable$4(constructor) && object instanceof constructor) {
|
|
@@ -1238,7 +1312,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
|
|
|
1238
1312
|
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1239
1313
|
};
|
|
1240
1314
|
|
|
1241
|
-
var fails$
|
|
1315
|
+
var fails$3 = fails$e;
|
|
1242
1316
|
var isCallable$3 = isCallable$f;
|
|
1243
1317
|
var isObject = isObject$6;
|
|
1244
1318
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
@@ -1263,7 +1337,7 @@ if ([].keys) {
|
|
|
1263
1337
|
}
|
|
1264
1338
|
}
|
|
1265
1339
|
|
|
1266
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$
|
|
1340
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$3(function () {
|
|
1267
1341
|
var test = {};
|
|
1268
1342
|
// FF44- legacy iterators case
|
|
1269
1343
|
return IteratorPrototype$2[ITERATOR$4].call(test) !== test;
|
|
@@ -1284,7 +1358,7 @@ var iteratorsCore = {
|
|
|
1284
1358
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1285
1359
|
};
|
|
1286
1360
|
|
|
1287
|
-
var defineProperty$
|
|
1361
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1288
1362
|
var hasOwn = hasOwnProperty_1;
|
|
1289
1363
|
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1290
1364
|
|
|
@@ -1293,7 +1367,7 @@ var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
|
|
|
1293
1367
|
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
1294
1368
|
if (target && !STATIC) target = target.prototype;
|
|
1295
1369
|
if (target && !hasOwn(target, TO_STRING_TAG$3)) {
|
|
1296
|
-
defineProperty$
|
|
1370
|
+
defineProperty$1(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1297
1371
|
}
|
|
1298
1372
|
};
|
|
1299
1373
|
|
|
@@ -1325,7 +1399,7 @@ var aPossiblePrototype$1 = function (argument) {
|
|
|
1325
1399
|
|
|
1326
1400
|
/* eslint-disable no-proto -- safe */
|
|
1327
1401
|
|
|
1328
|
-
var uncurryThis$
|
|
1402
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1329
1403
|
var anObject = anObject$5;
|
|
1330
1404
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1331
1405
|
|
|
@@ -1339,7 +1413,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1339
1413
|
var setter;
|
|
1340
1414
|
try {
|
|
1341
1415
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1342
|
-
setter = uncurryThis$
|
|
1416
|
+
setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1343
1417
|
setter(test, []);
|
|
1344
1418
|
CORRECT_SETTER = test instanceof Array;
|
|
1345
1419
|
} catch (error) { /* empty */ }
|
|
@@ -1352,8 +1426,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
1352
1426
|
};
|
|
1353
1427
|
}() : undefined);
|
|
1354
1428
|
|
|
1355
|
-
var $$
|
|
1356
|
-
var call
|
|
1429
|
+
var $$3 = _export;
|
|
1430
|
+
var call = functionCall;
|
|
1357
1431
|
var FunctionName = functionName;
|
|
1358
1432
|
var isCallable$1 = isCallable$f;
|
|
1359
1433
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
@@ -1422,7 +1496,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1422
1496
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1423
1497
|
} else {
|
|
1424
1498
|
INCORRECT_VALUES_NAME = true;
|
|
1425
|
-
defaultIterator = function values() { return call
|
|
1499
|
+
defaultIterator = function values() { return call(nativeIterator, this); };
|
|
1426
1500
|
}
|
|
1427
1501
|
}
|
|
1428
1502
|
|
|
@@ -1437,7 +1511,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
1437
1511
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1438
1512
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1439
1513
|
}
|
|
1440
|
-
} else $$
|
|
1514
|
+
} else $$3({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1441
1515
|
}
|
|
1442
1516
|
|
|
1443
1517
|
// define iterator
|
|
@@ -1459,10 +1533,10 @@ var toIndexedObject = toIndexedObject$5;
|
|
|
1459
1533
|
var addToUnscopables = addToUnscopables$1;
|
|
1460
1534
|
var Iterators = iterators;
|
|
1461
1535
|
var InternalStateModule = internalState;
|
|
1462
|
-
var defineProperty
|
|
1536
|
+
var defineProperty = objectDefineProperty.f;
|
|
1463
1537
|
var defineIterator = iteratorDefine;
|
|
1464
1538
|
var createIterResultObject = createIterResultObject$1;
|
|
1465
|
-
var DESCRIPTORS
|
|
1539
|
+
var DESCRIPTORS = descriptors;
|
|
1466
1540
|
|
|
1467
1541
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1468
1542
|
var setInternalState = InternalStateModule.set;
|
|
@@ -1512,8 +1586,8 @@ addToUnscopables('values');
|
|
|
1512
1586
|
addToUnscopables('entries');
|
|
1513
1587
|
|
|
1514
1588
|
// V8 ~ Chrome 45- bug
|
|
1515
|
-
if (DESCRIPTORS
|
|
1516
|
-
defineProperty
|
|
1589
|
+
if (DESCRIPTORS && values.name !== 'values') try {
|
|
1590
|
+
defineProperty(values, 'name', { value: 'values' });
|
|
1517
1591
|
} catch (error) { /* empty */ }
|
|
1518
1592
|
|
|
1519
1593
|
// iterable DOM collections
|
|
@@ -1673,12 +1747,12 @@ var toString$3 = function (argument) {
|
|
|
1673
1747
|
var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
1674
1748
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
1675
1749
|
|
|
1676
|
-
var uncurryThis$
|
|
1750
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1677
1751
|
var requireObjectCoercible = requireObjectCoercible$3;
|
|
1678
1752
|
var toString$2 = toString$3;
|
|
1679
1753
|
var whitespaces$3 = whitespaces$4;
|
|
1680
1754
|
|
|
1681
|
-
var replace = uncurryThis$
|
|
1755
|
+
var replace = uncurryThis$2(''.replace);
|
|
1682
1756
|
var whitespace = '[' + whitespaces$3 + ']';
|
|
1683
1757
|
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
1684
1758
|
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
@@ -1706,8 +1780,8 @@ var stringTrim = {
|
|
|
1706
1780
|
};
|
|
1707
1781
|
|
|
1708
1782
|
var global$2 = global$d;
|
|
1709
|
-
var fails$
|
|
1710
|
-
var uncurryThis$
|
|
1783
|
+
var fails$2 = fails$e;
|
|
1784
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1711
1785
|
var toString$1 = toString$3;
|
|
1712
1786
|
var trim$1 = stringTrim.trim;
|
|
1713
1787
|
var whitespaces$2 = whitespaces$4;
|
|
@@ -1716,10 +1790,10 @@ var $parseInt$1 = global$2.parseInt;
|
|
|
1716
1790
|
var Symbol$2 = global$2.Symbol;
|
|
1717
1791
|
var ITERATOR$1 = Symbol$2 && Symbol$2.iterator;
|
|
1718
1792
|
var hex = /^[+-]?0x/i;
|
|
1719
|
-
var exec = uncurryThis$
|
|
1793
|
+
var exec = uncurryThis$1(hex.exec);
|
|
1720
1794
|
var FORCED$1 = $parseInt$1(whitespaces$2 + '08') !== 8 || $parseInt$1(whitespaces$2 + '0x16') !== 22
|
|
1721
1795
|
// MS Edge 18- broken with boxed symbols
|
|
1722
|
-
|| (ITERATOR$1 && !fails$
|
|
1796
|
+
|| (ITERATOR$1 && !fails$2(function () { $parseInt$1(Object(ITERATOR$1)); }));
|
|
1723
1797
|
|
|
1724
1798
|
// `parseInt` method
|
|
1725
1799
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
@@ -1728,29 +1802,29 @@ var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
|
1728
1802
|
return $parseInt$1(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
1729
1803
|
} : $parseInt$1;
|
|
1730
1804
|
|
|
1731
|
-
var $$
|
|
1805
|
+
var $$2 = _export;
|
|
1732
1806
|
var $parseInt = numberParseInt;
|
|
1733
1807
|
|
|
1734
1808
|
// `parseInt` method
|
|
1735
1809
|
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
1736
|
-
$$
|
|
1810
|
+
$$2({ global: true, forced: parseInt != $parseInt }, {
|
|
1737
1811
|
parseInt: $parseInt
|
|
1738
1812
|
});
|
|
1739
1813
|
|
|
1740
1814
|
var global$1 = global$d;
|
|
1741
|
-
var fails$
|
|
1742
|
-
var uncurryThis
|
|
1815
|
+
var fails$1 = fails$e;
|
|
1816
|
+
var uncurryThis = functionUncurryThis;
|
|
1743
1817
|
var toString = toString$3;
|
|
1744
1818
|
var trim = stringTrim.trim;
|
|
1745
1819
|
var whitespaces$1 = whitespaces$4;
|
|
1746
1820
|
|
|
1747
|
-
var charAt = uncurryThis
|
|
1821
|
+
var charAt = uncurryThis(''.charAt);
|
|
1748
1822
|
var $parseFloat$1 = global$1.parseFloat;
|
|
1749
1823
|
var Symbol$1 = global$1.Symbol;
|
|
1750
1824
|
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
1751
1825
|
var FORCED = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity
|
|
1752
1826
|
// MS Edge 18- broken with boxed symbols
|
|
1753
|
-
|| (ITERATOR && !fails$
|
|
1827
|
+
|| (ITERATOR && !fails$1(function () { $parseFloat$1(Object(ITERATOR)); }));
|
|
1754
1828
|
|
|
1755
1829
|
// `parseFloat` method
|
|
1756
1830
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
@@ -1760,17 +1834,17 @@ var numberParseFloat = FORCED ? function parseFloat(string) {
|
|
|
1760
1834
|
return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;
|
|
1761
1835
|
} : $parseFloat$1;
|
|
1762
1836
|
|
|
1763
|
-
var $$
|
|
1837
|
+
var $$1 = _export;
|
|
1764
1838
|
var $parseFloat = numberParseFloat;
|
|
1765
1839
|
|
|
1766
1840
|
// `parseFloat` method
|
|
1767
1841
|
// https://tc39.es/ecma262/#sec-parsefloat-string
|
|
1768
|
-
$$
|
|
1842
|
+
$$1({ global: true, forced: parseFloat != $parseFloat }, {
|
|
1769
1843
|
parseFloat: $parseFloat
|
|
1770
1844
|
});
|
|
1771
1845
|
|
|
1772
1846
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
1773
|
-
var fails
|
|
1847
|
+
var fails = fails$e;
|
|
1774
1848
|
var whitespaces = whitespaces$4;
|
|
1775
1849
|
|
|
1776
1850
|
var non = '\u200B\u0085\u180E';
|
|
@@ -1778,20 +1852,20 @@ var non = '\u200B\u0085\u180E';
|
|
|
1778
1852
|
// check that a method works with the correct list
|
|
1779
1853
|
// of whitespaces and has a correct name
|
|
1780
1854
|
var stringTrimForced = function (METHOD_NAME) {
|
|
1781
|
-
return fails
|
|
1855
|
+
return fails(function () {
|
|
1782
1856
|
return !!whitespaces[METHOD_NAME]()
|
|
1783
1857
|
|| non[METHOD_NAME]() !== non
|
|
1784
1858
|
|| (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);
|
|
1785
1859
|
});
|
|
1786
1860
|
};
|
|
1787
1861
|
|
|
1788
|
-
var
|
|
1862
|
+
var $ = _export;
|
|
1789
1863
|
var $trim = stringTrim.trim;
|
|
1790
1864
|
var forcedStringTrimMethod = stringTrimForced;
|
|
1791
1865
|
|
|
1792
1866
|
// `String.prototype.trim` method
|
|
1793
1867
|
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
1794
|
-
|
|
1868
|
+
$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {
|
|
1795
1869
|
trim: function trim() {
|
|
1796
1870
|
return $trim(this);
|
|
1797
1871
|
}
|
|
@@ -1966,73 +2040,6 @@ const RestRuntime = {
|
|
|
1966
2040
|
|
|
1967
2041
|
};
|
|
1968
2042
|
|
|
1969
|
-
var DESCRIPTORS = descriptors;
|
|
1970
|
-
var uncurryThis = functionUncurryThis;
|
|
1971
|
-
var call = functionCall;
|
|
1972
|
-
var fails = fails$e;
|
|
1973
|
-
var objectKeys = objectKeys$2;
|
|
1974
|
-
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1975
|
-
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1976
|
-
var toObject = toObject$3;
|
|
1977
|
-
var IndexedObject = indexedObject;
|
|
1978
|
-
|
|
1979
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1980
|
-
var $assign = Object.assign;
|
|
1981
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1982
|
-
var defineProperty = Object.defineProperty;
|
|
1983
|
-
var concat = uncurryThis([].concat);
|
|
1984
|
-
|
|
1985
|
-
// `Object.assign` method
|
|
1986
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
1987
|
-
var objectAssign = !$assign || fails(function () {
|
|
1988
|
-
// should have correct order of operations (Edge bug)
|
|
1989
|
-
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
1990
|
-
enumerable: true,
|
|
1991
|
-
get: function () {
|
|
1992
|
-
defineProperty(this, 'b', {
|
|
1993
|
-
value: 3,
|
|
1994
|
-
enumerable: false
|
|
1995
|
-
});
|
|
1996
|
-
}
|
|
1997
|
-
}), { b: 2 })).b !== 1) return true;
|
|
1998
|
-
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1999
|
-
var A = {};
|
|
2000
|
-
var B = {};
|
|
2001
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
|
2002
|
-
var symbol = Symbol();
|
|
2003
|
-
var alphabet = 'abcdefghijklmnopqrst';
|
|
2004
|
-
A[symbol] = 7;
|
|
2005
|
-
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
2006
|
-
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
|
2007
|
-
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
2008
|
-
var T = toObject(target);
|
|
2009
|
-
var argumentsLength = arguments.length;
|
|
2010
|
-
var index = 1;
|
|
2011
|
-
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
2012
|
-
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
2013
|
-
while (argumentsLength > index) {
|
|
2014
|
-
var S = IndexedObject(arguments[index++]);
|
|
2015
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
2016
|
-
var length = keys.length;
|
|
2017
|
-
var j = 0;
|
|
2018
|
-
var key;
|
|
2019
|
-
while (length > j) {
|
|
2020
|
-
key = keys[j++];
|
|
2021
|
-
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
2022
|
-
}
|
|
2023
|
-
} return T;
|
|
2024
|
-
} : $assign;
|
|
2025
|
-
|
|
2026
|
-
var $ = _export;
|
|
2027
|
-
var assign = objectAssign;
|
|
2028
|
-
|
|
2029
|
-
// `Object.assign` method
|
|
2030
|
-
// https://tc39.es/ecma262/#sec-object.assign
|
|
2031
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2032
|
-
$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
2033
|
-
assign: assign
|
|
2034
|
-
});
|
|
2035
|
-
|
|
2036
2043
|
const ToastRuntime = {
|
|
2037
2044
|
addToast(toast) {
|
|
2038
2045
|
var _a, _b;
|
|
@@ -2074,4 +2081,4 @@ const UserSubscriptionRuntime = {
|
|
|
2074
2081
|
})
|
|
2075
2082
|
};
|
|
2076
2083
|
|
|
2077
|
-
export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };
|
|
2084
|
+
export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue, getHostConnector, setupHostConnector };
|