@sinco/react 1.0.14-rc.23 → 1.0.14-rc.24
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 +425 -310
- package/package.json +1 -1
package/index.js
CHANGED
@@ -22,11 +22,11 @@ function getAugmentedNamespace(n) {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
var check = function (it) {
|
25
|
-
return it && it.Math
|
25
|
+
return it && it.Math === Math && it;
|
26
26
|
};
|
27
27
|
|
28
28
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
29
|
-
var global$
|
29
|
+
var global$l =
|
30
30
|
// eslint-disable-next-line es/no-global-this -- safe
|
31
31
|
check(typeof globalThis == 'object' && globalThis) ||
|
32
32
|
check(typeof window == 'object' && window) ||
|
@@ -51,7 +51,7 @@ var fails$g = fails$h;
|
|
51
51
|
// Detect IE8's incomplete defineProperty implementation
|
52
52
|
var descriptors = !fails$g(function () {
|
53
53
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
54
|
-
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1]
|
54
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
55
55
|
});
|
56
56
|
|
57
57
|
var fails$f = fails$h;
|
@@ -130,7 +130,7 @@ var indexedObject = fails$e(function () {
|
|
130
130
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
131
131
|
return !$Object$4('z').propertyIsEnumerable(0);
|
132
132
|
}) ? function (it) {
|
133
|
-
return classof$6(it)
|
133
|
+
return classof$6(it) === 'String' ? split(it, '') : $Object$4(it);
|
134
134
|
} : $Object$4;
|
135
135
|
|
136
136
|
// we can't use just `it == null` since of `document.all` special case
|
@@ -146,7 +146,7 @@ var $TypeError$d = TypeError;
|
|
146
146
|
// `RequireObjectCoercible` abstract operation
|
147
147
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
148
148
|
var requireObjectCoercible$3 = function (it) {
|
149
|
-
if (isNullOrUndefined$4(it)) throw $TypeError$d("Can't call method on " + it);
|
149
|
+
if (isNullOrUndefined$4(it)) throw new $TypeError$d("Can't call method on " + it);
|
150
150
|
return it;
|
151
151
|
};
|
152
152
|
|
@@ -192,7 +192,7 @@ var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {
|
|
192
192
|
return typeof it == 'object' ? it !== null : isCallable$k(it);
|
193
193
|
};
|
194
194
|
|
195
|
-
var global$
|
195
|
+
var global$k = global$l;
|
196
196
|
var isCallable$j = isCallable$l;
|
197
197
|
|
198
198
|
var aFunction = function (argument) {
|
@@ -200,7 +200,7 @@ var aFunction = function (argument) {
|
|
200
200
|
};
|
201
201
|
|
202
202
|
var getBuiltIn$7 = function (namespace, method) {
|
203
|
-
return arguments.length < 2 ? aFunction(global$
|
203
|
+
return arguments.length < 2 ? aFunction(global$k[namespace]) : global$k[namespace] && global$k[namespace][method];
|
204
204
|
};
|
205
205
|
|
206
206
|
var uncurryThis$e = functionUncurryThis;
|
@@ -209,11 +209,11 @@ var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
|
|
209
209
|
|
210
210
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
211
211
|
|
212
|
-
var global$
|
212
|
+
var global$j = global$l;
|
213
213
|
var userAgent$3 = engineUserAgent;
|
214
214
|
|
215
|
-
var process$4 = global$
|
216
|
-
var Deno$1 = global$
|
215
|
+
var process$4 = global$j.process;
|
216
|
+
var Deno$1 = global$j.Deno;
|
217
217
|
var versions = process$4 && process$4.versions || Deno$1 && Deno$1.version;
|
218
218
|
var v8 = versions && versions.v8;
|
219
219
|
var match$1, version;
|
@@ -238,16 +238,15 @@ if (!version && userAgent$3) {
|
|
238
238
|
var engineV8Version = version;
|
239
239
|
|
240
240
|
/* eslint-disable es/no-symbol -- required for testing */
|
241
|
-
|
242
241
|
var V8_VERSION$1 = engineV8Version;
|
243
242
|
var fails$d = fails$h;
|
244
|
-
var global$
|
243
|
+
var global$i = global$l;
|
245
244
|
|
246
|
-
var $String$5 = global$
|
245
|
+
var $String$5 = global$i.String;
|
247
246
|
|
248
247
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
249
248
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
|
250
|
-
var symbol = Symbol();
|
249
|
+
var symbol = Symbol('symbol detection');
|
251
250
|
// Chrome 38 Symbol has incorrect toString conversion
|
252
251
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
253
252
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
@@ -258,7 +257,6 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(func
|
|
258
257
|
});
|
259
258
|
|
260
259
|
/* eslint-disable es/no-symbol -- required for testing */
|
261
|
-
|
262
260
|
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
263
261
|
|
264
262
|
var useSymbolAsUid = NATIVE_SYMBOL$1
|
@@ -297,7 +295,7 @@ var $TypeError$c = TypeError;
|
|
297
295
|
// `Assert: IsCallable(argument) is true`
|
298
296
|
var aCallable$8 = function (argument) {
|
299
297
|
if (isCallable$h(argument)) return argument;
|
300
|
-
throw $TypeError$c(tryToString$3(argument) + ' is not a function');
|
298
|
+
throw new $TypeError$c(tryToString$3(argument) + ' is not a function');
|
301
299
|
};
|
302
300
|
|
303
301
|
var aCallable$7 = aCallable$8;
|
@@ -323,29 +321,29 @@ var ordinaryToPrimitive$1 = function (input, pref) {
|
|
323
321
|
if (pref === 'string' && isCallable$g(fn = input.toString) && !isObject$7(val = call$f(fn, input))) return val;
|
324
322
|
if (isCallable$g(fn = input.valueOf) && !isObject$7(val = call$f(fn, input))) return val;
|
325
323
|
if (pref !== 'string' && isCallable$g(fn = input.toString) && !isObject$7(val = call$f(fn, input))) return val;
|
326
|
-
throw $TypeError$b("Can't convert object to primitive value");
|
324
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
327
325
|
};
|
328
326
|
|
329
327
|
var shared$4 = {exports: {}};
|
330
328
|
|
331
|
-
var global$
|
329
|
+
var global$h = global$l;
|
332
330
|
|
333
331
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
334
332
|
var defineProperty$6 = Object.defineProperty;
|
335
333
|
|
336
334
|
var defineGlobalProperty$3 = function (key, value) {
|
337
335
|
try {
|
338
|
-
defineProperty$6(global$
|
336
|
+
defineProperty$6(global$h, key, { value: value, configurable: true, writable: true });
|
339
337
|
} catch (error) {
|
340
|
-
global$
|
338
|
+
global$h[key] = value;
|
341
339
|
} return value;
|
342
340
|
};
|
343
341
|
|
344
|
-
var global$
|
342
|
+
var global$g = global$l;
|
345
343
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
346
344
|
|
347
345
|
var SHARED = '__core-js_shared__';
|
348
|
-
var store$3 = global$
|
346
|
+
var store$3 = global$g[SHARED] || defineGlobalProperty$2(SHARED, {});
|
349
347
|
|
350
348
|
var sharedStore = store$3;
|
351
349
|
|
@@ -354,10 +352,10 @@ var store$2 = sharedStore;
|
|
354
352
|
(shared$4.exports = function (key, value) {
|
355
353
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
356
354
|
})('versions', []).push({
|
357
|
-
version: '3.
|
355
|
+
version: '3.33.0',
|
358
356
|
mode: 'global',
|
359
357
|
copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
|
360
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
358
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE',
|
361
359
|
source: 'https://github.com/zloirock/core-js'
|
362
360
|
});
|
363
361
|
|
@@ -393,14 +391,14 @@ var uid$2 = function (key) {
|
|
393
391
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
|
394
392
|
};
|
395
393
|
|
396
|
-
var global$
|
394
|
+
var global$f = global$l;
|
397
395
|
var shared$3 = shared$4.exports;
|
398
396
|
var hasOwn$9 = hasOwnProperty_1;
|
399
397
|
var uid$1 = uid$2;
|
400
398
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
401
399
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
402
400
|
|
403
|
-
var Symbol$1 = global$
|
401
|
+
var Symbol$1 = global$f.Symbol;
|
404
402
|
var WellKnownSymbolsStore = shared$3('wks');
|
405
403
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
406
404
|
|
@@ -432,7 +430,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
432
430
|
if (pref === undefined) pref = 'default';
|
433
431
|
result = call$e(exoticToPrim, input, pref);
|
434
432
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
435
|
-
throw $TypeError$a("Can't convert object to primitive value");
|
433
|
+
throw new $TypeError$a("Can't convert object to primitive value");
|
436
434
|
}
|
437
435
|
if (pref === undefined) pref = 'number';
|
438
436
|
return ordinaryToPrimitive(input, pref);
|
@@ -448,10 +446,10 @@ var toPropertyKey$2 = function (argument) {
|
|
448
446
|
return isSymbol(key) ? key : key + '';
|
449
447
|
};
|
450
448
|
|
451
|
-
var global$
|
449
|
+
var global$e = global$l;
|
452
450
|
var isObject$5 = isObject$8;
|
453
451
|
|
454
|
-
var document$3 = global$
|
452
|
+
var document$3 = global$e.document;
|
455
453
|
// typeof document.createElement is 'object' in old IE
|
456
454
|
var EXISTS$1 = isObject$5(document$3) && isObject$5(document$3.createElement);
|
457
455
|
|
@@ -468,7 +466,7 @@ var ie8DomDefine = !DESCRIPTORS$a && !fails$c(function () {
|
|
468
466
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
469
467
|
return Object.defineProperty(createElement$1('div'), 'a', {
|
470
468
|
get: function () { return 7; }
|
471
|
-
}).a
|
469
|
+
}).a !== 7;
|
472
470
|
});
|
473
471
|
|
474
472
|
var DESCRIPTORS$9 = descriptors;
|
@@ -506,7 +504,7 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$b(function () {
|
|
506
504
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
507
505
|
value: 42,
|
508
506
|
writable: false
|
509
|
-
}).prototype
|
507
|
+
}).prototype !== 42;
|
510
508
|
});
|
511
509
|
|
512
510
|
var isObject$4 = isObject$8;
|
@@ -517,7 +515,7 @@ var $TypeError$9 = TypeError;
|
|
517
515
|
// `Assert: Type(argument) is Object`
|
518
516
|
var anObject$d = function (argument) {
|
519
517
|
if (isObject$4(argument)) return argument;
|
520
|
-
throw $TypeError$9($String$3(argument) + ' is not an object');
|
518
|
+
throw new $TypeError$9($String$3(argument) + ' is not an object');
|
521
519
|
};
|
522
520
|
|
523
521
|
var DESCRIPTORS$7 = descriptors;
|
@@ -559,7 +557,7 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
559
557
|
if (IE8_DOM_DEFINE) try {
|
560
558
|
return $defineProperty(O, P, Attributes);
|
561
559
|
} catch (error) { /* empty */ }
|
562
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$8('Accessors not supported');
|
560
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$8('Accessors not supported');
|
563
561
|
if ('value' in Attributes) O[P] = Attributes.value;
|
564
562
|
return O;
|
565
563
|
};
|
@@ -610,10 +608,10 @@ if (!isCallable$f(store$1.inspectSource)) {
|
|
610
608
|
|
611
609
|
var inspectSource$3 = store$1.inspectSource;
|
612
610
|
|
613
|
-
var global$
|
611
|
+
var global$d = global$l;
|
614
612
|
var isCallable$e = isCallable$l;
|
615
613
|
|
616
|
-
var WeakMap$2 = global$
|
614
|
+
var WeakMap$2 = global$d.WeakMap;
|
617
615
|
|
618
616
|
var weakMapBasicDetection = isCallable$e(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
619
617
|
|
@@ -629,7 +627,7 @@ var sharedKey$3 = function (key) {
|
|
629
627
|
var hiddenKeys$4 = {};
|
630
628
|
|
631
629
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
632
|
-
var global$
|
630
|
+
var global$c = global$l;
|
633
631
|
var isObject$3 = isObject$8;
|
634
632
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
|
635
633
|
var hasOwn$6 = hasOwnProperty_1;
|
@@ -638,8 +636,8 @@ var sharedKey$2 = sharedKey$3;
|
|
638
636
|
var hiddenKeys$3 = hiddenKeys$4;
|
639
637
|
|
640
638
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
641
|
-
var TypeError$2 = global$
|
642
|
-
var WeakMap$1 = global$
|
639
|
+
var TypeError$2 = global$c.TypeError;
|
640
|
+
var WeakMap$1 = global$c.WeakMap;
|
643
641
|
var set$1, get, has$3;
|
644
642
|
|
645
643
|
var enforce = function (it) {
|
@@ -650,7 +648,7 @@ var getterFor = function (TYPE) {
|
|
650
648
|
return function (it) {
|
651
649
|
var state;
|
652
650
|
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
653
|
-
throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
651
|
+
throw new TypeError$2('Incompatible receiver, ' + TYPE + ' required');
|
654
652
|
} return state;
|
655
653
|
};
|
656
654
|
};
|
@@ -663,7 +661,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
663
661
|
store.set = store.set;
|
664
662
|
/* eslint-enable no-self-assign -- prototype methods protection */
|
665
663
|
set$1 = function (it, metadata) {
|
666
|
-
if (store.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
664
|
+
if (store.has(it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
667
665
|
metadata.facade = it;
|
668
666
|
store.set(it, metadata);
|
669
667
|
return metadata;
|
@@ -678,7 +676,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
678
676
|
var STATE = sharedKey$2('state');
|
679
677
|
hiddenKeys$3[STATE] = true;
|
680
678
|
set$1 = function (it, metadata) {
|
681
|
-
if (hasOwn$6(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
679
|
+
if (hasOwn$6(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
|
682
680
|
metadata.facade = it;
|
683
681
|
createNonEnumerableProperty$4(it, STATE, metadata);
|
684
682
|
return metadata;
|
@@ -849,10 +847,10 @@ var createMethod = function (IS_INCLUDES) {
|
|
849
847
|
var value;
|
850
848
|
// Array#includes uses SameValueZero equality algorithm
|
851
849
|
// eslint-disable-next-line no-self-compare -- NaN check
|
852
|
-
if (IS_INCLUDES && el
|
850
|
+
if (IS_INCLUDES && el !== el) while (length > index) {
|
853
851
|
value = O[index++];
|
854
852
|
// eslint-disable-next-line no-self-compare -- NaN check
|
855
|
-
if (value
|
853
|
+
if (value !== value) return true;
|
856
854
|
// Array#indexOf ignores holes, Array#includes - not
|
857
855
|
} else for (;length > index; index++) {
|
858
856
|
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
@@ -957,8 +955,8 @@ var replacement = /#|\.prototype\./;
|
|
957
955
|
|
958
956
|
var isForced$2 = function (feature, detection) {
|
959
957
|
var value = data[normalize(feature)];
|
960
|
-
return value
|
961
|
-
: value
|
958
|
+
return value === POLYFILL ? true
|
959
|
+
: value === NATIVE ? false
|
962
960
|
: isCallable$b(detection) ? fails$9(detection)
|
963
961
|
: !!detection;
|
964
962
|
};
|
@@ -973,7 +971,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
|
|
973
971
|
|
974
972
|
var isForced_1 = isForced$2;
|
975
973
|
|
976
|
-
var global$
|
974
|
+
var global$b = global$l;
|
977
975
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
978
976
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
|
979
977
|
var defineBuiltIn$5 = defineBuiltIn$6;
|
@@ -1002,11 +1000,11 @@ var _export = function (options, source) {
|
|
1002
1000
|
var STATIC = options.stat;
|
1003
1001
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
1004
1002
|
if (GLOBAL) {
|
1005
|
-
target = global$
|
1003
|
+
target = global$b;
|
1006
1004
|
} else if (STATIC) {
|
1007
|
-
target = global$
|
1005
|
+
target = global$b[TARGET] || defineGlobalProperty(TARGET, {});
|
1008
1006
|
} else {
|
1009
|
-
target = (global$
|
1007
|
+
target = (global$b[TARGET] || {}).prototype;
|
1010
1008
|
}
|
1011
1009
|
if (target) for (key in source) {
|
1012
1010
|
sourceProperty = source[key];
|
@@ -1071,11 +1069,11 @@ var objectAssign$1 = !$assign || fails$8(function () {
|
|
1071
1069
|
var A = {};
|
1072
1070
|
var B = {};
|
1073
1071
|
// eslint-disable-next-line es/no-symbol -- safe
|
1074
|
-
var symbol = Symbol();
|
1072
|
+
var symbol = Symbol('assign detection');
|
1075
1073
|
var alphabet = 'abcdefghijklmnopqrst';
|
1076
1074
|
A[symbol] = 7;
|
1077
1075
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1078
|
-
return $assign({}, A)[symbol]
|
1076
|
+
return $assign({}, A)[symbol] !== 7 || objectKeys$1($assign({}, B)).join('') !== alphabet;
|
1079
1077
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1080
1078
|
var T = toObject$2(target);
|
1081
1079
|
var argumentsLength = arguments.length;
|
@@ -1114,8 +1112,8 @@ function chainPropTypes(propType1, propType2) {
|
|
1114
1112
|
};
|
1115
1113
|
}
|
1116
1114
|
|
1117
|
-
function _extends() {
|
1118
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
1115
|
+
function _extends$5() {
|
1116
|
+
_extends$5 = Object.assign ? Object.assign.bind() : function (target) {
|
1119
1117
|
for (var i = 1; i < arguments.length; i++) {
|
1120
1118
|
var source = arguments[i];
|
1121
1119
|
for (var key in source) {
|
@@ -1126,7 +1124,7 @@ function _extends() {
|
|
1126
1124
|
}
|
1127
1125
|
return target;
|
1128
1126
|
};
|
1129
|
-
return _extends.apply(this, arguments);
|
1127
|
+
return _extends$5.apply(this, arguments);
|
1130
1128
|
}
|
1131
1129
|
|
1132
1130
|
function isPlainObject(item) {
|
@@ -1145,7 +1143,7 @@ function deepClone(source) {
|
|
1145
1143
|
function deepmerge(target, source, options = {
|
1146
1144
|
clone: true
|
1147
1145
|
}) {
|
1148
|
-
const output = options.clone ? _extends({}, target) : target;
|
1146
|
+
const output = options.clone ? _extends$5({}, target) : target;
|
1149
1147
|
if (isPlainObject(target) && isPlainObject(source)) {
|
1150
1148
|
Object.keys(source).forEach(key => {
|
1151
1149
|
// Avoid prototype pollution
|
@@ -1180,11 +1178,11 @@ var reactIs_production_min$2 = {};
|
|
1180
1178
|
* LICENSE file in the root directory of this source tree.
|
1181
1179
|
*/
|
1182
1180
|
var b$2="function"===typeof Symbol&&Symbol.for,c$2=b$2?Symbol.for("react.element"):60103,d$2=b$2?Symbol.for("react.portal"):60106,e$2=b$2?Symbol.for("react.fragment"):60107,f$2=b$2?Symbol.for("react.strict_mode"):60108,g$2=b$2?Symbol.for("react.profiler"):60114,h$2=b$2?Symbol.for("react.provider"):60109,k$2=b$2?Symbol.for("react.context"):60110,l$2=b$2?Symbol.for("react.async_mode"):60111,m$2=b$2?Symbol.for("react.concurrent_mode"):60111,n$2=b$2?Symbol.for("react.forward_ref"):60112,p$2=b$2?Symbol.for("react.suspense"):60113,q$2=b$2?
|
1183
|
-
Symbol.for("react.suspense_list"):60120,r$
|
1184
|
-
function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$2:case m$2:case e$2:case g$2:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$2:case r$
|
1181
|
+
Symbol.for("react.suspense_list"):60120,r$2=b$2?Symbol.for("react.memo"):60115,t$2=b$2?Symbol.for("react.lazy"):60116,v$2=b$2?Symbol.for("react.block"):60121,w$1=b$2?Symbol.for("react.fundamental"):60117,x$1=b$2?Symbol.for("react.responder"):60118,y$1=b$2?Symbol.for("react.scope"):60119;
|
1182
|
+
function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$2:case m$2:case e$2:case g$2:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$2:case r$2:case h$2:return a;default:return u}}case d$2:return u}}}function A$1(a){return z$1(a)===m$2}reactIs_production_min$2.AsyncMode=l$2;reactIs_production_min$2.ConcurrentMode=m$2;reactIs_production_min$2.ContextConsumer=k$2;reactIs_production_min$2.ContextProvider=h$2;reactIs_production_min$2.Element=c$2;reactIs_production_min$2.ForwardRef=n$2;reactIs_production_min$2.Fragment=e$2;reactIs_production_min$2.Lazy=t$2;reactIs_production_min$2.Memo=r$2;reactIs_production_min$2.Portal=d$2;
|
1185
1183
|
reactIs_production_min$2.Profiler=g$2;reactIs_production_min$2.StrictMode=f$2;reactIs_production_min$2.Suspense=p$2;reactIs_production_min$2.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$2};reactIs_production_min$2.isConcurrentMode=A$1;reactIs_production_min$2.isContextConsumer=function(a){return z$1(a)===k$2};reactIs_production_min$2.isContextProvider=function(a){return z$1(a)===h$2};reactIs_production_min$2.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$2};reactIs_production_min$2.isForwardRef=function(a){return z$1(a)===n$2};reactIs_production_min$2.isFragment=function(a){return z$1(a)===e$2};reactIs_production_min$2.isLazy=function(a){return z$1(a)===t$2};
|
1186
|
-
reactIs_production_min$2.isMemo=function(a){return z$1(a)===r$
|
1187
|
-
reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$2||a===g$2||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$2||a.$$typeof===r$
|
1184
|
+
reactIs_production_min$2.isMemo=function(a){return z$1(a)===r$2};reactIs_production_min$2.isPortal=function(a){return z$1(a)===d$2};reactIs_production_min$2.isProfiler=function(a){return z$1(a)===g$2};reactIs_production_min$2.isStrictMode=function(a){return z$1(a)===f$2};reactIs_production_min$2.isSuspense=function(a){return z$1(a)===p$2};
|
1185
|
+
reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$2||a===g$2||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$2||a.$$typeof===r$2||a.$$typeof===h$2||a.$$typeof===k$2||a.$$typeof===n$2||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$2)};reactIs_production_min$2.typeOf=z$1;
|
1188
1186
|
|
1189
1187
|
var reactIs_development$2 = {};
|
1190
1188
|
|
@@ -2358,7 +2356,7 @@ function exactProp(propTypes) {
|
|
2358
2356
|
if (process.env.NODE_ENV === 'production') {
|
2359
2357
|
return propTypes;
|
2360
2358
|
}
|
2361
|
-
return _extends({}, propTypes, {
|
2359
|
+
return _extends$5({}, propTypes, {
|
2362
2360
|
[specialProperty]: props => {
|
2363
2361
|
const unsupportedProps = Object.keys(props).filter(prop => !propTypes.hasOwnProperty(prop));
|
2364
2362
|
if (unsupportedProps.length > 0) {
|
@@ -2783,7 +2781,7 @@ function requirePropFactory(componentNameInError, Component) {
|
|
2783
2781
|
}
|
2784
2782
|
|
2785
2783
|
// eslint-disable-next-line react/forbid-foreign-prop-types
|
2786
|
-
const prevPropTypes = Component ? _extends({}, Component.propTypes) : null;
|
2784
|
+
const prevPropTypes = Component ? _extends$5({}, Component.propTypes) : null;
|
2787
2785
|
const requireProp = requiredProp => (props, propName, componentName, location, propFullName, ...args) => {
|
2788
2786
|
const propFullNameSafe = propFullName || propName;
|
2789
2787
|
const defaultTypeChecker = prevPropTypes == null ? void 0 : prevPropTypes[propFullNameSafe];
|
@@ -3167,10 +3165,10 @@ var integerPropType = process.env.NODE_ENV === 'production' ? validatorNoop : va
|
|
3167
3165
|
* @returns {object} resolved props
|
3168
3166
|
*/
|
3169
3167
|
function resolveProps(defaultProps, props) {
|
3170
|
-
const output = _extends({}, props);
|
3168
|
+
const output = _extends$5({}, props);
|
3171
3169
|
Object.keys(defaultProps).forEach(propName => {
|
3172
3170
|
if (propName.toString().match(/^(components|slots)$/)) {
|
3173
|
-
output[propName] = _extends({}, defaultProps[propName], output[propName]);
|
3171
|
+
output[propName] = _extends$5({}, defaultProps[propName], output[propName]);
|
3174
3172
|
} else if (propName.toString().match(/^(componentsProps|slotProps)$/)) {
|
3175
3173
|
const defaultSlotProps = defaultProps[propName] || {};
|
3176
3174
|
const slotProps = props[propName];
|
@@ -3182,7 +3180,7 @@ function resolveProps(defaultProps, props) {
|
|
3182
3180
|
// Reduce the iteration if the default slot props is empty
|
3183
3181
|
output[propName] = slotProps;
|
3184
3182
|
} else {
|
3185
|
-
output[propName] = _extends({}, slotProps);
|
3183
|
+
output[propName] = _extends$5({}, slotProps);
|
3186
3184
|
Object.keys(defaultSlotProps).forEach(slotPropName => {
|
3187
3185
|
output[propName][slotPropName] = resolveProps(defaultSlotProps[slotPropName], slotProps[slotPropName]);
|
3188
3186
|
});
|
@@ -3265,7 +3263,22 @@ function generateUtilityClasses(componentName, slots, globalStatePrefix = 'Mui')
|
|
3265
3263
|
|
3266
3264
|
var THEME_ID = '$$material';
|
3267
3265
|
|
3268
|
-
function
|
3266
|
+
function _extends$4() {
|
3267
|
+
_extends$4 = Object.assign ? Object.assign.bind() : function (target) {
|
3268
|
+
for (var i = 1; i < arguments.length; i++) {
|
3269
|
+
var source = arguments[i];
|
3270
|
+
for (var key in source) {
|
3271
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
3272
|
+
target[key] = source[key];
|
3273
|
+
}
|
3274
|
+
}
|
3275
|
+
}
|
3276
|
+
return target;
|
3277
|
+
};
|
3278
|
+
return _extends$4.apply(this, arguments);
|
3279
|
+
}
|
3280
|
+
|
3281
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
3269
3282
|
if (source == null) return {};
|
3270
3283
|
var target = {};
|
3271
3284
|
var sourceKeys = Object.keys(source);
|
@@ -3278,6 +3291,21 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
3278
3291
|
return target;
|
3279
3292
|
}
|
3280
3293
|
|
3294
|
+
function _extends$3() {
|
3295
|
+
_extends$3 = Object.assign ? Object.assign.bind() : function (target) {
|
3296
|
+
for (var i = 1; i < arguments.length; i++) {
|
3297
|
+
var source = arguments[i];
|
3298
|
+
for (var key in source) {
|
3299
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
3300
|
+
target[key] = source[key];
|
3301
|
+
}
|
3302
|
+
}
|
3303
|
+
}
|
3304
|
+
return target;
|
3305
|
+
};
|
3306
|
+
return _extends$3.apply(this, arguments);
|
3307
|
+
}
|
3308
|
+
|
3281
3309
|
function memoize$1(fn) {
|
3282
3310
|
var cache = Object.create(null);
|
3283
3311
|
return function (arg) {
|
@@ -4719,11 +4747,11 @@ var reactIs_production_min = {};
|
|
4719
4747
|
* LICENSE file in the root directory of this source tree.
|
4720
4748
|
*/
|
4721
4749
|
var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
|
4722
|
-
Symbol.for("react.suspense_list"):60120,r$
|
4723
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$
|
4750
|
+
Symbol.for("react.suspense_list"):60120,r$1=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
|
4751
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r$1:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r$1;reactIs_production_min.Portal=d;
|
4724
4752
|
reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
|
4725
|
-
reactIs_production_min.isMemo=function(a){return z(a)===r$
|
4726
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$
|
4753
|
+
reactIs_production_min.isMemo=function(a){return z(a)===r$1};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
|
4754
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$1||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
|
4727
4755
|
|
4728
4756
|
var reactIs_development = {};
|
4729
4757
|
|
@@ -6152,7 +6180,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
6152
6180
|
});
|
6153
6181
|
|
6154
6182
|
Styled.withComponent = function (nextTag, nextOptions) {
|
6155
|
-
return createStyled(nextTag, _extends({}, options, nextOptions, {
|
6183
|
+
return createStyled(nextTag, _extends$3({}, options, nextOptions, {
|
6156
6184
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
6157
6185
|
})).apply(void 0, styles);
|
6158
6186
|
};
|
@@ -6202,6 +6230,34 @@ const internal_processStyles = (tag, processor) => {
|
|
6202
6230
|
}
|
6203
6231
|
};
|
6204
6232
|
|
6233
|
+
function _extends$2() {
|
6234
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function (target) {
|
6235
|
+
for (var i = 1; i < arguments.length; i++) {
|
6236
|
+
var source = arguments[i];
|
6237
|
+
for (var key in source) {
|
6238
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
6239
|
+
target[key] = source[key];
|
6240
|
+
}
|
6241
|
+
}
|
6242
|
+
}
|
6243
|
+
return target;
|
6244
|
+
};
|
6245
|
+
return _extends$2.apply(this, arguments);
|
6246
|
+
}
|
6247
|
+
|
6248
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
6249
|
+
if (source == null) return {};
|
6250
|
+
var target = {};
|
6251
|
+
var sourceKeys = Object.keys(source);
|
6252
|
+
var key, i;
|
6253
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
6254
|
+
key = sourceKeys[i];
|
6255
|
+
if (excluded.indexOf(key) >= 0) continue;
|
6256
|
+
target[key] = source[key];
|
6257
|
+
}
|
6258
|
+
return target;
|
6259
|
+
}
|
6260
|
+
|
6205
6261
|
const _excluded$u = ["values", "unit", "step"];
|
6206
6262
|
const sortBreakpointsValues = values => {
|
6207
6263
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
@@ -6211,7 +6267,7 @@ const sortBreakpointsValues = values => {
|
|
6211
6267
|
// Sort in ascending order
|
6212
6268
|
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
6213
6269
|
return breakpointsAsArray.reduce((acc, obj) => {
|
6214
|
-
return _extends({}, acc, {
|
6270
|
+
return _extends$2({}, acc, {
|
6215
6271
|
[obj.key]: obj.val
|
6216
6272
|
});
|
6217
6273
|
}, {});
|
@@ -6237,7 +6293,7 @@ function createBreakpoints(breakpoints) {
|
|
6237
6293
|
unit = 'px',
|
6238
6294
|
step = 5
|
6239
6295
|
} = breakpoints,
|
6240
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$u);
|
6296
|
+
other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$u);
|
6241
6297
|
const sortedValues = sortBreakpointsValues(values);
|
6242
6298
|
const keys = Object.keys(sortedValues);
|
6243
6299
|
function up(key) {
|
@@ -6269,7 +6325,7 @@ function createBreakpoints(breakpoints) {
|
|
6269
6325
|
}
|
6270
6326
|
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
6271
6327
|
}
|
6272
|
-
return _extends({
|
6328
|
+
return _extends$2({
|
6273
6329
|
keys,
|
6274
6330
|
values: sortedValues,
|
6275
6331
|
up,
|
@@ -7341,7 +7397,7 @@ function createTheme$1(options = {}, ...args) {
|
|
7341
7397
|
spacing: spacingInput,
|
7342
7398
|
shape: shapeInput = {}
|
7343
7399
|
} = options,
|
7344
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$t);
|
7400
|
+
other = _objectWithoutPropertiesLoose$2(options, _excluded$t);
|
7345
7401
|
const breakpoints = createBreakpoints(breakpointsInput);
|
7346
7402
|
const spacing = createSpacing(spacingInput);
|
7347
7403
|
let muiTheme = deepmerge({
|
@@ -7349,14 +7405,14 @@ function createTheme$1(options = {}, ...args) {
|
|
7349
7405
|
direction: 'ltr',
|
7350
7406
|
components: {},
|
7351
7407
|
// Inject component definitions.
|
7352
|
-
palette: _extends({
|
7408
|
+
palette: _extends$2({
|
7353
7409
|
mode: 'light'
|
7354
7410
|
}, paletteInput),
|
7355
7411
|
spacing,
|
7356
|
-
shape: _extends({}, shape$1, shapeInput)
|
7412
|
+
shape: _extends$2({}, shape$1, shapeInput)
|
7357
7413
|
}, other);
|
7358
7414
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
7359
|
-
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
7415
|
+
muiTheme.unstable_sxConfig = _extends$2({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
7360
7416
|
muiTheme.unstable_sx = function sx(props) {
|
7361
7417
|
return styleFunctionSx$1({
|
7362
7418
|
sx: props,
|
@@ -7400,7 +7456,7 @@ function extendSxProp(props) {
|
|
7400
7456
|
const {
|
7401
7457
|
sx: inSx
|
7402
7458
|
} = props,
|
7403
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$s);
|
7459
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$s);
|
7404
7460
|
const {
|
7405
7461
|
systemProps,
|
7406
7462
|
otherProps
|
@@ -7414,17 +7470,17 @@ function extendSxProp(props) {
|
|
7414
7470
|
if (!isPlainObject(result)) {
|
7415
7471
|
return systemProps;
|
7416
7472
|
}
|
7417
|
-
return _extends({}, systemProps, result);
|
7473
|
+
return _extends$2({}, systemProps, result);
|
7418
7474
|
};
|
7419
7475
|
} else {
|
7420
|
-
finalSx = _extends({}, systemProps, inSx);
|
7476
|
+
finalSx = _extends$2({}, systemProps, inSx);
|
7421
7477
|
}
|
7422
|
-
return _extends({}, otherProps, {
|
7478
|
+
return _extends$2({}, otherProps, {
|
7423
7479
|
sx: finalSx
|
7424
7480
|
});
|
7425
7481
|
}
|
7426
7482
|
|
7427
|
-
function r
|
7483
|
+
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}
|
7428
7484
|
|
7429
7485
|
const _excluded$r = ["className", "component"];
|
7430
7486
|
function createBox(options = {}) {
|
@@ -7444,11 +7500,11 @@ function createBox(options = {}) {
|
|
7444
7500
|
className,
|
7445
7501
|
component = 'div'
|
7446
7502
|
} = _extendSxProp,
|
7447
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$r);
|
7448
|
-
return /*#__PURE__*/jsx(BoxRoot, _extends({
|
7503
|
+
other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$r);
|
7504
|
+
return /*#__PURE__*/jsx(BoxRoot, _extends$2({
|
7449
7505
|
as: component,
|
7450
7506
|
ref: ref,
|
7451
|
-
className: clsx
|
7507
|
+
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
7452
7508
|
theme: themeId ? theme[themeId] || theme : theme
|
7453
7509
|
}, other));
|
7454
7510
|
});
|
@@ -7469,7 +7525,7 @@ function propsToClassKey(props) {
|
|
7469
7525
|
const {
|
7470
7526
|
variant
|
7471
7527
|
} = props,
|
7472
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$q);
|
7528
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$q);
|
7473
7529
|
let classKey = variant || '';
|
7474
7530
|
Object.keys(other).sort().forEach(key => {
|
7475
7531
|
if (key === 'color') {
|
@@ -7573,8 +7629,8 @@ const muiStyledFunctionResolver = ({
|
|
7573
7629
|
defaultTheme,
|
7574
7630
|
themeId
|
7575
7631
|
}) => {
|
7576
|
-
const resolvedStyles = styledArg(_extends({}, props, {
|
7577
|
-
theme: resolveTheme(_extends({}, props, {
|
7632
|
+
const resolvedStyles = styledArg(_extends$2({}, props, {
|
7633
|
+
theme: resolveTheme(_extends$2({}, props, {
|
7578
7634
|
defaultTheme,
|
7579
7635
|
themeId
|
7580
7636
|
}))
|
@@ -7598,8 +7654,8 @@ function createStyled(input = {}) {
|
|
7598
7654
|
slotShouldForwardProp = shouldForwardProp
|
7599
7655
|
} = input;
|
7600
7656
|
const systemSx = props => {
|
7601
|
-
return styleFunctionSx$1(_extends({}, props, {
|
7602
|
-
theme: resolveTheme(_extends({}, props, {
|
7657
|
+
return styleFunctionSx$1(_extends$2({}, props, {
|
7658
|
+
theme: resolveTheme(_extends$2({}, props, {
|
7603
7659
|
defaultTheme,
|
7604
7660
|
themeId
|
7605
7661
|
}))
|
@@ -7618,7 +7674,7 @@ function createStyled(input = {}) {
|
|
7618
7674
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
7619
7675
|
overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
|
7620
7676
|
} = inputOptions,
|
7621
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$p);
|
7677
|
+
options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$p);
|
7622
7678
|
|
7623
7679
|
// if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
7624
7680
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
|
@@ -7647,7 +7703,7 @@ function createStyled(input = {}) {
|
|
7647
7703
|
// for string (html) tag, preserve the behavior in emotion & styled-components.
|
7648
7704
|
shouldForwardPropOption = undefined;
|
7649
7705
|
}
|
7650
|
-
const defaultStyledResolver = styled$3(tag, _extends({
|
7706
|
+
const defaultStyledResolver = styled$3(tag, _extends$2({
|
7651
7707
|
shouldForwardProp: shouldForwardPropOption,
|
7652
7708
|
label
|
7653
7709
|
}, options));
|
@@ -7713,7 +7769,7 @@ function createStyled(input = {}) {
|
|
7713
7769
|
}
|
7714
7770
|
if (componentName && overridesResolver) {
|
7715
7771
|
expressionsWithDefaultTheme.push(props => {
|
7716
|
-
const theme = resolveTheme(_extends({}, props, {
|
7772
|
+
const theme = resolveTheme(_extends$2({}, props, {
|
7717
7773
|
defaultTheme,
|
7718
7774
|
themeId
|
7719
7775
|
}));
|
@@ -7721,7 +7777,7 @@ function createStyled(input = {}) {
|
|
7721
7777
|
if (styleOverrides) {
|
7722
7778
|
const resolvedStyleOverrides = {};
|
7723
7779
|
Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
|
7724
|
-
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends({}, props, {
|
7780
|
+
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$2({}, props, {
|
7725
7781
|
theme
|
7726
7782
|
})) : slotStyle;
|
7727
7783
|
});
|
@@ -7732,7 +7788,7 @@ function createStyled(input = {}) {
|
|
7732
7788
|
}
|
7733
7789
|
if (componentName && !skipVariantsResolver) {
|
7734
7790
|
expressionsWithDefaultTheme.push(props => {
|
7735
|
-
const theme = resolveTheme(_extends({}, props, {
|
7791
|
+
const theme = resolveTheme(_extends$2({}, props, {
|
7736
7792
|
defaultTheme,
|
7737
7793
|
themeId
|
7738
7794
|
}));
|
@@ -8039,6 +8095,21 @@ function lighten(color, coefficient) {
|
|
8039
8095
|
return recomposeColor(color);
|
8040
8096
|
}
|
8041
8097
|
|
8098
|
+
function _extends$1() {
|
8099
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
8100
|
+
for (var i = 1; i < arguments.length; i++) {
|
8101
|
+
var source = arguments[i];
|
8102
|
+
for (var key in source) {
|
8103
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
8104
|
+
target[key] = source[key];
|
8105
|
+
}
|
8106
|
+
}
|
8107
|
+
}
|
8108
|
+
return target;
|
8109
|
+
};
|
8110
|
+
return _extends$1.apply(this, arguments);
|
8111
|
+
}
|
8112
|
+
|
8042
8113
|
const ThemeContext = /*#__PURE__*/React.createContext(null);
|
8043
8114
|
if (process.env.NODE_ENV !== 'production') {
|
8044
8115
|
ThemeContext.displayName = 'ThemeContext';
|
@@ -8067,7 +8138,7 @@ function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
8067
8138
|
}
|
8068
8139
|
return mergedTheme;
|
8069
8140
|
}
|
8070
|
-
return _extends({}, outerTheme, localTheme);
|
8141
|
+
return _extends$1({}, outerTheme, localTheme);
|
8071
8142
|
}
|
8072
8143
|
|
8073
8144
|
/**
|
@@ -8118,7 +8189,7 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
|
|
8118
8189
|
const resolvedTheme = themeId ? upperTheme[themeId] || upperTheme : upperTheme;
|
8119
8190
|
if (typeof localTheme === 'function') {
|
8120
8191
|
const mergedTheme = localTheme(resolvedTheme);
|
8121
|
-
const result = themeId ? _extends({}, upperTheme, {
|
8192
|
+
const result = themeId ? _extends$2({}, upperTheme, {
|
8122
8193
|
[themeId]: mergedTheme
|
8123
8194
|
}) : mergedTheme;
|
8124
8195
|
// must return a function for the private theme to NOT merge with the upper theme.
|
@@ -8128,9 +8199,9 @@ function useThemeScoping(themeId, upperTheme, localTheme, isPrivate = false) {
|
|
8128
8199
|
}
|
8129
8200
|
return result;
|
8130
8201
|
}
|
8131
|
-
return themeId ? _extends({}, upperTheme, {
|
8202
|
+
return themeId ? _extends$2({}, upperTheme, {
|
8132
8203
|
[themeId]: localTheme
|
8133
|
-
}) : _extends({}, upperTheme, localTheme);
|
8204
|
+
}) : _extends$2({}, upperTheme, localTheme);
|
8134
8205
|
}, [themeId, upperTheme, localTheme, isPrivate]);
|
8135
8206
|
}
|
8136
8207
|
|
@@ -8233,7 +8304,7 @@ const style = ({
|
|
8233
8304
|
ownerState,
|
8234
8305
|
theme
|
8235
8306
|
}) => {
|
8236
|
-
let styles = _extends({
|
8307
|
+
let styles = _extends$2({
|
8237
8308
|
display: 'flex',
|
8238
8309
|
flexDirection: 'column'
|
8239
8310
|
}, handleBreakpoints({
|
@@ -8319,18 +8390,18 @@ function createStack(options = {}) {
|
|
8319
8390
|
className,
|
8320
8391
|
useFlexGap = false
|
8321
8392
|
} = props,
|
8322
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$o);
|
8393
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$o);
|
8323
8394
|
const ownerState = {
|
8324
8395
|
direction,
|
8325
8396
|
spacing,
|
8326
8397
|
useFlexGap
|
8327
8398
|
};
|
8328
8399
|
const classes = useUtilityClasses();
|
8329
|
-
return /*#__PURE__*/jsx(StackRoot, _extends({
|
8400
|
+
return /*#__PURE__*/jsx(StackRoot, _extends$2({
|
8330
8401
|
as: component,
|
8331
8402
|
ownerState: ownerState,
|
8332
8403
|
ref: ref,
|
8333
|
-
className: clsx
|
8404
|
+
className: clsx(classes.root, className)
|
8334
8405
|
}, other, {
|
8335
8406
|
children: divider ? joinChildren(children, divider) : children
|
8336
8407
|
}));
|
@@ -8346,7 +8417,7 @@ function createStack(options = {}) {
|
|
8346
8417
|
}
|
8347
8418
|
|
8348
8419
|
function createMixins(breakpoints, mixins) {
|
8349
|
-
return _extends({
|
8420
|
+
return _extends$4({
|
8350
8421
|
toolbar: {
|
8351
8422
|
minHeight: 56,
|
8352
8423
|
[breakpoints.up('xs')]: {
|
@@ -8662,7 +8733,7 @@ function createPalette(palette) {
|
|
8662
8733
|
contrastThreshold = 3,
|
8663
8734
|
tonalOffset = 0.2
|
8664
8735
|
} = palette,
|
8665
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$n);
|
8736
|
+
other = _objectWithoutPropertiesLoose$3(palette, _excluded$n);
|
8666
8737
|
const primary = palette.primary || getDefaultPrimary(mode);
|
8667
8738
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
8668
8739
|
const error = palette.error || getDefaultError(mode);
|
@@ -8690,7 +8761,7 @@ function createPalette(palette) {
|
|
8690
8761
|
lightShade = 300,
|
8691
8762
|
darkShade = 700
|
8692
8763
|
}) => {
|
8693
|
-
color = _extends({}, color);
|
8764
|
+
color = _extends$4({}, color);
|
8694
8765
|
if (!color.main && color[mainShade]) {
|
8695
8766
|
color.main = color[mainShade];
|
8696
8767
|
}
|
@@ -8730,9 +8801,9 @@ const theme2 = createTheme({ palette: {
|
|
8730
8801
|
console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
|
8731
8802
|
}
|
8732
8803
|
}
|
8733
|
-
const paletteOutput = deepmerge(_extends({
|
8804
|
+
const paletteOutput = deepmerge(_extends$4({
|
8734
8805
|
// A collection of common colors.
|
8735
|
-
common: _extends({}, common$1),
|
8806
|
+
common: _extends$4({}, common$1),
|
8736
8807
|
// prevent mutable object.
|
8737
8808
|
// The palette mode, can be light or dark.
|
8738
8809
|
mode,
|
@@ -8817,7 +8888,7 @@ function createTypography(palette, typography) {
|
|
8817
8888
|
allVariants,
|
8818
8889
|
pxToRem: pxToRem2
|
8819
8890
|
} = _ref,
|
8820
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$m);
|
8891
|
+
other = _objectWithoutPropertiesLoose$3(_ref, _excluded$m);
|
8821
8892
|
if (process.env.NODE_ENV !== 'production') {
|
8822
8893
|
if (typeof fontSize !== 'number') {
|
8823
8894
|
console.error('MUI: `fontSize` is required to be a number.');
|
@@ -8828,7 +8899,7 @@ function createTypography(palette, typography) {
|
|
8828
8899
|
}
|
8829
8900
|
const coef = fontSize / 14;
|
8830
8901
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
8831
|
-
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({
|
8902
|
+
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$4({
|
8832
8903
|
fontFamily,
|
8833
8904
|
fontWeight,
|
8834
8905
|
fontSize: pxToRem(size),
|
@@ -8860,7 +8931,7 @@ function createTypography(palette, typography) {
|
|
8860
8931
|
letterSpacing: 'inherit'
|
8861
8932
|
}
|
8862
8933
|
};
|
8863
|
-
return deepmerge(_extends({
|
8934
|
+
return deepmerge(_extends$4({
|
8864
8935
|
htmlFontSize,
|
8865
8936
|
pxToRem,
|
8866
8937
|
fontFamily,
|
@@ -8928,15 +8999,15 @@ function getAutoHeightDuration(height) {
|
|
8928
8999
|
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
|
8929
9000
|
}
|
8930
9001
|
function createTransitions(inputTransitions) {
|
8931
|
-
const mergedEasing = _extends({}, easing, inputTransitions.easing);
|
8932
|
-
const mergedDuration = _extends({}, duration, inputTransitions.duration);
|
9002
|
+
const mergedEasing = _extends$4({}, easing, inputTransitions.easing);
|
9003
|
+
const mergedDuration = _extends$4({}, duration, inputTransitions.duration);
|
8933
9004
|
const create = (props = ['all'], options = {}) => {
|
8934
9005
|
const {
|
8935
9006
|
duration: durationOption = mergedDuration.standard,
|
8936
9007
|
easing: easingOption = mergedEasing.easeInOut,
|
8937
9008
|
delay = 0
|
8938
9009
|
} = options,
|
8939
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$l);
|
9010
|
+
other = _objectWithoutPropertiesLoose$3(options, _excluded$l);
|
8940
9011
|
if (process.env.NODE_ENV !== 'production') {
|
8941
9012
|
const isString = value => typeof value === 'string';
|
8942
9013
|
// IE11 support, replace with Number.isNaN
|
@@ -8963,7 +9034,7 @@ function createTransitions(inputTransitions) {
|
|
8963
9034
|
}
|
8964
9035
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
8965
9036
|
};
|
8966
|
-
return _extends({
|
9037
|
+
return _extends$4({
|
8967
9038
|
getAutoHeightDuration,
|
8968
9039
|
create
|
8969
9040
|
}, inputTransitions, {
|
@@ -8994,7 +9065,7 @@ function createTheme(options = {}, ...args) {
|
|
8994
9065
|
transitions: transitionsInput = {},
|
8995
9066
|
typography: typographyInput = {}
|
8996
9067
|
} = options,
|
8997
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$k);
|
9068
|
+
other = _objectWithoutPropertiesLoose$3(options, _excluded$k);
|
8998
9069
|
if (options.vars) {
|
8999
9070
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
|
9000
9071
|
Please use another name.` : formatMuiErrorMessage(18));
|
@@ -9008,7 +9079,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
9008
9079
|
shadows: shadows$1.slice(),
|
9009
9080
|
typography: createTypography(palette, typographyInput),
|
9010
9081
|
transitions: createTransitions(transitionsInput),
|
9011
|
-
zIndex: _extends({}, zIndex$1)
|
9082
|
+
zIndex: _extends$4({}, zIndex$1)
|
9012
9083
|
});
|
9013
9084
|
muiTheme = deepmerge(muiTheme, other);
|
9014
9085
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
@@ -9042,7 +9113,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
9042
9113
|
}
|
9043
9114
|
});
|
9044
9115
|
}
|
9045
|
-
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
9116
|
+
muiTheme.unstable_sxConfig = _extends$4({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
9046
9117
|
muiTheme.unstable_sx = function sx(props) {
|
9047
9118
|
return styleFunctionSx$1({
|
9048
9119
|
sx: props,
|
@@ -9089,9 +9160,9 @@ function ThemeProvider(_ref) {
|
|
9089
9160
|
let {
|
9090
9161
|
theme: themeInput
|
9091
9162
|
} = _ref,
|
9092
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$j);
|
9163
|
+
props = _objectWithoutPropertiesLoose$3(_ref, _excluded$j);
|
9093
9164
|
const scopedTheme = themeInput[THEME_ID];
|
9094
|
-
return /*#__PURE__*/jsx(ThemeProvider$1, _extends({}, props, {
|
9165
|
+
return /*#__PURE__*/jsx(ThemeProvider$1, _extends$4({}, props, {
|
9095
9166
|
themeId: scopedTheme ? THEME_ID : undefined,
|
9096
9167
|
theme: scopedTheme || themeInput
|
9097
9168
|
}));
|
@@ -9119,8 +9190,6 @@ const getOverlayAlpha = elevation => {
|
|
9119
9190
|
};
|
9120
9191
|
var getOverlayAlpha$1 = getOverlayAlpha;
|
9121
9192
|
|
9122
|
-
function r$1(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$1(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx$1(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
9123
|
-
|
9124
9193
|
function getSvgIconUtilityClass(slot) {
|
9125
9194
|
return generateUtilityClass('MuiSvgIcon', slot);
|
9126
9195
|
}
|
@@ -9194,9 +9263,9 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
9194
9263
|
titleAccess,
|
9195
9264
|
viewBox = '0 0 24 24'
|
9196
9265
|
} = props,
|
9197
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$i);
|
9266
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$i);
|
9198
9267
|
const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';
|
9199
|
-
const ownerState = _extends({}, props, {
|
9268
|
+
const ownerState = _extends$4({}, props, {
|
9200
9269
|
color,
|
9201
9270
|
component,
|
9202
9271
|
fontSize,
|
@@ -9210,9 +9279,9 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
9210
9279
|
more.viewBox = viewBox;
|
9211
9280
|
}
|
9212
9281
|
const classes = useUtilityClasses$e(ownerState);
|
9213
|
-
return /*#__PURE__*/jsxs(SvgIconRoot, _extends({
|
9282
|
+
return /*#__PURE__*/jsxs(SvgIconRoot, _extends$4({
|
9214
9283
|
as: component,
|
9215
|
-
className: clsx
|
9284
|
+
className: clsx(classes.root, className),
|
9216
9285
|
focusable: "false",
|
9217
9286
|
color: htmlColor,
|
9218
9287
|
"aria-hidden": titleAccess ? undefined : true,
|
@@ -9302,7 +9371,7 @@ var SvgIcon$1 = SvgIcon;
|
|
9302
9371
|
|
9303
9372
|
function createSvgIcon$1(path, displayName) {
|
9304
9373
|
function Component(props, ref) {
|
9305
|
-
return /*#__PURE__*/jsx(SvgIcon$1, _extends({
|
9374
|
+
return /*#__PURE__*/jsx(SvgIcon$1, _extends$4({
|
9306
9375
|
"data-testid": `${displayName}Icon`,
|
9307
9376
|
ref: ref
|
9308
9377
|
}, props, {
|
@@ -10206,7 +10275,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol$c('toStringTag');
|
|
10206
10275
|
var $Object$1 = Object;
|
10207
10276
|
|
10208
10277
|
// ES3 wrong here
|
10209
|
-
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }())
|
10278
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) === 'Arguments';
|
10210
10279
|
|
10211
10280
|
// fallback for IE11 Script Access Denied error
|
10212
10281
|
var tryGet = function (it, key) {
|
@@ -10224,7 +10293,7 @@ var classof$5 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
|
10224
10293
|
// builtinTag case
|
10225
10294
|
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
10226
10295
|
// ES3 arguments fallback
|
10227
|
-
: (result = classofRaw$1(O))
|
10296
|
+
: (result = classofRaw$1(O)) === 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
|
10228
10297
|
};
|
10229
10298
|
|
10230
10299
|
var classof$4 = classof$5;
|
@@ -10232,7 +10301,7 @@ var classof$4 = classof$5;
|
|
10232
10301
|
var $String$1 = String;
|
10233
10302
|
|
10234
10303
|
var toString$2 = function (argument) {
|
10235
|
-
if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
10304
|
+
if (classof$4(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
|
10236
10305
|
return $String$1(argument);
|
10237
10306
|
};
|
10238
10307
|
|
@@ -10255,15 +10324,15 @@ var regexpFlags$1 = function () {
|
|
10255
10324
|
};
|
10256
10325
|
|
10257
10326
|
var fails$7 = fails$h;
|
10258
|
-
var global$
|
10327
|
+
var global$a = global$l;
|
10259
10328
|
|
10260
10329
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
10261
|
-
var $RegExp$2 = global$
|
10330
|
+
var $RegExp$2 = global$a.RegExp;
|
10262
10331
|
|
10263
10332
|
var UNSUPPORTED_Y$1 = fails$7(function () {
|
10264
10333
|
var re = $RegExp$2('a', 'y');
|
10265
10334
|
re.lastIndex = 2;
|
10266
|
-
return re.exec('abcd')
|
10335
|
+
return re.exec('abcd') !== null;
|
10267
10336
|
});
|
10268
10337
|
|
10269
10338
|
// UC Browser bug
|
@@ -10276,7 +10345,7 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$7(function () {
|
|
10276
10345
|
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
10277
10346
|
var re = $RegExp$2('^r', 'gy');
|
10278
10347
|
re.lastIndex = 2;
|
10279
|
-
return re.exec('str')
|
10348
|
+
return re.exec('str') !== null;
|
10280
10349
|
});
|
10281
10350
|
|
10282
10351
|
var regexpStickyHelpers = {
|
@@ -10313,7 +10382,6 @@ var getBuiltIn$4 = getBuiltIn$7;
|
|
10313
10382
|
var html$2 = getBuiltIn$4('document', 'documentElement');
|
10314
10383
|
|
10315
10384
|
/* global ActiveXObject -- old IE, WSH */
|
10316
|
-
|
10317
10385
|
var anObject$8 = anObject$d;
|
10318
10386
|
var definePropertiesModule = objectDefineProperties;
|
10319
10387
|
var enumBugKeys = enumBugKeys$3;
|
@@ -10398,21 +10466,21 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
10398
10466
|
};
|
10399
10467
|
|
10400
10468
|
var fails$6 = fails$h;
|
10401
|
-
var global$
|
10469
|
+
var global$9 = global$l;
|
10402
10470
|
|
10403
10471
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
10404
|
-
var $RegExp$1 = global$
|
10472
|
+
var $RegExp$1 = global$9.RegExp;
|
10405
10473
|
|
10406
10474
|
var regexpUnsupportedDotAll = fails$6(function () {
|
10407
10475
|
var re = $RegExp$1('.', 's');
|
10408
|
-
return !(re.dotAll && re.
|
10476
|
+
return !(re.dotAll && re.test('\n') && re.flags === 's');
|
10409
10477
|
});
|
10410
10478
|
|
10411
10479
|
var fails$5 = fails$h;
|
10412
|
-
var global$
|
10480
|
+
var global$8 = global$l;
|
10413
10481
|
|
10414
10482
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
10415
|
-
var $RegExp = global$
|
10483
|
+
var $RegExp = global$8.RegExp;
|
10416
10484
|
|
10417
10485
|
var regexpUnsupportedNcg = fails$5(function () {
|
10418
10486
|
var re = $RegExp('(?<a>b)', 'g');
|
@@ -10575,7 +10643,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
10575
10643
|
// String methods call symbol-named RegEp methods
|
10576
10644
|
var O = {};
|
10577
10645
|
O[SYMBOL] = function () { return 7; };
|
10578
|
-
return ''[KEY](O)
|
10646
|
+
return ''[KEY](O) !== 7;
|
10579
10647
|
});
|
10580
10648
|
|
10581
10649
|
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {
|
@@ -10596,7 +10664,10 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
10596
10664
|
re[SYMBOL] = /./[SYMBOL];
|
10597
10665
|
}
|
10598
10666
|
|
10599
|
-
re.exec = function () {
|
10667
|
+
re.exec = function () {
|
10668
|
+
execCalled = true;
|
10669
|
+
return null;
|
10670
|
+
};
|
10600
10671
|
|
10601
10672
|
re[SYMBOL]('');
|
10602
10673
|
return !execCalled;
|
@@ -10635,7 +10706,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
10635
10706
|
// eslint-disable-next-line es/no-object-is -- safe
|
10636
10707
|
var sameValue$1 = Object.is || function is(x, y) {
|
10637
10708
|
// eslint-disable-next-line no-self-compare -- NaN check
|
10638
|
-
return x === y ? x !== 0 || 1 / x === 1 / y : x
|
10709
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;
|
10639
10710
|
};
|
10640
10711
|
|
10641
10712
|
var call$a = functionCall;
|
@@ -10656,7 +10727,7 @@ var regexpExecAbstract = function (R, S) {
|
|
10656
10727
|
return result;
|
10657
10728
|
}
|
10658
10729
|
if (classof$3(R) === 'RegExp') return call$a(regexpExec, R, S);
|
10659
|
-
throw $TypeError$7('RegExp#exec called on incompatible receiver');
|
10730
|
+
throw new $TypeError$7('RegExp#exec called on incompatible receiver');
|
10660
10731
|
};
|
10661
10732
|
|
10662
10733
|
var call$9 = functionCall;
|
@@ -10697,6 +10768,19 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
|
|
10697
10768
|
];
|
10698
10769
|
});
|
10699
10770
|
|
10771
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
10772
|
+
if (source == null) return {};
|
10773
|
+
var target = {};
|
10774
|
+
var sourceKeys = Object.keys(source);
|
10775
|
+
var key, i;
|
10776
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
10777
|
+
key = sourceKeys[i];
|
10778
|
+
if (excluded.indexOf(key) >= 0) continue;
|
10779
|
+
target[key] = source[key];
|
10780
|
+
}
|
10781
|
+
return target;
|
10782
|
+
}
|
10783
|
+
|
10700
10784
|
function _setPrototypeOf(o, p) {
|
10701
10785
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
10702
10786
|
o.__proto__ = p;
|
@@ -11130,7 +11214,7 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
11130
11214
|
_this$props.onExiting;
|
11131
11215
|
_this$props.onExited;
|
11132
11216
|
_this$props.nodeRef;
|
11133
|
-
var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
11217
|
+
var childProps = _objectWithoutPropertiesLoose$1(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
11134
11218
|
|
11135
11219
|
return (
|
11136
11220
|
/*#__PURE__*/
|
@@ -11587,7 +11671,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
11587
11671
|
|
11588
11672
|
if (this.mounted) {
|
11589
11673
|
this.setState(function (state) {
|
11590
|
-
var children = _extends({}, state.children);
|
11674
|
+
var children = _extends$3({}, state.children);
|
11591
11675
|
|
11592
11676
|
delete children[child.key];
|
11593
11677
|
return {
|
@@ -11601,7 +11685,7 @@ var TransitionGroup = /*#__PURE__*/function (_React$Component) {
|
|
11601
11685
|
var _this$props = this.props,
|
11602
11686
|
Component = _this$props.component,
|
11603
11687
|
childFactory = _this$props.childFactory,
|
11604
|
-
props = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
11688
|
+
props = _objectWithoutPropertiesLoose$1(_this$props, ["component", "childFactory"]);
|
11605
11689
|
|
11606
11690
|
var contextValue = this.state.contextValue;
|
11607
11691
|
var children = values$1(this.state.children).map(childFactory);
|
@@ -11731,7 +11815,7 @@ const PaperRoot = styled$1('div', {
|
|
11731
11815
|
ownerState
|
11732
11816
|
}) => {
|
11733
11817
|
var _theme$vars$overlays;
|
11734
|
-
return _extends({
|
11818
|
+
return _extends$4({
|
11735
11819
|
backgroundColor: (theme.vars || theme).palette.background.paper,
|
11736
11820
|
color: (theme.vars || theme).palette.text.primary,
|
11737
11821
|
transition: theme.transitions.create('box-shadow')
|
@@ -11739,7 +11823,7 @@ const PaperRoot = styled$1('div', {
|
|
11739
11823
|
borderRadius: theme.shape.borderRadius
|
11740
11824
|
}, ownerState.variant === 'outlined' && {
|
11741
11825
|
border: `1px solid ${(theme.vars || theme).palette.divider}`
|
11742
|
-
}, ownerState.variant === 'elevation' && _extends({
|
11826
|
+
}, ownerState.variant === 'elevation' && _extends$4({
|
11743
11827
|
boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
|
11744
11828
|
}, !theme.vars && theme.palette.mode === 'dark' && {
|
11745
11829
|
backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
|
@@ -11759,8 +11843,8 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
11759
11843
|
square = false,
|
11760
11844
|
variant = 'elevation'
|
11761
11845
|
} = props,
|
11762
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$h);
|
11763
|
-
const ownerState = _extends({}, props, {
|
11846
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$h);
|
11847
|
+
const ownerState = _extends$4({}, props, {
|
11764
11848
|
component,
|
11765
11849
|
elevation,
|
11766
11850
|
square,
|
@@ -11774,10 +11858,10 @@ const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
11774
11858
|
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'));
|
11775
11859
|
}
|
11776
11860
|
}
|
11777
|
-
return /*#__PURE__*/jsx(PaperRoot, _extends({
|
11861
|
+
return /*#__PURE__*/jsx(PaperRoot, _extends$4({
|
11778
11862
|
as: component,
|
11779
11863
|
ownerState: ownerState,
|
11780
|
-
className: clsx
|
11864
|
+
className: clsx(classes.root, className),
|
11781
11865
|
ref: ref
|
11782
11866
|
}, other));
|
11783
11867
|
});
|
@@ -11848,14 +11932,14 @@ function Ripple(props) {
|
|
11848
11932
|
timeout
|
11849
11933
|
} = props;
|
11850
11934
|
const [leaving, setLeaving] = React.useState(false);
|
11851
|
-
const rippleClassName = clsx
|
11935
|
+
const rippleClassName = clsx(className, classes.ripple, classes.rippleVisible, pulsate && classes.ripplePulsate);
|
11852
11936
|
const rippleStyles = {
|
11853
11937
|
width: rippleSize,
|
11854
11938
|
height: rippleSize,
|
11855
11939
|
top: -(rippleSize / 2) + rippleY,
|
11856
11940
|
left: -(rippleSize / 2) + rippleX
|
11857
11941
|
};
|
11858
|
-
const childClassName = clsx
|
11942
|
+
const childClassName = clsx(classes.child, leaving && classes.childLeaving, pulsate && classes.childPulsate);
|
11859
11943
|
if (!inProp && !leaving) {
|
11860
11944
|
setLeaving(true);
|
11861
11945
|
}
|
@@ -12046,7 +12130,7 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
|
|
12046
12130
|
classes = {},
|
12047
12131
|
className
|
12048
12132
|
} = props,
|
12049
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$g);
|
12133
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$g);
|
12050
12134
|
const [ripples, setRipples] = React.useState([]);
|
12051
12135
|
const nextKey = React.useRef(0);
|
12052
12136
|
const rippleCallback = React.useRef(null);
|
@@ -12083,12 +12167,12 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
|
|
12083
12167
|
} = params;
|
12084
12168
|
setRipples(oldRipples => [...oldRipples, /*#__PURE__*/jsx(TouchRippleRipple, {
|
12085
12169
|
classes: {
|
12086
|
-
ripple: clsx
|
12087
|
-
rippleVisible: clsx
|
12088
|
-
ripplePulsate: clsx
|
12089
|
-
child: clsx
|
12090
|
-
childLeaving: clsx
|
12091
|
-
childPulsate: clsx
|
12170
|
+
ripple: clsx(classes.ripple, touchRippleClasses$1.ripple),
|
12171
|
+
rippleVisible: clsx(classes.rippleVisible, touchRippleClasses$1.rippleVisible),
|
12172
|
+
ripplePulsate: clsx(classes.ripplePulsate, touchRippleClasses$1.ripplePulsate),
|
12173
|
+
child: clsx(classes.child, touchRippleClasses$1.child),
|
12174
|
+
childLeaving: clsx(classes.childLeaving, touchRippleClasses$1.childLeaving),
|
12175
|
+
childPulsate: clsx(classes.childPulsate, touchRippleClasses$1.childPulsate)
|
12092
12176
|
},
|
12093
12177
|
timeout: DURATION,
|
12094
12178
|
pulsate: pulsate,
|
@@ -12214,8 +12298,8 @@ const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps,
|
|
12214
12298
|
start,
|
12215
12299
|
stop
|
12216
12300
|
}), [pulsate, start, stop]);
|
12217
|
-
return /*#__PURE__*/jsx(TouchRippleRoot, _extends({
|
12218
|
-
className: clsx
|
12301
|
+
return /*#__PURE__*/jsx(TouchRippleRoot, _extends$4({
|
12302
|
+
className: clsx(touchRippleClasses$1.root, classes.root, className),
|
12219
12303
|
ref: container
|
12220
12304
|
}, other, {
|
12221
12305
|
children: /*#__PURE__*/jsx(TransitionGroup$1, {
|
@@ -12351,7 +12435,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
12351
12435
|
touchRippleRef,
|
12352
12436
|
type
|
12353
12437
|
} = props,
|
12354
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$f);
|
12438
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
|
12355
12439
|
const buttonRef = React.useRef(null);
|
12356
12440
|
const rippleRef = React.useRef(null);
|
12357
12441
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
@@ -12508,7 +12592,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
12508
12592
|
}
|
12509
12593
|
}, [enableTouchRipple]);
|
12510
12594
|
}
|
12511
|
-
const ownerState = _extends({}, props, {
|
12595
|
+
const ownerState = _extends$4({}, props, {
|
12512
12596
|
centerRipple,
|
12513
12597
|
component,
|
12514
12598
|
disabled,
|
@@ -12519,9 +12603,9 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
12519
12603
|
focusVisible
|
12520
12604
|
});
|
12521
12605
|
const classes = useUtilityClasses$c(ownerState);
|
12522
|
-
return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends({
|
12606
|
+
return /*#__PURE__*/jsxs(ButtonBaseRoot, _extends$4({
|
12523
12607
|
as: ComponentProp,
|
12524
|
-
className: clsx
|
12608
|
+
className: clsx(classes.root, className),
|
12525
12609
|
ownerState: ownerState,
|
12526
12610
|
onBlur: handleBlur,
|
12527
12611
|
onClick: onClick,
|
@@ -12543,7 +12627,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
|
|
12543
12627
|
children: [children, enableTouchRipple ?
|
12544
12628
|
/*#__PURE__*/
|
12545
12629
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
12546
|
-
jsx(TouchRipple$1, _extends({
|
12630
|
+
jsx(TouchRipple$1, _extends$4({
|
12547
12631
|
ref: handleRippleRef,
|
12548
12632
|
center: centerRipple
|
12549
12633
|
}, TouchRippleProps)) : null]
|
@@ -12741,7 +12825,7 @@ const IconButtonRoot = styled$1(ButtonBase$1, {
|
|
12741
12825
|
})(({
|
12742
12826
|
theme,
|
12743
12827
|
ownerState
|
12744
|
-
}) => _extends({
|
12828
|
+
}) => _extends$4({
|
12745
12829
|
textAlign: 'center',
|
12746
12830
|
flex: '0 0 auto',
|
12747
12831
|
fontSize: theme.typography.pxToRem(24),
|
@@ -12771,12 +12855,12 @@ const IconButtonRoot = styled$1(ButtonBase$1, {
|
|
12771
12855
|
}) => {
|
12772
12856
|
var _palette;
|
12773
12857
|
const palette = (_palette = (theme.vars || theme).palette) == null ? void 0 : _palette[ownerState.color];
|
12774
|
-
return _extends({}, ownerState.color === 'inherit' && {
|
12858
|
+
return _extends$4({}, ownerState.color === 'inherit' && {
|
12775
12859
|
color: 'inherit'
|
12776
|
-
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
|
12860
|
+
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends$4({
|
12777
12861
|
color: palette == null ? void 0 : palette.main
|
12778
12862
|
}, !ownerState.disableRipple && {
|
12779
|
-
'&:hover': _extends({}, palette && {
|
12863
|
+
'&:hover': _extends$4({}, palette && {
|
12780
12864
|
backgroundColor: theme.vars ? `rgba(${palette.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(palette.main, theme.palette.action.hoverOpacity)
|
12781
12865
|
}, {
|
12782
12866
|
// Reset on touch devices, it doesn't add specificity
|
@@ -12816,8 +12900,8 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
|
|
12816
12900
|
disableFocusRipple = false,
|
12817
12901
|
size = 'medium'
|
12818
12902
|
} = props,
|
12819
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$e);
|
12820
|
-
const ownerState = _extends({}, props, {
|
12903
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$e);
|
12904
|
+
const ownerState = _extends$4({}, props, {
|
12821
12905
|
edge,
|
12822
12906
|
color,
|
12823
12907
|
disabled,
|
@@ -12825,8 +12909,8 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
|
|
12825
12909
|
size
|
12826
12910
|
});
|
12827
12911
|
const classes = useUtilityClasses$b(ownerState);
|
12828
|
-
return /*#__PURE__*/jsx(IconButtonRoot, _extends({
|
12829
|
-
className: clsx
|
12912
|
+
return /*#__PURE__*/jsx(IconButtonRoot, _extends$4({
|
12913
|
+
className: clsx(classes.root, className),
|
12830
12914
|
centerRipple: true,
|
12831
12915
|
focusRipple: !disableFocusRipple,
|
12832
12916
|
disabled: disabled,
|
@@ -12937,7 +13021,7 @@ const TypographyRoot = styled$1('span', {
|
|
12937
13021
|
})(({
|
12938
13022
|
theme,
|
12939
13023
|
ownerState
|
12940
|
-
}) => _extends({
|
13024
|
+
}) => _extends$4({
|
12941
13025
|
margin: 0
|
12942
13026
|
}, ownerState.variant === 'inherit' && {
|
12943
13027
|
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
@@ -12984,7 +13068,7 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
|
|
12984
13068
|
name: 'MuiTypography'
|
12985
13069
|
});
|
12986
13070
|
const color = transformDeprecatedColors(themeProps.color);
|
12987
|
-
const props = extendSxProp(_extends({}, themeProps, {
|
13071
|
+
const props = extendSxProp(_extends$4({}, themeProps, {
|
12988
13072
|
color
|
12989
13073
|
}));
|
12990
13074
|
const {
|
@@ -12997,8 +13081,8 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
|
|
12997
13081
|
variant = 'body1',
|
12998
13082
|
variantMapping = defaultVariantMapping
|
12999
13083
|
} = props,
|
13000
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$d);
|
13001
|
-
const ownerState = _extends({}, props, {
|
13084
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
|
13085
|
+
const ownerState = _extends$4({}, props, {
|
13002
13086
|
align,
|
13003
13087
|
color,
|
13004
13088
|
className,
|
@@ -13011,11 +13095,11 @@ const Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, re
|
|
13011
13095
|
});
|
13012
13096
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
13013
13097
|
const classes = useUtilityClasses$a(ownerState);
|
13014
|
-
return /*#__PURE__*/jsx(TypographyRoot, _extends({
|
13098
|
+
return /*#__PURE__*/jsx(TypographyRoot, _extends$4({
|
13015
13099
|
as: Component,
|
13016
13100
|
ref: ref,
|
13017
13101
|
ownerState: ownerState,
|
13018
|
-
className: clsx
|
13102
|
+
className: clsx(classes.root, className)
|
13019
13103
|
}, other));
|
13020
13104
|
});
|
13021
13105
|
process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes */ = {
|
@@ -13130,7 +13214,7 @@ const AppBarRoot = styled$1(Paper$1, {
|
|
13130
13214
|
ownerState
|
13131
13215
|
}) => {
|
13132
13216
|
const backgroundColorDefault = theme.palette.mode === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];
|
13133
|
-
return _extends({
|
13217
|
+
return _extends$4({
|
13134
13218
|
display: 'flex',
|
13135
13219
|
flexDirection: 'column',
|
13136
13220
|
width: '100%',
|
@@ -13164,7 +13248,7 @@ const AppBarRoot = styled$1(Paper$1, {
|
|
13164
13248
|
position: 'static'
|
13165
13249
|
}, ownerState.position === 'relative' && {
|
13166
13250
|
position: 'relative'
|
13167
|
-
}, !theme.vars && _extends({}, ownerState.color === 'default' && {
|
13251
|
+
}, !theme.vars && _extends$4({}, ownerState.color === 'default' && {
|
13168
13252
|
backgroundColor: backgroundColorDefault,
|
13169
13253
|
color: theme.palette.getContrastText(backgroundColorDefault)
|
13170
13254
|
}, ownerState.color && ownerState.color !== 'default' && ownerState.color !== 'inherit' && ownerState.color !== 'transparent' && {
|
@@ -13175,12 +13259,12 @@ const AppBarRoot = styled$1(Paper$1, {
|
|
13175
13259
|
}, theme.palette.mode === 'dark' && !ownerState.enableColorOnDark && {
|
13176
13260
|
backgroundColor: null,
|
13177
13261
|
color: null
|
13178
|
-
}, ownerState.color === 'transparent' && _extends({
|
13262
|
+
}, ownerState.color === 'transparent' && _extends$4({
|
13179
13263
|
backgroundColor: 'transparent',
|
13180
13264
|
color: 'inherit'
|
13181
13265
|
}, theme.palette.mode === 'dark' && {
|
13182
13266
|
backgroundImage: 'none'
|
13183
|
-
})), theme.vars && _extends({}, ownerState.color === 'default' && {
|
13267
|
+
})), theme.vars && _extends$4({}, ownerState.color === 'default' && {
|
13184
13268
|
'--AppBar-background': ownerState.enableColorOnDark ? theme.vars.palette.AppBar.defaultBg : joinVars(theme.vars.palette.AppBar.darkBg, theme.vars.palette.AppBar.defaultBg),
|
13185
13269
|
'--AppBar-color': ownerState.enableColorOnDark ? theme.vars.palette.text.primary : joinVars(theme.vars.palette.AppBar.darkColor, theme.vars.palette.text.primary)
|
13186
13270
|
}, ownerState.color && !ownerState.color.match(/^(default|inherit|transparent)$/) && {
|
@@ -13206,19 +13290,19 @@ const AppBar = /*#__PURE__*/React.forwardRef(function AppBar(inProps, ref) {
|
|
13206
13290
|
enableColorOnDark = false,
|
13207
13291
|
position = 'fixed'
|
13208
13292
|
} = props,
|
13209
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$c);
|
13210
|
-
const ownerState = _extends({}, props, {
|
13293
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$c);
|
13294
|
+
const ownerState = _extends$4({}, props, {
|
13211
13295
|
color,
|
13212
13296
|
position,
|
13213
13297
|
enableColorOnDark
|
13214
13298
|
});
|
13215
13299
|
const classes = useUtilityClasses$9(ownerState);
|
13216
|
-
return /*#__PURE__*/jsx(AppBarRoot, _extends({
|
13300
|
+
return /*#__PURE__*/jsx(AppBarRoot, _extends$4({
|
13217
13301
|
square: true,
|
13218
13302
|
component: "header",
|
13219
13303
|
ownerState: ownerState,
|
13220
13304
|
elevation: 4,
|
13221
|
-
className: clsx
|
13305
|
+
className: clsx(classes.root, className, position === 'fixed' && 'mui-fixed'),
|
13222
13306
|
ref: ref
|
13223
13307
|
}, other));
|
13224
13308
|
});
|
@@ -13265,6 +13349,21 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
|
|
13265
13349
|
} : void 0;
|
13266
13350
|
var AppBar$1 = AppBar;
|
13267
13351
|
|
13352
|
+
function _extends() {
|
13353
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
13354
|
+
for (var i = 1; i < arguments.length; i++) {
|
13355
|
+
var source = arguments[i];
|
13356
|
+
for (var key in source) {
|
13357
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
13358
|
+
target[key] = source[key];
|
13359
|
+
}
|
13360
|
+
}
|
13361
|
+
}
|
13362
|
+
return target;
|
13363
|
+
};
|
13364
|
+
return _extends.apply(this, arguments);
|
13365
|
+
}
|
13366
|
+
|
13268
13367
|
/**
|
13269
13368
|
* Determines if a given element is a DOM element name (i.e. not a React component).
|
13270
13369
|
*/
|
@@ -13323,7 +13422,18 @@ function resolveComponentProps(componentProps, ownerState, slotState) {
|
|
13323
13422
|
return componentProps;
|
13324
13423
|
}
|
13325
13424
|
|
13326
|
-
function
|
13425
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
13426
|
+
if (source == null) return {};
|
13427
|
+
var target = {};
|
13428
|
+
var sourceKeys = Object.keys(source);
|
13429
|
+
var key, i;
|
13430
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
13431
|
+
key = sourceKeys[i];
|
13432
|
+
if (excluded.indexOf(key) >= 0) continue;
|
13433
|
+
target[key] = source[key];
|
13434
|
+
}
|
13435
|
+
return target;
|
13436
|
+
}
|
13327
13437
|
|
13328
13438
|
/**
|
13329
13439
|
* Removes event handlers from the given object.
|
@@ -14291,7 +14401,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
14291
14401
|
// eslint-disable-next-line react/prop-types
|
14292
14402
|
TransitionComponent = Transition$1
|
14293
14403
|
} = props,
|
14294
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$a);
|
14404
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$a);
|
14295
14405
|
const nodeRef = React.useRef(null);
|
14296
14406
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
14297
14407
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
@@ -14346,7 +14456,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
14346
14456
|
addEndListener(nodeRef.current, next);
|
14347
14457
|
}
|
14348
14458
|
};
|
14349
|
-
return /*#__PURE__*/jsx(TransitionComponent, _extends({
|
14459
|
+
return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
|
14350
14460
|
appear: appear,
|
14351
14461
|
in: inProp,
|
14352
14462
|
nodeRef: nodeRef ,
|
@@ -14360,8 +14470,8 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
14360
14470
|
timeout: timeout
|
14361
14471
|
}, other, {
|
14362
14472
|
children: (state, childProps) => {
|
14363
|
-
return /*#__PURE__*/React.cloneElement(children, _extends({
|
14364
|
-
style: _extends({
|
14473
|
+
return /*#__PURE__*/React.cloneElement(children, _extends$4({
|
14474
|
+
style: _extends$4({
|
14365
14475
|
opacity: 0,
|
14366
14476
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
14367
14477
|
}, styles[state], style, children.props.style),
|
@@ -14474,7 +14584,7 @@ const BackdropRoot = styled$1('div', {
|
|
14474
14584
|
}
|
14475
14585
|
})(({
|
14476
14586
|
ownerState
|
14477
|
-
}) => _extends({
|
14587
|
+
}) => _extends$4({
|
14478
14588
|
position: 'fixed',
|
14479
14589
|
display: 'flex',
|
14480
14590
|
alignItems: 'center',
|
@@ -14507,23 +14617,23 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
14507
14617
|
TransitionComponent = Fade$1,
|
14508
14618
|
transitionDuration
|
14509
14619
|
} = props,
|
14510
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$9);
|
14511
|
-
const ownerState = _extends({}, props, {
|
14620
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
|
14621
|
+
const ownerState = _extends$4({}, props, {
|
14512
14622
|
component,
|
14513
14623
|
invisible
|
14514
14624
|
});
|
14515
14625
|
const classes = useUtilityClasses$8(ownerState);
|
14516
14626
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
14517
|
-
return /*#__PURE__*/jsx(TransitionComponent, _extends({
|
14627
|
+
return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
|
14518
14628
|
in: open,
|
14519
14629
|
timeout: transitionDuration
|
14520
14630
|
}, other, {
|
14521
|
-
children: /*#__PURE__*/jsx(BackdropRoot, _extends({
|
14631
|
+
children: /*#__PURE__*/jsx(BackdropRoot, _extends$4({
|
14522
14632
|
"aria-hidden": true
|
14523
14633
|
}, rootSlotProps, {
|
14524
14634
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
14525
|
-
className: clsx
|
14526
|
-
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
14635
|
+
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
14636
|
+
ownerState: _extends$4({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
14527
14637
|
classes: classes,
|
14528
14638
|
ref: ref,
|
14529
14639
|
children: children
|
@@ -14697,9 +14807,9 @@ const useUtilityClasses$7 = ownerState => {
|
|
14697
14807
|
endIcon: ['endIcon', `iconSize${capitalize(size)}`]
|
14698
14808
|
};
|
14699
14809
|
const composedClasses = composeClasses(slots, getButtonUtilityClass, classes);
|
14700
|
-
return _extends({}, classes, composedClasses);
|
14810
|
+
return _extends$4({}, classes, composedClasses);
|
14701
14811
|
};
|
14702
|
-
const commonIconStyles = ownerState => _extends({}, ownerState.size === 'small' && {
|
14812
|
+
const commonIconStyles = ownerState => _extends$4({}, ownerState.size === 'small' && {
|
14703
14813
|
'& > *:nth-of-type(1)': {
|
14704
14814
|
fontSize: 18
|
14705
14815
|
}
|
@@ -14729,14 +14839,14 @@ const ButtonRoot = styled$1(ButtonBase$1, {
|
|
14729
14839
|
var _theme$palette$getCon, _theme$palette;
|
14730
14840
|
const inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
|
14731
14841
|
const inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
|
14732
|
-
return _extends({}, theme.typography.button, {
|
14842
|
+
return _extends$4({}, theme.typography.button, {
|
14733
14843
|
minWidth: 64,
|
14734
14844
|
padding: '6px 16px',
|
14735
14845
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
14736
14846
|
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color', 'color'], {
|
14737
14847
|
duration: theme.transitions.duration.short
|
14738
14848
|
}),
|
14739
|
-
'&:hover': _extends({
|
14849
|
+
'&:hover': _extends$4({
|
14740
14850
|
textDecoration: 'none',
|
14741
14851
|
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
14742
14852
|
// Reset on touch devices, it doesn't add specificity
|
@@ -14771,13 +14881,13 @@ const ButtonRoot = styled$1(ButtonBase$1, {
|
|
14771
14881
|
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
14772
14882
|
}
|
14773
14883
|
}),
|
14774
|
-
'&:active': _extends({}, ownerState.variant === 'contained' && {
|
14884
|
+
'&:active': _extends$4({}, ownerState.variant === 'contained' && {
|
14775
14885
|
boxShadow: (theme.vars || theme).shadows[8]
|
14776
14886
|
}),
|
14777
|
-
[`&.${buttonClasses$1.focusVisible}`]: _extends({}, ownerState.variant === 'contained' && {
|
14887
|
+
[`&.${buttonClasses$1.focusVisible}`]: _extends$4({}, ownerState.variant === 'contained' && {
|
14778
14888
|
boxShadow: (theme.vars || theme).shadows[6]
|
14779
14889
|
}),
|
14780
|
-
[`&.${buttonClasses$1.disabled}`]: _extends({
|
14890
|
+
[`&.${buttonClasses$1.disabled}`]: _extends$4({
|
14781
14891
|
color: (theme.vars || theme).palette.action.disabled
|
14782
14892
|
}, ownerState.variant === 'outlined' && {
|
14783
14893
|
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
@@ -14857,7 +14967,7 @@ const ButtonStartIcon = styled$1('span', {
|
|
14857
14967
|
}
|
14858
14968
|
})(({
|
14859
14969
|
ownerState
|
14860
|
-
}) => _extends({
|
14970
|
+
}) => _extends$4({
|
14861
14971
|
display: 'inherit',
|
14862
14972
|
marginRight: 8,
|
14863
14973
|
marginLeft: -4
|
@@ -14875,7 +14985,7 @@ const ButtonEndIcon = styled$1('span', {
|
|
14875
14985
|
}
|
14876
14986
|
})(({
|
14877
14987
|
ownerState
|
14878
|
-
}) => _extends({
|
14988
|
+
}) => _extends$4({
|
14879
14989
|
display: 'inherit',
|
14880
14990
|
marginRight: -4,
|
14881
14991
|
marginLeft: 8
|
@@ -14907,8 +15017,8 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
14907
15017
|
type,
|
14908
15018
|
variant = 'text'
|
14909
15019
|
} = props,
|
14910
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$8);
|
14911
|
-
const ownerState = _extends({}, props, {
|
15020
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$8);
|
15021
|
+
const ownerState = _extends$4({}, props, {
|
14912
15022
|
color,
|
14913
15023
|
component,
|
14914
15024
|
disabled,
|
@@ -14931,13 +15041,13 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
14931
15041
|
children: endIconProp
|
14932
15042
|
});
|
14933
15043
|
const positionClassName = buttonGroupButtonContextPositionClassName || '';
|
14934
|
-
return /*#__PURE__*/jsxs(ButtonRoot, _extends({
|
15044
|
+
return /*#__PURE__*/jsxs(ButtonRoot, _extends$4({
|
14935
15045
|
ownerState: ownerState,
|
14936
|
-
className: clsx
|
15046
|
+
className: clsx(contextProps.className, classes.root, className, positionClassName),
|
14937
15047
|
component: component,
|
14938
15048
|
disabled: disabled,
|
14939
15049
|
focusRipple: !disableFocusRipple,
|
14940
|
-
focusVisibleClassName: clsx
|
15050
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
14941
15051
|
ref: ref,
|
14942
15052
|
type: type
|
14943
15053
|
}, other, {
|
@@ -15074,13 +15184,13 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
|
|
15074
15184
|
className,
|
15075
15185
|
raised = false
|
15076
15186
|
} = props,
|
15077
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$7);
|
15078
|
-
const ownerState = _extends({}, props, {
|
15187
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
|
15188
|
+
const ownerState = _extends$4({}, props, {
|
15079
15189
|
raised
|
15080
15190
|
});
|
15081
15191
|
const classes = useUtilityClasses$6(ownerState);
|
15082
|
-
return /*#__PURE__*/jsx(CardRoot, _extends({
|
15083
|
-
className: clsx
|
15192
|
+
return /*#__PURE__*/jsx(CardRoot, _extends$4({
|
15193
|
+
className: clsx(classes.root, className),
|
15084
15194
|
elevation: raised ? 8 : undefined,
|
15085
15195
|
ref: ref,
|
15086
15196
|
ownerState: ownerState
|
@@ -15156,14 +15266,14 @@ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps,
|
|
15156
15266
|
className,
|
15157
15267
|
component = 'div'
|
15158
15268
|
} = props,
|
15159
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$6);
|
15160
|
-
const ownerState = _extends({}, props, {
|
15269
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$6);
|
15270
|
+
const ownerState = _extends$4({}, props, {
|
15161
15271
|
component
|
15162
15272
|
});
|
15163
15273
|
const classes = useUtilityClasses$5(ownerState);
|
15164
|
-
return /*#__PURE__*/jsx(CardContentRoot, _extends({
|
15274
|
+
return /*#__PURE__*/jsx(CardContentRoot, _extends$4({
|
15165
15275
|
as: component,
|
15166
|
-
className: clsx
|
15276
|
+
className: clsx(classes.root, className),
|
15167
15277
|
ownerState: ownerState,
|
15168
15278
|
ref: ref
|
15169
15279
|
}, other));
|
@@ -15227,7 +15337,7 @@ const ModalRoot = styled$1('div', {
|
|
15227
15337
|
})(({
|
15228
15338
|
theme,
|
15229
15339
|
ownerState
|
15230
|
-
}) => _extends({
|
15340
|
+
}) => _extends$4({
|
15231
15341
|
position: 'fixed',
|
15232
15342
|
zIndex: (theme.vars || theme).zIndex.modal,
|
15233
15343
|
right: 0,
|
@@ -15290,8 +15400,8 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
15290
15400
|
slots
|
15291
15401
|
// eslint-disable-next-line react/prop-types
|
15292
15402
|
} = props,
|
15293
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$5);
|
15294
|
-
const propsWithDefaults = _extends({}, props, {
|
15403
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$5);
|
15404
|
+
const propsWithDefaults = _extends$4({}, props, {
|
15295
15405
|
closeAfterTransition,
|
15296
15406
|
disableAutoFocus,
|
15297
15407
|
disableEnforceFocus,
|
@@ -15310,10 +15420,10 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
15310
15420
|
isTopModal,
|
15311
15421
|
exited,
|
15312
15422
|
hasTransition
|
15313
|
-
} = useModal(_extends({}, propsWithDefaults, {
|
15423
|
+
} = useModal(_extends$4({}, propsWithDefaults, {
|
15314
15424
|
rootRef: ref
|
15315
15425
|
}));
|
15316
|
-
const ownerState = _extends({}, propsWithDefaults, {
|
15426
|
+
const ownerState = _extends$4({}, propsWithDefaults, {
|
15317
15427
|
exited
|
15318
15428
|
});
|
15319
15429
|
const classes = useUtilityClasses$4(ownerState);
|
@@ -15345,14 +15455,14 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
15345
15455
|
as: component
|
15346
15456
|
},
|
15347
15457
|
ownerState,
|
15348
|
-
className: clsx
|
15458
|
+
className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
15349
15459
|
});
|
15350
15460
|
const backdropProps = useSlotProps({
|
15351
15461
|
elementType: BackdropSlot,
|
15352
15462
|
externalSlotProps: backdropSlotProps,
|
15353
15463
|
additionalProps: BackdropProps,
|
15354
15464
|
getSlotProps: otherHandlers => {
|
15355
|
-
return getBackdropProps(_extends({}, otherHandlers, {
|
15465
|
+
return getBackdropProps(_extends$4({}, otherHandlers, {
|
15356
15466
|
onClick: e => {
|
15357
15467
|
if (onBackdropClick) {
|
15358
15468
|
onBackdropClick(e);
|
@@ -15363,7 +15473,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
15363
15473
|
}
|
15364
15474
|
}));
|
15365
15475
|
},
|
15366
|
-
className: clsx
|
15476
|
+
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop),
|
15367
15477
|
ownerState
|
15368
15478
|
});
|
15369
15479
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
@@ -15373,8 +15483,8 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
15373
15483
|
ref: portalRef,
|
15374
15484
|
container: container,
|
15375
15485
|
disablePortal: disablePortal,
|
15376
|
-
children: /*#__PURE__*/jsxs(RootSlot, _extends({}, rootProps, {
|
15377
|
-
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsx(BackdropSlot, _extends({}, backdropProps)) : null, /*#__PURE__*/jsx(FocusTrap, {
|
15486
|
+
children: /*#__PURE__*/jsxs(RootSlot, _extends$4({}, rootProps, {
|
15487
|
+
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsx(BackdropSlot, _extends$4({}, backdropProps)) : null, /*#__PURE__*/jsx(FocusTrap, {
|
15378
15488
|
disableEnforceFocus: disableEnforceFocus,
|
15379
15489
|
disableAutoFocus: disableAutoFocus,
|
15380
15490
|
disableRestoreFocus: disableRestoreFocus,
|
@@ -15600,7 +15710,7 @@ const DividerRoot = styled$1('div', {
|
|
15600
15710
|
})(({
|
15601
15711
|
theme,
|
15602
15712
|
ownerState
|
15603
|
-
}) => _extends({
|
15713
|
+
}) => _extends$4({
|
15604
15714
|
margin: 0,
|
15605
15715
|
// Reset browser default style.
|
15606
15716
|
flexShrink: 0,
|
@@ -15632,7 +15742,7 @@ const DividerRoot = styled$1('div', {
|
|
15632
15742
|
height: 'auto'
|
15633
15743
|
}), ({
|
15634
15744
|
ownerState
|
15635
|
-
}) => _extends({}, ownerState.children && {
|
15745
|
+
}) => _extends$4({}, ownerState.children && {
|
15636
15746
|
display: 'flex',
|
15637
15747
|
whiteSpace: 'nowrap',
|
15638
15748
|
textAlign: 'center',
|
@@ -15644,7 +15754,7 @@ const DividerRoot = styled$1('div', {
|
|
15644
15754
|
}), ({
|
15645
15755
|
theme,
|
15646
15756
|
ownerState
|
15647
|
-
}) => _extends({}, ownerState.children && ownerState.orientation !== 'vertical' && {
|
15757
|
+
}) => _extends$4({}, ownerState.children && ownerState.orientation !== 'vertical' && {
|
15648
15758
|
'&::before, &::after': {
|
15649
15759
|
width: '100%',
|
15650
15760
|
borderTop: `thin solid ${(theme.vars || theme).palette.divider}`
|
@@ -15652,7 +15762,7 @@ const DividerRoot = styled$1('div', {
|
|
15652
15762
|
}), ({
|
15653
15763
|
theme,
|
15654
15764
|
ownerState
|
15655
|
-
}) => _extends({}, ownerState.children && ownerState.orientation === 'vertical' && {
|
15765
|
+
}) => _extends$4({}, ownerState.children && ownerState.orientation === 'vertical' && {
|
15656
15766
|
flexDirection: 'column',
|
15657
15767
|
'&::before, &::after': {
|
15658
15768
|
height: '100%',
|
@@ -15660,7 +15770,7 @@ const DividerRoot = styled$1('div', {
|
|
15660
15770
|
}
|
15661
15771
|
}), ({
|
15662
15772
|
ownerState
|
15663
|
-
}) => _extends({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
|
15773
|
+
}) => _extends$4({}, ownerState.textAlign === 'right' && ownerState.orientation !== 'vertical' && {
|
15664
15774
|
'&::before': {
|
15665
15775
|
width: '90%'
|
15666
15776
|
},
|
@@ -15687,7 +15797,7 @@ const DividerWrapper = styled$1('span', {
|
|
15687
15797
|
})(({
|
15688
15798
|
theme,
|
15689
15799
|
ownerState
|
15690
|
-
}) => _extends({
|
15800
|
+
}) => _extends$4({
|
15691
15801
|
display: 'inline-block',
|
15692
15802
|
paddingLeft: `calc(${theme.spacing(1)} * 1.2)`,
|
15693
15803
|
paddingRight: `calc(${theme.spacing(1)} * 1.2)`
|
@@ -15712,8 +15822,8 @@ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
|
|
15712
15822
|
textAlign = 'center',
|
15713
15823
|
variant = 'fullWidth'
|
15714
15824
|
} = props,
|
15715
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$4);
|
15716
|
-
const ownerState = _extends({}, props, {
|
15825
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$4);
|
15826
|
+
const ownerState = _extends$4({}, props, {
|
15717
15827
|
absolute,
|
15718
15828
|
component,
|
15719
15829
|
flexItem,
|
@@ -15724,9 +15834,9 @@ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
|
|
15724
15834
|
variant
|
15725
15835
|
});
|
15726
15836
|
const classes = useUtilityClasses$3(ownerState);
|
15727
|
-
return /*#__PURE__*/jsx(DividerRoot, _extends({
|
15837
|
+
return /*#__PURE__*/jsx(DividerRoot, _extends$4({
|
15728
15838
|
as: component,
|
15729
|
-
className: clsx
|
15839
|
+
className: clsx(classes.root, className),
|
15730
15840
|
role: role,
|
15731
15841
|
ref: ref,
|
15732
15842
|
ownerState: ownerState
|
@@ -15897,7 +16007,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
15897
16007
|
// eslint-disable-next-line react/prop-types
|
15898
16008
|
TransitionComponent = Transition$1
|
15899
16009
|
} = props,
|
15900
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$3);
|
16010
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$3);
|
15901
16011
|
const childrenRef = React.useRef(null);
|
15902
16012
|
const handleRef = useForkRef(children.ref, childrenRef, ref);
|
15903
16013
|
const normalizedTransitionCallback = callback => isAppearing => {
|
@@ -15925,8 +16035,8 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
15925
16035
|
}, {
|
15926
16036
|
mode: 'enter'
|
15927
16037
|
});
|
15928
|
-
node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends({}, transitionProps));
|
15929
|
-
node.style.transition = theme.transitions.create('transform', _extends({}, transitionProps));
|
16038
|
+
node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends$4({}, transitionProps));
|
16039
|
+
node.style.transition = theme.transitions.create('transform', _extends$4({}, transitionProps));
|
15930
16040
|
node.style.webkitTransform = 'none';
|
15931
16041
|
node.style.transform = 'none';
|
15932
16042
|
if (onEntering) {
|
@@ -15993,7 +16103,7 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
15993
16103
|
updatePosition();
|
15994
16104
|
}
|
15995
16105
|
}, [inProp, updatePosition]);
|
15996
|
-
return /*#__PURE__*/jsx(TransitionComponent, _extends({
|
16106
|
+
return /*#__PURE__*/jsx(TransitionComponent, _extends$4({
|
15997
16107
|
nodeRef: childrenRef,
|
15998
16108
|
onEnter: handleEnter,
|
15999
16109
|
onEntered: handleEntered,
|
@@ -16007,9 +16117,9 @@ const Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {
|
|
16007
16117
|
timeout: timeout
|
16008
16118
|
}, other, {
|
16009
16119
|
children: (state, childProps) => {
|
16010
|
-
return /*#__PURE__*/React.cloneElement(children, _extends({
|
16120
|
+
return /*#__PURE__*/React.cloneElement(children, _extends$4({
|
16011
16121
|
ref: handleRef,
|
16012
|
-
style: _extends({
|
16122
|
+
style: _extends$4({
|
16013
16123
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
16014
16124
|
}, style, children.props.style)
|
16015
16125
|
}, childProps));
|
@@ -16177,7 +16287,7 @@ const DrawerPaper = styled$1(Paper$1, {
|
|
16177
16287
|
})(({
|
16178
16288
|
theme,
|
16179
16289
|
ownerState
|
16180
|
-
}) => _extends({
|
16290
|
+
}) => _extends$4({
|
16181
16291
|
overflowY: 'auto',
|
16182
16292
|
display: 'flex',
|
16183
16293
|
flexDirection: 'column',
|
@@ -16265,8 +16375,8 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
|
|
16265
16375
|
transitionDuration = defaultTransitionDuration,
|
16266
16376
|
variant = 'temporary'
|
16267
16377
|
} = props,
|
16268
|
-
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$2),
|
16269
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
16378
|
+
ModalProps = _objectWithoutPropertiesLoose$3(props.ModalProps, _excluded$2),
|
16379
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded2);
|
16270
16380
|
|
16271
16381
|
// Let's assume that the Drawer will always be rendered on user space.
|
16272
16382
|
// We use this state is order to skip the appear transition during the
|
@@ -16277,31 +16387,31 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
|
|
16277
16387
|
}, []);
|
16278
16388
|
const anchorInvariant = getAnchor(theme, anchorProp);
|
16279
16389
|
const anchor = anchorProp;
|
16280
|
-
const ownerState = _extends({}, props, {
|
16390
|
+
const ownerState = _extends$4({}, props, {
|
16281
16391
|
anchor,
|
16282
16392
|
elevation,
|
16283
16393
|
open,
|
16284
16394
|
variant
|
16285
16395
|
}, other);
|
16286
16396
|
const classes = useUtilityClasses$2(ownerState);
|
16287
|
-
const drawer = /*#__PURE__*/jsx(DrawerPaper, _extends({
|
16397
|
+
const drawer = /*#__PURE__*/jsx(DrawerPaper, _extends$4({
|
16288
16398
|
elevation: variant === 'temporary' ? elevation : 0,
|
16289
16399
|
square: true
|
16290
16400
|
}, PaperProps, {
|
16291
|
-
className: clsx
|
16401
|
+
className: clsx(classes.paper, PaperProps.className),
|
16292
16402
|
ownerState: ownerState,
|
16293
16403
|
children: children
|
16294
16404
|
}));
|
16295
16405
|
if (variant === 'permanent') {
|
16296
|
-
return /*#__PURE__*/jsx(DrawerDockedRoot, _extends({
|
16297
|
-
className: clsx
|
16406
|
+
return /*#__PURE__*/jsx(DrawerDockedRoot, _extends$4({
|
16407
|
+
className: clsx(classes.root, classes.docked, className),
|
16298
16408
|
ownerState: ownerState,
|
16299
16409
|
ref: ref
|
16300
16410
|
}, other, {
|
16301
16411
|
children: drawer
|
16302
16412
|
}));
|
16303
16413
|
}
|
16304
|
-
const slidingDrawer = /*#__PURE__*/jsx(TransitionComponent, _extends({
|
16414
|
+
const slidingDrawer = /*#__PURE__*/jsx(TransitionComponent, _extends$4({
|
16305
16415
|
in: open,
|
16306
16416
|
direction: oppositeDirection[anchorInvariant],
|
16307
16417
|
timeout: transitionDuration,
|
@@ -16310,8 +16420,8 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
|
|
16310
16420
|
children: drawer
|
16311
16421
|
}));
|
16312
16422
|
if (variant === 'persistent') {
|
16313
|
-
return /*#__PURE__*/jsx(DrawerDockedRoot, _extends({
|
16314
|
-
className: clsx
|
16423
|
+
return /*#__PURE__*/jsx(DrawerDockedRoot, _extends$4({
|
16424
|
+
className: clsx(classes.root, classes.docked, className),
|
16315
16425
|
ownerState: ownerState,
|
16316
16426
|
ref: ref
|
16317
16427
|
}, other, {
|
@@ -16320,11 +16430,11 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
|
|
16320
16430
|
}
|
16321
16431
|
|
16322
16432
|
// variant === temporary
|
16323
|
-
return /*#__PURE__*/jsx(DrawerRoot, _extends({
|
16324
|
-
BackdropProps: _extends({}, BackdropProps, BackdropPropsProp, {
|
16433
|
+
return /*#__PURE__*/jsx(DrawerRoot, _extends$4({
|
16434
|
+
BackdropProps: _extends$4({}, BackdropProps, BackdropPropsProp, {
|
16325
16435
|
transitionDuration
|
16326
16436
|
}),
|
16327
|
-
className: clsx
|
16437
|
+
className: clsx(classes.root, classes.modal, className),
|
16328
16438
|
open: open,
|
16329
16439
|
ownerState: ownerState,
|
16330
16440
|
onClose: onClose,
|
@@ -16576,7 +16686,7 @@ const LinearProgressRoot = styled$1('span', {
|
|
16576
16686
|
})(({
|
16577
16687
|
ownerState,
|
16578
16688
|
theme
|
16579
|
-
}) => _extends({
|
16689
|
+
}) => _extends$4({
|
16580
16690
|
position: 'relative',
|
16581
16691
|
overflow: 'hidden',
|
16582
16692
|
display: 'block',
|
@@ -16618,7 +16728,7 @@ const LinearProgressDashed = styled$1('span', {
|
|
16618
16728
|
theme
|
16619
16729
|
}) => {
|
16620
16730
|
const backgroundColor = getColorShade(theme, ownerState.color);
|
16621
|
-
return _extends({
|
16731
|
+
return _extends$4({
|
16622
16732
|
position: 'absolute',
|
16623
16733
|
marginTop: 0,
|
16624
16734
|
height: '100%',
|
@@ -16645,7 +16755,7 @@ const LinearProgressBar1 = styled$1('span', {
|
|
16645
16755
|
})(({
|
16646
16756
|
ownerState,
|
16647
16757
|
theme
|
16648
|
-
}) => _extends({
|
16758
|
+
}) => _extends$4({
|
16649
16759
|
width: '100%',
|
16650
16760
|
position: 'absolute',
|
16651
16761
|
left: 0,
|
@@ -16677,7 +16787,7 @@ const LinearProgressBar2 = styled$1('span', {
|
|
16677
16787
|
})(({
|
16678
16788
|
ownerState,
|
16679
16789
|
theme
|
16680
|
-
}) => _extends({
|
16790
|
+
}) => _extends$4({
|
16681
16791
|
width: '100%',
|
16682
16792
|
position: 'absolute',
|
16683
16793
|
left: 0,
|
@@ -16718,8 +16828,8 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
|
|
16718
16828
|
valueBuffer,
|
16719
16829
|
variant = 'indeterminate'
|
16720
16830
|
} = props,
|
16721
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$1);
|
16722
|
-
const ownerState = _extends({}, props, {
|
16831
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$1);
|
16832
|
+
const ownerState = _extends$4({}, props, {
|
16723
16833
|
color,
|
16724
16834
|
variant
|
16725
16835
|
});
|
@@ -16755,8 +16865,8 @@ const LinearProgress = /*#__PURE__*/React.forwardRef(function LinearProgress(inP
|
|
16755
16865
|
console.error('MUI: You need to provide a valueBuffer prop ' + 'when using the buffer variant of LinearProgress.');
|
16756
16866
|
}
|
16757
16867
|
}
|
16758
|
-
return /*#__PURE__*/jsxs(LinearProgressRoot, _extends({
|
16759
|
-
className: clsx
|
16868
|
+
return /*#__PURE__*/jsxs(LinearProgressRoot, _extends$4({
|
16869
|
+
className: clsx(classes.root, className),
|
16760
16870
|
ownerState: ownerState,
|
16761
16871
|
role: "progressbar"
|
16762
16872
|
}, rootProps, {
|
@@ -16848,7 +16958,7 @@ const ToolbarRoot = styled$1('div', {
|
|
16848
16958
|
})(({
|
16849
16959
|
theme,
|
16850
16960
|
ownerState
|
16851
|
-
}) => _extends({
|
16961
|
+
}) => _extends$4({
|
16852
16962
|
position: 'relative',
|
16853
16963
|
display: 'flex',
|
16854
16964
|
alignItems: 'center'
|
@@ -16876,16 +16986,16 @@ const Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(inProps, ref) {
|
|
16876
16986
|
disableGutters = false,
|
16877
16987
|
variant = 'regular'
|
16878
16988
|
} = props,
|
16879
|
-
other = _objectWithoutPropertiesLoose(props, _excluded);
|
16880
|
-
const ownerState = _extends({}, props, {
|
16989
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded);
|
16990
|
+
const ownerState = _extends$4({}, props, {
|
16881
16991
|
component,
|
16882
16992
|
disableGutters,
|
16883
16993
|
variant
|
16884
16994
|
});
|
16885
16995
|
const classes = useUtilityClasses(ownerState);
|
16886
|
-
return /*#__PURE__*/jsx(ToolbarRoot, _extends({
|
16996
|
+
return /*#__PURE__*/jsx(ToolbarRoot, _extends$4({
|
16887
16997
|
as: component,
|
16888
|
-
className: clsx
|
16998
|
+
className: clsx(classes.root, className),
|
16889
16999
|
ref: ref,
|
16890
17000
|
ownerState: ownerState
|
16891
17001
|
}, other));
|
@@ -16991,7 +17101,7 @@ var ArrayPrototype$1 = Array.prototype;
|
|
16991
17101
|
|
16992
17102
|
// Array.prototype[@@unscopables]
|
16993
17103
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
16994
|
-
if (ArrayPrototype$1[UNSCOPABLES]
|
17104
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
16995
17105
|
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
16996
17106
|
configurable: true,
|
16997
17107
|
value: create$1(null)
|
@@ -17128,11 +17238,10 @@ var $TypeError$6 = TypeError;
|
|
17128
17238
|
|
17129
17239
|
var aPossiblePrototype$1 = function (argument) {
|
17130
17240
|
if (typeof argument == 'object' || isCallable$6(argument)) return argument;
|
17131
|
-
throw $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
17241
|
+
throw new $TypeError$6("Can't set " + $String(argument) + ' as a prototype');
|
17132
17242
|
};
|
17133
17243
|
|
17134
17244
|
/* eslint-disable no-proto -- safe */
|
17135
|
-
|
17136
17245
|
var uncurryThisAccessor = functionUncurryThisAccessor;
|
17137
17246
|
var anObject$5 = anObject$d;
|
17138
17247
|
var aPossiblePrototype = aPossiblePrototype$1;
|
@@ -17189,12 +17298,15 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
17189
17298
|
|
17190
17299
|
var getIterationMethod = function (KIND) {
|
17191
17300
|
if (KIND === DEFAULT && defaultIterator) return defaultIterator;
|
17192
|
-
if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];
|
17301
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
|
17302
|
+
|
17193
17303
|
switch (KIND) {
|
17194
17304
|
case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
|
17195
17305
|
case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
|
17196
17306
|
case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
|
17197
|
-
}
|
17307
|
+
}
|
17308
|
+
|
17309
|
+
return function () { return new IteratorConstructor(this); };
|
17198
17310
|
};
|
17199
17311
|
|
17200
17312
|
var TO_STRING_TAG = NAME + ' Iterator';
|
@@ -17204,7 +17316,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
17204
17316
|
|| IterablePrototype['@@iterator']
|
17205
17317
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
17206
17318
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
17207
|
-
var anyNativeIterator = NAME
|
17319
|
+
var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
17208
17320
|
var CurrentIteratorPrototype, methods, KEY;
|
17209
17321
|
|
17210
17322
|
// fix native
|
@@ -17224,7 +17336,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
17224
17336
|
}
|
17225
17337
|
|
17226
17338
|
// fix Array.prototype.{ values, @@iterator }.name in V8 / FF
|
17227
|
-
if (PROPER_FUNCTION_NAME && DEFAULT
|
17339
|
+
if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
17228
17340
|
if (CONFIGURABLE_FUNCTION_NAME) {
|
17229
17341
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
17230
17342
|
} else {
|
@@ -17303,9 +17415,10 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
17303
17415
|
state.target = undefined;
|
17304
17416
|
return createIterResultObject(undefined, true);
|
17305
17417
|
}
|
17306
|
-
|
17307
|
-
|
17308
|
-
|
17418
|
+
switch (kind) {
|
17419
|
+
case 'keys': return createIterResultObject(index, false);
|
17420
|
+
case 'values': return createIterResultObject(target[index], false);
|
17421
|
+
} return createIterResultObject([index, target[index]], false);
|
17309
17422
|
}, 'values');
|
17310
17423
|
|
17311
17424
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
@@ -17367,7 +17480,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
17367
17480
|
|
17368
17481
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
17369
17482
|
|
17370
|
-
var global$
|
17483
|
+
var global$7 = global$l;
|
17371
17484
|
var DOMIterables = domIterables;
|
17372
17485
|
var DOMTokenListPrototype = domTokenListPrototype;
|
17373
17486
|
var ArrayIteratorMethods = es_array_iterator;
|
@@ -17401,7 +17514,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
17401
17514
|
};
|
17402
17515
|
|
17403
17516
|
for (var COLLECTION_NAME in DOMIterables) {
|
17404
|
-
handlePrototype(global$
|
17517
|
+
handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
17405
17518
|
}
|
17406
17519
|
|
17407
17520
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
@@ -17729,9 +17842,10 @@ const ToastNotificationComponent = toast => {
|
|
17729
17842
|
}))));
|
17730
17843
|
};
|
17731
17844
|
|
17845
|
+
var global$6 = global$l;
|
17732
17846
|
var classof$2 = classofRaw$2;
|
17733
17847
|
|
17734
|
-
var engineIsNode =
|
17848
|
+
var engineIsNode = classof$2(global$6.process) === 'process';
|
17735
17849
|
|
17736
17850
|
var makeBuiltIn = makeBuiltIn$3.exports;
|
17737
17851
|
var defineProperty = objectDefineProperty;
|
@@ -17766,7 +17880,7 @@ var $TypeError$5 = TypeError;
|
|
17766
17880
|
|
17767
17881
|
var anInstance$1 = function (it, Prototype) {
|
17768
17882
|
if (isPrototypeOf$1(Prototype, it)) return it;
|
17769
|
-
throw $TypeError$5('Incorrect invocation');
|
17883
|
+
throw new $TypeError$5('Incorrect invocation');
|
17770
17884
|
};
|
17771
17885
|
|
17772
17886
|
var uncurryThis$2 = functionUncurryThis;
|
@@ -17781,7 +17895,7 @@ var empty = [];
|
|
17781
17895
|
var construct = getBuiltIn$2('Reflect', 'construct');
|
17782
17896
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
17783
17897
|
var exec = uncurryThis$2(constructorRegExp.exec);
|
17784
|
-
var INCORRECT_TO_STRING = !constructorRegExp.
|
17898
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
17785
17899
|
|
17786
17900
|
var isConstructorModern = function isConstructor(argument) {
|
17787
17901
|
if (!isCallable$4(argument)) return false;
|
@@ -17830,7 +17944,7 @@ var $TypeError$4 = TypeError;
|
|
17830
17944
|
// `Assert: IsConstructor(argument) is true`
|
17831
17945
|
var aConstructor$1 = function (argument) {
|
17832
17946
|
if (isConstructor(argument)) return argument;
|
17833
|
-
throw $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
17947
|
+
throw new $TypeError$4(tryToString$2(argument) + ' is not a constructor');
|
17834
17948
|
};
|
17835
17949
|
|
17836
17950
|
var anObject$4 = anObject$d;
|
@@ -17880,7 +17994,7 @@ var arraySlice$1 = uncurryThis([].slice);
|
|
17880
17994
|
var $TypeError$3 = TypeError;
|
17881
17995
|
|
17882
17996
|
var validateArgumentsLength$1 = function (passed, required) {
|
17883
|
-
if (passed < required) throw $TypeError$3('Not enough arguments');
|
17997
|
+
if (passed < required) throw new $TypeError$3('Not enough arguments');
|
17884
17998
|
return passed;
|
17885
17999
|
};
|
17886
18000
|
|
@@ -17889,7 +18003,7 @@ var userAgent$2 = engineUserAgent;
|
|
17889
18003
|
// eslint-disable-next-line redos/no-vulnerable -- safe
|
17890
18004
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
17891
18005
|
|
17892
|
-
var global$5 = global$
|
18006
|
+
var global$5 = global$l;
|
17893
18007
|
var apply = functionApply;
|
17894
18008
|
var bind$3 = functionBindContext;
|
17895
18009
|
var isCallable$3 = isCallable$l;
|
@@ -18039,7 +18153,7 @@ var userAgent = engineUserAgent;
|
|
18039
18153
|
|
18040
18154
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
18041
18155
|
|
18042
|
-
var global$4 = global$
|
18156
|
+
var global$4 = global$l;
|
18043
18157
|
var bind$2 = functionBindContext;
|
18044
18158
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
18045
18159
|
var macrotask = task$1.set;
|
@@ -18123,7 +18237,7 @@ var microtask_1 = microtask$1;
|
|
18123
18237
|
var hostReportErrors$1 = function (a, b) {
|
18124
18238
|
try {
|
18125
18239
|
// eslint-disable-next-line no-console -- safe
|
18126
|
-
arguments.length
|
18240
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
18127
18241
|
} catch (error) { /* empty */ }
|
18128
18242
|
};
|
18129
18243
|
|
@@ -18135,12 +18249,11 @@ var perform$3 = function (exec) {
|
|
18135
18249
|
}
|
18136
18250
|
};
|
18137
18251
|
|
18138
|
-
var global$3 = global$
|
18252
|
+
var global$3 = global$l;
|
18139
18253
|
|
18140
18254
|
var promiseNativeConstructor = global$3.Promise;
|
18141
18255
|
|
18142
18256
|
/* global Deno -- Deno case */
|
18143
|
-
|
18144
18257
|
var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
|
18145
18258
|
|
18146
18259
|
var IS_DENO$1 = engineIsDeno;
|
@@ -18150,7 +18263,7 @@ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
|
|
18150
18263
|
&& typeof window == 'object'
|
18151
18264
|
&& typeof document == 'object';
|
18152
18265
|
|
18153
|
-
var global$2 = global$
|
18266
|
+
var global$2 = global$l;
|
18154
18267
|
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
18155
18268
|
var isCallable$2 = isCallable$l;
|
18156
18269
|
var isForced = isForced_1;
|
@@ -18204,7 +18317,7 @@ var $TypeError$2 = TypeError;
|
|
18204
18317
|
var PromiseCapability = function (C) {
|
18205
18318
|
var resolve, reject;
|
18206
18319
|
this.promise = new C(function ($$resolve, $$reject) {
|
18207
|
-
if (resolve !== undefined || reject !== undefined) throw $TypeError$2('Bad Promise constructor');
|
18320
|
+
if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
|
18208
18321
|
resolve = $$resolve;
|
18209
18322
|
reject = $$reject;
|
18210
18323
|
});
|
@@ -18220,7 +18333,7 @@ newPromiseCapability$2.f = function (C) {
|
|
18220
18333
|
|
18221
18334
|
var $$5 = _export;
|
18222
18335
|
var IS_NODE = engineIsNode;
|
18223
|
-
var global$1 = global$
|
18336
|
+
var global$1 = global$l;
|
18224
18337
|
var call$6 = functionCall;
|
18225
18338
|
var defineBuiltIn$1 = defineBuiltIn$6;
|
18226
18339
|
var setPrototypeOf = objectSetPrototypeOf;
|
@@ -18275,7 +18388,7 @@ var isThenable = function (it) {
|
|
18275
18388
|
|
18276
18389
|
var callReaction = function (reaction, state) {
|
18277
18390
|
var value = state.value;
|
18278
|
-
var ok = state.state
|
18391
|
+
var ok = state.state === FULFILLED;
|
18279
18392
|
var handler = ok ? reaction.ok : reaction.fail;
|
18280
18393
|
var resolve = reaction.resolve;
|
18281
18394
|
var reject = reaction.reject;
|
@@ -18297,7 +18410,7 @@ var callReaction = function (reaction, state) {
|
|
18297
18410
|
}
|
18298
18411
|
}
|
18299
18412
|
if (result === reaction.promise) {
|
18300
|
-
reject(TypeError$1('Promise-chain cycle'));
|
18413
|
+
reject(new TypeError$1('Promise-chain cycle'));
|
18301
18414
|
} else if (then = isThenable(result)) {
|
18302
18415
|
call$6(then, result, resolve, reject);
|
18303
18416
|
} else resolve(result);
|
@@ -18387,7 +18500,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
18387
18500
|
state.done = true;
|
18388
18501
|
if (unwrap) state = unwrap;
|
18389
18502
|
try {
|
18390
|
-
if (state.facade === value) throw TypeError$1("Promise can't be resolved itself");
|
18503
|
+
if (state.facade === value) throw new TypeError$1("Promise can't be resolved itself");
|
18391
18504
|
var then = isThenable(value);
|
18392
18505
|
if (then) {
|
18393
18506
|
microtask(function () {
|
@@ -18451,7 +18564,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
18451
18564
|
reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
|
18452
18565
|
reaction.fail = isCallable$1(onRejected) && onRejected;
|
18453
18566
|
reaction.domain = IS_NODE ? process$1.domain : undefined;
|
18454
|
-
if (state.state
|
18567
|
+
if (state.state === PENDING) state.reactions.add(reaction);
|
18455
18568
|
else microtask(function () {
|
18456
18569
|
callReaction(reaction, state);
|
18457
18570
|
});
|
@@ -18541,7 +18654,7 @@ var $TypeError$1 = TypeError;
|
|
18541
18654
|
var getIterator$1 = function (argument, usingIterator) {
|
18542
18655
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
18543
18656
|
if (aCallable$2(iteratorMethod)) return anObject$3(call$5(iteratorMethod, argument));
|
18544
|
-
throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
18657
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
18545
18658
|
};
|
18546
18659
|
|
18547
18660
|
var call$4 = functionCall;
|
@@ -18615,7 +18728,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
|
|
18615
18728
|
iterator = iterable;
|
18616
18729
|
} else {
|
18617
18730
|
iterFn = getIteratorMethod(iterable);
|
18618
|
-
if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
|
18731
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
18619
18732
|
// optimisation for array iterators
|
18620
18733
|
if (isArrayIteratorMethod(iterFn)) {
|
18621
18734
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
@@ -18660,7 +18773,9 @@ try {
|
|
18660
18773
|
} catch (error) { /* empty */ }
|
18661
18774
|
|
18662
18775
|
var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
18663
|
-
|
18776
|
+
try {
|
18777
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING) return false;
|
18778
|
+
} catch (error) { return false; } // workaround of old WebKit + `eval` bug
|
18664
18779
|
var ITERATION_SUPPORT = false;
|
18665
18780
|
try {
|
18666
18781
|
var object = {};
|