@koine/next 1.0.1 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Analytics/AnalyticsGoogle.d.ts +6 -0
- package/Analytics/index.d.ts +1 -0
- package/Auth/helpers.d.ts +17 -0
- package/Auth/index.d.ts +4 -0
- package/Auth/useLogin.d.ts +7 -0
- package/Auth/useLoginUrl.d.ts +1 -0
- package/Auth/useLogout.d.ts +6 -0
- package/Favicon/Favicon.d.ts +4 -0
- package/Favicon/index.d.ts +1 -0
- package/Forms/index.d.ts +2 -0
- package/Forms/useForm.d.ts +32 -0
- package/Forms/useSubmit.d.ts +24 -0
- package/Head/Head.d.ts +1 -0
- package/Head/index.d.ts +1 -0
- package/I18n/I18n.d.ts +48 -0
- package/I18n/index.d.ts +1 -0
- package/Img/Img.d.ts +21 -0
- package/Img/index.d.ts +1 -0
- package/Link/Link.d.ts +8 -0
- package/Link/index.d.ts +1 -0
- package/NextProgress/NextProgress.d.ts +14 -0
- package/NextProgress/index.d.ts +1 -0
- package/Seo/Seo.d.ts +3 -0
- package/Seo/SeoDefaults.d.ts +3 -0
- package/Seo/helpers.d.ts +48 -0
- package/Seo/index.d.ts +12 -0
- package/Theme/Theme.d.ts +46 -0
- package/Theme/index.d.ts +1 -0
- package/Theme.js +1905 -0
- package/_tslib.js +41 -0
- package/app/App--emotion.d.ts +10 -0
- package/app/App--sc.d.ts +10 -0
- package/app/App--vanilla.d.ts +10 -0
- package/app/AppAuth--emotion.d.ts +10 -0
- package/app/AppAuth--sc.d.ts +10 -0
- package/app/AppHead.d.ts +3 -0
- package/app/AppMain--vanilla.d.ts +27 -0
- package/app/AppMain.d.ts +34 -0
- package/app/AppTheme--emotion.d.ts +15 -0
- package/app/AppTheme--sc.d.ts +13 -0
- package/app/AppTheme--vanilla.d.ts +10 -0
- package/app/index.d.ts +11 -0
- package/app/motion-features.d.ts +2 -0
- package/app.js +250 -0
- package/config/index.d.ts +58 -0
- package/config.js +156 -880
- package/document/Document--emotion.d.ts +5 -0
- package/document/Document--sc.d.ts +11 -0
- package/document/Document--vanilla.d.ts +11 -0
- package/document/Document.d.ts +10 -0
- package/document/emotion.d.ts +5 -0
- package/document/index.d.ts +4 -0
- package/document.js +207 -0
- package/emotion.js +1329 -0
- package/es.object.assign.js +1074 -0
- package/es.string.replace.js +785 -0
- package/es.string.split.js +201 -0
- package/index.d.ts +12 -0
- package/index.esm.js +4437 -4406
- package/index.js +743 -0
- package/index.umd.js +4635 -4623
- package/motion-features.js +10 -0
- package/package.json +18 -9
- package/types.d.ts +91 -0
- package/utils/api.d.ts +55 -0
- package/utils/index.d.ts +19 -0
- package/motion-features.esm.js +0 -2
|
@@ -0,0 +1,1074 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
|
+
|
|
5
|
+
var check = function (it) {
|
|
6
|
+
return it && it.Math == Math && it;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
10
|
+
var global$l =
|
|
11
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
12
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
13
|
+
check(typeof window == 'object' && window) ||
|
|
14
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
15
|
+
check(typeof self == 'object' && self) ||
|
|
16
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
17
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
18
|
+
(function () { return this; })() || Function('return this')();
|
|
19
|
+
|
|
20
|
+
var fails$8 = function (exec) {
|
|
21
|
+
try {
|
|
22
|
+
return !!exec();
|
|
23
|
+
} catch (error) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
var fails$7 = fails$8;
|
|
29
|
+
|
|
30
|
+
var functionBindNative = !fails$7(function () {
|
|
31
|
+
var test = (function () { /* empty */ }).bind();
|
|
32
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
33
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
37
|
+
|
|
38
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
39
|
+
var bind = FunctionPrototype$1.bind;
|
|
40
|
+
var call$5 = FunctionPrototype$1.call;
|
|
41
|
+
var uncurryThis$a = NATIVE_BIND$1 && bind.bind(call$5, call$5);
|
|
42
|
+
|
|
43
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
44
|
+
return fn && uncurryThis$a(fn);
|
|
45
|
+
} : function (fn) {
|
|
46
|
+
return fn && function () {
|
|
47
|
+
return call$5.apply(fn, arguments);
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
52
|
+
|
|
53
|
+
var toString$1 = uncurryThis$9({}.toString);
|
|
54
|
+
var stringSlice = uncurryThis$9(''.slice);
|
|
55
|
+
|
|
56
|
+
var classofRaw = function (it) {
|
|
57
|
+
return stringSlice(toString$1(it), 8, -1);
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
var global$k = global$l;
|
|
61
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
62
|
+
var fails$6 = fails$8;
|
|
63
|
+
var classof = classofRaw;
|
|
64
|
+
|
|
65
|
+
var Object$3 = global$k.Object;
|
|
66
|
+
var split = uncurryThis$8(''.split);
|
|
67
|
+
|
|
68
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
69
|
+
var indexedObject = fails$6(function () {
|
|
70
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
71
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
72
|
+
return !Object$3('z').propertyIsEnumerable(0);
|
|
73
|
+
}) ? function (it) {
|
|
74
|
+
return classof(it) == 'String' ? split(it, '') : Object$3(it);
|
|
75
|
+
} : Object$3;
|
|
76
|
+
|
|
77
|
+
var global$j = global$l;
|
|
78
|
+
|
|
79
|
+
var TypeError$6 = global$j.TypeError;
|
|
80
|
+
|
|
81
|
+
// `RequireObjectCoercible` abstract operation
|
|
82
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
83
|
+
var requireObjectCoercible$2 = function (it) {
|
|
84
|
+
if (it == undefined) throw TypeError$6("Can't call method on " + it);
|
|
85
|
+
return it;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
89
|
+
var IndexedObject$1 = indexedObject;
|
|
90
|
+
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
91
|
+
|
|
92
|
+
var toIndexedObject$3 = function (it) {
|
|
93
|
+
return IndexedObject$1(requireObjectCoercible$1(it));
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
var shared$3 = {exports: {}};
|
|
97
|
+
|
|
98
|
+
var global$i = global$l;
|
|
99
|
+
|
|
100
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
101
|
+
var defineProperty$1 = Object.defineProperty;
|
|
102
|
+
|
|
103
|
+
var setGlobal$3 = function (key, value) {
|
|
104
|
+
try {
|
|
105
|
+
defineProperty$1(global$i, key, { value: value, configurable: true, writable: true });
|
|
106
|
+
} catch (error) {
|
|
107
|
+
global$i[key] = value;
|
|
108
|
+
} return value;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
var global$h = global$l;
|
|
112
|
+
var setGlobal$2 = setGlobal$3;
|
|
113
|
+
|
|
114
|
+
var SHARED = '__core-js_shared__';
|
|
115
|
+
var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
|
|
116
|
+
|
|
117
|
+
var sharedStore = store$3;
|
|
118
|
+
|
|
119
|
+
var store$2 = sharedStore;
|
|
120
|
+
|
|
121
|
+
(shared$3.exports = function (key, value) {
|
|
122
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
123
|
+
})('versions', []).push({
|
|
124
|
+
version: '3.21.1',
|
|
125
|
+
mode: 'global',
|
|
126
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
127
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
|
|
128
|
+
source: 'https://github.com/zloirock/core-js'
|
|
129
|
+
});
|
|
130
|
+
|
|
131
|
+
var global$g = global$l;
|
|
132
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
|
133
|
+
|
|
134
|
+
var Object$2 = global$g.Object;
|
|
135
|
+
|
|
136
|
+
// `ToObject` abstract operation
|
|
137
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
138
|
+
var toObject$2 = function (argument) {
|
|
139
|
+
return Object$2(requireObjectCoercible(argument));
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
143
|
+
var toObject$1 = toObject$2;
|
|
144
|
+
|
|
145
|
+
var hasOwnProperty = uncurryThis$7({}.hasOwnProperty);
|
|
146
|
+
|
|
147
|
+
// `HasOwnProperty` abstract operation
|
|
148
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
149
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
150
|
+
return hasOwnProperty(toObject$1(it), key);
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
154
|
+
|
|
155
|
+
var id = 0;
|
|
156
|
+
var postfix = Math.random();
|
|
157
|
+
var toString = uncurryThis$6(1.0.toString);
|
|
158
|
+
|
|
159
|
+
var uid$2 = function (key) {
|
|
160
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
// `IsCallable` abstract operation
|
|
164
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
165
|
+
var isCallable$9 = function (argument) {
|
|
166
|
+
return typeof argument == 'function';
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
var global$f = global$l;
|
|
170
|
+
var isCallable$8 = isCallable$9;
|
|
171
|
+
|
|
172
|
+
var aFunction = function (argument) {
|
|
173
|
+
return isCallable$8(argument) ? argument : undefined;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
var getBuiltIn$3 = function (namespace, method) {
|
|
177
|
+
return arguments.length < 2 ? aFunction(global$f[namespace]) : global$f[namespace] && global$f[namespace][method];
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
var getBuiltIn$2 = getBuiltIn$3;
|
|
181
|
+
|
|
182
|
+
var engineUserAgent = getBuiltIn$2('navigator', 'userAgent') || '';
|
|
183
|
+
|
|
184
|
+
var global$e = global$l;
|
|
185
|
+
var userAgent = engineUserAgent;
|
|
186
|
+
|
|
187
|
+
var process = global$e.process;
|
|
188
|
+
var Deno = global$e.Deno;
|
|
189
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
190
|
+
var v8 = versions && versions.v8;
|
|
191
|
+
var match, version;
|
|
192
|
+
|
|
193
|
+
if (v8) {
|
|
194
|
+
match = v8.split('.');
|
|
195
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
196
|
+
// but their correct versions are not interesting for us
|
|
197
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
201
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
202
|
+
if (!version && userAgent) {
|
|
203
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
204
|
+
if (!match || match[1] >= 74) {
|
|
205
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
206
|
+
if (match) version = +match[1];
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
var engineV8Version = version;
|
|
211
|
+
|
|
212
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
213
|
+
|
|
214
|
+
var V8_VERSION = engineV8Version;
|
|
215
|
+
var fails$5 = fails$8;
|
|
216
|
+
|
|
217
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
218
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
|
219
|
+
var symbol = Symbol();
|
|
220
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
221
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
222
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
223
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
224
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
228
|
+
|
|
229
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
230
|
+
|
|
231
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
232
|
+
&& !Symbol.sham
|
|
233
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
234
|
+
|
|
235
|
+
var global$d = global$l;
|
|
236
|
+
var shared$2 = shared$3.exports;
|
|
237
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
238
|
+
var uid$1 = uid$2;
|
|
239
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
240
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
241
|
+
|
|
242
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
243
|
+
var Symbol$1 = global$d.Symbol;
|
|
244
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
245
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
246
|
+
|
|
247
|
+
var wellKnownSymbol$1 = function (name) {
|
|
248
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
249
|
+
var description = 'Symbol.' + name;
|
|
250
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
|
251
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
252
|
+
} else if (USE_SYMBOL_AS_UID$1 && symbolFor) {
|
|
253
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
254
|
+
} else {
|
|
255
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
256
|
+
}
|
|
257
|
+
} return WellKnownSymbolsStore[name];
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
var isCallable$7 = isCallable$9;
|
|
261
|
+
|
|
262
|
+
var isObject$5 = function (it) {
|
|
263
|
+
return typeof it == 'object' ? it !== null : isCallable$7(it);
|
|
264
|
+
};
|
|
265
|
+
|
|
266
|
+
var global$c = global$l;
|
|
267
|
+
var isObject$4 = isObject$5;
|
|
268
|
+
|
|
269
|
+
var String$2 = global$c.String;
|
|
270
|
+
var TypeError$5 = global$c.TypeError;
|
|
271
|
+
|
|
272
|
+
// `Assert: Type(argument) is Object`
|
|
273
|
+
var anObject$2 = function (argument) {
|
|
274
|
+
if (isObject$4(argument)) return argument;
|
|
275
|
+
throw TypeError$5(String$2(argument) + ' is not an object');
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
var fails$4 = fails$8;
|
|
279
|
+
|
|
280
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
281
|
+
var descriptors = !fails$4(function () {
|
|
282
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
283
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
var DESCRIPTORS$6 = descriptors;
|
|
287
|
+
var fails$3 = fails$8;
|
|
288
|
+
|
|
289
|
+
// V8 ~ Chrome 36-
|
|
290
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
291
|
+
var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$3(function () {
|
|
292
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
293
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
294
|
+
value: 42,
|
|
295
|
+
writable: false
|
|
296
|
+
}).prototype != 42;
|
|
297
|
+
});
|
|
298
|
+
|
|
299
|
+
var objectDefineProperty = {};
|
|
300
|
+
|
|
301
|
+
var global$b = global$l;
|
|
302
|
+
var isObject$3 = isObject$5;
|
|
303
|
+
|
|
304
|
+
var document = global$b.document;
|
|
305
|
+
// typeof document.createElement is 'object' in old IE
|
|
306
|
+
var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
|
|
307
|
+
|
|
308
|
+
var documentCreateElement = function (it) {
|
|
309
|
+
return EXISTS$1 ? document.createElement(it) : {};
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
var DESCRIPTORS$5 = descriptors;
|
|
313
|
+
var fails$2 = fails$8;
|
|
314
|
+
var createElement = documentCreateElement;
|
|
315
|
+
|
|
316
|
+
// Thanks to IE8 for its funny defineProperty
|
|
317
|
+
var ie8DomDefine = !DESCRIPTORS$5 && !fails$2(function () {
|
|
318
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
319
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
320
|
+
get: function () { return 7; }
|
|
321
|
+
}).a != 7;
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
var NATIVE_BIND = functionBindNative;
|
|
325
|
+
|
|
326
|
+
var call$4 = Function.prototype.call;
|
|
327
|
+
|
|
328
|
+
var functionCall = NATIVE_BIND ? call$4.bind(call$4) : function () {
|
|
329
|
+
return call$4.apply(call$4, arguments);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
333
|
+
|
|
334
|
+
var objectIsPrototypeOf = uncurryThis$5({}.isPrototypeOf);
|
|
335
|
+
|
|
336
|
+
var global$a = global$l;
|
|
337
|
+
var getBuiltIn$1 = getBuiltIn$3;
|
|
338
|
+
var isCallable$6 = isCallable$9;
|
|
339
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
340
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
341
|
+
|
|
342
|
+
var Object$1 = global$a.Object;
|
|
343
|
+
|
|
344
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
|
|
345
|
+
return typeof it == 'symbol';
|
|
346
|
+
} : function (it) {
|
|
347
|
+
var $Symbol = getBuiltIn$1('Symbol');
|
|
348
|
+
return isCallable$6($Symbol) && isPrototypeOf($Symbol.prototype, Object$1(it));
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
var global$9 = global$l;
|
|
352
|
+
|
|
353
|
+
var String$1 = global$9.String;
|
|
354
|
+
|
|
355
|
+
var tryToString$1 = function (argument) {
|
|
356
|
+
try {
|
|
357
|
+
return String$1(argument);
|
|
358
|
+
} catch (error) {
|
|
359
|
+
return 'Object';
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
var global$8 = global$l;
|
|
364
|
+
var isCallable$5 = isCallable$9;
|
|
365
|
+
var tryToString = tryToString$1;
|
|
366
|
+
|
|
367
|
+
var TypeError$4 = global$8.TypeError;
|
|
368
|
+
|
|
369
|
+
// `Assert: IsCallable(argument) is true`
|
|
370
|
+
var aCallable$1 = function (argument) {
|
|
371
|
+
if (isCallable$5(argument)) return argument;
|
|
372
|
+
throw TypeError$4(tryToString(argument) + ' is not a function');
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
var aCallable = aCallable$1;
|
|
376
|
+
|
|
377
|
+
// `GetMethod` abstract operation
|
|
378
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
379
|
+
var getMethod$1 = function (V, P) {
|
|
380
|
+
var func = V[P];
|
|
381
|
+
return func == null ? undefined : aCallable(func);
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
var global$7 = global$l;
|
|
385
|
+
var call$3 = functionCall;
|
|
386
|
+
var isCallable$4 = isCallable$9;
|
|
387
|
+
var isObject$2 = isObject$5;
|
|
388
|
+
|
|
389
|
+
var TypeError$3 = global$7.TypeError;
|
|
390
|
+
|
|
391
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
392
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
393
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
394
|
+
var fn, val;
|
|
395
|
+
if (pref === 'string' && isCallable$4(fn = input.toString) && !isObject$2(val = call$3(fn, input))) return val;
|
|
396
|
+
if (isCallable$4(fn = input.valueOf) && !isObject$2(val = call$3(fn, input))) return val;
|
|
397
|
+
if (pref !== 'string' && isCallable$4(fn = input.toString) && !isObject$2(val = call$3(fn, input))) return val;
|
|
398
|
+
throw TypeError$3("Can't convert object to primitive value");
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
var global$6 = global$l;
|
|
402
|
+
var call$2 = functionCall;
|
|
403
|
+
var isObject$1 = isObject$5;
|
|
404
|
+
var isSymbol$1 = isSymbol$2;
|
|
405
|
+
var getMethod = getMethod$1;
|
|
406
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
407
|
+
var wellKnownSymbol = wellKnownSymbol$1;
|
|
408
|
+
|
|
409
|
+
var TypeError$2 = global$6.TypeError;
|
|
410
|
+
var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');
|
|
411
|
+
|
|
412
|
+
// `ToPrimitive` abstract operation
|
|
413
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
414
|
+
var toPrimitive$1 = function (input, pref) {
|
|
415
|
+
if (!isObject$1(input) || isSymbol$1(input)) return input;
|
|
416
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
417
|
+
var result;
|
|
418
|
+
if (exoticToPrim) {
|
|
419
|
+
if (pref === undefined) pref = 'default';
|
|
420
|
+
result = call$2(exoticToPrim, input, pref);
|
|
421
|
+
if (!isObject$1(result) || isSymbol$1(result)) return result;
|
|
422
|
+
throw TypeError$2("Can't convert object to primitive value");
|
|
423
|
+
}
|
|
424
|
+
if (pref === undefined) pref = 'number';
|
|
425
|
+
return ordinaryToPrimitive(input, pref);
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
var toPrimitive = toPrimitive$1;
|
|
429
|
+
var isSymbol = isSymbol$2;
|
|
430
|
+
|
|
431
|
+
// `ToPropertyKey` abstract operation
|
|
432
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
433
|
+
var toPropertyKey$2 = function (argument) {
|
|
434
|
+
var key = toPrimitive(argument, 'string');
|
|
435
|
+
return isSymbol(key) ? key : key + '';
|
|
436
|
+
};
|
|
437
|
+
|
|
438
|
+
var global$5 = global$l;
|
|
439
|
+
var DESCRIPTORS$4 = descriptors;
|
|
440
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
441
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
442
|
+
var anObject$1 = anObject$2;
|
|
443
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
444
|
+
|
|
445
|
+
var TypeError$1 = global$5.TypeError;
|
|
446
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
447
|
+
var $defineProperty = Object.defineProperty;
|
|
448
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
449
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
450
|
+
var ENUMERABLE = 'enumerable';
|
|
451
|
+
var CONFIGURABLE$1 = 'configurable';
|
|
452
|
+
var WRITABLE = 'writable';
|
|
453
|
+
|
|
454
|
+
// `Object.defineProperty` method
|
|
455
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
456
|
+
objectDefineProperty.f = DESCRIPTORS$4 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
457
|
+
anObject$1(O);
|
|
458
|
+
P = toPropertyKey$1(P);
|
|
459
|
+
anObject$1(Attributes);
|
|
460
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
461
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
462
|
+
if (current && current[WRITABLE]) {
|
|
463
|
+
O[P] = Attributes.value;
|
|
464
|
+
Attributes = {
|
|
465
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
466
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
467
|
+
writable: false
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
} return $defineProperty(O, P, Attributes);
|
|
471
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
472
|
+
anObject$1(O);
|
|
473
|
+
P = toPropertyKey$1(P);
|
|
474
|
+
anObject$1(Attributes);
|
|
475
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
476
|
+
return $defineProperty(O, P, Attributes);
|
|
477
|
+
} catch (error) { /* empty */ }
|
|
478
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$1('Accessors not supported');
|
|
479
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
480
|
+
return O;
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
var ceil = Math.ceil;
|
|
484
|
+
var floor = Math.floor;
|
|
485
|
+
|
|
486
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
487
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
488
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
489
|
+
var number = +argument;
|
|
490
|
+
// eslint-disable-next-line no-self-compare -- safe
|
|
491
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
492
|
+
};
|
|
493
|
+
|
|
494
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
495
|
+
|
|
496
|
+
var max = Math.max;
|
|
497
|
+
var min$1 = Math.min;
|
|
498
|
+
|
|
499
|
+
// Helper for a popular repeating case of the spec:
|
|
500
|
+
// Let integer be ? ToInteger(index).
|
|
501
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
502
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
503
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
504
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
508
|
+
|
|
509
|
+
var min = Math.min;
|
|
510
|
+
|
|
511
|
+
// `ToLength` abstract operation
|
|
512
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
513
|
+
var toLength$1 = function (argument) {
|
|
514
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
var toLength = toLength$1;
|
|
518
|
+
|
|
519
|
+
// `LengthOfArrayLike` abstract operation
|
|
520
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
521
|
+
var lengthOfArrayLike$1 = function (obj) {
|
|
522
|
+
return toLength(obj.length);
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
var toIndexedObject$2 = toIndexedObject$3;
|
|
526
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
527
|
+
var lengthOfArrayLike = lengthOfArrayLike$1;
|
|
528
|
+
|
|
529
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
530
|
+
var createMethod = function (IS_INCLUDES) {
|
|
531
|
+
return function ($this, el, fromIndex) {
|
|
532
|
+
var O = toIndexedObject$2($this);
|
|
533
|
+
var length = lengthOfArrayLike(O);
|
|
534
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
535
|
+
var value;
|
|
536
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
537
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
538
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
539
|
+
value = O[index++];
|
|
540
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
541
|
+
if (value != value) return true;
|
|
542
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
543
|
+
} else for (;length > index; index++) {
|
|
544
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
545
|
+
} return !IS_INCLUDES && -1;
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
var arrayIncludes = {
|
|
550
|
+
// `Array.prototype.includes` method
|
|
551
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
552
|
+
includes: createMethod(true),
|
|
553
|
+
// `Array.prototype.indexOf` method
|
|
554
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
555
|
+
indexOf: createMethod(false)
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
var hiddenKeys$3 = {};
|
|
559
|
+
|
|
560
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
561
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
562
|
+
var toIndexedObject$1 = toIndexedObject$3;
|
|
563
|
+
var indexOf = arrayIncludes.indexOf;
|
|
564
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
565
|
+
|
|
566
|
+
var push = uncurryThis$4([].push);
|
|
567
|
+
|
|
568
|
+
var objectKeysInternal = function (object, names) {
|
|
569
|
+
var O = toIndexedObject$1(object);
|
|
570
|
+
var i = 0;
|
|
571
|
+
var result = [];
|
|
572
|
+
var key;
|
|
573
|
+
for (key in O) !hasOwn$5(hiddenKeys$2, key) && hasOwn$5(O, key) && push(result, key);
|
|
574
|
+
// Don't enum bug & hidden keys
|
|
575
|
+
while (names.length > i) if (hasOwn$5(O, key = names[i++])) {
|
|
576
|
+
~indexOf(result, key) || push(result, key);
|
|
577
|
+
}
|
|
578
|
+
return result;
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
// IE8- don't enum bug keys
|
|
582
|
+
var enumBugKeys$2 = [
|
|
583
|
+
'constructor',
|
|
584
|
+
'hasOwnProperty',
|
|
585
|
+
'isPrototypeOf',
|
|
586
|
+
'propertyIsEnumerable',
|
|
587
|
+
'toLocaleString',
|
|
588
|
+
'toString',
|
|
589
|
+
'valueOf'
|
|
590
|
+
];
|
|
591
|
+
|
|
592
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
593
|
+
var enumBugKeys$1 = enumBugKeys$2;
|
|
594
|
+
|
|
595
|
+
// `Object.keys` method
|
|
596
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
597
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
598
|
+
var objectKeys$1 = Object.keys || function keys(O) {
|
|
599
|
+
return internalObjectKeys$1(O, enumBugKeys$1);
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
var shared$1 = shared$3.exports;
|
|
603
|
+
var uid = uid$2;
|
|
604
|
+
|
|
605
|
+
var keys = shared$1('keys');
|
|
606
|
+
|
|
607
|
+
var sharedKey$1 = function (key) {
|
|
608
|
+
return keys[key] || (keys[key] = uid(key));
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
612
|
+
var isCallable$3 = isCallable$9;
|
|
613
|
+
var store$1 = sharedStore;
|
|
614
|
+
|
|
615
|
+
var functionToString = uncurryThis$3(Function.toString);
|
|
616
|
+
|
|
617
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
618
|
+
if (!isCallable$3(store$1.inspectSource)) {
|
|
619
|
+
store$1.inspectSource = function (it) {
|
|
620
|
+
return functionToString(it);
|
|
621
|
+
};
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
var inspectSource$2 = store$1.inspectSource;
|
|
625
|
+
|
|
626
|
+
var global$4 = global$l;
|
|
627
|
+
var isCallable$2 = isCallable$9;
|
|
628
|
+
var inspectSource$1 = inspectSource$2;
|
|
629
|
+
|
|
630
|
+
var WeakMap$1 = global$4.WeakMap;
|
|
631
|
+
|
|
632
|
+
var nativeWeakMap = isCallable$2(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
|
|
633
|
+
|
|
634
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
635
|
+
return {
|
|
636
|
+
enumerable: !(bitmap & 1),
|
|
637
|
+
configurable: !(bitmap & 2),
|
|
638
|
+
writable: !(bitmap & 4),
|
|
639
|
+
value: value
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
var DESCRIPTORS$3 = descriptors;
|
|
644
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
645
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
646
|
+
|
|
647
|
+
var createNonEnumerableProperty$3 = DESCRIPTORS$3 ? function (object, key, value) {
|
|
648
|
+
return definePropertyModule$1.f(object, key, createPropertyDescriptor$1(1, value));
|
|
649
|
+
} : function (object, key, value) {
|
|
650
|
+
object[key] = value;
|
|
651
|
+
return object;
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
655
|
+
var global$3 = global$l;
|
|
656
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
657
|
+
var isObject = isObject$5;
|
|
658
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
659
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
660
|
+
var shared = sharedStore;
|
|
661
|
+
var sharedKey = sharedKey$1;
|
|
662
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
|
663
|
+
|
|
664
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
665
|
+
var TypeError = global$3.TypeError;
|
|
666
|
+
var WeakMap = global$3.WeakMap;
|
|
667
|
+
var set, get, has;
|
|
668
|
+
|
|
669
|
+
var enforce = function (it) {
|
|
670
|
+
return has(it) ? get(it) : set(it, {});
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
var getterFor = function (TYPE) {
|
|
674
|
+
return function (it) {
|
|
675
|
+
var state;
|
|
676
|
+
if (!isObject(it) || (state = get(it)).type !== TYPE) {
|
|
677
|
+
throw TypeError('Incompatible receiver, ' + TYPE + ' required');
|
|
678
|
+
} return state;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
683
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
684
|
+
var wmget = uncurryThis$2(store.get);
|
|
685
|
+
var wmhas = uncurryThis$2(store.has);
|
|
686
|
+
var wmset = uncurryThis$2(store.set);
|
|
687
|
+
set = function (it, metadata) {
|
|
688
|
+
if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
689
|
+
metadata.facade = it;
|
|
690
|
+
wmset(store, it, metadata);
|
|
691
|
+
return metadata;
|
|
692
|
+
};
|
|
693
|
+
get = function (it) {
|
|
694
|
+
return wmget(store, it) || {};
|
|
695
|
+
};
|
|
696
|
+
has = function (it) {
|
|
697
|
+
return wmhas(store, it);
|
|
698
|
+
};
|
|
699
|
+
} else {
|
|
700
|
+
var STATE = sharedKey('state');
|
|
701
|
+
hiddenKeys$1[STATE] = true;
|
|
702
|
+
set = function (it, metadata) {
|
|
703
|
+
if (hasOwn$4(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);
|
|
704
|
+
metadata.facade = it;
|
|
705
|
+
createNonEnumerableProperty$2(it, STATE, metadata);
|
|
706
|
+
return metadata;
|
|
707
|
+
};
|
|
708
|
+
get = function (it) {
|
|
709
|
+
return hasOwn$4(it, STATE) ? it[STATE] : {};
|
|
710
|
+
};
|
|
711
|
+
has = function (it) {
|
|
712
|
+
return hasOwn$4(it, STATE);
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
var internalState = {
|
|
717
|
+
set: set,
|
|
718
|
+
get: get,
|
|
719
|
+
has: has,
|
|
720
|
+
enforce: enforce,
|
|
721
|
+
getterFor: getterFor
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
725
|
+
|
|
726
|
+
var objectPropertyIsEnumerable = {};
|
|
727
|
+
|
|
728
|
+
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
729
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
730
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
731
|
+
|
|
732
|
+
// Nashorn ~ JDK8 bug
|
|
733
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
|
|
734
|
+
|
|
735
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
736
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
737
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
738
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
739
|
+
return !!descriptor && descriptor.enumerable;
|
|
740
|
+
} : $propertyIsEnumerable;
|
|
741
|
+
|
|
742
|
+
var DESCRIPTORS$2 = descriptors;
|
|
743
|
+
var call$1 = functionCall;
|
|
744
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
745
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
746
|
+
var toIndexedObject = toIndexedObject$3;
|
|
747
|
+
var toPropertyKey = toPropertyKey$2;
|
|
748
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
749
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
750
|
+
|
|
751
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
752
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
753
|
+
|
|
754
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
755
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
756
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$2 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
|
|
757
|
+
O = toIndexedObject(O);
|
|
758
|
+
P = toPropertyKey(P);
|
|
759
|
+
if (IE8_DOM_DEFINE) try {
|
|
760
|
+
return $getOwnPropertyDescriptor(O, P);
|
|
761
|
+
} catch (error) { /* empty */ }
|
|
762
|
+
if (hasOwn$3(O, P)) return createPropertyDescriptor(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
763
|
+
};
|
|
764
|
+
|
|
765
|
+
var redefine$1 = {exports: {}};
|
|
766
|
+
|
|
767
|
+
var DESCRIPTORS$1 = descriptors;
|
|
768
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
769
|
+
|
|
770
|
+
var FunctionPrototype = Function.prototype;
|
|
771
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
772
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
773
|
+
|
|
774
|
+
var EXISTS = hasOwn$2(FunctionPrototype, 'name');
|
|
775
|
+
// additional protection from minified / mangled / dropped function names
|
|
776
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
777
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
778
|
+
|
|
779
|
+
var functionName = {
|
|
780
|
+
EXISTS: EXISTS,
|
|
781
|
+
PROPER: PROPER,
|
|
782
|
+
CONFIGURABLE: CONFIGURABLE
|
|
783
|
+
};
|
|
784
|
+
|
|
785
|
+
var global$2 = global$l;
|
|
786
|
+
var isCallable$1 = isCallable$9;
|
|
787
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
788
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
789
|
+
var setGlobal$1 = setGlobal$3;
|
|
790
|
+
var inspectSource = inspectSource$2;
|
|
791
|
+
var InternalStateModule = internalState;
|
|
792
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
793
|
+
|
|
794
|
+
var getInternalState = InternalStateModule.get;
|
|
795
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
796
|
+
var TEMPLATE = String(String).split('String');
|
|
797
|
+
|
|
798
|
+
(redefine$1.exports = function (O, key, value, options) {
|
|
799
|
+
var unsafe = options ? !!options.unsafe : false;
|
|
800
|
+
var simple = options ? !!options.enumerable : false;
|
|
801
|
+
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
802
|
+
var name = options && options.name !== undefined ? options.name : key;
|
|
803
|
+
var state;
|
|
804
|
+
if (isCallable$1(value)) {
|
|
805
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
806
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
807
|
+
}
|
|
808
|
+
if (!hasOwn$1(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
809
|
+
createNonEnumerableProperty$1(value, 'name', name);
|
|
810
|
+
}
|
|
811
|
+
state = enforceInternalState(value);
|
|
812
|
+
if (!state.source) {
|
|
813
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
if (O === global$2) {
|
|
817
|
+
if (simple) O[key] = value;
|
|
818
|
+
else setGlobal$1(key, value);
|
|
819
|
+
return;
|
|
820
|
+
} else if (!unsafe) {
|
|
821
|
+
delete O[key];
|
|
822
|
+
} else if (!noTargetGet && O[key]) {
|
|
823
|
+
simple = true;
|
|
824
|
+
}
|
|
825
|
+
if (simple) O[key] = value;
|
|
826
|
+
else createNonEnumerableProperty$1(O, key, value);
|
|
827
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
828
|
+
})(Function.prototype, 'toString', function toString() {
|
|
829
|
+
return isCallable$1(this) && getInternalState(this).source || inspectSource(this);
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
var objectGetOwnPropertyNames = {};
|
|
833
|
+
|
|
834
|
+
var internalObjectKeys = objectKeysInternal;
|
|
835
|
+
var enumBugKeys = enumBugKeys$2;
|
|
836
|
+
|
|
837
|
+
var hiddenKeys = enumBugKeys.concat('length', 'prototype');
|
|
838
|
+
|
|
839
|
+
// `Object.getOwnPropertyNames` method
|
|
840
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
841
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
842
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
843
|
+
return internalObjectKeys(O, hiddenKeys);
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
var objectGetOwnPropertySymbols = {};
|
|
847
|
+
|
|
848
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
849
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
850
|
+
|
|
851
|
+
var getBuiltIn = getBuiltIn$3;
|
|
852
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
853
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
854
|
+
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
855
|
+
var anObject = anObject$2;
|
|
856
|
+
|
|
857
|
+
var concat$1 = uncurryThis$1([].concat);
|
|
858
|
+
|
|
859
|
+
// all object keys, includes non-enumerable and symbols
|
|
860
|
+
var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
861
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
862
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
863
|
+
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
var hasOwn = hasOwnProperty_1;
|
|
867
|
+
var ownKeys = ownKeys$1;
|
|
868
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
869
|
+
var definePropertyModule = objectDefineProperty;
|
|
870
|
+
|
|
871
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
872
|
+
var keys = ownKeys(source);
|
|
873
|
+
var defineProperty = definePropertyModule.f;
|
|
874
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
875
|
+
for (var i = 0; i < keys.length; i++) {
|
|
876
|
+
var key = keys[i];
|
|
877
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
878
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
879
|
+
}
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
var fails$1 = fails$8;
|
|
884
|
+
var isCallable = isCallable$9;
|
|
885
|
+
|
|
886
|
+
var replacement = /#|\.prototype\./;
|
|
887
|
+
|
|
888
|
+
var isForced$1 = function (feature, detection) {
|
|
889
|
+
var value = data[normalize(feature)];
|
|
890
|
+
return value == POLYFILL ? true
|
|
891
|
+
: value == NATIVE ? false
|
|
892
|
+
: isCallable(detection) ? fails$1(detection)
|
|
893
|
+
: !!detection;
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
897
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
var data = isForced$1.data = {};
|
|
901
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
902
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
903
|
+
|
|
904
|
+
var isForced_1 = isForced$1;
|
|
905
|
+
|
|
906
|
+
var global$1 = global$l;
|
|
907
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
908
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
909
|
+
var redefine = redefine$1.exports;
|
|
910
|
+
var setGlobal = setGlobal$3;
|
|
911
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
912
|
+
var isForced = isForced_1;
|
|
913
|
+
|
|
914
|
+
/*
|
|
915
|
+
options.target - name of the target object
|
|
916
|
+
options.global - target is the global object
|
|
917
|
+
options.stat - export as static methods of target
|
|
918
|
+
options.proto - export as prototype methods of target
|
|
919
|
+
options.real - real prototype method for the `pure` version
|
|
920
|
+
options.forced - export even if the native feature is available
|
|
921
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
922
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
923
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
924
|
+
options.sham - add a flag to not completely full polyfills
|
|
925
|
+
options.enumerable - export as enumerable property
|
|
926
|
+
options.noTargetGet - prevent calling a getter on target
|
|
927
|
+
options.name - the .name of the function if it does not match the key
|
|
928
|
+
*/
|
|
929
|
+
var _export = function (options, source) {
|
|
930
|
+
var TARGET = options.target;
|
|
931
|
+
var GLOBAL = options.global;
|
|
932
|
+
var STATIC = options.stat;
|
|
933
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
934
|
+
if (GLOBAL) {
|
|
935
|
+
target = global$1;
|
|
936
|
+
} else if (STATIC) {
|
|
937
|
+
target = global$1[TARGET] || setGlobal(TARGET, {});
|
|
938
|
+
} else {
|
|
939
|
+
target = (global$1[TARGET] || {}).prototype;
|
|
940
|
+
}
|
|
941
|
+
if (target) for (key in source) {
|
|
942
|
+
sourceProperty = source[key];
|
|
943
|
+
if (options.noTargetGet) {
|
|
944
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
945
|
+
targetProperty = descriptor && descriptor.value;
|
|
946
|
+
} else targetProperty = target[key];
|
|
947
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
948
|
+
// contained in target
|
|
949
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
950
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
951
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
952
|
+
}
|
|
953
|
+
// add a flag to not completely full polyfills
|
|
954
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
955
|
+
createNonEnumerableProperty(sourceProperty, 'sham', true);
|
|
956
|
+
}
|
|
957
|
+
// extend global
|
|
958
|
+
redefine(target, key, sourceProperty, options);
|
|
959
|
+
}
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
var DESCRIPTORS = descriptors;
|
|
963
|
+
var uncurryThis = functionUncurryThis;
|
|
964
|
+
var call = functionCall;
|
|
965
|
+
var fails = fails$8;
|
|
966
|
+
var objectKeys = objectKeys$1;
|
|
967
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
968
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
969
|
+
var toObject = toObject$2;
|
|
970
|
+
var IndexedObject = indexedObject;
|
|
971
|
+
|
|
972
|
+
// eslint-disable-next-line es/no-object-assign -- safe
|
|
973
|
+
var $assign = Object.assign;
|
|
974
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
975
|
+
var defineProperty = Object.defineProperty;
|
|
976
|
+
var concat = uncurryThis([].concat);
|
|
977
|
+
|
|
978
|
+
// `Object.assign` method
|
|
979
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
980
|
+
var objectAssign = !$assign || fails(function () {
|
|
981
|
+
// should have correct order of operations (Edge bug)
|
|
982
|
+
if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
|
|
983
|
+
enumerable: true,
|
|
984
|
+
get: function () {
|
|
985
|
+
defineProperty(this, 'b', {
|
|
986
|
+
value: 3,
|
|
987
|
+
enumerable: false
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
}), { b: 2 })).b !== 1) return true;
|
|
991
|
+
// should work with symbols and should have deterministic property order (V8 bug)
|
|
992
|
+
var A = {};
|
|
993
|
+
var B = {};
|
|
994
|
+
// eslint-disable-next-line es/no-symbol -- safe
|
|
995
|
+
var symbol = Symbol();
|
|
996
|
+
var alphabet = 'abcdefghijklmnopqrst';
|
|
997
|
+
A[symbol] = 7;
|
|
998
|
+
alphabet.split('').forEach(function (chr) { B[chr] = chr; });
|
|
999
|
+
return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
|
|
1000
|
+
}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
|
|
1001
|
+
var T = toObject(target);
|
|
1002
|
+
var argumentsLength = arguments.length;
|
|
1003
|
+
var index = 1;
|
|
1004
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
1005
|
+
var propertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1006
|
+
while (argumentsLength > index) {
|
|
1007
|
+
var S = IndexedObject(arguments[index++]);
|
|
1008
|
+
var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
|
|
1009
|
+
var length = keys.length;
|
|
1010
|
+
var j = 0;
|
|
1011
|
+
var key;
|
|
1012
|
+
while (length > j) {
|
|
1013
|
+
key = keys[j++];
|
|
1014
|
+
if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1015
|
+
}
|
|
1016
|
+
} return T;
|
|
1017
|
+
} : $assign;
|
|
1018
|
+
|
|
1019
|
+
var $ = _export;
|
|
1020
|
+
var assign = objectAssign;
|
|
1021
|
+
|
|
1022
|
+
// `Object.assign` method
|
|
1023
|
+
// https://tc39.es/ecma262/#sec-object.assign
|
|
1024
|
+
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1025
|
+
$({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
1026
|
+
assign: assign
|
|
1027
|
+
});
|
|
1028
|
+
|
|
1029
|
+
exports._export = _export;
|
|
1030
|
+
exports.aCallable = aCallable$1;
|
|
1031
|
+
exports.anObject = anObject$2;
|
|
1032
|
+
exports.classofRaw = classofRaw;
|
|
1033
|
+
exports.copyConstructorProperties = copyConstructorProperties$1;
|
|
1034
|
+
exports.createNonEnumerableProperty = createNonEnumerableProperty$3;
|
|
1035
|
+
exports.createPropertyDescriptor = createPropertyDescriptor$2;
|
|
1036
|
+
exports.descriptors = descriptors;
|
|
1037
|
+
exports.documentCreateElement = documentCreateElement;
|
|
1038
|
+
exports.engineUserAgent = engineUserAgent;
|
|
1039
|
+
exports.engineV8Version = engineV8Version;
|
|
1040
|
+
exports.enumBugKeys = enumBugKeys$2;
|
|
1041
|
+
exports.fails = fails$8;
|
|
1042
|
+
exports.functionBindNative = functionBindNative;
|
|
1043
|
+
exports.functionCall = functionCall;
|
|
1044
|
+
exports.functionName = functionName;
|
|
1045
|
+
exports.functionUncurryThis = functionUncurryThis;
|
|
1046
|
+
exports.getBuiltIn = getBuiltIn$3;
|
|
1047
|
+
exports.getMethod = getMethod$1;
|
|
1048
|
+
exports.global = global$l;
|
|
1049
|
+
exports.hasOwnProperty_1 = hasOwnProperty_1;
|
|
1050
|
+
exports.hiddenKeys = hiddenKeys$3;
|
|
1051
|
+
exports.indexedObject = indexedObject;
|
|
1052
|
+
exports.inspectSource = inspectSource$2;
|
|
1053
|
+
exports.internalState = internalState;
|
|
1054
|
+
exports.isCallable = isCallable$9;
|
|
1055
|
+
exports.isForced_1 = isForced_1;
|
|
1056
|
+
exports.isObject = isObject$5;
|
|
1057
|
+
exports.lengthOfArrayLike = lengthOfArrayLike$1;
|
|
1058
|
+
exports.objectDefineProperty = objectDefineProperty;
|
|
1059
|
+
exports.objectGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor;
|
|
1060
|
+
exports.objectIsPrototypeOf = objectIsPrototypeOf;
|
|
1061
|
+
exports.objectKeys = objectKeys$1;
|
|
1062
|
+
exports.redefine = redefine$1;
|
|
1063
|
+
exports.requireObjectCoercible = requireObjectCoercible$2;
|
|
1064
|
+
exports.shared = shared$3;
|
|
1065
|
+
exports.sharedKey = sharedKey$1;
|
|
1066
|
+
exports.toAbsoluteIndex = toAbsoluteIndex$1;
|
|
1067
|
+
exports.toIndexedObject = toIndexedObject$3;
|
|
1068
|
+
exports.toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
1069
|
+
exports.toLength = toLength$1;
|
|
1070
|
+
exports.toObject = toObject$2;
|
|
1071
|
+
exports.toPropertyKey = toPropertyKey$2;
|
|
1072
|
+
exports.tryToString = tryToString$1;
|
|
1073
|
+
exports.v8PrototypeDefineBug = v8PrototypeDefineBug;
|
|
1074
|
+
exports.wellKnownSymbol = wellKnownSymbol$1;
|