@frollo/frollo-web-ui 0.0.1
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/README.md +30 -0
- package/cjs/index.js +1317 -0
- package/esm/fw-card.js +46 -0
- package/esm/index.js +1479 -0
- package/frollo-web-ui.esm.js +1520 -0
- package/index.d.ts +34 -0
- package/package.json +101 -0
- package/types/components/fw-card/fw-card.vue.d.ts +28 -0
- package/types/components/fw-card/index.d.ts +2 -0
- package/types/components/index.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/types/index.esm.d.ts +4 -0
package/esm/index.js
ADDED
|
@@ -0,0 +1,1479 @@
|
|
|
1
|
+
import { FwCard as script } from './fw-card.js';
|
|
2
|
+
export { FwCard } from './fw-card.js';
|
|
3
|
+
import 'vue';
|
|
4
|
+
|
|
5
|
+
function _arrayWithHoles(arr) {
|
|
6
|
+
if (Array.isArray(arr)) return arr;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function _iterableToArrayLimit(arr, i) {
|
|
10
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
11
|
+
|
|
12
|
+
if (_i == null) return;
|
|
13
|
+
var _arr = [];
|
|
14
|
+
var _n = true;
|
|
15
|
+
var _d = false;
|
|
16
|
+
|
|
17
|
+
var _s, _e;
|
|
18
|
+
|
|
19
|
+
try {
|
|
20
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
21
|
+
_arr.push(_s.value);
|
|
22
|
+
|
|
23
|
+
if (i && _arr.length === i) break;
|
|
24
|
+
}
|
|
25
|
+
} catch (err) {
|
|
26
|
+
_d = true;
|
|
27
|
+
_e = err;
|
|
28
|
+
} finally {
|
|
29
|
+
try {
|
|
30
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
31
|
+
} finally {
|
|
32
|
+
if (_d) throw _e;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return _arr;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _arrayLikeToArray(arr, len) {
|
|
40
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
41
|
+
|
|
42
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
43
|
+
arr2[i] = arr[i];
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
return arr2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
50
|
+
if (!o) return;
|
|
51
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
52
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
53
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
54
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
55
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function _nonIterableRest() {
|
|
59
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function _slicedToArray(arr, i) {
|
|
63
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
67
|
+
|
|
68
|
+
function getDefaultExportFromCjs (x) {
|
|
69
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
function getDefaultExportFromNamespaceIfPresent (n) {
|
|
73
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') ? n['default'] : n;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
function getDefaultExportFromNamespaceIfNotNamed (n) {
|
|
77
|
+
return n && Object.prototype.hasOwnProperty.call(n, 'default') && Object.keys(n).length === 1 ? n['default'] : n;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function getAugmentedNamespace(n) {
|
|
81
|
+
if (n.__esModule) return n;
|
|
82
|
+
var a = Object.defineProperty({}, '__esModule', {value: true});
|
|
83
|
+
Object.keys(n).forEach(function (k) {
|
|
84
|
+
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
85
|
+
Object.defineProperty(a, k, d.get ? d : {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () {
|
|
88
|
+
return n[k];
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
return a;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
function commonjsRequire (path) {
|
|
96
|
+
throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
var es_array_forEach = {};
|
|
100
|
+
|
|
101
|
+
var check = function (it) {
|
|
102
|
+
return it && it.Math == Math && it;
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
106
|
+
var global$o =
|
|
107
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
108
|
+
check(typeof globalThis == 'object' && globalThis) ||
|
|
109
|
+
check(typeof window == 'object' && window) ||
|
|
110
|
+
// eslint-disable-next-line no-restricted-globals -- safe
|
|
111
|
+
check(typeof self == 'object' && self) ||
|
|
112
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
113
|
+
// eslint-disable-next-line no-new-func -- fallback
|
|
114
|
+
(function () { return this; })() || Function('return this')();
|
|
115
|
+
|
|
116
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
117
|
+
|
|
118
|
+
var fails$9 = function (exec) {
|
|
119
|
+
try {
|
|
120
|
+
return !!exec();
|
|
121
|
+
} catch (error) {
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
var fails$8 = fails$9;
|
|
127
|
+
|
|
128
|
+
// Detect IE8's incomplete defineProperty implementation
|
|
129
|
+
var descriptors = !fails$8(function () {
|
|
130
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
131
|
+
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
var fails$7 = fails$9;
|
|
135
|
+
|
|
136
|
+
var functionBindNative = !fails$7(function () {
|
|
137
|
+
var test = (function () { /* empty */ }).bind();
|
|
138
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
139
|
+
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
143
|
+
|
|
144
|
+
var call$4 = Function.prototype.call;
|
|
145
|
+
|
|
146
|
+
var functionCall = NATIVE_BIND$2 ? call$4.bind(call$4) : function () {
|
|
147
|
+
return call$4.apply(call$4, arguments);
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
var objectPropertyIsEnumerable = {};
|
|
151
|
+
|
|
152
|
+
'use strict';
|
|
153
|
+
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
154
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
155
|
+
var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
156
|
+
|
|
157
|
+
// Nashorn ~ JDK8 bug
|
|
158
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);
|
|
159
|
+
|
|
160
|
+
// `Object.prototype.propertyIsEnumerable` method implementation
|
|
161
|
+
// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
|
|
162
|
+
var f$4 = objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
163
|
+
var descriptor = getOwnPropertyDescriptor$1(this, V);
|
|
164
|
+
return !!descriptor && descriptor.enumerable;
|
|
165
|
+
} : $propertyIsEnumerable$1;
|
|
166
|
+
|
|
167
|
+
var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
168
|
+
return {
|
|
169
|
+
enumerable: !(bitmap & 1),
|
|
170
|
+
configurable: !(bitmap & 2),
|
|
171
|
+
writable: !(bitmap & 4),
|
|
172
|
+
value: value
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
177
|
+
|
|
178
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
179
|
+
var bind$2 = FunctionPrototype$1.bind;
|
|
180
|
+
var call$3 = FunctionPrototype$1.call;
|
|
181
|
+
var uncurryThis$d = NATIVE_BIND$1 && bind$2.bind(call$3, call$3);
|
|
182
|
+
|
|
183
|
+
var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
|
|
184
|
+
return fn && uncurryThis$d(fn);
|
|
185
|
+
} : function (fn) {
|
|
186
|
+
return fn && function () {
|
|
187
|
+
return call$3.apply(fn, arguments);
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
var uncurryThis$c = functionUncurryThis;
|
|
192
|
+
|
|
193
|
+
var toString$2 = uncurryThis$c({}.toString);
|
|
194
|
+
var stringSlice = uncurryThis$c(''.slice);
|
|
195
|
+
|
|
196
|
+
var classofRaw$1 = function (it) {
|
|
197
|
+
return stringSlice(toString$2(it), 8, -1);
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
var global$n = global$o;
|
|
201
|
+
var uncurryThis$b = functionUncurryThis;
|
|
202
|
+
var fails$6 = fails$9;
|
|
203
|
+
var classof$4 = classofRaw$1;
|
|
204
|
+
|
|
205
|
+
var Object$4 = global$n.Object;
|
|
206
|
+
var split = uncurryThis$b(''.split);
|
|
207
|
+
|
|
208
|
+
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
209
|
+
var indexedObject = fails$6(function () {
|
|
210
|
+
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
211
|
+
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
212
|
+
return !Object$4('z').propertyIsEnumerable(0);
|
|
213
|
+
}) ? function (it) {
|
|
214
|
+
return classof$4(it) == 'String' ? split(it, '') : Object$4(it);
|
|
215
|
+
} : Object$4;
|
|
216
|
+
|
|
217
|
+
var global$m = global$o;
|
|
218
|
+
|
|
219
|
+
var TypeError$7 = global$m.TypeError;
|
|
220
|
+
|
|
221
|
+
// `RequireObjectCoercible` abstract operation
|
|
222
|
+
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
223
|
+
var requireObjectCoercible$2 = function (it) {
|
|
224
|
+
if (it == undefined) throw TypeError$7("Can't call method on " + it);
|
|
225
|
+
return it;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
// toObject with fallback for non-array-like ES3 strings
|
|
229
|
+
var IndexedObject$1 = indexedObject;
|
|
230
|
+
var requireObjectCoercible$1 = requireObjectCoercible$2;
|
|
231
|
+
|
|
232
|
+
var toIndexedObject$4 = function (it) {
|
|
233
|
+
return IndexedObject$1(requireObjectCoercible$1(it));
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
// `IsCallable` abstract operation
|
|
237
|
+
// https://tc39.es/ecma262/#sec-iscallable
|
|
238
|
+
var isCallable$b = function (argument) {
|
|
239
|
+
return typeof argument == 'function';
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
var isCallable$a = isCallable$b;
|
|
243
|
+
|
|
244
|
+
var isObject$6 = function (it) {
|
|
245
|
+
return typeof it == 'object' ? it !== null : isCallable$a(it);
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
var global$l = global$o;
|
|
249
|
+
var isCallable$9 = isCallable$b;
|
|
250
|
+
|
|
251
|
+
var aFunction = function (argument) {
|
|
252
|
+
return isCallable$9(argument) ? argument : undefined;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
var getBuiltIn$4 = function (namespace, method) {
|
|
256
|
+
return arguments.length < 2 ? aFunction(global$l[namespace]) : global$l[namespace] && global$l[namespace][method];
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
var uncurryThis$a = functionUncurryThis;
|
|
260
|
+
|
|
261
|
+
var objectIsPrototypeOf = uncurryThis$a({}.isPrototypeOf);
|
|
262
|
+
|
|
263
|
+
var getBuiltIn$3 = getBuiltIn$4;
|
|
264
|
+
|
|
265
|
+
var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
|
|
266
|
+
|
|
267
|
+
var global$k = global$o;
|
|
268
|
+
var userAgent = engineUserAgent;
|
|
269
|
+
|
|
270
|
+
var process = global$k.process;
|
|
271
|
+
var Deno = global$k.Deno;
|
|
272
|
+
var versions = process && process.versions || Deno && Deno.version;
|
|
273
|
+
var v8 = versions && versions.v8;
|
|
274
|
+
var match, version;
|
|
275
|
+
|
|
276
|
+
if (v8) {
|
|
277
|
+
match = v8.split('.');
|
|
278
|
+
// in old Chrome, versions of V8 isn't V8 = Chrome / 10
|
|
279
|
+
// but their correct versions are not interesting for us
|
|
280
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
|
|
284
|
+
// so check `userAgent` even if `.v8` exists, but 0
|
|
285
|
+
if (!version && userAgent) {
|
|
286
|
+
match = userAgent.match(/Edge\/(\d+)/);
|
|
287
|
+
if (!match || match[1] >= 74) {
|
|
288
|
+
match = userAgent.match(/Chrome\/(\d+)/);
|
|
289
|
+
if (match) version = +match[1];
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
var engineV8Version = version;
|
|
294
|
+
|
|
295
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
296
|
+
|
|
297
|
+
var V8_VERSION = engineV8Version;
|
|
298
|
+
var fails$5 = fails$9;
|
|
299
|
+
|
|
300
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
301
|
+
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$5(function () {
|
|
302
|
+
var symbol = Symbol();
|
|
303
|
+
// Chrome 38 Symbol has incorrect toString conversion
|
|
304
|
+
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
305
|
+
return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
|
|
306
|
+
// Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
307
|
+
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
308
|
+
});
|
|
309
|
+
|
|
310
|
+
/* eslint-disable es/no-symbol -- required for testing */
|
|
311
|
+
|
|
312
|
+
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
313
|
+
|
|
314
|
+
var useSymbolAsUid = NATIVE_SYMBOL$1
|
|
315
|
+
&& !Symbol.sham
|
|
316
|
+
&& typeof Symbol.iterator == 'symbol';
|
|
317
|
+
|
|
318
|
+
var global$j = global$o;
|
|
319
|
+
var getBuiltIn$2 = getBuiltIn$4;
|
|
320
|
+
var isCallable$8 = isCallable$b;
|
|
321
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
322
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
323
|
+
|
|
324
|
+
var Object$3 = global$j.Object;
|
|
325
|
+
|
|
326
|
+
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
327
|
+
return typeof it == 'symbol';
|
|
328
|
+
} : function (it) {
|
|
329
|
+
var $Symbol = getBuiltIn$2('Symbol');
|
|
330
|
+
return isCallable$8($Symbol) && isPrototypeOf($Symbol.prototype, Object$3(it));
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
var global$i = global$o;
|
|
334
|
+
|
|
335
|
+
var String$2 = global$i.String;
|
|
336
|
+
|
|
337
|
+
var tryToString$1 = function (argument) {
|
|
338
|
+
try {
|
|
339
|
+
return String$2(argument);
|
|
340
|
+
} catch (error) {
|
|
341
|
+
return 'Object';
|
|
342
|
+
}
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
var global$h = global$o;
|
|
346
|
+
var isCallable$7 = isCallable$b;
|
|
347
|
+
var tryToString = tryToString$1;
|
|
348
|
+
|
|
349
|
+
var TypeError$6 = global$h.TypeError;
|
|
350
|
+
|
|
351
|
+
// `Assert: IsCallable(argument) is true`
|
|
352
|
+
var aCallable$2 = function (argument) {
|
|
353
|
+
if (isCallable$7(argument)) return argument;
|
|
354
|
+
throw TypeError$6(tryToString(argument) + ' is not a function');
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
var aCallable$1 = aCallable$2;
|
|
358
|
+
|
|
359
|
+
// `GetMethod` abstract operation
|
|
360
|
+
// https://tc39.es/ecma262/#sec-getmethod
|
|
361
|
+
var getMethod$1 = function (V, P) {
|
|
362
|
+
var func = V[P];
|
|
363
|
+
return func == null ? undefined : aCallable$1(func);
|
|
364
|
+
};
|
|
365
|
+
|
|
366
|
+
var global$g = global$o;
|
|
367
|
+
var call$2 = functionCall;
|
|
368
|
+
var isCallable$6 = isCallable$b;
|
|
369
|
+
var isObject$5 = isObject$6;
|
|
370
|
+
|
|
371
|
+
var TypeError$5 = global$g.TypeError;
|
|
372
|
+
|
|
373
|
+
// `OrdinaryToPrimitive` abstract operation
|
|
374
|
+
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
375
|
+
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
376
|
+
var fn, val;
|
|
377
|
+
if (pref === 'string' && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input))) return val;
|
|
378
|
+
if (isCallable$6(fn = input.valueOf) && !isObject$5(val = call$2(fn, input))) return val;
|
|
379
|
+
if (pref !== 'string' && isCallable$6(fn = input.toString) && !isObject$5(val = call$2(fn, input))) return val;
|
|
380
|
+
throw TypeError$5("Can't convert object to primitive value");
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
var shared$4 = {exports: {}};
|
|
384
|
+
|
|
385
|
+
var isPure = false;
|
|
386
|
+
|
|
387
|
+
var global$f = global$o;
|
|
388
|
+
|
|
389
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
390
|
+
var defineProperty = Object.defineProperty;
|
|
391
|
+
|
|
392
|
+
var setGlobal$3 = function (key, value) {
|
|
393
|
+
try {
|
|
394
|
+
defineProperty(global$f, key, { value: value, configurable: true, writable: true });
|
|
395
|
+
} catch (error) {
|
|
396
|
+
global$f[key] = value;
|
|
397
|
+
} return value;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
var global$e = global$o;
|
|
401
|
+
var setGlobal$2 = setGlobal$3;
|
|
402
|
+
|
|
403
|
+
var SHARED = '__core-js_shared__';
|
|
404
|
+
var store$3 = global$e[SHARED] || setGlobal$2(SHARED, {});
|
|
405
|
+
|
|
406
|
+
var sharedStore = store$3;
|
|
407
|
+
|
|
408
|
+
var IS_PURE = isPure;
|
|
409
|
+
var store$2 = sharedStore;
|
|
410
|
+
|
|
411
|
+
(shared$4.exports = function (key, value) {
|
|
412
|
+
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
413
|
+
})('versions', []).push({
|
|
414
|
+
version: '3.21.1',
|
|
415
|
+
mode: IS_PURE ? 'pure' : 'global',
|
|
416
|
+
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
417
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE',
|
|
418
|
+
source: 'https://github.com/zloirock/core-js'
|
|
419
|
+
});
|
|
420
|
+
|
|
421
|
+
var shared$3 = shared$4.exports;
|
|
422
|
+
|
|
423
|
+
var global$d = global$o;
|
|
424
|
+
var requireObjectCoercible = requireObjectCoercible$2;
|
|
425
|
+
|
|
426
|
+
var Object$2 = global$d.Object;
|
|
427
|
+
|
|
428
|
+
// `ToObject` abstract operation
|
|
429
|
+
// https://tc39.es/ecma262/#sec-toobject
|
|
430
|
+
var toObject$2 = function (argument) {
|
|
431
|
+
return Object$2(requireObjectCoercible(argument));
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
435
|
+
var toObject$1 = toObject$2;
|
|
436
|
+
|
|
437
|
+
var hasOwnProperty = uncurryThis$9({}.hasOwnProperty);
|
|
438
|
+
|
|
439
|
+
// `HasOwnProperty` abstract operation
|
|
440
|
+
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
441
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
442
|
+
return hasOwnProperty(toObject$1(it), key);
|
|
443
|
+
};
|
|
444
|
+
|
|
445
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
446
|
+
|
|
447
|
+
var id = 0;
|
|
448
|
+
var postfix = Math.random();
|
|
449
|
+
var toString$1 = uncurryThis$8(1.0.toString);
|
|
450
|
+
|
|
451
|
+
var uid$2 = function (key) {
|
|
452
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
var global$c = global$o;
|
|
456
|
+
var shared$2 = shared$4.exports;
|
|
457
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
458
|
+
var uid$1 = uid$2;
|
|
459
|
+
var NATIVE_SYMBOL = nativeSymbol;
|
|
460
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
461
|
+
|
|
462
|
+
var WellKnownSymbolsStore = shared$2('wks');
|
|
463
|
+
var Symbol$1 = global$c.Symbol;
|
|
464
|
+
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
465
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
466
|
+
|
|
467
|
+
var wellKnownSymbol$4 = function (name) {
|
|
468
|
+
if (!hasOwn$6(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
469
|
+
var description = 'Symbol.' + name;
|
|
470
|
+
if (NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)) {
|
|
471
|
+
WellKnownSymbolsStore[name] = Symbol$1[name];
|
|
472
|
+
} else if (USE_SYMBOL_AS_UID && symbolFor) {
|
|
473
|
+
WellKnownSymbolsStore[name] = symbolFor(description);
|
|
474
|
+
} else {
|
|
475
|
+
WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
|
|
476
|
+
}
|
|
477
|
+
} return WellKnownSymbolsStore[name];
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
var global$b = global$o;
|
|
481
|
+
var call$1 = functionCall;
|
|
482
|
+
var isObject$4 = isObject$6;
|
|
483
|
+
var isSymbol$1 = isSymbol$2;
|
|
484
|
+
var getMethod = getMethod$1;
|
|
485
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
486
|
+
var wellKnownSymbol$3 = wellKnownSymbol$4;
|
|
487
|
+
|
|
488
|
+
var TypeError$4 = global$b.TypeError;
|
|
489
|
+
var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
|
|
490
|
+
|
|
491
|
+
// `ToPrimitive` abstract operation
|
|
492
|
+
// https://tc39.es/ecma262/#sec-toprimitive
|
|
493
|
+
var toPrimitive$1 = function (input, pref) {
|
|
494
|
+
if (!isObject$4(input) || isSymbol$1(input)) return input;
|
|
495
|
+
var exoticToPrim = getMethod(input, TO_PRIMITIVE);
|
|
496
|
+
var result;
|
|
497
|
+
if (exoticToPrim) {
|
|
498
|
+
if (pref === undefined) pref = 'default';
|
|
499
|
+
result = call$1(exoticToPrim, input, pref);
|
|
500
|
+
if (!isObject$4(result) || isSymbol$1(result)) return result;
|
|
501
|
+
throw TypeError$4("Can't convert object to primitive value");
|
|
502
|
+
}
|
|
503
|
+
if (pref === undefined) pref = 'number';
|
|
504
|
+
return ordinaryToPrimitive(input, pref);
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
var toPrimitive = toPrimitive$1;
|
|
508
|
+
var isSymbol = isSymbol$2;
|
|
509
|
+
|
|
510
|
+
// `ToPropertyKey` abstract operation
|
|
511
|
+
// https://tc39.es/ecma262/#sec-topropertykey
|
|
512
|
+
var toPropertyKey$2 = function (argument) {
|
|
513
|
+
var key = toPrimitive(argument, 'string');
|
|
514
|
+
return isSymbol(key) ? key : key + '';
|
|
515
|
+
};
|
|
516
|
+
|
|
517
|
+
var global$a = global$o;
|
|
518
|
+
var isObject$3 = isObject$6;
|
|
519
|
+
|
|
520
|
+
var document = global$a.document;
|
|
521
|
+
// typeof document.createElement is 'object' in old IE
|
|
522
|
+
var EXISTS$1 = isObject$3(document) && isObject$3(document.createElement);
|
|
523
|
+
|
|
524
|
+
var documentCreateElement$1 = function (it) {
|
|
525
|
+
return EXISTS$1 ? document.createElement(it) : {};
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
var DESCRIPTORS$6 = descriptors;
|
|
529
|
+
var fails$4 = fails$9;
|
|
530
|
+
var createElement = documentCreateElement$1;
|
|
531
|
+
|
|
532
|
+
// Thanks to IE8 for its funny defineProperty
|
|
533
|
+
var ie8DomDefine = !DESCRIPTORS$6 && !fails$4(function () {
|
|
534
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
535
|
+
return Object.defineProperty(createElement('div'), 'a', {
|
|
536
|
+
get: function () { return 7; }
|
|
537
|
+
}).a != 7;
|
|
538
|
+
});
|
|
539
|
+
|
|
540
|
+
var DESCRIPTORS$5 = descriptors;
|
|
541
|
+
var call = functionCall;
|
|
542
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
543
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
544
|
+
var toIndexedObject$3 = toIndexedObject$4;
|
|
545
|
+
var toPropertyKey$1 = toPropertyKey$2;
|
|
546
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
547
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
548
|
+
|
|
549
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
550
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
551
|
+
|
|
552
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
553
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
554
|
+
var f$3 = objectGetOwnPropertyDescriptor.f = DESCRIPTORS$5 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
555
|
+
O = toIndexedObject$3(O);
|
|
556
|
+
P = toPropertyKey$1(P);
|
|
557
|
+
if (IE8_DOM_DEFINE$1) try {
|
|
558
|
+
return $getOwnPropertyDescriptor$1(O, P);
|
|
559
|
+
} catch (error) { /* empty */ }
|
|
560
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call(propertyIsEnumerableModule.f, O, P), O[P]);
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
var objectDefineProperty = {};
|
|
564
|
+
|
|
565
|
+
var DESCRIPTORS$4 = descriptors;
|
|
566
|
+
var fails$3 = fails$9;
|
|
567
|
+
|
|
568
|
+
// V8 ~ Chrome 36-
|
|
569
|
+
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
570
|
+
var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$3(function () {
|
|
571
|
+
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
572
|
+
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
573
|
+
value: 42,
|
|
574
|
+
writable: false
|
|
575
|
+
}).prototype != 42;
|
|
576
|
+
});
|
|
577
|
+
|
|
578
|
+
var global$9 = global$o;
|
|
579
|
+
var isObject$2 = isObject$6;
|
|
580
|
+
|
|
581
|
+
var String$1 = global$9.String;
|
|
582
|
+
var TypeError$3 = global$9.TypeError;
|
|
583
|
+
|
|
584
|
+
// `Assert: Type(argument) is Object`
|
|
585
|
+
var anObject$2 = function (argument) {
|
|
586
|
+
if (isObject$2(argument)) return argument;
|
|
587
|
+
throw TypeError$3(String$1(argument) + ' is not an object');
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
var global$8 = global$o;
|
|
591
|
+
var DESCRIPTORS$3 = descriptors;
|
|
592
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
593
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
594
|
+
var anObject$1 = anObject$2;
|
|
595
|
+
var toPropertyKey = toPropertyKey$2;
|
|
596
|
+
|
|
597
|
+
var TypeError$2 = global$8.TypeError;
|
|
598
|
+
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
599
|
+
var $defineProperty = Object.defineProperty;
|
|
600
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
601
|
+
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
602
|
+
var ENUMERABLE = 'enumerable';
|
|
603
|
+
var CONFIGURABLE$1 = 'configurable';
|
|
604
|
+
var WRITABLE = 'writable';
|
|
605
|
+
|
|
606
|
+
// `Object.defineProperty` method
|
|
607
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
608
|
+
var f$2 = objectDefineProperty.f = DESCRIPTORS$3 ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {
|
|
609
|
+
anObject$1(O);
|
|
610
|
+
P = toPropertyKey(P);
|
|
611
|
+
anObject$1(Attributes);
|
|
612
|
+
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
613
|
+
var current = $getOwnPropertyDescriptor(O, P);
|
|
614
|
+
if (current && current[WRITABLE]) {
|
|
615
|
+
O[P] = Attributes.value;
|
|
616
|
+
Attributes = {
|
|
617
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
618
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
619
|
+
writable: false
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
} return $defineProperty(O, P, Attributes);
|
|
623
|
+
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
624
|
+
anObject$1(O);
|
|
625
|
+
P = toPropertyKey(P);
|
|
626
|
+
anObject$1(Attributes);
|
|
627
|
+
if (IE8_DOM_DEFINE) try {
|
|
628
|
+
return $defineProperty(O, P, Attributes);
|
|
629
|
+
} catch (error) { /* empty */ }
|
|
630
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$2('Accessors not supported');
|
|
631
|
+
if ('value' in Attributes) O[P] = Attributes.value;
|
|
632
|
+
return O;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
var DESCRIPTORS$2 = descriptors;
|
|
636
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
637
|
+
var createPropertyDescriptor = createPropertyDescriptor$2;
|
|
638
|
+
|
|
639
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$2 ? function (object, key, value) {
|
|
640
|
+
return definePropertyModule$1.f(object, key, createPropertyDescriptor(1, value));
|
|
641
|
+
} : function (object, key, value) {
|
|
642
|
+
object[key] = value;
|
|
643
|
+
return object;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
var redefine$3 = {exports: {}};
|
|
647
|
+
|
|
648
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
649
|
+
var isCallable$5 = isCallable$b;
|
|
650
|
+
var store$1 = sharedStore;
|
|
651
|
+
|
|
652
|
+
var functionToString = uncurryThis$7(Function.toString);
|
|
653
|
+
|
|
654
|
+
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
655
|
+
if (!isCallable$5(store$1.inspectSource)) {
|
|
656
|
+
store$1.inspectSource = function (it) {
|
|
657
|
+
return functionToString(it);
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
var inspectSource$3 = store$1.inspectSource;
|
|
662
|
+
|
|
663
|
+
var global$7 = global$o;
|
|
664
|
+
var isCallable$4 = isCallable$b;
|
|
665
|
+
var inspectSource$2 = inspectSource$3;
|
|
666
|
+
|
|
667
|
+
var WeakMap$1 = global$7.WeakMap;
|
|
668
|
+
|
|
669
|
+
var nativeWeakMap = isCallable$4(WeakMap$1) && /native code/.test(inspectSource$2(WeakMap$1));
|
|
670
|
+
|
|
671
|
+
var shared$1 = shared$4.exports;
|
|
672
|
+
var uid = uid$2;
|
|
673
|
+
|
|
674
|
+
var keys = shared$1('keys');
|
|
675
|
+
|
|
676
|
+
var sharedKey$1 = function (key) {
|
|
677
|
+
return keys[key] || (keys[key] = uid(key));
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
var hiddenKeys$3 = {};
|
|
681
|
+
|
|
682
|
+
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
683
|
+
var global$6 = global$o;
|
|
684
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
685
|
+
var isObject$1 = isObject$6;
|
|
686
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
687
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
688
|
+
var shared = sharedStore;
|
|
689
|
+
var sharedKey = sharedKey$1;
|
|
690
|
+
var hiddenKeys$2 = hiddenKeys$3;
|
|
691
|
+
|
|
692
|
+
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
693
|
+
var TypeError$1 = global$6.TypeError;
|
|
694
|
+
var WeakMap = global$6.WeakMap;
|
|
695
|
+
var set, get, has;
|
|
696
|
+
|
|
697
|
+
var enforce = function (it) {
|
|
698
|
+
return has(it) ? get(it) : set(it, {});
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
var getterFor = function (TYPE) {
|
|
702
|
+
return function (it) {
|
|
703
|
+
var state;
|
|
704
|
+
if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
|
|
705
|
+
throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
|
|
706
|
+
} return state;
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
if (NATIVE_WEAK_MAP || shared.state) {
|
|
711
|
+
var store = shared.state || (shared.state = new WeakMap());
|
|
712
|
+
var wmget = uncurryThis$6(store.get);
|
|
713
|
+
var wmhas = uncurryThis$6(store.has);
|
|
714
|
+
var wmset = uncurryThis$6(store.set);
|
|
715
|
+
set = function (it, metadata) {
|
|
716
|
+
if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
717
|
+
metadata.facade = it;
|
|
718
|
+
wmset(store, it, metadata);
|
|
719
|
+
return metadata;
|
|
720
|
+
};
|
|
721
|
+
get = function (it) {
|
|
722
|
+
return wmget(store, it) || {};
|
|
723
|
+
};
|
|
724
|
+
has = function (it) {
|
|
725
|
+
return wmhas(store, it);
|
|
726
|
+
};
|
|
727
|
+
} else {
|
|
728
|
+
var STATE = sharedKey('state');
|
|
729
|
+
hiddenKeys$2[STATE] = true;
|
|
730
|
+
set = function (it, metadata) {
|
|
731
|
+
if (hasOwn$4(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
732
|
+
metadata.facade = it;
|
|
733
|
+
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
734
|
+
return metadata;
|
|
735
|
+
};
|
|
736
|
+
get = function (it) {
|
|
737
|
+
return hasOwn$4(it, STATE) ? it[STATE] : {};
|
|
738
|
+
};
|
|
739
|
+
has = function (it) {
|
|
740
|
+
return hasOwn$4(it, STATE);
|
|
741
|
+
};
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
var internalState = {
|
|
745
|
+
set: set,
|
|
746
|
+
get: get,
|
|
747
|
+
has: has,
|
|
748
|
+
enforce: enforce,
|
|
749
|
+
getterFor: getterFor
|
|
750
|
+
};
|
|
751
|
+
|
|
752
|
+
var DESCRIPTORS$1 = descriptors;
|
|
753
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
754
|
+
|
|
755
|
+
var FunctionPrototype = Function.prototype;
|
|
756
|
+
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
757
|
+
var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
|
|
758
|
+
|
|
759
|
+
var EXISTS = hasOwn$3(FunctionPrototype, 'name');
|
|
760
|
+
// additional protection from minified / mangled / dropped function names
|
|
761
|
+
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
762
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$1 || (DESCRIPTORS$1 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
763
|
+
|
|
764
|
+
var functionName = {
|
|
765
|
+
EXISTS: EXISTS,
|
|
766
|
+
PROPER: PROPER,
|
|
767
|
+
CONFIGURABLE: CONFIGURABLE
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
var global$5 = global$o;
|
|
771
|
+
var isCallable$3 = isCallable$b;
|
|
772
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
773
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
774
|
+
var setGlobal$1 = setGlobal$3;
|
|
775
|
+
var inspectSource$1 = inspectSource$3;
|
|
776
|
+
var InternalStateModule = internalState;
|
|
777
|
+
var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
|
|
778
|
+
|
|
779
|
+
var getInternalState = InternalStateModule.get;
|
|
780
|
+
var enforceInternalState = InternalStateModule.enforce;
|
|
781
|
+
var TEMPLATE = String(String).split('String');
|
|
782
|
+
|
|
783
|
+
(redefine$3.exports = function (O, key, value, options) {
|
|
784
|
+
var unsafe = options ? !!options.unsafe : false;
|
|
785
|
+
var simple = options ? !!options.enumerable : false;
|
|
786
|
+
var noTargetGet = options ? !!options.noTargetGet : false;
|
|
787
|
+
var name = options && options.name !== undefined ? options.name : key;
|
|
788
|
+
var state;
|
|
789
|
+
if (isCallable$3(value)) {
|
|
790
|
+
if (String(name).slice(0, 7) === 'Symbol(') {
|
|
791
|
+
name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
|
|
792
|
+
}
|
|
793
|
+
if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
|
|
794
|
+
createNonEnumerableProperty$2(value, 'name', name);
|
|
795
|
+
}
|
|
796
|
+
state = enforceInternalState(value);
|
|
797
|
+
if (!state.source) {
|
|
798
|
+
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
799
|
+
}
|
|
800
|
+
}
|
|
801
|
+
if (O === global$5) {
|
|
802
|
+
if (simple) O[key] = value;
|
|
803
|
+
else setGlobal$1(key, value);
|
|
804
|
+
return;
|
|
805
|
+
} else if (!unsafe) {
|
|
806
|
+
delete O[key];
|
|
807
|
+
} else if (!noTargetGet && O[key]) {
|
|
808
|
+
simple = true;
|
|
809
|
+
}
|
|
810
|
+
if (simple) O[key] = value;
|
|
811
|
+
else createNonEnumerableProperty$2(O, key, value);
|
|
812
|
+
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
813
|
+
})(Function.prototype, 'toString', function toString() {
|
|
814
|
+
return isCallable$3(this) && getInternalState(this).source || inspectSource$1(this);
|
|
815
|
+
});
|
|
816
|
+
|
|
817
|
+
var redefine$2 = redefine$3.exports;
|
|
818
|
+
|
|
819
|
+
var objectGetOwnPropertyNames = {};
|
|
820
|
+
|
|
821
|
+
var ceil = Math.ceil;
|
|
822
|
+
var floor = Math.floor;
|
|
823
|
+
|
|
824
|
+
// `ToIntegerOrInfinity` abstract operation
|
|
825
|
+
// https://tc39.es/ecma262/#sec-tointegerorinfinity
|
|
826
|
+
var toIntegerOrInfinity$2 = function (argument) {
|
|
827
|
+
var number = +argument;
|
|
828
|
+
// eslint-disable-next-line no-self-compare -- safe
|
|
829
|
+
return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
|
|
833
|
+
|
|
834
|
+
var max = Math.max;
|
|
835
|
+
var min$1 = Math.min;
|
|
836
|
+
|
|
837
|
+
// Helper for a popular repeating case of the spec:
|
|
838
|
+
// Let integer be ? ToInteger(index).
|
|
839
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
840
|
+
var toAbsoluteIndex$1 = function (index, length) {
|
|
841
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
842
|
+
return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$2;
|
|
846
|
+
|
|
847
|
+
var min = Math.min;
|
|
848
|
+
|
|
849
|
+
// `ToLength` abstract operation
|
|
850
|
+
// https://tc39.es/ecma262/#sec-tolength
|
|
851
|
+
var toLength$1 = function (argument) {
|
|
852
|
+
return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
var toLength = toLength$1;
|
|
856
|
+
|
|
857
|
+
// `LengthOfArrayLike` abstract operation
|
|
858
|
+
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
859
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
860
|
+
return toLength(obj.length);
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
var toIndexedObject$2 = toIndexedObject$4;
|
|
864
|
+
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
865
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
866
|
+
|
|
867
|
+
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
868
|
+
var createMethod$2 = function (IS_INCLUDES) {
|
|
869
|
+
return function ($this, el, fromIndex) {
|
|
870
|
+
var O = toIndexedObject$2($this);
|
|
871
|
+
var length = lengthOfArrayLike$1(O);
|
|
872
|
+
var index = toAbsoluteIndex(fromIndex, length);
|
|
873
|
+
var value;
|
|
874
|
+
// Array#includes uses SameValueZero equality algorithm
|
|
875
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
876
|
+
if (IS_INCLUDES && el != el) while (length > index) {
|
|
877
|
+
value = O[index++];
|
|
878
|
+
// eslint-disable-next-line no-self-compare -- NaN check
|
|
879
|
+
if (value != value) return true;
|
|
880
|
+
// Array#indexOf ignores holes, Array#includes - not
|
|
881
|
+
} else for (;length > index; index++) {
|
|
882
|
+
if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
|
|
883
|
+
} return !IS_INCLUDES && -1;
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
var arrayIncludes = {
|
|
888
|
+
// `Array.prototype.includes` method
|
|
889
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
890
|
+
includes: createMethod$2(true),
|
|
891
|
+
// `Array.prototype.indexOf` method
|
|
892
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
893
|
+
indexOf: createMethod$2(false)
|
|
894
|
+
};
|
|
895
|
+
|
|
896
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
897
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
898
|
+
var toIndexedObject$1 = toIndexedObject$4;
|
|
899
|
+
var indexOf = arrayIncludes.indexOf;
|
|
900
|
+
var hiddenKeys$1 = hiddenKeys$3;
|
|
901
|
+
|
|
902
|
+
var push$2 = uncurryThis$5([].push);
|
|
903
|
+
|
|
904
|
+
var objectKeysInternal = function (object, names) {
|
|
905
|
+
var O = toIndexedObject$1(object);
|
|
906
|
+
var i = 0;
|
|
907
|
+
var result = [];
|
|
908
|
+
var key;
|
|
909
|
+
for (key in O) !hasOwn$1(hiddenKeys$1, key) && hasOwn$1(O, key) && push$2(result, key);
|
|
910
|
+
// Don't enum bug & hidden keys
|
|
911
|
+
while (names.length > i) if (hasOwn$1(O, key = names[i++])) {
|
|
912
|
+
~indexOf(result, key) || push$2(result, key);
|
|
913
|
+
}
|
|
914
|
+
return result;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
// IE8- don't enum bug keys
|
|
918
|
+
var enumBugKeys$2 = [
|
|
919
|
+
'constructor',
|
|
920
|
+
'hasOwnProperty',
|
|
921
|
+
'isPrototypeOf',
|
|
922
|
+
'propertyIsEnumerable',
|
|
923
|
+
'toLocaleString',
|
|
924
|
+
'toString',
|
|
925
|
+
'valueOf'
|
|
926
|
+
];
|
|
927
|
+
|
|
928
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
929
|
+
var enumBugKeys$1 = enumBugKeys$2;
|
|
930
|
+
|
|
931
|
+
var hiddenKeys = enumBugKeys$1.concat('length', 'prototype');
|
|
932
|
+
|
|
933
|
+
// `Object.getOwnPropertyNames` method
|
|
934
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
935
|
+
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
936
|
+
var f$1 = objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
937
|
+
return internalObjectKeys$1(O, hiddenKeys);
|
|
938
|
+
};
|
|
939
|
+
|
|
940
|
+
var objectGetOwnPropertySymbols = {};
|
|
941
|
+
|
|
942
|
+
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
943
|
+
var f = objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
944
|
+
|
|
945
|
+
var getBuiltIn$1 = getBuiltIn$4;
|
|
946
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
947
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
948
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
949
|
+
var anObject = anObject$2;
|
|
950
|
+
|
|
951
|
+
var concat = uncurryThis$4([].concat);
|
|
952
|
+
|
|
953
|
+
// all object keys, includes non-enumerable and symbols
|
|
954
|
+
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
955
|
+
var keys = getOwnPropertyNamesModule.f(anObject(it));
|
|
956
|
+
var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
|
|
957
|
+
return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
|
|
958
|
+
};
|
|
959
|
+
|
|
960
|
+
var hasOwn = hasOwnProperty_1;
|
|
961
|
+
var ownKeys = ownKeys$1;
|
|
962
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
963
|
+
var definePropertyModule = objectDefineProperty;
|
|
964
|
+
|
|
965
|
+
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
966
|
+
var keys = ownKeys(source);
|
|
967
|
+
var defineProperty = definePropertyModule.f;
|
|
968
|
+
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
969
|
+
for (var i = 0; i < keys.length; i++) {
|
|
970
|
+
var key = keys[i];
|
|
971
|
+
if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {
|
|
972
|
+
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
var fails$2 = fails$9;
|
|
978
|
+
var isCallable$2 = isCallable$b;
|
|
979
|
+
|
|
980
|
+
var replacement = /#|\.prototype\./;
|
|
981
|
+
|
|
982
|
+
var isForced$1 = function (feature, detection) {
|
|
983
|
+
var value = data[normalize(feature)];
|
|
984
|
+
return value == POLYFILL ? true
|
|
985
|
+
: value == NATIVE ? false
|
|
986
|
+
: isCallable$2(detection) ? fails$2(detection)
|
|
987
|
+
: !!detection;
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
var normalize = isForced$1.normalize = function (string) {
|
|
991
|
+
return String(string).replace(replacement, '.').toLowerCase();
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
var data = isForced$1.data = {};
|
|
995
|
+
var NATIVE = isForced$1.NATIVE = 'N';
|
|
996
|
+
var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
997
|
+
|
|
998
|
+
var isForced_1 = isForced$1;
|
|
999
|
+
|
|
1000
|
+
var global$4 = global$o;
|
|
1001
|
+
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
1002
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
1003
|
+
var redefine$1 = redefine$3.exports;
|
|
1004
|
+
var setGlobal = setGlobal$3;
|
|
1005
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
1006
|
+
var isForced = isForced_1;
|
|
1007
|
+
|
|
1008
|
+
/*
|
|
1009
|
+
options.target - name of the target object
|
|
1010
|
+
options.global - target is the global object
|
|
1011
|
+
options.stat - export as static methods of target
|
|
1012
|
+
options.proto - export as prototype methods of target
|
|
1013
|
+
options.real - real prototype method for the `pure` version
|
|
1014
|
+
options.forced - export even if the native feature is available
|
|
1015
|
+
options.bind - bind methods to the target, required for the `pure` version
|
|
1016
|
+
options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
|
|
1017
|
+
options.unsafe - use the simple assignment of property instead of delete + defineProperty
|
|
1018
|
+
options.sham - add a flag to not completely full polyfills
|
|
1019
|
+
options.enumerable - export as enumerable property
|
|
1020
|
+
options.noTargetGet - prevent calling a getter on target
|
|
1021
|
+
options.name - the .name of the function if it does not match the key
|
|
1022
|
+
*/
|
|
1023
|
+
var _export = function (options, source) {
|
|
1024
|
+
var TARGET = options.target;
|
|
1025
|
+
var GLOBAL = options.global;
|
|
1026
|
+
var STATIC = options.stat;
|
|
1027
|
+
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
1028
|
+
if (GLOBAL) {
|
|
1029
|
+
target = global$4;
|
|
1030
|
+
} else if (STATIC) {
|
|
1031
|
+
target = global$4[TARGET] || setGlobal(TARGET, {});
|
|
1032
|
+
} else {
|
|
1033
|
+
target = (global$4[TARGET] || {}).prototype;
|
|
1034
|
+
}
|
|
1035
|
+
if (target) for (key in source) {
|
|
1036
|
+
sourceProperty = source[key];
|
|
1037
|
+
if (options.noTargetGet) {
|
|
1038
|
+
descriptor = getOwnPropertyDescriptor(target, key);
|
|
1039
|
+
targetProperty = descriptor && descriptor.value;
|
|
1040
|
+
} else targetProperty = target[key];
|
|
1041
|
+
FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
|
|
1042
|
+
// contained in target
|
|
1043
|
+
if (!FORCED && targetProperty !== undefined) {
|
|
1044
|
+
if (typeof sourceProperty == typeof targetProperty) continue;
|
|
1045
|
+
copyConstructorProperties(sourceProperty, targetProperty);
|
|
1046
|
+
}
|
|
1047
|
+
// add a flag to not completely full polyfills
|
|
1048
|
+
if (options.sham || (targetProperty && targetProperty.sham)) {
|
|
1049
|
+
createNonEnumerableProperty$1(sourceProperty, 'sham', true);
|
|
1050
|
+
}
|
|
1051
|
+
// extend global
|
|
1052
|
+
redefine$1(target, key, sourceProperty, options);
|
|
1053
|
+
}
|
|
1054
|
+
};
|
|
1055
|
+
|
|
1056
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1057
|
+
var aCallable = aCallable$2;
|
|
1058
|
+
var NATIVE_BIND = functionBindNative;
|
|
1059
|
+
|
|
1060
|
+
var bind$1 = uncurryThis$3(uncurryThis$3.bind);
|
|
1061
|
+
|
|
1062
|
+
// optional / simple context binding
|
|
1063
|
+
var functionBindContext = function (fn, that) {
|
|
1064
|
+
aCallable(fn);
|
|
1065
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
1066
|
+
return fn.apply(that, arguments);
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
var classof$3 = classofRaw$1;
|
|
1071
|
+
|
|
1072
|
+
// `IsArray` abstract operation
|
|
1073
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
1074
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1075
|
+
var isArray$1 = Array.isArray || function isArray(argument) {
|
|
1076
|
+
return classof$3(argument) == 'Array';
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
var wellKnownSymbol$2 = wellKnownSymbol$4;
|
|
1080
|
+
|
|
1081
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
1082
|
+
var test = {};
|
|
1083
|
+
|
|
1084
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
1085
|
+
|
|
1086
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
1087
|
+
|
|
1088
|
+
var global$3 = global$o;
|
|
1089
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
1090
|
+
var isCallable$1 = isCallable$b;
|
|
1091
|
+
var classofRaw = classofRaw$1;
|
|
1092
|
+
var wellKnownSymbol$1 = wellKnownSymbol$4;
|
|
1093
|
+
|
|
1094
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
1095
|
+
var Object$1 = global$3.Object;
|
|
1096
|
+
|
|
1097
|
+
// ES3 wrong here
|
|
1098
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
1099
|
+
|
|
1100
|
+
// fallback for IE11 Script Access Denied error
|
|
1101
|
+
var tryGet = function (it, key) {
|
|
1102
|
+
try {
|
|
1103
|
+
return it[key];
|
|
1104
|
+
} catch (error) { /* empty */ }
|
|
1105
|
+
};
|
|
1106
|
+
|
|
1107
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
1108
|
+
var classof$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
1109
|
+
var O, tag, result;
|
|
1110
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1111
|
+
// @@toStringTag case
|
|
1112
|
+
: typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1113
|
+
// builtinTag case
|
|
1114
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1115
|
+
// ES3 arguments fallback
|
|
1116
|
+
: (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
1120
|
+
var fails$1 = fails$9;
|
|
1121
|
+
var isCallable = isCallable$b;
|
|
1122
|
+
var classof$1 = classof$2;
|
|
1123
|
+
var getBuiltIn = getBuiltIn$4;
|
|
1124
|
+
var inspectSource = inspectSource$3;
|
|
1125
|
+
|
|
1126
|
+
var noop = function () { /* empty */ };
|
|
1127
|
+
var empty = [];
|
|
1128
|
+
var construct = getBuiltIn('Reflect', 'construct');
|
|
1129
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
1130
|
+
var exec = uncurryThis$2(constructorRegExp.exec);
|
|
1131
|
+
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
1132
|
+
|
|
1133
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
1134
|
+
if (!isCallable(argument)) return false;
|
|
1135
|
+
try {
|
|
1136
|
+
construct(noop, empty, argument);
|
|
1137
|
+
return true;
|
|
1138
|
+
} catch (error) {
|
|
1139
|
+
return false;
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
var isConstructorLegacy = function isConstructor(argument) {
|
|
1144
|
+
if (!isCallable(argument)) return false;
|
|
1145
|
+
switch (classof$1(argument)) {
|
|
1146
|
+
case 'AsyncFunction':
|
|
1147
|
+
case 'GeneratorFunction':
|
|
1148
|
+
case 'AsyncGeneratorFunction': return false;
|
|
1149
|
+
}
|
|
1150
|
+
try {
|
|
1151
|
+
// we can't check .prototype since constructors produced by .bind haven't it
|
|
1152
|
+
// `Function#toString` throws on some built-it function in some legacy engines
|
|
1153
|
+
// (for example, `DOMQuad` and similar in FF41-)
|
|
1154
|
+
return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));
|
|
1155
|
+
} catch (error) {
|
|
1156
|
+
return true;
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
isConstructorLegacy.sham = true;
|
|
1161
|
+
|
|
1162
|
+
// `IsConstructor` abstract operation
|
|
1163
|
+
// https://tc39.es/ecma262/#sec-isconstructor
|
|
1164
|
+
var isConstructor$1 = !construct || fails$1(function () {
|
|
1165
|
+
var called;
|
|
1166
|
+
return isConstructorModern(isConstructorModern.call)
|
|
1167
|
+
|| !isConstructorModern(Object)
|
|
1168
|
+
|| !isConstructorModern(function () { called = true; })
|
|
1169
|
+
|| called;
|
|
1170
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
1171
|
+
|
|
1172
|
+
var global$2 = global$o;
|
|
1173
|
+
var isArray = isArray$1;
|
|
1174
|
+
var isConstructor = isConstructor$1;
|
|
1175
|
+
var isObject = isObject$6;
|
|
1176
|
+
var wellKnownSymbol = wellKnownSymbol$4;
|
|
1177
|
+
|
|
1178
|
+
var SPECIES = wellKnownSymbol('species');
|
|
1179
|
+
var Array$1 = global$2.Array;
|
|
1180
|
+
|
|
1181
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
1182
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1183
|
+
var arraySpeciesConstructor$1 = function (originalArray) {
|
|
1184
|
+
var C;
|
|
1185
|
+
if (isArray(originalArray)) {
|
|
1186
|
+
C = originalArray.constructor;
|
|
1187
|
+
// cross-realm fallback
|
|
1188
|
+
if (isConstructor(C) && (C === Array$1 || isArray(C.prototype))) C = undefined;
|
|
1189
|
+
else if (isObject(C)) {
|
|
1190
|
+
C = C[SPECIES];
|
|
1191
|
+
if (C === null) C = undefined;
|
|
1192
|
+
}
|
|
1193
|
+
} return C === undefined ? Array$1 : C;
|
|
1194
|
+
};
|
|
1195
|
+
|
|
1196
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
1197
|
+
|
|
1198
|
+
// `ArraySpeciesCreate` abstract operation
|
|
1199
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1200
|
+
var arraySpeciesCreate$1 = function (originalArray, length) {
|
|
1201
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
var bind = functionBindContext;
|
|
1205
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
1206
|
+
var IndexedObject = indexedObject;
|
|
1207
|
+
var toObject = toObject$2;
|
|
1208
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
1209
|
+
var arraySpeciesCreate = arraySpeciesCreate$1;
|
|
1210
|
+
|
|
1211
|
+
var push$1 = uncurryThis$1([].push);
|
|
1212
|
+
|
|
1213
|
+
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1214
|
+
var createMethod$1 = function (TYPE) {
|
|
1215
|
+
var IS_MAP = TYPE == 1;
|
|
1216
|
+
var IS_FILTER = TYPE == 2;
|
|
1217
|
+
var IS_SOME = TYPE == 3;
|
|
1218
|
+
var IS_EVERY = TYPE == 4;
|
|
1219
|
+
var IS_FIND_INDEX = TYPE == 6;
|
|
1220
|
+
var IS_FILTER_REJECT = TYPE == 7;
|
|
1221
|
+
var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
|
|
1222
|
+
return function ($this, callbackfn, that, specificCreate) {
|
|
1223
|
+
var O = toObject($this);
|
|
1224
|
+
var self = IndexedObject(O);
|
|
1225
|
+
var boundFunction = bind(callbackfn, that);
|
|
1226
|
+
var length = lengthOfArrayLike(self);
|
|
1227
|
+
var index = 0;
|
|
1228
|
+
var create = specificCreate || arraySpeciesCreate;
|
|
1229
|
+
var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;
|
|
1230
|
+
var value, result;
|
|
1231
|
+
for (;length > index; index++) if (NO_HOLES || index in self) {
|
|
1232
|
+
value = self[index];
|
|
1233
|
+
result = boundFunction(value, index, O);
|
|
1234
|
+
if (TYPE) {
|
|
1235
|
+
if (IS_MAP) target[index] = result; // map
|
|
1236
|
+
else if (result) switch (TYPE) {
|
|
1237
|
+
case 3: return true; // some
|
|
1238
|
+
case 5: return value; // find
|
|
1239
|
+
case 6: return index; // findIndex
|
|
1240
|
+
case 2: push$1(target, value); // filter
|
|
1241
|
+
} else switch (TYPE) {
|
|
1242
|
+
case 4: return false; // every
|
|
1243
|
+
case 7: push$1(target, value); // filterReject
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
1248
|
+
};
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
var arrayIteration = {
|
|
1252
|
+
// `Array.prototype.forEach` method
|
|
1253
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1254
|
+
forEach: createMethod$1(0),
|
|
1255
|
+
// `Array.prototype.map` method
|
|
1256
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1257
|
+
map: createMethod$1(1),
|
|
1258
|
+
// `Array.prototype.filter` method
|
|
1259
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1260
|
+
filter: createMethod$1(2),
|
|
1261
|
+
// `Array.prototype.some` method
|
|
1262
|
+
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
1263
|
+
some: createMethod$1(3),
|
|
1264
|
+
// `Array.prototype.every` method
|
|
1265
|
+
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
1266
|
+
every: createMethod$1(4),
|
|
1267
|
+
// `Array.prototype.find` method
|
|
1268
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1269
|
+
find: createMethod$1(5),
|
|
1270
|
+
// `Array.prototype.findIndex` method
|
|
1271
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
1272
|
+
findIndex: createMethod$1(6),
|
|
1273
|
+
// `Array.prototype.filterReject` method
|
|
1274
|
+
// https://github.com/tc39/proposal-array-filtering
|
|
1275
|
+
filterReject: createMethod$1(7)
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
'use strict';
|
|
1279
|
+
var fails = fails$9;
|
|
1280
|
+
|
|
1281
|
+
var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {
|
|
1282
|
+
var method = [][METHOD_NAME];
|
|
1283
|
+
return !!method && fails(function () {
|
|
1284
|
+
// eslint-disable-next-line no-useless-call -- required for testing
|
|
1285
|
+
method.call(null, argument || function () { return 1; }, 1);
|
|
1286
|
+
});
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
'use strict';
|
|
1290
|
+
var $forEach = arrayIteration.forEach;
|
|
1291
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
1292
|
+
|
|
1293
|
+
var STRICT_METHOD = arrayMethodIsStrict('forEach');
|
|
1294
|
+
|
|
1295
|
+
// `Array.prototype.forEach` method implementation
|
|
1296
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1297
|
+
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {
|
|
1298
|
+
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
1299
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
1300
|
+
} : [].forEach;
|
|
1301
|
+
|
|
1302
|
+
'use strict';
|
|
1303
|
+
var $$1 = _export;
|
|
1304
|
+
var forEach$1 = arrayForEach;
|
|
1305
|
+
|
|
1306
|
+
// `Array.prototype.forEach` method
|
|
1307
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1308
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
1309
|
+
$$1({ target: 'Array', proto: true, forced: [].forEach != forEach$1 }, {
|
|
1310
|
+
forEach: forEach$1
|
|
1311
|
+
});
|
|
1312
|
+
|
|
1313
|
+
var es_object_toString = {};
|
|
1314
|
+
|
|
1315
|
+
'use strict';
|
|
1316
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1317
|
+
var classof = classof$2;
|
|
1318
|
+
|
|
1319
|
+
// `Object.prototype.toString` method implementation
|
|
1320
|
+
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1321
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1322
|
+
return '[object ' + classof(this) + ']';
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1326
|
+
var redefine = redefine$3.exports;
|
|
1327
|
+
var toString = objectToString;
|
|
1328
|
+
|
|
1329
|
+
// `Object.prototype.toString` method
|
|
1330
|
+
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
1331
|
+
if (!TO_STRING_TAG_SUPPORT) {
|
|
1332
|
+
redefine(Object.prototype, 'toString', toString, { unsafe: true });
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
var web_domCollections_forEach = {};
|
|
1336
|
+
|
|
1337
|
+
// iterable DOM collections
|
|
1338
|
+
// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
|
|
1339
|
+
var domIterables = {
|
|
1340
|
+
CSSRuleList: 0,
|
|
1341
|
+
CSSStyleDeclaration: 0,
|
|
1342
|
+
CSSValueList: 0,
|
|
1343
|
+
ClientRectList: 0,
|
|
1344
|
+
DOMRectList: 0,
|
|
1345
|
+
DOMStringList: 0,
|
|
1346
|
+
DOMTokenList: 1,
|
|
1347
|
+
DataTransferItemList: 0,
|
|
1348
|
+
FileList: 0,
|
|
1349
|
+
HTMLAllCollection: 0,
|
|
1350
|
+
HTMLCollection: 0,
|
|
1351
|
+
HTMLFormElement: 0,
|
|
1352
|
+
HTMLSelectElement: 0,
|
|
1353
|
+
MediaList: 0,
|
|
1354
|
+
MimeTypeArray: 0,
|
|
1355
|
+
NamedNodeMap: 0,
|
|
1356
|
+
NodeList: 1,
|
|
1357
|
+
PaintRequestList: 0,
|
|
1358
|
+
Plugin: 0,
|
|
1359
|
+
PluginArray: 0,
|
|
1360
|
+
SVGLengthList: 0,
|
|
1361
|
+
SVGNumberList: 0,
|
|
1362
|
+
SVGPathSegList: 0,
|
|
1363
|
+
SVGPointList: 0,
|
|
1364
|
+
SVGStringList: 0,
|
|
1365
|
+
SVGTransformList: 0,
|
|
1366
|
+
SourceBufferList: 0,
|
|
1367
|
+
StyleSheetList: 0,
|
|
1368
|
+
TextTrackCueList: 0,
|
|
1369
|
+
TextTrackList: 0,
|
|
1370
|
+
TouchList: 0
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
|
|
1374
|
+
var documentCreateElement = documentCreateElement$1;
|
|
1375
|
+
|
|
1376
|
+
var classList = documentCreateElement('span').classList;
|
|
1377
|
+
var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
|
|
1378
|
+
|
|
1379
|
+
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
1380
|
+
|
|
1381
|
+
var global$1 = global$o;
|
|
1382
|
+
var DOMIterables = domIterables;
|
|
1383
|
+
var DOMTokenListPrototype = domTokenListPrototype;
|
|
1384
|
+
var forEach = arrayForEach;
|
|
1385
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
1386
|
+
|
|
1387
|
+
var handlePrototype = function (CollectionPrototype) {
|
|
1388
|
+
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
1389
|
+
if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {
|
|
1390
|
+
createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);
|
|
1391
|
+
} catch (error) {
|
|
1392
|
+
CollectionPrototype.forEach = forEach;
|
|
1393
|
+
}
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
for (var COLLECTION_NAME in DOMIterables) {
|
|
1397
|
+
if (DOMIterables[COLLECTION_NAME]) {
|
|
1398
|
+
handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype);
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
handlePrototype(DOMTokenListPrototype);
|
|
1403
|
+
|
|
1404
|
+
var es_object_entries = {};
|
|
1405
|
+
|
|
1406
|
+
var internalObjectKeys = objectKeysInternal;
|
|
1407
|
+
var enumBugKeys = enumBugKeys$2;
|
|
1408
|
+
|
|
1409
|
+
// `Object.keys` method
|
|
1410
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
1411
|
+
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1412
|
+
var objectKeys$1 = Object.keys || function keys(O) {
|
|
1413
|
+
return internalObjectKeys(O, enumBugKeys);
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
var DESCRIPTORS = descriptors;
|
|
1417
|
+
var uncurryThis = functionUncurryThis;
|
|
1418
|
+
var objectKeys = objectKeys$1;
|
|
1419
|
+
var toIndexedObject = toIndexedObject$4;
|
|
1420
|
+
var $propertyIsEnumerable = objectPropertyIsEnumerable.f;
|
|
1421
|
+
|
|
1422
|
+
var propertyIsEnumerable = uncurryThis($propertyIsEnumerable);
|
|
1423
|
+
var push = uncurryThis([].push);
|
|
1424
|
+
|
|
1425
|
+
// `Object.{ entries, values }` methods implementation
|
|
1426
|
+
var createMethod = function (TO_ENTRIES) {
|
|
1427
|
+
return function (it) {
|
|
1428
|
+
var O = toIndexedObject(it);
|
|
1429
|
+
var keys = objectKeys(O);
|
|
1430
|
+
var length = keys.length;
|
|
1431
|
+
var i = 0;
|
|
1432
|
+
var result = [];
|
|
1433
|
+
var key;
|
|
1434
|
+
while (length > i) {
|
|
1435
|
+
key = keys[i++];
|
|
1436
|
+
if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {
|
|
1437
|
+
push(result, TO_ENTRIES ? [key, O[key]] : O[key]);
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
return result;
|
|
1441
|
+
};
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
var objectToArray = {
|
|
1445
|
+
// `Object.entries` method
|
|
1446
|
+
// https://tc39.es/ecma262/#sec-object.entries
|
|
1447
|
+
entries: createMethod(true),
|
|
1448
|
+
// `Object.values` method
|
|
1449
|
+
// https://tc39.es/ecma262/#sec-object.values
|
|
1450
|
+
values: createMethod(false)
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
var $ = _export;
|
|
1454
|
+
var $entries = objectToArray.entries;
|
|
1455
|
+
|
|
1456
|
+
// `Object.entries` method
|
|
1457
|
+
// https://tc39.es/ecma262/#sec-object.entries
|
|
1458
|
+
$({ target: 'Object', stat: true }, {
|
|
1459
|
+
entries: function entries(O) {
|
|
1460
|
+
return $entries(O);
|
|
1461
|
+
}
|
|
1462
|
+
});
|
|
1463
|
+
|
|
1464
|
+
var components = /*#__PURE__*/Object.freeze({
|
|
1465
|
+
__proto__: null,
|
|
1466
|
+
FwCard: script
|
|
1467
|
+
});
|
|
1468
|
+
|
|
1469
|
+
var install = function install(app) {
|
|
1470
|
+
Object.entries(components).forEach(function (_ref) {
|
|
1471
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
1472
|
+
componentName = _ref2[0],
|
|
1473
|
+
component = _ref2[1];
|
|
1474
|
+
|
|
1475
|
+
app.component(componentName, component);
|
|
1476
|
+
});
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
export { install as default };
|