@trackunit/iris-app-runtime-core 0.0.1-alpha-5a781097d3.0 → 0.0.1-alpha-a2aba2c20d.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/AssetRuntime.d.ts +1 -0
- package/AssetSortingRuntime.d.ts +6 -0
- package/CurrentUserRuntime.d.ts +2 -0
- package/GlobalSelectionRuntime.d.ts +5 -0
- package/ParamsRuntime.d.ts +6 -0
- package/index.d.ts +3 -0
- package/index.js +1153 -585
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -39,36 +39,16 @@ const AssetRuntime = {
|
|
|
39
39
|
getAssetInfo: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
40
40
|
const api = yield getHostConnector();
|
|
41
41
|
return api.getAssetInfo();
|
|
42
|
-
})
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
const CurrentUserRuntime = {
|
|
46
|
-
getCurrentUserContext: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
|
+
}),
|
|
43
|
+
gotoAssetHome: assetId => __awaiter(void 0, void 0, void 0, function* () {
|
|
47
44
|
const api = yield getHostConnector();
|
|
48
|
-
return api.
|
|
45
|
+
return api.gotoAssetHome(assetId);
|
|
49
46
|
})
|
|
50
47
|
};
|
|
51
48
|
|
|
52
49
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
53
50
|
|
|
54
|
-
var
|
|
55
|
-
return it && it.Math == Math && it;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
59
|
-
var global$c =
|
|
60
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
61
|
-
check(typeof globalThis == 'object' && globalThis) ||
|
|
62
|
-
check(typeof window == 'object' && window) ||
|
|
63
|
-
// eslint-disable-next-line no-restricted-globals -- safe
|
|
64
|
-
check(typeof self == 'object' && self) ||
|
|
65
|
-
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
66
|
-
// eslint-disable-next-line no-new-func -- fallback
|
|
67
|
-
(function () { return this; })() || Function('return this')();
|
|
68
|
-
|
|
69
|
-
var objectGetOwnPropertyDescriptor = {};
|
|
70
|
-
|
|
71
|
-
var fails$c = function (exec) {
|
|
51
|
+
var fails$e = function (exec) {
|
|
72
52
|
try {
|
|
73
53
|
return !!exec();
|
|
74
54
|
} catch (error) {
|
|
@@ -76,17 +56,9 @@ var fails$c = function (exec) {
|
|
|
76
56
|
}
|
|
77
57
|
};
|
|
78
58
|
|
|
79
|
-
var fails$
|
|
80
|
-
|
|
81
|
-
// Detect IE8's incomplete defineProperty implementation
|
|
82
|
-
var descriptors = !fails$b(function () {
|
|
83
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
84
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
85
|
-
});
|
|
59
|
+
var fails$d = fails$e;
|
|
86
60
|
|
|
87
|
-
var
|
|
88
|
-
|
|
89
|
-
var functionBindNative = !fails$a(function () {
|
|
61
|
+
var functionBindNative = !fails$d(function () {
|
|
90
62
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
91
63
|
var test = (function () { /* empty */ }).bind();
|
|
92
64
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
@@ -95,46 +67,13 @@ var functionBindNative = !fails$a(function () {
|
|
|
95
67
|
|
|
96
68
|
var NATIVE_BIND$1 = functionBindNative;
|
|
97
69
|
|
|
98
|
-
var call$5 = Function.prototype.call;
|
|
99
|
-
|
|
100
|
-
var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
|
|
101
|
-
return call$5.apply(call$5, arguments);
|
|
102
|
-
};
|
|
103
|
-
|
|
104
|
-
var objectPropertyIsEnumerable = {};
|
|
105
|
-
|
|
106
|
-
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
107
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
108
|
-
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
109
|
-
|
|
110
|
-
// Nashorn ~ JDK8 bug
|
|
111
|
-
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
112
|
-
|
|
113
|
-
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
114
|
-
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
115
|
-
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
116
|
-
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
117
|
-
return !!descriptor && descriptor.enumerable;
|
|
118
|
-
} : $propertyIsEnumerable;
|
|
119
|
-
|
|
120
|
-
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
121
|
-
return {
|
|
122
|
-
enumerable: !(bitmap & 1),
|
|
123
|
-
configurable: !(bitmap & 2),
|
|
124
|
-
writable: !(bitmap & 4),
|
|
125
|
-
value: value
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
var NATIVE_BIND = functionBindNative;
|
|
130
|
-
|
|
131
70
|
var FunctionPrototype$1 = Function.prototype;
|
|
132
|
-
var call$
|
|
133
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
|
71
|
+
var call$6 = FunctionPrototype$1.call;
|
|
72
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$6, call$6);
|
|
134
73
|
|
|
135
74
|
var functionUncurryThisRaw = function (fn) {
|
|
136
|
-
return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
|
|
137
|
-
return call$
|
|
75
|
+
return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
|
|
76
|
+
return call$6.apply(fn, arguments);
|
|
138
77
|
};
|
|
139
78
|
};
|
|
140
79
|
|
|
@@ -157,21 +96,21 @@ var functionUncurryThis = function (fn) {
|
|
|
157
96
|
if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
|
|
158
97
|
};
|
|
159
98
|
|
|
160
|
-
var uncurryThis$
|
|
161
|
-
var fails$
|
|
99
|
+
var uncurryThis$b = functionUncurryThis;
|
|
100
|
+
var fails$c = fails$e;
|
|
162
101
|
var classof$2 = classofRaw$2;
|
|
163
102
|
|
|
164
|
-
var $Object$
|
|
165
|
-
var split = uncurryThis$
|
|
103
|
+
var $Object$4 = Object;
|
|
104
|
+
var split = uncurryThis$b(''.split);
|
|
166
105
|
|
|
167
106
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
168
|
-
var indexedObject = fails$
|
|
107
|
+
var indexedObject = fails$c(function () {
|
|
169
108
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
170
109
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
171
|
-
return !$Object$
|
|
110
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
172
111
|
}) ? function (it) {
|
|
173
|
-
return classof$2(it) == 'String' ? split(it, '') : $Object$
|
|
174
|
-
} : $Object$
|
|
112
|
+
return classof$2(it) == 'String' ? split(it, '') : $Object$4(it);
|
|
113
|
+
} : $Object$4;
|
|
175
114
|
|
|
176
115
|
// we can't use just `it == null` since of `document.all` special case
|
|
177
116
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
@@ -181,12 +120,12 @@ var isNullOrUndefined$2 = function (it) {
|
|
|
181
120
|
|
|
182
121
|
var isNullOrUndefined$1 = isNullOrUndefined$2;
|
|
183
122
|
|
|
184
|
-
var $TypeError$
|
|
123
|
+
var $TypeError$6 = TypeError;
|
|
185
124
|
|
|
186
125
|
// `RequireObjectCoercible` abstract operation
|
|
187
126
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
188
127
|
var requireObjectCoercible$3 = function (it) {
|
|
189
|
-
if (isNullOrUndefined$1(it)) throw $TypeError$
|
|
128
|
+
if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
|
|
190
129
|
return it;
|
|
191
130
|
};
|
|
192
131
|
|
|
@@ -194,10 +133,92 @@ var requireObjectCoercible$3 = function (it) {
|
|
|
194
133
|
var IndexedObject$1 = indexedObject;
|
|
195
134
|
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
|
196
135
|
|
|
197
|
-
var toIndexedObject$
|
|
136
|
+
var toIndexedObject$5 = function (it) {
|
|
198
137
|
return IndexedObject$1(requireObjectCoercible$2(it));
|
|
199
138
|
};
|
|
200
139
|
|
|
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
|
+
|
|
201
222
|
var documentAll$2 = typeof document == 'object' && document.all;
|
|
202
223
|
|
|
203
224
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
@@ -214,47 +235,32 @@ var documentAll$1 = $documentAll$1.all;
|
|
|
214
235
|
|
|
215
236
|
// `IsCallable` abstract operation
|
|
216
237
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
217
|
-
var isCallable$
|
|
238
|
+
var isCallable$f = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
|
218
239
|
return typeof argument == 'function' || argument === documentAll$1;
|
|
219
240
|
} : function (argument) {
|
|
220
241
|
return typeof argument == 'function';
|
|
221
242
|
};
|
|
222
243
|
|
|
223
|
-
var
|
|
224
|
-
var $
|
|
225
|
-
|
|
226
|
-
var documentAll = $documentAll.all;
|
|
227
|
-
|
|
228
|
-
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
229
|
-
return typeof it == 'object' ? it !== null : isCallable$a(it) || it === documentAll;
|
|
230
|
-
} : function (it) {
|
|
231
|
-
return typeof it == 'object' ? it !== null : isCallable$a(it);
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
var global$b = global$c;
|
|
235
|
-
var isCallable$9 = isCallable$b;
|
|
244
|
+
var global$a = global$d;
|
|
245
|
+
var isCallable$e = isCallable$f;
|
|
236
246
|
|
|
237
247
|
var aFunction = function (argument) {
|
|
238
|
-
return isCallable$
|
|
248
|
+
return isCallable$e(argument) ? argument : undefined;
|
|
239
249
|
};
|
|
240
250
|
|
|
241
|
-
var getBuiltIn$
|
|
242
|
-
return arguments.length < 2 ? aFunction(global$
|
|
251
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
252
|
+
return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
|
|
243
253
|
};
|
|
244
254
|
|
|
245
|
-
var
|
|
246
|
-
|
|
247
|
-
var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
|
|
248
|
-
|
|
249
|
-
var getBuiltIn$2 = getBuiltIn$3;
|
|
255
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
250
256
|
|
|
251
|
-
var engineUserAgent = getBuiltIn$
|
|
257
|
+
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
252
258
|
|
|
253
|
-
var global$
|
|
259
|
+
var global$9 = global$d;
|
|
254
260
|
var userAgent = engineUserAgent;
|
|
255
261
|
|
|
256
|
-
var process = global$
|
|
257
|
-
var Deno = global$
|
|
262
|
+
var process = global$9.process;
|
|
263
|
+
var Deno = global$9.Deno;
|
|
258
264
|
var versions = process && process.versions || Deno && Deno.version;
|
|
259
265
|
var v8 = versions && versions.v8;
|
|
260
266
|
var match, version;
|
|
@@ -281,10 +287,10 @@ var engineV8Version = version;
|
|
|
281
287
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
282
288
|
|
|
283
289
|
var V8_VERSION = engineV8Version;
|
|
284
|
-
var fails$
|
|
290
|
+
var fails$b = fails$e;
|
|
285
291
|
|
|
286
292
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
287
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
293
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
288
294
|
var symbol = Symbol();
|
|
289
295
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
290
296
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -301,18 +307,125 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
|
301
307
|
&& !Symbol.sham
|
|
302
308
|
&& typeof Symbol.iterator == 'symbol';
|
|
303
309
|
|
|
304
|
-
var
|
|
305
|
-
var
|
|
306
|
-
var
|
|
310
|
+
var global$8 = global$d;
|
|
311
|
+
var shared$2 = shared$3.exports;
|
|
312
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
313
|
+
var uid$1 = uid$2;
|
|
314
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
307
315
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
308
316
|
|
|
317
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
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;
|
|
321
|
+
|
|
322
|
+
var wellKnownSymbol$8 = function (name) {
|
|
323
|
+
if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
324
|
+
var description = 'Symbol.' + name;
|
|
325
|
+
if (NATIVE_SYMBOL && hasOwn$8(Symbol$3, name)) {
|
|
326
|
+
WellKnownSymbolsStore[name] = Symbol$3[name];
|
|
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];
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
var isCallable$d = isCallable$f;
|
|
336
|
+
var $documentAll = documentAll_1;
|
|
337
|
+
|
|
338
|
+
var documentAll = $documentAll.all;
|
|
339
|
+
|
|
340
|
+
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
341
|
+
return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;
|
|
342
|
+
} : function (it) {
|
|
343
|
+
return typeof it == 'object' ? it !== null : isCallable$d(it);
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
var isObject$5 = isObject$6;
|
|
347
|
+
|
|
348
|
+
var $String$3 = String;
|
|
349
|
+
var $TypeError$5 = TypeError;
|
|
350
|
+
|
|
351
|
+
// `Assert: Type(argument) is Object`
|
|
352
|
+
var anObject$5 = function (argument) {
|
|
353
|
+
if (isObject$5(argument)) return argument;
|
|
354
|
+
throw $TypeError$5($String$3(argument) + ' is not an object');
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
var objectDefineProperties = {};
|
|
358
|
+
|
|
359
|
+
var fails$a = fails$e;
|
|
360
|
+
|
|
361
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
362
|
+
var descriptors = !fails$a(function () {
|
|
363
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
364
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
365
|
+
});
|
|
366
|
+
|
|
367
|
+
var DESCRIPTORS$9 = descriptors;
|
|
368
|
+
var fails$9 = fails$e;
|
|
369
|
+
|
|
370
|
+
// V8 ~ Chrome 36-
|
|
371
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
372
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
373
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
374
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
375
|
+
value: 42,
|
|
376
|
+
writable: false
|
|
377
|
+
}).prototype != 42;
|
|
378
|
+
});
|
|
379
|
+
|
|
380
|
+
var objectDefineProperty = {};
|
|
381
|
+
|
|
382
|
+
var global$7 = global$d;
|
|
383
|
+
var isObject$4 = isObject$6;
|
|
384
|
+
|
|
385
|
+
var document$1 = global$7.document;
|
|
386
|
+
// typeof document.createElement is 'object' in old IE
|
|
387
|
+
var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
|
|
388
|
+
|
|
389
|
+
var documentCreateElement$2 = function (it) {
|
|
390
|
+
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
var DESCRIPTORS$8 = descriptors;
|
|
394
|
+
var fails$8 = fails$e;
|
|
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;
|
|
406
|
+
|
|
407
|
+
var call$5 = Function.prototype.call;
|
|
408
|
+
|
|
409
|
+
var functionCall = NATIVE_BIND ? call$5.bind(call$5) : function () {
|
|
410
|
+
return call$5.apply(call$5, arguments);
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
414
|
+
|
|
415
|
+
var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
|
|
416
|
+
|
|
417
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
418
|
+
var isCallable$c = isCallable$f;
|
|
419
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
420
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
421
|
+
|
|
309
422
|
var $Object$2 = Object;
|
|
310
423
|
|
|
311
|
-
var isSymbol$2 = USE_SYMBOL_AS_UID
|
|
424
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
312
425
|
return typeof it == 'symbol';
|
|
313
426
|
} : function (it) {
|
|
314
|
-
var $Symbol = getBuiltIn$
|
|
315
|
-
return isCallable$
|
|
427
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
428
|
+
return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
|
316
429
|
};
|
|
317
430
|
|
|
318
431
|
var $String$2 = String;
|
|
@@ -325,14 +438,14 @@ var tryToString$1 = function (argument) {
|
|
|
325
438
|
}
|
|
326
439
|
};
|
|
327
440
|
|
|
328
|
-
var isCallable$
|
|
441
|
+
var isCallable$b = isCallable$f;
|
|
329
442
|
var tryToString = tryToString$1;
|
|
330
443
|
|
|
331
444
|
var $TypeError$4 = TypeError;
|
|
332
445
|
|
|
333
446
|
// `Assert: IsCallable(argument) is true`
|
|
334
447
|
var aCallable$1 = function (argument) {
|
|
335
|
-
if (isCallable$
|
|
448
|
+
if (isCallable$b(argument)) return argument;
|
|
336
449
|
throw $TypeError$4(tryToString(argument) + ' is not a function');
|
|
337
450
|
};
|
|
338
451
|
|
|
@@ -346,9 +459,9 @@ var getMethod$1 = function (V, P) {
|
|
|
346
459
|
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
|
347
460
|
};
|
|
348
461
|
|
|
349
|
-
var call$
|
|
350
|
-
var isCallable$
|
|
351
|
-
var isObject$
|
|
462
|
+
var call$4 = functionCall;
|
|
463
|
+
var isCallable$a = isCallable$f;
|
|
464
|
+
var isObject$3 = isObject$6;
|
|
352
465
|
|
|
353
466
|
var $TypeError$3 = TypeError;
|
|
354
467
|
|
|
@@ -356,235 +469,71 @@ var $TypeError$3 = TypeError;
|
|
|
356
469
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
357
470
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
358
471
|
var fn, val;
|
|
359
|
-
if (pref === 'string' && isCallable$
|
|
360
|
-
if (isCallable$
|
|
361
|
-
if (pref !== 'string' && isCallable$
|
|
472
|
+
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$3(val = call$4(fn, input))) return val;
|
|
473
|
+
if (isCallable$a(fn = input.valueOf) && !isObject$3(val = call$4(fn, input))) return val;
|
|
474
|
+
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$3(val = call$4(fn, input))) return val;
|
|
362
475
|
throw $TypeError$3("Can't convert object to primitive value");
|
|
363
476
|
};
|
|
364
477
|
|
|
365
|
-
var
|
|
366
|
-
|
|
367
|
-
var
|
|
478
|
+
var call$3 = functionCall;
|
|
479
|
+
var isObject$2 = isObject$6;
|
|
480
|
+
var isSymbol$1 = isSymbol$2;
|
|
481
|
+
var getMethod = getMethod$1;
|
|
482
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
483
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
|
368
484
|
|
|
369
|
-
|
|
370
|
-
var
|
|
485
|
+
var $TypeError$2 = TypeError;
|
|
486
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
|
371
487
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
488
|
+
// `ToPrimitive` abstract operation
|
|
489
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
490
|
+
var toPrimitive$1 = function (input, pref) {
|
|
491
|
+
if (!isObject$2(input) || isSymbol$1(input)) return input;
|
|
492
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
493
|
+
var result;
|
|
494
|
+
if (exoticToPrim) {
|
|
495
|
+
if (pref === undefined) pref = 'default';
|
|
496
|
+
result = call$3(exoticToPrim, input, pref);
|
|
497
|
+
if (!isObject$2(result) || isSymbol$1(result)) return result;
|
|
498
|
+
throw $TypeError$2("Can't convert object to primitive value");
|
|
499
|
+
}
|
|
500
|
+
if (pref === undefined) pref = 'number';
|
|
501
|
+
return ordinaryToPrimitive(input, pref);
|
|
378
502
|
};
|
|
379
503
|
|
|
380
|
-
var
|
|
381
|
-
var
|
|
504
|
+
var toPrimitive = toPrimitive$1;
|
|
505
|
+
var isSymbol = isSymbol$2;
|
|
382
506
|
|
|
383
|
-
|
|
384
|
-
|
|
507
|
+
// `ToPropertyKey` abstract operation
|
|
508
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
509
|
+
var toPropertyKey$2 = function (argument) {
|
|
510
|
+
var key = toPrimitive(argument, 'string');
|
|
511
|
+
return isSymbol(key) ? key : key + '';
|
|
512
|
+
};
|
|
385
513
|
|
|
386
|
-
var
|
|
514
|
+
var DESCRIPTORS$7 = descriptors;
|
|
515
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
516
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
517
|
+
var anObject$4 = anObject$5;
|
|
518
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
387
519
|
|
|
388
|
-
var store$2 = sharedStore;
|
|
389
|
-
|
|
390
|
-
(shared$3.exports = function (key, value) {
|
|
391
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
392
|
-
})('versions', []).push({
|
|
393
|
-
version: '3.25.5',
|
|
394
|
-
mode: 'global',
|
|
395
|
-
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
396
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
|
|
397
|
-
source: 'https://github.com/zloirock/core-js'
|
|
398
|
-
});
|
|
399
|
-
|
|
400
|
-
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
401
|
-
|
|
402
|
-
var $Object$1 = Object;
|
|
403
|
-
|
|
404
|
-
// `ToObject` abstract operation
|
|
405
|
-
// https://tc39.es/ecma262/#sec-toobject
|
|
406
|
-
var toObject$2 = function (argument) {
|
|
407
|
-
return $Object$1(requireObjectCoercible$1(argument));
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
var uncurryThis$8 = functionUncurryThis;
|
|
411
|
-
var toObject$1 = toObject$2;
|
|
412
|
-
|
|
413
|
-
var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
|
|
414
|
-
|
|
415
|
-
// `HasOwnProperty` abstract operation
|
|
416
|
-
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
417
|
-
// eslint-disable-next-line es/no-object-hasown -- safe
|
|
418
|
-
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
419
|
-
return hasOwnProperty(toObject$1(it), key);
|
|
420
|
-
};
|
|
421
|
-
|
|
422
|
-
var uncurryThis$7 = functionUncurryThis;
|
|
423
|
-
|
|
424
|
-
var id = 0;
|
|
425
|
-
var postfix = Math.random();
|
|
426
|
-
var toString$4 = uncurryThis$7(1.0.toString);
|
|
427
|
-
|
|
428
|
-
var uid$2 = function (key) {
|
|
429
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
430
|
-
};
|
|
431
|
-
|
|
432
|
-
var global$7 = global$c;
|
|
433
|
-
var shared$2 = shared$3.exports;
|
|
434
|
-
var hasOwn$6 = hasOwnProperty_1;
|
|
435
|
-
var uid$1 = uid$2;
|
|
436
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
437
|
-
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
438
|
-
|
|
439
|
-
var WellKnownSymbolsStore = shared$2('wks');
|
|
440
|
-
var Symbol$3 = global$7.Symbol;
|
|
441
|
-
var symbolFor = Symbol$3 && Symbol$3['for'];
|
|
442
|
-
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
|
|
443
|
-
|
|
444
|
-
var wellKnownSymbol$3 = function (name) {
|
|
445
|
-
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
446
|
-
var description = 'Symbol.' + name;
|
|
447
|
-
if (NATIVE_SYMBOL && hasOwn$6(Symbol$3, name)) {
|
|
448
|
-
WellKnownSymbolsStore[name] = Symbol$3[name];
|
|
449
|
-
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
450
|
-
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
451
|
-
} else {
|
|
452
|
-
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
453
|
-
}
|
|
454
|
-
} return WellKnownSymbolsStore[name];
|
|
455
|
-
};
|
|
456
|
-
|
|
457
|
-
var call$2 = functionCall;
|
|
458
|
-
var isObject$3 = isObject$5;
|
|
459
|
-
var isSymbol$1 = isSymbol$2;
|
|
460
|
-
var getMethod = getMethod$1;
|
|
461
|
-
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
462
|
-
var wellKnownSymbol$2 = wellKnownSymbol$3;
|
|
463
|
-
|
|
464
|
-
var $TypeError$2 = TypeError;
|
|
465
|
-
var TO_PRIMITIVE = wellKnownSymbol$2('toPrimitive');
|
|
466
|
-
|
|
467
|
-
// `ToPrimitive` abstract operation
|
|
468
|
-
// https://tc39.es/ecma262/#sec-toprimitive
|
|
469
|
-
var toPrimitive$1 = function (input, pref) {
|
|
470
|
-
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
|
471
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
472
|
-
var result;
|
|
473
|
-
if (exoticToPrim) {
|
|
474
|
-
if (pref === undefined) pref = 'default';
|
|
475
|
-
result = call$2(exoticToPrim, input, pref);
|
|
476
|
-
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
477
|
-
throw $TypeError$2("Can't convert object to primitive value");
|
|
478
|
-
}
|
|
479
|
-
if (pref === undefined) pref = 'number';
|
|
480
|
-
return ordinaryToPrimitive(input, pref);
|
|
481
|
-
};
|
|
482
|
-
|
|
483
|
-
var toPrimitive = toPrimitive$1;
|
|
484
|
-
var isSymbol = isSymbol$2;
|
|
485
|
-
|
|
486
|
-
// `ToPropertyKey` abstract operation
|
|
487
|
-
// https://tc39.es/ecma262/#sec-topropertykey
|
|
488
|
-
var toPropertyKey$2 = function (argument) {
|
|
489
|
-
var key = toPrimitive(argument, 'string');
|
|
490
|
-
return isSymbol(key) ? key : key + '';
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
var global$6 = global$c;
|
|
494
|
-
var isObject$2 = isObject$5;
|
|
495
|
-
|
|
496
|
-
var document$1 = global$6.document;
|
|
497
|
-
// typeof document.createElement is 'object' in old IE
|
|
498
|
-
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
499
|
-
|
|
500
|
-
var documentCreateElement = function (it) {
|
|
501
|
-
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
var DESCRIPTORS$7 = descriptors;
|
|
505
|
-
var fails$7 = fails$c;
|
|
506
|
-
var createElement = documentCreateElement;
|
|
507
|
-
|
|
508
|
-
// Thanks to IE8 for its funny defineProperty
|
|
509
|
-
var ie8DomDefine = !DESCRIPTORS$7 && !fails$7(function () {
|
|
510
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
511
|
-
return Object.defineProperty(createElement('div'), 'a', {
|
|
512
|
-
get: function () { return 7; }
|
|
513
|
-
}).a != 7;
|
|
514
|
-
});
|
|
515
|
-
|
|
516
|
-
var DESCRIPTORS$6 = descriptors;
|
|
517
|
-
var call$1 = functionCall;
|
|
518
|
-
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
519
|
-
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
520
|
-
var toIndexedObject$2 = toIndexedObject$3;
|
|
521
|
-
var toPropertyKey$1 = toPropertyKey$2;
|
|
522
|
-
var hasOwn$5 = hasOwnProperty_1;
|
|
523
|
-
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
524
|
-
|
|
525
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
526
|
-
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
527
|
-
|
|
528
|
-
// `Object.getOwnPropertyDescriptor` method
|
|
529
|
-
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
530
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
531
|
-
O = toIndexedObject$2(O);
|
|
532
|
-
P = toPropertyKey$1(P);
|
|
533
|
-
if (IE8_DOM_DEFINE$1) try {
|
|
534
|
-
return $getOwnPropertyDescriptor$1(O, P);
|
|
535
|
-
} catch (error) { /* empty */ }
|
|
536
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
537
|
-
};
|
|
538
|
-
|
|
539
|
-
var objectDefineProperty = {};
|
|
540
|
-
|
|
541
|
-
var DESCRIPTORS$5 = descriptors;
|
|
542
|
-
var fails$6 = fails$c;
|
|
543
|
-
|
|
544
|
-
// V8 ~ Chrome 36-
|
|
545
|
-
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
546
|
-
var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$6(function () {
|
|
547
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
548
|
-
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
549
|
-
value: 42,
|
|
550
|
-
writable: false
|
|
551
|
-
}).prototype != 42;
|
|
552
|
-
});
|
|
553
|
-
|
|
554
|
-
var isObject$1 = isObject$5;
|
|
555
|
-
|
|
556
|
-
var $String$1 = String;
|
|
557
520
|
var $TypeError$1 = TypeError;
|
|
558
|
-
|
|
559
|
-
// `Assert: Type(argument) is Object`
|
|
560
|
-
var anObject$2 = function (argument) {
|
|
561
|
-
if (isObject$1(argument)) return argument;
|
|
562
|
-
throw $TypeError$1($String$1(argument) + ' is not an object');
|
|
563
|
-
};
|
|
564
|
-
|
|
565
|
-
var DESCRIPTORS$4 = descriptors;
|
|
566
|
-
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
567
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
568
|
-
var anObject$1 = anObject$2;
|
|
569
|
-
var toPropertyKey = toPropertyKey$2;
|
|
570
|
-
|
|
571
|
-
var $TypeError = TypeError;
|
|
572
521
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
573
522
|
var $defineProperty = Object.defineProperty;
|
|
574
523
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
575
|
-
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
524
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
576
525
|
var ENUMERABLE = 'enumerable';
|
|
577
526
|
var CONFIGURABLE$1 = 'configurable';
|
|
578
527
|
var WRITABLE = 'writable';
|
|
579
528
|
|
|
580
529
|
// `Object.defineProperty` method
|
|
581
530
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
582
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
583
|
-
anObject$
|
|
584
|
-
P = toPropertyKey(P);
|
|
585
|
-
anObject$
|
|
531
|
+
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
532
|
+
anObject$4(O);
|
|
533
|
+
P = toPropertyKey$1(P);
|
|
534
|
+
anObject$4(Attributes);
|
|
586
535
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
587
|
-
var current = $getOwnPropertyDescriptor(O, P);
|
|
536
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
588
537
|
if (current && current[WRITABLE]) {
|
|
589
538
|
O[P] = Attributes.value;
|
|
590
539
|
Attributes = {
|
|
@@ -595,93 +544,327 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
|
595
544
|
}
|
|
596
545
|
} return $defineProperty(O, P, Attributes);
|
|
597
546
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
598
|
-
anObject$
|
|
599
|
-
P = toPropertyKey(P);
|
|
600
|
-
anObject$
|
|
601
|
-
if (IE8_DOM_DEFINE) try {
|
|
547
|
+
anObject$4(O);
|
|
548
|
+
P = toPropertyKey$1(P);
|
|
549
|
+
anObject$4(Attributes);
|
|
550
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
602
551
|
return $defineProperty(O, P, Attributes);
|
|
603
552
|
} catch (error) { /* empty */ }
|
|
604
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
|
553
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
|
|
605
554
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
606
555
|
return O;
|
|
607
556
|
};
|
|
608
557
|
|
|
609
|
-
var
|
|
610
|
-
var
|
|
611
|
-
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
558
|
+
var ceil = Math.ceil;
|
|
559
|
+
var floor = Math.floor;
|
|
612
560
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
561
|
+
// `Math.trunc` method
|
|
562
|
+
// https://tc39.es/ecma262/#sec-math.trunc
|
|
563
|
+
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
564
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
565
|
+
var n = +x;
|
|
566
|
+
return (n > 0 ? floor : ceil)(n);
|
|
618
567
|
};
|
|
619
568
|
|
|
620
|
-
var
|
|
569
|
+
var trunc = mathTrunc;
|
|
621
570
|
|
|
622
|
-
|
|
623
|
-
|
|
571
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
572
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
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
|
+
};
|
|
624
578
|
|
|
625
|
-
var
|
|
626
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
627
|
-
var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
|
|
579
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
628
580
|
|
|
629
|
-
var
|
|
630
|
-
|
|
631
|
-
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
632
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
581
|
+
var max = Math.max;
|
|
582
|
+
var min$1 = Math.min;
|
|
633
583
|
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
584
|
+
// Helper for a popular repeating case of the spec:
|
|
585
|
+
// Let integer be ? ToInteger(index).
|
|
586
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
587
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
588
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
589
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
638
590
|
};
|
|
639
591
|
|
|
640
|
-
var
|
|
641
|
-
var isCallable$5 = isCallable$b;
|
|
642
|
-
var store$1 = sharedStore;
|
|
592
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
643
593
|
|
|
644
|
-
var
|
|
594
|
+
var min = Math.min;
|
|
645
595
|
|
|
646
|
-
//
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
596
|
+
// `ToLength` abstract operation
|
|
597
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
598
|
+
var toLength$1 = function (argument) {
|
|
599
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
var toLength = toLength$1;
|
|
603
|
+
|
|
604
|
+
// `LengthOfArrayLike` abstract operation
|
|
605
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
606
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
607
|
+
return toLength(obj.length);
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
var toIndexedObject$4 = toIndexedObject$5;
|
|
611
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
612
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
613
|
+
|
|
614
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
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;
|
|
650
631
|
};
|
|
651
|
-
}
|
|
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
|
+
];
|
|
652
676
|
|
|
653
|
-
var
|
|
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
|
+
};
|
|
654
686
|
|
|
655
|
-
var
|
|
656
|
-
var
|
|
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
|
+
};
|
|
657
707
|
|
|
658
|
-
var
|
|
708
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
659
709
|
|
|
660
|
-
var
|
|
710
|
+
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
661
711
|
|
|
662
712
|
var shared$1 = shared$3.exports;
|
|
663
713
|
var uid = uid$2;
|
|
664
714
|
|
|
665
715
|
var keys = shared$1('keys');
|
|
666
716
|
|
|
667
|
-
var sharedKey$
|
|
717
|
+
var sharedKey$3 = function (key) {
|
|
668
718
|
return keys[key] || (keys[key] = uid(key));
|
|
669
719
|
};
|
|
670
720
|
|
|
671
|
-
|
|
721
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
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
|
+
};
|
|
672
855
|
|
|
673
856
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
674
|
-
var global$
|
|
675
|
-
var isObject = isObject$
|
|
676
|
-
var createNonEnumerableProperty$
|
|
677
|
-
var hasOwn$
|
|
857
|
+
var global$5 = global$d;
|
|
858
|
+
var isObject$1 = isObject$6;
|
|
859
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
860
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
678
861
|
var shared = sharedStore;
|
|
679
|
-
var sharedKey = sharedKey$
|
|
680
|
-
var hiddenKeys$
|
|
862
|
+
var sharedKey$1 = sharedKey$3;
|
|
863
|
+
var hiddenKeys$1 = hiddenKeys$4;
|
|
681
864
|
|
|
682
865
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
683
|
-
var TypeError$1 = global$
|
|
684
|
-
var WeakMap = global$
|
|
866
|
+
var TypeError$1 = global$5.TypeError;
|
|
867
|
+
var WeakMap = global$5.WeakMap;
|
|
685
868
|
var set, get, has;
|
|
686
869
|
|
|
687
870
|
var enforce = function (it) {
|
|
@@ -691,71 +874,147 @@ var enforce = function (it) {
|
|
|
691
874
|
var getterFor = function (TYPE) {
|
|
692
875
|
return function (it) {
|
|
693
876
|
var state;
|
|
694
|
-
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
877
|
+
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
695
878
|
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
696
879
|
} return state;
|
|
697
880
|
};
|
|
698
881
|
};
|
|
699
882
|
|
|
700
883
|
if (NATIVE_WEAK_MAP || shared.state) {
|
|
701
|
-
var store = shared.state || (shared.state = new WeakMap());
|
|
884
|
+
var store$1 = shared.state || (shared.state = new WeakMap());
|
|
702
885
|
/* eslint-disable no-self-assign -- prototype methods protection */
|
|
703
|
-
store.get = store.get;
|
|
704
|
-
store.has = store.has;
|
|
705
|
-
store.set = store.set;
|
|
886
|
+
store$1.get = store$1.get;
|
|
887
|
+
store$1.has = store$1.has;
|
|
888
|
+
store$1.set = store$1.set;
|
|
706
889
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
|
707
890
|
set = function (it, metadata) {
|
|
708
|
-
if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
891
|
+
if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
709
892
|
metadata.facade = it;
|
|
710
|
-
store.set(it, metadata);
|
|
893
|
+
store$1.set(it, metadata);
|
|
711
894
|
return metadata;
|
|
712
895
|
};
|
|
713
896
|
get = function (it) {
|
|
714
|
-
return store.get(it) || {};
|
|
897
|
+
return store$1.get(it) || {};
|
|
715
898
|
};
|
|
716
899
|
has = function (it) {
|
|
717
|
-
return store.has(it);
|
|
900
|
+
return store$1.has(it);
|
|
718
901
|
};
|
|
719
902
|
} else {
|
|
720
|
-
var STATE = sharedKey('state');
|
|
721
|
-
hiddenKeys$
|
|
903
|
+
var STATE = sharedKey$1('state');
|
|
904
|
+
hiddenKeys$1[STATE] = true;
|
|
722
905
|
set = function (it, metadata) {
|
|
723
|
-
if (hasOwn$
|
|
906
|
+
if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
724
907
|
metadata.facade = it;
|
|
725
|
-
createNonEnumerableProperty$
|
|
908
|
+
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
726
909
|
return metadata;
|
|
727
910
|
};
|
|
728
911
|
get = function (it) {
|
|
729
|
-
return hasOwn$
|
|
912
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
730
913
|
};
|
|
731
914
|
has = function (it) {
|
|
732
|
-
return hasOwn$
|
|
915
|
+
return hasOwn$6(it, STATE);
|
|
916
|
+
};
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
var internalState = {
|
|
920
|
+
set: set,
|
|
921
|
+
get: get,
|
|
922
|
+
has: has,
|
|
923
|
+
enforce: enforce,
|
|
924
|
+
getterFor: getterFor
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
928
|
+
|
|
929
|
+
var objectPropertyIsEnumerable = {};
|
|
930
|
+
|
|
931
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
932
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
933
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
934
|
+
|
|
935
|
+
// Nashorn ~ JDK8 bug
|
|
936
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
937
|
+
|
|
938
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
939
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
940
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
941
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
942
|
+
return !!descriptor && descriptor.enumerable;
|
|
943
|
+
} : $propertyIsEnumerable;
|
|
944
|
+
|
|
945
|
+
var DESCRIPTORS$4 = descriptors;
|
|
946
|
+
var call$2 = functionCall;
|
|
947
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
948
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
|
949
|
+
var toIndexedObject$1 = toIndexedObject$5;
|
|
950
|
+
var toPropertyKey = toPropertyKey$2;
|
|
951
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
952
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
953
|
+
|
|
954
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
955
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
956
|
+
|
|
957
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
958
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
959
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
960
|
+
O = toIndexedObject$1(O);
|
|
961
|
+
P = toPropertyKey(P);
|
|
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);
|
|
733
998
|
};
|
|
734
999
|
}
|
|
735
1000
|
|
|
736
|
-
var
|
|
737
|
-
set: set,
|
|
738
|
-
get: get,
|
|
739
|
-
has: has,
|
|
740
|
-
enforce: enforce,
|
|
741
|
-
getterFor: getterFor
|
|
742
|
-
};
|
|
1001
|
+
var inspectSource$1 = store.inspectSource;
|
|
743
1002
|
|
|
744
|
-
var fails$
|
|
745
|
-
var isCallable$
|
|
746
|
-
var hasOwn$
|
|
747
|
-
var DESCRIPTORS$
|
|
748
|
-
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
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;
|
|
749
1008
|
var inspectSource = inspectSource$1;
|
|
750
|
-
var InternalStateModule = internalState;
|
|
1009
|
+
var InternalStateModule$1 = internalState;
|
|
751
1010
|
|
|
752
|
-
var enforceInternalState = InternalStateModule.enforce;
|
|
753
|
-
var getInternalState = InternalStateModule.get;
|
|
1011
|
+
var enforceInternalState = InternalStateModule$1.enforce;
|
|
1012
|
+
var getInternalState$1 = InternalStateModule$1.get;
|
|
754
1013
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
755
|
-
var defineProperty$
|
|
1014
|
+
var defineProperty$3 = Object.defineProperty;
|
|
756
1015
|
|
|
757
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
758
|
-
return defineProperty$
|
|
1016
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {
|
|
1017
|
+
return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
759
1018
|
});
|
|
760
1019
|
|
|
761
1020
|
var TEMPLATE = String(String).split('String');
|
|
@@ -766,21 +1025,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
766
1025
|
}
|
|
767
1026
|
if (options && options.getter) name = 'get ' + name;
|
|
768
1027
|
if (options && options.setter) name = 'set ' + name;
|
|
769
|
-
if (!hasOwn$
|
|
770
|
-
if (DESCRIPTORS$
|
|
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 });
|
|
771
1030
|
else value.name = name;
|
|
772
1031
|
}
|
|
773
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
774
|
-
defineProperty$
|
|
1032
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
|
|
1033
|
+
defineProperty$3(value, 'length', { value: options.arity });
|
|
775
1034
|
}
|
|
776
1035
|
try {
|
|
777
|
-
if (options && hasOwn$
|
|
778
|
-
if (DESCRIPTORS$
|
|
1036
|
+
if (options && hasOwn$3(options, 'constructor') && options.constructor) {
|
|
1037
|
+
if (DESCRIPTORS$2) defineProperty$3(value, 'prototype', { writable: false });
|
|
779
1038
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
780
1039
|
} else if (value.prototype) value.prototype = undefined;
|
|
781
1040
|
} catch (error) { /* empty */ }
|
|
782
1041
|
var state = enforceInternalState(value);
|
|
783
|
-
if (!hasOwn$
|
|
1042
|
+
if (!hasOwn$3(state, 'source')) {
|
|
784
1043
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
785
1044
|
} return value;
|
|
786
1045
|
};
|
|
@@ -788,19 +1047,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
|
788
1047
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
789
1048
|
// eslint-disable-next-line no-extend-native -- required
|
|
790
1049
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
|
791
|
-
return isCallable$
|
|
1050
|
+
return isCallable$7(this) && getInternalState$1(this).source || inspectSource(this);
|
|
792
1051
|
}, 'toString');
|
|
793
1052
|
|
|
794
|
-
var isCallable$
|
|
1053
|
+
var isCallable$6 = isCallable$f;
|
|
795
1054
|
var definePropertyModule$1 = objectDefineProperty;
|
|
796
1055
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
|
797
1056
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
798
1057
|
|
|
799
|
-
var defineBuiltIn$
|
|
1058
|
+
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
800
1059
|
if (!options) options = {};
|
|
801
1060
|
var simple = options.enumerable;
|
|
802
1061
|
var name = options.name !== undefined ? options.name : key;
|
|
803
|
-
if (isCallable$
|
|
1062
|
+
if (isCallable$6(value)) makeBuiltIn(value, name, options);
|
|
804
1063
|
if (options.global) {
|
|
805
1064
|
if (simple) O[key] = value;
|
|
806
1065
|
else defineGlobalProperty$1(key, value);
|
|
@@ -821,133 +1080,16 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
|
821
1080
|
|
|
822
1081
|
var objectGetOwnPropertyNames = {};
|
|
823
1082
|
|
|
824
|
-
var
|
|
825
|
-
var
|
|
826
|
-
|
|
827
|
-
// `Math.trunc` method
|
|
828
|
-
// https://tc39.es/ecma262/#sec-math.trunc
|
|
829
|
-
// eslint-disable-next-line es/no-math-trunc -- safe
|
|
830
|
-
var mathTrunc = Math.trunc || function trunc(x) {
|
|
831
|
-
var n = +x;
|
|
832
|
-
return (n > 0 ? floor : ceil)(n);
|
|
833
|
-
};
|
|
834
|
-
|
|
835
|
-
var trunc = mathTrunc;
|
|
836
|
-
|
|
837
|
-
// `ToIntegerOrInfinity` abstract operation
|
|
838
|
-
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
839
|
-
var toIntegerOrInfinity$2 = function (argument) {
|
|
840
|
-
var number = +argument;
|
|
841
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
842
|
-
return number !== number || number === 0 ? 0 : trunc(number);
|
|
843
|
-
};
|
|
844
|
-
|
|
845
|
-
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
846
|
-
|
|
847
|
-
var max = Math.max;
|
|
848
|
-
var min$1 = Math.min;
|
|
849
|
-
|
|
850
|
-
// Helper for a popular repeating case of the spec:
|
|
851
|
-
// Let integer be ? ToInteger(index).
|
|
852
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
853
|
-
var toAbsoluteIndex$1 = function (index, length) {
|
|
854
|
-
var integer = toIntegerOrInfinity$1(index);
|
|
855
|
-
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
856
|
-
};
|
|
857
|
-
|
|
858
|
-
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
859
|
-
|
|
860
|
-
var min = Math.min;
|
|
861
|
-
|
|
862
|
-
// `ToLength` abstract operation
|
|
863
|
-
// https://tc39.es/ecma262/#sec-tolength
|
|
864
|
-
var toLength$1 = function (argument) {
|
|
865
|
-
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
866
|
-
};
|
|
867
|
-
|
|
868
|
-
var toLength = toLength$1;
|
|
869
|
-
|
|
870
|
-
// `LengthOfArrayLike` abstract operation
|
|
871
|
-
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
872
|
-
var lengthOfArrayLike$1 = function (obj) {
|
|
873
|
-
return toLength(obj.length);
|
|
874
|
-
};
|
|
875
|
-
|
|
876
|
-
var toIndexedObject$1 = toIndexedObject$3;
|
|
877
|
-
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
878
|
-
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
879
|
-
|
|
880
|
-
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
881
|
-
var createMethod$1 = function (IS_INCLUDES) {
|
|
882
|
-
return function ($this, el, fromIndex) {
|
|
883
|
-
var O = toIndexedObject$1($this);
|
|
884
|
-
var length = lengthOfArrayLike(O);
|
|
885
|
-
var index = toAbsoluteIndex(fromIndex, length);
|
|
886
|
-
var value;
|
|
887
|
-
// Array#includes uses SameValueZero equality algorithm
|
|
888
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
889
|
-
if (IS_INCLUDES && el != el) while (length > index) {
|
|
890
|
-
value = O[index++];
|
|
891
|
-
// eslint-disable-next-line no-self-compare -- NaN check
|
|
892
|
-
if (value != value) return true;
|
|
893
|
-
// Array#indexOf ignores holes, Array#includes - not
|
|
894
|
-
} else for (;length > index; index++) {
|
|
895
|
-
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
896
|
-
} return !IS_INCLUDES && -1;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
899
|
-
|
|
900
|
-
var arrayIncludes = {
|
|
901
|
-
// `Array.prototype.includes` method
|
|
902
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
903
|
-
includes: createMethod$1(true),
|
|
904
|
-
// `Array.prototype.indexOf` method
|
|
905
|
-
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
906
|
-
indexOf: createMethod$1(false)
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
var uncurryThis$5 = functionUncurryThis;
|
|
910
|
-
var hasOwn$1 = hasOwnProperty_1;
|
|
911
|
-
var toIndexedObject = toIndexedObject$3;
|
|
912
|
-
var indexOf = arrayIncludes.indexOf;
|
|
913
|
-
var hiddenKeys$1 = hiddenKeys$3;
|
|
914
|
-
|
|
915
|
-
var push = uncurryThis$5([].push);
|
|
916
|
-
|
|
917
|
-
var objectKeysInternal = function (object, names) {
|
|
918
|
-
var O = toIndexedObject(object);
|
|
919
|
-
var i = 0;
|
|
920
|
-
var result = [];
|
|
921
|
-
var key;
|
|
922
|
-
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
|
|
923
|
-
// Don't enum bug & hidden keys
|
|
924
|
-
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
925
|
-
~indexOf(result, key) || push(result, key);
|
|
926
|
-
}
|
|
927
|
-
return result;
|
|
928
|
-
};
|
|
929
|
-
|
|
930
|
-
// IE8- don't enum bug keys
|
|
931
|
-
var enumBugKeys$2 = [
|
|
932
|
-
'constructor',
|
|
933
|
-
'hasOwnProperty',
|
|
934
|
-
'isPrototypeOf',
|
|
935
|
-
'propertyIsEnumerable',
|
|
936
|
-
'toLocaleString',
|
|
937
|
-
'toString',
|
|
938
|
-
'valueOf'
|
|
939
|
-
];
|
|
940
|
-
|
|
941
|
-
var internalObjectKeys$1 = objectKeysInternal;
|
|
942
|
-
var enumBugKeys$1 = enumBugKeys$2;
|
|
1083
|
+
var internalObjectKeys = objectKeysInternal;
|
|
1084
|
+
var enumBugKeys = enumBugKeys$3;
|
|
943
1085
|
|
|
944
|
-
var hiddenKeys = enumBugKeys
|
|
1086
|
+
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
945
1087
|
|
|
946
1088
|
// `Object.getOwnPropertyNames` method
|
|
947
1089
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
948
1090
|
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
949
1091
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
950
|
-
return internalObjectKeys
|
|
1092
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
951
1093
|
};
|
|
952
1094
|
|
|
953
1095
|
var objectGetOwnPropertySymbols = {};
|
|
@@ -955,22 +1097,22 @@ var objectGetOwnPropertySymbols = {};
|
|
|
955
1097
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
956
1098
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
957
1099
|
|
|
958
|
-
var getBuiltIn = getBuiltIn$
|
|
959
|
-
var uncurryThis$
|
|
1100
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1101
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
960
1102
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
961
1103
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
962
|
-
var anObject = anObject$
|
|
1104
|
+
var anObject$1 = anObject$5;
|
|
963
1105
|
|
|
964
|
-
var concat$1 = uncurryThis$
|
|
1106
|
+
var concat$1 = uncurryThis$5([].concat);
|
|
965
1107
|
|
|
966
1108
|
// all object keys, includes non-enumerable and symbols
|
|
967
1109
|
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
968
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
1110
|
+
var keys = getOwnPropertyNamesModule.f(anObject$1(it));
|
|
969
1111
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
970
1112
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
971
1113
|
};
|
|
972
1114
|
|
|
973
|
-
var hasOwn = hasOwnProperty_1;
|
|
1115
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
974
1116
|
var ownKeys = ownKeys$1;
|
|
975
1117
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
976
1118
|
var definePropertyModule = objectDefineProperty;
|
|
@@ -981,14 +1123,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
|
981
1123
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
982
1124
|
for (var i = 0; i < keys.length; i++) {
|
|
983
1125
|
var key = keys[i];
|
|
984
|
-
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
1126
|
+
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
985
1127
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
986
1128
|
}
|
|
987
1129
|
}
|
|
988
1130
|
};
|
|
989
1131
|
|
|
990
|
-
var fails$
|
|
991
|
-
var isCallable$
|
|
1132
|
+
var fails$6 = fails$e;
|
|
1133
|
+
var isCallable$5 = isCallable$f;
|
|
992
1134
|
|
|
993
1135
|
var replacement = /#|\.prototype\./;
|
|
994
1136
|
|
|
@@ -996,7 +1138,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
996
1138
|
var value = data[normalize(feature)];
|
|
997
1139
|
return value == POLYFILL ? true
|
|
998
1140
|
: value == NATIVE ? false
|
|
999
|
-
: isCallable$
|
|
1141
|
+
: isCallable$5(detection) ? fails$6(detection)
|
|
1000
1142
|
: !!detection;
|
|
1001
1143
|
};
|
|
1002
1144
|
|
|
@@ -1010,10 +1152,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
1010
1152
|
|
|
1011
1153
|
var isForced_1 = isForced$1;
|
|
1012
1154
|
|
|
1013
|
-
var global$
|
|
1155
|
+
var global$4 = global$d;
|
|
1014
1156
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1015
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
|
1016
|
-
var defineBuiltIn = defineBuiltIn$
|
|
1157
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
1158
|
+
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
1017
1159
|
var defineGlobalProperty = defineGlobalProperty$3;
|
|
1018
1160
|
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1019
1161
|
var isForced = isForced_1;
|
|
@@ -1039,11 +1181,11 @@ var _export = function (options, source) {
|
|
|
1039
1181
|
var STATIC = options.stat;
|
|
1040
1182
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1041
1183
|
if (GLOBAL) {
|
|
1042
|
-
target = global$
|
|
1184
|
+
target = global$4;
|
|
1043
1185
|
} else if (STATIC) {
|
|
1044
|
-
target = global$
|
|
1186
|
+
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1045
1187
|
} else {
|
|
1046
|
-
target = (global$
|
|
1188
|
+
target = (global$4[TARGET] || {}).prototype;
|
|
1047
1189
|
}
|
|
1048
1190
|
if (target) for (key in source) {
|
|
1049
1191
|
sourceProperty = source[key];
|
|
@@ -1059,13 +1201,427 @@ var _export = function (options, source) {
|
|
|
1059
1201
|
}
|
|
1060
1202
|
// add a flag to not completely full polyfills
|
|
1061
1203
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1062
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
1204
|
+
createNonEnumerableProperty$2(sourceProperty, 'sham', true);
|
|
1205
|
+
}
|
|
1206
|
+
defineBuiltIn$2(target, key, sourceProperty, options);
|
|
1207
|
+
}
|
|
1208
|
+
};
|
|
1209
|
+
|
|
1210
|
+
var fails$5 = fails$e;
|
|
1211
|
+
|
|
1212
|
+
var correctPrototypeGetter = !fails$5(function () {
|
|
1213
|
+
function F() { /* empty */ }
|
|
1214
|
+
F.prototype.constructor = null;
|
|
1215
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1216
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1217
|
+
});
|
|
1218
|
+
|
|
1219
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
1220
|
+
var isCallable$4 = isCallable$f;
|
|
1221
|
+
var toObject$1 = toObject$3;
|
|
1222
|
+
var sharedKey = sharedKey$3;
|
|
1223
|
+
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
1224
|
+
|
|
1225
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
1226
|
+
var $Object$1 = Object;
|
|
1227
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
1228
|
+
|
|
1229
|
+
// `Object.getPrototypeOf` method
|
|
1230
|
+
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
1231
|
+
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
1232
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
1233
|
+
var object = toObject$1(O);
|
|
1234
|
+
if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
|
|
1235
|
+
var constructor = object.constructor;
|
|
1236
|
+
if (isCallable$4(constructor) && object instanceof constructor) {
|
|
1237
|
+
return constructor.prototype;
|
|
1238
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
1239
|
+
};
|
|
1240
|
+
|
|
1241
|
+
var fails$4 = fails$e;
|
|
1242
|
+
var isCallable$3 = isCallable$f;
|
|
1243
|
+
var isObject = isObject$6;
|
|
1244
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
1245
|
+
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
1246
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
|
1247
|
+
|
|
1248
|
+
var ITERATOR$4 = wellKnownSymbol$5('iterator');
|
|
1249
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1250
|
+
|
|
1251
|
+
// `%IteratorPrototype%` object
|
|
1252
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1253
|
+
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1254
|
+
|
|
1255
|
+
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1256
|
+
if ([].keys) {
|
|
1257
|
+
arrayIterator = [].keys();
|
|
1258
|
+
// Safari 8 has buggy iterators w/o `next`
|
|
1259
|
+
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1260
|
+
else {
|
|
1261
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
|
|
1262
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$4(function () {
|
|
1267
|
+
var test = {};
|
|
1268
|
+
// FF44- legacy iterators case
|
|
1269
|
+
return IteratorPrototype$2[ITERATOR$4].call(test) !== test;
|
|
1270
|
+
});
|
|
1271
|
+
|
|
1272
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
1273
|
+
|
|
1274
|
+
// `%IteratorPrototype%[@@iterator]()` method
|
|
1275
|
+
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
1276
|
+
if (!isCallable$3(IteratorPrototype$2[ITERATOR$4])) {
|
|
1277
|
+
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$4, function () {
|
|
1278
|
+
return this;
|
|
1279
|
+
});
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
var iteratorsCore = {
|
|
1283
|
+
IteratorPrototype: IteratorPrototype$2,
|
|
1284
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1288
|
+
var hasOwn = hasOwnProperty_1;
|
|
1289
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
|
1290
|
+
|
|
1291
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
|
|
1292
|
+
|
|
1293
|
+
var setToStringTag$2 = function (target, TAG, STATIC) {
|
|
1294
|
+
if (target && !STATIC) target = target.prototype;
|
|
1295
|
+
if (target && !hasOwn(target, TO_STRING_TAG$3)) {
|
|
1296
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
1297
|
+
}
|
|
1298
|
+
};
|
|
1299
|
+
|
|
1300
|
+
var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
|
|
1301
|
+
var create = objectCreate;
|
|
1302
|
+
var createPropertyDescriptor = createPropertyDescriptor$3;
|
|
1303
|
+
var setToStringTag$1 = setToStringTag$2;
|
|
1304
|
+
var Iterators$2 = iterators;
|
|
1305
|
+
|
|
1306
|
+
var returnThis$1 = function () { return this; };
|
|
1307
|
+
|
|
1308
|
+
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
1309
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1310
|
+
IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
|
|
1311
|
+
setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
|
|
1312
|
+
Iterators$2[TO_STRING_TAG] = returnThis$1;
|
|
1313
|
+
return IteratorConstructor;
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
var isCallable$2 = isCallable$f;
|
|
1317
|
+
|
|
1318
|
+
var $String$1 = String;
|
|
1319
|
+
var $TypeError = TypeError;
|
|
1320
|
+
|
|
1321
|
+
var aPossiblePrototype$1 = function (argument) {
|
|
1322
|
+
if (typeof argument == 'object' || isCallable$2(argument)) return argument;
|
|
1323
|
+
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
/* eslint-disable no-proto -- safe */
|
|
1327
|
+
|
|
1328
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1329
|
+
var anObject = anObject$5;
|
|
1330
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1331
|
+
|
|
1332
|
+
// `Object.setPrototypeOf` method
|
|
1333
|
+
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1334
|
+
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1335
|
+
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1336
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1337
|
+
var CORRECT_SETTER = false;
|
|
1338
|
+
var test = {};
|
|
1339
|
+
var setter;
|
|
1340
|
+
try {
|
|
1341
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1342
|
+
setter = uncurryThis$4(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1343
|
+
setter(test, []);
|
|
1344
|
+
CORRECT_SETTER = test instanceof Array;
|
|
1345
|
+
} catch (error) { /* empty */ }
|
|
1346
|
+
return function setPrototypeOf(O, proto) {
|
|
1347
|
+
anObject(O);
|
|
1348
|
+
aPossiblePrototype(proto);
|
|
1349
|
+
if (CORRECT_SETTER) setter(O, proto);
|
|
1350
|
+
else O.__proto__ = proto;
|
|
1351
|
+
return O;
|
|
1352
|
+
};
|
|
1353
|
+
}() : undefined);
|
|
1354
|
+
|
|
1355
|
+
var $$4 = _export;
|
|
1356
|
+
var call$1 = functionCall;
|
|
1357
|
+
var FunctionName = functionName;
|
|
1358
|
+
var isCallable$1 = isCallable$f;
|
|
1359
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1360
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
1361
|
+
var setPrototypeOf = objectSetPrototypeOf;
|
|
1362
|
+
var setToStringTag = setToStringTag$2;
|
|
1363
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1364
|
+
var defineBuiltIn = defineBuiltIn$3;
|
|
1365
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
|
1366
|
+
var Iterators$1 = iterators;
|
|
1367
|
+
var IteratorsCore = iteratorsCore;
|
|
1368
|
+
|
|
1369
|
+
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1370
|
+
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
1371
|
+
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
1372
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1373
|
+
var ITERATOR$3 = wellKnownSymbol$3('iterator');
|
|
1374
|
+
var KEYS = 'keys';
|
|
1375
|
+
var VALUES = 'values';
|
|
1376
|
+
var ENTRIES = 'entries';
|
|
1377
|
+
|
|
1378
|
+
var returnThis = function () { return this; };
|
|
1379
|
+
|
|
1380
|
+
var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
|
|
1381
|
+
createIteratorConstructor(IteratorConstructor, NAME, next);
|
|
1382
|
+
|
|
1383
|
+
var getIterationMethod = function (KIND) {
|
|
1384
|
+
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
|
1385
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
|
1386
|
+
switch (KIND) {
|
|
1387
|
+
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
|
1388
|
+
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
|
1389
|
+
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
|
1390
|
+
} return function () { return new IteratorConstructor(this); };
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
var TO_STRING_TAG = NAME + ' Iterator';
|
|
1394
|
+
var INCORRECT_VALUES_NAME = false;
|
|
1395
|
+
var IterablePrototype = Iterable.prototype;
|
|
1396
|
+
var nativeIterator = IterablePrototype[ITERATOR$3]
|
|
1397
|
+
|| IterablePrototype['@@iterator']
|
|
1398
|
+
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
1399
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1400
|
+
var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1401
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
1402
|
+
|
|
1403
|
+
// fix native
|
|
1404
|
+
if (anyNativeIterator) {
|
|
1405
|
+
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
1406
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1407
|
+
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
1408
|
+
if (setPrototypeOf) {
|
|
1409
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
1410
|
+
} else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$3])) {
|
|
1411
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$3, returnThis);
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
// Set @@toStringTag to native iterators
|
|
1415
|
+
setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
|
1420
|
+
if (PROPER_FUNCTION_NAME$1 && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1421
|
+
if (CONFIGURABLE_FUNCTION_NAME) {
|
|
1422
|
+
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
1423
|
+
} else {
|
|
1424
|
+
INCORRECT_VALUES_NAME = true;
|
|
1425
|
+
defaultIterator = function values() { return call$1(nativeIterator, this); };
|
|
1426
|
+
}
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
// export additional methods
|
|
1430
|
+
if (DEFAULT) {
|
|
1431
|
+
methods = {
|
|
1432
|
+
values: getIterationMethod(VALUES),
|
|
1433
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1434
|
+
entries: getIterationMethod(ENTRIES)
|
|
1435
|
+
};
|
|
1436
|
+
if (FORCED) for (KEY in methods) {
|
|
1437
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1438
|
+
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
1439
|
+
}
|
|
1440
|
+
} else $$4({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
// define iterator
|
|
1444
|
+
if (IterablePrototype[ITERATOR$3] !== defaultIterator) {
|
|
1445
|
+
defineBuiltIn(IterablePrototype, ITERATOR$3, defaultIterator, { name: DEFAULT });
|
|
1446
|
+
}
|
|
1447
|
+
Iterators$1[NAME] = defaultIterator;
|
|
1448
|
+
|
|
1449
|
+
return methods;
|
|
1450
|
+
};
|
|
1451
|
+
|
|
1452
|
+
// `CreateIterResultObject` abstract operation
|
|
1453
|
+
// https://tc39.es/ecma262/#sec-createiterresultobject
|
|
1454
|
+
var createIterResultObject$1 = function (value, done) {
|
|
1455
|
+
return { value: value, done: done };
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
var toIndexedObject = toIndexedObject$5;
|
|
1459
|
+
var addToUnscopables = addToUnscopables$1;
|
|
1460
|
+
var Iterators = iterators;
|
|
1461
|
+
var InternalStateModule = internalState;
|
|
1462
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1463
|
+
var defineIterator = iteratorDefine;
|
|
1464
|
+
var createIterResultObject = createIterResultObject$1;
|
|
1465
|
+
var DESCRIPTORS$1 = descriptors;
|
|
1466
|
+
|
|
1467
|
+
var ARRAY_ITERATOR = 'Array Iterator';
|
|
1468
|
+
var setInternalState = InternalStateModule.set;
|
|
1469
|
+
var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
|
|
1470
|
+
|
|
1471
|
+
// `Array.prototype.entries` method
|
|
1472
|
+
// https://tc39.es/ecma262/#sec-array.prototype.entries
|
|
1473
|
+
// `Array.prototype.keys` method
|
|
1474
|
+
// https://tc39.es/ecma262/#sec-array.prototype.keys
|
|
1475
|
+
// `Array.prototype.values` method
|
|
1476
|
+
// https://tc39.es/ecma262/#sec-array.prototype.values
|
|
1477
|
+
// `Array.prototype[@@iterator]` method
|
|
1478
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@iterator
|
|
1479
|
+
// `CreateArrayIterator` internal method
|
|
1480
|
+
// https://tc39.es/ecma262/#sec-createarrayiterator
|
|
1481
|
+
var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
|
|
1482
|
+
setInternalState(this, {
|
|
1483
|
+
type: ARRAY_ITERATOR,
|
|
1484
|
+
target: toIndexedObject(iterated), // target
|
|
1485
|
+
index: 0, // next index
|
|
1486
|
+
kind: kind // kind
|
|
1487
|
+
});
|
|
1488
|
+
// `%ArrayIteratorPrototype%.next` method
|
|
1489
|
+
// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
|
|
1490
|
+
}, function () {
|
|
1491
|
+
var state = getInternalState(this);
|
|
1492
|
+
var target = state.target;
|
|
1493
|
+
var kind = state.kind;
|
|
1494
|
+
var index = state.index++;
|
|
1495
|
+
if (!target || index >= target.length) {
|
|
1496
|
+
state.target = undefined;
|
|
1497
|
+
return createIterResultObject(undefined, true);
|
|
1498
|
+
}
|
|
1499
|
+
if (kind == 'keys') return createIterResultObject(index, false);
|
|
1500
|
+
if (kind == 'values') return createIterResultObject(target[index], false);
|
|
1501
|
+
return createIterResultObject([index, target[index]], false);
|
|
1502
|
+
}, 'values');
|
|
1503
|
+
|
|
1504
|
+
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
1505
|
+
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
1506
|
+
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
1507
|
+
var values = Iterators.Arguments = Iterators.Array;
|
|
1508
|
+
|
|
1509
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
1510
|
+
addToUnscopables('keys');
|
|
1511
|
+
addToUnscopables('values');
|
|
1512
|
+
addToUnscopables('entries');
|
|
1513
|
+
|
|
1514
|
+
// V8 ~ Chrome 45- bug
|
|
1515
|
+
if (DESCRIPTORS$1 && values.name !== 'values') try {
|
|
1516
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
1517
|
+
} catch (error) { /* empty */ }
|
|
1518
|
+
|
|
1519
|
+
// iterable DOM collections
|
|
1520
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1521
|
+
var domIterables = {
|
|
1522
|
+
CSSRuleList: 0,
|
|
1523
|
+
CSSStyleDeclaration: 0,
|
|
1524
|
+
CSSValueList: 0,
|
|
1525
|
+
ClientRectList: 0,
|
|
1526
|
+
DOMRectList: 0,
|
|
1527
|
+
DOMStringList: 0,
|
|
1528
|
+
DOMTokenList: 1,
|
|
1529
|
+
DataTransferItemList: 0,
|
|
1530
|
+
FileList: 0,
|
|
1531
|
+
HTMLAllCollection: 0,
|
|
1532
|
+
HTMLCollection: 0,
|
|
1533
|
+
HTMLFormElement: 0,
|
|
1534
|
+
HTMLSelectElement: 0,
|
|
1535
|
+
MediaList: 0,
|
|
1536
|
+
MimeTypeArray: 0,
|
|
1537
|
+
NamedNodeMap: 0,
|
|
1538
|
+
NodeList: 1,
|
|
1539
|
+
PaintRequestList: 0,
|
|
1540
|
+
Plugin: 0,
|
|
1541
|
+
PluginArray: 0,
|
|
1542
|
+
SVGLengthList: 0,
|
|
1543
|
+
SVGNumberList: 0,
|
|
1544
|
+
SVGPathSegList: 0,
|
|
1545
|
+
SVGPointList: 0,
|
|
1546
|
+
SVGStringList: 0,
|
|
1547
|
+
SVGTransformList: 0,
|
|
1548
|
+
SourceBufferList: 0,
|
|
1549
|
+
StyleSheetList: 0,
|
|
1550
|
+
TextTrackCueList: 0,
|
|
1551
|
+
TextTrackList: 0,
|
|
1552
|
+
TouchList: 0
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1556
|
+
var documentCreateElement = documentCreateElement$2;
|
|
1557
|
+
|
|
1558
|
+
var classList = documentCreateElement('span').classList;
|
|
1559
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1560
|
+
|
|
1561
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1562
|
+
|
|
1563
|
+
var global$3 = global$d;
|
|
1564
|
+
var DOMIterables = domIterables;
|
|
1565
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1566
|
+
var ArrayIteratorMethods = es_array_iterator;
|
|
1567
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1568
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
|
1569
|
+
|
|
1570
|
+
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
1571
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$2('toStringTag');
|
|
1572
|
+
var ArrayValues = ArrayIteratorMethods.values;
|
|
1573
|
+
|
|
1574
|
+
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
1575
|
+
if (CollectionPrototype) {
|
|
1576
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1577
|
+
if (CollectionPrototype[ITERATOR$2] !== ArrayValues) try {
|
|
1578
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$2, ArrayValues);
|
|
1579
|
+
} catch (error) {
|
|
1580
|
+
CollectionPrototype[ITERATOR$2] = ArrayValues;
|
|
1581
|
+
}
|
|
1582
|
+
if (!CollectionPrototype[TO_STRING_TAG$2]) {
|
|
1583
|
+
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
|
1584
|
+
}
|
|
1585
|
+
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
1586
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1587
|
+
if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
|
|
1588
|
+
createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
|
|
1589
|
+
} catch (error) {
|
|
1590
|
+
CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
|
|
1591
|
+
}
|
|
1063
1592
|
}
|
|
1064
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
|
1065
1593
|
}
|
|
1066
1594
|
};
|
|
1067
1595
|
|
|
1068
|
-
var
|
|
1596
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
1597
|
+
handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1601
|
+
|
|
1602
|
+
const AssetSortingRuntime = {
|
|
1603
|
+
getAssetSortingState: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1604
|
+
const api = yield getHostConnector();
|
|
1605
|
+
return api.getAssetSortingState();
|
|
1606
|
+
}),
|
|
1607
|
+
setAssetSortingState: (...args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
1608
|
+
const api = yield getHostConnector();
|
|
1609
|
+
return api.setAssetSortingState(...args);
|
|
1610
|
+
})
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
const CurrentUserRuntime = {
|
|
1614
|
+
getCurrentUserContext: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1615
|
+
const api = yield getHostConnector();
|
|
1616
|
+
return api.getCurrentUserContext();
|
|
1617
|
+
}),
|
|
1618
|
+
getCurrentUserRole: userIds => __awaiter(void 0, void 0, void 0, function* () {
|
|
1619
|
+
const api = yield getHostConnector();
|
|
1620
|
+
return api.getCurrentUserRole(userIds);
|
|
1621
|
+
})
|
|
1622
|
+
};
|
|
1623
|
+
|
|
1624
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
|
1069
1625
|
|
|
1070
1626
|
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
|
1071
1627
|
var test = {};
|
|
@@ -1075,9 +1631,9 @@ test[TO_STRING_TAG$1] = 'z';
|
|
|
1075
1631
|
var toStringTagSupport = String(test) === '[object z]';
|
|
1076
1632
|
|
|
1077
1633
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1078
|
-
var isCallable = isCallable$
|
|
1634
|
+
var isCallable = isCallable$f;
|
|
1079
1635
|
var classofRaw = classofRaw$2;
|
|
1080
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
1636
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
|
1081
1637
|
|
|
1082
1638
|
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
|
1083
1639
|
var $Object = Object;
|
|
@@ -1149,8 +1705,8 @@ var stringTrim = {
|
|
|
1149
1705
|
trim: createMethod(3)
|
|
1150
1706
|
};
|
|
1151
1707
|
|
|
1152
|
-
var global$2 = global$
|
|
1153
|
-
var fails$3 = fails$
|
|
1708
|
+
var global$2 = global$d;
|
|
1709
|
+
var fails$3 = fails$e;
|
|
1154
1710
|
var uncurryThis$2 = functionUncurryThis;
|
|
1155
1711
|
var toString$1 = toString$3;
|
|
1156
1712
|
var trim$1 = stringTrim.trim;
|
|
@@ -1181,8 +1737,8 @@ $$3({ global: true, forced: parseInt != $parseInt }, {
|
|
|
1181
1737
|
parseInt: $parseInt
|
|
1182
1738
|
});
|
|
1183
1739
|
|
|
1184
|
-
var global$1 = global$
|
|
1185
|
-
var fails$2 = fails$
|
|
1740
|
+
var global$1 = global$d;
|
|
1741
|
+
var fails$2 = fails$e;
|
|
1186
1742
|
var uncurryThis$1 = functionUncurryThis;
|
|
1187
1743
|
var toString = toString$3;
|
|
1188
1744
|
var trim = stringTrim.trim;
|
|
@@ -1214,7 +1770,7 @@ $$2({ global: true, forced: parseFloat != $parseFloat }, {
|
|
|
1214
1770
|
});
|
|
1215
1771
|
|
|
1216
1772
|
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
1217
|
-
var fails$1 = fails$
|
|
1773
|
+
var fails$1 = fails$e;
|
|
1218
1774
|
var whitespaces = whitespaces$4;
|
|
1219
1775
|
|
|
1220
1776
|
var non = '\u200B\u0085\u180E';
|
|
@@ -1369,6 +1925,13 @@ const EnvironmentRuntime = {
|
|
|
1369
1925
|
})
|
|
1370
1926
|
};
|
|
1371
1927
|
|
|
1928
|
+
const GlobalSelectionRuntime = {
|
|
1929
|
+
getGlobalSelection: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1930
|
+
const api = yield getHostConnector();
|
|
1931
|
+
return api.getGlobalSelectionContext();
|
|
1932
|
+
})
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1372
1935
|
const NavigationRuntime = {
|
|
1373
1936
|
setDeepLink: props => __awaiter(void 0, void 0, void 0, function* () {
|
|
1374
1937
|
const api = yield getHostConnector();
|
|
@@ -1376,6 +1939,21 @@ const NavigationRuntime = {
|
|
|
1376
1939
|
})
|
|
1377
1940
|
};
|
|
1378
1941
|
|
|
1942
|
+
const ParamsRuntime = {
|
|
1943
|
+
getAppName: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1944
|
+
const api = yield getHostConnector();
|
|
1945
|
+
return api.getAppName();
|
|
1946
|
+
}),
|
|
1947
|
+
getOrgName: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1948
|
+
const api = yield getHostConnector();
|
|
1949
|
+
return api.getOrgName();
|
|
1950
|
+
}),
|
|
1951
|
+
getExtensionName: () => __awaiter(void 0, void 0, void 0, function* () {
|
|
1952
|
+
const api = yield getHostConnector();
|
|
1953
|
+
return api.getExtensionName();
|
|
1954
|
+
})
|
|
1955
|
+
};
|
|
1956
|
+
|
|
1379
1957
|
const RestRuntime = {
|
|
1380
1958
|
apiHost: "https://API_HOST",
|
|
1381
1959
|
|
|
@@ -1388,24 +1966,14 @@ const RestRuntime = {
|
|
|
1388
1966
|
|
|
1389
1967
|
};
|
|
1390
1968
|
|
|
1391
|
-
var internalObjectKeys = objectKeysInternal;
|
|
1392
|
-
var enumBugKeys = enumBugKeys$2;
|
|
1393
|
-
|
|
1394
|
-
// `Object.keys` method
|
|
1395
|
-
// https://tc39.es/ecma262/#sec-object.keys
|
|
1396
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1397
|
-
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1398
|
-
return internalObjectKeys(O, enumBugKeys);
|
|
1399
|
-
};
|
|
1400
|
-
|
|
1401
1969
|
var DESCRIPTORS = descriptors;
|
|
1402
1970
|
var uncurryThis = functionUncurryThis;
|
|
1403
1971
|
var call = functionCall;
|
|
1404
|
-
var fails = fails$
|
|
1405
|
-
var objectKeys = objectKeys$
|
|
1972
|
+
var fails = fails$e;
|
|
1973
|
+
var objectKeys = objectKeys$2;
|
|
1406
1974
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1407
1975
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1408
|
-
var toObject = toObject$
|
|
1976
|
+
var toObject = toObject$3;
|
|
1409
1977
|
var IndexedObject = indexedObject;
|
|
1410
1978
|
|
|
1411
1979
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
@@ -1506,4 +2074,4 @@ const UserSubscriptionRuntime = {
|
|
|
1506
2074
|
})
|
|
1507
2075
|
};
|
|
1508
2076
|
|
|
1509
|
-
export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, NavigationRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };
|
|
2077
|
+
export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };
|