@sinco/react 1.0.4-rc.0 → 1.0.4-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +347 -233
- package/package.json +1 -1
- package/src/lib/toastNotification/interfaces.d.ts +1 -1
package/index.js
CHANGED
@@ -9,7 +9,7 @@ var check = function (it) {
|
|
9
9
|
};
|
10
10
|
|
11
11
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
12
|
-
var global$
|
12
|
+
var global$d =
|
13
13
|
// eslint-disable-next-line es/no-global-this -- safe
|
14
14
|
check(typeof globalThis == 'object' && globalThis) ||
|
15
15
|
check(typeof window == 'object' && window) ||
|
@@ -91,30 +91,30 @@ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
91
91
|
};
|
92
92
|
};
|
93
93
|
|
94
|
-
var uncurryThis$
|
94
|
+
var uncurryThis$b = functionUncurryThis;
|
95
95
|
|
96
|
-
var toString$
|
97
|
-
var stringSlice$
|
96
|
+
var toString$3 = uncurryThis$b({}.toString);
|
97
|
+
var stringSlice$2 = uncurryThis$b(''.slice);
|
98
98
|
|
99
|
-
var classofRaw = function (it) {
|
100
|
-
return stringSlice$
|
99
|
+
var classofRaw$1 = function (it) {
|
100
|
+
return stringSlice$2(toString$3(it), 8, -1);
|
101
101
|
};
|
102
102
|
|
103
|
-
var uncurryThis$
|
103
|
+
var uncurryThis$a = functionUncurryThis;
|
104
104
|
var fails$8 = fails$b;
|
105
|
-
var classof = classofRaw;
|
105
|
+
var classof$2 = classofRaw$1;
|
106
106
|
|
107
|
-
var $Object$
|
108
|
-
var split = uncurryThis$
|
107
|
+
var $Object$4 = Object;
|
108
|
+
var split = uncurryThis$a(''.split);
|
109
109
|
|
110
110
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
111
111
|
var indexedObject = fails$8(function () {
|
112
112
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
113
113
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
114
|
-
return !$Object$
|
114
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
115
115
|
}) ? function (it) {
|
116
|
-
return classof(it) == 'String' ? split(it, '') : $Object$
|
117
|
-
} : $Object$
|
116
|
+
return classof$2(it) == 'String' ? split(it, '') : $Object$4(it);
|
117
|
+
} : $Object$4;
|
118
118
|
|
119
119
|
// we can't use just `it == null` since of `document.all` special case
|
120
120
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
@@ -158,45 +158,45 @@ var documentAll$1 = $documentAll$1.all;
|
|
158
158
|
|
159
159
|
// `IsCallable` abstract operation
|
160
160
|
// https://tc39.es/ecma262/#sec-iscallable
|
161
|
-
var isCallable$
|
161
|
+
var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
|
162
162
|
return typeof argument == 'function' || argument === documentAll$1;
|
163
163
|
} : function (argument) {
|
164
164
|
return typeof argument == 'function';
|
165
165
|
};
|
166
166
|
|
167
|
-
var isCallable$
|
167
|
+
var isCallable$f = isCallable$g;
|
168
168
|
var $documentAll = documentAll_1;
|
169
169
|
|
170
170
|
var documentAll = $documentAll.all;
|
171
171
|
|
172
172
|
var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
|
173
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
173
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
|
174
174
|
} : function (it) {
|
175
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
175
|
+
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
176
176
|
};
|
177
177
|
|
178
|
-
var global$
|
179
|
-
var isCallable$
|
178
|
+
var global$c = global$d;
|
179
|
+
var isCallable$e = isCallable$g;
|
180
180
|
|
181
181
|
var aFunction = function (argument) {
|
182
|
-
return isCallable$
|
182
|
+
return isCallable$e(argument) ? argument : undefined;
|
183
183
|
};
|
184
184
|
|
185
185
|
var getBuiltIn$3 = function (namespace, method) {
|
186
|
-
return arguments.length < 2 ? aFunction(global$
|
186
|
+
return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];
|
187
187
|
};
|
188
188
|
|
189
|
-
var uncurryThis$
|
189
|
+
var uncurryThis$9 = functionUncurryThis;
|
190
190
|
|
191
|
-
var objectIsPrototypeOf = uncurryThis$
|
191
|
+
var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
|
192
192
|
|
193
193
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
194
194
|
|
195
|
-
var global$
|
195
|
+
var global$b = global$d;
|
196
196
|
var userAgent = engineUserAgent;
|
197
197
|
|
198
|
-
var process$1 = global$
|
199
|
-
var Deno = global$
|
198
|
+
var process$1 = global$b.process;
|
199
|
+
var Deno = global$b.Deno;
|
200
200
|
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
201
201
|
var v8 = versions && versions.v8;
|
202
202
|
var match$1, version;
|
@@ -224,9 +224,9 @@ var engineV8Version = version;
|
|
224
224
|
|
225
225
|
var V8_VERSION = engineV8Version;
|
226
226
|
var fails$7 = fails$b;
|
227
|
-
var global$
|
227
|
+
var global$a = global$d;
|
228
228
|
|
229
|
-
var $String$
|
229
|
+
var $String$5 = global$a.String;
|
230
230
|
|
231
231
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
232
232
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
|
@@ -235,51 +235,51 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(func
|
|
235
235
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
236
236
|
// nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
|
237
237
|
// of course, fail.
|
238
|
-
return !$String$
|
238
|
+
return !$String$5(symbol) || !(Object(symbol) instanceof Symbol) ||
|
239
239
|
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
240
240
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
241
241
|
});
|
242
242
|
|
243
243
|
/* eslint-disable es/no-symbol -- required for testing */
|
244
244
|
|
245
|
-
var NATIVE_SYMBOL$
|
245
|
+
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
246
246
|
|
247
|
-
var useSymbolAsUid = NATIVE_SYMBOL$
|
247
|
+
var useSymbolAsUid = NATIVE_SYMBOL$2
|
248
248
|
&& !Symbol.sham
|
249
249
|
&& typeof Symbol.iterator == 'symbol';
|
250
250
|
|
251
251
|
var getBuiltIn$2 = getBuiltIn$3;
|
252
|
-
var isCallable$
|
253
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
252
|
+
var isCallable$d = isCallable$g;
|
253
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
254
254
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
255
255
|
|
256
|
-
var $Object$
|
256
|
+
var $Object$3 = Object;
|
257
257
|
|
258
258
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
259
259
|
return typeof it == 'symbol';
|
260
260
|
} : function (it) {
|
261
261
|
var $Symbol = getBuiltIn$2('Symbol');
|
262
|
-
return isCallable$
|
262
|
+
return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
|
263
263
|
};
|
264
264
|
|
265
|
-
var $String$
|
265
|
+
var $String$4 = String;
|
266
266
|
|
267
267
|
var tryToString$1 = function (argument) {
|
268
268
|
try {
|
269
|
-
return $String$
|
269
|
+
return $String$4(argument);
|
270
270
|
} catch (error) {
|
271
271
|
return 'Object';
|
272
272
|
}
|
273
273
|
};
|
274
274
|
|
275
|
-
var isCallable$
|
275
|
+
var isCallable$c = isCallable$g;
|
276
276
|
var tryToString = tryToString$1;
|
277
277
|
|
278
278
|
var $TypeError$5 = TypeError;
|
279
279
|
|
280
280
|
// `Assert: IsCallable(argument) is true`
|
281
281
|
var aCallable$2 = function (argument) {
|
282
|
-
if (isCallable$
|
282
|
+
if (isCallable$c(argument)) return argument;
|
283
283
|
throw $TypeError$5(tryToString(argument) + ' is not a function');
|
284
284
|
};
|
285
285
|
|
@@ -294,7 +294,7 @@ var getMethod$1 = function (V, P) {
|
|
294
294
|
};
|
295
295
|
|
296
296
|
var call$4 = functionCall;
|
297
|
-
var isCallable$
|
297
|
+
var isCallable$b = isCallable$g;
|
298
298
|
var isObject$5 = isObject$6;
|
299
299
|
|
300
300
|
var $TypeError$4 = TypeError;
|
@@ -303,32 +303,32 @@ var $TypeError$4 = TypeError;
|
|
303
303
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
304
304
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
305
305
|
var fn, val;
|
306
|
-
if (pref === 'string' && isCallable$
|
307
|
-
if (isCallable$
|
308
|
-
if (pref !== 'string' && isCallable$
|
306
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
307
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
|
308
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
|
309
309
|
throw $TypeError$4("Can't convert object to primitive value");
|
310
310
|
};
|
311
311
|
|
312
312
|
var shared$3 = {exports: {}};
|
313
313
|
|
314
|
-
var global$
|
314
|
+
var global$9 = global$d;
|
315
315
|
|
316
316
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
317
|
-
var defineProperty$
|
317
|
+
var defineProperty$6 = Object.defineProperty;
|
318
318
|
|
319
319
|
var defineGlobalProperty$3 = function (key, value) {
|
320
320
|
try {
|
321
|
-
defineProperty$
|
321
|
+
defineProperty$6(global$9, key, { value: value, configurable: true, writable: true });
|
322
322
|
} catch (error) {
|
323
|
-
global$
|
323
|
+
global$9[key] = value;
|
324
324
|
} return value;
|
325
325
|
};
|
326
326
|
|
327
|
-
var global$
|
327
|
+
var global$8 = global$d;
|
328
328
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
329
329
|
|
330
330
|
var SHARED = '__core-js_shared__';
|
331
|
-
var store$3 = global$
|
331
|
+
var store$3 = global$8[SHARED] || defineGlobalProperty$2(SHARED, {});
|
332
332
|
|
333
333
|
var sharedStore = store$3;
|
334
334
|
|
@@ -346,18 +346,18 @@ var store$2 = sharedStore;
|
|
346
346
|
|
347
347
|
var requireObjectCoercible = requireObjectCoercible$2;
|
348
348
|
|
349
|
-
var $Object$
|
349
|
+
var $Object$2 = Object;
|
350
350
|
|
351
351
|
// `ToObject` abstract operation
|
352
352
|
// https://tc39.es/ecma262/#sec-toobject
|
353
353
|
var toObject$4 = function (argument) {
|
354
|
-
return $Object$
|
354
|
+
return $Object$2(requireObjectCoercible(argument));
|
355
355
|
};
|
356
356
|
|
357
|
-
var uncurryThis$
|
357
|
+
var uncurryThis$8 = functionUncurryThis;
|
358
358
|
var toObject$3 = toObject$4;
|
359
359
|
|
360
|
-
var hasOwnProperty$2 = uncurryThis$
|
360
|
+
var hasOwnProperty$2 = uncurryThis$8({}.hasOwnProperty);
|
361
361
|
|
362
362
|
// `HasOwnProperty` abstract operation
|
363
363
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
@@ -366,30 +366,30 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
366
366
|
return hasOwnProperty$2(toObject$3(it), key);
|
367
367
|
};
|
368
368
|
|
369
|
-
var uncurryThis$
|
369
|
+
var uncurryThis$7 = functionUncurryThis;
|
370
370
|
|
371
371
|
var id = 0;
|
372
372
|
var postfix = Math.random();
|
373
|
-
var toString = uncurryThis$
|
373
|
+
var toString$2 = uncurryThis$7(1.0.toString);
|
374
374
|
|
375
375
|
var uid$2 = function (key) {
|
376
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
376
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
|
377
377
|
};
|
378
378
|
|
379
|
-
var global$
|
379
|
+
var global$7 = global$d;
|
380
380
|
var shared$2 = shared$3.exports;
|
381
|
-
var hasOwn$
|
381
|
+
var hasOwn$9 = hasOwnProperty_1;
|
382
382
|
var uid$1 = uid$2;
|
383
|
-
var NATIVE_SYMBOL = symbolConstructorDetection;
|
383
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
384
384
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
385
385
|
|
386
|
-
var Symbol$1 = global$
|
386
|
+
var Symbol$1 = global$7.Symbol;
|
387
387
|
var WellKnownSymbolsStore = shared$2('wks');
|
388
388
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
389
389
|
|
390
|
-
var wellKnownSymbol$
|
391
|
-
if (!hasOwn$
|
392
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
390
|
+
var wellKnownSymbol$8 = function (name) {
|
391
|
+
if (!hasOwn$9(WellKnownSymbolsStore, name)) {
|
392
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)
|
393
393
|
? Symbol$1[name]
|
394
394
|
: createWellKnownSymbol('Symbol.' + name);
|
395
395
|
} return WellKnownSymbolsStore[name];
|
@@ -400,10 +400,10 @@ var isObject$4 = isObject$6;
|
|
400
400
|
var isSymbol$1 = isSymbol$2;
|
401
401
|
var getMethod = getMethod$1;
|
402
402
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
403
|
-
var wellKnownSymbol$
|
403
|
+
var wellKnownSymbol$7 = wellKnownSymbol$8;
|
404
404
|
|
405
405
|
var $TypeError$3 = TypeError;
|
406
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
406
|
+
var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
|
407
407
|
|
408
408
|
// `ToPrimitive` abstract operation
|
409
409
|
// https://tc39.es/ecma262/#sec-toprimitive
|
@@ -431,10 +431,10 @@ var toPropertyKey$2 = function (argument) {
|
|
431
431
|
return isSymbol(key) ? key : key + '';
|
432
432
|
};
|
433
433
|
|
434
|
-
var global$
|
434
|
+
var global$6 = global$d;
|
435
435
|
var isObject$3 = isObject$6;
|
436
436
|
|
437
|
-
var document$1 = global$
|
437
|
+
var document$1 = global$6.document;
|
438
438
|
// typeof document.createElement is 'object' in old IE
|
439
439
|
var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
|
440
440
|
|
@@ -442,25 +442,25 @@ var documentCreateElement$2 = function (it) {
|
|
442
442
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
443
443
|
};
|
444
444
|
|
445
|
-
var DESCRIPTORS$
|
445
|
+
var DESCRIPTORS$a = descriptors;
|
446
446
|
var fails$6 = fails$b;
|
447
447
|
var createElement = documentCreateElement$2;
|
448
448
|
|
449
449
|
// Thanks to IE8 for its funny defineProperty
|
450
|
-
var ie8DomDefine = !DESCRIPTORS$
|
450
|
+
var ie8DomDefine = !DESCRIPTORS$a && !fails$6(function () {
|
451
451
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
452
452
|
return Object.defineProperty(createElement('div'), 'a', {
|
453
453
|
get: function () { return 7; }
|
454
454
|
}).a != 7;
|
455
455
|
});
|
456
456
|
|
457
|
-
var DESCRIPTORS$
|
457
|
+
var DESCRIPTORS$9 = descriptors;
|
458
458
|
var call$2 = functionCall;
|
459
459
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
460
460
|
var createPropertyDescriptor$2 = createPropertyDescriptor$3;
|
461
461
|
var toIndexedObject$4 = toIndexedObject$5;
|
462
462
|
var toPropertyKey$1 = toPropertyKey$2;
|
463
|
-
var hasOwn$
|
463
|
+
var hasOwn$8 = hasOwnProperty_1;
|
464
464
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
465
465
|
|
466
466
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
@@ -468,23 +468,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
468
468
|
|
469
469
|
// `Object.getOwnPropertyDescriptor` method
|
470
470
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
471
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
471
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
472
472
|
O = toIndexedObject$4(O);
|
473
473
|
P = toPropertyKey$1(P);
|
474
474
|
if (IE8_DOM_DEFINE$1) try {
|
475
475
|
return $getOwnPropertyDescriptor$1(O, P);
|
476
476
|
} catch (error) { /* empty */ }
|
477
|
-
if (hasOwn$
|
477
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$2(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
478
478
|
};
|
479
479
|
|
480
480
|
var objectDefineProperty = {};
|
481
481
|
|
482
|
-
var DESCRIPTORS$
|
482
|
+
var DESCRIPTORS$8 = descriptors;
|
483
483
|
var fails$5 = fails$b;
|
484
484
|
|
485
485
|
// V8 ~ Chrome 36-
|
486
486
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
487
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
487
|
+
var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$5(function () {
|
488
488
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
489
489
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
490
490
|
value: 42,
|
@@ -494,16 +494,16 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
|
|
494
494
|
|
495
495
|
var isObject$2 = isObject$6;
|
496
496
|
|
497
|
-
var $String$
|
497
|
+
var $String$3 = String;
|
498
498
|
var $TypeError$2 = TypeError;
|
499
499
|
|
500
500
|
// `Assert: Type(argument) is Object`
|
501
501
|
var anObject$5 = function (argument) {
|
502
502
|
if (isObject$2(argument)) return argument;
|
503
|
-
throw $TypeError$2($String$
|
503
|
+
throw $TypeError$2($String$3(argument) + ' is not an object');
|
504
504
|
};
|
505
505
|
|
506
|
-
var DESCRIPTORS$
|
506
|
+
var DESCRIPTORS$7 = descriptors;
|
507
507
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
508
508
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
509
509
|
var anObject$4 = anObject$5;
|
@@ -520,7 +520,7 @@ var WRITABLE = 'writable';
|
|
520
520
|
|
521
521
|
// `Object.defineProperty` method
|
522
522
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
523
|
-
objectDefineProperty.f = DESCRIPTORS$
|
523
|
+
objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
524
524
|
anObject$4(O);
|
525
525
|
P = toPropertyKey(P);
|
526
526
|
anObject$4(Attributes);
|
@@ -547,30 +547,30 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
547
547
|
return O;
|
548
548
|
};
|
549
549
|
|
550
|
-
var DESCRIPTORS$
|
550
|
+
var DESCRIPTORS$6 = descriptors;
|
551
551
|
var definePropertyModule$3 = objectDefineProperty;
|
552
552
|
var createPropertyDescriptor$1 = createPropertyDescriptor$3;
|
553
553
|
|
554
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
554
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
|
555
555
|
return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
|
556
556
|
} : function (object, key, value) {
|
557
557
|
object[key] = value;
|
558
558
|
return object;
|
559
559
|
};
|
560
560
|
|
561
|
-
var makeBuiltIn$
|
561
|
+
var makeBuiltIn$3 = {exports: {}};
|
562
562
|
|
563
|
-
var DESCRIPTORS$
|
564
|
-
var hasOwn$
|
563
|
+
var DESCRIPTORS$5 = descriptors;
|
564
|
+
var hasOwn$7 = hasOwnProperty_1;
|
565
565
|
|
566
566
|
var FunctionPrototype = Function.prototype;
|
567
567
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
568
|
-
var getDescriptor = DESCRIPTORS$
|
568
|
+
var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
|
569
569
|
|
570
|
-
var EXISTS = hasOwn$
|
570
|
+
var EXISTS = hasOwn$7(FunctionPrototype, 'name');
|
571
571
|
// additional protection from minified / mangled / dropped function names
|
572
572
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
573
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
573
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
|
574
574
|
|
575
575
|
var functionName = {
|
576
576
|
EXISTS: EXISTS,
|
@@ -578,14 +578,14 @@ var functionName = {
|
|
578
578
|
CONFIGURABLE: CONFIGURABLE
|
579
579
|
};
|
580
580
|
|
581
|
-
var uncurryThis$
|
582
|
-
var isCallable$
|
581
|
+
var uncurryThis$6 = functionUncurryThis;
|
582
|
+
var isCallable$a = isCallable$g;
|
583
583
|
var store$1 = sharedStore;
|
584
584
|
|
585
|
-
var functionToString = uncurryThis$
|
585
|
+
var functionToString = uncurryThis$6(Function.toString);
|
586
586
|
|
587
587
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
588
|
-
if (!isCallable$
|
588
|
+
if (!isCallable$a(store$1.inspectSource)) {
|
589
589
|
store$1.inspectSource = function (it) {
|
590
590
|
return functionToString(it);
|
591
591
|
};
|
@@ -593,12 +593,12 @@ if (!isCallable$8(store$1.inspectSource)) {
|
|
593
593
|
|
594
594
|
var inspectSource$1 = store$1.inspectSource;
|
595
595
|
|
596
|
-
var global$
|
597
|
-
var isCallable$
|
596
|
+
var global$5 = global$d;
|
597
|
+
var isCallable$9 = isCallable$g;
|
598
598
|
|
599
|
-
var WeakMap$2 = global$
|
599
|
+
var WeakMap$2 = global$5.WeakMap;
|
600
600
|
|
601
|
-
var weakMapBasicDetection = isCallable$
|
601
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
602
602
|
|
603
603
|
var shared$1 = shared$3.exports;
|
604
604
|
var uid = uid$2;
|
@@ -612,17 +612,17 @@ var sharedKey$3 = function (key) {
|
|
612
612
|
var hiddenKeys$4 = {};
|
613
613
|
|
614
614
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
615
|
-
var global$
|
615
|
+
var global$4 = global$d;
|
616
616
|
var isObject$1 = isObject$6;
|
617
617
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
618
|
-
var hasOwn$
|
618
|
+
var hasOwn$6 = hasOwnProperty_1;
|
619
619
|
var shared = sharedStore;
|
620
620
|
var sharedKey$2 = sharedKey$3;
|
621
621
|
var hiddenKeys$3 = hiddenKeys$4;
|
622
622
|
|
623
623
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
624
|
-
var TypeError$1 = global$
|
625
|
-
var WeakMap$1 = global$
|
624
|
+
var TypeError$1 = global$4.TypeError;
|
625
|
+
var WeakMap$1 = global$4.WeakMap;
|
626
626
|
var set, get, has$3;
|
627
627
|
|
628
628
|
var enforce = function (it) {
|
@@ -661,16 +661,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
661
661
|
var STATE = sharedKey$2('state');
|
662
662
|
hiddenKeys$3[STATE] = true;
|
663
663
|
set = function (it, metadata) {
|
664
|
-
if (hasOwn$
|
664
|
+
if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
665
665
|
metadata.facade = it;
|
666
666
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
667
667
|
return metadata;
|
668
668
|
};
|
669
669
|
get = function (it) {
|
670
|
-
return hasOwn$
|
670
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
671
671
|
};
|
672
672
|
has$3 = function (it) {
|
673
|
-
return hasOwn$
|
673
|
+
return hasOwn$6(it, STATE);
|
674
674
|
};
|
675
675
|
}
|
676
676
|
|
@@ -682,71 +682,71 @@ var internalState = {
|
|
682
682
|
getterFor: getterFor
|
683
683
|
};
|
684
684
|
|
685
|
-
var uncurryThis$
|
685
|
+
var uncurryThis$5 = functionUncurryThis;
|
686
686
|
var fails$4 = fails$b;
|
687
|
-
var isCallable$
|
688
|
-
var hasOwn$
|
689
|
-
var DESCRIPTORS$
|
687
|
+
var isCallable$8 = isCallable$g;
|
688
|
+
var hasOwn$5 = hasOwnProperty_1;
|
689
|
+
var DESCRIPTORS$4 = descriptors;
|
690
690
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
691
691
|
var inspectSource = inspectSource$1;
|
692
692
|
var InternalStateModule$1 = internalState;
|
693
693
|
|
694
694
|
var enforceInternalState = InternalStateModule$1.enforce;
|
695
695
|
var getInternalState$1 = InternalStateModule$1.get;
|
696
|
-
var $String$
|
696
|
+
var $String$2 = String;
|
697
697
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
698
|
-
var defineProperty$
|
699
|
-
var stringSlice = uncurryThis$
|
700
|
-
var replace$
|
701
|
-
var join = uncurryThis$
|
698
|
+
var defineProperty$5 = Object.defineProperty;
|
699
|
+
var stringSlice$1 = uncurryThis$5(''.slice);
|
700
|
+
var replace$2 = uncurryThis$5(''.replace);
|
701
|
+
var join = uncurryThis$5([].join);
|
702
702
|
|
703
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
704
|
-
return defineProperty$
|
703
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$4(function () {
|
704
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
705
705
|
});
|
706
706
|
|
707
707
|
var TEMPLATE = String(String).split('String');
|
708
708
|
|
709
|
-
var makeBuiltIn$
|
710
|
-
if (stringSlice($String$
|
711
|
-
name = '[' + replace$
|
709
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
710
|
+
if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') {
|
711
|
+
name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
712
712
|
}
|
713
713
|
if (options && options.getter) name = 'get ' + name;
|
714
714
|
if (options && options.setter) name = 'set ' + name;
|
715
|
-
if (!hasOwn$
|
716
|
-
if (DESCRIPTORS$
|
715
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
716
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'name', { value: name, configurable: true });
|
717
717
|
else value.name = name;
|
718
718
|
}
|
719
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
720
|
-
defineProperty$
|
719
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
720
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
721
721
|
}
|
722
722
|
try {
|
723
|
-
if (options && hasOwn$
|
724
|
-
if (DESCRIPTORS$
|
723
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
724
|
+
if (DESCRIPTORS$4) defineProperty$5(value, 'prototype', { writable: false });
|
725
725
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
726
726
|
} else if (value.prototype) value.prototype = undefined;
|
727
727
|
} catch (error) { /* empty */ }
|
728
728
|
var state = enforceInternalState(value);
|
729
|
-
if (!hasOwn$
|
729
|
+
if (!hasOwn$5(state, 'source')) {
|
730
730
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
731
731
|
} return value;
|
732
732
|
};
|
733
733
|
|
734
734
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
735
735
|
// eslint-disable-next-line no-extend-native -- required
|
736
|
-
Function.prototype.toString = makeBuiltIn$
|
737
|
-
return isCallable$
|
736
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
737
|
+
return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
|
738
738
|
}, 'toString');
|
739
739
|
|
740
|
-
var isCallable$
|
740
|
+
var isCallable$7 = isCallable$g;
|
741
741
|
var definePropertyModule$2 = objectDefineProperty;
|
742
|
-
var makeBuiltIn = makeBuiltIn$
|
742
|
+
var makeBuiltIn$1 = makeBuiltIn$3.exports;
|
743
743
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
744
744
|
|
745
745
|
var defineBuiltIn$3 = function (O, key, value, options) {
|
746
746
|
if (!options) options = {};
|
747
747
|
var simple = options.enumerable;
|
748
748
|
var name = options.name !== undefined ? options.name : key;
|
749
|
-
if (isCallable$
|
749
|
+
if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
|
750
750
|
if (options.global) {
|
751
751
|
if (simple) O[key] = value;
|
752
752
|
else defineGlobalProperty$1(key, value);
|
@@ -852,22 +852,22 @@ var arrayIncludes = {
|
|
852
852
|
indexOf: createMethod(false)
|
853
853
|
};
|
854
854
|
|
855
|
-
var uncurryThis$
|
856
|
-
var hasOwn$
|
855
|
+
var uncurryThis$4 = functionUncurryThis;
|
856
|
+
var hasOwn$4 = hasOwnProperty_1;
|
857
857
|
var toIndexedObject$2 = toIndexedObject$5;
|
858
858
|
var indexOf = arrayIncludes.indexOf;
|
859
859
|
var hiddenKeys$2 = hiddenKeys$4;
|
860
860
|
|
861
|
-
var push = uncurryThis$
|
861
|
+
var push = uncurryThis$4([].push);
|
862
862
|
|
863
863
|
var objectKeysInternal = function (object, names) {
|
864
864
|
var O = toIndexedObject$2(object);
|
865
865
|
var i = 0;
|
866
866
|
var result = [];
|
867
867
|
var key;
|
868
|
-
for (key in O) !hasOwn$
|
868
|
+
for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
|
869
869
|
// Don't enum bug & hidden keys
|
870
|
-
while (names.length > i) if (hasOwn$
|
870
|
+
while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
|
871
871
|
~indexOf(result, key) || push(result, key);
|
872
872
|
}
|
873
873
|
return result;
|
@@ -902,12 +902,12 @@ var objectGetOwnPropertySymbols = {};
|
|
902
902
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
903
903
|
|
904
904
|
var getBuiltIn$1 = getBuiltIn$3;
|
905
|
-
var uncurryThis$
|
905
|
+
var uncurryThis$3 = functionUncurryThis;
|
906
906
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
907
907
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
908
908
|
var anObject$3 = anObject$5;
|
909
909
|
|
910
|
-
var concat$1 = uncurryThis$
|
910
|
+
var concat$1 = uncurryThis$3([].concat);
|
911
911
|
|
912
912
|
// all object keys, includes non-enumerable and symbols
|
913
913
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
@@ -916,25 +916,25 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
916
916
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
917
917
|
};
|
918
918
|
|
919
|
-
var hasOwn$
|
919
|
+
var hasOwn$3 = hasOwnProperty_1;
|
920
920
|
var ownKeys = ownKeys$1;
|
921
921
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
922
922
|
var definePropertyModule$1 = objectDefineProperty;
|
923
923
|
|
924
|
-
var copyConstructorProperties$
|
924
|
+
var copyConstructorProperties$2 = function (target, source, exceptions) {
|
925
925
|
var keys = ownKeys(source);
|
926
926
|
var defineProperty = definePropertyModule$1.f;
|
927
927
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
928
928
|
for (var i = 0; i < keys.length; i++) {
|
929
929
|
var key = keys[i];
|
930
|
-
if (!hasOwn$
|
930
|
+
if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
|
931
931
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
932
932
|
}
|
933
933
|
}
|
934
934
|
};
|
935
935
|
|
936
936
|
var fails$3 = fails$b;
|
937
|
-
var isCallable$
|
937
|
+
var isCallable$6 = isCallable$g;
|
938
938
|
|
939
939
|
var replacement = /#|\.prototype\./;
|
940
940
|
|
@@ -942,7 +942,7 @@ var isForced$1 = function (feature, detection) {
|
|
942
942
|
var value = data[normalize(feature)];
|
943
943
|
return value == POLYFILL ? true
|
944
944
|
: value == NATIVE ? false
|
945
|
-
: isCallable$
|
945
|
+
: isCallable$6(detection) ? fails$3(detection)
|
946
946
|
: !!detection;
|
947
947
|
};
|
948
948
|
|
@@ -956,12 +956,12 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
956
956
|
|
957
957
|
var isForced_1 = isForced$1;
|
958
958
|
|
959
|
-
var global$
|
959
|
+
var global$3 = global$d;
|
960
960
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
961
961
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
962
962
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
963
963
|
var defineGlobalProperty = defineGlobalProperty$3;
|
964
|
-
var copyConstructorProperties = copyConstructorProperties$
|
964
|
+
var copyConstructorProperties$1 = copyConstructorProperties$2;
|
965
965
|
var isForced = isForced_1;
|
966
966
|
|
967
967
|
/*
|
@@ -985,11 +985,11 @@ var _export = function (options, source) {
|
|
985
985
|
var STATIC = options.stat;
|
986
986
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
987
987
|
if (GLOBAL) {
|
988
|
-
target = global$
|
988
|
+
target = global$3;
|
989
989
|
} else if (STATIC) {
|
990
|
-
target = global$
|
990
|
+
target = global$3[TARGET] || defineGlobalProperty(TARGET, {});
|
991
991
|
} else {
|
992
|
-
target = (global$
|
992
|
+
target = (global$3[TARGET] || {}).prototype;
|
993
993
|
}
|
994
994
|
if (target) for (key in source) {
|
995
995
|
sourceProperty = source[key];
|
@@ -1001,7 +1001,7 @@ var _export = function (options, source) {
|
|
1001
1001
|
// contained in target
|
1002
1002
|
if (!FORCED && targetProperty !== undefined) {
|
1003
1003
|
if (typeof sourceProperty == typeof targetProperty) continue;
|
1004
|
-
copyConstructorProperties(sourceProperty, targetProperty);
|
1004
|
+
copyConstructorProperties$1(sourceProperty, targetProperty);
|
1005
1005
|
}
|
1006
1006
|
// add a flag to not completely full polyfills
|
1007
1007
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
@@ -1021,8 +1021,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
1021
1021
|
return internalObjectKeys(O, enumBugKeys$1);
|
1022
1022
|
};
|
1023
1023
|
|
1024
|
-
var DESCRIPTORS$
|
1025
|
-
var uncurryThis$
|
1024
|
+
var DESCRIPTORS$3 = descriptors;
|
1025
|
+
var uncurryThis$2 = functionUncurryThis;
|
1026
1026
|
var call$1 = functionCall;
|
1027
1027
|
var fails$2 = fails$b;
|
1028
1028
|
var objectKeys$1 = objectKeys$2;
|
@@ -1034,17 +1034,17 @@ var IndexedObject = indexedObject;
|
|
1034
1034
|
// eslint-disable-next-line es/no-object-assign -- safe
|
1035
1035
|
var $assign = Object.assign;
|
1036
1036
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1037
|
-
var defineProperty$
|
1038
|
-
var concat = uncurryThis$
|
1037
|
+
var defineProperty$4 = Object.defineProperty;
|
1038
|
+
var concat = uncurryThis$2([].concat);
|
1039
1039
|
|
1040
1040
|
// `Object.assign` method
|
1041
1041
|
// https://tc39.es/ecma262/#sec-object.assign
|
1042
1042
|
var objectAssign$1 = !$assign || fails$2(function () {
|
1043
1043
|
// should have correct order of operations (Edge bug)
|
1044
|
-
if (DESCRIPTORS$
|
1044
|
+
if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
1045
1045
|
enumerable: true,
|
1046
1046
|
get: function () {
|
1047
|
-
defineProperty$
|
1047
|
+
defineProperty$4(this, 'b', {
|
1048
1048
|
value: 3,
|
1049
1049
|
enumerable: false
|
1050
1050
|
});
|
@@ -1073,18 +1073,18 @@ var objectAssign$1 = !$assign || fails$2(function () {
|
|
1073
1073
|
var key;
|
1074
1074
|
while (length > j) {
|
1075
1075
|
key = keys[j++];
|
1076
|
-
if (!DESCRIPTORS$
|
1076
|
+
if (!DESCRIPTORS$3 || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1077
1077
|
}
|
1078
1078
|
} return T;
|
1079
1079
|
} : $assign;
|
1080
1080
|
|
1081
|
-
var $$
|
1081
|
+
var $$2 = _export;
|
1082
1082
|
var assign$2 = objectAssign$1;
|
1083
1083
|
|
1084
1084
|
// `Object.assign` method
|
1085
1085
|
// https://tc39.es/ecma262/#sec-object.assign
|
1086
1086
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
1087
|
-
$$
|
1087
|
+
$$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
|
1088
1088
|
assign: assign$2
|
1089
1089
|
});
|
1090
1090
|
|
@@ -3207,7 +3207,7 @@ function match (value, pattern) {
|
|
3207
3207
|
* @param {string} replacement
|
3208
3208
|
* @return {string}
|
3209
3209
|
*/
|
3210
|
-
function replace (value, pattern, replacement) {
|
3210
|
+
function replace$1 (value, pattern, replacement) {
|
3211
3211
|
return value.replace(pattern, replacement)
|
3212
3212
|
}
|
3213
3213
|
|
@@ -3535,7 +3535,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
3535
3535
|
// (
|
3536
3536
|
case 40:
|
3537
3537
|
if (previous != 108 && charat(characters, length - 1) == 58) {
|
3538
|
-
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
|
3538
|
+
if (indexof(characters += replace$1(delimit(character), '&', '&\f'), '&\f') != -1)
|
3539
3539
|
ampersand = -1;
|
3540
3540
|
break
|
3541
3541
|
}
|
@@ -3570,9 +3570,9 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
3570
3570
|
// \0 }
|
3571
3571
|
case 0: case 125: scanning = 0;
|
3572
3572
|
// ;
|
3573
|
-
case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
3573
|
+
case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
|
3574
3574
|
if (property > 0 && (strlen(characters) - length))
|
3575
|
-
append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
3575
|
+
append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace$1(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
3576
3576
|
break
|
3577
3577
|
// @ ;
|
3578
3578
|
case 59: characters += ';';
|
@@ -3654,7 +3654,7 @@ function ruleset (value, root, parent, index, offset, rules, points, type, props
|
|
3654
3654
|
|
3655
3655
|
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
3656
3656
|
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
|
3657
|
-
if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
|
3657
|
+
if (z = trim(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
|
3658
3658
|
props[k++] = z;
|
3659
3659
|
|
3660
3660
|
return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)
|
@@ -4050,51 +4050,51 @@ function prefix(value, length) {
|
|
4050
4050
|
// align-items
|
4051
4051
|
|
4052
4052
|
case 5187:
|
4053
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
4053
|
+
return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
4054
4054
|
// align-self
|
4055
4055
|
|
4056
4056
|
case 5443:
|
4057
|
-
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
|
4057
|
+
return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/, '') + value;
|
4058
4058
|
// align-content
|
4059
4059
|
|
4060
4060
|
case 4675:
|
4061
|
-
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
|
4061
|
+
return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/, '') + value;
|
4062
4062
|
// flex-shrink
|
4063
4063
|
|
4064
4064
|
case 5548:
|
4065
|
-
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
4065
|
+
return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value;
|
4066
4066
|
// flex-basis
|
4067
4067
|
|
4068
4068
|
case 5292:
|
4069
|
-
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
4069
|
+
return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value;
|
4070
4070
|
// flex-grow
|
4071
4071
|
|
4072
4072
|
case 6060:
|
4073
|
-
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
4073
|
+
return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value;
|
4074
4074
|
// transition
|
4075
4075
|
|
4076
4076
|
case 4554:
|
4077
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
4077
|
+
return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
4078
4078
|
// cursor
|
4079
4079
|
|
4080
4080
|
case 6187:
|
4081
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
4081
|
+
return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
4082
4082
|
// background, background-image
|
4083
4083
|
|
4084
4084
|
case 5495:
|
4085
4085
|
case 3959:
|
4086
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
4086
|
+
return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
4087
4087
|
// justify-content
|
4088
4088
|
|
4089
4089
|
case 4968:
|
4090
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
4090
|
+
return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
4091
4091
|
// (margin|padding)-inline-(start|end)
|
4092
4092
|
|
4093
4093
|
case 4095:
|
4094
4094
|
case 3583:
|
4095
4095
|
case 4068:
|
4096
4096
|
case 2532:
|
4097
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
4097
|
+
return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
4098
4098
|
// (min|max)?(width|height|inline-size|block-size)
|
4099
4099
|
|
4100
4100
|
case 8116:
|
@@ -4118,11 +4118,11 @@ function prefix(value, length) {
|
|
4118
4118
|
// (f)ill-available, (f)it-content
|
4119
4119
|
|
4120
4120
|
case 102:
|
4121
|
-
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
4121
|
+
return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
4122
4122
|
// (s)tretch
|
4123
4123
|
|
4124
4124
|
case 115:
|
4125
|
-
return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
|
4125
|
+
return ~indexof(value, 'stretch') ? prefix(replace$1(value, 'stretch', 'fill-available'), length) + value : value;
|
4126
4126
|
}
|
4127
4127
|
break;
|
4128
4128
|
// position: sticky
|
@@ -4136,11 +4136,11 @@ function prefix(value, length) {
|
|
4136
4136
|
switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
|
4137
4137
|
// stic(k)y
|
4138
4138
|
case 107:
|
4139
|
-
return replace(value, ':', ':' + WEBKIT) + value;
|
4139
|
+
return replace$1(value, ':', ':' + WEBKIT) + value;
|
4140
4140
|
// (inline-)?fl(e)x
|
4141
4141
|
|
4142
4142
|
case 101:
|
4143
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
4143
|
+
return replace$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
4144
4144
|
}
|
4145
4145
|
|
4146
4146
|
break;
|
@@ -4150,15 +4150,15 @@ function prefix(value, length) {
|
|
4150
4150
|
switch (charat(value, length + 11)) {
|
4151
4151
|
// vertical-l(r)
|
4152
4152
|
case 114:
|
4153
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
4153
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
4154
4154
|
// vertical-r(l)
|
4155
4155
|
|
4156
4156
|
case 108:
|
4157
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
4157
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
4158
4158
|
// horizontal(-)tb
|
4159
4159
|
|
4160
4160
|
case 45:
|
4161
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
4161
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
4162
4162
|
}
|
4163
4163
|
|
4164
4164
|
return WEBKIT + value + MS + value + value;
|
@@ -4175,7 +4175,7 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
4175
4175
|
|
4176
4176
|
case KEYFRAMES:
|
4177
4177
|
return serialize([copy(element, {
|
4178
|
-
value: replace(element.value, '@', '@' + WEBKIT)
|
4178
|
+
value: replace$1(element.value, '@', '@' + WEBKIT)
|
4179
4179
|
})], callback);
|
4180
4180
|
|
4181
4181
|
case RULESET:
|
@@ -4185,17 +4185,17 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
4185
4185
|
case ':read-only':
|
4186
4186
|
case ':read-write':
|
4187
4187
|
return serialize([copy(element, {
|
4188
|
-
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
4188
|
+
props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
4189
4189
|
})], callback);
|
4190
4190
|
// :placeholder
|
4191
4191
|
|
4192
4192
|
case '::placeholder':
|
4193
4193
|
return serialize([copy(element, {
|
4194
|
-
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
4194
|
+
props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
4195
4195
|
}), copy(element, {
|
4196
|
-
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
4196
|
+
props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
4197
4197
|
}), copy(element, {
|
4198
|
-
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
4198
|
+
props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]
|
4199
4199
|
})], callback);
|
4200
4200
|
}
|
4201
4201
|
|
@@ -9607,7 +9607,7 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions));
|
|
9607
9607
|
|
9608
9608
|
var objectDefineProperties = {};
|
9609
9609
|
|
9610
|
-
var DESCRIPTORS$
|
9610
|
+
var DESCRIPTORS$2 = descriptors;
|
9611
9611
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
9612
9612
|
var definePropertyModule = objectDefineProperty;
|
9613
9613
|
var anObject$2 = anObject$5;
|
@@ -9617,7 +9617,7 @@ var objectKeys = objectKeys$2;
|
|
9617
9617
|
// `Object.defineProperties` method
|
9618
9618
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
9619
9619
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
9620
|
-
objectDefineProperties.f = DESCRIPTORS$
|
9620
|
+
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
9621
9621
|
anObject$2(O);
|
9622
9622
|
var props = toIndexedObject$1(Properties);
|
9623
9623
|
var keys = objectKeys(Properties);
|
@@ -9717,17 +9717,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
9717
9717
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
9718
9718
|
};
|
9719
9719
|
|
9720
|
-
var wellKnownSymbol$
|
9720
|
+
var wellKnownSymbol$6 = wellKnownSymbol$8;
|
9721
9721
|
var create$1 = objectCreate;
|
9722
|
-
var defineProperty$
|
9722
|
+
var defineProperty$3 = objectDefineProperty.f;
|
9723
9723
|
|
9724
|
-
var UNSCOPABLES = wellKnownSymbol$
|
9724
|
+
var UNSCOPABLES = wellKnownSymbol$6('unscopables');
|
9725
9725
|
var ArrayPrototype = Array.prototype;
|
9726
9726
|
|
9727
9727
|
// Array.prototype[@@unscopables]
|
9728
9728
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
9729
9729
|
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
9730
|
-
defineProperty$
|
9730
|
+
defineProperty$3(ArrayPrototype, UNSCOPABLES, {
|
9731
9731
|
configurable: true,
|
9732
9732
|
value: create$1(null)
|
9733
9733
|
});
|
@@ -9749,36 +9749,36 @@ var correctPrototypeGetter = !fails$1(function () {
|
|
9749
9749
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
9750
9750
|
});
|
9751
9751
|
|
9752
|
-
var hasOwn$
|
9753
|
-
var isCallable$
|
9752
|
+
var hasOwn$2 = hasOwnProperty_1;
|
9753
|
+
var isCallable$5 = isCallable$g;
|
9754
9754
|
var toObject = toObject$4;
|
9755
9755
|
var sharedKey = sharedKey$3;
|
9756
9756
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
9757
9757
|
|
9758
9758
|
var IE_PROTO = sharedKey('IE_PROTO');
|
9759
|
-
var $Object = Object;
|
9760
|
-
var ObjectPrototype = $Object.prototype;
|
9759
|
+
var $Object$1 = Object;
|
9760
|
+
var ObjectPrototype = $Object$1.prototype;
|
9761
9761
|
|
9762
9762
|
// `Object.getPrototypeOf` method
|
9763
9763
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
9764
9764
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
9765
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
9765
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
9766
9766
|
var object = toObject(O);
|
9767
|
-
if (hasOwn$
|
9767
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
9768
9768
|
var constructor = object.constructor;
|
9769
|
-
if (isCallable$
|
9769
|
+
if (isCallable$5(constructor) && object instanceof constructor) {
|
9770
9770
|
return constructor.prototype;
|
9771
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
9771
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
9772
9772
|
};
|
9773
9773
|
|
9774
9774
|
var fails = fails$b;
|
9775
|
-
var isCallable$
|
9775
|
+
var isCallable$4 = isCallable$g;
|
9776
9776
|
var isObject = isObject$6;
|
9777
9777
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
9778
9778
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
9779
|
-
var wellKnownSymbol$
|
9779
|
+
var wellKnownSymbol$5 = wellKnownSymbol$8;
|
9780
9780
|
|
9781
|
-
var ITERATOR$2 = wellKnownSymbol$
|
9781
|
+
var ITERATOR$2 = wellKnownSymbol$5('iterator');
|
9782
9782
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
9783
9783
|
|
9784
9784
|
// `%IteratorPrototype%` object
|
@@ -9806,7 +9806,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
|
|
9806
9806
|
|
9807
9807
|
// `%IteratorPrototype%[@@iterator]()` method
|
9808
9808
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
9809
|
-
if (!isCallable$
|
9809
|
+
if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
|
9810
9810
|
defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
|
9811
9811
|
return this;
|
9812
9812
|
});
|
@@ -9817,16 +9817,16 @@ var iteratorsCore = {
|
|
9817
9817
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
9818
9818
|
};
|
9819
9819
|
|
9820
|
-
var defineProperty$
|
9821
|
-
var hasOwn = hasOwnProperty_1;
|
9822
|
-
var wellKnownSymbol$
|
9820
|
+
var defineProperty$2 = objectDefineProperty.f;
|
9821
|
+
var hasOwn$1 = hasOwnProperty_1;
|
9822
|
+
var wellKnownSymbol$4 = wellKnownSymbol$8;
|
9823
9823
|
|
9824
|
-
var TO_STRING_TAG$
|
9824
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$4('toStringTag');
|
9825
9825
|
|
9826
9826
|
var setToStringTag$2 = function (target, TAG, STATIC) {
|
9827
9827
|
if (target && !STATIC) target = target.prototype;
|
9828
|
-
if (target && !hasOwn(target, TO_STRING_TAG$
|
9829
|
-
defineProperty$
|
9828
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$3)) {
|
9829
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
9830
9830
|
}
|
9831
9831
|
};
|
9832
9832
|
|
@@ -9846,24 +9846,24 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
|
|
9846
9846
|
return IteratorConstructor;
|
9847
9847
|
};
|
9848
9848
|
|
9849
|
-
var uncurryThis = functionUncurryThis;
|
9849
|
+
var uncurryThis$1 = functionUncurryThis;
|
9850
9850
|
var aCallable = aCallable$2;
|
9851
9851
|
|
9852
9852
|
var functionUncurryThisAccessor = function (object, key, method) {
|
9853
9853
|
try {
|
9854
9854
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
9855
|
-
return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
9855
|
+
return uncurryThis$1(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
|
9856
9856
|
} catch (error) { /* empty */ }
|
9857
9857
|
};
|
9858
9858
|
|
9859
|
-
var isCallable$
|
9859
|
+
var isCallable$3 = isCallable$g;
|
9860
9860
|
|
9861
|
-
var $String = String;
|
9861
|
+
var $String$1 = String;
|
9862
9862
|
var $TypeError = TypeError;
|
9863
9863
|
|
9864
9864
|
var aPossiblePrototype$1 = function (argument) {
|
9865
|
-
if (typeof argument == 'object' || isCallable$
|
9866
|
-
throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
|
9865
|
+
if (typeof argument == 'object' || isCallable$3(argument)) return argument;
|
9866
|
+
throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
|
9867
9867
|
};
|
9868
9868
|
|
9869
9869
|
/* eslint-disable no-proto -- safe */
|
@@ -9894,17 +9894,17 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
9894
9894
|
};
|
9895
9895
|
}() : undefined);
|
9896
9896
|
|
9897
|
-
var
|
9897
|
+
var $$1 = _export;
|
9898
9898
|
var call = functionCall;
|
9899
9899
|
var FunctionName = functionName;
|
9900
|
-
var isCallable = isCallable$
|
9900
|
+
var isCallable$2 = isCallable$g;
|
9901
9901
|
var createIteratorConstructor = iteratorCreateConstructor;
|
9902
9902
|
var getPrototypeOf = objectGetPrototypeOf;
|
9903
9903
|
var setPrototypeOf = objectSetPrototypeOf;
|
9904
9904
|
var setToStringTag = setToStringTag$2;
|
9905
9905
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
9906
9906
|
var defineBuiltIn = defineBuiltIn$3;
|
9907
|
-
var wellKnownSymbol$
|
9907
|
+
var wellKnownSymbol$3 = wellKnownSymbol$8;
|
9908
9908
|
var Iterators$1 = iterators;
|
9909
9909
|
var IteratorsCore = iteratorsCore;
|
9910
9910
|
|
@@ -9912,7 +9912,7 @@ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
9912
9912
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
9913
9913
|
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
9914
9914
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
9915
|
-
var ITERATOR$1 = wellKnownSymbol$
|
9915
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
9916
9916
|
var KEYS = 'keys';
|
9917
9917
|
var VALUES = 'values';
|
9918
9918
|
var ENTRIES = 'entries';
|
@@ -9949,7 +9949,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
9949
9949
|
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
9950
9950
|
if (setPrototypeOf) {
|
9951
9951
|
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
9952
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
|
9952
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
|
9953
9953
|
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
|
9954
9954
|
}
|
9955
9955
|
}
|
@@ -9979,7 +9979,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
9979
9979
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
9980
9980
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
9981
9981
|
}
|
9982
|
-
} else
|
9982
|
+
} else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
9983
9983
|
}
|
9984
9984
|
|
9985
9985
|
// define iterator
|
@@ -10001,10 +10001,10 @@ var toIndexedObject = toIndexedObject$5;
|
|
10001
10001
|
var addToUnscopables = addToUnscopables$1;
|
10002
10002
|
var Iterators = iterators;
|
10003
10003
|
var InternalStateModule = internalState;
|
10004
|
-
var defineProperty = objectDefineProperty.f;
|
10004
|
+
var defineProperty$1 = objectDefineProperty.f;
|
10005
10005
|
var defineIterator = iteratorDefine;
|
10006
10006
|
var createIterResultObject = createIterResultObject$1;
|
10007
|
-
var DESCRIPTORS = descriptors;
|
10007
|
+
var DESCRIPTORS$1 = descriptors;
|
10008
10008
|
|
10009
10009
|
var ARRAY_ITERATOR = 'Array Iterator';
|
10010
10010
|
var setInternalState = InternalStateModule.set;
|
@@ -10054,8 +10054,8 @@ addToUnscopables('values');
|
|
10054
10054
|
addToUnscopables('entries');
|
10055
10055
|
|
10056
10056
|
// V8 ~ Chrome 45- bug
|
10057
|
-
if (DESCRIPTORS && values$1.name !== 'values') try {
|
10058
|
-
defineProperty(values$1, 'name', { value: 'values' });
|
10057
|
+
if (DESCRIPTORS$1 && values$1.name !== 'values') try {
|
10058
|
+
defineProperty$1(values$1, 'name', { value: 'values' });
|
10059
10059
|
} catch (error) { /* empty */ }
|
10060
10060
|
|
10061
10061
|
// iterable DOM collections
|
@@ -10102,15 +10102,15 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
10102
10102
|
|
10103
10103
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
10104
10104
|
|
10105
|
-
var global$
|
10105
|
+
var global$2 = global$d;
|
10106
10106
|
var DOMIterables = domIterables;
|
10107
10107
|
var DOMTokenListPrototype = domTokenListPrototype;
|
10108
10108
|
var ArrayIteratorMethods = es_array_iterator;
|
10109
10109
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
10110
|
-
var wellKnownSymbol = wellKnownSymbol$
|
10110
|
+
var wellKnownSymbol$2 = wellKnownSymbol$8;
|
10111
10111
|
|
10112
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
10113
|
-
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
10112
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
10113
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$2('toStringTag');
|
10114
10114
|
var ArrayValues = ArrayIteratorMethods.values;
|
10115
10115
|
|
10116
10116
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
@@ -10121,8 +10121,8 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
10121
10121
|
} catch (error) {
|
10122
10122
|
CollectionPrototype[ITERATOR] = ArrayValues;
|
10123
10123
|
}
|
10124
|
-
if (!CollectionPrototype[TO_STRING_TAG]) {
|
10125
|
-
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);
|
10124
|
+
if (!CollectionPrototype[TO_STRING_TAG$2]) {
|
10125
|
+
createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG$2, COLLECTION_NAME);
|
10126
10126
|
}
|
10127
10127
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
10128
10128
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
@@ -10136,11 +10136,125 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
10136
10136
|
};
|
10137
10137
|
|
10138
10138
|
for (var COLLECTION_NAME in DOMIterables) {
|
10139
|
-
handlePrototype(global$
|
10139
|
+
handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
10140
10140
|
}
|
10141
10141
|
|
10142
10142
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
10143
10143
|
|
10144
|
+
var wellKnownSymbol$1 = wellKnownSymbol$8;
|
10145
|
+
|
10146
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
|
10147
|
+
var test = {};
|
10148
|
+
|
10149
|
+
test[TO_STRING_TAG$1] = 'z';
|
10150
|
+
|
10151
|
+
var toStringTagSupport = String(test) === '[object z]';
|
10152
|
+
|
10153
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
10154
|
+
var isCallable$1 = isCallable$g;
|
10155
|
+
var classofRaw = classofRaw$1;
|
10156
|
+
var wellKnownSymbol = wellKnownSymbol$8;
|
10157
|
+
|
10158
|
+
var TO_STRING_TAG = wellKnownSymbol('toStringTag');
|
10159
|
+
var $Object = Object;
|
10160
|
+
|
10161
|
+
// ES3 wrong here
|
10162
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
10163
|
+
|
10164
|
+
// fallback for IE11 Script Access Denied error
|
10165
|
+
var tryGet = function (it, key) {
|
10166
|
+
try {
|
10167
|
+
return it[key];
|
10168
|
+
} catch (error) { /* empty */ }
|
10169
|
+
};
|
10170
|
+
|
10171
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
10172
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
10173
|
+
var O, tag, result;
|
10174
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
10175
|
+
// @@toStringTag case
|
10176
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
10177
|
+
// builtinTag case
|
10178
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
10179
|
+
// ES3 arguments fallback
|
10180
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
10181
|
+
};
|
10182
|
+
|
10183
|
+
var classof = classof$1;
|
10184
|
+
|
10185
|
+
var $String = String;
|
10186
|
+
|
10187
|
+
var toString$1 = function (argument) {
|
10188
|
+
if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
10189
|
+
return $String(argument);
|
10190
|
+
};
|
10191
|
+
|
10192
|
+
var makeBuiltIn = makeBuiltIn$3.exports;
|
10193
|
+
var defineProperty = objectDefineProperty;
|
10194
|
+
|
10195
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
10196
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
10197
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
10198
|
+
return defineProperty.f(target, name, descriptor);
|
10199
|
+
};
|
10200
|
+
|
10201
|
+
var $ = _export;
|
10202
|
+
var DESCRIPTORS = descriptors;
|
10203
|
+
var global$1 = global$d;
|
10204
|
+
var uncurryThis = functionUncurryThis;
|
10205
|
+
var hasOwn = hasOwnProperty_1;
|
10206
|
+
var isCallable = isCallable$g;
|
10207
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
10208
|
+
var toString = toString$1;
|
10209
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
10210
|
+
var copyConstructorProperties = copyConstructorProperties$2;
|
10211
|
+
|
10212
|
+
var NativeSymbol = global$1.Symbol;
|
10213
|
+
var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
|
10214
|
+
|
10215
|
+
if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||
|
10216
|
+
// Safari 12 bug
|
10217
|
+
NativeSymbol().description !== undefined
|
10218
|
+
)) {
|
10219
|
+
var EmptyStringDescriptionStore = {};
|
10220
|
+
// wrap Symbol constructor for correct work with undefined description
|
10221
|
+
var SymbolWrapper = function Symbol() {
|
10222
|
+
var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);
|
10223
|
+
var result = isPrototypeOf(SymbolPrototype, this)
|
10224
|
+
? new NativeSymbol(description)
|
10225
|
+
// in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'
|
10226
|
+
: description === undefined ? NativeSymbol() : NativeSymbol(description);
|
10227
|
+
if (description === '') EmptyStringDescriptionStore[result] = true;
|
10228
|
+
return result;
|
10229
|
+
};
|
10230
|
+
|
10231
|
+
copyConstructorProperties(SymbolWrapper, NativeSymbol);
|
10232
|
+
SymbolWrapper.prototype = SymbolPrototype;
|
10233
|
+
SymbolPrototype.constructor = SymbolWrapper;
|
10234
|
+
|
10235
|
+
var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
|
10236
|
+
var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
|
10237
|
+
var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
|
10238
|
+
var regexp = /^Symbol\((.*)\)[^)]+$/;
|
10239
|
+
var replace = uncurryThis(''.replace);
|
10240
|
+
var stringSlice = uncurryThis(''.slice);
|
10241
|
+
|
10242
|
+
defineBuiltInAccessor(SymbolPrototype, 'description', {
|
10243
|
+
configurable: true,
|
10244
|
+
get: function description() {
|
10245
|
+
var symbol = thisSymbolValue(this);
|
10246
|
+
if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
|
10247
|
+
var string = symbolDescriptiveString(symbol);
|
10248
|
+
var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
|
10249
|
+
return desc === '' ? undefined : desc;
|
10250
|
+
}
|
10251
|
+
});
|
10252
|
+
|
10253
|
+
$({ global: true, constructor: true, forced: true }, {
|
10254
|
+
Symbol: SymbolWrapper
|
10255
|
+
});
|
10256
|
+
}
|
10257
|
+
|
10144
10258
|
function _setPrototypeOf(o, p) {
|
10145
10259
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
10146
10260
|
o.__proto__ = p;
|
@@ -12894,9 +13008,9 @@ const ToastNotification = toast => {
|
|
12894
13008
|
clearInterval(interval || toast.time);
|
12895
13009
|
};
|
12896
13010
|
}, [timeProgress, toast.time]);
|
12897
|
-
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null,
|
13011
|
+
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
12898
13012
|
theme: SincoTheme
|
12899
|
-
}, /*#__PURE__*/React__default.createElement(Stack$1, {
|
13013
|
+
}, openToast && /*#__PURE__*/React__default.createElement(Stack$1, {
|
12900
13014
|
alignItems: position || 'right'
|
12901
13015
|
}, /*#__PURE__*/React__default.createElement(ToastContent, {
|
12902
13016
|
width: 370,
|
@@ -12930,7 +13044,7 @@ const ToastNotification = toast => {
|
|
12930
13044
|
}, /*#__PURE__*/React__default.createElement(Typography$1, {
|
12931
13045
|
color: "text.primary",
|
12932
13046
|
variant: "body2"
|
12933
|
-
}, toast.
|
13047
|
+
}, toast.description), !showOptions && toast.dataOpt && toast.dataOpt.length > 0 && /*#__PURE__*/React__default.createElement("ul", {
|
12934
13048
|
style: {
|
12935
13049
|
paddingLeft: 15,
|
12936
13050
|
marginBlock: 0,
|