@trackunit/iris-app-runtime-core 0.1.3 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -46,37 +46,9 @@ const AssetRuntime = {
46
46
  })
47
47
  };
48
48
 
49
- const CurrentUserRuntime = {
50
- getCurrentUserContext: () => __awaiter(void 0, void 0, void 0, function* () {
51
- const api = yield getHostConnector();
52
- return api.getCurrentUserContext();
53
- }),
54
- getCurrentUserRole: userIds => __awaiter(void 0, void 0, void 0, function* () {
55
- const api = yield getHostConnector();
56
- return api.getCurrentUserRole(userIds);
57
- })
58
- };
59
-
60
49
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
61
50
 
62
- var check = function (it) {
63
- return it && it.Math == Math && it;
64
- };
65
-
66
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
67
- var global$c =
68
- // eslint-disable-next-line es/no-global-this -- safe
69
- check(typeof globalThis == 'object' && globalThis) ||
70
- check(typeof window == 'object' && window) ||
71
- // eslint-disable-next-line no-restricted-globals -- safe
72
- check(typeof self == 'object' && self) ||
73
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
74
- // eslint-disable-next-line no-new-func -- fallback
75
- (function () { return this; })() || Function('return this')();
76
-
77
- var objectGetOwnPropertyDescriptor = {};
78
-
79
- var fails$c = function (exec) {
51
+ var fails$e = function (exec) {
80
52
  try {
81
53
  return !!exec();
82
54
  } catch (error) {
@@ -84,17 +56,9 @@ var fails$c = function (exec) {
84
56
  }
85
57
  };
86
58
 
87
- var fails$b = fails$c;
88
-
89
- // Detect IE8's incomplete defineProperty implementation
90
- var descriptors = !fails$b(function () {
91
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
92
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
93
- });
94
-
95
- var fails$a = fails$c;
59
+ var fails$d = fails$e;
96
60
 
97
- var functionBindNative = !fails$a(function () {
61
+ var functionBindNative = !fails$d(function () {
98
62
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
99
63
  var test = (function () { /* empty */ }).bind();
100
64
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -103,46 +67,13 @@ var functionBindNative = !fails$a(function () {
103
67
 
104
68
  var NATIVE_BIND$1 = functionBindNative;
105
69
 
106
- var call$5 = Function.prototype.call;
107
-
108
- var functionCall = NATIVE_BIND$1 ? call$5.bind(call$5) : function () {
109
- return call$5.apply(call$5, arguments);
110
- };
111
-
112
- var objectPropertyIsEnumerable = {};
113
-
114
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
115
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
116
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
117
-
118
- // Nashorn ~ JDK8 bug
119
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
120
-
121
- // `Object.prototype.propertyIsEnumerable` method implementation
122
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
123
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
124
- var descriptor = getOwnPropertyDescriptor$1(this, V);
125
- return !!descriptor && descriptor.enumerable;
126
- } : $propertyIsEnumerable;
127
-
128
- var createPropertyDescriptor$2 = function (bitmap, value) {
129
- return {
130
- enumerable: !(bitmap & 1),
131
- configurable: !(bitmap & 2),
132
- writable: !(bitmap & 4),
133
- value: value
134
- };
135
- };
136
-
137
- var NATIVE_BIND = functionBindNative;
138
-
139
70
  var FunctionPrototype$1 = Function.prototype;
140
- var call$4 = FunctionPrototype$1.call;
141
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$4, call$4);
71
+ var call$6 = FunctionPrototype$1.call;
72
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$6, call$6);
142
73
 
143
74
  var functionUncurryThisRaw = function (fn) {
144
- return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
145
- return call$4.apply(fn, arguments);
75
+ return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
76
+ return call$6.apply(fn, arguments);
146
77
  };
147
78
  };
148
79
 
@@ -165,21 +96,21 @@ var functionUncurryThis = function (fn) {
165
96
  if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
166
97
  };
167
98
 
168
- var uncurryThis$a = functionUncurryThis;
169
- var fails$9 = fails$c;
99
+ var uncurryThis$b = functionUncurryThis;
100
+ var fails$c = fails$e;
170
101
  var classof$2 = classofRaw$2;
171
102
 
172
- var $Object$3 = Object;
173
- var split = uncurryThis$a(''.split);
103
+ var $Object$4 = Object;
104
+ var split = uncurryThis$b(''.split);
174
105
 
175
106
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
176
- var indexedObject = fails$9(function () {
107
+ var indexedObject = fails$c(function () {
177
108
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
178
109
  // eslint-disable-next-line no-prototype-builtins -- safe
179
- return !$Object$3('z').propertyIsEnumerable(0);
110
+ return !$Object$4('z').propertyIsEnumerable(0);
180
111
  }) ? function (it) {
181
- return classof$2(it) == 'String' ? split(it, '') : $Object$3(it);
182
- } : $Object$3;
112
+ return classof$2(it) == 'String' ? split(it, '') : $Object$4(it);
113
+ } : $Object$4;
183
114
 
184
115
  // we can't use just `it == null` since of `document.all` special case
185
116
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
@@ -189,12 +120,12 @@ var isNullOrUndefined$2 = function (it) {
189
120
 
190
121
  var isNullOrUndefined$1 = isNullOrUndefined$2;
191
122
 
192
- var $TypeError$5 = TypeError;
123
+ var $TypeError$6 = TypeError;
193
124
 
194
125
  // `RequireObjectCoercible` abstract operation
195
126
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
196
127
  var requireObjectCoercible$3 = function (it) {
197
- if (isNullOrUndefined$1(it)) throw $TypeError$5("Can't call method on " + it);
128
+ if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
198
129
  return it;
199
130
  };
200
131
 
@@ -202,10 +133,92 @@ var requireObjectCoercible$3 = function (it) {
202
133
  var IndexedObject$1 = indexedObject;
203
134
  var requireObjectCoercible$2 = requireObjectCoercible$3;
204
135
 
205
- var toIndexedObject$3 = function (it) {
136
+ var toIndexedObject$5 = function (it) {
206
137
  return IndexedObject$1(requireObjectCoercible$2(it));
207
138
  };
208
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
+
209
222
  var documentAll$2 = typeof document == 'object' && document.all;
210
223
 
211
224
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -222,47 +235,32 @@ var documentAll$1 = $documentAll$1.all;
222
235
 
223
236
  // `IsCallable` abstract operation
224
237
  // https://tc39.es/ecma262/#sec-iscallable
225
- var isCallable$b = $documentAll$1.IS_HTMLDDA ? function (argument) {
238
+ var isCallable$f = $documentAll$1.IS_HTMLDDA ? function (argument) {
226
239
  return typeof argument == 'function' || argument === documentAll$1;
227
240
  } : function (argument) {
228
241
  return typeof argument == 'function';
229
242
  };
230
243
 
231
- var isCallable$a = isCallable$b;
232
- var $documentAll = documentAll_1;
233
-
234
- var documentAll = $documentAll.all;
235
-
236
- var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
237
- return typeof it == 'object' ? it !== null : isCallable$a(it) || it === documentAll;
238
- } : function (it) {
239
- return typeof it == 'object' ? it !== null : isCallable$a(it);
240
- };
241
-
242
- var global$b = global$c;
243
- var isCallable$9 = isCallable$b;
244
+ var global$a = global$d;
245
+ var isCallable$e = isCallable$f;
244
246
 
245
247
  var aFunction = function (argument) {
246
- return isCallable$9(argument) ? argument : undefined;
248
+ return isCallable$e(argument) ? argument : undefined;
247
249
  };
248
250
 
249
- var getBuiltIn$3 = function (namespace, method) {
250
- return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
251
+ var getBuiltIn$4 = function (namespace, method) {
252
+ return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
251
253
  };
252
254
 
253
- var uncurryThis$9 = functionUncurryThis;
254
-
255
- var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
256
-
257
- var getBuiltIn$2 = getBuiltIn$3;
255
+ var getBuiltIn$3 = getBuiltIn$4;
258
256
 
259
- var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
257
+ var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
260
258
 
261
- var global$a = global$c;
259
+ var global$9 = global$d;
262
260
  var userAgent = engineUserAgent;
263
261
 
264
- var process = global$a.process;
265
- var Deno = global$a.Deno;
262
+ var process = global$9.process;
263
+ var Deno = global$9.Deno;
266
264
  var versions = process && process.versions || Deno && Deno.version;
267
265
  var v8 = versions && versions.v8;
268
266
  var match, version;
@@ -289,10 +287,10 @@ var engineV8Version = version;
289
287
  /* eslint-disable es/no-symbol -- required for testing */
290
288
 
291
289
  var V8_VERSION = engineV8Version;
292
- var fails$8 = fails$c;
290
+ var fails$b = fails$e;
293
291
 
294
292
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
295
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {
293
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
296
294
  var symbol = Symbol();
297
295
  // Chrome 38 Symbol has incorrect toString conversion
298
296
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -309,18 +307,125 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
309
307
  && !Symbol.sham
310
308
  && typeof Symbol.iterator == 'symbol';
311
309
 
312
- var getBuiltIn$1 = getBuiltIn$3;
313
- var isCallable$8 = isCallable$b;
314
- var isPrototypeOf = objectIsPrototypeOf;
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;
315
315
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
316
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
+
317
422
  var $Object$2 = Object;
318
423
 
319
- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
424
+ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
320
425
  return typeof it == 'symbol';
321
426
  } : function (it) {
322
- var $Symbol = getBuiltIn$1('Symbol');
323
- return isCallable$8($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
427
+ var $Symbol = getBuiltIn$2('Symbol');
428
+ return isCallable$c($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
324
429
  };
325
430
 
326
431
  var $String$2 = String;
@@ -333,14 +438,14 @@ var tryToString$1 = function (argument) {
333
438
  }
334
439
  };
335
440
 
336
- var isCallable$7 = isCallable$b;
441
+ var isCallable$b = isCallable$f;
337
442
  var tryToString = tryToString$1;
338
443
 
339
444
  var $TypeError$4 = TypeError;
340
445
 
341
446
  // `Assert: IsCallable(argument) is true`
342
447
  var aCallable$1 = function (argument) {
343
- if (isCallable$7(argument)) return argument;
448
+ if (isCallable$b(argument)) return argument;
344
449
  throw $TypeError$4(tryToString(argument) + ' is not a function');
345
450
  };
346
451
 
@@ -354,9 +459,9 @@ var getMethod$1 = function (V, P) {
354
459
  return isNullOrUndefined(func) ? undefined : aCallable(func);
355
460
  };
356
461
 
357
- var call$3 = functionCall;
358
- var isCallable$6 = isCallable$b;
359
- var isObject$4 = isObject$5;
462
+ var call$4 = functionCall;
463
+ var isCallable$a = isCallable$f;
464
+ var isObject$3 = isObject$6;
360
465
 
361
466
  var $TypeError$3 = TypeError;
362
467
 
@@ -364,235 +469,71 @@ var $TypeError$3 = TypeError;
364
469
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
365
470
  var ordinaryToPrimitive$1 = function (input, pref) {
366
471
  var fn, val;
367
- if (pref === 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
368
- if (isCallable$6(fn = input.valueOf) && !isObject$4(val = call$3(fn, input))) return val;
369
- if (pref !== 'string' && isCallable$6(fn = input.toString) && !isObject$4(val = call$3(fn, input))) return val;
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;
370
475
  throw $TypeError$3("Can't convert object to primitive value");
371
476
  };
372
477
 
373
- var shared$3 = {exports: {}};
374
-
375
- var global$9 = global$c;
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;
376
484
 
377
- // eslint-disable-next-line es/no-object-defineproperty -- safe
378
- var defineProperty$2 = Object.defineProperty;
485
+ var $TypeError$2 = TypeError;
486
+ var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
379
487
 
380
- var defineGlobalProperty$3 = function (key, value) {
381
- try {
382
- defineProperty$2(global$9, key, { value: value, configurable: true, writable: true });
383
- } catch (error) {
384
- global$9[key] = value;
385
- } return value;
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);
386
502
  };
387
503
 
388
- var global$8 = global$c;
389
- var defineGlobalProperty$2 = defineGlobalProperty$3;
504
+ var toPrimitive = toPrimitive$1;
505
+ var isSymbol = isSymbol$2;
390
506
 
391
- var SHARED = '__core-js_shared__';
392
- var store$3 = global$8[SHARED] || defineGlobalProperty$2(SHARED, {});
393
-
394
- var sharedStore = store$3;
395
-
396
- var store$2 = sharedStore;
397
-
398
- (shared$3.exports = function (key, value) {
399
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
400
- })('versions', []).push({
401
- version: '3.25.5',
402
- mode: 'global',
403
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
404
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
405
- source: 'https://github.com/zloirock/core-js'
406
- });
407
-
408
- var requireObjectCoercible$1 = requireObjectCoercible$3;
409
-
410
- var $Object$1 = Object;
411
-
412
- // `ToObject` abstract operation
413
- // https://tc39.es/ecma262/#sec-toobject
414
- var toObject$2 = function (argument) {
415
- return $Object$1(requireObjectCoercible$1(argument));
416
- };
417
-
418
- var uncurryThis$8 = functionUncurryThis;
419
- var toObject$1 = toObject$2;
420
-
421
- var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
422
-
423
- // `HasOwnProperty` abstract operation
424
- // https://tc39.es/ecma262/#sec-hasownproperty
425
- // eslint-disable-next-line es/no-object-hasown -- safe
426
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
427
- return hasOwnProperty(toObject$1(it), key);
428
- };
429
-
430
- var uncurryThis$7 = functionUncurryThis;
431
-
432
- var id = 0;
433
- var postfix = Math.random();
434
- var toString$4 = uncurryThis$7(1.0.toString);
435
-
436
- var uid$2 = function (key) {
437
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
438
- };
439
-
440
- var global$7 = global$c;
441
- var shared$2 = shared$3.exports;
442
- var hasOwn$6 = hasOwnProperty_1;
443
- var uid$1 = uid$2;
444
- var NATIVE_SYMBOL = symbolConstructorDetection;
445
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
446
-
447
- var WellKnownSymbolsStore = shared$2('wks');
448
- var Symbol$3 = global$7.Symbol;
449
- var symbolFor = Symbol$3 && Symbol$3['for'];
450
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;
451
-
452
- var wellKnownSymbol$3 = function (name) {
453
- if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
454
- var description = 'Symbol.' + name;
455
- if (NATIVE_SYMBOL && hasOwn$6(Symbol$3, name)) {
456
- WellKnownSymbolsStore[name] = Symbol$3[name];
457
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
458
- WellKnownSymbolsStore[name] = symbolFor(description);
459
- } else {
460
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
461
- }
462
- } return WellKnownSymbolsStore[name];
463
- };
464
-
465
- var call$2 = functionCall;
466
- var isObject$3 = isObject$5;
467
- var isSymbol$1 = isSymbol$2;
468
- var getMethod = getMethod$1;
469
- var ordinaryToPrimitive = ordinaryToPrimitive$1;
470
- var wellKnownSymbol$2 = wellKnownSymbol$3;
471
-
472
- var $TypeError$2 = TypeError;
473
- var TO_PRIMITIVE = wellKnownSymbol$2('toPrimitive');
474
-
475
- // `ToPrimitive` abstract operation
476
- // https://tc39.es/ecma262/#sec-toprimitive
477
- var toPrimitive$1 = function (input, pref) {
478
- if (!isObject$3(input) || isSymbol$1(input)) return input;
479
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
480
- var result;
481
- if (exoticToPrim) {
482
- if (pref === undefined) pref = 'default';
483
- result = call$2(exoticToPrim, input, pref);
484
- if (!isObject$3(result) || isSymbol$1(result)) return result;
485
- throw $TypeError$2("Can't convert object to primitive value");
486
- }
487
- if (pref === undefined) pref = 'number';
488
- return ordinaryToPrimitive(input, pref);
489
- };
490
-
491
- var toPrimitive = toPrimitive$1;
492
- var isSymbol = isSymbol$2;
493
-
494
- // `ToPropertyKey` abstract operation
495
- // https://tc39.es/ecma262/#sec-topropertykey
496
- var toPropertyKey$2 = function (argument) {
497
- var key = toPrimitive(argument, 'string');
498
- return isSymbol(key) ? key : key + '';
499
- };
500
-
501
- var global$6 = global$c;
502
- var isObject$2 = isObject$5;
503
-
504
- var document$1 = global$6.document;
505
- // typeof document.createElement is 'object' in old IE
506
- var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
507
-
508
- var documentCreateElement = function (it) {
509
- return EXISTS$1 ? document$1.createElement(it) : {};
510
- };
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
+ };
511
513
 
512
514
  var DESCRIPTORS$7 = descriptors;
513
- var fails$7 = fails$c;
514
- var createElement = documentCreateElement;
515
-
516
- // Thanks to IE8 for its funny defineProperty
517
- var ie8DomDefine = !DESCRIPTORS$7 && !fails$7(function () {
518
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
519
- return Object.defineProperty(createElement('div'), 'a', {
520
- get: function () { return 7; }
521
- }).a != 7;
522
- });
523
-
524
- var DESCRIPTORS$6 = descriptors;
525
- var call$1 = functionCall;
526
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
527
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
528
- var toIndexedObject$2 = toIndexedObject$3;
529
- var toPropertyKey$1 = toPropertyKey$2;
530
- var hasOwn$5 = hasOwnProperty_1;
531
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;
532
519
 
533
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
534
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
535
-
536
- // `Object.getOwnPropertyDescriptor` method
537
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
538
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
539
- O = toIndexedObject$2(O);
540
- P = toPropertyKey$1(P);
541
- if (IE8_DOM_DEFINE$1) try {
542
- return $getOwnPropertyDescriptor$1(O, P);
543
- } catch (error) { /* empty */ }
544
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
545
- };
546
-
547
- var objectDefineProperty = {};
548
-
549
- var DESCRIPTORS$5 = descriptors;
550
- var fails$6 = fails$c;
551
-
552
- // V8 ~ Chrome 36-
553
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
554
- var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$6(function () {
555
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
556
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
557
- value: 42,
558
- writable: false
559
- }).prototype != 42;
560
- });
561
-
562
- var isObject$1 = isObject$5;
563
-
564
- var $String$1 = String;
565
520
  var $TypeError$1 = TypeError;
566
-
567
- // `Assert: Type(argument) is Object`
568
- var anObject$2 = function (argument) {
569
- if (isObject$1(argument)) return argument;
570
- throw $TypeError$1($String$1(argument) + ' is not an object');
571
- };
572
-
573
- var DESCRIPTORS$4 = descriptors;
574
- var IE8_DOM_DEFINE = ie8DomDefine;
575
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
576
- var anObject$1 = anObject$2;
577
- var toPropertyKey = toPropertyKey$2;
578
-
579
- var $TypeError = TypeError;
580
521
  // eslint-disable-next-line es/no-object-defineproperty -- safe
581
522
  var $defineProperty = Object.defineProperty;
582
523
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
583
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
524
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
584
525
  var ENUMERABLE = 'enumerable';
585
526
  var CONFIGURABLE$1 = 'configurable';
586
527
  var WRITABLE = 'writable';
587
528
 
588
529
  // `Object.defineProperty` method
589
530
  // https://tc39.es/ecma262/#sec-object.defineproperty
590
- objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
591
- anObject$1(O);
592
- P = toPropertyKey(P);
593
- anObject$1(Attributes);
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);
594
535
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
595
- var current = $getOwnPropertyDescriptor(O, P);
536
+ var current = $getOwnPropertyDescriptor$1(O, P);
596
537
  if (current && current[WRITABLE]) {
597
538
  O[P] = Attributes.value;
598
539
  Attributes = {
@@ -603,93 +544,327 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
603
544
  }
604
545
  } return $defineProperty(O, P, Attributes);
605
546
  } : $defineProperty : function defineProperty(O, P, Attributes) {
606
- anObject$1(O);
607
- P = toPropertyKey(P);
608
- anObject$1(Attributes);
609
- 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 {
610
551
  return $defineProperty(O, P, Attributes);
611
552
  } catch (error) { /* empty */ }
612
- 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');
613
554
  if ('value' in Attributes) O[P] = Attributes.value;
614
555
  return O;
615
556
  };
616
557
 
617
- var DESCRIPTORS$3 = descriptors;
618
- var definePropertyModule$2 = objectDefineProperty;
619
- var createPropertyDescriptor = createPropertyDescriptor$2;
558
+ var ceil = Math.ceil;
559
+ var floor = Math.floor;
620
560
 
621
- var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value) {
622
- return definePropertyModule$2.f(object, key, createPropertyDescriptor(1, value));
623
- } : function (object, key, value) {
624
- object[key] = value;
625
- return object;
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);
626
567
  };
627
568
 
628
- var makeBuiltIn$2 = {exports: {}};
569
+ var trunc = mathTrunc;
629
570
 
630
- var DESCRIPTORS$2 = descriptors;
631
- var hasOwn$4 = hasOwnProperty_1;
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
+ };
632
578
 
633
- var FunctionPrototype = Function.prototype;
634
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
635
- var getDescriptor = DESCRIPTORS$2 && Object.getOwnPropertyDescriptor;
579
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
636
580
 
637
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
638
- // additional protection from minified / mangled / dropped function names
639
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
640
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$2 || (DESCRIPTORS$2 && getDescriptor(FunctionPrototype, 'name').configurable));
581
+ var max = Math.max;
582
+ var min$1 = Math.min;
641
583
 
642
- var functionName = {
643
- EXISTS: EXISTS,
644
- PROPER: PROPER,
645
- CONFIGURABLE: CONFIGURABLE
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);
646
590
  };
647
591
 
648
- var uncurryThis$6 = functionUncurryThis;
649
- var isCallable$5 = isCallable$b;
650
- var store$1 = sharedStore;
592
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
651
593
 
652
- var functionToString = uncurryThis$6(Function.toString);
594
+ var min = Math.min;
653
595
 
654
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
655
- if (!isCallable$5(store$1.inspectSource)) {
656
- store$1.inspectSource = function (it) {
657
- return functionToString(it);
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;
658
631
  };
659
- }
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
+ ];
660
676
 
661
- var inspectSource$1 = store$1.inspectSource;
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
+ };
662
686
 
663
- var global$5 = global$c;
664
- var isCallable$4 = isCallable$b;
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
+ };
665
707
 
666
- var WeakMap$1 = global$5.WeakMap;
708
+ var getBuiltIn$1 = getBuiltIn$4;
667
709
 
668
- var weakMapBasicDetection = isCallable$4(WeakMap$1) && /native code/.test(String(WeakMap$1));
710
+ var html$1 = getBuiltIn$1('document', 'documentElement');
669
711
 
670
712
  var shared$1 = shared$3.exports;
671
713
  var uid = uid$2;
672
714
 
673
715
  var keys = shared$1('keys');
674
716
 
675
- var sharedKey$1 = function (key) {
717
+ var sharedKey$3 = function (key) {
676
718
  return keys[key] || (keys[key] = uid(key));
677
719
  };
678
720
 
679
- var hiddenKeys$3 = {};
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
+ };
680
855
 
681
856
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
682
- var global$4 = global$c;
683
- var isObject = isObject$5;
684
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
685
- var hasOwn$3 = hasOwnProperty_1;
857
+ var global$5 = global$d;
858
+ var isObject$1 = isObject$6;
859
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
860
+ var hasOwn$6 = hasOwnProperty_1;
686
861
  var shared = sharedStore;
687
- var sharedKey = sharedKey$1;
688
- var hiddenKeys$2 = hiddenKeys$3;
862
+ var sharedKey$1 = sharedKey$3;
863
+ var hiddenKeys$1 = hiddenKeys$4;
689
864
 
690
865
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
691
- var TypeError$1 = global$4.TypeError;
692
- var WeakMap = global$4.WeakMap;
866
+ var TypeError$1 = global$5.TypeError;
867
+ var WeakMap = global$5.WeakMap;
693
868
  var set, get, has;
694
869
 
695
870
  var enforce = function (it) {
@@ -699,71 +874,147 @@ var enforce = function (it) {
699
874
  var getterFor = function (TYPE) {
700
875
  return function (it) {
701
876
  var state;
702
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
877
+ if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
703
878
  throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
704
879
  } return state;
705
880
  };
706
881
  };
707
882
 
708
- if (NATIVE_WEAK_MAP || shared.state) {
709
- var store = shared.state || (shared.state = new WeakMap());
710
- /* eslint-disable no-self-assign -- prototype methods protection */
711
- store.get = store.get;
712
- store.has = store.has;
713
- store.set = store.set;
714
- /* eslint-enable no-self-assign -- prototype methods protection */
715
- set = function (it, metadata) {
716
- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
717
- metadata.facade = it;
718
- store.set(it, metadata);
719
- return metadata;
720
- };
721
- get = function (it) {
722
- return store.get(it) || {};
723
- };
724
- has = function (it) {
725
- return store.has(it);
726
- };
727
- } else {
728
- var STATE = sharedKey('state');
729
- hiddenKeys$2[STATE] = true;
730
- set = function (it, metadata) {
731
- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
732
- metadata.facade = it;
733
- createNonEnumerableProperty$1(it, STATE, metadata);
734
- return metadata;
735
- };
736
- get = function (it) {
737
- return hasOwn$3(it, STATE) ? it[STATE] : {};
738
- };
739
- has = function (it) {
740
- return hasOwn$3(it, STATE);
883
+ if (NATIVE_WEAK_MAP || shared.state) {
884
+ var store$1 = shared.state || (shared.state = new WeakMap());
885
+ /* eslint-disable no-self-assign -- prototype methods protection */
886
+ store$1.get = store$1.get;
887
+ store$1.has = store$1.has;
888
+ store$1.set = store$1.set;
889
+ /* eslint-enable no-self-assign -- prototype methods protection */
890
+ set = function (it, metadata) {
891
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
892
+ metadata.facade = it;
893
+ store$1.set(it, metadata);
894
+ return metadata;
895
+ };
896
+ get = function (it) {
897
+ return store$1.get(it) || {};
898
+ };
899
+ has = function (it) {
900
+ return store$1.has(it);
901
+ };
902
+ } else {
903
+ var STATE = sharedKey$1('state');
904
+ hiddenKeys$1[STATE] = true;
905
+ set = function (it, metadata) {
906
+ if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
907
+ metadata.facade = it;
908
+ createNonEnumerableProperty$3(it, STATE, metadata);
909
+ return metadata;
910
+ };
911
+ get = function (it) {
912
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
913
+ };
914
+ has = function (it) {
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);
741
998
  };
742
999
  }
743
1000
 
744
- var internalState = {
745
- set: set,
746
- get: get,
747
- has: has,
748
- enforce: enforce,
749
- getterFor: getterFor
750
- };
1001
+ var inspectSource$1 = store.inspectSource;
751
1002
 
752
- var fails$5 = fails$c;
753
- var isCallable$3 = isCallable$b;
754
- var hasOwn$2 = hasOwnProperty_1;
755
- var DESCRIPTORS$1 = descriptors;
756
- 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;
757
1008
  var inspectSource = inspectSource$1;
758
- var InternalStateModule = internalState;
1009
+ var InternalStateModule$1 = internalState;
759
1010
 
760
- var enforceInternalState = InternalStateModule.enforce;
761
- var getInternalState = InternalStateModule.get;
1011
+ var enforceInternalState = InternalStateModule$1.enforce;
1012
+ var getInternalState$1 = InternalStateModule$1.get;
762
1013
  // eslint-disable-next-line es/no-object-defineproperty -- safe
763
- var defineProperty$1 = Object.defineProperty;
1014
+ var defineProperty$3 = Object.defineProperty;
764
1015
 
765
- var CONFIGURABLE_LENGTH = DESCRIPTORS$1 && !fails$5(function () {
766
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
1016
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {
1017
+ return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
767
1018
  });
768
1019
 
769
1020
  var TEMPLATE = String(String).split('String');
@@ -774,21 +1025,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
774
1025
  }
775
1026
  if (options && options.getter) name = 'get ' + name;
776
1027
  if (options && options.setter) name = 'set ' + name;
777
- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
778
- if (DESCRIPTORS$1) defineProperty$1(value, 'name', { value: name, configurable: true });
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 });
779
1030
  else value.name = name;
780
1031
  }
781
- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
782
- defineProperty$1(value, 'length', { value: options.arity });
1032
+ if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
1033
+ defineProperty$3(value, 'length', { value: options.arity });
783
1034
  }
784
1035
  try {
785
- if (options && hasOwn$2(options, 'constructor') && options.constructor) {
786
- if (DESCRIPTORS$1) defineProperty$1(value, 'prototype', { writable: false });
1036
+ if (options && hasOwn$3(options, 'constructor') && options.constructor) {
1037
+ if (DESCRIPTORS$2) defineProperty$3(value, 'prototype', { writable: false });
787
1038
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
788
1039
  } else if (value.prototype) value.prototype = undefined;
789
1040
  } catch (error) { /* empty */ }
790
1041
  var state = enforceInternalState(value);
791
- if (!hasOwn$2(state, 'source')) {
1042
+ if (!hasOwn$3(state, 'source')) {
792
1043
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
793
1044
  } return value;
794
1045
  };
@@ -796,19 +1047,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
796
1047
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
797
1048
  // eslint-disable-next-line no-extend-native -- required
798
1049
  Function.prototype.toString = makeBuiltIn$1(function toString() {
799
- return isCallable$3(this) && getInternalState(this).source || inspectSource(this);
1050
+ return isCallable$7(this) && getInternalState$1(this).source || inspectSource(this);
800
1051
  }, 'toString');
801
1052
 
802
- var isCallable$2 = isCallable$b;
1053
+ var isCallable$6 = isCallable$f;
803
1054
  var definePropertyModule$1 = objectDefineProperty;
804
1055
  var makeBuiltIn = makeBuiltIn$2.exports;
805
1056
  var defineGlobalProperty$1 = defineGlobalProperty$3;
806
1057
 
807
- var defineBuiltIn$1 = function (O, key, value, options) {
1058
+ var defineBuiltIn$3 = function (O, key, value, options) {
808
1059
  if (!options) options = {};
809
1060
  var simple = options.enumerable;
810
1061
  var name = options.name !== undefined ? options.name : key;
811
- if (isCallable$2(value)) makeBuiltIn(value, name, options);
1062
+ if (isCallable$6(value)) makeBuiltIn(value, name, options);
812
1063
  if (options.global) {
813
1064
  if (simple) O[key] = value;
814
1065
  else defineGlobalProperty$1(key, value);
@@ -829,133 +1080,16 @@ var defineBuiltIn$1 = function (O, key, value, options) {
829
1080
 
830
1081
  var objectGetOwnPropertyNames = {};
831
1082
 
832
- var ceil = Math.ceil;
833
- var floor = Math.floor;
834
-
835
- // `Math.trunc` method
836
- // https://tc39.es/ecma262/#sec-math.trunc
837
- // eslint-disable-next-line es/no-math-trunc -- safe
838
- var mathTrunc = Math.trunc || function trunc(x) {
839
- var n = +x;
840
- return (n > 0 ? floor : ceil)(n);
841
- };
842
-
843
- var trunc = mathTrunc;
844
-
845
- // `ToIntegerOrInfinity` abstract operation
846
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
847
- var toIntegerOrInfinity$2 = function (argument) {
848
- var number = +argument;
849
- // eslint-disable-next-line no-self-compare -- NaN check
850
- return number !== number || number === 0 ? 0 : trunc(number);
851
- };
852
-
853
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
854
-
855
- var max = Math.max;
856
- var min$1 = Math.min;
857
-
858
- // Helper for a popular repeating case of the spec:
859
- // Let integer be ? ToInteger(index).
860
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
861
- var toAbsoluteIndex$1 = function (index, length) {
862
- var integer = toIntegerOrInfinity$1(index);
863
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
864
- };
865
-
866
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
867
-
868
- var min = Math.min;
869
-
870
- // `ToLength` abstract operation
871
- // https://tc39.es/ecma262/#sec-tolength
872
- var toLength$1 = function (argument) {
873
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
874
- };
875
-
876
- var toLength = toLength$1;
877
-
878
- // `LengthOfArrayLike` abstract operation
879
- // https://tc39.es/ecma262/#sec-lengthofarraylike
880
- var lengthOfArrayLike$1 = function (obj) {
881
- return toLength(obj.length);
882
- };
883
-
884
- var toIndexedObject$1 = toIndexedObject$3;
885
- var toAbsoluteIndex = toAbsoluteIndex$1;
886
- var lengthOfArrayLike = lengthOfArrayLike$1;
887
-
888
- // `Array.prototype.{ indexOf, includes }` methods implementation
889
- var createMethod$1 = function (IS_INCLUDES) {
890
- return function ($this, el, fromIndex) {
891
- var O = toIndexedObject$1($this);
892
- var length = lengthOfArrayLike(O);
893
- var index = toAbsoluteIndex(fromIndex, length);
894
- var value;
895
- // Array#includes uses SameValueZero equality algorithm
896
- // eslint-disable-next-line no-self-compare -- NaN check
897
- if (IS_INCLUDES && el != el) while (length > index) {
898
- value = O[index++];
899
- // eslint-disable-next-line no-self-compare -- NaN check
900
- if (value != value) return true;
901
- // Array#indexOf ignores holes, Array#includes - not
902
- } else for (;length > index; index++) {
903
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
904
- } return !IS_INCLUDES && -1;
905
- };
906
- };
907
-
908
- var arrayIncludes = {
909
- // `Array.prototype.includes` method
910
- // https://tc39.es/ecma262/#sec-array.prototype.includes
911
- includes: createMethod$1(true),
912
- // `Array.prototype.indexOf` method
913
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
914
- indexOf: createMethod$1(false)
915
- };
916
-
917
- var uncurryThis$5 = functionUncurryThis;
918
- var hasOwn$1 = hasOwnProperty_1;
919
- var toIndexedObject = toIndexedObject$3;
920
- var indexOf = arrayIncludes.indexOf;
921
- var hiddenKeys$1 = hiddenKeys$3;
922
-
923
- var push = uncurryThis$5([].push);
924
-
925
- var objectKeysInternal = function (object, names) {
926
- var O = toIndexedObject(object);
927
- var i = 0;
928
- var result = [];
929
- var key;
930
- for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push(result, key);
931
- // Don't enum bug & hidden keys
932
- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
933
- ~indexOf(result, key) || push(result, key);
934
- }
935
- return result;
936
- };
937
-
938
- // IE8- don't enum bug keys
939
- var enumBugKeys$2 = [
940
- 'constructor',
941
- 'hasOwnProperty',
942
- 'isPrototypeOf',
943
- 'propertyIsEnumerable',
944
- 'toLocaleString',
945
- 'toString',
946
- 'valueOf'
947
- ];
948
-
949
- var internalObjectKeys$1 = objectKeysInternal;
950
- var enumBugKeys$1 = enumBugKeys$2;
1083
+ var internalObjectKeys = objectKeysInternal;
1084
+ var enumBugKeys = enumBugKeys$3;
951
1085
 
952
- var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
1086
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
953
1087
 
954
1088
  // `Object.getOwnPropertyNames` method
955
1089
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
956
1090
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
957
1091
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
958
- return internalObjectKeys$1(O, hiddenKeys);
1092
+ return internalObjectKeys(O, hiddenKeys);
959
1093
  };
960
1094
 
961
1095
  var objectGetOwnPropertySymbols = {};
@@ -963,22 +1097,22 @@ var objectGetOwnPropertySymbols = {};
963
1097
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
964
1098
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
965
1099
 
966
- var getBuiltIn = getBuiltIn$3;
967
- var uncurryThis$4 = functionUncurryThis;
1100
+ var getBuiltIn = getBuiltIn$4;
1101
+ var uncurryThis$5 = functionUncurryThis;
968
1102
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
969
1103
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
970
- var anObject = anObject$2;
1104
+ var anObject$1 = anObject$5;
971
1105
 
972
- var concat$1 = uncurryThis$4([].concat);
1106
+ var concat$1 = uncurryThis$5([].concat);
973
1107
 
974
1108
  // all object keys, includes non-enumerable and symbols
975
1109
  var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
976
- var keys = getOwnPropertyNamesModule.f(anObject(it));
1110
+ var keys = getOwnPropertyNamesModule.f(anObject$1(it));
977
1111
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
978
1112
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
979
1113
  };
980
1114
 
981
- var hasOwn = hasOwnProperty_1;
1115
+ var hasOwn$2 = hasOwnProperty_1;
982
1116
  var ownKeys = ownKeys$1;
983
1117
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
984
1118
  var definePropertyModule = objectDefineProperty;
@@ -989,14 +1123,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
989
1123
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
990
1124
  for (var i = 0; i < keys.length; i++) {
991
1125
  var key = keys[i];
992
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
1126
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
993
1127
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
994
1128
  }
995
1129
  }
996
1130
  };
997
1131
 
998
- var fails$4 = fails$c;
999
- var isCallable$1 = isCallable$b;
1132
+ var fails$6 = fails$e;
1133
+ var isCallable$5 = isCallable$f;
1000
1134
 
1001
1135
  var replacement = /#|\.prototype\./;
1002
1136
 
@@ -1004,7 +1138,7 @@ var isForced$1 = function (feature, detection) {
1004
1138
  var value = data[normalize(feature)];
1005
1139
  return value == POLYFILL ? true
1006
1140
  : value == NATIVE ? false
1007
- : isCallable$1(detection) ? fails$4(detection)
1141
+ : isCallable$5(detection) ? fails$6(detection)
1008
1142
  : !!detection;
1009
1143
  };
1010
1144
 
@@ -1018,10 +1152,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
1018
1152
 
1019
1153
  var isForced_1 = isForced$1;
1020
1154
 
1021
- var global$3 = global$c;
1155
+ var global$4 = global$d;
1022
1156
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1023
- var createNonEnumerableProperty = createNonEnumerableProperty$2;
1024
- var defineBuiltIn = defineBuiltIn$1;
1157
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
1158
+ var defineBuiltIn$2 = defineBuiltIn$3;
1025
1159
  var defineGlobalProperty = defineGlobalProperty$3;
1026
1160
  var copyConstructorProperties = copyConstructorProperties$1;
1027
1161
  var isForced = isForced_1;
@@ -1047,11 +1181,11 @@ var _export = function (options, source) {
1047
1181
  var STATIC = options.stat;
1048
1182
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1049
1183
  if (GLOBAL) {
1050
- target = global$3;
1184
+ target = global$4;
1051
1185
  } else if (STATIC) {
1052
- target = global$3[TARGET] || defineGlobalProperty(TARGET, {});
1186
+ target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
1053
1187
  } else {
1054
- target = (global$3[TARGET] || {}).prototype;
1188
+ target = (global$4[TARGET] || {}).prototype;
1055
1189
  }
1056
1190
  if (target) for (key in source) {
1057
1191
  sourceProperty = source[key];
@@ -1067,13 +1201,427 @@ var _export = function (options, source) {
1067
1201
  }
1068
1202
  // add a flag to not completely full polyfills
1069
1203
  if (options.sham || (targetProperty && targetProperty.sham)) {
1070
- 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
+ }
1071
1592
  }
1072
- defineBuiltIn(target, key, sourceProperty, options);
1073
1593
  }
1074
1594
  };
1075
1595
 
1076
- var wellKnownSymbol$1 = wellKnownSymbol$3;
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;
1077
1625
 
1078
1626
  var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
1079
1627
  var test = {};
@@ -1083,9 +1631,9 @@ test[TO_STRING_TAG$1] = 'z';
1083
1631
  var toStringTagSupport = String(test) === '[object z]';
1084
1632
 
1085
1633
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1086
- var isCallable = isCallable$b;
1634
+ var isCallable = isCallable$f;
1087
1635
  var classofRaw = classofRaw$2;
1088
- var wellKnownSymbol = wellKnownSymbol$3;
1636
+ var wellKnownSymbol = wellKnownSymbol$8;
1089
1637
 
1090
1638
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
1091
1639
  var $Object = Object;
@@ -1157,8 +1705,8 @@ var stringTrim = {
1157
1705
  trim: createMethod(3)
1158
1706
  };
1159
1707
 
1160
- var global$2 = global$c;
1161
- var fails$3 = fails$c;
1708
+ var global$2 = global$d;
1709
+ var fails$3 = fails$e;
1162
1710
  var uncurryThis$2 = functionUncurryThis;
1163
1711
  var toString$1 = toString$3;
1164
1712
  var trim$1 = stringTrim.trim;
@@ -1189,8 +1737,8 @@ $$3({ global: true, forced: parseInt != $parseInt }, {
1189
1737
  parseInt: $parseInt
1190
1738
  });
1191
1739
 
1192
- var global$1 = global$c;
1193
- var fails$2 = fails$c;
1740
+ var global$1 = global$d;
1741
+ var fails$2 = fails$e;
1194
1742
  var uncurryThis$1 = functionUncurryThis;
1195
1743
  var toString = toString$3;
1196
1744
  var trim = stringTrim.trim;
@@ -1222,7 +1770,7 @@ $$2({ global: true, forced: parseFloat != $parseFloat }, {
1222
1770
  });
1223
1771
 
1224
1772
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1225
- var fails$1 = fails$c;
1773
+ var fails$1 = fails$e;
1226
1774
  var whitespaces = whitespaces$4;
1227
1775
 
1228
1776
  var non = '\u200B\u0085\u180E';
@@ -1418,24 +1966,14 @@ const RestRuntime = {
1418
1966
 
1419
1967
  };
1420
1968
 
1421
- var internalObjectKeys = objectKeysInternal;
1422
- var enumBugKeys = enumBugKeys$2;
1423
-
1424
- // `Object.keys` method
1425
- // https://tc39.es/ecma262/#sec-object.keys
1426
- // eslint-disable-next-line es/no-object-keys -- safe
1427
- var objectKeys$1 = Object.keys || function keys(O) {
1428
- return internalObjectKeys(O, enumBugKeys);
1429
- };
1430
-
1431
1969
  var DESCRIPTORS = descriptors;
1432
1970
  var uncurryThis = functionUncurryThis;
1433
1971
  var call = functionCall;
1434
- var fails = fails$c;
1435
- var objectKeys = objectKeys$1;
1972
+ var fails = fails$e;
1973
+ var objectKeys = objectKeys$2;
1436
1974
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1437
1975
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1438
- var toObject = toObject$2;
1976
+ var toObject = toObject$3;
1439
1977
  var IndexedObject = indexedObject;
1440
1978
 
1441
1979
  // eslint-disable-next-line es/no-object-assign -- safe
@@ -1536,4 +2074,4 @@ const UserSubscriptionRuntime = {
1536
2074
  })
1537
2075
  };
1538
2076
 
1539
- export { AssetRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };
2077
+ export { AssetRuntime, AssetSortingRuntime, CurrentUserRuntime, CustomFieldRuntime, DeveloperSettingsRuntime, EnvironmentRuntime, GlobalSelectionRuntime, NavigationRuntime, ParamsRuntime, RestRuntime, ToastRuntime, TokenRuntime, UserSubscriptionRuntime, getCustomFieldValueFromRawValue };