@sinco/react 1.0.4-rc.5 → 1.0.4-rc.6
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 +778 -261
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/lib/Components/EmptyState.d.ts +2 -2
- package/src/lib/Components/index.d.ts +1 -0
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$e =
|
13
13
|
// eslint-disable-next-line es/no-global-this -- safe
|
14
14
|
check(typeof globalThis == 'object' && globalThis) ||
|
15
15
|
check(typeof window == 'object' && window) ||
|
@@ -21,7 +21,7 @@ var global$b =
|
|
21
21
|
|
22
22
|
var objectGetOwnPropertyDescriptor = {};
|
23
23
|
|
24
|
-
var fails$
|
24
|
+
var fails$d = function (exec) {
|
25
25
|
try {
|
26
26
|
return !!exec();
|
27
27
|
} catch (error) {
|
@@ -29,17 +29,17 @@ var fails$9 = function (exec) {
|
|
29
29
|
}
|
30
30
|
};
|
31
31
|
|
32
|
-
var fails$
|
32
|
+
var fails$c = fails$d;
|
33
33
|
|
34
34
|
// Detect IE8's incomplete defineProperty implementation
|
35
|
-
var descriptors = !fails$
|
35
|
+
var descriptors = !fails$c(function () {
|
36
36
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
37
37
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
38
38
|
});
|
39
39
|
|
40
|
-
var fails$
|
40
|
+
var fails$b = fails$d;
|
41
41
|
|
42
|
-
var functionBindNative = !fails$
|
42
|
+
var functionBindNative = !fails$b(function () {
|
43
43
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
44
44
|
var test = (function () { /* empty */ }).bind();
|
45
45
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
@@ -48,10 +48,10 @@ var functionBindNative = !fails$7(function () {
|
|
48
48
|
|
49
49
|
var NATIVE_BIND$1 = functionBindNative;
|
50
50
|
|
51
|
-
var call$
|
51
|
+
var call$8 = Function.prototype.call;
|
52
52
|
|
53
|
-
var functionCall = NATIVE_BIND$1 ? call$
|
54
|
-
return call$
|
53
|
+
var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
|
54
|
+
return call$8.apply(call$8, arguments);
|
55
55
|
};
|
56
56
|
|
57
57
|
var objectPropertyIsEnumerable = {};
|
@@ -82,63 +82,63 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
82
82
|
var NATIVE_BIND = functionBindNative;
|
83
83
|
|
84
84
|
var FunctionPrototype$1 = Function.prototype;
|
85
|
-
var call$
|
86
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
85
|
+
var call$7 = FunctionPrototype$1.call;
|
86
|
+
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
|
87
87
|
|
88
88
|
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
89
89
|
return function () {
|
90
|
-
return call$
|
90
|
+
return call$7.apply(fn, arguments);
|
91
91
|
};
|
92
92
|
};
|
93
93
|
|
94
|
-
var uncurryThis$
|
94
|
+
var uncurryThis$c = functionUncurryThis;
|
95
95
|
|
96
|
-
var toString$
|
97
|
-
var stringSlice$
|
96
|
+
var toString$4 = uncurryThis$c({}.toString);
|
97
|
+
var stringSlice$2 = uncurryThis$c(''.slice);
|
98
98
|
|
99
|
-
var classofRaw = function (it) {
|
100
|
-
return stringSlice$
|
99
|
+
var classofRaw$2 = function (it) {
|
100
|
+
return stringSlice$2(toString$4(it), 8, -1);
|
101
101
|
};
|
102
102
|
|
103
|
-
var uncurryThis$
|
104
|
-
var fails$
|
105
|
-
var classof = classofRaw;
|
103
|
+
var uncurryThis$b = functionUncurryThis;
|
104
|
+
var fails$a = fails$d;
|
105
|
+
var classof$3 = classofRaw$2;
|
106
106
|
|
107
|
-
var $Object$
|
108
|
-
var split = uncurryThis$
|
107
|
+
var $Object$3 = Object;
|
108
|
+
var split = uncurryThis$b(''.split);
|
109
109
|
|
110
110
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
111
|
-
var indexedObject = fails$
|
111
|
+
var indexedObject = fails$a(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$3('z').propertyIsEnumerable(0);
|
115
115
|
}) ? function (it) {
|
116
|
-
return classof(it) == 'String' ? split(it, '') : $Object$
|
117
|
-
} : $Object$
|
116
|
+
return classof$3(it) == 'String' ? split(it, '') : $Object$3(it);
|
117
|
+
} : $Object$3;
|
118
118
|
|
119
119
|
// we can't use just `it == null` since of `document.all` special case
|
120
120
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
121
|
-
var isNullOrUndefined$
|
121
|
+
var isNullOrUndefined$3 = function (it) {
|
122
122
|
return it === null || it === undefined;
|
123
123
|
};
|
124
124
|
|
125
|
-
var isNullOrUndefined$
|
125
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
126
126
|
|
127
|
-
var $TypeError$
|
127
|
+
var $TypeError$6 = TypeError;
|
128
128
|
|
129
129
|
// `RequireObjectCoercible` abstract operation
|
130
130
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
131
|
-
var requireObjectCoercible$
|
132
|
-
if (isNullOrUndefined$
|
131
|
+
var requireObjectCoercible$3 = function (it) {
|
132
|
+
if (isNullOrUndefined$2(it)) throw $TypeError$6("Can't call method on " + it);
|
133
133
|
return it;
|
134
134
|
};
|
135
135
|
|
136
136
|
// toObject with fallback for non-array-like ES3 strings
|
137
137
|
var IndexedObject$1 = indexedObject;
|
138
|
-
var requireObjectCoercible$
|
138
|
+
var requireObjectCoercible$2 = requireObjectCoercible$3;
|
139
139
|
|
140
|
-
var toIndexedObject$
|
141
|
-
return IndexedObject$1(requireObjectCoercible$
|
140
|
+
var toIndexedObject$4 = function (it) {
|
141
|
+
return IndexedObject$1(requireObjectCoercible$2(it));
|
142
142
|
};
|
143
143
|
|
144
144
|
var documentAll$2 = typeof document == 'object' && document.all;
|
@@ -158,45 +158,45 @@ var documentAll$1 = $documentAll$1.all;
|
|
158
158
|
|
159
159
|
// `IsCallable` abstract operation
|
160
160
|
// https://tc39.es/ecma262/#sec-iscallable
|
161
|
-
var isCallable$
|
161
|
+
var isCallable$c = $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$b = isCallable$c;
|
168
168
|
var $documentAll = documentAll_1;
|
169
169
|
|
170
170
|
var documentAll = $documentAll.all;
|
171
171
|
|
172
172
|
var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
|
173
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
173
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;
|
174
174
|
} : function (it) {
|
175
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
175
|
+
return typeof it == 'object' ? it !== null : isCallable$b(it);
|
176
176
|
};
|
177
177
|
|
178
|
-
var global$
|
179
|
-
var isCallable$
|
178
|
+
var global$d = global$e;
|
179
|
+
var isCallable$a = isCallable$c;
|
180
180
|
|
181
181
|
var aFunction = function (argument) {
|
182
|
-
return isCallable$
|
182
|
+
return isCallable$a(argument) ? argument : undefined;
|
183
183
|
};
|
184
184
|
|
185
|
-
var getBuiltIn$
|
186
|
-
return arguments.length < 2 ? aFunction(global$
|
185
|
+
var getBuiltIn$3 = function (namespace, method) {
|
186
|
+
return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
|
187
187
|
};
|
188
188
|
|
189
|
-
var uncurryThis$
|
189
|
+
var uncurryThis$a = functionUncurryThis;
|
190
190
|
|
191
|
-
var objectIsPrototypeOf = uncurryThis$
|
191
|
+
var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
|
192
192
|
|
193
193
|
var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
|
194
194
|
|
195
|
-
var global$
|
195
|
+
var global$c = global$e;
|
196
196
|
var userAgent = engineUserAgent;
|
197
197
|
|
198
|
-
var process$1 = global$
|
199
|
-
var Deno = global$
|
198
|
+
var process$1 = global$c.process;
|
199
|
+
var Deno = global$c.Deno;
|
200
200
|
var versions = process$1 && process$1.versions || Deno && Deno.version;
|
201
201
|
var v8 = versions && versions.v8;
|
202
202
|
var match$1, version;
|
@@ -223,19 +223,19 @@ var engineV8Version = version;
|
|
223
223
|
/* eslint-disable es/no-symbol -- required for testing */
|
224
224
|
|
225
225
|
var V8_VERSION = engineV8Version;
|
226
|
-
var fails$
|
227
|
-
var global$
|
226
|
+
var fails$9 = fails$d;
|
227
|
+
var global$b = global$e;
|
228
228
|
|
229
|
-
var $String$
|
229
|
+
var $String$4 = global$b.String;
|
230
230
|
|
231
231
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
232
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
232
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
|
233
233
|
var symbol = Symbol();
|
234
234
|
// Chrome 38 Symbol has incorrect toString conversion
|
235
235
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
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$4(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
|
});
|
@@ -248,93 +248,93 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
248
248
|
&& !Symbol.sham
|
249
249
|
&& typeof Symbol.iterator == 'symbol';
|
250
250
|
|
251
|
-
var getBuiltIn$
|
252
|
-
var isCallable$
|
251
|
+
var getBuiltIn$2 = getBuiltIn$3;
|
252
|
+
var isCallable$9 = isCallable$c;
|
253
253
|
var isPrototypeOf = objectIsPrototypeOf;
|
254
254
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
255
255
|
|
256
|
-
var $Object$
|
256
|
+
var $Object$2 = 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
|
-
var $Symbol = getBuiltIn$
|
262
|
-
return isCallable$
|
261
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
262
|
+
return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));
|
263
263
|
};
|
264
264
|
|
265
|
-
var $String$
|
265
|
+
var $String$3 = String;
|
266
266
|
|
267
267
|
var tryToString$1 = function (argument) {
|
268
268
|
try {
|
269
|
-
return $String$
|
269
|
+
return $String$3(argument);
|
270
270
|
} catch (error) {
|
271
271
|
return 'Object';
|
272
272
|
}
|
273
273
|
};
|
274
274
|
|
275
|
-
var isCallable$
|
275
|
+
var isCallable$8 = isCallable$c;
|
276
276
|
var tryToString = tryToString$1;
|
277
277
|
|
278
|
-
var $TypeError$
|
278
|
+
var $TypeError$5 = TypeError;
|
279
279
|
|
280
280
|
// `Assert: IsCallable(argument) is true`
|
281
281
|
var aCallable$1 = function (argument) {
|
282
|
-
if (isCallable$
|
283
|
-
throw $TypeError$
|
282
|
+
if (isCallable$8(argument)) return argument;
|
283
|
+
throw $TypeError$5(tryToString(argument) + ' is not a function');
|
284
284
|
};
|
285
285
|
|
286
286
|
var aCallable = aCallable$1;
|
287
|
-
var isNullOrUndefined = isNullOrUndefined$
|
287
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
288
288
|
|
289
289
|
// `GetMethod` abstract operation
|
290
290
|
// https://tc39.es/ecma262/#sec-getmethod
|
291
|
-
var getMethod$
|
291
|
+
var getMethod$2 = function (V, P) {
|
292
292
|
var func = V[P];
|
293
|
-
return isNullOrUndefined(func) ? undefined : aCallable(func);
|
293
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable(func);
|
294
294
|
};
|
295
295
|
|
296
|
-
var call$
|
297
|
-
var isCallable$
|
296
|
+
var call$6 = functionCall;
|
297
|
+
var isCallable$7 = isCallable$c;
|
298
298
|
var isObject$4 = isObject$5;
|
299
299
|
|
300
|
-
var $TypeError$
|
300
|
+
var $TypeError$4 = TypeError;
|
301
301
|
|
302
302
|
// `OrdinaryToPrimitive` abstract operation
|
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$
|
309
|
-
throw $TypeError$
|
306
|
+
if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
|
307
|
+
if (isCallable$7(fn = input.valueOf) && !isObject$4(val = call$6(fn, input))) return val;
|
308
|
+
if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$4(val = call$6(fn, input))) return val;
|
309
|
+
throw $TypeError$4("Can't convert object to primitive value");
|
310
310
|
};
|
311
311
|
|
312
|
-
var shared$
|
312
|
+
var shared$4 = {exports: {}};
|
313
313
|
|
314
|
-
var global$
|
314
|
+
var global$a = global$e;
|
315
315
|
|
316
316
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
317
317
|
var defineProperty$2 = Object.defineProperty;
|
318
318
|
|
319
319
|
var defineGlobalProperty$3 = function (key, value) {
|
320
320
|
try {
|
321
|
-
defineProperty$2(global$
|
321
|
+
defineProperty$2(global$a, key, { value: value, configurable: true, writable: true });
|
322
322
|
} catch (error) {
|
323
|
-
global$
|
323
|
+
global$a[key] = value;
|
324
324
|
} return value;
|
325
325
|
};
|
326
326
|
|
327
|
-
var global$
|
327
|
+
var global$9 = global$e;
|
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$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
332
332
|
|
333
333
|
var sharedStore = store$3;
|
334
334
|
|
335
335
|
var store$2 = sharedStore;
|
336
336
|
|
337
|
-
(shared$
|
337
|
+
(shared$4.exports = function (key, value) {
|
338
338
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
339
339
|
})('versions', []).push({
|
340
340
|
version: '3.30.2',
|
@@ -344,20 +344,20 @@ var store$2 = sharedStore;
|
|
344
344
|
source: 'https://github.com/zloirock/core-js'
|
345
345
|
});
|
346
346
|
|
347
|
-
var requireObjectCoercible = requireObjectCoercible$
|
347
|
+
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
348
348
|
|
349
|
-
var $Object = Object;
|
349
|
+
var $Object$1 = Object;
|
350
350
|
|
351
351
|
// `ToObject` abstract operation
|
352
352
|
// https://tc39.es/ecma262/#sec-toobject
|
353
353
|
var toObject$3 = function (argument) {
|
354
|
-
return $Object(requireObjectCoercible(argument));
|
354
|
+
return $Object$1(requireObjectCoercible$1(argument));
|
355
355
|
};
|
356
356
|
|
357
|
-
var uncurryThis$
|
357
|
+
var uncurryThis$9 = functionUncurryThis;
|
358
358
|
var toObject$2 = toObject$3;
|
359
359
|
|
360
|
-
var hasOwnProperty$2 = uncurryThis$
|
360
|
+
var hasOwnProperty$2 = uncurryThis$9({}.hasOwnProperty);
|
361
361
|
|
362
362
|
// `HasOwnProperty` abstract operation
|
363
363
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
@@ -366,28 +366,28 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
366
366
|
return hasOwnProperty$2(toObject$2(it), key);
|
367
367
|
};
|
368
368
|
|
369
|
-
var uncurryThis$
|
369
|
+
var uncurryThis$8 = functionUncurryThis;
|
370
370
|
|
371
371
|
var id = 0;
|
372
372
|
var postfix = Math.random();
|
373
|
-
var toString = uncurryThis$
|
373
|
+
var toString$3 = uncurryThis$8(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$3(++id + postfix, 36);
|
377
377
|
};
|
378
378
|
|
379
|
-
var global$
|
380
|
-
var shared$
|
379
|
+
var global$8 = global$e;
|
380
|
+
var shared$3 = shared$4.exports;
|
381
381
|
var hasOwn$6 = hasOwnProperty_1;
|
382
382
|
var uid$1 = uid$2;
|
383
383
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
384
384
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
385
385
|
|
386
|
-
var Symbol$1 = global$
|
387
|
-
var WellKnownSymbolsStore = shared$
|
386
|
+
var Symbol$1 = global$8.Symbol;
|
387
|
+
var WellKnownSymbolsStore = shared$3('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$
|
390
|
+
var wellKnownSymbol$4 = function (name) {
|
391
391
|
if (!hasOwn$6(WellKnownSymbolsStore, name)) {
|
392
392
|
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)
|
393
393
|
? Symbol$1[name]
|
@@ -395,27 +395,27 @@ var wellKnownSymbol$1 = function (name) {
|
|
395
395
|
} return WellKnownSymbolsStore[name];
|
396
396
|
};
|
397
397
|
|
398
|
-
var call$
|
398
|
+
var call$5 = functionCall;
|
399
399
|
var isObject$3 = isObject$5;
|
400
400
|
var isSymbol$1 = isSymbol$2;
|
401
|
-
var getMethod = getMethod$
|
401
|
+
var getMethod$1 = getMethod$2;
|
402
402
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
403
|
-
var wellKnownSymbol = wellKnownSymbol$
|
403
|
+
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
404
404
|
|
405
|
-
var $TypeError$
|
406
|
-
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
405
|
+
var $TypeError$3 = TypeError;
|
406
|
+
var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
|
407
407
|
|
408
408
|
// `ToPrimitive` abstract operation
|
409
409
|
// https://tc39.es/ecma262/#sec-toprimitive
|
410
410
|
var toPrimitive$1 = function (input, pref) {
|
411
411
|
if (!isObject$3(input) || isSymbol$1(input)) return input;
|
412
|
-
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
412
|
+
var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
|
413
413
|
var result;
|
414
414
|
if (exoticToPrim) {
|
415
415
|
if (pref === undefined) pref = 'default';
|
416
|
-
result = call$
|
416
|
+
result = call$5(exoticToPrim, input, pref);
|
417
417
|
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
418
|
-
throw $TypeError$
|
418
|
+
throw $TypeError$3("Can't convert object to primitive value");
|
419
419
|
}
|
420
420
|
if (pref === undefined) pref = 'number';
|
421
421
|
return ordinaryToPrimitive(input, pref);
|
@@ -431,34 +431,34 @@ var toPropertyKey$2 = function (argument) {
|
|
431
431
|
return isSymbol(key) ? key : key + '';
|
432
432
|
};
|
433
433
|
|
434
|
-
var global$
|
434
|
+
var global$7 = global$e;
|
435
435
|
var isObject$2 = isObject$5;
|
436
436
|
|
437
|
-
var document$1 = global$
|
437
|
+
var document$1 = global$7.document;
|
438
438
|
// typeof document.createElement is 'object' in old IE
|
439
439
|
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
440
440
|
|
441
|
-
var documentCreateElement = function (it) {
|
441
|
+
var documentCreateElement$1 = function (it) {
|
442
442
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
443
443
|
};
|
444
444
|
|
445
|
-
var DESCRIPTORS$
|
446
|
-
var fails$
|
447
|
-
var createElement = documentCreateElement;
|
445
|
+
var DESCRIPTORS$8 = descriptors;
|
446
|
+
var fails$8 = fails$d;
|
447
|
+
var createElement = documentCreateElement$1;
|
448
448
|
|
449
449
|
// Thanks to IE8 for its funny defineProperty
|
450
|
-
var ie8DomDefine = !DESCRIPTORS$
|
450
|
+
var ie8DomDefine = !DESCRIPTORS$8 && !fails$8(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$
|
458
|
-
var call$
|
457
|
+
var DESCRIPTORS$7 = descriptors;
|
458
|
+
var call$4 = functionCall;
|
459
459
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
460
460
|
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
461
|
-
var toIndexedObject$
|
461
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
462
462
|
var toPropertyKey$1 = toPropertyKey$2;
|
463
463
|
var hasOwn$5 = hasOwnProperty_1;
|
464
464
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
@@ -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$
|
472
|
-
O = toIndexedObject$
|
471
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
472
|
+
O = toIndexedObject$3(O);
|
473
473
|
P = toPropertyKey$1(P);
|
474
474
|
if (IE8_DOM_DEFINE$1) try {
|
475
475
|
return $getOwnPropertyDescriptor$1(O, P);
|
476
476
|
} catch (error) { /* empty */ }
|
477
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$
|
477
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
478
478
|
};
|
479
479
|
|
480
480
|
var objectDefineProperty = {};
|
481
481
|
|
482
|
-
var DESCRIPTORS$
|
483
|
-
var fails$
|
482
|
+
var DESCRIPTORS$6 = descriptors;
|
483
|
+
var fails$7 = fails$d;
|
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$6 && fails$7(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,22 +494,22 @@ var v8PrototypeDefineBug = DESCRIPTORS$5 && fails$3(function () {
|
|
494
494
|
|
495
495
|
var isObject$1 = isObject$5;
|
496
496
|
|
497
|
-
var $String$
|
498
|
-
var $TypeError$
|
497
|
+
var $String$2 = String;
|
498
|
+
var $TypeError$2 = TypeError;
|
499
499
|
|
500
500
|
// `Assert: Type(argument) is Object`
|
501
|
-
var anObject$
|
501
|
+
var anObject$7 = function (argument) {
|
502
502
|
if (isObject$1(argument)) return argument;
|
503
|
-
throw $TypeError$
|
503
|
+
throw $TypeError$2($String$2(argument) + ' is not an object');
|
504
504
|
};
|
505
505
|
|
506
|
-
var DESCRIPTORS$
|
506
|
+
var DESCRIPTORS$5 = descriptors;
|
507
507
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
508
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
509
|
-
var anObject$
|
508
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
509
|
+
var anObject$6 = anObject$7;
|
510
510
|
var toPropertyKey = toPropertyKey$2;
|
511
511
|
|
512
|
-
var $TypeError = TypeError;
|
512
|
+
var $TypeError$1 = TypeError;
|
513
513
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
514
514
|
var $defineProperty = Object.defineProperty;
|
515
515
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
@@ -520,10 +520,10 @@ var WRITABLE = 'writable';
|
|
520
520
|
|
521
521
|
// `Object.defineProperty` method
|
522
522
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
523
|
-
objectDefineProperty.f = DESCRIPTORS$
|
524
|
-
anObject$
|
523
|
+
objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
524
|
+
anObject$6(O);
|
525
525
|
P = toPropertyKey(P);
|
526
|
-
anObject$
|
526
|
+
anObject$6(Attributes);
|
527
527
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
528
528
|
var current = $getOwnPropertyDescriptor(O, P);
|
529
529
|
if (current && current[WRITABLE]) {
|
@@ -536,23 +536,23 @@ objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defi
|
|
536
536
|
}
|
537
537
|
} return $defineProperty(O, P, Attributes);
|
538
538
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
539
|
-
anObject$
|
539
|
+
anObject$6(O);
|
540
540
|
P = toPropertyKey(P);
|
541
|
-
anObject$
|
541
|
+
anObject$6(Attributes);
|
542
542
|
if (IE8_DOM_DEFINE) try {
|
543
543
|
return $defineProperty(O, P, Attributes);
|
544
544
|
} catch (error) { /* empty */ }
|
545
|
-
if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');
|
545
|
+
if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
|
546
546
|
if ('value' in Attributes) O[P] = Attributes.value;
|
547
547
|
return O;
|
548
548
|
};
|
549
549
|
|
550
|
-
var DESCRIPTORS$
|
551
|
-
var definePropertyModule$
|
550
|
+
var DESCRIPTORS$4 = descriptors;
|
551
|
+
var definePropertyModule$3 = objectDefineProperty;
|
552
552
|
var createPropertyDescriptor = createPropertyDescriptor$2;
|
553
553
|
|
554
|
-
var createNonEnumerableProperty$
|
555
|
-
return definePropertyModule$
|
554
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {
|
555
|
+
return definePropertyModule$3.f(object, key, createPropertyDescriptor(1, value));
|
556
556
|
} : function (object, key, value) {
|
557
557
|
object[key] = value;
|
558
558
|
return object;
|
@@ -560,17 +560,17 @@ var createNonEnumerableProperty$2 = DESCRIPTORS$3 ? function (object, key, value
|
|
560
560
|
|
561
561
|
var makeBuiltIn$2 = {exports: {}};
|
562
562
|
|
563
|
-
var DESCRIPTORS$
|
563
|
+
var DESCRIPTORS$3 = descriptors;
|
564
564
|
var hasOwn$4 = 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$3 && Object.getOwnPropertyDescriptor;
|
569
569
|
|
570
570
|
var EXISTS = hasOwn$4(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$3 || (DESCRIPTORS$3 && 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$7 = functionUncurryThis;
|
582
|
+
var isCallable$6 = isCallable$c;
|
583
583
|
var store$1 = sharedStore;
|
584
584
|
|
585
|
-
var functionToString = uncurryThis$
|
585
|
+
var functionToString = uncurryThis$7(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$6(store$1.inspectSource)) {
|
589
589
|
store$1.inspectSource = function (it) {
|
590
590
|
return functionToString(it);
|
591
591
|
};
|
@@ -593,36 +593,36 @@ if (!isCallable$4(store$1.inspectSource)) {
|
|
593
593
|
|
594
594
|
var inspectSource$1 = store$1.inspectSource;
|
595
595
|
|
596
|
-
var global$
|
597
|
-
var isCallable$
|
596
|
+
var global$6 = global$e;
|
597
|
+
var isCallable$5 = isCallable$c;
|
598
598
|
|
599
|
-
var WeakMap$2 = global$
|
599
|
+
var WeakMap$2 = global$6.WeakMap;
|
600
600
|
|
601
|
-
var weakMapBasicDetection = isCallable$
|
601
|
+
var weakMapBasicDetection = isCallable$5(WeakMap$2) && /native code/.test(String(WeakMap$2));
|
602
602
|
|
603
|
-
var shared$
|
603
|
+
var shared$2 = shared$4.exports;
|
604
604
|
var uid = uid$2;
|
605
605
|
|
606
|
-
var keys = shared$
|
606
|
+
var keys = shared$2('keys');
|
607
607
|
|
608
|
-
var sharedKey$
|
608
|
+
var sharedKey$2 = function (key) {
|
609
609
|
return keys[key] || (keys[key] = uid(key));
|
610
610
|
};
|
611
611
|
|
612
|
-
var hiddenKeys$
|
612
|
+
var hiddenKeys$4 = {};
|
613
613
|
|
614
614
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
615
|
-
var global$
|
615
|
+
var global$5 = global$e;
|
616
616
|
var isObject = isObject$5;
|
617
|
-
var createNonEnumerableProperty$
|
617
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
618
618
|
var hasOwn$3 = hasOwnProperty_1;
|
619
|
-
var shared = sharedStore;
|
620
|
-
var sharedKey = sharedKey$
|
621
|
-
var hiddenKeys$
|
619
|
+
var shared$1 = sharedStore;
|
620
|
+
var sharedKey$1 = sharedKey$2;
|
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$5.TypeError;
|
625
|
+
var WeakMap$1 = global$5.WeakMap;
|
626
626
|
var set, get, has$3;
|
627
627
|
|
628
628
|
var enforce = function (it) {
|
@@ -638,8 +638,8 @@ var getterFor = function (TYPE) {
|
|
638
638
|
};
|
639
639
|
};
|
640
640
|
|
641
|
-
if (NATIVE_WEAK_MAP || shared.state) {
|
642
|
-
var store = shared.state || (shared.state = new WeakMap$1());
|
641
|
+
if (NATIVE_WEAK_MAP || shared$1.state) {
|
642
|
+
var store = shared$1.state || (shared$1.state = new WeakMap$1());
|
643
643
|
/* eslint-disable no-self-assign -- prototype methods protection */
|
644
644
|
store.get = store.get;
|
645
645
|
store.has = store.has;
|
@@ -658,12 +658,12 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
658
658
|
return store.has(it);
|
659
659
|
};
|
660
660
|
} else {
|
661
|
-
var STATE = sharedKey('state');
|
662
|
-
hiddenKeys$
|
661
|
+
var STATE = sharedKey$1('state');
|
662
|
+
hiddenKeys$3[STATE] = true;
|
663
663
|
set = function (it, metadata) {
|
664
664
|
if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
665
665
|
metadata.facade = it;
|
666
|
-
createNonEnumerableProperty$
|
666
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
667
667
|
return metadata;
|
668
668
|
};
|
669
669
|
get = function (it) {
|
@@ -682,38 +682,38 @@ var internalState = {
|
|
682
682
|
getterFor: getterFor
|
683
683
|
};
|
684
684
|
|
685
|
-
var uncurryThis$
|
686
|
-
var fails$
|
687
|
-
var isCallable$
|
685
|
+
var uncurryThis$6 = functionUncurryThis;
|
686
|
+
var fails$6 = fails$d;
|
687
|
+
var isCallable$4 = isCallable$c;
|
688
688
|
var hasOwn$2 = hasOwnProperty_1;
|
689
|
-
var DESCRIPTORS$
|
689
|
+
var DESCRIPTORS$2 = descriptors;
|
690
690
|
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
691
691
|
var inspectSource = inspectSource$1;
|
692
692
|
var InternalStateModule = internalState;
|
693
693
|
|
694
694
|
var enforceInternalState = InternalStateModule.enforce;
|
695
|
-
var getInternalState = InternalStateModule.get;
|
696
|
-
var $String = String;
|
695
|
+
var getInternalState$1 = InternalStateModule.get;
|
696
|
+
var $String$1 = String;
|
697
697
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
698
698
|
var defineProperty$1 = Object.defineProperty;
|
699
|
-
var stringSlice = uncurryThis$
|
700
|
-
var replace$
|
701
|
-
var join = uncurryThis$
|
699
|
+
var stringSlice$1 = uncurryThis$6(''.slice);
|
700
|
+
var replace$2 = uncurryThis$6(''.replace);
|
701
|
+
var join = uncurryThis$6([].join);
|
702
702
|
|
703
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
703
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$6(function () {
|
704
704
|
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
705
705
|
});
|
706
706
|
|
707
707
|
var TEMPLATE = String(String).split('String');
|
708
708
|
|
709
709
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
710
|
-
if (stringSlice($String(name), 0, 7) === 'Symbol(') {
|
711
|
-
name = '[' + replace$
|
710
|
+
if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {
|
711
|
+
name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
|
712
712
|
}
|
713
713
|
if (options && options.getter) name = 'get ' + name;
|
714
714
|
if (options && options.setter) name = 'set ' + name;
|
715
715
|
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
716
|
-
if (DESCRIPTORS$
|
716
|
+
if (DESCRIPTORS$2) defineProperty$1(value, 'name', { value: name, configurable: true });
|
717
717
|
else value.name = name;
|
718
718
|
}
|
719
719
|
if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {
|
@@ -721,7 +721,7 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
721
721
|
}
|
722
722
|
try {
|
723
723
|
if (options && hasOwn$2(options, 'constructor') && options.constructor) {
|
724
|
-
if (DESCRIPTORS$
|
724
|
+
if (DESCRIPTORS$2) defineProperty$1(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 */ }
|
@@ -734,19 +734,19 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
734
734
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
735
735
|
// eslint-disable-next-line no-extend-native -- required
|
736
736
|
Function.prototype.toString = makeBuiltIn$1(function toString() {
|
737
|
-
return isCallable$
|
737
|
+
return isCallable$4(this) && getInternalState$1(this).source || inspectSource(this);
|
738
738
|
}, 'toString');
|
739
739
|
|
740
|
-
var isCallable$
|
741
|
-
var definePropertyModule$
|
740
|
+
var isCallable$3 = isCallable$c;
|
741
|
+
var definePropertyModule$2 = objectDefineProperty;
|
742
742
|
var makeBuiltIn = makeBuiltIn$2.exports;
|
743
743
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
744
744
|
|
745
|
-
var defineBuiltIn$
|
745
|
+
var defineBuiltIn$2 = 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$3(value)) makeBuiltIn(value, name, options);
|
750
750
|
if (options.global) {
|
751
751
|
if (simple) O[key] = value;
|
752
752
|
else defineGlobalProperty$1(key, value);
|
@@ -756,7 +756,7 @@ var defineBuiltIn$1 = function (O, key, value, options) {
|
|
756
756
|
else if (O[key]) simple = true;
|
757
757
|
} catch (error) { /* empty */ }
|
758
758
|
if (simple) O[key] = value;
|
759
|
-
else definePropertyModule$
|
759
|
+
else definePropertyModule$2.f(O, key, {
|
760
760
|
value: value,
|
761
761
|
enumerable: false,
|
762
762
|
configurable: !options.nonConfigurable,
|
@@ -819,14 +819,14 @@ var lengthOfArrayLike$1 = function (obj) {
|
|
819
819
|
return toLength(obj.length);
|
820
820
|
};
|
821
821
|
|
822
|
-
var toIndexedObject$
|
822
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
823
823
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
824
824
|
var lengthOfArrayLike = lengthOfArrayLike$1;
|
825
825
|
|
826
826
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
827
827
|
var createMethod = function (IS_INCLUDES) {
|
828
828
|
return function ($this, el, fromIndex) {
|
829
|
-
var O = toIndexedObject$
|
829
|
+
var O = toIndexedObject$2($this);
|
830
830
|
var length = lengthOfArrayLike(O);
|
831
831
|
var index = toAbsoluteIndex(fromIndex, length);
|
832
832
|
var value;
|
@@ -852,29 +852,29 @@ var arrayIncludes = {
|
|
852
852
|
indexOf: createMethod(false)
|
853
853
|
};
|
854
854
|
|
855
|
-
var uncurryThis$
|
855
|
+
var uncurryThis$5 = functionUncurryThis;
|
856
856
|
var hasOwn$1 = hasOwnProperty_1;
|
857
|
-
var toIndexedObject = toIndexedObject$
|
858
|
-
var indexOf = arrayIncludes.indexOf;
|
859
|
-
var hiddenKeys$
|
857
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
858
|
+
var indexOf$1 = arrayIncludes.indexOf;
|
859
|
+
var hiddenKeys$2 = hiddenKeys$4;
|
860
860
|
|
861
|
-
var push = uncurryThis$
|
861
|
+
var push = uncurryThis$5([].push);
|
862
862
|
|
863
863
|
var objectKeysInternal = function (object, names) {
|
864
|
-
var O = toIndexedObject(object);
|
864
|
+
var O = toIndexedObject$1(object);
|
865
865
|
var i = 0;
|
866
866
|
var result = [];
|
867
867
|
var key;
|
868
|
-
for (key in O) !hasOwn$1(hiddenKeys$
|
868
|
+
for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push(result, key);
|
869
869
|
// Don't enum bug & hidden keys
|
870
870
|
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
871
|
-
~indexOf(result, key) || push(result, key);
|
871
|
+
~indexOf$1(result, key) || push(result, key);
|
872
872
|
}
|
873
873
|
return result;
|
874
874
|
};
|
875
875
|
|
876
876
|
// IE8- don't enum bug keys
|
877
|
-
var enumBugKeys$
|
877
|
+
var enumBugKeys$3 = [
|
878
878
|
'constructor',
|
879
879
|
'hasOwnProperty',
|
880
880
|
'isPrototypeOf',
|
@@ -885,15 +885,15 @@ var enumBugKeys$2 = [
|
|
885
885
|
];
|
886
886
|
|
887
887
|
var internalObjectKeys$1 = objectKeysInternal;
|
888
|
-
var enumBugKeys$
|
888
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
889
889
|
|
890
|
-
var hiddenKeys = enumBugKeys$
|
890
|
+
var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
891
891
|
|
892
892
|
// `Object.getOwnPropertyNames` method
|
893
893
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
894
894
|
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
895
895
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
896
|
-
return internalObjectKeys$1(O, hiddenKeys);
|
896
|
+
return internalObjectKeys$1(O, hiddenKeys$1);
|
897
897
|
};
|
898
898
|
|
899
899
|
var objectGetOwnPropertySymbols = {};
|
@@ -901,17 +901,17 @@ var objectGetOwnPropertySymbols = {};
|
|
901
901
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
902
902
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
903
903
|
|
904
|
-
var getBuiltIn = getBuiltIn$
|
905
|
-
var uncurryThis$
|
904
|
+
var getBuiltIn$1 = getBuiltIn$3;
|
905
|
+
var uncurryThis$4 = functionUncurryThis;
|
906
906
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
907
907
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
908
|
-
var anObject = anObject$
|
908
|
+
var anObject$5 = anObject$7;
|
909
909
|
|
910
|
-
var concat$1 = uncurryThis$
|
910
|
+
var concat$1 = uncurryThis$4([].concat);
|
911
911
|
|
912
912
|
// all object keys, includes non-enumerable and symbols
|
913
|
-
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
914
|
-
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
913
|
+
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
914
|
+
var keys = getOwnPropertyNamesModule.f(anObject$5(it));
|
915
915
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
916
916
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
917
917
|
};
|
@@ -919,11 +919,11 @@ var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
919
919
|
var hasOwn = hasOwnProperty_1;
|
920
920
|
var ownKeys = ownKeys$1;
|
921
921
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
922
|
-
var definePropertyModule = objectDefineProperty;
|
922
|
+
var definePropertyModule$1 = objectDefineProperty;
|
923
923
|
|
924
924
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
925
925
|
var keys = ownKeys(source);
|
926
|
-
var defineProperty = definePropertyModule.f;
|
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];
|
@@ -933,8 +933,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
933
933
|
}
|
934
934
|
};
|
935
935
|
|
936
|
-
var fails$
|
937
|
-
var isCallable = isCallable$
|
936
|
+
var fails$5 = fails$d;
|
937
|
+
var isCallable$2 = isCallable$c;
|
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(detection) ? fails$
|
945
|
+
: isCallable$2(detection) ? fails$5(detection)
|
946
946
|
: !!detection;
|
947
947
|
};
|
948
948
|
|
@@ -956,10 +956,10 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
956
956
|
|
957
957
|
var isForced_1 = isForced$1;
|
958
958
|
|
959
|
-
var global$
|
959
|
+
var global$4 = global$e;
|
960
960
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
961
|
-
var createNonEnumerableProperty = createNonEnumerableProperty$
|
962
|
-
var defineBuiltIn = defineBuiltIn$
|
961
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
962
|
+
var defineBuiltIn$1 = defineBuiltIn$2;
|
963
963
|
var defineGlobalProperty = defineGlobalProperty$3;
|
964
964
|
var copyConstructorProperties = copyConstructorProperties$1;
|
965
965
|
var isForced = isForced_1;
|
@@ -985,11 +985,11 @@ var _export = function (options, source) {
|
|
985
985
|
var STATIC = options.stat;
|
986
986
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
987
987
|
if (GLOBAL) {
|
988
|
-
target = global$
|
988
|
+
target = global$4;
|
989
989
|
} else if (STATIC) {
|
990
|
-
target = global$
|
990
|
+
target = global$4[TARGET] || defineGlobalProperty(TARGET, {});
|
991
991
|
} else {
|
992
|
-
target = (global$
|
992
|
+
target = (global$4[TARGET] || {}).prototype;
|
993
993
|
}
|
994
994
|
if (target) for (key in source) {
|
995
995
|
sourceProperty = source[key];
|
@@ -1005,27 +1005,27 @@ var _export = function (options, source) {
|
|
1005
1005
|
}
|
1006
1006
|
// add a flag to not completely full polyfills
|
1007
1007
|
if (options.sham || (targetProperty && targetProperty.sham)) {
|
1008
|
-
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
1008
|
+
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
1009
1009
|
}
|
1010
|
-
defineBuiltIn(target, key, sourceProperty, options);
|
1010
|
+
defineBuiltIn$1(target, key, sourceProperty, options);
|
1011
1011
|
}
|
1012
1012
|
};
|
1013
1013
|
|
1014
1014
|
var internalObjectKeys = objectKeysInternal;
|
1015
|
-
var enumBugKeys = enumBugKeys$
|
1015
|
+
var enumBugKeys$1 = enumBugKeys$3;
|
1016
1016
|
|
1017
1017
|
// `Object.keys` method
|
1018
1018
|
// https://tc39.es/ecma262/#sec-object.keys
|
1019
1019
|
// eslint-disable-next-line es/no-object-keys -- safe
|
1020
|
-
var objectKeys$
|
1021
|
-
return internalObjectKeys(O, enumBugKeys);
|
1020
|
+
var objectKeys$2 = Object.keys || function keys(O) {
|
1021
|
+
return internalObjectKeys(O, enumBugKeys$1);
|
1022
1022
|
};
|
1023
1023
|
|
1024
|
-
var DESCRIPTORS = descriptors;
|
1025
|
-
var uncurryThis = functionUncurryThis;
|
1026
|
-
var call = functionCall;
|
1027
|
-
var fails = fails$
|
1028
|
-
var objectKeys = objectKeys$
|
1024
|
+
var DESCRIPTORS$1 = descriptors;
|
1025
|
+
var uncurryThis$3 = functionUncurryThis;
|
1026
|
+
var call$3 = functionCall;
|
1027
|
+
var fails$4 = fails$d;
|
1028
|
+
var objectKeys$1 = objectKeys$2;
|
1029
1029
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
1030
1030
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
1031
1031
|
var toObject$1 = toObject$3;
|
@@ -1035,13 +1035,13 @@ var IndexedObject = indexedObject;
|
|
1035
1035
|
var $assign = Object.assign;
|
1036
1036
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
1037
1037
|
var defineProperty = Object.defineProperty;
|
1038
|
-
var concat = uncurryThis([].concat);
|
1038
|
+
var concat = uncurryThis$3([].concat);
|
1039
1039
|
|
1040
1040
|
// `Object.assign` method
|
1041
1041
|
// https://tc39.es/ecma262/#sec-object.assign
|
1042
|
-
var objectAssign$1 = !$assign || fails(function () {
|
1042
|
+
var objectAssign$1 = !$assign || fails$4(function () {
|
1043
1043
|
// should have correct order of operations (Edge bug)
|
1044
|
-
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
1044
|
+
if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
1045
1045
|
enumerable: true,
|
1046
1046
|
get: function () {
|
1047
1047
|
defineProperty(this, 'b', {
|
@@ -1058,7 +1058,7 @@ var objectAssign$1 = !$assign || fails(function () {
|
|
1058
1058
|
var alphabet = 'abcdefghijklmnopqrst';
|
1059
1059
|
A[symbol] = 7;
|
1060
1060
|
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
1061
|
-
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
1061
|
+
return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;
|
1062
1062
|
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
1063
1063
|
var T = toObject$1(target);
|
1064
1064
|
var argumentsLength = arguments.length;
|
@@ -1067,24 +1067,24 @@ var objectAssign$1 = !$assign || fails(function () {
|
|
1067
1067
|
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
1068
1068
|
while (argumentsLength > index) {
|
1069
1069
|
var S = IndexedObject(arguments[index++]);
|
1070
|
-
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
1070
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);
|
1071
1071
|
var length = keys.length;
|
1072
1072
|
var j = 0;
|
1073
1073
|
var key;
|
1074
1074
|
while (length > j) {
|
1075
1075
|
key = keys[j++];
|
1076
|
-
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1076
|
+
if (!DESCRIPTORS$1 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
|
1077
1077
|
}
|
1078
1078
|
} return T;
|
1079
1079
|
} : $assign;
|
1080
1080
|
|
1081
|
-
var
|
1081
|
+
var $$1 = _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
|
+
$$1({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$2 }, {
|
1088
1088
|
assign: assign$2
|
1089
1089
|
});
|
1090
1090
|
|
@@ -2925,7 +2925,7 @@ function match (value, pattern) {
|
|
2925
2925
|
* @param {string} replacement
|
2926
2926
|
* @return {string}
|
2927
2927
|
*/
|
2928
|
-
function replace (value, pattern, replacement) {
|
2928
|
+
function replace$1 (value, pattern, replacement) {
|
2929
2929
|
return value.replace(pattern, replacement)
|
2930
2930
|
}
|
2931
2931
|
|
@@ -3253,7 +3253,7 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
3253
3253
|
// (
|
3254
3254
|
case 40:
|
3255
3255
|
if (previous != 108 && charat(characters, length - 1) == 58) {
|
3256
|
-
if (indexof(characters += replace(delimit(character), '&', '&\f'), '&\f') != -1)
|
3256
|
+
if (indexof(characters += replace$1(delimit(character), '&', '&\f'), '&\f') != -1)
|
3257
3257
|
ampersand = -1;
|
3258
3258
|
break
|
3259
3259
|
}
|
@@ -3288,9 +3288,9 @@ function parse (value, root, parent, rule, rules, rulesets, pseudo, points, decl
|
|
3288
3288
|
// \0 }
|
3289
3289
|
case 0: case 125: scanning = 0;
|
3290
3290
|
// ;
|
3291
|
-
case 59 + offset: if (ampersand == -1) characters = replace(characters, /\f/g, '');
|
3291
|
+
case 59 + offset: if (ampersand == -1) characters = replace$1(characters, /\f/g, '');
|
3292
3292
|
if (property > 0 && (strlen(characters) - length))
|
3293
|
-
append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
3293
|
+
append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace$1(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
|
3294
3294
|
break
|
3295
3295
|
// @ ;
|
3296
3296
|
case 59: characters += ';';
|
@@ -3372,7 +3372,7 @@ function ruleset (value, root, parent, index, offset, rules, points, type, props
|
|
3372
3372
|
|
3373
3373
|
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
3374
3374
|
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
|
3375
|
-
if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x])))
|
3375
|
+
if (z = trim(j > 0 ? rule[x] + ' ' + y : replace$1(y, /&\f/g, rule[x])))
|
3376
3376
|
props[k++] = z;
|
3377
3377
|
|
3378
3378
|
return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length)
|
@@ -3768,51 +3768,51 @@ function prefix(value, length) {
|
|
3768
3768
|
// align-items
|
3769
3769
|
|
3770
3770
|
case 5187:
|
3771
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
3771
|
+
return WEBKIT + value + replace$1(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
|
3772
3772
|
// align-self
|
3773
3773
|
|
3774
3774
|
case 5443:
|
3775
|
-
return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
|
3775
|
+
return WEBKIT + value + MS + 'flex-item-' + replace$1(value, /flex-|-self/, '') + value;
|
3776
3776
|
// align-content
|
3777
3777
|
|
3778
3778
|
case 4675:
|
3779
|
-
return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
|
3779
|
+
return WEBKIT + value + MS + 'flex-line-pack' + replace$1(value, /align-content|flex-|-self/, '') + value;
|
3780
3780
|
// flex-shrink
|
3781
3781
|
|
3782
3782
|
case 5548:
|
3783
|
-
return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
|
3783
|
+
return WEBKIT + value + MS + replace$1(value, 'shrink', 'negative') + value;
|
3784
3784
|
// flex-basis
|
3785
3785
|
|
3786
3786
|
case 5292:
|
3787
|
-
return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
|
3787
|
+
return WEBKIT + value + MS + replace$1(value, 'basis', 'preferred-size') + value;
|
3788
3788
|
// flex-grow
|
3789
3789
|
|
3790
3790
|
case 6060:
|
3791
|
-
return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
|
3791
|
+
return WEBKIT + 'box-' + replace$1(value, '-grow', '') + WEBKIT + value + MS + replace$1(value, 'grow', 'positive') + value;
|
3792
3792
|
// transition
|
3793
3793
|
|
3794
3794
|
case 4554:
|
3795
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
3795
|
+
return WEBKIT + replace$1(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
|
3796
3796
|
// cursor
|
3797
3797
|
|
3798
3798
|
case 6187:
|
3799
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
3799
|
+
return replace$1(replace$1(replace$1(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
|
3800
3800
|
// background, background-image
|
3801
3801
|
|
3802
3802
|
case 5495:
|
3803
3803
|
case 3959:
|
3804
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
3804
|
+
return replace$1(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
|
3805
3805
|
// justify-content
|
3806
3806
|
|
3807
3807
|
case 4968:
|
3808
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
3808
|
+
return replace$1(replace$1(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
|
3809
3809
|
// (margin|padding)-inline-(start|end)
|
3810
3810
|
|
3811
3811
|
case 4095:
|
3812
3812
|
case 3583:
|
3813
3813
|
case 4068:
|
3814
3814
|
case 2532:
|
3815
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
3815
|
+
return replace$1(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
|
3816
3816
|
// (min|max)?(width|height|inline-size|block-size)
|
3817
3817
|
|
3818
3818
|
case 8116:
|
@@ -3836,11 +3836,11 @@ function prefix(value, length) {
|
|
3836
3836
|
// (f)ill-available, (f)it-content
|
3837
3837
|
|
3838
3838
|
case 102:
|
3839
|
-
return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
3839
|
+
return replace$1(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
|
3840
3840
|
// (s)tretch
|
3841
3841
|
|
3842
3842
|
case 115:
|
3843
|
-
return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
|
3843
|
+
return ~indexof(value, 'stretch') ? prefix(replace$1(value, 'stretch', 'fill-available'), length) + value : value;
|
3844
3844
|
}
|
3845
3845
|
break;
|
3846
3846
|
// position: sticky
|
@@ -3854,11 +3854,11 @@ function prefix(value, length) {
|
|
3854
3854
|
switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
|
3855
3855
|
// stic(k)y
|
3856
3856
|
case 107:
|
3857
|
-
return replace(value, ':', ':' + WEBKIT) + value;
|
3857
|
+
return replace$1(value, ':', ':' + WEBKIT) + value;
|
3858
3858
|
// (inline-)?fl(e)x
|
3859
3859
|
|
3860
3860
|
case 101:
|
3861
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
3861
|
+
return replace$1(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
|
3862
3862
|
}
|
3863
3863
|
|
3864
3864
|
break;
|
@@ -3868,15 +3868,15 @@ function prefix(value, length) {
|
|
3868
3868
|
switch (charat(value, length + 11)) {
|
3869
3869
|
// vertical-l(r)
|
3870
3870
|
case 114:
|
3871
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
3871
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
|
3872
3872
|
// vertical-r(l)
|
3873
3873
|
|
3874
3874
|
case 108:
|
3875
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
3875
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
|
3876
3876
|
// horizontal(-)tb
|
3877
3877
|
|
3878
3878
|
case 45:
|
3879
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
3879
|
+
return WEBKIT + value + MS + replace$1(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
|
3880
3880
|
}
|
3881
3881
|
|
3882
3882
|
return WEBKIT + value + MS + value + value;
|
@@ -3893,7 +3893,7 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
3893
3893
|
|
3894
3894
|
case KEYFRAMES:
|
3895
3895
|
return serialize([copy(element, {
|
3896
|
-
value: replace(element.value, '@', '@' + WEBKIT)
|
3896
|
+
value: replace$1(element.value, '@', '@' + WEBKIT)
|
3897
3897
|
})], callback);
|
3898
3898
|
|
3899
3899
|
case RULESET:
|
@@ -3903,17 +3903,17 @@ var prefixer = function prefixer(element, index, children, callback) {
|
|
3903
3903
|
case ':read-only':
|
3904
3904
|
case ':read-write':
|
3905
3905
|
return serialize([copy(element, {
|
3906
|
-
props: [replace(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
3906
|
+
props: [replace$1(value, /:(read-\w+)/, ':' + MOZ + '$1')]
|
3907
3907
|
})], callback);
|
3908
3908
|
// :placeholder
|
3909
3909
|
|
3910
3910
|
case '::placeholder':
|
3911
3911
|
return serialize([copy(element, {
|
3912
|
-
props: [replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
3912
|
+
props: [replace$1(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1')]
|
3913
3913
|
}), copy(element, {
|
3914
|
-
props: [replace(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
3914
|
+
props: [replace$1(value, /:(plac\w+)/, ':' + MOZ + '$1')]
|
3915
3915
|
}), copy(element, {
|
3916
|
-
props: [replace(value, /:(plac\w+)/, MS + 'input-$1')]
|
3916
|
+
props: [replace$1(value, /:(plac\w+)/, MS + 'input-$1')]
|
3917
3917
|
})], callback);
|
3918
3918
|
}
|
3919
3919
|
|
@@ -8156,4 +8156,521 @@ const SincoTheme = createTheme(Object.assign({}, themeOptions, {
|
|
8156
8156
|
}
|
8157
8157
|
}));
|
8158
8158
|
|
8159
|
-
|
8159
|
+
var wellKnownSymbol$2 = wellKnownSymbol$4;
|
8160
|
+
|
8161
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
8162
|
+
var test = {};
|
8163
|
+
|
8164
|
+
test[TO_STRING_TAG$1] = 'z';
|
8165
|
+
|
8166
|
+
var toStringTagSupport = String(test) === '[object z]';
|
8167
|
+
|
8168
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
8169
|
+
var isCallable$1 = isCallable$c;
|
8170
|
+
var classofRaw$1 = classofRaw$2;
|
8171
|
+
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
8172
|
+
|
8173
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
8174
|
+
var $Object = Object;
|
8175
|
+
|
8176
|
+
// ES3 wrong here
|
8177
|
+
var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';
|
8178
|
+
|
8179
|
+
// fallback for IE11 Script Access Denied error
|
8180
|
+
var tryGet = function (it, key) {
|
8181
|
+
try {
|
8182
|
+
return it[key];
|
8183
|
+
} catch (error) { /* empty */ }
|
8184
|
+
};
|
8185
|
+
|
8186
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
8187
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
|
8188
|
+
var O, tag, result;
|
8189
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
8190
|
+
// @@toStringTag case
|
8191
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
8192
|
+
// builtinTag case
|
8193
|
+
: CORRECT_ARGUMENTS ? classofRaw$1(O)
|
8194
|
+
// ES3 arguments fallback
|
8195
|
+
: (result = classofRaw$1(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
8196
|
+
};
|
8197
|
+
|
8198
|
+
var classof$1 = classof$2;
|
8199
|
+
|
8200
|
+
var $String = String;
|
8201
|
+
|
8202
|
+
var toString$2 = function (argument) {
|
8203
|
+
if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
8204
|
+
return $String(argument);
|
8205
|
+
};
|
8206
|
+
|
8207
|
+
var anObject$4 = anObject$7;
|
8208
|
+
|
8209
|
+
// `RegExp.prototype.flags` getter implementation
|
8210
|
+
// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
|
8211
|
+
var regexpFlags$1 = function () {
|
8212
|
+
var that = anObject$4(this);
|
8213
|
+
var result = '';
|
8214
|
+
if (that.hasIndices) result += 'd';
|
8215
|
+
if (that.global) result += 'g';
|
8216
|
+
if (that.ignoreCase) result += 'i';
|
8217
|
+
if (that.multiline) result += 'm';
|
8218
|
+
if (that.dotAll) result += 's';
|
8219
|
+
if (that.unicode) result += 'u';
|
8220
|
+
if (that.unicodeSets) result += 'v';
|
8221
|
+
if (that.sticky) result += 'y';
|
8222
|
+
return result;
|
8223
|
+
};
|
8224
|
+
|
8225
|
+
var fails$3 = fails$d;
|
8226
|
+
var global$3 = global$e;
|
8227
|
+
|
8228
|
+
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
8229
|
+
var $RegExp$2 = global$3.RegExp;
|
8230
|
+
|
8231
|
+
var UNSUPPORTED_Y$1 = fails$3(function () {
|
8232
|
+
var re = $RegExp$2('a', 'y');
|
8233
|
+
re.lastIndex = 2;
|
8234
|
+
return re.exec('abcd') != null;
|
8235
|
+
});
|
8236
|
+
|
8237
|
+
// UC Browser bug
|
8238
|
+
// https://github.com/zloirock/core-js/issues/1008
|
8239
|
+
var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$3(function () {
|
8240
|
+
return !$RegExp$2('a', 'y').sticky;
|
8241
|
+
});
|
8242
|
+
|
8243
|
+
var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$3(function () {
|
8244
|
+
// https://bugzilla.mozilla.org/show_bug.cgi?id=773687
|
8245
|
+
var re = $RegExp$2('^r', 'gy');
|
8246
|
+
re.lastIndex = 2;
|
8247
|
+
return re.exec('str') != null;
|
8248
|
+
});
|
8249
|
+
|
8250
|
+
var regexpStickyHelpers = {
|
8251
|
+
BROKEN_CARET: BROKEN_CARET,
|
8252
|
+
MISSED_STICKY: MISSED_STICKY,
|
8253
|
+
UNSUPPORTED_Y: UNSUPPORTED_Y$1
|
8254
|
+
};
|
8255
|
+
|
8256
|
+
var objectDefineProperties = {};
|
8257
|
+
|
8258
|
+
var DESCRIPTORS = descriptors;
|
8259
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
8260
|
+
var definePropertyModule = objectDefineProperty;
|
8261
|
+
var anObject$3 = anObject$7;
|
8262
|
+
var toIndexedObject = toIndexedObject$4;
|
8263
|
+
var objectKeys = objectKeys$2;
|
8264
|
+
|
8265
|
+
// `Object.defineProperties` method
|
8266
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
8267
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
8268
|
+
objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
8269
|
+
anObject$3(O);
|
8270
|
+
var props = toIndexedObject(Properties);
|
8271
|
+
var keys = objectKeys(Properties);
|
8272
|
+
var length = keys.length;
|
8273
|
+
var index = 0;
|
8274
|
+
var key;
|
8275
|
+
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
8276
|
+
return O;
|
8277
|
+
};
|
8278
|
+
|
8279
|
+
var getBuiltIn = getBuiltIn$3;
|
8280
|
+
|
8281
|
+
var html$1 = getBuiltIn('document', 'documentElement');
|
8282
|
+
|
8283
|
+
/* global ActiveXObject -- old IE, WSH */
|
8284
|
+
|
8285
|
+
var anObject$2 = anObject$7;
|
8286
|
+
var definePropertiesModule = objectDefineProperties;
|
8287
|
+
var enumBugKeys = enumBugKeys$3;
|
8288
|
+
var hiddenKeys = hiddenKeys$4;
|
8289
|
+
var html = html$1;
|
8290
|
+
var documentCreateElement = documentCreateElement$1;
|
8291
|
+
var sharedKey = sharedKey$2;
|
8292
|
+
|
8293
|
+
var GT = '>';
|
8294
|
+
var LT = '<';
|
8295
|
+
var PROTOTYPE = 'prototype';
|
8296
|
+
var SCRIPT = 'script';
|
8297
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
8298
|
+
|
8299
|
+
var EmptyConstructor = function () { /* empty */ };
|
8300
|
+
|
8301
|
+
var scriptTag = function (content) {
|
8302
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
8303
|
+
};
|
8304
|
+
|
8305
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
8306
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
8307
|
+
activeXDocument.write(scriptTag(''));
|
8308
|
+
activeXDocument.close();
|
8309
|
+
var temp = activeXDocument.parentWindow.Object;
|
8310
|
+
activeXDocument = null; // avoid memory leak
|
8311
|
+
return temp;
|
8312
|
+
};
|
8313
|
+
|
8314
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
8315
|
+
var NullProtoObjectViaIFrame = function () {
|
8316
|
+
// Thrash, waste and sodomy: IE GC bug
|
8317
|
+
var iframe = documentCreateElement('iframe');
|
8318
|
+
var JS = 'java' + SCRIPT + ':';
|
8319
|
+
var iframeDocument;
|
8320
|
+
iframe.style.display = 'none';
|
8321
|
+
html.appendChild(iframe);
|
8322
|
+
// https://github.com/zloirock/core-js/issues/475
|
8323
|
+
iframe.src = String(JS);
|
8324
|
+
iframeDocument = iframe.contentWindow.document;
|
8325
|
+
iframeDocument.open();
|
8326
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
8327
|
+
iframeDocument.close();
|
8328
|
+
return iframeDocument.F;
|
8329
|
+
};
|
8330
|
+
|
8331
|
+
// Check for document.domain and active x support
|
8332
|
+
// No need to use active x approach when document.domain is not set
|
8333
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
8334
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
8335
|
+
// avoid IE GC bug
|
8336
|
+
var activeXDocument;
|
8337
|
+
var NullProtoObject = function () {
|
8338
|
+
try {
|
8339
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
8340
|
+
} catch (error) { /* ignore */ }
|
8341
|
+
NullProtoObject = typeof document != 'undefined'
|
8342
|
+
? document.domain && activeXDocument
|
8343
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
8344
|
+
: NullProtoObjectViaIFrame()
|
8345
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
8346
|
+
var length = enumBugKeys.length;
|
8347
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
8348
|
+
return NullProtoObject();
|
8349
|
+
};
|
8350
|
+
|
8351
|
+
hiddenKeys[IE_PROTO] = true;
|
8352
|
+
|
8353
|
+
// `Object.create` method
|
8354
|
+
// https://tc39.es/ecma262/#sec-object.create
|
8355
|
+
// eslint-disable-next-line es/no-object-create -- safe
|
8356
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
8357
|
+
var result;
|
8358
|
+
if (O !== null) {
|
8359
|
+
EmptyConstructor[PROTOTYPE] = anObject$2(O);
|
8360
|
+
result = new EmptyConstructor();
|
8361
|
+
EmptyConstructor[PROTOTYPE] = null;
|
8362
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
8363
|
+
result[IE_PROTO] = O;
|
8364
|
+
} else result = NullProtoObject();
|
8365
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
8366
|
+
};
|
8367
|
+
|
8368
|
+
var fails$2 = fails$d;
|
8369
|
+
var global$2 = global$e;
|
8370
|
+
|
8371
|
+
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
8372
|
+
var $RegExp$1 = global$2.RegExp;
|
8373
|
+
|
8374
|
+
var regexpUnsupportedDotAll = fails$2(function () {
|
8375
|
+
var re = $RegExp$1('.', 's');
|
8376
|
+
return !(re.dotAll && re.exec('\n') && re.flags === 's');
|
8377
|
+
});
|
8378
|
+
|
8379
|
+
var fails$1 = fails$d;
|
8380
|
+
var global$1 = global$e;
|
8381
|
+
|
8382
|
+
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
8383
|
+
var $RegExp = global$1.RegExp;
|
8384
|
+
|
8385
|
+
var regexpUnsupportedNcg = fails$1(function () {
|
8386
|
+
var re = $RegExp('(?<a>b)', 'g');
|
8387
|
+
return re.exec('b').groups.a !== 'b' ||
|
8388
|
+
'b'.replace(re, '$<a>c') !== 'bc';
|
8389
|
+
});
|
8390
|
+
|
8391
|
+
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
8392
|
+
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
8393
|
+
var call$2 = functionCall;
|
8394
|
+
var uncurryThis$2 = functionUncurryThis;
|
8395
|
+
var toString$1 = toString$2;
|
8396
|
+
var regexpFlags = regexpFlags$1;
|
8397
|
+
var stickyHelpers = regexpStickyHelpers;
|
8398
|
+
var shared = shared$4.exports;
|
8399
|
+
var create = objectCreate;
|
8400
|
+
var getInternalState = internalState.get;
|
8401
|
+
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
8402
|
+
var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
8403
|
+
|
8404
|
+
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
8405
|
+
var nativeExec = RegExp.prototype.exec;
|
8406
|
+
var patchedExec = nativeExec;
|
8407
|
+
var charAt = uncurryThis$2(''.charAt);
|
8408
|
+
var indexOf = uncurryThis$2(''.indexOf);
|
8409
|
+
var replace = uncurryThis$2(''.replace);
|
8410
|
+
var stringSlice = uncurryThis$2(''.slice);
|
8411
|
+
|
8412
|
+
var UPDATES_LAST_INDEX_WRONG = (function () {
|
8413
|
+
var re1 = /a/;
|
8414
|
+
var re2 = /b*/g;
|
8415
|
+
call$2(nativeExec, re1, 'a');
|
8416
|
+
call$2(nativeExec, re2, 'a');
|
8417
|
+
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
8418
|
+
})();
|
8419
|
+
|
8420
|
+
var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;
|
8421
|
+
|
8422
|
+
// nonparticipating capturing group, copied from es5-shim's String#split patch.
|
8423
|
+
var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
|
8424
|
+
|
8425
|
+
var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;
|
8426
|
+
|
8427
|
+
if (PATCH) {
|
8428
|
+
patchedExec = function exec(string) {
|
8429
|
+
var re = this;
|
8430
|
+
var state = getInternalState(re);
|
8431
|
+
var str = toString$1(string);
|
8432
|
+
var raw = state.raw;
|
8433
|
+
var result, reCopy, lastIndex, match, i, object, group;
|
8434
|
+
|
8435
|
+
if (raw) {
|
8436
|
+
raw.lastIndex = re.lastIndex;
|
8437
|
+
result = call$2(patchedExec, raw, str);
|
8438
|
+
re.lastIndex = raw.lastIndex;
|
8439
|
+
return result;
|
8440
|
+
}
|
8441
|
+
|
8442
|
+
var groups = state.groups;
|
8443
|
+
var sticky = UNSUPPORTED_Y && re.sticky;
|
8444
|
+
var flags = call$2(regexpFlags, re);
|
8445
|
+
var source = re.source;
|
8446
|
+
var charsAdded = 0;
|
8447
|
+
var strCopy = str;
|
8448
|
+
|
8449
|
+
if (sticky) {
|
8450
|
+
flags = replace(flags, 'y', '');
|
8451
|
+
if (indexOf(flags, 'g') === -1) {
|
8452
|
+
flags += 'g';
|
8453
|
+
}
|
8454
|
+
|
8455
|
+
strCopy = stringSlice(str, re.lastIndex);
|
8456
|
+
// Support anchored sticky behavior.
|
8457
|
+
if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
|
8458
|
+
source = '(?: ' + source + ')';
|
8459
|
+
strCopy = ' ' + strCopy;
|
8460
|
+
charsAdded++;
|
8461
|
+
}
|
8462
|
+
// ^(? + rx + ) is needed, in combination with some str slicing, to
|
8463
|
+
// simulate the 'y' flag.
|
8464
|
+
reCopy = new RegExp('^(?:' + source + ')', flags);
|
8465
|
+
}
|
8466
|
+
|
8467
|
+
if (NPCG_INCLUDED) {
|
8468
|
+
reCopy = new RegExp('^' + source + '$(?!\\s)', flags);
|
8469
|
+
}
|
8470
|
+
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
8471
|
+
|
8472
|
+
match = call$2(nativeExec, sticky ? reCopy : re, strCopy);
|
8473
|
+
|
8474
|
+
if (sticky) {
|
8475
|
+
if (match) {
|
8476
|
+
match.input = stringSlice(match.input, charsAdded);
|
8477
|
+
match[0] = stringSlice(match[0], charsAdded);
|
8478
|
+
match.index = re.lastIndex;
|
8479
|
+
re.lastIndex += match[0].length;
|
8480
|
+
} else re.lastIndex = 0;
|
8481
|
+
} else if (UPDATES_LAST_INDEX_WRONG && match) {
|
8482
|
+
re.lastIndex = re.global ? match.index + match[0].length : lastIndex;
|
8483
|
+
}
|
8484
|
+
if (NPCG_INCLUDED && match && match.length > 1) {
|
8485
|
+
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
8486
|
+
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
8487
|
+
call$2(nativeReplace, match[0], reCopy, function () {
|
8488
|
+
for (i = 1; i < arguments.length - 2; i++) {
|
8489
|
+
if (arguments[i] === undefined) match[i] = undefined;
|
8490
|
+
}
|
8491
|
+
});
|
8492
|
+
}
|
8493
|
+
|
8494
|
+
if (match && groups) {
|
8495
|
+
match.groups = object = create(null);
|
8496
|
+
for (i = 0; i < groups.length; i++) {
|
8497
|
+
group = groups[i];
|
8498
|
+
object[group[0]] = match[group[1]];
|
8499
|
+
}
|
8500
|
+
}
|
8501
|
+
|
8502
|
+
return match;
|
8503
|
+
};
|
8504
|
+
}
|
8505
|
+
|
8506
|
+
var regexpExec$2 = patchedExec;
|
8507
|
+
|
8508
|
+
var $ = _export;
|
8509
|
+
var exec = regexpExec$2;
|
8510
|
+
|
8511
|
+
// `RegExp.prototype.exec` method
|
8512
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype.exec
|
8513
|
+
$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
|
8514
|
+
exec: exec
|
8515
|
+
});
|
8516
|
+
|
8517
|
+
var classofRaw = classofRaw$2;
|
8518
|
+
var uncurryThis$1 = functionUncurryThis;
|
8519
|
+
|
8520
|
+
var functionUncurryThisClause = function (fn) {
|
8521
|
+
// Nashorn bug:
|
8522
|
+
// https://github.com/zloirock/core-js/issues/1128
|
8523
|
+
// https://github.com/zloirock/core-js/issues/1130
|
8524
|
+
if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
|
8525
|
+
};
|
8526
|
+
|
8527
|
+
// TODO: Remove from `core-js@4` since it's moved to entry points
|
8528
|
+
|
8529
|
+
var uncurryThis = functionUncurryThisClause;
|
8530
|
+
var defineBuiltIn = defineBuiltIn$2;
|
8531
|
+
var regexpExec$1 = regexpExec$2;
|
8532
|
+
var fails = fails$d;
|
8533
|
+
var wellKnownSymbol = wellKnownSymbol$4;
|
8534
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
8535
|
+
|
8536
|
+
var SPECIES = wellKnownSymbol('species');
|
8537
|
+
var RegExpPrototype = RegExp.prototype;
|
8538
|
+
|
8539
|
+
var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
8540
|
+
var SYMBOL = wellKnownSymbol(KEY);
|
8541
|
+
|
8542
|
+
var DELEGATES_TO_SYMBOL = !fails(function () {
|
8543
|
+
// String methods call symbol-named RegEp methods
|
8544
|
+
var O = {};
|
8545
|
+
O[SYMBOL] = function () { return 7; };
|
8546
|
+
return ''[KEY](O) != 7;
|
8547
|
+
});
|
8548
|
+
|
8549
|
+
var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {
|
8550
|
+
// Symbol-named RegExp methods call .exec
|
8551
|
+
var execCalled = false;
|
8552
|
+
var re = /a/;
|
8553
|
+
|
8554
|
+
if (KEY === 'split') {
|
8555
|
+
// We can't use real regex here since it causes deoptimization
|
8556
|
+
// and serious performance degradation in V8
|
8557
|
+
// https://github.com/zloirock/core-js/issues/306
|
8558
|
+
re = {};
|
8559
|
+
// RegExp[@@split] doesn't call the regex's exec method, but first creates
|
8560
|
+
// a new one. We need to return the patched regex when creating the new one.
|
8561
|
+
re.constructor = {};
|
8562
|
+
re.constructor[SPECIES] = function () { return re; };
|
8563
|
+
re.flags = '';
|
8564
|
+
re[SYMBOL] = /./[SYMBOL];
|
8565
|
+
}
|
8566
|
+
|
8567
|
+
re.exec = function () { execCalled = true; return null; };
|
8568
|
+
|
8569
|
+
re[SYMBOL]('');
|
8570
|
+
return !execCalled;
|
8571
|
+
});
|
8572
|
+
|
8573
|
+
if (
|
8574
|
+
!DELEGATES_TO_SYMBOL ||
|
8575
|
+
!DELEGATES_TO_EXEC ||
|
8576
|
+
FORCED
|
8577
|
+
) {
|
8578
|
+
var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);
|
8579
|
+
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
8580
|
+
var uncurriedNativeMethod = uncurryThis(nativeMethod);
|
8581
|
+
var $exec = regexp.exec;
|
8582
|
+
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
8583
|
+
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
8584
|
+
// The native String method already delegates to @@method (this
|
8585
|
+
// polyfilled function), leasing to infinite recursion.
|
8586
|
+
// We avoid it by directly calling the native @@method method.
|
8587
|
+
return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };
|
8588
|
+
}
|
8589
|
+
return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };
|
8590
|
+
}
|
8591
|
+
return { done: false };
|
8592
|
+
});
|
8593
|
+
|
8594
|
+
defineBuiltIn(String.prototype, KEY, methods[0]);
|
8595
|
+
defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
|
8596
|
+
}
|
8597
|
+
|
8598
|
+
if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
|
8599
|
+
};
|
8600
|
+
|
8601
|
+
// `SameValue` abstract operation
|
8602
|
+
// https://tc39.es/ecma262/#sec-samevalue
|
8603
|
+
// eslint-disable-next-line es/no-object-is -- safe
|
8604
|
+
var sameValue$1 = Object.is || function is(x, y) {
|
8605
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
8606
|
+
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
8607
|
+
};
|
8608
|
+
|
8609
|
+
var call$1 = functionCall;
|
8610
|
+
var anObject$1 = anObject$7;
|
8611
|
+
var isCallable = isCallable$c;
|
8612
|
+
var classof = classofRaw$2;
|
8613
|
+
var regexpExec = regexpExec$2;
|
8614
|
+
|
8615
|
+
var $TypeError = TypeError;
|
8616
|
+
|
8617
|
+
// `RegExpExec` abstract operation
|
8618
|
+
// https://tc39.es/ecma262/#sec-regexpexec
|
8619
|
+
var regexpExecAbstract = function (R, S) {
|
8620
|
+
var exec = R.exec;
|
8621
|
+
if (isCallable(exec)) {
|
8622
|
+
var result = call$1(exec, R, S);
|
8623
|
+
if (result !== null) anObject$1(result);
|
8624
|
+
return result;
|
8625
|
+
}
|
8626
|
+
if (classof(R) === 'RegExp') return call$1(regexpExec, R, S);
|
8627
|
+
throw $TypeError('RegExp#exec called on incompatible receiver');
|
8628
|
+
};
|
8629
|
+
|
8630
|
+
var call = functionCall;
|
8631
|
+
var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
|
8632
|
+
var anObject = anObject$7;
|
8633
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
8634
|
+
var requireObjectCoercible = requireObjectCoercible$3;
|
8635
|
+
var sameValue = sameValue$1;
|
8636
|
+
var toString = toString$2;
|
8637
|
+
var getMethod = getMethod$2;
|
8638
|
+
var regExpExec = regexpExecAbstract;
|
8639
|
+
|
8640
|
+
// @@search logic
|
8641
|
+
fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {
|
8642
|
+
return [
|
8643
|
+
// `String.prototype.search` method
|
8644
|
+
// https://tc39.es/ecma262/#sec-string.prototype.search
|
8645
|
+
function search(regexp) {
|
8646
|
+
var O = requireObjectCoercible(this);
|
8647
|
+
var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);
|
8648
|
+
return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));
|
8649
|
+
},
|
8650
|
+
// `RegExp.prototype[@@search]` method
|
8651
|
+
// https://tc39.es/ecma262/#sec-regexp.prototype-@@search
|
8652
|
+
function (string) {
|
8653
|
+
var rx = anObject(this);
|
8654
|
+
var S = toString(string);
|
8655
|
+
var res = maybeCallNative(nativeSearch, rx, S);
|
8656
|
+
|
8657
|
+
if (res.done) return res.value;
|
8658
|
+
|
8659
|
+
var previousLastIndex = rx.lastIndex;
|
8660
|
+
if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
|
8661
|
+
var result = regExpExec(rx, S);
|
8662
|
+
if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
|
8663
|
+
return result === null ? -1 : result.index;
|
8664
|
+
}
|
8665
|
+
];
|
8666
|
+
});
|
8667
|
+
|
8668
|
+
var UrlImage;
|
8669
|
+
(function (UrlImage) {
|
8670
|
+
UrlImage["error"] = "src/assets/images/error.svg";
|
8671
|
+
UrlImage["search"] = "src/assets/images/search.svg";
|
8672
|
+
UrlImage["noresult"] = "src/assets/images/noresult.svg";
|
8673
|
+
UrlImage["create"] = "src/assets/images/create.svg";
|
8674
|
+
})(UrlImage || (UrlImage = {}));
|
8675
|
+
|
8676
|
+
export { SincoTheme, UrlImage };
|