@sinco/react 1.0.4-rc.8 → 1.0.4

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
@@ -9,7 +9,7 @@ var check = function (it) {
9
9
  };
10
10
 
11
11
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
12
- var global$e =
12
+ var global$c =
13
13
  // eslint-disable-next-line es/no-global-this -- safe
14
14
  check(typeof globalThis == 'object' && globalThis) ||
15
15
  check(typeof window == 'object' && window) ||
@@ -21,7 +21,7 @@ var global$e =
21
21
 
22
22
  var objectGetOwnPropertyDescriptor = {};
23
23
 
24
- var fails$d = function (exec) {
24
+ var fails$b = function (exec) {
25
25
  try {
26
26
  return !!exec();
27
27
  } catch (error) {
@@ -29,17 +29,17 @@ var fails$d = function (exec) {
29
29
  }
30
30
  };
31
31
 
32
- var fails$c = fails$d;
32
+ var fails$a = fails$b;
33
33
 
34
34
  // Detect IE8's incomplete defineProperty implementation
35
- var descriptors = !fails$c(function () {
35
+ var descriptors = !fails$a(function () {
36
36
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
37
37
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
38
38
  });
39
39
 
40
- var fails$b = fails$d;
40
+ var fails$9 = fails$b;
41
41
 
42
- var functionBindNative = !fails$b(function () {
42
+ var functionBindNative = !fails$9(function () {
43
43
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
44
44
  var test = (function () { /* empty */ }).bind();
45
45
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -48,10 +48,10 @@ var functionBindNative = !fails$b(function () {
48
48
 
49
49
  var NATIVE_BIND$1 = functionBindNative;
50
50
 
51
- var call$8 = Function.prototype.call;
51
+ var call$6 = Function.prototype.call;
52
52
 
53
- var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
54
- return call$8.apply(call$8, arguments);
53
+ var functionCall = NATIVE_BIND$1 ? call$6.bind(call$6) : function () {
54
+ return call$6.apply(call$6, arguments);
55
55
  };
56
56
 
57
57
  var objectPropertyIsEnumerable = {};
@@ -70,7 +70,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
70
70
  return !!descriptor && descriptor.enumerable;
71
71
  } : $propertyIsEnumerable;
72
72
 
73
- var createPropertyDescriptor$2 = function (bitmap, value) {
73
+ var createPropertyDescriptor$3 = function (bitmap, value) {
74
74
  return {
75
75
  enumerable: !(bitmap & 1),
76
76
  configurable: !(bitmap & 2),
@@ -82,63 +82,63 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
82
82
  var NATIVE_BIND = functionBindNative;
83
83
 
84
84
  var FunctionPrototype$1 = Function.prototype;
85
- var call$7 = FunctionPrototype$1.call;
86
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
85
+ var call$5 = FunctionPrototype$1.call;
86
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
87
87
 
88
88
  var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
89
89
  return function () {
90
- return call$7.apply(fn, arguments);
90
+ return call$5.apply(fn, arguments);
91
91
  };
92
92
  };
93
93
 
94
- var uncurryThis$c = functionUncurryThis;
94
+ var uncurryThis$a = functionUncurryThis;
95
95
 
96
- var toString$4 = uncurryThis$c({}.toString);
97
- var stringSlice$2 = uncurryThis$c(''.slice);
96
+ var toString$1 = uncurryThis$a({}.toString);
97
+ var stringSlice$1 = uncurryThis$a(''.slice);
98
98
 
99
- var classofRaw$2 = function (it) {
100
- return stringSlice$2(toString$4(it), 8, -1);
99
+ var classofRaw = function (it) {
100
+ return stringSlice$1(toString$1(it), 8, -1);
101
101
  };
102
102
 
103
- var uncurryThis$b = functionUncurryThis;
104
- var fails$a = fails$d;
105
- var classof$3 = classofRaw$2;
103
+ var uncurryThis$9 = functionUncurryThis;
104
+ var fails$8 = fails$b;
105
+ var classof = classofRaw;
106
106
 
107
107
  var $Object$3 = Object;
108
- var split = uncurryThis$b(''.split);
108
+ var split = uncurryThis$9(''.split);
109
109
 
110
110
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
111
- var indexedObject = fails$a(function () {
111
+ var indexedObject = fails$8(function () {
112
112
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
113
113
  // eslint-disable-next-line no-prototype-builtins -- safe
114
114
  return !$Object$3('z').propertyIsEnumerable(0);
115
115
  }) ? function (it) {
116
- return classof$3(it) == 'String' ? split(it, '') : $Object$3(it);
116
+ return classof(it) == 'String' ? split(it, '') : $Object$3(it);
117
117
  } : $Object$3;
118
118
 
119
119
  // we can't use just `it == null` since of `document.all` special case
120
120
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
121
- var isNullOrUndefined$3 = function (it) {
121
+ var isNullOrUndefined$2 = function (it) {
122
122
  return it === null || it === undefined;
123
123
  };
124
124
 
125
- var isNullOrUndefined$2 = isNullOrUndefined$3;
125
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
126
126
 
127
127
  var $TypeError$6 = TypeError;
128
128
 
129
129
  // `RequireObjectCoercible` abstract operation
130
130
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
131
- var requireObjectCoercible$3 = function (it) {
132
- if (isNullOrUndefined$2(it)) throw $TypeError$6("Can't call method on " + it);
131
+ var requireObjectCoercible$2 = function (it) {
132
+ if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
133
133
  return it;
134
134
  };
135
135
 
136
136
  // toObject with fallback for non-array-like ES3 strings
137
137
  var IndexedObject$1 = indexedObject;
138
- var requireObjectCoercible$2 = requireObjectCoercible$3;
138
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
139
139
 
140
- var toIndexedObject$4 = function (it) {
141
- return IndexedObject$1(requireObjectCoercible$2(it));
140
+ var toIndexedObject$5 = function (it) {
141
+ return IndexedObject$1(requireObjectCoercible$1(it));
142
142
  };
143
143
 
144
144
  var documentAll$2 = typeof document == 'object' && document.all;
@@ -158,45 +158,45 @@ var documentAll$1 = $documentAll$1.all;
158
158
 
159
159
  // `IsCallable` abstract operation
160
160
  // https://tc39.es/ecma262/#sec-iscallable
161
- var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {
161
+ var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {
162
162
  return typeof argument == 'function' || argument === documentAll$1;
163
163
  } : function (argument) {
164
164
  return typeof argument == 'function';
165
165
  };
166
166
 
167
- var isCallable$b = isCallable$c;
167
+ var isCallable$d = isCallable$e;
168
168
  var $documentAll = documentAll_1;
169
169
 
170
170
  var documentAll = $documentAll.all;
171
171
 
172
- var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
173
- return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
172
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
173
+ return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;
174
174
  } : function (it) {
175
- return typeof it == 'object' ? it !== null : isCallable$b(it);
175
+ return typeof it == 'object' ? it !== null : isCallable$d(it);
176
176
  };
177
177
 
178
- var global$d = global$e;
179
- var isCallable$a = isCallable$c;
178
+ var global$b = global$c;
179
+ var isCallable$c = isCallable$e;
180
180
 
181
181
  var aFunction = function (argument) {
182
- return isCallable$a(argument) ? argument : undefined;
182
+ return isCallable$c(argument) ? argument : undefined;
183
183
  };
184
184
 
185
185
  var getBuiltIn$3 = function (namespace, method) {
186
- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
186
+ return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
187
187
  };
188
188
 
189
- var uncurryThis$a = functionUncurryThis;
189
+ var uncurryThis$8 = functionUncurryThis;
190
190
 
191
- var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
191
+ var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
192
192
 
193
193
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
194
194
 
195
- var global$c = global$e;
195
+ var global$a = global$c;
196
196
  var userAgent = engineUserAgent;
197
197
 
198
- var process$1 = global$c.process;
199
- var Deno = global$c.Deno;
198
+ var process$1 = global$a.process;
199
+ var Deno = global$a.Deno;
200
200
  var versions = process$1 && process$1.versions || Deno && Deno.version;
201
201
  var v8 = versions && versions.v8;
202
202
  var match$1, version;
@@ -223,13 +223,13 @@ var engineV8Version = version;
223
223
  /* eslint-disable es/no-symbol -- required for testing */
224
224
 
225
225
  var V8_VERSION = engineV8Version;
226
- var fails$9 = fails$d;
227
- var global$b = global$e;
226
+ var fails$7 = fails$b;
227
+ var global$9 = global$c;
228
228
 
229
- var $String$4 = global$b.String;
229
+ var $String$4 = global$9.String;
230
230
 
231
231
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
232
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
232
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
233
233
  var symbol = Symbol();
234
234
  // Chrome 38 Symbol has incorrect toString conversion
235
235
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -249,7 +249,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
249
249
  && typeof Symbol.iterator == 'symbol';
250
250
 
251
251
  var getBuiltIn$2 = getBuiltIn$3;
252
- var isCallable$9 = isCallable$c;
252
+ var isCallable$b = isCallable$e;
253
253
  var isPrototypeOf = objectIsPrototypeOf;
254
254
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
255
255
 
@@ -259,7 +259,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
259
259
  return typeof it == 'symbol';
260
260
  } : function (it) {
261
261
  var $Symbol = getBuiltIn$2('Symbol');
262
- return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
262
+ return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
263
263
  };
264
264
 
265
265
  var $String$3 = String;
@@ -272,30 +272,30 @@ var tryToString$1 = function (argument) {
272
272
  }
273
273
  };
274
274
 
275
- var isCallable$8 = isCallable$c;
275
+ var isCallable$a = isCallable$e;
276
276
  var tryToString = tryToString$1;
277
277
 
278
278
  var $TypeError$5 = TypeError;
279
279
 
280
280
  // `Assert: IsCallable(argument) is true`
281
- var aCallable$1 = function (argument) {
282
- if (isCallable$8(argument)) return argument;
281
+ var aCallable$2 = function (argument) {
282
+ if (isCallable$a(argument)) return argument;
283
283
  throw $TypeError$5(tryToString(argument) + ' is not a function');
284
284
  };
285
285
 
286
- var aCallable = aCallable$1;
287
- var isNullOrUndefined$1 = isNullOrUndefined$3;
286
+ var aCallable$1 = aCallable$2;
287
+ var isNullOrUndefined = isNullOrUndefined$2;
288
288
 
289
289
  // `GetMethod` abstract operation
290
290
  // https://tc39.es/ecma262/#sec-getmethod
291
- var getMethod$2 = function (V, P) {
291
+ var getMethod$1 = function (V, P) {
292
292
  var func = V[P];
293
- return isNullOrUndefined$1(func) ? undefined : aCallable(func);
293
+ return isNullOrUndefined(func) ? undefined : aCallable$1(func);
294
294
  };
295
295
 
296
- var call$6 = functionCall;
297
- var isCallable$7 = isCallable$c;
298
- var isObject$4 = isObject$5;
296
+ var call$4 = functionCall;
297
+ var isCallable$9 = isCallable$e;
298
+ var isObject$5 = isObject$6;
299
299
 
300
300
  var $TypeError$4 = TypeError;
301
301
 
@@ -303,38 +303,38 @@ var $TypeError$4 = TypeError;
303
303
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
304
304
  var ordinaryToPrimitive$1 = function (input, pref) {
305
305
  var fn, val;
306
- if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
307
- if (isCallable$7(fn = input.valueOf) && !isObject$4(val = call$6(fn, input))) return val;
308
- if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
306
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
307
+ if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
308
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
309
309
  throw $TypeError$4("Can't convert object to primitive value");
310
310
  };
311
311
 
312
- var shared$4 = {exports: {}};
312
+ var shared$3 = {exports: {}};
313
313
 
314
- var global$a = global$e;
314
+ var global$8 = global$c;
315
315
 
316
316
  // eslint-disable-next-line es/no-object-defineproperty -- safe
317
- var defineProperty$2 = Object.defineProperty;
317
+ var defineProperty$5 = Object.defineProperty;
318
318
 
319
319
  var defineGlobalProperty$3 = function (key, value) {
320
320
  try {
321
- defineProperty$2(global$a, key, { value: value, configurable: true, writable: true });
321
+ defineProperty$5(global$8, key, { value: value, configurable: true, writable: true });
322
322
  } catch (error) {
323
- global$a[key] = value;
323
+ global$8[key] = value;
324
324
  } return value;
325
325
  };
326
326
 
327
- var global$9 = global$e;
327
+ var global$7 = global$c;
328
328
  var defineGlobalProperty$2 = defineGlobalProperty$3;
329
329
 
330
330
  var SHARED = '__core-js_shared__';
331
- var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});
331
+ var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {});
332
332
 
333
333
  var sharedStore = store$3;
334
334
 
335
335
  var store$2 = sharedStore;
336
336
 
337
- (shared$4.exports = function (key, value) {
337
+ (shared$3.exports = function (key, value) {
338
338
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
339
339
  })('versions', []).push({
340
340
  version: '3.30.2',
@@ -344,77 +344,77 @@ var store$2 = sharedStore;
344
344
  source: 'https://github.com/zloirock/core-js'
345
345
  });
346
346
 
347
- var requireObjectCoercible$1 = requireObjectCoercible$3;
347
+ var requireObjectCoercible = requireObjectCoercible$2;
348
348
 
349
349
  var $Object$1 = Object;
350
350
 
351
351
  // `ToObject` abstract operation
352
352
  // https://tc39.es/ecma262/#sec-toobject
353
- var toObject$3 = function (argument) {
354
- return $Object$1(requireObjectCoercible$1(argument));
353
+ var toObject$4 = function (argument) {
354
+ return $Object$1(requireObjectCoercible(argument));
355
355
  };
356
356
 
357
- var uncurryThis$9 = functionUncurryThis;
358
- var toObject$2 = toObject$3;
357
+ var uncurryThis$7 = functionUncurryThis;
358
+ var toObject$3 = toObject$4;
359
359
 
360
- var hasOwnProperty$2 = uncurryThis$9({}.hasOwnProperty);
360
+ var hasOwnProperty$2 = uncurryThis$7({}.hasOwnProperty);
361
361
 
362
362
  // `HasOwnProperty` abstract operation
363
363
  // https://tc39.es/ecma262/#sec-hasownproperty
364
364
  // eslint-disable-next-line es/no-object-hasown -- safe
365
365
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
366
- return hasOwnProperty$2(toObject$2(it), key);
366
+ return hasOwnProperty$2(toObject$3(it), key);
367
367
  };
368
368
 
369
- var uncurryThis$8 = functionUncurryThis;
369
+ var uncurryThis$6 = functionUncurryThis;
370
370
 
371
371
  var id = 0;
372
372
  var postfix = Math.random();
373
- var toString$3 = uncurryThis$8(1.0.toString);
373
+ var toString = uncurryThis$6(1.0.toString);
374
374
 
375
375
  var uid$2 = function (key) {
376
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
376
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
377
377
  };
378
378
 
379
- var global$8 = global$e;
380
- var shared$3 = shared$4.exports;
381
- var hasOwn$6 = hasOwnProperty_1;
379
+ var global$6 = global$c;
380
+ var shared$2 = shared$3.exports;
381
+ var hasOwn$8 = hasOwnProperty_1;
382
382
  var uid$1 = uid$2;
383
383
  var NATIVE_SYMBOL = symbolConstructorDetection;
384
384
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
385
385
 
386
- var Symbol$1 = global$8.Symbol;
387
- var WellKnownSymbolsStore = shared$3('wks');
386
+ var Symbol$1 = global$6.Symbol;
387
+ var WellKnownSymbolsStore = shared$2('wks');
388
388
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
389
389
 
390
- var wellKnownSymbol$4 = function (name) {
391
- if (!hasOwn$6(WellKnownSymbolsStore, name)) {
392
- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
390
+ var wellKnownSymbol$6 = function (name) {
391
+ if (!hasOwn$8(WellKnownSymbolsStore, name)) {
392
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
393
393
  ? Symbol$1[name]
394
394
  : createWellKnownSymbol('Symbol.' + name);
395
395
  } return WellKnownSymbolsStore[name];
396
396
  };
397
397
 
398
- var call$5 = functionCall;
399
- var isObject$3 = isObject$5;
398
+ var call$3 = functionCall;
399
+ var isObject$4 = isObject$6;
400
400
  var isSymbol$1 = isSymbol$2;
401
- var getMethod$1 = getMethod$2;
401
+ var getMethod = getMethod$1;
402
402
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
403
- var wellKnownSymbol$3 = wellKnownSymbol$4;
403
+ var wellKnownSymbol$5 = wellKnownSymbol$6;
404
404
 
405
405
  var $TypeError$3 = TypeError;
406
- var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
406
+ var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
407
407
 
408
408
  // `ToPrimitive` abstract operation
409
409
  // https://tc39.es/ecma262/#sec-toprimitive
410
410
  var toPrimitive$1 = function (input, pref) {
411
- if (!isObject$3(input) || isSymbol$1(input)) return input;
412
- var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
411
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
412
+ var exoticToPrim = getMethod(input, TO_PRIMITIVE);
413
413
  var result;
414
414
  if (exoticToPrim) {
415
415
  if (pref === undefined) pref = 'default';
416
- result = call$5(exoticToPrim, input, pref);
417
- if (!isObject$3(result) || isSymbol$1(result)) return result;
416
+ result = call$3(exoticToPrim, input, pref);
417
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
418
418
  throw $TypeError$3("Can't convert object to primitive value");
419
419
  }
420
420
  if (pref === undefined) pref = 'number';
@@ -431,36 +431,36 @@ var toPropertyKey$2 = function (argument) {
431
431
  return isSymbol(key) ? key : key + '';
432
432
  };
433
433
 
434
- var global$7 = global$e;
435
- var isObject$2 = isObject$5;
434
+ var global$5 = global$c;
435
+ var isObject$3 = isObject$6;
436
436
 
437
- var document$1 = global$7.document;
437
+ var document$1 = global$5.document;
438
438
  // typeof document.createElement is 'object' in old IE
439
- var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
439
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
440
440
 
441
- var documentCreateElement$1 = function (it) {
441
+ var documentCreateElement$2 = function (it) {
442
442
  return EXISTS$1 ? document$1.createElement(it) : {};
443
443
  };
444
444
 
445
- var DESCRIPTORS$8 = descriptors;
446
- var fails$8 = fails$d;
447
- var createElement = documentCreateElement$1;
445
+ var DESCRIPTORS$9 = descriptors;
446
+ var fails$6 = fails$b;
447
+ var createElement = documentCreateElement$2;
448
448
 
449
449
  // Thanks to IE8 for its funny defineProperty
450
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(function () {
450
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
451
451
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
452
452
  return Object.defineProperty(createElement('div'), 'a', {
453
453
  get: function () { return 7; }
454
454
  }).a != 7;
455
455
  });
456
456
 
457
- var DESCRIPTORS$7 = descriptors;
458
- var call$4 = functionCall;
457
+ var DESCRIPTORS$8 = descriptors;
458
+ var call$2 = functionCall;
459
459
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
460
- var createPropertyDescriptor$1 = createPropertyDescriptor$2;
461
- var toIndexedObject$3 = toIndexedObject$4;
460
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
461
+ var toIndexedObject$4 = toIndexedObject$5;
462
462
  var toPropertyKey$1 = toPropertyKey$2;
463
- var hasOwn$5 = hasOwnProperty_1;
463
+ var hasOwn$7 = hasOwnProperty_1;
464
464
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
465
465
 
466
466
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -468,23 +468,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
468
468
 
469
469
  // `Object.getOwnPropertyDescriptor` method
470
470
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
471
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
- O = toIndexedObject$3(O);
471
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
472
+ O = toIndexedObject$4(O);
473
473
  P = toPropertyKey$1(P);
474
474
  if (IE8_DOM_DEFINE$1) try {
475
475
  return $getOwnPropertyDescriptor$1(O, P);
476
476
  } catch (error) { /* empty */ }
477
- if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
477
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
478
478
  };
479
479
 
480
480
  var objectDefineProperty = {};
481
481
 
482
- var DESCRIPTORS$6 = descriptors;
483
- var fails$7 = fails$d;
482
+ var DESCRIPTORS$7 = descriptors;
483
+ var fails$5 = fails$b;
484
484
 
485
485
  // V8 ~ Chrome 36-
486
486
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
487
- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$7(function () {
487
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
488
488
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
489
489
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
490
490
  value: 42,
@@ -492,21 +492,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$7(function () {
492
492
  }).prototype != 42;
493
493
  });
494
494
 
495
- var isObject$1 = isObject$5;
495
+ var isObject$2 = isObject$6;
496
496
 
497
497
  var $String$2 = String;
498
498
  var $TypeError$2 = TypeError;
499
499
 
500
500
  // `Assert: Type(argument) is Object`
501
- var anObject$7 = function (argument) {
502
- if (isObject$1(argument)) return argument;
501
+ var anObject$5 = function (argument) {
502
+ if (isObject$2(argument)) return argument;
503
503
  throw $TypeError$2($String$2(argument) + ' is not an object');
504
504
  };
505
505
 
506
- var DESCRIPTORS$5 = descriptors;
506
+ var DESCRIPTORS$6 = descriptors;
507
507
  var IE8_DOM_DEFINE = ie8DomDefine;
508
508
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
509
- var anObject$6 = anObject$7;
509
+ var anObject$4 = anObject$5;
510
510
  var toPropertyKey = toPropertyKey$2;
511
511
 
512
512
  var $TypeError$1 = TypeError;
@@ -520,10 +520,10 @@ var WRITABLE = 'writable';
520
520
 
521
521
  // `Object.defineProperty` method
522
522
  // https://tc39.es/ecma262/#sec-object.defineproperty
523
- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
524
- anObject$6(O);
523
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
524
+ anObject$4(O);
525
525
  P = toPropertyKey(P);
526
- anObject$6(Attributes);
526
+ anObject$4(Attributes);
527
527
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
528
528
  var current = $getOwnPropertyDescriptor(O, P);
529
529
  if (current && current[WRITABLE]) {
@@ -536,9 +536,9 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
536
536
  }
537
537
  } return $defineProperty(O, P, Attributes);
538
538
  } : $defineProperty : function defineProperty(O, P, Attributes) {
539
- anObject$6(O);
539
+ anObject$4(O);
540
540
  P = toPropertyKey(P);
541
- anObject$6(Attributes);
541
+ anObject$4(Attributes);
542
542
  if (IE8_DOM_DEFINE) try {
543
543
  return $defineProperty(O, P, Attributes);
544
544
  } catch (error) { /* empty */ }
@@ -547,12 +547,12 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
547
547
  return O;
548
548
  };
549
549
 
550
- var DESCRIPTORS$4 = descriptors;
550
+ var DESCRIPTORS$5 = descriptors;
551
551
  var definePropertyModule$3 = objectDefineProperty;
552
- var createPropertyDescriptor = createPropertyDescriptor$2;
552
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
553
553
 
554
- var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
555
- return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
554
+ var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
555
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
556
556
  } : function (object, key, value) {
557
557
  object[key] = value;
558
558
  return object;
@@ -560,17 +560,17 @@ var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value
560
560
 
561
561
  var makeBuiltIn$2 = {exports: {}};
562
562
 
563
- var DESCRIPTORS$3 = descriptors;
564
- var hasOwn$4 = hasOwnProperty_1;
563
+ var DESCRIPTORS$4 = descriptors;
564
+ var hasOwn$6 = hasOwnProperty_1;
565
565
 
566
566
  var FunctionPrototype = Function.prototype;
567
567
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
568
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
568
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
569
569
 
570
- var EXISTS = hasOwn$4(FunctionPrototype, 'name');
570
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
571
571
  // additional protection from minified / mangled / dropped function names
572
572
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
573
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));
573
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
574
574
 
575
575
  var functionName = {
576
576
  EXISTS: EXISTS,
@@ -578,14 +578,14 @@ var functionName = {
578
578
  CONFIGURABLE: CONFIGURABLE
579
579
  };
580
580
 
581
- var uncurryThis$7 = functionUncurryThis;
582
- var isCallable$6 = isCallable$c;
581
+ var uncurryThis$5 = functionUncurryThis;
582
+ var isCallable$8 = isCallable$e;
583
583
  var store$1 = sharedStore;
584
584
 
585
- var functionToString = uncurryThis$7(Function.toString);
585
+ var functionToString = uncurryThis$5(Function.toString);
586
586
 
587
587
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
588
- if (!isCallable$6(store$1.inspectSource)) {
588
+ if (!isCallable$8(store$1.inspectSource)) {
589
589
  store$1.inspectSource = function (it) {
590
590
  return functionToString(it);
591
591
  };
@@ -593,36 +593,36 @@ if (!isCallable$6(store$1.inspectSource)) {
593
593
 
594
594
  var inspectSource$1 = store$1.inspectSource;
595
595
 
596
- var global$6 = global$e;
597
- var isCallable$5 = isCallable$c;
596
+ var global$4 = global$c;
597
+ var isCallable$7 = isCallable$e;
598
598
 
599
- var WeakMap$2 = global$6.WeakMap;
599
+ var WeakMap$2 = global$4.WeakMap;
600
600
 
601
- var weakMapBasicDetection = isCallable$5(WeakMap$2) && /native code/.test(String(WeakMap$2));
601
+ var weakMapBasicDetection = isCallable$7(WeakMap$2) && /native code/.test(String(WeakMap$2));
602
602
 
603
- var shared$2 = shared$4.exports;
603
+ var shared$1 = shared$3.exports;
604
604
  var uid = uid$2;
605
605
 
606
- var keys = shared$2('keys');
606
+ var keys = shared$1('keys');
607
607
 
608
- var sharedKey$2 = function (key) {
608
+ var sharedKey$3 = function (key) {
609
609
  return keys[key] || (keys[key] = uid(key));
610
610
  };
611
611
 
612
612
  var hiddenKeys$4 = {};
613
613
 
614
614
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
615
- var global$5 = global$e;
616
- var isObject = isObject$5;
617
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
618
- var hasOwn$3 = hasOwnProperty_1;
619
- var shared$1 = sharedStore;
620
- var sharedKey$1 = sharedKey$2;
615
+ var global$3 = global$c;
616
+ var isObject$1 = isObject$6;
617
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
618
+ var hasOwn$5 = hasOwnProperty_1;
619
+ var shared = sharedStore;
620
+ var sharedKey$2 = sharedKey$3;
621
621
  var hiddenKeys$3 = hiddenKeys$4;
622
622
 
623
623
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
624
- var TypeError$1 = global$5.TypeError;
625
- var WeakMap$1 = global$5.WeakMap;
624
+ var TypeError$1 = global$3.TypeError;
625
+ var WeakMap$1 = global$3.WeakMap;
626
626
  var set, get, has$3;
627
627
 
628
628
  var enforce = function (it) {
@@ -632,14 +632,14 @@ var enforce = function (it) {
632
632
  var getterFor = function (TYPE) {
633
633
  return function (it) {
634
634
  var state;
635
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
635
+ if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
636
636
  throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
637
637
  } return state;
638
638
  };
639
639
  };
640
640
 
641
- if (NATIVE_WEAK_MAP || shared$1.state) {
642
- var store = shared$1.state || (shared$1.state = new WeakMap$1());
641
+ if (NATIVE_WEAK_MAP || shared.state) {
642
+ var store = shared.state || (shared.state = new WeakMap$1());
643
643
  /* eslint-disable no-self-assign -- prototype methods protection */
644
644
  store.get = store.get;
645
645
  store.has = store.has;
@@ -658,19 +658,19 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
658
658
  return store.has(it);
659
659
  };
660
660
  } else {
661
- var STATE = sharedKey$1('state');
661
+ var STATE = sharedKey$2('state');
662
662
  hiddenKeys$3[STATE] = true;
663
663
  set = function (it, metadata) {
664
- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
664
+ if (hasOwn$5(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
665
665
  metadata.facade = it;
666
- createNonEnumerableProperty$2(it, STATE, metadata);
666
+ createNonEnumerableProperty$3(it, STATE, metadata);
667
667
  return metadata;
668
668
  };
669
669
  get = function (it) {
670
- return hasOwn$3(it, STATE) ? it[STATE] : {};
670
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
671
671
  };
672
672
  has$3 = function (it) {
673
- return hasOwn$3(it, STATE);
673
+ return hasOwn$5(it, STATE);
674
674
  };
675
675
  }
676
676
 
@@ -682,51 +682,51 @@ var internalState = {
682
682
  getterFor: getterFor
683
683
  };
684
684
 
685
- var uncurryThis$6 = functionUncurryThis;
686
- var fails$6 = fails$d;
687
- var isCallable$4 = isCallable$c;
688
- var hasOwn$2 = hasOwnProperty_1;
689
- var DESCRIPTORS$2 = descriptors;
690
- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
685
+ var uncurryThis$4 = functionUncurryThis;
686
+ var fails$4 = fails$b;
687
+ var isCallable$6 = isCallable$e;
688
+ var hasOwn$4 = hasOwnProperty_1;
689
+ var DESCRIPTORS$3 = descriptors;
690
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
691
691
  var inspectSource = inspectSource$1;
692
- var InternalStateModule = internalState;
692
+ var InternalStateModule$1 = internalState;
693
693
 
694
- var enforceInternalState = InternalStateModule.enforce;
695
- var getInternalState$1 = InternalStateModule.get;
694
+ var enforceInternalState = InternalStateModule$1.enforce;
695
+ var getInternalState$1 = InternalStateModule$1.get;
696
696
  var $String$1 = String;
697
697
  // eslint-disable-next-line es/no-object-defineproperty -- safe
698
- var defineProperty$1 = Object.defineProperty;
699
- var stringSlice$1 = uncurryThis$6(''.slice);
700
- var replace$2 = uncurryThis$6(''.replace);
701
- var join = uncurryThis$6([].join);
698
+ var defineProperty$4 = Object.defineProperty;
699
+ var stringSlice = uncurryThis$4(''.slice);
700
+ var replace$1 = uncurryThis$4(''.replace);
701
+ var join = uncurryThis$4([].join);
702
702
 
703
- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$6(function () {
704
- return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
703
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$4(function () {
704
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
705
705
  });
706
706
 
707
707
  var TEMPLATE = String(String).split('String');
708
708
 
709
709
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
710
- if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
711
- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
710
+ if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
711
+ name = '[' + replace$1($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
712
712
  }
713
713
  if (options && options.getter) name = 'get ' + name;
714
714
  if (options && options.setter) name = 'set ' + name;
715
- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
716
- if (DESCRIPTORS$2) defineProperty$1(value, 'name', { value: name, configurable: true });
715
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
716
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
717
717
  else value.name = name;
718
718
  }
719
- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
720
- defineProperty$1(value, 'length', { value: options.arity });
719
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
720
+ defineProperty$4(value, 'length', { value: options.arity });
721
721
  }
722
722
  try {
723
- if (options && hasOwn$2(options, 'constructor') && options.constructor) {
724
- if (DESCRIPTORS$2) defineProperty$1(value, 'prototype', { writable: false });
723
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
724
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
725
725
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
726
726
  } else if (value.prototype) value.prototype = undefined;
727
727
  } catch (error) { /* empty */ }
728
728
  var state = enforceInternalState(value);
729
- if (!hasOwn$2(state, 'source')) {
729
+ if (!hasOwn$4(state, 'source')) {
730
730
  state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
731
731
  } return value;
732
732
  };
@@ -734,19 +734,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
734
734
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
735
735
  // eslint-disable-next-line no-extend-native -- required
736
736
  Function.prototype.toString = makeBuiltIn$1(function toString() {
737
- return isCallable$4(this) && getInternalState$1(this).source || inspectSource(this);
737
+ return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this);
738
738
  }, 'toString');
739
739
 
740
- var isCallable$3 = isCallable$c;
740
+ var isCallable$5 = isCallable$e;
741
741
  var definePropertyModule$2 = objectDefineProperty;
742
742
  var makeBuiltIn = makeBuiltIn$2.exports;
743
743
  var defineGlobalProperty$1 = defineGlobalProperty$3;
744
744
 
745
- var defineBuiltIn$2 = function (O, key, value, options) {
745
+ var defineBuiltIn$3 = function (O, key, value, options) {
746
746
  if (!options) options = {};
747
747
  var simple = options.enumerable;
748
748
  var name = options.name !== undefined ? options.name : key;
749
- if (isCallable$3(value)) makeBuiltIn(value, name, options);
749
+ if (isCallable$5(value)) makeBuiltIn(value, name, options);
750
750
  if (options.global) {
751
751
  if (simple) O[key] = value;
752
752
  else defineGlobalProperty$1(key, value);
@@ -819,14 +819,14 @@ var lengthOfArrayLike$1 = function (obj) {
819
819
  return toLength(obj.length);
820
820
  };
821
821
 
822
- var toIndexedObject$2 = toIndexedObject$4;
822
+ var toIndexedObject$3 = toIndexedObject$5;
823
823
  var toAbsoluteIndex = toAbsoluteIndex$1;
824
824
  var lengthOfArrayLike = lengthOfArrayLike$1;
825
825
 
826
826
  // `Array.prototype.{ indexOf, includes }` methods implementation
827
827
  var createMethod = function (IS_INCLUDES) {
828
828
  return function ($this, el, fromIndex) {
829
- var O = toIndexedObject$2($this);
829
+ var O = toIndexedObject$3($this);
830
830
  var length = lengthOfArrayLike(O);
831
831
  var index = toAbsoluteIndex(fromIndex, length);
832
832
  var value;
@@ -852,23 +852,23 @@ var arrayIncludes = {
852
852
  indexOf: createMethod(false)
853
853
  };
854
854
 
855
- var uncurryThis$5 = functionUncurryThis;
856
- var hasOwn$1 = hasOwnProperty_1;
857
- var toIndexedObject$1 = toIndexedObject$4;
858
- var indexOf$1 = arrayIncludes.indexOf;
855
+ var uncurryThis$3 = functionUncurryThis;
856
+ var hasOwn$3 = hasOwnProperty_1;
857
+ var toIndexedObject$2 = toIndexedObject$5;
858
+ var indexOf = arrayIncludes.indexOf;
859
859
  var hiddenKeys$2 = hiddenKeys$4;
860
860
 
861
- var push = uncurryThis$5([].push);
861
+ var push = uncurryThis$3([].push);
862
862
 
863
863
  var objectKeysInternal = function (object, names) {
864
- var O = toIndexedObject$1(object);
864
+ var O = toIndexedObject$2(object);
865
865
  var i = 0;
866
866
  var result = [];
867
867
  var key;
868
- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
868
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
869
869
  // Don't enum bug & hidden keys
870
- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
871
- ~indexOf$1(result, key) || push(result, key);
870
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
871
+ ~indexOf(result, key) || push(result, key);
872
872
  }
873
873
  return result;
874
874
  };
@@ -902,21 +902,21 @@ var objectGetOwnPropertySymbols = {};
902
902
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
903
903
 
904
904
  var getBuiltIn$1 = getBuiltIn$3;
905
- var uncurryThis$4 = functionUncurryThis;
905
+ var uncurryThis$2 = functionUncurryThis;
906
906
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
907
907
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
908
- var anObject$5 = anObject$7;
908
+ var anObject$3 = anObject$5;
909
909
 
910
- var concat$1 = uncurryThis$4([].concat);
910
+ var concat$1 = uncurryThis$2([].concat);
911
911
 
912
912
  // all object keys, includes non-enumerable and symbols
913
913
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
914
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
914
+ var keys = getOwnPropertyNamesModule.f(anObject$3(it));
915
915
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
916
916
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
917
917
  };
918
918
 
919
- var hasOwn = hasOwnProperty_1;
919
+ var hasOwn$2 = hasOwnProperty_1;
920
920
  var ownKeys = ownKeys$1;
921
921
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
922
922
  var definePropertyModule$1 = objectDefineProperty;
@@ -927,14 +927,14 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
927
927
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
928
928
  for (var i = 0; i < keys.length; i++) {
929
929
  var key = keys[i];
930
- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
930
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
931
931
  defineProperty(target, key, getOwnPropertyDescriptor(source, key));
932
932
  }
933
933
  }
934
934
  };
935
935
 
936
- var fails$5 = fails$d;
937
- var isCallable$2 = isCallable$c;
936
+ var fails$3 = fails$b;
937
+ var isCallable$4 = isCallable$e;
938
938
 
939
939
  var replacement = /#|\.prototype\./;
940
940
 
@@ -942,7 +942,7 @@ var isForced$1 = function (feature, detection) {
942
942
  var value = data[normalize(feature)];
943
943
  return value == POLYFILL ? true
944
944
  : value == NATIVE ? false
945
- : isCallable$2(detection) ? fails$5(detection)
945
+ : isCallable$4(detection) ? fails$3(detection)
946
946
  : !!detection;
947
947
  };
948
948
 
@@ -956,10 +956,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
956
956
 
957
957
  var isForced_1 = isForced$1;
958
958
 
959
- var global$4 = global$e;
959
+ var global$2 = global$c;
960
960
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
961
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
962
- var defineBuiltIn$1 = defineBuiltIn$2;
961
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
962
+ var defineBuiltIn$2 = defineBuiltIn$3;
963
963
  var defineGlobalProperty = defineGlobalProperty$3;
964
964
  var copyConstructorProperties = copyConstructorProperties$1;
965
965
  var isForced = isForced_1;
@@ -985,11 +985,11 @@ var _export = function (options, source) {
985
985
  var STATIC = options.stat;
986
986
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
987
987
  if (GLOBAL) {
988
- target = global$4;
988
+ target = global$2;
989
989
  } else if (STATIC) {
990
- target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
990
+ target = global$2[TARGET] || defineGlobalProperty(TARGET, {});
991
991
  } else {
992
- target = (global$4[TARGET] || {}).prototype;
992
+ target = (global$2[TARGET] || {}).prototype;
993
993
  }
994
994
  if (target) for (key in source) {
995
995
  sourceProperty = source[key];
@@ -1005,9 +1005,9 @@ var _export = function (options, source) {
1005
1005
  }
1006
1006
  // add a flag to not completely full polyfills
1007
1007
  if (options.sham || (targetProperty && targetProperty.sham)) {
1008
- createNonEnumerableProperty$1(sourceProperty, 'sham', true);
1008
+ createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1009
1009
  }
1010
- defineBuiltIn$1(target, key, sourceProperty, options);
1010
+ defineBuiltIn$2(target, key, sourceProperty, options);
1011
1011
  }
1012
1012
  };
1013
1013
 
@@ -1021,30 +1021,30 @@ var objectKeys$2 = Object.keys || function keys(O) {
1021
1021
  return internalObjectKeys(O, enumBugKeys$1);
1022
1022
  };
1023
1023
 
1024
- var DESCRIPTORS$1 = descriptors;
1025
- var uncurryThis$3 = functionUncurryThis;
1026
- var call$3 = functionCall;
1027
- var fails$4 = fails$d;
1024
+ var DESCRIPTORS$2 = descriptors;
1025
+ var uncurryThis$1 = functionUncurryThis;
1026
+ var call$1 = functionCall;
1027
+ var fails$2 = fails$b;
1028
1028
  var objectKeys$1 = objectKeys$2;
1029
1029
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1030
1030
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1031
- var toObject$1 = toObject$3;
1031
+ var toObject$2 = toObject$4;
1032
1032
  var IndexedObject = indexedObject;
1033
1033
 
1034
1034
  // eslint-disable-next-line es/no-object-assign -- safe
1035
1035
  var $assign = Object.assign;
1036
1036
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1037
- var defineProperty = Object.defineProperty;
1038
- var concat = uncurryThis$3([].concat);
1037
+ var defineProperty$3 = Object.defineProperty;
1038
+ var concat = uncurryThis$1([].concat);
1039
1039
 
1040
1040
  // `Object.assign` method
1041
1041
  // https://tc39.es/ecma262/#sec-object.assign
1042
- var objectAssign$1 = !$assign || fails$4(function () {
1042
+ var objectAssign$1 = !$assign || fails$2(function () {
1043
1043
  // should have correct order of operations (Edge bug)
1044
- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1044
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1045
1045
  enumerable: true,
1046
1046
  get: function () {
1047
- defineProperty(this, 'b', {
1047
+ defineProperty$3(this, 'b', {
1048
1048
  value: 3,
1049
1049
  enumerable: false
1050
1050
  });
@@ -1060,7 +1060,7 @@ var objectAssign$1 = !$assign || fails$4(function () {
1060
1060
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1061
1061
  return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
1062
1062
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1063
- var T = toObject$1(target);
1063
+ var T = toObject$2(target);
1064
1064
  var argumentsLength = arguments.length;
1065
1065
  var index = 1;
1066
1066
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
@@ -1073,7 +1073,7 @@ var objectAssign$1 = !$assign || fails$4(function () {
1073
1073
  var key;
1074
1074
  while (length > j) {
1075
1075
  key = keys[j++];
1076
- if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
1076
+ if (!DESCRIPTORS$2 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
1077
1077
  }
1078
1078
  } return T;
1079
1079
  } : $assign;
@@ -1088,15 +1088,6 @@ $$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2
1088
1088
  assign: assign$2
1089
1089
  });
1090
1090
 
1091
- function chainPropTypes(propType1, propType2) {
1092
- if (process.env.NODE_ENV === 'production') {
1093
- return () => null;
1094
- }
1095
- return function validate(...args) {
1096
- return propType1(...args) || propType2(...args);
1097
- };
1098
- }
1099
-
1100
1091
  function isPlainObject(item) {
1101
1092
  return item !== null && typeof item === 'object' && item.constructor === Object;
1102
1093
  }
@@ -1353,7 +1344,7 @@ var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1353
1344
  var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
1354
1345
  var propIsEnumerable = Object.prototype.propertyIsEnumerable;
1355
1346
 
1356
- function toObject(val) {
1347
+ function toObject$1(val) {
1357
1348
  if (val === null || val === undefined) {
1358
1349
  throw new TypeError('Object.assign cannot be called with null or undefined');
1359
1350
  }
@@ -1407,7 +1398,7 @@ function shouldUseNative() {
1407
1398
 
1408
1399
  var objectAssign = shouldUseNative() ? Object.assign : function (target, source) {
1409
1400
  var from;
1410
- var to = toObject(target);
1401
+ var to = toObject$1(target);
1411
1402
  var symbols;
1412
1403
 
1413
1404
  for (var s = 1; s < arguments.length; s++) {
@@ -2563,58 +2554,6 @@ function capitalize(string) {
2563
2554
  return string.charAt(0).toUpperCase() + string.slice(1);
2564
2555
  }
2565
2556
 
2566
- function getTypeByValue(value) {
2567
- const valueType = typeof value;
2568
- switch (valueType) {
2569
- case 'number':
2570
- if (Number.isNaN(value)) {
2571
- return 'NaN';
2572
- }
2573
- if (!Number.isFinite(value)) {
2574
- return 'Infinity';
2575
- }
2576
- if (value !== Math.floor(value)) {
2577
- return 'float';
2578
- }
2579
- return 'number';
2580
- case 'object':
2581
- if (value === null) {
2582
- return 'null';
2583
- }
2584
- return value.constructor.name;
2585
- default:
2586
- return valueType;
2587
- }
2588
- }
2589
-
2590
- // IE 11 support
2591
- function ponyfillIsInteger(x) {
2592
- // eslint-disable-next-line no-restricted-globals
2593
- return typeof x === 'number' && isFinite(x) && Math.floor(x) === x;
2594
- }
2595
- const isInteger = Number.isInteger || ponyfillIsInteger;
2596
- function requiredInteger(props, propName, componentName, location) {
2597
- const propValue = props[propName];
2598
- if (propValue == null || !isInteger(propValue)) {
2599
- const propType = getTypeByValue(propValue);
2600
- return new RangeError(`Invalid ${location} \`${propName}\` of type \`${propType}\` supplied to \`${componentName}\`, expected \`integer\`.`);
2601
- }
2602
- return null;
2603
- }
2604
- function validator(props, propName, ...other) {
2605
- const propValue = props[propName];
2606
- if (propValue === undefined) {
2607
- return null;
2608
- }
2609
- return requiredInteger(props, propName, ...other);
2610
- }
2611
- function validatorNoop() {
2612
- return null;
2613
- }
2614
- validator.isRequired = requiredInteger;
2615
- validatorNoop.isRequired = validatorNoop;
2616
- var integerPropType = process.env.NODE_ENV === 'production' ? validatorNoop : validator;
2617
-
2618
2557
  /**
2619
2558
  * Add keys, values of `defaultProps` that does not exist in `props`
2620
2559
  * @param {object} defaultProps
@@ -2986,7 +2925,7 @@ function match (value, pattern) {
2986
2925
  * @param {string} replacement
2987
2926
  * @return {string}
2988
2927
  */
2989
- function replace$1 (value, pattern, replacement) {
2928
+ function replace (value, pattern, replacement) {
2990
2929
  return value.replace(pattern, replacement)
2991
2930
  }
2992
2931
 
@@ -3314,7 +3253,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3314
3253
  // (
3315
3254
  case 40:
3316
3255
  if (previous != 108 && charat(characters, length - 1) == 58) {
3317
- if (indexof(characters += replace$1(delimit(character), '&', '&\f'), '&\f') != -1)
3256
+ if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
3318
3257
  ampersand = -1;
3319
3258
  break
3320
3259
  }
@@ -3349,9 +3288,9 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
3349
3288
  // \0 }
3350
3289
  case 0: case 125: scanning = 0;
3351
3290
  // ;
3352
- case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
3291
+ case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
3353
3292
  if (property > 0 && (strlen(characters) - length))
3354
- append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace$1(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3293
+ append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
3355
3294
  break
3356
3295
  // @ ;
3357
3296
  case 59: characters += ';';
@@ -3433,7 +3372,7 @@ function ruleset (value, root, parent, index, offset, rules, points, type, props
3433
3372
 
3434
3373
  for (var i = 0, j = 0, k = 0; i < index; ++i)
3435
3374
  for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
3436
- if (z = trim(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
3375
+ if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
3437
3376
  props[k++] = z;
3438
3377
 
3439
3378
  return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)
@@ -3829,51 +3768,51 @@ function prefix(value, length) {
3829
3768
  // align-items
3830
3769
 
3831
3770
  case 5187:
3832
- return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3771
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
3833
3772
  // align-self
3834
3773
 
3835
3774
  case 5443:
3836
- return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/, '') + value;
3775
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
3837
3776
  // align-content
3838
3777
 
3839
3778
  case 4675:
3840
- return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/, '') + value;
3779
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
3841
3780
  // flex-shrink
3842
3781
 
3843
3782
  case 5548:
3844
- return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value;
3783
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
3845
3784
  // flex-basis
3846
3785
 
3847
3786
  case 5292:
3848
- return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value;
3787
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
3849
3788
  // flex-grow
3850
3789
 
3851
3790
  case 6060:
3852
- return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value;
3791
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
3853
3792
  // transition
3854
3793
 
3855
3794
  case 4554:
3856
- return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3795
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
3857
3796
  // cursor
3858
3797
 
3859
3798
  case 6187:
3860
- return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3799
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
3861
3800
  // background, background-image
3862
3801
 
3863
3802
  case 5495:
3864
3803
  case 3959:
3865
- return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3804
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
3866
3805
  // justify-content
3867
3806
 
3868
3807
  case 4968:
3869
- return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3808
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
3870
3809
  // (margin|padding)-inline-(start|end)
3871
3810
 
3872
3811
  case 4095:
3873
3812
  case 3583:
3874
3813
  case 4068:
3875
3814
  case 2532:
3876
- return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3815
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
3877
3816
  // (min|max)?(width|height|inline-size|block-size)
3878
3817
 
3879
3818
  case 8116:
@@ -3897,11 +3836,11 @@ function prefix(value, length) {
3897
3836
  // (f)ill-available, (f)it-content
3898
3837
 
3899
3838
  case 102:
3900
- return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3839
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
3901
3840
  // (s)tretch
3902
3841
 
3903
3842
  case 115:
3904
- return ~indexof(value, 'stretch') ? prefix(replace$1(value, 'stretch', 'fill-available'), length) + value : value;
3843
+ return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
3905
3844
  }
3906
3845
  break;
3907
3846
  // position: sticky
@@ -3915,11 +3854,11 @@ function prefix(value, length) {
3915
3854
  switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
3916
3855
  // stic(k)y
3917
3856
  case 107:
3918
- return replace$1(value, ':', ':' + WEBKIT) + value;
3857
+ return replace(value, ':', ':' + WEBKIT) + value;
3919
3858
  // (inline-)?fl(e)x
3920
3859
 
3921
3860
  case 101:
3922
- return replace$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3861
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
3923
3862
  }
3924
3863
 
3925
3864
  break;
@@ -3929,15 +3868,15 @@ function prefix(value, length) {
3929
3868
  switch (charat(value, length + 11)) {
3930
3869
  // vertical-l(r)
3931
3870
  case 114:
3932
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3871
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
3933
3872
  // vertical-r(l)
3934
3873
 
3935
3874
  case 108:
3936
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3875
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
3937
3876
  // horizontal(-)tb
3938
3877
 
3939
3878
  case 45:
3940
- return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3879
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
3941
3880
  }
3942
3881
 
3943
3882
  return WEBKIT + value + MS + value + value;
@@ -3954,7 +3893,7 @@ var prefixer = function prefixer(element, index, children, callback) {
3954
3893
 
3955
3894
  case KEYFRAMES:
3956
3895
  return serialize([copy(element, {
3957
- value: replace$1(element.value, '@', '@' + WEBKIT)
3896
+ value: replace(element.value, '@', '@' + WEBKIT)
3958
3897
  })], callback);
3959
3898
 
3960
3899
  case RULESET:
@@ -3964,17 +3903,17 @@ var prefixer = function prefixer(element, index, children, callback) {
3964
3903
  case ':read-only':
3965
3904
  case ':read-write':
3966
3905
  return serialize([copy(element, {
3967
- props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3906
+ props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
3968
3907
  })], callback);
3969
3908
  // :placeholder
3970
3909
 
3971
3910
  case '::placeholder':
3972
3911
  return serialize([copy(element, {
3973
- props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3912
+ props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
3974
3913
  }), copy(element, {
3975
- props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3914
+ props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
3976
3915
  }), copy(element, {
3977
- props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]
3916
+ props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
3978
3917
  })], callback);
3979
3918
  }
3980
3919
 
@@ -5022,7 +4961,7 @@ const internal_processStyles = (tag, processor) => {
5022
4961
  }
5023
4962
  };
5024
4963
 
5025
- const _excluded$f = ["values", "unit", "step"];
4964
+ const _excluded$b = ["values", "unit", "step"];
5026
4965
  const sortBreakpointsValues = values => {
5027
4966
  const breakpointsAsArray = Object.keys(values).map(key => ({
5028
4967
  key,
@@ -5057,7 +4996,7 @@ function createBreakpoints(breakpoints) {
5057
4996
  unit = 'px',
5058
4997
  step = 5
5059
4998
  } = breakpoints,
5060
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$f);
4999
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$b);
5061
5000
  const sortedValues = sortBreakpointsValues(values);
5062
5001
  const keys = Object.keys(sortedValues);
5063
5002
  function up(key) {
@@ -5120,7 +5059,7 @@ function merge(acc, item) {
5120
5059
 
5121
5060
  // The breakpoint **start** at this value.
5122
5061
  // For instance with the first breakpoint xs: [xs, sm[.
5123
- const values = {
5062
+ const values$1 = {
5124
5063
  xs: 0,
5125
5064
  // phone
5126
5065
  sm: 600,
@@ -5136,7 +5075,7 @@ const defaultBreakpoints = {
5136
5075
  // Sorted ASC by size. That's important.
5137
5076
  // It can't be configured as it's used statically for propTypes.
5138
5077
  keys: ['xs', 'sm', 'md', 'lg', 'xl'],
5139
- up: key => `@media (min-width:${values[key]}px)`
5078
+ up: key => `@media (min-width:${values$1[key]}px)`
5140
5079
  };
5141
5080
  function handleBreakpoints(props, propValue, styleFromPropValue) {
5142
5081
  const theme = props.theme || {};
@@ -5151,7 +5090,7 @@ function handleBreakpoints(props, propValue, styleFromPropValue) {
5151
5090
  const themeBreakpoints = theme.breakpoints || defaultBreakpoints;
5152
5091
  return Object.keys(propValue).reduce((acc, breakpoint) => {
5153
5092
  // key is breakpoint
5154
- if (Object.keys(themeBreakpoints.values || values).indexOf(breakpoint) !== -1) {
5093
+ if (Object.keys(themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
5155
5094
  const mediaKey = themeBreakpoints.up(breakpoint);
5156
5095
  acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
5157
5096
  } else {
@@ -5698,7 +5637,7 @@ const maxWidth = props => {
5698
5637
  if (props.maxWidth !== undefined && props.maxWidth !== null) {
5699
5638
  const styleFromPropValue = propValue => {
5700
5639
  var _props$theme, _props$theme$breakpoi, _props$theme$breakpoi2;
5701
- const breakpoint = ((_props$theme = props.theme) == null ? void 0 : (_props$theme$breakpoi = _props$theme.breakpoints) == null ? void 0 : (_props$theme$breakpoi2 = _props$theme$breakpoi.values) == null ? void 0 : _props$theme$breakpoi2[propValue]) || values[propValue];
5640
+ const breakpoint = ((_props$theme = props.theme) == null ? void 0 : (_props$theme$breakpoi = _props$theme.breakpoints) == null ? void 0 : (_props$theme$breakpoi2 = _props$theme$breakpoi.values) == null ? void 0 : _props$theme$breakpoi2[propValue]) || values$1[propValue];
5702
5641
  return {
5703
5642
  maxWidth: breakpoint || sizingTransform(propValue)
5704
5643
  };
@@ -6141,7 +6080,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
6141
6080
  styleFunctionSx.filterProps = ['sx'];
6142
6081
  var styleFunctionSx$1 = styleFunctionSx;
6143
6082
 
6144
- const _excluded$e = ["breakpoints", "palette", "spacing", "shape"];
6083
+ const _excluded$a = ["breakpoints", "palette", "spacing", "shape"];
6145
6084
  function createTheme$1(options = {}, ...args) {
6146
6085
  const {
6147
6086
  breakpoints: breakpointsInput = {},
@@ -6149,7 +6088,7 @@ function createTheme$1(options = {}, ...args) {
6149
6088
  spacing: spacingInput,
6150
6089
  shape: shapeInput = {}
6151
6090
  } = options,
6152
- other = _objectWithoutPropertiesLoose(options, _excluded$e);
6091
+ other = _objectWithoutPropertiesLoose(options, _excluded$a);
6153
6092
  const breakpoints = createBreakpoints(breakpointsInput);
6154
6093
  const spacing = createSpacing(spacingInput);
6155
6094
  let muiTheme = deepmerge({
@@ -6177,17 +6116,17 @@ function createTheme$1(options = {}, ...args) {
6177
6116
  function isObjectEmpty(obj) {
6178
6117
  return Object.keys(obj).length === 0;
6179
6118
  }
6180
- function useTheme$2(defaultTheme = null) {
6119
+ function useTheme$1(defaultTheme = null) {
6181
6120
  const contextTheme = React.useContext(ThemeContext);
6182
6121
  return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
6183
6122
  }
6184
6123
 
6185
6124
  const systemDefaultTheme$1 = createTheme$1();
6186
- function useTheme$1(defaultTheme = systemDefaultTheme$1) {
6187
- return useTheme$2(defaultTheme);
6125
+ function useTheme(defaultTheme = systemDefaultTheme$1) {
6126
+ return useTheme$1(defaultTheme);
6188
6127
  }
6189
6128
 
6190
- const _excluded$d = ["sx"];
6129
+ const _excluded$9 = ["sx"];
6191
6130
  const splitProps = props => {
6192
6131
  var _props$theme$unstable, _props$theme;
6193
6132
  const result = {
@@ -6208,7 +6147,7 @@ function extendSxProp(props) {
6208
6147
  const {
6209
6148
  sx: inSx
6210
6149
  } = props,
6211
- other = _objectWithoutPropertiesLoose(props, _excluded$d);
6150
+ other = _objectWithoutPropertiesLoose(props, _excluded$9);
6212
6151
  const {
6213
6152
  systemProps,
6214
6153
  otherProps
@@ -6234,7 +6173,36 @@ function extendSxProp(props) {
6234
6173
 
6235
6174
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
6236
6175
 
6237
- const _excluded$c = ["variant"];
6176
+ const _excluded$8 = ["className", "component"];
6177
+ function createBox(options = {}) {
6178
+ const {
6179
+ themeId,
6180
+ defaultTheme,
6181
+ defaultClassName = 'MuiBox-root',
6182
+ generateClassName
6183
+ } = options;
6184
+ const BoxRoot = styled$3('div', {
6185
+ shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'
6186
+ })(styleFunctionSx$1);
6187
+ const Box = /*#__PURE__*/React.forwardRef(function Box(inProps, ref) {
6188
+ const theme = useTheme(defaultTheme);
6189
+ const _extendSxProp = extendSxProp(inProps),
6190
+ {
6191
+ className,
6192
+ component = 'div'
6193
+ } = _extendSxProp,
6194
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$8);
6195
+ return /*#__PURE__*/jsx(BoxRoot, _extends({
6196
+ as: component,
6197
+ ref: ref,
6198
+ className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
6199
+ theme: themeId ? theme[themeId] || theme : theme
6200
+ }, other));
6201
+ });
6202
+ return Box;
6203
+ }
6204
+
6205
+ const _excluded$7 = ["variant"];
6238
6206
  function isEmpty$1(string) {
6239
6207
  return string.length === 0;
6240
6208
  }
@@ -6248,7 +6216,7 @@ function propsToClassKey(props) {
6248
6216
  const {
6249
6217
  variant
6250
6218
  } = props,
6251
- other = _objectWithoutPropertiesLoose(props, _excluded$c);
6219
+ other = _objectWithoutPropertiesLoose(props, _excluded$7);
6252
6220
  let classKey = variant || '';
6253
6221
  Object.keys(other).sort().forEach(key => {
6254
6222
  if (key === 'color') {
@@ -6260,7 +6228,7 @@ function propsToClassKey(props) {
6260
6228
  return classKey;
6261
6229
  }
6262
6230
 
6263
- const _excluded$b = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6231
+ const _excluded$6 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
6264
6232
  function isEmpty(obj) {
6265
6233
  return Object.keys(obj).length === 0;
6266
6234
  }
@@ -6355,7 +6323,7 @@ function createStyled(input = {}) {
6355
6323
  skipSx: inputSkipSx,
6356
6324
  overridesResolver
6357
6325
  } = inputOptions,
6358
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$b);
6326
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$6);
6359
6327
 
6360
6328
  // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6361
6329
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -6489,7 +6457,7 @@ function useThemeProps$1({
6489
6457
  defaultTheme,
6490
6458
  themeId
6491
6459
  }) {
6492
- let theme = useTheme$1(defaultTheme);
6460
+ let theme = useTheme(defaultTheme);
6493
6461
  if (themeId) {
6494
6462
  theme = theme[themeId] || theme;
6495
6463
  }
@@ -6672,27 +6640,6 @@ function getContrastRatio(foreground, background) {
6672
6640
  return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);
6673
6641
  }
6674
6642
 
6675
- /**
6676
- * Sets the absolute transparency of a color.
6677
- * Any existing alpha values are overwritten.
6678
- * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
6679
- * @param {number} value - value to set the alpha channel to in the range 0 - 1
6680
- * @returns {string} A CSS color string. Hex input values are returned as rgb
6681
- */
6682
- function alpha(color, value) {
6683
- color = decomposeColor(color);
6684
- value = clamp(value);
6685
- if (color.type === 'rgb' || color.type === 'hsl') {
6686
- color.type += 'a';
6687
- }
6688
- if (color.type === 'color') {
6689
- color.values[3] = `/${value}`;
6690
- } else {
6691
- color.values[3] = value;
6692
- }
6693
- return recomposeColor(color);
6694
- }
6695
-
6696
6643
  /**
6697
6644
  * Darkens a color.
6698
6645
  * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()
@@ -6735,8 +6682,8 @@ function lighten(color, coefficient) {
6735
6682
  return recomposeColor(color);
6736
6683
  }
6737
6684
 
6738
- const _excluded$a = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
6739
- const defaultTheme$2 = createTheme$1();
6685
+ const _excluded$5 = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
6686
+ const defaultTheme$3 = createTheme$1();
6740
6687
  // widening Theme to any so that the consumer can own the theme structure.
6741
6688
  const defaultCreateStyledComponent = systemStyled('div', {
6742
6689
  name: 'MuiStack',
@@ -6747,7 +6694,7 @@ function useThemePropsDefault(props) {
6747
6694
  return useThemeProps$1({
6748
6695
  props,
6749
6696
  name: 'MuiStack',
6750
- defaultTheme: defaultTheme$2
6697
+ defaultTheme: defaultTheme$3
6751
6698
  });
6752
6699
  }
6753
6700
 
@@ -6864,7 +6811,7 @@ function createStack(options = {}) {
6864
6811
  className,
6865
6812
  useFlexGap = false
6866
6813
  } = props,
6867
- other = _objectWithoutPropertiesLoose(props, _excluded$a);
6814
+ other = _objectWithoutPropertiesLoose(props, _excluded$5);
6868
6815
  const ownerState = {
6869
6816
  direction,
6870
6817
  spacing,
@@ -7038,7 +6985,7 @@ const green = {
7038
6985
  };
7039
6986
  var green$1 = green;
7040
6987
 
7041
- const _excluded$9 = ["mode", "contrastThreshold", "tonalOffset"];
6988
+ const _excluded$4 = ["mode", "contrastThreshold", "tonalOffset"];
7042
6989
  const light = {
7043
6990
  // The colors used to style the text.
7044
6991
  text: {
@@ -7207,7 +7154,7 @@ function createPalette(palette) {
7207
7154
  contrastThreshold = 3,
7208
7155
  tonalOffset = 0.2
7209
7156
  } = palette,
7210
- other = _objectWithoutPropertiesLoose(palette, _excluded$9);
7157
+ other = _objectWithoutPropertiesLoose(palette, _excluded$4);
7211
7158
  const primary = palette.primary || getDefaultPrimary(mode);
7212
7159
  const secondary = palette.secondary || getDefaultSecondary(mode);
7213
7160
  const error = palette.error || getDefaultError(mode);
@@ -7331,7 +7278,7 @@ const theme2 = createTheme({ palette: {
7331
7278
  return paletteOutput;
7332
7279
  }
7333
7280
 
7334
- const _excluded$8 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7281
+ const _excluded$3 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
7335
7282
  function round(value) {
7336
7283
  return Math.round(value * 1e5) / 1e5;
7337
7284
  }
@@ -7362,7 +7309,7 @@ function createTypography(palette, typography) {
7362
7309
  allVariants,
7363
7310
  pxToRem: pxToRem2
7364
7311
  } = _ref,
7365
- other = _objectWithoutPropertiesLoose(_ref, _excluded$8);
7312
+ other = _objectWithoutPropertiesLoose(_ref, _excluded$3);
7366
7313
  if (process.env.NODE_ENV !== 'production') {
7367
7314
  if (typeof fontSize !== 'number') {
7368
7315
  console.error('MUI: `fontSize` is required to be a number.');
@@ -7429,7 +7376,7 @@ function createShadow(...px) {
7429
7376
  const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
7430
7377
  var shadows$1 = shadows;
7431
7378
 
7432
- const _excluded$7 = ["duration", "easing", "delay"];
7379
+ const _excluded$2 = ["duration", "easing", "delay"];
7433
7380
  // Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
7434
7381
  // to learn the context in which each easing should be used.
7435
7382
  const easing = {
@@ -7480,7 +7427,7 @@ function createTransitions(inputTransitions) {
7480
7427
  easing: easingOption = mergedEasing.easeInOut,
7481
7428
  delay = 0
7482
7429
  } = options,
7483
- other = _objectWithoutPropertiesLoose(options, _excluded$7);
7430
+ other = _objectWithoutPropertiesLoose(options, _excluded$2);
7484
7431
  if (process.env.NODE_ENV !== 'production') {
7485
7432
  const isString = value => typeof value === 'string';
7486
7433
  // IE11 support, replace with Number.isNaN
@@ -7527,7 +7474,7 @@ const zIndex = {
7527
7474
  };
7528
7475
  var zIndex$1 = zIndex;
7529
7476
 
7530
- const _excluded$6 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7477
+ const _excluded$1 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
7531
7478
  function createTheme(options = {}, ...args) {
7532
7479
  const {
7533
7480
  mixins: mixinsInput = {},
@@ -7535,7 +7482,7 @@ function createTheme(options = {}, ...args) {
7535
7482
  transitions: transitionsInput = {},
7536
7483
  typography: typographyInput = {}
7537
7484
  } = options,
7538
- other = _objectWithoutPropertiesLoose(options, _excluded$6);
7485
+ other = _objectWithoutPropertiesLoose(options, _excluded$1);
7539
7486
  if (options.vars) {
7540
7487
  throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
7541
7488
  Please use another name.` : formatMuiErrorMessage(18));
@@ -7593,17 +7540,8 @@ Please use another name.` : formatMuiErrorMessage(18));
7593
7540
  return muiTheme;
7594
7541
  }
7595
7542
 
7596
- const defaultTheme = createTheme();
7597
- var defaultTheme$1 = defaultTheme;
7598
-
7599
- function useTheme() {
7600
- const theme = useTheme$1(defaultTheme$1);
7601
- if (process.env.NODE_ENV !== 'production') {
7602
- // eslint-disable-next-line react-hooks/rules-of-hooks
7603
- React.useDebugValue(theme);
7604
- }
7605
- return theme[THEME_ID] || theme;
7606
- }
7543
+ const defaultTheme$1 = createTheme();
7544
+ var defaultTheme$2 = defaultTheme$1;
7607
7545
 
7608
7546
  function useThemeProps({
7609
7547
  props,
@@ -7612,7 +7550,7 @@ function useThemeProps({
7612
7550
  return useThemeProps$1({
7613
7551
  props,
7614
7552
  name,
7615
- defaultTheme: defaultTheme$1,
7553
+ defaultTheme: defaultTheme$2,
7616
7554
  themeId: THEME_ID
7617
7555
  });
7618
7556
  }
@@ -7620,30 +7558,18 @@ function useThemeProps({
7620
7558
  const rootShouldForwardProp = prop => shouldForwardProp(prop) && prop !== 'classes';
7621
7559
  const styled = createStyled({
7622
7560
  themeId: THEME_ID,
7623
- defaultTheme: defaultTheme$1,
7561
+ defaultTheme: defaultTheme$2,
7624
7562
  rootShouldForwardProp
7625
7563
  });
7626
7564
  var styled$1 = styled;
7627
7565
 
7628
- // Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61
7629
- const getOverlayAlpha = elevation => {
7630
- let alphaValue;
7631
- if (elevation < 1) {
7632
- alphaValue = 5.11916 * elevation ** 2;
7633
- } else {
7634
- alphaValue = 4.5 * Math.log(elevation + 1) + 2;
7635
- }
7636
- return (alphaValue / 100).toFixed(2);
7637
- };
7638
- var getOverlayAlpha$1 = getOverlayAlpha;
7639
-
7640
7566
  function getSvgIconUtilityClass(slot) {
7641
7567
  return generateUtilityClass('MuiSvgIcon', slot);
7642
7568
  }
7643
7569
  generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
7644
7570
 
7645
- const _excluded$5 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7646
- const useUtilityClasses$5 = ownerState => {
7571
+ const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
7572
+ const useUtilityClasses = ownerState => {
7647
7573
  const {
7648
7574
  color,
7649
7575
  fontSize,
@@ -7708,7 +7634,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7708
7634
  titleAccess,
7709
7635
  viewBox = '0 0 24 24'
7710
7636
  } = props,
7711
- other = _objectWithoutPropertiesLoose(props, _excluded$5);
7637
+ other = _objectWithoutPropertiesLoose(props, _excluded);
7712
7638
  const ownerState = _extends({}, props, {
7713
7639
  color,
7714
7640
  component,
@@ -7721,7 +7647,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
7721
7647
  if (!inheritViewBox) {
7722
7648
  more.viewBox = viewBox;
7723
7649
  }
7724
- const classes = useUtilityClasses$5(ownerState);
7650
+ const classes = useUtilityClasses(ownerState);
7725
7651
  return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
7726
7652
  as: component,
7727
7653
  className: clsx(classes.root, className),
@@ -8623,118 +8549,21 @@ const themeOptions = {
8623
8549
 
8624
8550
  const SincoTheme = createTheme(Object.assign({}, themeOptions));
8625
8551
 
8626
- var wellKnownSymbol$2 = wellKnownSymbol$4;
8627
-
8628
- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
8629
- var test = {};
8630
-
8631
- test[TO_STRING_TAG$1] = 'z';
8632
-
8633
- var toStringTagSupport = String(test) === '[object z]';
8634
-
8635
- var TO_STRING_TAG_SUPPORT = toStringTagSupport;
8636
- var isCallable$1 = isCallable$c;
8637
- var classofRaw$1 = classofRaw$2;
8638
- var wellKnownSymbol$1 = wellKnownSymbol$4;
8639
-
8640
- var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
8641
- var $Object = Object;
8642
-
8643
- // ES3 wrong here
8644
- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
8645
-
8646
- // fallback for IE11 Script Access Denied error
8647
- var tryGet = function (it, key) {
8648
- try {
8649
- return it[key];
8650
- } catch (error) { /* empty */ }
8651
- };
8652
-
8653
- // getting tag from ES6+ `Object.prototype.toString`
8654
- var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
8655
- var O, tag, result;
8656
- return it === undefined ? 'Undefined' : it === null ? 'Null'
8657
- // @@toStringTag case
8658
- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
8659
- // builtinTag case
8660
- : CORRECT_ARGUMENTS ? classofRaw$1(O)
8661
- // ES3 arguments fallback
8662
- : (result = classofRaw$1(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
8663
- };
8664
-
8665
- var classof$1 = classof$2;
8666
-
8667
- var $String = String;
8668
-
8669
- var toString$2 = function (argument) {
8670
- if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
8671
- return $String(argument);
8672
- };
8673
-
8674
- var anObject$4 = anObject$7;
8675
-
8676
- // `RegExp.prototype.flags` getter implementation
8677
- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
8678
- var regexpFlags$1 = function () {
8679
- var that = anObject$4(this);
8680
- var result = '';
8681
- if (that.hasIndices) result += 'd';
8682
- if (that.global) result += 'g';
8683
- if (that.ignoreCase) result += 'i';
8684
- if (that.multiline) result += 'm';
8685
- if (that.dotAll) result += 's';
8686
- if (that.unicode) result += 'u';
8687
- if (that.unicodeSets) result += 'v';
8688
- if (that.sticky) result += 'y';
8689
- return result;
8690
- };
8691
-
8692
- var fails$3 = fails$d;
8693
- var global$3 = global$e;
8694
-
8695
- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
8696
- var $RegExp$2 = global$3.RegExp;
8697
-
8698
- var UNSUPPORTED_Y$1 = fails$3(function () {
8699
- var re = $RegExp$2('a', 'y');
8700
- re.lastIndex = 2;
8701
- return re.exec('abcd') != null;
8702
- });
8703
-
8704
- // UC Browser bug
8705
- // https://github.com/zloirock/core-js/issues/1008
8706
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$3(function () {
8707
- return !$RegExp$2('a', 'y').sticky;
8708
- });
8709
-
8710
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
8711
- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
8712
- var re = $RegExp$2('^r', 'gy');
8713
- re.lastIndex = 2;
8714
- return re.exec('str') != null;
8715
- });
8716
-
8717
- var regexpStickyHelpers = {
8718
- BROKEN_CARET: BROKEN_CARET,
8719
- MISSED_STICKY: MISSED_STICKY,
8720
- UNSUPPORTED_Y: UNSUPPORTED_Y$1
8721
- };
8722
-
8723
8552
  var objectDefineProperties = {};
8724
8553
 
8725
- var DESCRIPTORS = descriptors;
8554
+ var DESCRIPTORS$1 = descriptors;
8726
8555
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
8727
8556
  var definePropertyModule = objectDefineProperty;
8728
- var anObject$3 = anObject$7;
8729
- var toIndexedObject = toIndexedObject$4;
8557
+ var anObject$2 = anObject$5;
8558
+ var toIndexedObject$1 = toIndexedObject$5;
8730
8559
  var objectKeys = objectKeys$2;
8731
8560
 
8732
8561
  // `Object.defineProperties` method
8733
8562
  // https://tc39.es/ecma262/#sec-object.defineproperties
8734
8563
  // eslint-disable-next-line es/no-object-defineproperties -- safe
8735
- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
8736
- anObject$3(O);
8737
- var props = toIndexedObject(Properties);
8564
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
8565
+ anObject$2(O);
8566
+ var props = toIndexedObject$1(Properties);
8738
8567
  var keys = objectKeys(Properties);
8739
8568
  var length = keys.length;
8740
8569
  var index = 0;
@@ -8749,19 +8578,19 @@ var html$1 = getBuiltIn('document', 'documentElement');
8749
8578
 
8750
8579
  /* global ActiveXObject -- old IE, WSH */
8751
8580
 
8752
- var anObject$2 = anObject$7;
8581
+ var anObject$1 = anObject$5;
8753
8582
  var definePropertiesModule = objectDefineProperties;
8754
8583
  var enumBugKeys = enumBugKeys$3;
8755
8584
  var hiddenKeys = hiddenKeys$4;
8756
8585
  var html = html$1;
8757
- var documentCreateElement = documentCreateElement$1;
8758
- var sharedKey = sharedKey$2;
8586
+ var documentCreateElement$1 = documentCreateElement$2;
8587
+ var sharedKey$1 = sharedKey$3;
8759
8588
 
8760
8589
  var GT = '>';
8761
8590
  var LT = '<';
8762
8591
  var PROTOTYPE = 'prototype';
8763
8592
  var SCRIPT = 'script';
8764
- var IE_PROTO = sharedKey('IE_PROTO');
8593
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
8765
8594
 
8766
8595
  var EmptyConstructor = function () { /* empty */ };
8767
8596
 
@@ -8781,7 +8610,7 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
8781
8610
  // Create object with fake `null` prototype: use iframe Object with cleared prototype
8782
8611
  var NullProtoObjectViaIFrame = function () {
8783
8612
  // Thrash, waste and sodomy: IE GC bug
8784
- var iframe = documentCreateElement('iframe');
8613
+ var iframe = documentCreateElement$1('iframe');
8785
8614
  var JS = 'java' + SCRIPT + ':';
8786
8615
  var iframeDocument;
8787
8616
  iframe.style.display = 'none';
@@ -8815,7 +8644,7 @@ var NullProtoObject = function () {
8815
8644
  return NullProtoObject();
8816
8645
  };
8817
8646
 
8818
- hiddenKeys[IE_PROTO] = true;
8647
+ hiddenKeys[IE_PROTO$1] = true;
8819
8648
 
8820
8649
  // `Object.create` method
8821
8650
  // https://tc39.es/ecma262/#sec-object.create
@@ -8823,785 +8652,458 @@ hiddenKeys[IE_PROTO] = true;
8823
8652
  var objectCreate = Object.create || function create(O, Properties) {
8824
8653
  var result;
8825
8654
  if (O !== null) {
8826
- EmptyConstructor[PROTOTYPE] = anObject$2(O);
8655
+ EmptyConstructor[PROTOTYPE] = anObject$1(O);
8827
8656
  result = new EmptyConstructor();
8828
8657
  EmptyConstructor[PROTOTYPE] = null;
8829
8658
  // add "__proto__" for Object.getPrototypeOf polyfill
8830
- result[IE_PROTO] = O;
8659
+ result[IE_PROTO$1] = O;
8831
8660
  } else result = NullProtoObject();
8832
8661
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
8833
8662
  };
8834
8663
 
8835
- var fails$2 = fails$d;
8836
- var global$2 = global$e;
8664
+ var wellKnownSymbol$4 = wellKnownSymbol$6;
8665
+ var create$1 = objectCreate;
8666
+ var defineProperty$2 = objectDefineProperty.f;
8837
8667
 
8838
- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
8839
- var $RegExp$1 = global$2.RegExp;
8668
+ var UNSCOPABLES = wellKnownSymbol$4('unscopables');
8669
+ var ArrayPrototype = Array.prototype;
8840
8670
 
8841
- var regexpUnsupportedDotAll = fails$2(function () {
8842
- var re = $RegExp$1('.', 's');
8843
- return !(re.dotAll && re.exec('\n') && re.flags === 's');
8844
- });
8671
+ // Array.prototype[@@unscopables]
8672
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
8673
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
8674
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
8675
+ configurable: true,
8676
+ value: create$1(null)
8677
+ });
8678
+ }
8845
8679
 
8846
- var fails$1 = fails$d;
8847
- var global$1 = global$e;
8680
+ // add a key to Array.prototype[@@unscopables]
8681
+ var addToUnscopables$1 = function (key) {
8682
+ ArrayPrototype[UNSCOPABLES][key] = true;
8683
+ };
8684
+
8685
+ var iterators = {};
8848
8686
 
8849
- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
8850
- var $RegExp = global$1.RegExp;
8687
+ var fails$1 = fails$b;
8851
8688
 
8852
- var regexpUnsupportedNcg = fails$1(function () {
8853
- var re = $RegExp('(?<a>b)', 'g');
8854
- return re.exec('b').groups.a !== 'b' ||
8855
- 'b'.replace(re, '$<a>c') !== 'bc';
8689
+ var correctPrototypeGetter = !fails$1(function () {
8690
+ function F() { /* empty */ }
8691
+ F.prototype.constructor = null;
8692
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
8693
+ return Object.getPrototypeOf(new F()) !== F.prototype;
8856
8694
  });
8857
8695
 
8858
- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
8859
- /* eslint-disable regexp/no-useless-quantifier -- testing */
8860
- var call$2 = functionCall;
8861
- var uncurryThis$2 = functionUncurryThis;
8862
- var toString$1 = toString$2;
8863
- var regexpFlags = regexpFlags$1;
8864
- var stickyHelpers = regexpStickyHelpers;
8865
- var shared = shared$4.exports;
8866
- var create = objectCreate;
8867
- var getInternalState = internalState.get;
8868
- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
8869
- var UNSUPPORTED_NCG = regexpUnsupportedNcg;
8870
-
8871
- var nativeReplace = shared('native-string-replace', String.prototype.replace);
8872
- var nativeExec = RegExp.prototype.exec;
8873
- var patchedExec = nativeExec;
8874
- var charAt = uncurryThis$2(''.charAt);
8875
- var indexOf = uncurryThis$2(''.indexOf);
8876
- var replace = uncurryThis$2(''.replace);
8877
- var stringSlice = uncurryThis$2(''.slice);
8878
-
8879
- var UPDATES_LAST_INDEX_WRONG = (function () {
8880
- var re1 = /a/;
8881
- var re2 = /b*/g;
8882
- call$2(nativeExec, re1, 'a');
8883
- call$2(nativeExec, re2, 'a');
8884
- return re1.lastIndex !== 0 || re2.lastIndex !== 0;
8885
- })();
8886
-
8887
- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
8888
-
8889
- // nonparticipating capturing group, copied from es5-shim's String#split patch.
8890
- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
8891
-
8892
- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
8893
-
8894
- if (PATCH) {
8895
- patchedExec = function exec(string) {
8896
- var re = this;
8897
- var state = getInternalState(re);
8898
- var str = toString$1(string);
8899
- var raw = state.raw;
8900
- var result, reCopy, lastIndex, match, i, object, group;
8901
-
8902
- if (raw) {
8903
- raw.lastIndex = re.lastIndex;
8904
- result = call$2(patchedExec, raw, str);
8905
- re.lastIndex = raw.lastIndex;
8906
- return result;
8907
- }
8908
-
8909
- var groups = state.groups;
8910
- var sticky = UNSUPPORTED_Y && re.sticky;
8911
- var flags = call$2(regexpFlags, re);
8912
- var source = re.source;
8913
- var charsAdded = 0;
8914
- var strCopy = str;
8915
-
8916
- if (sticky) {
8917
- flags = replace(flags, 'y', '');
8918
- if (indexOf(flags, 'g') === -1) {
8919
- flags += 'g';
8920
- }
8696
+ var hasOwn$1 = hasOwnProperty_1;
8697
+ var isCallable$3 = isCallable$e;
8698
+ var toObject = toObject$4;
8699
+ var sharedKey = sharedKey$3;
8700
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
8921
8701
 
8922
- strCopy = stringSlice(str, re.lastIndex);
8923
- // Support anchored sticky behavior.
8924
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
8925
- source = '(?: ' + source + ')';
8926
- strCopy = ' ' + strCopy;
8927
- charsAdded++;
8928
- }
8929
- // ^(? + rx + ) is needed, in combination with some str slicing, to
8930
- // simulate the 'y' flag.
8931
- reCopy = new RegExp('^(?:' + source + ')', flags);
8932
- }
8933
-
8934
- if (NPCG_INCLUDED) {
8935
- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
8936
- }
8937
- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
8938
-
8939
- match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
8940
-
8941
- if (sticky) {
8942
- if (match) {
8943
- match.input = stringSlice(match.input, charsAdded);
8944
- match[0] = stringSlice(match[0], charsAdded);
8945
- match.index = re.lastIndex;
8946
- re.lastIndex += match[0].length;
8947
- } else re.lastIndex = 0;
8948
- } else if (UPDATES_LAST_INDEX_WRONG && match) {
8949
- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
8950
- }
8951
- if (NPCG_INCLUDED && match && match.length > 1) {
8952
- // Fix browsers whose `exec` methods don't consistently return `undefined`
8953
- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
8954
- call$2(nativeReplace, match[0], reCopy, function () {
8955
- for (i = 1; i < arguments.length - 2; i++) {
8956
- if (arguments[i] === undefined) match[i] = undefined;
8957
- }
8958
- });
8959
- }
8702
+ var IE_PROTO = sharedKey('IE_PROTO');
8703
+ var $Object = Object;
8704
+ var ObjectPrototype = $Object.prototype;
8705
+
8706
+ // `Object.getPrototypeOf` method
8707
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
8708
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
8709
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
8710
+ var object = toObject(O);
8711
+ if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
8712
+ var constructor = object.constructor;
8713
+ if (isCallable$3(constructor) && object instanceof constructor) {
8714
+ return constructor.prototype;
8715
+ } return object instanceof $Object ? ObjectPrototype : null;
8716
+ };
8717
+
8718
+ var fails = fails$b;
8719
+ var isCallable$2 = isCallable$e;
8720
+ var isObject = isObject$6;
8721
+ var getPrototypeOf$1 = objectGetPrototypeOf;
8722
+ var defineBuiltIn$1 = defineBuiltIn$3;
8723
+ var wellKnownSymbol$3 = wellKnownSymbol$6;
8724
+
8725
+ var ITERATOR$2 = wellKnownSymbol$3('iterator');
8726
+ var BUGGY_SAFARI_ITERATORS$1 = false;
8727
+
8728
+ // `%IteratorPrototype%` object
8729
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
8730
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
8731
+
8732
+ /* eslint-disable es/no-array-prototype-keys -- safe */
8733
+ if ([].keys) {
8734
+ arrayIterator = [].keys();
8735
+ // Safari 8 has buggy iterators w/o `next`
8736
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
8737
+ else {
8738
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
8739
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
8740
+ }
8741
+ }
8742
+
8743
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails(function () {
8744
+ var test = {};
8745
+ // FF44- legacy iterators case
8746
+ return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
8747
+ });
8960
8748
 
8961
- if (match && groups) {
8962
- match.groups = object = create(null);
8963
- for (i = 0; i < groups.length; i++) {
8964
- group = groups[i];
8965
- object[group[0]] = match[group[1]];
8966
- }
8967
- }
8749
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
8968
8750
 
8969
- return match;
8970
- };
8751
+ // `%IteratorPrototype%[@@iterator]()` method
8752
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
8753
+ if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
8754
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
8755
+ return this;
8756
+ });
8971
8757
  }
8972
8758
 
8973
- var regexpExec$2 = patchedExec;
8759
+ var iteratorsCore = {
8760
+ IteratorPrototype: IteratorPrototype$2,
8761
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
8762
+ };
8974
8763
 
8975
- var $ = _export;
8976
- var exec = regexpExec$2;
8764
+ var defineProperty$1 = objectDefineProperty.f;
8765
+ var hasOwn = hasOwnProperty_1;
8766
+ var wellKnownSymbol$2 = wellKnownSymbol$6;
8977
8767
 
8978
- // `RegExp.prototype.exec` method
8979
- // https://tc39.es/ecma262/#sec-regexp.prototype.exec
8980
- $({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
8981
- exec: exec
8982
- });
8768
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
8983
8769
 
8984
- var classofRaw = classofRaw$2;
8985
- var uncurryThis$1 = functionUncurryThis;
8770
+ var setToStringTag$2 = function (target, TAG, STATIC) {
8771
+ if (target && !STATIC) target = target.prototype;
8772
+ if (target && !hasOwn(target, TO_STRING_TAG$1)) {
8773
+ defineProperty$1(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
8774
+ }
8775
+ };
8776
+
8777
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
8778
+ var create = objectCreate;
8779
+ var createPropertyDescriptor = createPropertyDescriptor$3;
8780
+ var setToStringTag$1 = setToStringTag$2;
8781
+ var Iterators$2 = iterators;
8986
8782
 
8987
- var functionUncurryThisClause = function (fn) {
8988
- // Nashorn bug:
8989
- // https://github.com/zloirock/core-js/issues/1128
8990
- // https://github.com/zloirock/core-js/issues/1130
8991
- if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
8783
+ var returnThis$1 = function () { return this; };
8784
+
8785
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
8786
+ var TO_STRING_TAG = NAME + ' Iterator';
8787
+ IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
8788
+ setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
8789
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
8790
+ return IteratorConstructor;
8992
8791
  };
8993
8792
 
8994
- // TODO: Remove from `core-js@4` since it's moved to entry points
8793
+ var uncurryThis = functionUncurryThis;
8794
+ var aCallable = aCallable$2;
8995
8795
 
8996
- var uncurryThis = functionUncurryThisClause;
8997
- var defineBuiltIn = defineBuiltIn$2;
8998
- var regexpExec$1 = regexpExec$2;
8999
- var fails = fails$d;
9000
- var wellKnownSymbol = wellKnownSymbol$4;
9001
- var createNonEnumerableProperty = createNonEnumerableProperty$3;
8796
+ var functionUncurryThisAccessor = function (object, key, method) {
8797
+ try {
8798
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
8799
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
8800
+ } catch (error) { /* empty */ }
8801
+ };
9002
8802
 
9003
- var SPECIES = wellKnownSymbol('species');
9004
- var RegExpPrototype = RegExp.prototype;
8803
+ var isCallable$1 = isCallable$e;
9005
8804
 
9006
- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
9007
- var SYMBOL = wellKnownSymbol(KEY);
8805
+ var $String = String;
8806
+ var $TypeError = TypeError;
9008
8807
 
9009
- var DELEGATES_TO_SYMBOL = !fails(function () {
9010
- // String methods call symbol-named RegEp methods
9011
- var O = {};
9012
- O[SYMBOL] = function () { return 7; };
9013
- return ''[KEY](O) != 7;
9014
- });
8808
+ var aPossiblePrototype$1 = function (argument) {
8809
+ if (typeof argument == 'object' || isCallable$1(argument)) return argument;
8810
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
8811
+ };
9015
8812
 
9016
- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
9017
- // Symbol-named RegExp methods call .exec
9018
- var execCalled = false;
9019
- var re = /a/;
8813
+ /* eslint-disable no-proto -- safe */
9020
8814
 
9021
- if (KEY === 'split') {
9022
- // We can't use real regex here since it causes deoptimization
9023
- // and serious performance degradation in V8
9024
- // https://github.com/zloirock/core-js/issues/306
9025
- re = {};
9026
- // RegExp[@@split] doesn't call the regex's exec method, but first creates
9027
- // a new one. We need to return the patched regex when creating the new one.
9028
- re.constructor = {};
9029
- re.constructor[SPECIES] = function () { return re; };
9030
- re.flags = '';
9031
- re[SYMBOL] = /./[SYMBOL];
9032
- }
8815
+ var uncurryThisAccessor = functionUncurryThisAccessor;
8816
+ var anObject = anObject$5;
8817
+ var aPossiblePrototype = aPossiblePrototype$1;
9033
8818
 
9034
- re.exec = function () { execCalled = true; return null; };
8819
+ // `Object.setPrototypeOf` method
8820
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
8821
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
8822
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
8823
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
8824
+ var CORRECT_SETTER = false;
8825
+ var test = {};
8826
+ var setter;
8827
+ try {
8828
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
8829
+ setter(test, []);
8830
+ CORRECT_SETTER = test instanceof Array;
8831
+ } catch (error) { /* empty */ }
8832
+ return function setPrototypeOf(O, proto) {
8833
+ anObject(O);
8834
+ aPossiblePrototype(proto);
8835
+ if (CORRECT_SETTER) setter(O, proto);
8836
+ else O.__proto__ = proto;
8837
+ return O;
8838
+ };
8839
+ }() : undefined);
9035
8840
 
9036
- re[SYMBOL]('');
9037
- return !execCalled;
9038
- });
8841
+ var $ = _export;
8842
+ var call = functionCall;
8843
+ var FunctionName = functionName;
8844
+ var isCallable = isCallable$e;
8845
+ var createIteratorConstructor = iteratorCreateConstructor;
8846
+ var getPrototypeOf = objectGetPrototypeOf;
8847
+ var setPrototypeOf = objectSetPrototypeOf;
8848
+ var setToStringTag = setToStringTag$2;
8849
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
8850
+ var defineBuiltIn = defineBuiltIn$3;
8851
+ var wellKnownSymbol$1 = wellKnownSymbol$6;
8852
+ var Iterators$1 = iterators;
8853
+ var IteratorsCore = iteratorsCore;
8854
+
8855
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
8856
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
8857
+ var IteratorPrototype = IteratorsCore.IteratorPrototype;
8858
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
8859
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
8860
+ var KEYS = 'keys';
8861
+ var VALUES = 'values';
8862
+ var ENTRIES = 'entries';
8863
+
8864
+ var returnThis = function () { return this; };
8865
+
8866
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
8867
+ createIteratorConstructor(IteratorConstructor, NAME, next);
8868
+
8869
+ var getIterationMethod = function (KIND) {
8870
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
8871
+ if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
8872
+ switch (KIND) {
8873
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
8874
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
8875
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
8876
+ } return function () { return new IteratorConstructor(this); };
8877
+ };
9039
8878
 
9040
- if (
9041
- !DELEGATES_TO_SYMBOL ||
9042
- !DELEGATES_TO_EXEC ||
9043
- FORCED
9044
- ) {
9045
- var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
9046
- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
9047
- var uncurriedNativeMethod = uncurryThis(nativeMethod);
9048
- var $exec = regexp.exec;
9049
- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
9050
- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
9051
- // The native String method already delegates to @@method (this
9052
- // polyfilled function), leasing to infinite recursion.
9053
- // We avoid it by directly calling the native @@method method.
9054
- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
8879
+ var TO_STRING_TAG = NAME + ' Iterator';
8880
+ var INCORRECT_VALUES_NAME = false;
8881
+ var IterablePrototype = Iterable.prototype;
8882
+ var nativeIterator = IterablePrototype[ITERATOR$1]
8883
+ || IterablePrototype['@@iterator']
8884
+ || DEFAULT && IterablePrototype[DEFAULT];
8885
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
8886
+ var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
8887
+ var CurrentIteratorPrototype, methods, KEY;
8888
+
8889
+ // fix native
8890
+ if (anyNativeIterator) {
8891
+ CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
8892
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
8893
+ if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
8894
+ if (setPrototypeOf) {
8895
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
8896
+ } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
8897
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
9055
8898
  }
9056
- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
9057
8899
  }
9058
- return { done: false };
9059
- });
8900
+ // Set @@toStringTag to native iterators
8901
+ setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);
8902
+ }
8903
+ }
8904
+
8905
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
8906
+ if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {
8907
+ if (CONFIGURABLE_FUNCTION_NAME) {
8908
+ createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
8909
+ } else {
8910
+ INCORRECT_VALUES_NAME = true;
8911
+ defaultIterator = function values() { return call(nativeIterator, this); };
8912
+ }
8913
+ }
9060
8914
 
9061
- defineBuiltIn(String.prototype, KEY, methods[0]);
9062
- defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
8915
+ // export additional methods
8916
+ if (DEFAULT) {
8917
+ methods = {
8918
+ values: getIterationMethod(VALUES),
8919
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
8920
+ entries: getIterationMethod(ENTRIES)
8921
+ };
8922
+ if (FORCED) for (KEY in methods) {
8923
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
8924
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
8925
+ }
8926
+ } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
9063
8927
  }
9064
8928
 
9065
- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
9066
- };
8929
+ // define iterator
8930
+ if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
8931
+ defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
8932
+ }
8933
+ Iterators$1[NAME] = defaultIterator;
9067
8934
 
9068
- // `SameValue` abstract operation
9069
- // https://tc39.es/ecma262/#sec-samevalue
9070
- // eslint-disable-next-line es/no-object-is -- safe
9071
- var sameValue$1 = Object.is || function is(x, y) {
9072
- // eslint-disable-next-line no-self-compare -- NaN check
9073
- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8935
+ return methods;
9074
8936
  };
9075
8937
 
9076
- var call$1 = functionCall;
9077
- var anObject$1 = anObject$7;
9078
- var isCallable = isCallable$c;
9079
- var classof = classofRaw$2;
9080
- var regexpExec = regexpExec$2;
8938
+ // `CreateIterResultObject` abstract operation
8939
+ // https://tc39.es/ecma262/#sec-createiterresultobject
8940
+ var createIterResultObject$1 = function (value, done) {
8941
+ return { value: value, done: done };
8942
+ };
9081
8943
 
9082
- var $TypeError = TypeError;
8944
+ var toIndexedObject = toIndexedObject$5;
8945
+ var addToUnscopables = addToUnscopables$1;
8946
+ var Iterators = iterators;
8947
+ var InternalStateModule = internalState;
8948
+ var defineProperty = objectDefineProperty.f;
8949
+ var defineIterator = iteratorDefine;
8950
+ var createIterResultObject = createIterResultObject$1;
8951
+ var DESCRIPTORS = descriptors;
9083
8952
 
9084
- // `RegExpExec` abstract operation
9085
- // https://tc39.es/ecma262/#sec-regexpexec
9086
- var regexpExecAbstract = function (R, S) {
9087
- var exec = R.exec;
9088
- if (isCallable(exec)) {
9089
- var result = call$1(exec, R, S);
9090
- if (result !== null) anObject$1(result);
9091
- return result;
8953
+ var ARRAY_ITERATOR = 'Array Iterator';
8954
+ var setInternalState = InternalStateModule.set;
8955
+ var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);
8956
+
8957
+ // `Array.prototype.entries` method
8958
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
8959
+ // `Array.prototype.keys` method
8960
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
8961
+ // `Array.prototype.values` method
8962
+ // https://tc39.es/ecma262/#sec-array.prototype.values
8963
+ // `Array.prototype[@@iterator]` method
8964
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
8965
+ // `CreateArrayIterator` internal method
8966
+ // https://tc39.es/ecma262/#sec-createarrayiterator
8967
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
8968
+ setInternalState(this, {
8969
+ type: ARRAY_ITERATOR,
8970
+ target: toIndexedObject(iterated), // target
8971
+ index: 0, // next index
8972
+ kind: kind // kind
8973
+ });
8974
+ // `%ArrayIteratorPrototype%.next` method
8975
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
8976
+ }, function () {
8977
+ var state = getInternalState(this);
8978
+ var target = state.target;
8979
+ var kind = state.kind;
8980
+ var index = state.index++;
8981
+ if (!target || index >= target.length) {
8982
+ state.target = undefined;
8983
+ return createIterResultObject(undefined, true);
8984
+ }
8985
+ if (kind == 'keys') return createIterResultObject(index, false);
8986
+ if (kind == 'values') return createIterResultObject(target[index], false);
8987
+ return createIterResultObject([index, target[index]], false);
8988
+ }, 'values');
8989
+
8990
+ // argumentsList[@@iterator] is %ArrayProto_values%
8991
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
8992
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
8993
+ var values = Iterators.Arguments = Iterators.Array;
8994
+
8995
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
8996
+ addToUnscopables('keys');
8997
+ addToUnscopables('values');
8998
+ addToUnscopables('entries');
8999
+
9000
+ // V8 ~ Chrome 45- bug
9001
+ if (DESCRIPTORS && values.name !== 'values') try {
9002
+ defineProperty(values, 'name', { value: 'values' });
9003
+ } catch (error) { /* empty */ }
9004
+
9005
+ // iterable DOM collections
9006
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
9007
+ var domIterables = {
9008
+ CSSRuleList: 0,
9009
+ CSSStyleDeclaration: 0,
9010
+ CSSValueList: 0,
9011
+ ClientRectList: 0,
9012
+ DOMRectList: 0,
9013
+ DOMStringList: 0,
9014
+ DOMTokenList: 1,
9015
+ DataTransferItemList: 0,
9016
+ FileList: 0,
9017
+ HTMLAllCollection: 0,
9018
+ HTMLCollection: 0,
9019
+ HTMLFormElement: 0,
9020
+ HTMLSelectElement: 0,
9021
+ MediaList: 0,
9022
+ MimeTypeArray: 0,
9023
+ NamedNodeMap: 0,
9024
+ NodeList: 1,
9025
+ PaintRequestList: 0,
9026
+ Plugin: 0,
9027
+ PluginArray: 0,
9028
+ SVGLengthList: 0,
9029
+ SVGNumberList: 0,
9030
+ SVGPathSegList: 0,
9031
+ SVGPointList: 0,
9032
+ SVGStringList: 0,
9033
+ SVGTransformList: 0,
9034
+ SourceBufferList: 0,
9035
+ StyleSheetList: 0,
9036
+ TextTrackCueList: 0,
9037
+ TextTrackList: 0,
9038
+ TouchList: 0
9039
+ };
9040
+
9041
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
9042
+ var documentCreateElement = documentCreateElement$2;
9043
+
9044
+ var classList = documentCreateElement('span').classList;
9045
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
9046
+
9047
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
9048
+
9049
+ var global$1 = global$c;
9050
+ var DOMIterables = domIterables;
9051
+ var DOMTokenListPrototype = domTokenListPrototype;
9052
+ var ArrayIteratorMethods = es_array_iterator;
9053
+ var createNonEnumerableProperty = createNonEnumerableProperty$4;
9054
+ var wellKnownSymbol = wellKnownSymbol$6;
9055
+
9056
+ var ITERATOR = wellKnownSymbol('iterator');
9057
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
9058
+ var ArrayValues = ArrayIteratorMethods.values;
9059
+
9060
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
9061
+ if (CollectionPrototype) {
9062
+ // some Chrome versions have non-configurable methods on DOMTokenList
9063
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
9064
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
9065
+ } catch (error) {
9066
+ CollectionPrototype[ITERATOR] = ArrayValues;
9067
+ }
9068
+ if (!CollectionPrototype[TO_STRING_TAG]) {
9069
+ createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
9070
+ }
9071
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
9072
+ // some Chrome versions have non-configurable methods on DOMTokenList
9073
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
9074
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
9075
+ } catch (error) {
9076
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
9077
+ }
9078
+ }
9092
9079
  }
9093
- if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
9094
- throw $TypeError('RegExp#exec called on incompatible receiver');
9095
9080
  };
9096
9081
 
9097
- var call = functionCall;
9098
- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
9099
- var anObject = anObject$7;
9100
- var isNullOrUndefined = isNullOrUndefined$3;
9101
- var requireObjectCoercible = requireObjectCoercible$3;
9102
- var sameValue = sameValue$1;
9103
- var toString = toString$2;
9104
- var getMethod = getMethod$2;
9105
- var regExpExec = regexpExecAbstract;
9106
-
9107
- // @@search logic
9108
- fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
9109
- return [
9110
- // `String.prototype.search` method
9111
- // https://tc39.es/ecma262/#sec-string.prototype.search
9112
- function search(regexp) {
9113
- var O = requireObjectCoercible(this);
9114
- var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
9115
- return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
9116
- },
9117
- // `RegExp.prototype[@@search]` method
9118
- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
9119
- function (string) {
9120
- var rx = anObject(this);
9121
- var S = toString(string);
9122
- var res = maybeCallNative(nativeSearch, rx, S);
9123
-
9124
- if (res.done) return res.value;
9125
-
9126
- var previousLastIndex = rx.lastIndex;
9127
- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
9128
- var result = regExpExec(rx, S);
9129
- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
9130
- return result === null ? -1 : result.index;
9131
- }
9132
- ];
9133
- });
9134
-
9135
- function getPaperUtilityClass(slot) {
9136
- return generateUtilityClass('MuiPaper', slot);
9082
+ for (var COLLECTION_NAME in DOMIterables) {
9083
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
9137
9084
  }
9138
- generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
9139
9085
 
9140
- const _excluded$4 = ["className", "component", "elevation", "square", "variant"];
9141
- const useUtilityClasses$4 = ownerState => {
9142
- const {
9143
- square,
9144
- elevation,
9145
- variant,
9146
- classes
9147
- } = ownerState;
9148
- const slots = {
9149
- root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
9150
- };
9151
- return composeClasses(slots, getPaperUtilityClass, classes);
9152
- };
9153
- const PaperRoot = styled$1('div', {
9154
- name: 'MuiPaper',
9155
- slot: 'Root',
9156
- overridesResolver: (props, styles) => {
9157
- const {
9158
- ownerState
9159
- } = props;
9160
- return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
9161
- }
9162
- })(({
9163
- theme,
9164
- ownerState
9165
- }) => {
9166
- var _theme$vars$overlays;
9167
- return _extends({
9168
- backgroundColor: (theme.vars || theme).palette.background.paper,
9169
- color: (theme.vars || theme).palette.text.primary,
9170
- transition: theme.transitions.create('box-shadow')
9171
- }, !ownerState.square && {
9172
- borderRadius: theme.shape.borderRadius
9173
- }, ownerState.variant === 'outlined' && {
9174
- border: `1px solid ${(theme.vars || theme).palette.divider}`
9175
- }, ownerState.variant === 'elevation' && _extends({
9176
- boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
9177
- }, !theme.vars && theme.palette.mode === 'dark' && {
9178
- backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
9179
- }, theme.vars && {
9180
- backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
9181
- }));
9182
- });
9183
- const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
9184
- const props = useThemeProps({
9185
- props: inProps,
9186
- name: 'MuiPaper'
9187
- });
9188
- const {
9189
- className,
9190
- component = 'div',
9191
- elevation = 1,
9192
- square = false,
9193
- variant = 'elevation'
9194
- } = props,
9195
- other = _objectWithoutPropertiesLoose(props, _excluded$4);
9196
- const ownerState = _extends({}, props, {
9197
- component,
9198
- elevation,
9199
- square,
9200
- variant
9201
- });
9202
- const classes = useUtilityClasses$4(ownerState);
9203
- if (process.env.NODE_ENV !== 'production') {
9204
- // eslint-disable-next-line react-hooks/rules-of-hooks
9205
- const theme = useTheme();
9206
- if (theme.shadows[elevation] === undefined) {
9207
- console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
9208
- }
9209
- }
9210
- return /*#__PURE__*/jsx(PaperRoot, _extends({
9211
- as: component,
9212
- ownerState: ownerState,
9213
- className: clsx(classes.root, className),
9214
- ref: ref
9215
- }, other));
9086
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
9087
+
9088
+ const defaultTheme = createTheme();
9089
+ const Box = createBox({
9090
+ themeId: THEME_ID,
9091
+ defaultTheme,
9092
+ defaultClassName: 'MuiBox-root',
9093
+ generateClassName: ClassNameGenerator$1.generate
9216
9094
  });
9217
- process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
9095
+ process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
9218
9096
  // ----------------------------- Warning --------------------------------
9219
9097
  // | These PropTypes are generated from the TypeScript type definitions |
9220
9098
  // | To update them edit the d.ts file and run "yarn proptypes" |
9221
9099
  // ----------------------------------------------------------------------
9222
9100
  /**
9223
- * The content of the component.
9101
+ * @ignore
9224
9102
  */
9225
9103
  children: PropTypes.node,
9226
9104
  /**
9227
- * Override or extend the styles applied to the component.
9228
- */
9229
- classes: PropTypes.object,
9230
- /**
9231
- * @ignore
9232
- */
9233
- className: PropTypes.string,
9234
- /**
9235
- * The component used for the root node.
9236
- * Either a string to use a HTML element or a component.
9237
- */
9238
- component: PropTypes.elementType,
9239
- /**
9240
- * Shadow depth, corresponds to `dp` in the spec.
9241
- * It accepts values between 0 and 24 inclusive.
9242
- * @default 1
9243
- */
9244
- elevation: chainPropTypes(integerPropType, props => {
9245
- const {
9246
- elevation,
9247
- variant
9248
- } = props;
9249
- if (elevation > 0 && variant === 'outlined') {
9250
- return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
9251
- }
9252
- return null;
9253
- }),
9254
- /**
9255
- * If `true`, rounded corners are disabled.
9256
- * @default false
9257
- */
9258
- square: PropTypes.bool,
9259
- /**
9260
- * The system prop that allows defining system overrides as well as additional CSS styles.
9261
- */
9262
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9263
- /**
9264
- * The variant to use.
9265
- * @default 'elevation'
9266
- */
9267
- variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['elevation', 'outlined']), PropTypes.string])
9268
- } : void 0;
9269
- var Paper$1 = Paper;
9270
-
9271
- function getTypographyUtilityClass(slot) {
9272
- return generateUtilityClass('MuiTypography', slot);
9273
- }
9274
- generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
9275
-
9276
- const _excluded$3 = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
9277
- const useUtilityClasses$3 = ownerState => {
9278
- const {
9279
- align,
9280
- gutterBottom,
9281
- noWrap,
9282
- paragraph,
9283
- variant,
9284
- classes
9285
- } = ownerState;
9286
- const slots = {
9287
- root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']
9288
- };
9289
- return composeClasses(slots, getTypographyUtilityClass, classes);
9290
- };
9291
- const TypographyRoot = styled$1('span', {
9292
- name: 'MuiTypography',
9293
- slot: 'Root',
9294
- overridesResolver: (props, styles) => {
9295
- const {
9296
- ownerState
9297
- } = props;
9298
- return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];
9299
- }
9300
- })(({
9301
- theme,
9302
- ownerState
9303
- }) => _extends({
9304
- margin: 0
9305
- }, ownerState.variant && theme.typography[ownerState.variant], ownerState.align !== 'inherit' && {
9306
- textAlign: ownerState.align
9307
- }, ownerState.noWrap && {
9308
- overflow: 'hidden',
9309
- textOverflow: 'ellipsis',
9310
- whiteSpace: 'nowrap'
9311
- }, ownerState.gutterBottom && {
9312
- marginBottom: '0.35em'
9313
- }, ownerState.paragraph && {
9314
- marginBottom: 16
9315
- }));
9316
- const defaultVariantMapping = {
9317
- h1: 'h1',
9318
- h2: 'h2',
9319
- h3: 'h3',
9320
- h4: 'h4',
9321
- h5: 'h5',
9322
- h6: 'h6',
9323
- subtitle1: 'h6',
9324
- subtitle2: 'h6',
9325
- body1: 'p',
9326
- body2: 'p',
9327
- inherit: 'p'
9328
- };
9329
-
9330
- // TODO v6: deprecate these color values in v5.x and remove the transformation in v6
9331
- const colorTransformations = {
9332
- primary: 'primary.main',
9333
- textPrimary: 'text.primary',
9334
- secondary: 'secondary.main',
9335
- textSecondary: 'text.secondary',
9336
- error: 'error.main'
9337
- };
9338
- const transformDeprecatedColors = color => {
9339
- return colorTransformations[color] || color;
9340
- };
9341
- const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {
9342
- const themeProps = useThemeProps({
9343
- props: inProps,
9344
- name: 'MuiTypography'
9345
- });
9346
- const color = transformDeprecatedColors(themeProps.color);
9347
- const props = extendSxProp(_extends({}, themeProps, {
9348
- color
9349
- }));
9350
- const {
9351
- align = 'inherit',
9352
- className,
9353
- component,
9354
- gutterBottom = false,
9355
- noWrap = false,
9356
- paragraph = false,
9357
- variant = 'body1',
9358
- variantMapping = defaultVariantMapping
9359
- } = props,
9360
- other = _objectWithoutPropertiesLoose(props, _excluded$3);
9361
- const ownerState = _extends({}, props, {
9362
- align,
9363
- color,
9364
- className,
9365
- component,
9366
- gutterBottom,
9367
- noWrap,
9368
- paragraph,
9369
- variant,
9370
- variantMapping
9371
- });
9372
- const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
9373
- const classes = useUtilityClasses$3(ownerState);
9374
- return /*#__PURE__*/jsx(TypographyRoot, _extends({
9375
- as: Component,
9376
- ref: ref,
9377
- ownerState: ownerState,
9378
- className: clsx(classes.root, className)
9379
- }, other));
9380
- });
9381
- process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes */ = {
9382
- // ----------------------------- Warning --------------------------------
9383
- // | These PropTypes are generated from the TypeScript type definitions |
9384
- // | To update them edit the d.ts file and run "yarn proptypes" |
9385
- // ----------------------------------------------------------------------
9386
- /**
9387
- * Set the text-align on the component.
9388
- * @default 'inherit'
9389
- */
9390
- align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),
9391
- /**
9392
- * The content of the component.
9393
- */
9394
- children: PropTypes.node,
9395
- /**
9396
- * Override or extend the styles applied to the component.
9397
- */
9398
- classes: PropTypes.object,
9399
- /**
9400
- * @ignore
9401
- */
9402
- className: PropTypes.string,
9403
- /**
9404
- * The component used for the root node.
9405
- * Either a string to use a HTML element or a component.
9406
- */
9407
- component: PropTypes.elementType,
9408
- /**
9409
- * If `true`, the text will have a bottom margin.
9410
- * @default false
9411
- */
9412
- gutterBottom: PropTypes.bool,
9413
- /**
9414
- * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
9415
- *
9416
- * Note that text overflow can only happen with block or inline-block level elements
9417
- * (the element needs to have a width in order to overflow).
9418
- * @default false
9419
- */
9420
- noWrap: PropTypes.bool,
9421
- /**
9422
- * If `true`, the element will be a paragraph element.
9423
- * @default false
9424
- */
9425
- paragraph: PropTypes.bool,
9426
- /**
9427
- * The system prop that allows defining system overrides as well as additional CSS styles.
9428
- */
9429
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
9430
- /**
9431
- * Applies the theme typography styles.
9432
- * @default 'body1'
9433
- */
9434
- variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string]),
9435
- /**
9436
- * The component maps the variant prop to a range of different HTML element types.
9437
- * For instance, subtitle1 to `<h6>`.
9438
- * If you wish to change that mapping, you can provide your own.
9439
- * Alternatively, you can use the `component` prop.
9440
- * @default {
9441
- * h1: 'h1',
9442
- * h2: 'h2',
9443
- * h3: 'h3',
9444
- * h4: 'h4',
9445
- * h5: 'h5',
9446
- * h6: 'h6',
9447
- * subtitle1: 'h6',
9448
- * subtitle2: 'h6',
9449
- * body1: 'p',
9450
- * body2: 'p',
9451
- * inherit: 'p',
9452
- * }
9453
- */
9454
- variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object
9455
- } : void 0;
9456
- var Typography$1 = Typography;
9457
-
9458
- function getCardUtilityClass(slot) {
9459
- return generateUtilityClass('MuiCard', slot);
9460
- }
9461
- generateUtilityClasses('MuiCard', ['root']);
9462
-
9463
- const _excluded$2 = ["className", "raised"];
9464
- const useUtilityClasses$2 = ownerState => {
9465
- const {
9466
- classes
9467
- } = ownerState;
9468
- const slots = {
9469
- root: ['root']
9470
- };
9471
- return composeClasses(slots, getCardUtilityClass, classes);
9472
- };
9473
- const CardRoot = styled$1(Paper$1, {
9474
- name: 'MuiCard',
9475
- slot: 'Root',
9476
- overridesResolver: (props, styles) => styles.root
9477
- })(() => {
9478
- return {
9479
- overflow: 'hidden'
9480
- };
9481
- });
9482
- const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
9483
- const props = useThemeProps({
9484
- props: inProps,
9485
- name: 'MuiCard'
9486
- });
9487
- const {
9488
- className,
9489
- raised = false
9490
- } = props,
9491
- other = _objectWithoutPropertiesLoose(props, _excluded$2);
9492
- const ownerState = _extends({}, props, {
9493
- raised
9494
- });
9495
- const classes = useUtilityClasses$2(ownerState);
9496
- return /*#__PURE__*/jsx(CardRoot, _extends({
9497
- className: clsx(classes.root, className),
9498
- elevation: raised ? 8 : undefined,
9499
- ref: ref,
9500
- ownerState: ownerState
9501
- }, other));
9502
- });
9503
- process.env.NODE_ENV !== "production" ? Card.propTypes /* remove-proptypes */ = {
9504
- // ----------------------------- Warning --------------------------------
9505
- // | These PropTypes are generated from the TypeScript type definitions |
9506
- // | To update them edit the d.ts file and run "yarn proptypes" |
9507
- // ----------------------------------------------------------------------
9508
- /**
9509
- * The content of the component.
9510
- */
9511
- children: PropTypes.node,
9512
- /**
9513
- * Override or extend the styles applied to the component.
9514
- */
9515
- classes: PropTypes.object,
9516
- /**
9517
- * @ignore
9518
- */
9519
- className: PropTypes.string,
9520
- /**
9521
- * If `true`, the card will use raised styling.
9522
- * @default false
9523
- */
9524
- raised: chainPropTypes(PropTypes.bool, props => {
9525
- if (props.raised && props.variant === 'outlined') {
9526
- return new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.');
9527
- }
9528
- return null;
9529
- }),
9530
- /**
9531
- * The system prop that allows defining system overrides as well as additional CSS styles.
9532
- */
9533
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9534
- } : void 0;
9535
- var Card$1 = Card;
9536
-
9537
- function getCardContentUtilityClass(slot) {
9538
- return generateUtilityClass('MuiCardContent', slot);
9539
- }
9540
- generateUtilityClasses('MuiCardContent', ['root']);
9541
-
9542
- const _excluded$1 = ["className", "component"];
9543
- const useUtilityClasses$1 = ownerState => {
9544
- const {
9545
- classes
9546
- } = ownerState;
9547
- const slots = {
9548
- root: ['root']
9549
- };
9550
- return composeClasses(slots, getCardContentUtilityClass, classes);
9551
- };
9552
- const CardContentRoot = styled$1('div', {
9553
- name: 'MuiCardContent',
9554
- slot: 'Root',
9555
- overridesResolver: (props, styles) => styles.root
9556
- })(() => {
9557
- return {
9558
- padding: 16,
9559
- '&:last-child': {
9560
- paddingBottom: 24
9561
- }
9562
- };
9563
- });
9564
- const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps, ref) {
9565
- const props = useThemeProps({
9566
- props: inProps,
9567
- name: 'MuiCardContent'
9568
- });
9569
- const {
9570
- className,
9571
- component = 'div'
9572
- } = props,
9573
- other = _objectWithoutPropertiesLoose(props, _excluded$1);
9574
- const ownerState = _extends({}, props, {
9575
- component
9576
- });
9577
- const classes = useUtilityClasses$1(ownerState);
9578
- return /*#__PURE__*/jsx(CardContentRoot, _extends({
9579
- as: component,
9580
- className: clsx(classes.root, className),
9581
- ownerState: ownerState,
9582
- ref: ref
9583
- }, other));
9584
- });
9585
- process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptypes */ = {
9586
- // ----------------------------- Warning --------------------------------
9587
- // | These PropTypes are generated from the TypeScript type definitions |
9588
- // | To update them edit the d.ts file and run "yarn proptypes" |
9589
- // ----------------------------------------------------------------------
9590
- /**
9591
- * The content of the component.
9592
- */
9593
- children: PropTypes.node,
9594
- /**
9595
- * Override or extend the styles applied to the component.
9596
- */
9597
- classes: PropTypes.object,
9598
- /**
9599
- * @ignore
9600
- */
9601
- className: PropTypes.string,
9602
- /**
9603
- * The component used for the root node.
9604
- * Either a string to use a HTML element or a component.
9105
+ * The component used for the root node.
9106
+ * Either a string to use a HTML element or a component.
9605
9107
  */
9606
9108
  component: PropTypes.elementType,
9607
9109
  /**
@@ -9609,138 +9111,7 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptype
9609
9111
  */
9610
9112
  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9611
9113
  } : void 0;
9612
- var CardContent$1 = CardContent;
9613
-
9614
- function getCardMediaUtilityClass(slot) {
9615
- return generateUtilityClass('MuiCardMedia', slot);
9616
- }
9617
- generateUtilityClasses('MuiCardMedia', ['root', 'media', 'img']);
9618
-
9619
- const _excluded = ["children", "className", "component", "image", "src", "style"];
9620
- const useUtilityClasses = ownerState => {
9621
- const {
9622
- classes,
9623
- isMediaComponent,
9624
- isImageComponent
9625
- } = ownerState;
9626
- const slots = {
9627
- root: ['root', isMediaComponent && 'media', isImageComponent && 'img']
9628
- };
9629
- return composeClasses(slots, getCardMediaUtilityClass, classes);
9630
- };
9631
- const CardMediaRoot = styled$1('div', {
9632
- name: 'MuiCardMedia',
9633
- slot: 'Root',
9634
- overridesResolver: (props, styles) => {
9635
- const {
9636
- ownerState
9637
- } = props;
9638
- const {
9639
- isMediaComponent,
9640
- isImageComponent
9641
- } = ownerState;
9642
- return [styles.root, isMediaComponent && styles.media, isImageComponent && styles.img];
9643
- }
9644
- })(({
9645
- ownerState
9646
- }) => _extends({
9647
- display: 'block',
9648
- backgroundSize: 'cover',
9649
- backgroundRepeat: 'no-repeat',
9650
- backgroundPosition: 'center'
9651
- }, ownerState.isMediaComponent && {
9652
- width: '100%'
9653
- }, ownerState.isImageComponent && {
9654
- // ⚠️ object-fit is not supported by IE11.
9655
- objectFit: 'cover'
9656
- }));
9657
- const MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
9658
- const IMAGE_COMPONENTS = ['picture', 'img'];
9659
- const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
9660
- const props = useThemeProps({
9661
- props: inProps,
9662
- name: 'MuiCardMedia'
9663
- });
9664
- const {
9665
- children,
9666
- className,
9667
- component = 'div',
9668
- image,
9669
- src,
9670
- style
9671
- } = props,
9672
- other = _objectWithoutPropertiesLoose(props, _excluded);
9673
- const isMediaComponent = MEDIA_COMPONENTS.indexOf(component) !== -1;
9674
- const composedStyle = !isMediaComponent && image ? _extends({
9675
- backgroundImage: `url("${image}")`
9676
- }, style) : style;
9677
- const ownerState = _extends({}, props, {
9678
- component,
9679
- isMediaComponent,
9680
- isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
9681
- });
9682
- const classes = useUtilityClasses(ownerState);
9683
- return /*#__PURE__*/jsx(CardMediaRoot, _extends({
9684
- className: clsx(classes.root, className),
9685
- as: component,
9686
- role: !isMediaComponent && image ? 'img' : undefined,
9687
- ref: ref,
9688
- style: composedStyle,
9689
- ownerState: ownerState,
9690
- src: isMediaComponent ? image || src : undefined
9691
- }, other, {
9692
- children: children
9693
- }));
9694
- });
9695
- process.env.NODE_ENV !== "production" ? CardMedia.propTypes /* remove-proptypes */ = {
9696
- // ----------------------------- Warning --------------------------------
9697
- // | These PropTypes are generated from the TypeScript type definitions |
9698
- // | To update them edit the d.ts file and run "yarn proptypes" |
9699
- // ----------------------------------------------------------------------
9700
- /**
9701
- * The content of the component.
9702
- */
9703
- children: chainPropTypes(PropTypes.node, props => {
9704
- if (!props.children && !props.image && !props.src && !props.component) {
9705
- return new Error('MUI: Either `children`, `image`, `src` or `component` prop must be specified.');
9706
- }
9707
- return null;
9708
- }),
9709
- /**
9710
- * Override or extend the styles applied to the component.
9711
- */
9712
- classes: PropTypes.object,
9713
- /**
9714
- * @ignore
9715
- */
9716
- className: PropTypes.string,
9717
- /**
9718
- * The component used for the root node.
9719
- * Either a string to use a HTML element or a component.
9720
- */
9721
- component: PropTypes.elementType,
9722
- /**
9723
- * Image to be displayed as a background image.
9724
- * Either `image` or `src` prop must be specified.
9725
- * Note that caller must specify height otherwise the image will not be visible.
9726
- */
9727
- image: PropTypes.string,
9728
- /**
9729
- * An alias for `image` property.
9730
- * Available only with media components.
9731
- * Media components: `video`, `audio`, `picture`, `iframe`, `img`.
9732
- */
9733
- src: PropTypes.string,
9734
- /**
9735
- * @ignore
9736
- */
9737
- style: PropTypes.object,
9738
- /**
9739
- * The system prop that allows defining system overrides as well as additional CSS styles.
9740
- */
9741
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
9742
- } : void 0;
9743
- var CardMedia$1 = CardMedia;
9114
+ var Box$1 = Box;
9744
9115
 
9745
9116
  const Stack = createStack({
9746
9117
  createStyledComponent: styled$1('div', {
@@ -9799,57 +9170,81 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes /* remove-proptypes */ =
9799
9170
  } : void 0;
9800
9171
  var Stack$1 = Stack;
9801
9172
 
9802
- var UrlImage;
9803
- (function (UrlImage) {
9804
- UrlImage["error"] = "src/assets/images/error.svg";
9805
- UrlImage["search"] = "src/assets/images/search.svg";
9806
- UrlImage["noresult"] = "src/assets/images/noresult.svg";
9807
- UrlImage["create"] = "src/assets/images/create.svg";
9808
- })(UrlImage || (UrlImage = {}));
9809
- const EmptyState = ({
9810
- state: _state = 'create',
9811
- title,
9812
- content,
9813
- actions
9814
- }) => {
9815
- return jsx(Card$1, {
9816
- elevation: 1,
9817
- children: jsxs(CardContent$1, {
9818
- sx: {
9819
- display: 'flex',
9820
- alignItems: 'center',
9821
- justifyContent: 'center',
9822
- flexDirection: 'column',
9823
- gap: 4
9824
- },
9825
- children: [jsx(CardMedia$1, {
9826
- component: "img",
9827
- src: UrlImage[_state],
9828
- sx: {
9829
- width: 206,
9830
- height: 187
9831
- }
9832
- }), jsxs(Stack$1, {
9833
- direction: "column",
9834
- spacing: 2,
9835
- children: [title && jsx(Typography$1, {
9836
- variant: "h6",
9837
- textAlign: "center",
9838
- children: title
9839
- }), content && jsx(Typography$1, {
9840
- variant: "body1",
9841
- textAlign: "center",
9842
- color: "text.secondary",
9843
- children: content
9844
- }), _state === 'create' && actions && jsx(Stack$1, {
9845
- direction: "row",
9846
- spacing: 2,
9847
- justifyContent: "center",
9848
- children: actions
9849
- })]
9850
- })]
9851
- })
9852
- });
9853
- };
9173
+ styled$1(Stack$1)(() => ({
9174
+ position: "fixed",
9175
+ zIndex: 1400,
9176
+ boxShadow: "0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)",
9177
+ right: 16,
9178
+ marginTop: 16
9179
+ }));
9180
+ styled$1(Box$1)(({
9181
+ theme
9182
+ }) => ({
9183
+ padding: theme.spacing(1.5),
9184
+ gap: theme.spacing(1.5),
9185
+ display: "flex",
9186
+ alignItems: "center",
9187
+ "&.color-error": {
9188
+ backgroundColor: "#FEEBEE"
9189
+ },
9190
+ "&.color-info": {
9191
+ backgroundColor: "#E1F5FE"
9192
+ },
9193
+ "&.color-warning": {
9194
+ backgroundColor: "#FFF3E0"
9195
+ },
9196
+ "&.color-success": {
9197
+ backgroundColor: "#E8F5E9"
9198
+ }
9199
+ }));
9200
+ styled$1(Stack$1)(({
9201
+ theme
9202
+ }) => ({
9203
+ padding: theme.spacing(1),
9204
+ gap: theme.spacing(1),
9205
+ height: 20,
9206
+ borderRadius: 50,
9207
+ "&.ripple-error": {
9208
+ backgroundColor: "#D143431F"
9209
+ },
9210
+ "&.ripple-info": {
9211
+ backgroundColor: "#2D9FC51F"
9212
+ },
9213
+ "&.ripple-warning": {
9214
+ backgroundColor: "#FB85001F"
9215
+ },
9216
+ "&.ripple-success": {
9217
+ backgroundColor: "#8FC93A1F"
9218
+ }
9219
+ }));
9220
+ styled$1(Stack$1)(({
9221
+ theme
9222
+ }) => ({
9223
+ "&.icon-color.color-info": {
9224
+ color: theme.palette.info.main
9225
+ },
9226
+ "&.icon-color.color-error": {
9227
+ color: theme.palette.error.main
9228
+ },
9229
+ "&.icon-color.color-warning": {
9230
+ color: theme.palette.warning.main
9231
+ },
9232
+ "&.icon-color.color-success": {
9233
+ color: theme.palette.success.main
9234
+ }
9235
+ }));
9236
+
9237
+ styled$1(Stack$1)(({
9238
+ theme
9239
+ }) => ({
9240
+ backgroundColor: "#fff",
9241
+ boxShadow: "0px 1px 3px rgba(24, 39, 75, 0.12), 0px 1px 1px -1px rgba(24, 39, 75, 0.14), 0px 2px 1px -2px rgba(24, 39, 75, 0.2)",
9242
+ zIndex: 100,
9243
+ padding: "8px 24px",
9244
+ justifyContent: "space-between",
9245
+ minHeight: 39,
9246
+ position: "fixed",
9247
+ width: "100%"
9248
+ }));
9854
9249
 
9855
- export { EmptyState, SincoTheme, UrlImage };
9250
+ export { SincoTheme };