@trackunit/react-core-hooks 0.1.3 → 0.2.1

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
@@ -1,12 +1,29 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { useFlags } from 'launchdarkly-react-client-sdk';
3
2
  import * as React from 'react';
4
3
  import React__default, { useContext, createContext } from 'react';
4
+ import { useFlags } from 'launchdarkly-react-client-sdk';
5
5
  import { NavigationRuntime, AssetRuntime, CustomFieldRuntime, RestRuntime } from '@trackunit/iris-app-runtime-core';
6
6
  import { useLocation } from 'react-router-dom';
7
7
 
8
8
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
9
 
10
+ var check = function (it) {
11
+ return it && it.Math == Math && it;
12
+ };
13
+
14
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
15
+ var global$e =
16
+ // eslint-disable-next-line es/no-global-this -- safe
17
+ check(typeof globalThis == 'object' && globalThis) ||
18
+ check(typeof window == 'object' && window) ||
19
+ // eslint-disable-next-line no-restricted-globals -- safe
20
+ check(typeof self == 'object' && self) ||
21
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
22
+ // eslint-disable-next-line no-new-func -- fallback
23
+ (function () { return this; })() || Function('return this')();
24
+
25
+ var objectGetOwnPropertyDescriptor = {};
26
+
10
27
  var fails$f = function (exec) {
11
28
  try {
12
29
  return !!exec();
@@ -17,7 +34,15 @@ var fails$f = function (exec) {
17
34
 
18
35
  var fails$e = fails$f;
19
36
 
20
- var functionBindNative = !fails$e(function () {
37
+ // Detect IE8's incomplete defineProperty implementation
38
+ var descriptors = !fails$e(function () {
39
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
40
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
41
+ });
42
+
43
+ var fails$d = fails$f;
44
+
45
+ var functionBindNative = !fails$d(function () {
21
46
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
22
47
  var test = (function () { /* empty */ }).bind();
23
48
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -26,13 +51,46 @@ var functionBindNative = !fails$e(function () {
26
51
 
27
52
  var NATIVE_BIND$1 = functionBindNative;
28
53
 
54
+ var call$9 = Function.prototype.call;
55
+
56
+ var functionCall = NATIVE_BIND$1 ? call$9.bind(call$9) : function () {
57
+ return call$9.apply(call$9, arguments);
58
+ };
59
+
60
+ var objectPropertyIsEnumerable = {};
61
+
62
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
63
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
64
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
65
+
66
+ // Nashorn ~ JDK8 bug
67
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
68
+
69
+ // `Object.prototype.propertyIsEnumerable` method implementation
70
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
71
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
72
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
73
+ return !!descriptor && descriptor.enumerable;
74
+ } : $propertyIsEnumerable;
75
+
76
+ var createPropertyDescriptor$3 = function (bitmap, value) {
77
+ return {
78
+ enumerable: !(bitmap & 1),
79
+ configurable: !(bitmap & 2),
80
+ writable: !(bitmap & 4),
81
+ value: value
82
+ };
83
+ };
84
+
85
+ var NATIVE_BIND = functionBindNative;
86
+
29
87
  var FunctionPrototype$1 = Function.prototype;
30
- var call$9 = FunctionPrototype$1.call;
31
- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$9, call$9);
88
+ var call$8 = FunctionPrototype$1.call;
89
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$8, call$8);
32
90
 
33
91
  var functionUncurryThisRaw = function (fn) {
34
- return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
35
- return call$9.apply(fn, arguments);
92
+ return NATIVE_BIND ? uncurryThisWithBind(fn) : function () {
93
+ return call$8.apply(fn, arguments);
36
94
  };
37
95
  };
38
96
 
@@ -56,14 +114,14 @@ var functionUncurryThis = function (fn) {
56
114
  };
57
115
 
58
116
  var uncurryThis$a = functionUncurryThis;
59
- var fails$d = fails$f;
117
+ var fails$c = fails$f;
60
118
  var classof$3 = classofRaw$2;
61
119
 
62
120
  var $Object$4 = Object;
63
121
  var split = uncurryThis$a(''.split);
64
122
 
65
123
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
66
- var indexedObject = fails$d(function () {
124
+ var indexedObject = fails$c(function () {
67
125
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
68
126
  // eslint-disable-next-line no-prototype-builtins -- safe
69
127
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -96,88 +154,6 @@ var toIndexedObject$5 = function (it) {
96
154
  return IndexedObject$1(requireObjectCoercible$2(it));
97
155
  };
98
156
 
99
- var check = function (it) {
100
- return it && it.Math == Math && it;
101
- };
102
-
103
- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
104
- var global$e =
105
- // eslint-disable-next-line es/no-global-this -- safe
106
- check(typeof globalThis == 'object' && globalThis) ||
107
- check(typeof window == 'object' && window) ||
108
- // eslint-disable-next-line no-restricted-globals -- safe
109
- check(typeof self == 'object' && self) ||
110
- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
111
- // eslint-disable-next-line no-new-func -- fallback
112
- (function () { return this; })() || Function('return this')();
113
-
114
- var shared$4 = {exports: {}};
115
-
116
- var global$d = global$e;
117
-
118
- // eslint-disable-next-line es/no-object-defineproperty -- safe
119
- var defineProperty$5 = Object.defineProperty;
120
-
121
- var defineGlobalProperty$3 = function (key, value) {
122
- try {
123
- defineProperty$5(global$d, key, { value: value, configurable: true, writable: true });
124
- } catch (error) {
125
- global$d[key] = value;
126
- } return value;
127
- };
128
-
129
- var global$c = global$e;
130
- var defineGlobalProperty$2 = defineGlobalProperty$3;
131
-
132
- var SHARED = '__core-js_shared__';
133
- var store$3 = global$c[SHARED] || defineGlobalProperty$2(SHARED, {});
134
-
135
- var sharedStore = store$3;
136
-
137
- var store$2 = sharedStore;
138
-
139
- (shared$4.exports = function (key, value) {
140
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
141
- })('versions', []).push({
142
- version: '3.25.5',
143
- mode: 'global',
144
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
145
- license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
146
- source: 'https://github.com/zloirock/core-js'
147
- });
148
-
149
- var requireObjectCoercible$1 = requireObjectCoercible$3;
150
-
151
- var $Object$3 = Object;
152
-
153
- // `ToObject` abstract operation
154
- // https://tc39.es/ecma262/#sec-toobject
155
- var toObject$3 = function (argument) {
156
- return $Object$3(requireObjectCoercible$1(argument));
157
- };
158
-
159
- var uncurryThis$9 = functionUncurryThis;
160
- var toObject$2 = toObject$3;
161
-
162
- var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
163
-
164
- // `HasOwnProperty` abstract operation
165
- // https://tc39.es/ecma262/#sec-hasownproperty
166
- // eslint-disable-next-line es/no-object-hasown -- safe
167
- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
168
- return hasOwnProperty(toObject$2(it), key);
169
- };
170
-
171
- var uncurryThis$8 = functionUncurryThis;
172
-
173
- var id = 0;
174
- var postfix = Math.random();
175
- var toString$3 = uncurryThis$8(1.0.toString);
176
-
177
- var uid$2 = function (key) {
178
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
179
- };
180
-
181
157
  var documentAll$2 = typeof document == 'object' && document.all;
182
158
 
183
159
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -200,26 +176,41 @@ var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
200
176
  return typeof argument == 'function';
201
177
  };
202
178
 
203
- var global$b = global$e;
204
179
  var isCallable$f = isCallable$g;
180
+ var $documentAll = documentAll_1;
181
+
182
+ var documentAll = $documentAll.all;
183
+
184
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
185
+ return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
186
+ } : function (it) {
187
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
188
+ };
189
+
190
+ var global$d = global$e;
191
+ var isCallable$e = isCallable$g;
205
192
 
206
193
  var aFunction = function (argument) {
207
- return isCallable$f(argument) ? argument : undefined;
194
+ return isCallable$e(argument) ? argument : undefined;
208
195
  };
209
196
 
210
197
  var getBuiltIn$4 = function (namespace, method) {
211
- return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
198
+ return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
212
199
  };
213
200
 
201
+ var uncurryThis$9 = functionUncurryThis;
202
+
203
+ var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
204
+
214
205
  var getBuiltIn$3 = getBuiltIn$4;
215
206
 
216
207
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
217
208
 
218
- var global$a = global$e;
209
+ var global$c = global$e;
219
210
  var userAgent = engineUserAgent;
220
211
 
221
- var process = global$a.process;
222
- var Deno = global$a.Deno;
212
+ var process = global$c.process;
213
+ var Deno = global$c.Deno;
223
214
  var versions = process && process.versions || Deno && Deno.version;
224
215
  var v8 = versions && versions.v8;
225
216
  var match, version;
@@ -246,10 +237,10 @@ var engineV8Version = version;
246
237
  /* eslint-disable es/no-symbol -- required for testing */
247
238
 
248
239
  var V8_VERSION = engineV8Version;
249
- var fails$c = fails$f;
240
+ var fails$b = fails$f;
250
241
 
251
242
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
252
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
243
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
253
244
  var symbol = Symbol();
254
245
  // Chrome 38 Symbol has incorrect toString conversion
255
246
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -266,132 +257,25 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
266
257
  && !Symbol.sham
267
258
  && typeof Symbol.iterator == 'symbol';
268
259
 
269
- var global$9 = global$e;
270
- var shared$3 = shared$4.exports;
271
- var hasOwn$8 = hasOwnProperty_1;
272
- var uid$1 = uid$2;
273
- var NATIVE_SYMBOL = symbolConstructorDetection;
274
- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
275
-
276
- var WellKnownSymbolsStore = shared$3('wks');
277
- var Symbol$1 = global$9.Symbol;
278
- var symbolFor = Symbol$1 && Symbol$1['for'];
279
- var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
280
-
281
- var wellKnownSymbol$9 = function (name) {
282
- if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
283
- var description = 'Symbol.' + name;
284
- if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
285
- WellKnownSymbolsStore[name] = Symbol$1[name];
286
- } else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
287
- WellKnownSymbolsStore[name] = symbolFor(description);
288
- } else {
289
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
290
- }
291
- } return WellKnownSymbolsStore[name];
292
- };
293
-
294
- var isCallable$e = isCallable$g;
295
- var $documentAll = documentAll_1;
296
-
297
- var documentAll = $documentAll.all;
298
-
299
- var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
300
- return typeof it == 'object' ? it !== null : isCallable$e(it) || it === documentAll;
301
- } : function (it) {
302
- return typeof it == 'object' ? it !== null : isCallable$e(it);
303
- };
304
-
305
- var isObject$5 = isObject$6;
306
-
307
- var $String$3 = String;
308
- var $TypeError$6 = TypeError;
309
-
310
- // `Assert: Type(argument) is Object`
311
- var anObject$8 = function (argument) {
312
- if (isObject$5(argument)) return argument;
313
- throw $TypeError$6($String$3(argument) + ' is not an object');
314
- };
315
-
316
- var objectDefineProperties = {};
317
-
318
- var fails$b = fails$f;
319
-
320
- // Detect IE8's incomplete defineProperty implementation
321
- var descriptors = !fails$b(function () {
322
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
323
- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
324
- });
325
-
326
- var DESCRIPTORS$9 = descriptors;
327
- var fails$a = fails$f;
328
-
329
- // V8 ~ Chrome 36-
330
- // https://bugs.chromium.org/p/v8/issues/detail?id=3334
331
- var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$a(function () {
332
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
333
- return Object.defineProperty(function () { /* empty */ }, 'prototype', {
334
- value: 42,
335
- writable: false
336
- }).prototype != 42;
337
- });
338
-
339
- var objectDefineProperty = {};
340
-
341
- var global$8 = global$e;
342
- var isObject$4 = isObject$6;
343
-
344
- var document$1 = global$8.document;
345
- // typeof document.createElement is 'object' in old IE
346
- var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
347
-
348
- var documentCreateElement$2 = function (it) {
349
- return EXISTS$1 ? document$1.createElement(it) : {};
350
- };
351
-
352
- var DESCRIPTORS$8 = descriptors;
353
- var fails$9 = fails$f;
354
- var createElement = documentCreateElement$2;
355
-
356
- // Thanks to IE8 for its funny defineProperty
357
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$9(function () {
358
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
359
- return Object.defineProperty(createElement('div'), 'a', {
360
- get: function () { return 7; }
361
- }).a != 7;
362
- });
363
-
364
- var NATIVE_BIND = functionBindNative;
365
-
366
- var call$8 = Function.prototype.call;
367
-
368
- var functionCall = NATIVE_BIND ? call$8.bind(call$8) : function () {
369
- return call$8.apply(call$8, arguments);
370
- };
371
-
372
- var uncurryThis$7 = functionUncurryThis;
373
-
374
- var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
375
-
376
260
  var getBuiltIn$2 = getBuiltIn$4;
377
261
  var isCallable$d = isCallable$g;
378
262
  var isPrototypeOf = objectIsPrototypeOf;
379
- var USE_SYMBOL_AS_UID = useSymbolAsUid;
263
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
380
264
 
381
- var $Object$2 = Object;
265
+ var $Object$3 = Object;
382
266
 
383
- var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
267
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
384
268
  return typeof it == 'symbol';
385
269
  } : function (it) {
386
270
  var $Symbol = getBuiltIn$2('Symbol');
387
- return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
271
+ return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
388
272
  };
389
273
 
390
- var $String$2 = String;
274
+ var $String$3 = String;
391
275
 
392
276
  var tryToString$1 = function (argument) {
393
277
  try {
394
- return $String$2(argument);
278
+ return $String$3(argument);
395
279
  } catch (error) {
396
280
  return 'Object';
397
281
  }
@@ -400,12 +284,12 @@ var tryToString$1 = function (argument) {
400
284
  var isCallable$c = isCallable$g;
401
285
  var tryToString = tryToString$1;
402
286
 
403
- var $TypeError$5 = TypeError;
287
+ var $TypeError$6 = TypeError;
404
288
 
405
289
  // `Assert: IsCallable(argument) is true`
406
290
  var aCallable$1 = function (argument) {
407
291
  if (isCallable$c(argument)) return argument;
408
- throw $TypeError$5(tryToString(argument) + ' is not a function');
292
+ throw $TypeError$6(tryToString(argument) + ' is not a function');
409
293
  };
410
294
 
411
295
  var aCallable = aCallable$1;
@@ -420,41 +304,133 @@ var getMethod$2 = function (V, P) {
420
304
 
421
305
  var call$7 = functionCall;
422
306
  var isCallable$b = isCallable$g;
423
- var isObject$3 = isObject$6;
307
+ var isObject$5 = isObject$6;
424
308
 
425
- var $TypeError$4 = TypeError;
309
+ var $TypeError$5 = TypeError;
426
310
 
427
311
  // `OrdinaryToPrimitive` abstract operation
428
312
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
429
313
  var ordinaryToPrimitive$1 = function (input, pref) {
430
314
  var fn, val;
431
- if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$3(val = call$7(fn, input))) return val;
432
- if (isCallable$b(fn = input.valueOf) && !isObject$3(val = call$7(fn, input))) return val;
433
- if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$3(val = call$7(fn, input))) return val;
434
- throw $TypeError$4("Can't convert object to primitive value");
315
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
316
+ if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$7(fn, input))) return val;
317
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
318
+ throw $TypeError$5("Can't convert object to primitive value");
319
+ };
320
+
321
+ var shared$4 = {exports: {}};
322
+
323
+ var global$b = global$e;
324
+
325
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
326
+ var defineProperty$5 = Object.defineProperty;
327
+
328
+ var defineGlobalProperty$3 = function (key, value) {
329
+ try {
330
+ defineProperty$5(global$b, key, { value: value, configurable: true, writable: true });
331
+ } catch (error) {
332
+ global$b[key] = value;
333
+ } return value;
334
+ };
335
+
336
+ var global$a = global$e;
337
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
338
+
339
+ var SHARED = '__core-js_shared__';
340
+ var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});
341
+
342
+ var sharedStore = store$3;
343
+
344
+ var store$2 = sharedStore;
345
+
346
+ (shared$4.exports = function (key, value) {
347
+ return store$2[key] || (store$2[key] = value !== undefined ? value : {});
348
+ })('versions', []).push({
349
+ version: '3.25.5',
350
+ mode: 'global',
351
+ copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
352
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
353
+ source: 'https://github.com/zloirock/core-js'
354
+ });
355
+
356
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
357
+
358
+ var $Object$2 = Object;
359
+
360
+ // `ToObject` abstract operation
361
+ // https://tc39.es/ecma262/#sec-toobject
362
+ var toObject$3 = function (argument) {
363
+ return $Object$2(requireObjectCoercible$1(argument));
364
+ };
365
+
366
+ var uncurryThis$8 = functionUncurryThis;
367
+ var toObject$2 = toObject$3;
368
+
369
+ var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
370
+
371
+ // `HasOwnProperty` abstract operation
372
+ // https://tc39.es/ecma262/#sec-hasownproperty
373
+ // eslint-disable-next-line es/no-object-hasown -- safe
374
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
375
+ return hasOwnProperty(toObject$2(it), key);
376
+ };
377
+
378
+ var uncurryThis$7 = functionUncurryThis;
379
+
380
+ var id = 0;
381
+ var postfix = Math.random();
382
+ var toString$3 = uncurryThis$7(1.0.toString);
383
+
384
+ var uid$2 = function (key) {
385
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
386
+ };
387
+
388
+ var global$9 = global$e;
389
+ var shared$3 = shared$4.exports;
390
+ var hasOwn$8 = hasOwnProperty_1;
391
+ var uid$1 = uid$2;
392
+ var NATIVE_SYMBOL = symbolConstructorDetection;
393
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
394
+
395
+ var WellKnownSymbolsStore = shared$3('wks');
396
+ var Symbol$1 = global$9.Symbol;
397
+ var symbolFor = Symbol$1 && Symbol$1['for'];
398
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
399
+
400
+ var wellKnownSymbol$9 = function (name) {
401
+ if (!hasOwn$8(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
402
+ var description = 'Symbol.' + name;
403
+ if (NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)) {
404
+ WellKnownSymbolsStore[name] = Symbol$1[name];
405
+ } else if (USE_SYMBOL_AS_UID && symbolFor) {
406
+ WellKnownSymbolsStore[name] = symbolFor(description);
407
+ } else {
408
+ WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
409
+ }
410
+ } return WellKnownSymbolsStore[name];
435
411
  };
436
412
 
437
413
  var call$6 = functionCall;
438
- var isObject$2 = isObject$6;
414
+ var isObject$4 = isObject$6;
439
415
  var isSymbol$1 = isSymbol$2;
440
416
  var getMethod$1 = getMethod$2;
441
417
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
442
418
  var wellKnownSymbol$8 = wellKnownSymbol$9;
443
419
 
444
- var $TypeError$3 = TypeError;
420
+ var $TypeError$4 = TypeError;
445
421
  var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive');
446
422
 
447
423
  // `ToPrimitive` abstract operation
448
424
  // https://tc39.es/ecma262/#sec-toprimitive
449
425
  var toPrimitive$1 = function (input, pref) {
450
- if (!isObject$2(input) || isSymbol$1(input)) return input;
426
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
451
427
  var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
452
428
  var result;
453
429
  if (exoticToPrim) {
454
430
  if (pref === undefined) pref = 'default';
455
431
  result = call$6(exoticToPrim, input, pref);
456
- if (!isObject$2(result) || isSymbol$1(result)) return result;
457
- throw $TypeError$3("Can't convert object to primitive value");
432
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
433
+ throw $TypeError$4("Can't convert object to primitive value");
458
434
  }
459
435
  if (pref === undefined) pref = 'number';
460
436
  return ordinaryToPrimitive(input, pref);
@@ -470,29 +446,101 @@ var toPropertyKey$2 = function (argument) {
470
446
  return isSymbol(key) ? key : key + '';
471
447
  };
472
448
 
473
- var DESCRIPTORS$7 = descriptors;
449
+ var global$8 = global$e;
450
+ var isObject$3 = isObject$6;
451
+
452
+ var document$1 = global$8.document;
453
+ // typeof document.createElement is 'object' in old IE
454
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
455
+
456
+ var documentCreateElement$2 = function (it) {
457
+ return EXISTS$1 ? document$1.createElement(it) : {};
458
+ };
459
+
460
+ var DESCRIPTORS$9 = descriptors;
461
+ var fails$a = fails$f;
462
+ var createElement = documentCreateElement$2;
463
+
464
+ // Thanks to IE8 for its funny defineProperty
465
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$a(function () {
466
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
467
+ return Object.defineProperty(createElement('div'), 'a', {
468
+ get: function () { return 7; }
469
+ }).a != 7;
470
+ });
471
+
472
+ var DESCRIPTORS$8 = descriptors;
473
+ var call$5 = functionCall;
474
+ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
475
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
476
+ var toIndexedObject$4 = toIndexedObject$5;
477
+ var toPropertyKey$1 = toPropertyKey$2;
478
+ var hasOwn$7 = hasOwnProperty_1;
474
479
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
480
+
481
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
482
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
483
+
484
+ // `Object.getOwnPropertyDescriptor` method
485
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
486
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
487
+ O = toIndexedObject$4(O);
488
+ P = toPropertyKey$1(P);
489
+ if (IE8_DOM_DEFINE$1) try {
490
+ return $getOwnPropertyDescriptor$1(O, P);
491
+ } catch (error) { /* empty */ }
492
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
493
+ };
494
+
495
+ var objectDefineProperty = {};
496
+
497
+ var DESCRIPTORS$7 = descriptors;
498
+ var fails$9 = fails$f;
499
+
500
+ // V8 ~ Chrome 36-
501
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
502
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$9(function () {
503
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
504
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
505
+ value: 42,
506
+ writable: false
507
+ }).prototype != 42;
508
+ });
509
+
510
+ var isObject$2 = isObject$6;
511
+
512
+ var $String$2 = String;
513
+ var $TypeError$3 = TypeError;
514
+
515
+ // `Assert: Type(argument) is Object`
516
+ var anObject$8 = function (argument) {
517
+ if (isObject$2(argument)) return argument;
518
+ throw $TypeError$3($String$2(argument) + ' is not an object');
519
+ };
520
+
521
+ var DESCRIPTORS$6 = descriptors;
522
+ var IE8_DOM_DEFINE = ie8DomDefine;
475
523
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
476
524
  var anObject$7 = anObject$8;
477
- var toPropertyKey$1 = toPropertyKey$2;
525
+ var toPropertyKey = toPropertyKey$2;
478
526
 
479
527
  var $TypeError$2 = TypeError;
480
528
  // eslint-disable-next-line es/no-object-defineproperty -- safe
481
529
  var $defineProperty = Object.defineProperty;
482
530
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
483
- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
531
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
484
532
  var ENUMERABLE = 'enumerable';
485
533
  var CONFIGURABLE$1 = 'configurable';
486
534
  var WRITABLE = 'writable';
487
535
 
488
536
  // `Object.defineProperty` method
489
537
  // https://tc39.es/ecma262/#sec-object.defineproperty
490
- objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
538
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
491
539
  anObject$7(O);
492
- P = toPropertyKey$1(P);
540
+ P = toPropertyKey(P);
493
541
  anObject$7(Attributes);
494
542
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
495
- var current = $getOwnPropertyDescriptor$1(O, P);
543
+ var current = $getOwnPropertyDescriptor(O, P);
496
544
  if (current && current[WRITABLE]) {
497
545
  O[P] = Attributes.value;
498
546
  Attributes = {
@@ -504,9 +552,9 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
504
552
  } return $defineProperty(O, P, Attributes);
505
553
  } : $defineProperty : function defineProperty(O, P, Attributes) {
506
554
  anObject$7(O);
507
- P = toPropertyKey$1(P);
555
+ P = toPropertyKey(P);
508
556
  anObject$7(Attributes);
509
- if (IE8_DOM_DEFINE$1) try {
557
+ if (IE8_DOM_DEFINE) try {
510
558
  return $defineProperty(O, P, Attributes);
511
559
  } catch (error) { /* empty */ }
512
560
  if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');
@@ -514,159 +562,58 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
514
562
  return O;
515
563
  };
516
564
 
517
- var ceil = Math.ceil;
518
- var floor = Math.floor;
565
+ var DESCRIPTORS$5 = descriptors;
566
+ var definePropertyModule$3 = objectDefineProperty;
567
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
519
568
 
520
- // `Math.trunc` method
521
- // https://tc39.es/ecma262/#sec-math.trunc
522
- // eslint-disable-next-line es/no-math-trunc -- safe
523
- var mathTrunc = Math.trunc || function trunc(x) {
524
- var n = +x;
525
- return (n > 0 ? floor : ceil)(n);
569
+ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
570
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
571
+ } : function (object, key, value) {
572
+ object[key] = value;
573
+ return object;
526
574
  };
527
575
 
528
- var trunc = mathTrunc;
576
+ var makeBuiltIn$2 = {exports: {}};
529
577
 
530
- // `ToIntegerOrInfinity` abstract operation
531
- // https://tc39.es/ecma262/#sec-tointegerorinfinity
532
- var toIntegerOrInfinity$2 = function (argument) {
533
- var number = +argument;
534
- // eslint-disable-next-line no-self-compare -- NaN check
535
- return number !== number || number === 0 ? 0 : trunc(number);
536
- };
578
+ var DESCRIPTORS$4 = descriptors;
579
+ var hasOwn$6 = hasOwnProperty_1;
537
580
 
538
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
581
+ var FunctionPrototype = Function.prototype;
582
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
583
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
539
584
 
540
- var max = Math.max;
541
- var min$1 = Math.min;
585
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
586
+ // additional protection from minified / mangled / dropped function names
587
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
588
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
542
589
 
543
- // Helper for a popular repeating case of the spec:
544
- // Let integer be ? ToInteger(index).
545
- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
546
- var toAbsoluteIndex$1 = function (index, length) {
547
- var integer = toIntegerOrInfinity$1(index);
548
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
590
+ var functionName = {
591
+ EXISTS: EXISTS,
592
+ PROPER: PROPER,
593
+ CONFIGURABLE: CONFIGURABLE
549
594
  };
550
595
 
551
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
596
+ var uncurryThis$6 = functionUncurryThis;
597
+ var isCallable$a = isCallable$g;
598
+ var store$1 = sharedStore;
552
599
 
553
- var min = Math.min;
600
+ var functionToString = uncurryThis$6(Function.toString);
554
601
 
555
- // `ToLength` abstract operation
556
- // https://tc39.es/ecma262/#sec-tolength
557
- var toLength$1 = function (argument) {
558
- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
559
- };
602
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
603
+ if (!isCallable$a(store$1.inspectSource)) {
604
+ store$1.inspectSource = function (it) {
605
+ return functionToString(it);
606
+ };
607
+ }
560
608
 
561
- var toLength = toLength$1;
609
+ var inspectSource$1 = store$1.inspectSource;
562
610
 
563
- // `LengthOfArrayLike` abstract operation
564
- // https://tc39.es/ecma262/#sec-lengthofarraylike
565
- var lengthOfArrayLike$1 = function (obj) {
566
- return toLength(obj.length);
567
- };
611
+ var global$7 = global$e;
612
+ var isCallable$9 = isCallable$g;
568
613
 
569
- var toIndexedObject$4 = toIndexedObject$5;
570
- var toAbsoluteIndex = toAbsoluteIndex$1;
571
- var lengthOfArrayLike = lengthOfArrayLike$1;
614
+ var WeakMap$1 = global$7.WeakMap;
572
615
 
573
- // `Array.prototype.{ indexOf, includes }` methods implementation
574
- var createMethod = function (IS_INCLUDES) {
575
- return function ($this, el, fromIndex) {
576
- var O = toIndexedObject$4($this);
577
- var length = lengthOfArrayLike(O);
578
- var index = toAbsoluteIndex(fromIndex, length);
579
- var value;
580
- // Array#includes uses SameValueZero equality algorithm
581
- // eslint-disable-next-line no-self-compare -- NaN check
582
- if (IS_INCLUDES && el != el) while (length > index) {
583
- value = O[index++];
584
- // eslint-disable-next-line no-self-compare -- NaN check
585
- if (value != value) return true;
586
- // Array#indexOf ignores holes, Array#includes - not
587
- } else for (;length > index; index++) {
588
- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
589
- } return !IS_INCLUDES && -1;
590
- };
591
- };
592
-
593
- var arrayIncludes = {
594
- // `Array.prototype.includes` method
595
- // https://tc39.es/ecma262/#sec-array.prototype.includes
596
- includes: createMethod(true),
597
- // `Array.prototype.indexOf` method
598
- // https://tc39.es/ecma262/#sec-array.prototype.indexof
599
- indexOf: createMethod(false)
600
- };
601
-
602
- var hiddenKeys$4 = {};
603
-
604
- var uncurryThis$6 = functionUncurryThis;
605
- var hasOwn$7 = hasOwnProperty_1;
606
- var toIndexedObject$3 = toIndexedObject$5;
607
- var indexOf$1 = arrayIncludes.indexOf;
608
- var hiddenKeys$3 = hiddenKeys$4;
609
-
610
- var push = uncurryThis$6([].push);
611
-
612
- var objectKeysInternal = function (object, names) {
613
- var O = toIndexedObject$3(object);
614
- var i = 0;
615
- var result = [];
616
- var key;
617
- for (key in O) !hasOwn$7(hiddenKeys$3, key) && hasOwn$7(O, key) && push(result, key);
618
- // Don't enum bug & hidden keys
619
- while (names.length > i) if (hasOwn$7(O, key = names[i++])) {
620
- ~indexOf$1(result, key) || push(result, key);
621
- }
622
- return result;
623
- };
624
-
625
- // IE8- don't enum bug keys
626
- var enumBugKeys$3 = [
627
- 'constructor',
628
- 'hasOwnProperty',
629
- 'isPrototypeOf',
630
- 'propertyIsEnumerable',
631
- 'toLocaleString',
632
- 'toString',
633
- 'valueOf'
634
- ];
635
-
636
- var internalObjectKeys$1 = objectKeysInternal;
637
- var enumBugKeys$2 = enumBugKeys$3;
638
-
639
- // `Object.keys` method
640
- // https://tc39.es/ecma262/#sec-object.keys
641
- // eslint-disable-next-line es/no-object-keys -- safe
642
- var objectKeys$2 = Object.keys || function keys(O) {
643
- return internalObjectKeys$1(O, enumBugKeys$2);
644
- };
645
-
646
- var DESCRIPTORS$6 = descriptors;
647
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
648
- var definePropertyModule$3 = objectDefineProperty;
649
- var anObject$6 = anObject$8;
650
- var toIndexedObject$2 = toIndexedObject$5;
651
- var objectKeys$1 = objectKeys$2;
652
-
653
- // `Object.defineProperties` method
654
- // https://tc39.es/ecma262/#sec-object.defineproperties
655
- // eslint-disable-next-line es/no-object-defineproperties -- safe
656
- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
657
- anObject$6(O);
658
- var props = toIndexedObject$2(Properties);
659
- var keys = objectKeys$1(Properties);
660
- var length = keys.length;
661
- var index = 0;
662
- var key;
663
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
664
- return O;
665
- };
666
-
667
- var getBuiltIn$1 = getBuiltIn$4;
668
-
669
- var html$1 = getBuiltIn$1('document', 'documentElement');
616
+ var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
670
617
 
671
618
  var shared$2 = shared$4.exports;
672
619
  var uid = uid$2;
@@ -677,149 +624,16 @@ var sharedKey$3 = function (key) {
677
624
  return keys[key] || (keys[key] = uid(key));
678
625
  };
679
626
 
680
- /* global ActiveXObject -- old IE, WSH */
681
-
682
- var anObject$5 = anObject$8;
683
- var definePropertiesModule = objectDefineProperties;
684
- var enumBugKeys$1 = enumBugKeys$3;
685
- var hiddenKeys$2 = hiddenKeys$4;
686
- var html = html$1;
687
- var documentCreateElement$1 = documentCreateElement$2;
688
- var sharedKey$2 = sharedKey$3;
689
-
690
- var GT = '>';
691
- var LT = '<';
692
- var PROTOTYPE = 'prototype';
693
- var SCRIPT = 'script';
694
- var IE_PROTO$1 = sharedKey$2('IE_PROTO');
695
-
696
- var EmptyConstructor = function () { /* empty */ };
697
-
698
- var scriptTag = function (content) {
699
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
700
- };
701
-
702
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
703
- var NullProtoObjectViaActiveX = function (activeXDocument) {
704
- activeXDocument.write(scriptTag(''));
705
- activeXDocument.close();
706
- var temp = activeXDocument.parentWindow.Object;
707
- activeXDocument = null; // avoid memory leak
708
- return temp;
709
- };
710
-
711
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
712
- var NullProtoObjectViaIFrame = function () {
713
- // Thrash, waste and sodomy: IE GC bug
714
- var iframe = documentCreateElement$1('iframe');
715
- var JS = 'java' + SCRIPT + ':';
716
- var iframeDocument;
717
- iframe.style.display = 'none';
718
- html.appendChild(iframe);
719
- // https://github.com/zloirock/core-js/issues/475
720
- iframe.src = String(JS);
721
- iframeDocument = iframe.contentWindow.document;
722
- iframeDocument.open();
723
- iframeDocument.write(scriptTag('document.F=Object'));
724
- iframeDocument.close();
725
- return iframeDocument.F;
726
- };
727
-
728
- // Check for document.domain and active x support
729
- // No need to use active x approach when document.domain is not set
730
- // see https://github.com/es-shims/es5-shim/issues/150
731
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
732
- // avoid IE GC bug
733
- var activeXDocument;
734
- var NullProtoObject = function () {
735
- try {
736
- activeXDocument = new ActiveXObject('htmlfile');
737
- } catch (error) { /* ignore */ }
738
- NullProtoObject = typeof document != 'undefined'
739
- ? document.domain && activeXDocument
740
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
741
- : NullProtoObjectViaIFrame()
742
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
743
- var length = enumBugKeys$1.length;
744
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
745
- return NullProtoObject();
746
- };
747
-
748
- hiddenKeys$2[IE_PROTO$1] = true;
749
-
750
- // `Object.create` method
751
- // https://tc39.es/ecma262/#sec-object.create
752
- // eslint-disable-next-line es/no-object-create -- safe
753
- var objectCreate = Object.create || function create(O, Properties) {
754
- var result;
755
- if (O !== null) {
756
- EmptyConstructor[PROTOTYPE] = anObject$5(O);
757
- result = new EmptyConstructor();
758
- EmptyConstructor[PROTOTYPE] = null;
759
- // add "__proto__" for Object.getPrototypeOf polyfill
760
- result[IE_PROTO$1] = O;
761
- } else result = NullProtoObject();
762
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
763
- };
764
-
765
- var wellKnownSymbol$7 = wellKnownSymbol$9;
766
- var create$2 = objectCreate;
767
- var defineProperty$4 = objectDefineProperty.f;
768
-
769
- var UNSCOPABLES = wellKnownSymbol$7('unscopables');
770
- var ArrayPrototype = Array.prototype;
771
-
772
- // Array.prototype[@@unscopables]
773
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
774
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
775
- defineProperty$4(ArrayPrototype, UNSCOPABLES, {
776
- configurable: true,
777
- value: create$2(null)
778
- });
779
- }
780
-
781
- // add a key to Array.prototype[@@unscopables]
782
- var addToUnscopables$1 = function (key) {
783
- ArrayPrototype[UNSCOPABLES][key] = true;
784
- };
785
-
786
- var iterators = {};
787
-
788
- var global$7 = global$e;
789
- var isCallable$a = isCallable$g;
790
-
791
- var WeakMap$1 = global$7.WeakMap;
792
-
793
- var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
794
-
795
- var createPropertyDescriptor$3 = function (bitmap, value) {
796
- return {
797
- enumerable: !(bitmap & 1),
798
- configurable: !(bitmap & 2),
799
- writable: !(bitmap & 4),
800
- value: value
801
- };
802
- };
803
-
804
- var DESCRIPTORS$5 = descriptors;
805
- var definePropertyModule$2 = objectDefineProperty;
806
- var createPropertyDescriptor$2 = createPropertyDescriptor$3;
807
-
808
- var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
809
- return definePropertyModule$2.f(object, key, createPropertyDescriptor$2(1, value));
810
- } : function (object, key, value) {
811
- object[key] = value;
812
- return object;
813
- };
627
+ var hiddenKeys$4 = {};
814
628
 
815
629
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
816
630
  var global$6 = global$e;
817
631
  var isObject$1 = isObject$6;
818
632
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
819
- var hasOwn$6 = hasOwnProperty_1;
633
+ var hasOwn$5 = hasOwnProperty_1;
820
634
  var shared$1 = sharedStore;
821
- var sharedKey$1 = sharedKey$3;
822
- var hiddenKeys$1 = hiddenKeys$4;
635
+ var sharedKey$2 = sharedKey$3;
636
+ var hiddenKeys$3 = hiddenKeys$4;
823
637
 
824
638
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
825
639
  var TypeError$1 = global$6.TypeError;
@@ -840,38 +654,38 @@ var getterFor = function (TYPE) {
840
654
  };
841
655
 
842
656
  if (NATIVE_WEAK_MAP || shared$1.state) {
843
- var store$1 = shared$1.state || (shared$1.state = new WeakMap());
657
+ var store = shared$1.state || (shared$1.state = new WeakMap());
844
658
  /* eslint-disable no-self-assign -- prototype methods protection */
845
- store$1.get = store$1.get;
846
- store$1.has = store$1.has;
847
- store$1.set = store$1.set;
659
+ store.get = store.get;
660
+ store.has = store.has;
661
+ store.set = store.set;
848
662
  /* eslint-enable no-self-assign -- prototype methods protection */
849
663
  set = function (it, metadata) {
850
- if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
664
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
851
665
  metadata.facade = it;
852
- store$1.set(it, metadata);
666
+ store.set(it, metadata);
853
667
  return metadata;
854
668
  };
855
669
  get = function (it) {
856
- return store$1.get(it) || {};
670
+ return store.get(it) || {};
857
671
  };
858
672
  has = function (it) {
859
- return store$1.has(it);
673
+ return store.has(it);
860
674
  };
861
675
  } else {
862
- var STATE = sharedKey$1('state');
863
- hiddenKeys$1[STATE] = true;
676
+ var STATE = sharedKey$2('state');
677
+ hiddenKeys$3[STATE] = true;
864
678
  set = function (it, metadata) {
865
- if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
679
+ if (hasOwn$5(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
866
680
  metadata.facade = it;
867
681
  createNonEnumerableProperty$4(it, STATE, metadata);
868
682
  return metadata;
869
683
  };
870
684
  get = function (it) {
871
- return hasOwn$6(it, STATE) ? it[STATE] : {};
685
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
872
686
  };
873
687
  has = function (it) {
874
- return hasOwn$6(it, STATE);
688
+ return hasOwn$5(it, STATE);
875
689
  };
876
690
  }
877
691
 
@@ -883,134 +697,58 @@ var internalState = {
883
697
  getterFor: getterFor
884
698
  };
885
699
 
886
- var objectGetOwnPropertyDescriptor = {};
887
-
888
- var objectPropertyIsEnumerable = {};
889
-
890
- var $propertyIsEnumerable = {}.propertyIsEnumerable;
891
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
892
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
893
-
894
- // Nashorn ~ JDK8 bug
895
- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
700
+ var fails$8 = fails$f;
701
+ var isCallable$8 = isCallable$g;
702
+ var hasOwn$4 = hasOwnProperty_1;
703
+ var DESCRIPTORS$3 = descriptors;
704
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
705
+ var inspectSource = inspectSource$1;
706
+ var InternalStateModule$1 = internalState;
896
707
 
897
- // `Object.prototype.propertyIsEnumerable` method implementation
898
- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
899
- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
900
- var descriptor = getOwnPropertyDescriptor$1(this, V);
901
- return !!descriptor && descriptor.enumerable;
902
- } : $propertyIsEnumerable;
708
+ var enforceInternalState = InternalStateModule$1.enforce;
709
+ var getInternalState$2 = InternalStateModule$1.get;
710
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
711
+ var defineProperty$4 = Object.defineProperty;
903
712
 
904
- var DESCRIPTORS$4 = descriptors;
905
- var call$5 = functionCall;
906
- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
907
- var createPropertyDescriptor$1 = createPropertyDescriptor$3;
908
- var toIndexedObject$1 = toIndexedObject$5;
909
- var toPropertyKey = toPropertyKey$2;
910
- var hasOwn$5 = hasOwnProperty_1;
911
- var IE8_DOM_DEFINE = ie8DomDefine;
713
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$8(function () {
714
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
715
+ });
912
716
 
913
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
914
- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
717
+ var TEMPLATE = String(String).split('String');
915
718
 
916
- // `Object.getOwnPropertyDescriptor` method
917
- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
918
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$4 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
919
- O = toIndexedObject$1(O);
920
- P = toPropertyKey(P);
921
- if (IE8_DOM_DEFINE) try {
922
- return $getOwnPropertyDescriptor(O, P);
719
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
720
+ if (String(name).slice(0, 7) === 'Symbol(') {
721
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
722
+ }
723
+ if (options && options.getter) name = 'get ' + name;
724
+ if (options && options.setter) name = 'set ' + name;
725
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
726
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
727
+ else value.name = name;
728
+ }
729
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
730
+ defineProperty$4(value, 'length', { value: options.arity });
731
+ }
732
+ try {
733
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
734
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
735
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
736
+ } else if (value.prototype) value.prototype = undefined;
923
737
  } catch (error) { /* empty */ }
924
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
738
+ var state = enforceInternalState(value);
739
+ if (!hasOwn$4(state, 'source')) {
740
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
741
+ } return value;
925
742
  };
926
743
 
927
- var makeBuiltIn$2 = {exports: {}};
928
-
929
- var DESCRIPTORS$3 = descriptors;
930
- var hasOwn$4 = hasOwnProperty_1;
931
-
932
- var FunctionPrototype = Function.prototype;
933
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
934
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
935
-
936
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
937
- // additional protection from minified / mangled / dropped function names
938
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
939
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
940
-
941
- var functionName = {
942
- EXISTS: EXISTS,
943
- PROPER: PROPER,
944
- CONFIGURABLE: CONFIGURABLE
945
- };
946
-
947
- var uncurryThis$5 = functionUncurryThis;
948
- var isCallable$9 = isCallable$g;
949
- var store = sharedStore;
950
-
951
- var functionToString = uncurryThis$5(Function.toString);
952
-
953
- // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
954
- if (!isCallable$9(store.inspectSource)) {
955
- store.inspectSource = function (it) {
956
- return functionToString(it);
957
- };
958
- }
959
-
960
- var inspectSource$1 = store.inspectSource;
961
-
962
- var fails$8 = fails$f;
963
- var isCallable$8 = isCallable$g;
964
- var hasOwn$3 = hasOwnProperty_1;
965
- var DESCRIPTORS$2 = descriptors;
966
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
967
- var inspectSource = inspectSource$1;
968
- var InternalStateModule$1 = internalState;
969
-
970
- var enforceInternalState = InternalStateModule$1.enforce;
971
- var getInternalState$2 = InternalStateModule$1.get;
972
- // eslint-disable-next-line es/no-object-defineproperty -- safe
973
- var defineProperty$3 = Object.defineProperty;
974
-
975
- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$8(function () {
976
- return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
977
- });
978
-
979
- var TEMPLATE = String(String).split('String');
980
-
981
- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
982
- if (String(name).slice(0, 7) === 'Symbol(') {
983
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
984
- }
985
- if (options && options.getter) name = 'get ' + name;
986
- if (options && options.setter) name = 'set ' + name;
987
- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
988
- if (DESCRIPTORS$2) defineProperty$3(value, 'name', { value: name, configurable: true });
989
- else value.name = name;
990
- }
991
- if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {
992
- defineProperty$3(value, 'length', { value: options.arity });
993
- }
994
- try {
995
- if (options && hasOwn$3(options, 'constructor') && options.constructor) {
996
- if (DESCRIPTORS$2) defineProperty$3(value, 'prototype', { writable: false });
997
- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
998
- } else if (value.prototype) value.prototype = undefined;
999
- } catch (error) { /* empty */ }
1000
- var state = enforceInternalState(value);
1001
- if (!hasOwn$3(state, 'source')) {
1002
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1003
- } return value;
1004
- };
1005
-
1006
- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
1007
- // eslint-disable-next-line no-extend-native -- required
1008
- Function.prototype.toString = makeBuiltIn$1(function toString() {
1009
- return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
1010
- }, 'toString');
744
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
745
+ // eslint-disable-next-line no-extend-native -- required
746
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
747
+ return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
748
+ }, 'toString');
1011
749
 
1012
750
  var isCallable$7 = isCallable$g;
1013
- var definePropertyModule$1 = objectDefineProperty;
751
+ var definePropertyModule$2 = objectDefineProperty;
1014
752
  var makeBuiltIn = makeBuiltIn$2.exports;
1015
753
  var defineGlobalProperty$1 = defineGlobalProperty$3;
1016
754
 
@@ -1028,7 +766,7 @@ var defineBuiltIn$4 = function (O, key, value, options) {
1028
766
  else if (O[key]) simple = true;
1029
767
  } catch (error) { /* empty */ }
1030
768
  if (simple) O[key] = value;
1031
- else definePropertyModule$1.f(O, key, {
769
+ else definePropertyModule$2.f(O, key, {
1032
770
  value: value,
1033
771
  enumerable: false,
1034
772
  configurable: !options.nonConfigurable,
@@ -1039,136 +777,477 @@ var defineBuiltIn$4 = function (O, key, value, options) {
1039
777
 
1040
778
  var objectGetOwnPropertyNames = {};
1041
779
 
1042
- var internalObjectKeys = objectKeysInternal;
1043
- var enumBugKeys = enumBugKeys$3;
780
+ var ceil = Math.ceil;
781
+ var floor = Math.floor;
782
+
783
+ // `Math.trunc` method
784
+ // https://tc39.es/ecma262/#sec-math.trunc
785
+ // eslint-disable-next-line es/no-math-trunc -- safe
786
+ var mathTrunc = Math.trunc || function trunc(x) {
787
+ var n = +x;
788
+ return (n > 0 ? floor : ceil)(n);
789
+ };
790
+
791
+ var trunc = mathTrunc;
792
+
793
+ // `ToIntegerOrInfinity` abstract operation
794
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
795
+ var toIntegerOrInfinity$2 = function (argument) {
796
+ var number = +argument;
797
+ // eslint-disable-next-line no-self-compare -- NaN check
798
+ return number !== number || number === 0 ? 0 : trunc(number);
799
+ };
800
+
801
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
802
+
803
+ var max = Math.max;
804
+ var min$1 = Math.min;
805
+
806
+ // Helper for a popular repeating case of the spec:
807
+ // Let integer be ? ToInteger(index).
808
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
809
+ var toAbsoluteIndex$1 = function (index, length) {
810
+ var integer = toIntegerOrInfinity$1(index);
811
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
812
+ };
813
+
814
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
815
+
816
+ var min = Math.min;
817
+
818
+ // `ToLength` abstract operation
819
+ // https://tc39.es/ecma262/#sec-tolength
820
+ var toLength$1 = function (argument) {
821
+ return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
822
+ };
823
+
824
+ var toLength = toLength$1;
825
+
826
+ // `LengthOfArrayLike` abstract operation
827
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
828
+ var lengthOfArrayLike$1 = function (obj) {
829
+ return toLength(obj.length);
830
+ };
831
+
832
+ var toIndexedObject$3 = toIndexedObject$5;
833
+ var toAbsoluteIndex = toAbsoluteIndex$1;
834
+ var lengthOfArrayLike = lengthOfArrayLike$1;
835
+
836
+ // `Array.prototype.{ indexOf, includes }` methods implementation
837
+ var createMethod = function (IS_INCLUDES) {
838
+ return function ($this, el, fromIndex) {
839
+ var O = toIndexedObject$3($this);
840
+ var length = lengthOfArrayLike(O);
841
+ var index = toAbsoluteIndex(fromIndex, length);
842
+ var value;
843
+ // Array#includes uses SameValueZero equality algorithm
844
+ // eslint-disable-next-line no-self-compare -- NaN check
845
+ if (IS_INCLUDES && el != el) while (length > index) {
846
+ value = O[index++];
847
+ // eslint-disable-next-line no-self-compare -- NaN check
848
+ if (value != value) return true;
849
+ // Array#indexOf ignores holes, Array#includes - not
850
+ } else for (;length > index; index++) {
851
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
852
+ } return !IS_INCLUDES && -1;
853
+ };
854
+ };
855
+
856
+ var arrayIncludes = {
857
+ // `Array.prototype.includes` method
858
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
859
+ includes: createMethod(true),
860
+ // `Array.prototype.indexOf` method
861
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
862
+ indexOf: createMethod(false)
863
+ };
864
+
865
+ var uncurryThis$5 = functionUncurryThis;
866
+ var hasOwn$3 = hasOwnProperty_1;
867
+ var toIndexedObject$2 = toIndexedObject$5;
868
+ var indexOf$1 = arrayIncludes.indexOf;
869
+ var hiddenKeys$2 = hiddenKeys$4;
870
+
871
+ var push = uncurryThis$5([].push);
872
+
873
+ var objectKeysInternal = function (object, names) {
874
+ var O = toIndexedObject$2(object);
875
+ var i = 0;
876
+ var result = [];
877
+ var key;
878
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
879
+ // Don't enum bug & hidden keys
880
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
881
+ ~indexOf$1(result, key) || push(result, key);
882
+ }
883
+ return result;
884
+ };
885
+
886
+ // IE8- don't enum bug keys
887
+ var enumBugKeys$3 = [
888
+ 'constructor',
889
+ 'hasOwnProperty',
890
+ 'isPrototypeOf',
891
+ 'propertyIsEnumerable',
892
+ 'toLocaleString',
893
+ 'toString',
894
+ 'valueOf'
895
+ ];
1044
896
 
1045
- var hiddenKeys = enumBugKeys.concat('length', 'prototype');
897
+ var internalObjectKeys$1 = objectKeysInternal;
898
+ var enumBugKeys$2 = enumBugKeys$3;
899
+
900
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
1046
901
 
1047
902
  // `Object.getOwnPropertyNames` method
1048
903
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
1049
904
  // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1050
905
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1051
- return internalObjectKeys(O, hiddenKeys);
906
+ return internalObjectKeys$1(O, hiddenKeys$1);
907
+ };
908
+
909
+ var objectGetOwnPropertySymbols = {};
910
+
911
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
912
+ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
913
+
914
+ var getBuiltIn$1 = getBuiltIn$4;
915
+ var uncurryThis$4 = functionUncurryThis;
916
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
917
+ var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
918
+ var anObject$6 = anObject$8;
919
+
920
+ var concat$1 = uncurryThis$4([].concat);
921
+
922
+ // all object keys, includes non-enumerable and symbols
923
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
924
+ var keys = getOwnPropertyNamesModule.f(anObject$6(it));
925
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
926
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
927
+ };
928
+
929
+ var hasOwn$2 = hasOwnProperty_1;
930
+ var ownKeys = ownKeys$1;
931
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
932
+ var definePropertyModule$1 = objectDefineProperty;
933
+
934
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
935
+ var keys = ownKeys(source);
936
+ var defineProperty = definePropertyModule$1.f;
937
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
938
+ for (var i = 0; i < keys.length; i++) {
939
+ var key = keys[i];
940
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
941
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
942
+ }
943
+ }
944
+ };
945
+
946
+ var fails$7 = fails$f;
947
+ var isCallable$6 = isCallable$g;
948
+
949
+ var replacement = /#|\.prototype\./;
950
+
951
+ var isForced$1 = function (feature, detection) {
952
+ var value = data[normalize(feature)];
953
+ return value == POLYFILL ? true
954
+ : value == NATIVE ? false
955
+ : isCallable$6(detection) ? fails$7(detection)
956
+ : !!detection;
957
+ };
958
+
959
+ var normalize = isForced$1.normalize = function (string) {
960
+ return String(string).replace(replacement, '.').toLowerCase();
961
+ };
962
+
963
+ var data = isForced$1.data = {};
964
+ var NATIVE = isForced$1.NATIVE = 'N';
965
+ var POLYFILL = isForced$1.POLYFILL = 'P';
966
+
967
+ var isForced_1 = isForced$1;
968
+
969
+ var global$5 = global$e;
970
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
971
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
972
+ var defineBuiltIn$3 = defineBuiltIn$4;
973
+ var defineGlobalProperty = defineGlobalProperty$3;
974
+ var copyConstructorProperties = copyConstructorProperties$1;
975
+ var isForced = isForced_1;
976
+
977
+ /*
978
+ options.target - name of the target object
979
+ options.global - target is the global object
980
+ options.stat - export as static methods of target
981
+ options.proto - export as prototype methods of target
982
+ options.real - real prototype method for the `pure` version
983
+ options.forced - export even if the native feature is available
984
+ options.bind - bind methods to the target, required for the `pure` version
985
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
986
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
987
+ options.sham - add a flag to not completely full polyfills
988
+ options.enumerable - export as enumerable property
989
+ options.dontCallGetSet - prevent calling a getter on target
990
+ options.name - the .name of the function if it does not match the key
991
+ */
992
+ var _export = function (options, source) {
993
+ var TARGET = options.target;
994
+ var GLOBAL = options.global;
995
+ var STATIC = options.stat;
996
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
997
+ if (GLOBAL) {
998
+ target = global$5;
999
+ } else if (STATIC) {
1000
+ target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
1001
+ } else {
1002
+ target = (global$5[TARGET] || {}).prototype;
1003
+ }
1004
+ if (target) for (key in source) {
1005
+ sourceProperty = source[key];
1006
+ if (options.dontCallGetSet) {
1007
+ descriptor = getOwnPropertyDescriptor(target, key);
1008
+ targetProperty = descriptor && descriptor.value;
1009
+ } else targetProperty = target[key];
1010
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1011
+ // contained in target
1012
+ if (!FORCED && targetProperty !== undefined) {
1013
+ if (typeof sourceProperty == typeof targetProperty) continue;
1014
+ copyConstructorProperties(sourceProperty, targetProperty);
1015
+ }
1016
+ // add a flag to not completely full polyfills
1017
+ if (options.sham || (targetProperty && targetProperty.sham)) {
1018
+ createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1019
+ }
1020
+ defineBuiltIn$3(target, key, sourceProperty, options);
1021
+ }
1022
+ };
1023
+
1024
+ var internalObjectKeys = objectKeysInternal;
1025
+ var enumBugKeys$1 = enumBugKeys$3;
1026
+
1027
+ // `Object.keys` method
1028
+ // https://tc39.es/ecma262/#sec-object.keys
1029
+ // eslint-disable-next-line es/no-object-keys -- safe
1030
+ var objectKeys$2 = Object.keys || function keys(O) {
1031
+ return internalObjectKeys(O, enumBugKeys$1);
1032
+ };
1033
+
1034
+ var DESCRIPTORS$2 = descriptors;
1035
+ var uncurryThis$3 = functionUncurryThis;
1036
+ var call$4 = functionCall;
1037
+ var fails$6 = fails$f;
1038
+ var objectKeys$1 = objectKeys$2;
1039
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1040
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1041
+ var toObject$1 = toObject$3;
1042
+ var IndexedObject = indexedObject;
1043
+
1044
+ // eslint-disable-next-line es/no-object-assign -- safe
1045
+ var $assign = Object.assign;
1046
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1047
+ var defineProperty$3 = Object.defineProperty;
1048
+ var concat = uncurryThis$3([].concat);
1049
+
1050
+ // `Object.assign` method
1051
+ // https://tc39.es/ecma262/#sec-object.assign
1052
+ var objectAssign = !$assign || fails$6(function () {
1053
+ // should have correct order of operations (Edge bug)
1054
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1055
+ enumerable: true,
1056
+ get: function () {
1057
+ defineProperty$3(this, 'b', {
1058
+ value: 3,
1059
+ enumerable: false
1060
+ });
1061
+ }
1062
+ }), { b: 2 })).b !== 1) return true;
1063
+ // should work with symbols and should have deterministic property order (V8 bug)
1064
+ var A = {};
1065
+ var B = {};
1066
+ // eslint-disable-next-line es/no-symbol -- safe
1067
+ var symbol = Symbol();
1068
+ var alphabet = 'abcdefghijklmnopqrst';
1069
+ A[symbol] = 7;
1070
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1071
+ return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1072
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1073
+ var T = toObject$1(target);
1074
+ var argumentsLength = arguments.length;
1075
+ var index = 1;
1076
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1077
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
1078
+ while (argumentsLength > index) {
1079
+ var S = IndexedObject(arguments[index++]);
1080
+ var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
1081
+ var length = keys.length;
1082
+ var j = 0;
1083
+ var key;
1084
+ while (length > j) {
1085
+ key = keys[j++];
1086
+ if (!DESCRIPTORS$2 || call$4(propertyIsEnumerable, S, key)) T[key] = S[key];
1087
+ }
1088
+ } return T;
1089
+ } : $assign;
1090
+
1091
+ var $$2 = _export;
1092
+ var assign = objectAssign;
1093
+
1094
+ // `Object.assign` method
1095
+ // https://tc39.es/ecma262/#sec-object.assign
1096
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1097
+ $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1098
+ assign: assign
1099
+ });
1100
+
1101
+ const AssetSortingContext = /*#__PURE__*/createContext(null);
1102
+ const AssetSortingProvider = props => jsx(AssetSortingContext.Provider, Object.assign({}, props));
1103
+ const useAssetSorting = () => {
1104
+ const context = useContext(AssetSortingContext);
1105
+
1106
+ if (!context) {
1107
+ throw new Error("useAssetSorting must be used within a AssetSortingProvider");
1108
+ }
1109
+
1110
+ return context;
1111
+ };
1112
+
1113
+ var objectDefineProperties = {};
1114
+
1115
+ var DESCRIPTORS$1 = descriptors;
1116
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1117
+ var definePropertyModule = objectDefineProperty;
1118
+ var anObject$5 = anObject$8;
1119
+ var toIndexedObject$1 = toIndexedObject$5;
1120
+ var objectKeys = objectKeys$2;
1121
+
1122
+ // `Object.defineProperties` method
1123
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1124
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1125
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1126
+ anObject$5(O);
1127
+ var props = toIndexedObject$1(Properties);
1128
+ var keys = objectKeys(Properties);
1129
+ var length = keys.length;
1130
+ var index = 0;
1131
+ var key;
1132
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1133
+ return O;
1052
1134
  };
1053
1135
 
1054
- var objectGetOwnPropertySymbols = {};
1136
+ var getBuiltIn = getBuiltIn$4;
1055
1137
 
1056
- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1057
- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1138
+ var html$1 = getBuiltIn('document', 'documentElement');
1058
1139
 
1059
- var getBuiltIn = getBuiltIn$4;
1060
- var uncurryThis$4 = functionUncurryThis;
1061
- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1062
- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1063
- var anObject$4 = anObject$8;
1140
+ /* global ActiveXObject -- old IE, WSH */
1064
1141
 
1065
- var concat$1 = uncurryThis$4([].concat);
1142
+ var anObject$4 = anObject$8;
1143
+ var definePropertiesModule = objectDefineProperties;
1144
+ var enumBugKeys = enumBugKeys$3;
1145
+ var hiddenKeys = hiddenKeys$4;
1146
+ var html = html$1;
1147
+ var documentCreateElement$1 = documentCreateElement$2;
1148
+ var sharedKey$1 = sharedKey$3;
1066
1149
 
1067
- // all object keys, includes non-enumerable and symbols
1068
- var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1069
- var keys = getOwnPropertyNamesModule.f(anObject$4(it));
1070
- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1071
- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1072
- };
1150
+ var GT = '>';
1151
+ var LT = '<';
1152
+ var PROTOTYPE = 'prototype';
1153
+ var SCRIPT = 'script';
1154
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1073
1155
 
1074
- var hasOwn$2 = hasOwnProperty_1;
1075
- var ownKeys = ownKeys$1;
1076
- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1077
- var definePropertyModule = objectDefineProperty;
1156
+ var EmptyConstructor = function () { /* empty */ };
1078
1157
 
1079
- var copyConstructorProperties$1 = function (target, source, exceptions) {
1080
- var keys = ownKeys(source);
1081
- var defineProperty = definePropertyModule.f;
1082
- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1083
- for (var i = 0; i < keys.length; i++) {
1084
- var key = keys[i];
1085
- if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
1086
- defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1087
- }
1088
- }
1158
+ var scriptTag = function (content) {
1159
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1089
1160
  };
1090
1161
 
1091
- var fails$7 = fails$f;
1092
- var isCallable$6 = isCallable$g;
1162
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1163
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1164
+ activeXDocument.write(scriptTag(''));
1165
+ activeXDocument.close();
1166
+ var temp = activeXDocument.parentWindow.Object;
1167
+ activeXDocument = null; // avoid memory leak
1168
+ return temp;
1169
+ };
1093
1170
 
1094
- var replacement = /#|\.prototype\./;
1171
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1172
+ var NullProtoObjectViaIFrame = function () {
1173
+ // Thrash, waste and sodomy: IE GC bug
1174
+ var iframe = documentCreateElement$1('iframe');
1175
+ var JS = 'java' + SCRIPT + ':';
1176
+ var iframeDocument;
1177
+ iframe.style.display = 'none';
1178
+ html.appendChild(iframe);
1179
+ // https://github.com/zloirock/core-js/issues/475
1180
+ iframe.src = String(JS);
1181
+ iframeDocument = iframe.contentWindow.document;
1182
+ iframeDocument.open();
1183
+ iframeDocument.write(scriptTag('document.F=Object'));
1184
+ iframeDocument.close();
1185
+ return iframeDocument.F;
1186
+ };
1095
1187
 
1096
- var isForced$1 = function (feature, detection) {
1097
- var value = data[normalize(feature)];
1098
- return value == POLYFILL ? true
1099
- : value == NATIVE ? false
1100
- : isCallable$6(detection) ? fails$7(detection)
1101
- : !!detection;
1188
+ // Check for document.domain and active x support
1189
+ // No need to use active x approach when document.domain is not set
1190
+ // see https://github.com/es-shims/es5-shim/issues/150
1191
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1192
+ // avoid IE GC bug
1193
+ var activeXDocument;
1194
+ var NullProtoObject = function () {
1195
+ try {
1196
+ activeXDocument = new ActiveXObject('htmlfile');
1197
+ } catch (error) { /* ignore */ }
1198
+ NullProtoObject = typeof document != 'undefined'
1199
+ ? document.domain && activeXDocument
1200
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1201
+ : NullProtoObjectViaIFrame()
1202
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1203
+ var length = enumBugKeys.length;
1204
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1205
+ return NullProtoObject();
1102
1206
  };
1103
1207
 
1104
- var normalize = isForced$1.normalize = function (string) {
1105
- return String(string).replace(replacement, '.').toLowerCase();
1208
+ hiddenKeys[IE_PROTO$1] = true;
1209
+
1210
+ // `Object.create` method
1211
+ // https://tc39.es/ecma262/#sec-object.create
1212
+ // eslint-disable-next-line es/no-object-create -- safe
1213
+ var objectCreate = Object.create || function create(O, Properties) {
1214
+ var result;
1215
+ if (O !== null) {
1216
+ EmptyConstructor[PROTOTYPE] = anObject$4(O);
1217
+ result = new EmptyConstructor();
1218
+ EmptyConstructor[PROTOTYPE] = null;
1219
+ // add "__proto__" for Object.getPrototypeOf polyfill
1220
+ result[IE_PROTO$1] = O;
1221
+ } else result = NullProtoObject();
1222
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1106
1223
  };
1107
1224
 
1108
- var data = isForced$1.data = {};
1109
- var NATIVE = isForced$1.NATIVE = 'N';
1110
- var POLYFILL = isForced$1.POLYFILL = 'P';
1225
+ var wellKnownSymbol$7 = wellKnownSymbol$9;
1226
+ var create$2 = objectCreate;
1227
+ var defineProperty$2 = objectDefineProperty.f;
1111
1228
 
1112
- var isForced_1 = isForced$1;
1229
+ var UNSCOPABLES = wellKnownSymbol$7('unscopables');
1230
+ var ArrayPrototype = Array.prototype;
1113
1231
 
1114
- var global$5 = global$e;
1115
- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1116
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1117
- var defineBuiltIn$3 = defineBuiltIn$4;
1118
- var defineGlobalProperty = defineGlobalProperty$3;
1119
- var copyConstructorProperties = copyConstructorProperties$1;
1120
- var isForced = isForced_1;
1232
+ // Array.prototype[@@unscopables]
1233
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1234
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1235
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1236
+ configurable: true,
1237
+ value: create$2(null)
1238
+ });
1239
+ }
1121
1240
 
1122
- /*
1123
- options.target - name of the target object
1124
- options.global - target is the global object
1125
- options.stat - export as static methods of target
1126
- options.proto - export as prototype methods of target
1127
- options.real - real prototype method for the `pure` version
1128
- options.forced - export even if the native feature is available
1129
- options.bind - bind methods to the target, required for the `pure` version
1130
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1131
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1132
- options.sham - add a flag to not completely full polyfills
1133
- options.enumerable - export as enumerable property
1134
- options.dontCallGetSet - prevent calling a getter on target
1135
- options.name - the .name of the function if it does not match the key
1136
- */
1137
- var _export = function (options, source) {
1138
- var TARGET = options.target;
1139
- var GLOBAL = options.global;
1140
- var STATIC = options.stat;
1141
- var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1142
- if (GLOBAL) {
1143
- target = global$5;
1144
- } else if (STATIC) {
1145
- target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
1146
- } else {
1147
- target = (global$5[TARGET] || {}).prototype;
1148
- }
1149
- if (target) for (key in source) {
1150
- sourceProperty = source[key];
1151
- if (options.dontCallGetSet) {
1152
- descriptor = getOwnPropertyDescriptor(target, key);
1153
- targetProperty = descriptor && descriptor.value;
1154
- } else targetProperty = target[key];
1155
- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1156
- // contained in target
1157
- if (!FORCED && targetProperty !== undefined) {
1158
- if (typeof sourceProperty == typeof targetProperty) continue;
1159
- copyConstructorProperties(sourceProperty, targetProperty);
1160
- }
1161
- // add a flag to not completely full polyfills
1162
- if (options.sham || (targetProperty && targetProperty.sham)) {
1163
- createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1164
- }
1165
- defineBuiltIn$3(target, key, sourceProperty, options);
1166
- }
1241
+ // add a key to Array.prototype[@@unscopables]
1242
+ var addToUnscopables$1 = function (key) {
1243
+ ArrayPrototype[UNSCOPABLES][key] = true;
1167
1244
  };
1168
1245
 
1169
- var fails$6 = fails$f;
1246
+ var iterators = {};
1247
+
1248
+ var fails$5 = fails$f;
1170
1249
 
1171
- var correctPrototypeGetter = !fails$6(function () {
1250
+ var correctPrototypeGetter = !fails$5(function () {
1172
1251
  function F() { /* empty */ }
1173
1252
  F.prototype.constructor = null;
1174
1253
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1177,7 +1256,7 @@ var correctPrototypeGetter = !fails$6(function () {
1177
1256
 
1178
1257
  var hasOwn$1 = hasOwnProperty_1;
1179
1258
  var isCallable$5 = isCallable$g;
1180
- var toObject$1 = toObject$3;
1259
+ var toObject = toObject$3;
1181
1260
  var sharedKey = sharedKey$3;
1182
1261
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1183
1262
 
@@ -1189,7 +1268,7 @@ var ObjectPrototype = $Object$1.prototype;
1189
1268
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1190
1269
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1191
1270
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1192
- var object = toObject$1(O);
1271
+ var object = toObject(O);
1193
1272
  if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1194
1273
  var constructor = object.constructor;
1195
1274
  if (isCallable$5(constructor) && object instanceof constructor) {
@@ -1197,7 +1276,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf :
1197
1276
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1198
1277
  };
1199
1278
 
1200
- var fails$5 = fails$f;
1279
+ var fails$4 = fails$f;
1201
1280
  var isCallable$4 = isCallable$g;
1202
1281
  var isObject = isObject$6;
1203
1282
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -1222,7 +1301,7 @@ if ([].keys) {
1222
1301
  }
1223
1302
  }
1224
1303
 
1225
- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$5(function () {
1304
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$4(function () {
1226
1305
  var test = {};
1227
1306
  // FF44- legacy iterators case
1228
1307
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1243,7 +1322,7 @@ var iteratorsCore = {
1243
1322
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1244
1323
  };
1245
1324
 
1246
- var defineProperty$2 = objectDefineProperty.f;
1325
+ var defineProperty$1 = objectDefineProperty.f;
1247
1326
  var hasOwn = hasOwnProperty_1;
1248
1327
  var wellKnownSymbol$5 = wellKnownSymbol$9;
1249
1328
 
@@ -1252,7 +1331,7 @@ var TO_STRING_TAG$3 = wellKnownSymbol$5('toStringTag');
1252
1331
  var setToStringTag$2 = function (target, TAG, STATIC) {
1253
1332
  if (target && !STATIC) target = target.prototype;
1254
1333
  if (target && !hasOwn(target, TO_STRING_TAG$3)) {
1255
- defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1334
+ defineProperty$1(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
1256
1335
  }
1257
1336
  };
1258
1337
 
@@ -1284,7 +1363,7 @@ var aPossiblePrototype$1 = function (argument) {
1284
1363
 
1285
1364
  /* eslint-disable no-proto -- safe */
1286
1365
 
1287
- var uncurryThis$3 = functionUncurryThis;
1366
+ var uncurryThis$2 = functionUncurryThis;
1288
1367
  var anObject$3 = anObject$8;
1289
1368
  var aPossiblePrototype = aPossiblePrototype$1;
1290
1369
 
@@ -1298,7 +1377,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1298
1377
  var setter;
1299
1378
  try {
1300
1379
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1301
- setter = uncurryThis$3(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1380
+ setter = uncurryThis$2(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1302
1381
  setter(test, []);
1303
1382
  CORRECT_SETTER = test instanceof Array;
1304
1383
  } catch (error) { /* empty */ }
@@ -1311,8 +1390,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1311
1390
  };
1312
1391
  }() : undefined);
1313
1392
 
1314
- var $$2 = _export;
1315
- var call$4 = functionCall;
1393
+ var $$1 = _export;
1394
+ var call$3 = functionCall;
1316
1395
  var FunctionName = functionName;
1317
1396
  var isCallable$2 = isCallable$g;
1318
1397
  var createIteratorConstructor = iteratorCreateConstructor;
@@ -1381,7 +1460,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1381
1460
  createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1382
1461
  } else {
1383
1462
  INCORRECT_VALUES_NAME = true;
1384
- defaultIterator = function values() { return call$4(nativeIterator, this); };
1463
+ defaultIterator = function values() { return call$3(nativeIterator, this); };
1385
1464
  }
1386
1465
  }
1387
1466
 
@@ -1396,7 +1475,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1396
1475
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1397
1476
  defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1398
1477
  }
1399
- } else $$2({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1478
+ } else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1400
1479
  }
1401
1480
 
1402
1481
  // define iterator
@@ -1418,10 +1497,10 @@ var toIndexedObject = toIndexedObject$5;
1418
1497
  var addToUnscopables = addToUnscopables$1;
1419
1498
  var Iterators = iterators;
1420
1499
  var InternalStateModule = internalState;
1421
- var defineProperty$1 = objectDefineProperty.f;
1500
+ var defineProperty = objectDefineProperty.f;
1422
1501
  var defineIterator = iteratorDefine;
1423
1502
  var createIterResultObject = createIterResultObject$1;
1424
- var DESCRIPTORS$1 = descriptors;
1503
+ var DESCRIPTORS = descriptors;
1425
1504
 
1426
1505
  var ARRAY_ITERATOR = 'Array Iterator';
1427
1506
  var setInternalState = InternalStateModule.set;
@@ -1471,8 +1550,8 @@ addToUnscopables('values');
1471
1550
  addToUnscopables('entries');
1472
1551
 
1473
1552
  // V8 ~ Chrome 45- bug
1474
- if (DESCRIPTORS$1 && values.name !== 'values') try {
1475
- defineProperty$1(values, 'name', { value: 'values' });
1553
+ if (DESCRIPTORS && values.name !== 'values') try {
1554
+ defineProperty(values, 'name', { value: 'values' });
1476
1555
  } catch (error) { /* empty */ }
1477
1556
 
1478
1557
  // iterable DOM collections
@@ -1558,73 +1637,6 @@ for (var COLLECTION_NAME in DOMIterables) {
1558
1637
 
1559
1638
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1560
1639
 
1561
- var DESCRIPTORS = descriptors;
1562
- var uncurryThis$2 = functionUncurryThis;
1563
- var call$3 = functionCall;
1564
- var fails$4 = fails$f;
1565
- var objectKeys = objectKeys$2;
1566
- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1567
- var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1568
- var toObject = toObject$3;
1569
- var IndexedObject = indexedObject;
1570
-
1571
- // eslint-disable-next-line es/no-object-assign -- safe
1572
- var $assign = Object.assign;
1573
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1574
- var defineProperty = Object.defineProperty;
1575
- var concat = uncurryThis$2([].concat);
1576
-
1577
- // `Object.assign` method
1578
- // https://tc39.es/ecma262/#sec-object.assign
1579
- var objectAssign = !$assign || fails$4(function () {
1580
- // should have correct order of operations (Edge bug)
1581
- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1582
- enumerable: true,
1583
- get: function () {
1584
- defineProperty(this, 'b', {
1585
- value: 3,
1586
- enumerable: false
1587
- });
1588
- }
1589
- }), { b: 2 })).b !== 1) return true;
1590
- // should work with symbols and should have deterministic property order (V8 bug)
1591
- var A = {};
1592
- var B = {};
1593
- // eslint-disable-next-line es/no-symbol -- safe
1594
- var symbol = Symbol();
1595
- var alphabet = 'abcdefghijklmnopqrst';
1596
- A[symbol] = 7;
1597
- alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1598
- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
1599
- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1600
- var T = toObject(target);
1601
- var argumentsLength = arguments.length;
1602
- var index = 1;
1603
- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1604
- var propertyIsEnumerable = propertyIsEnumerableModule.f;
1605
- while (argumentsLength > index) {
1606
- var S = IndexedObject(arguments[index++]);
1607
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1608
- var length = keys.length;
1609
- var j = 0;
1610
- var key;
1611
- while (length > j) {
1612
- key = keys[j++];
1613
- if (!DESCRIPTORS || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1614
- }
1615
- } return T;
1616
- } : $assign;
1617
-
1618
- var $$1 = _export;
1619
- var assign = objectAssign;
1620
-
1621
- // `Object.assign` method
1622
- // https://tc39.es/ecma262/#sec-object.assign
1623
- // eslint-disable-next-line es/no-object-assign -- required for testing
1624
- $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1625
- assign: assign
1626
- });
1627
-
1628
1640
  const DeveloperSettingsContext = /*#__PURE__*/React.createContext({
1629
1641
  localFeatureFlagsEnabled: false
1630
1642
  });
@@ -2177,4 +2189,4 @@ const useCurrentUser = () => {
2177
2189
  return context;
2178
2190
  };
2179
2191
 
2180
- export { CurrentUserProvider, DeveloperSettingsContext, DeveloperSettingsProvider, EnvironmentContextProvider, GlobalSelectionProvider, ToastProvider, TokenProvider, UserSubscriptionProvider, useAssetRuntime, useCurrentUser, useCustomFieldRuntime, useDeveloperSettings, useEnvironment, useGlobalSelection, useRestRuntime, useToast, useToken, useURLSynchronization, useUserSubscription };
2192
+ export { AssetSortingProvider, CurrentUserProvider, DeveloperSettingsContext, DeveloperSettingsProvider, EnvironmentContextProvider, GlobalSelectionProvider, ToastProvider, TokenProvider, UserSubscriptionProvider, useAssetRuntime, useAssetSorting, useCurrentUser, useCustomFieldRuntime, useDeveloperSettings, useEnvironment, useGlobalSelection, useRestRuntime, useToast, useToken, useURLSynchronization, useUserSubscription };