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