@94ai/nf-resizable-panels 3.3.36 → 3.3.38
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/lib/nf-resizable-panels.cjs.js +4685 -83
- package/lib/nf-resizable-panels.esm-bundler.js +4685 -83
- package/package.json +4 -4
|
@@ -1,7 +1,4598 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, h } from "vue-demi";
|
|
2
2
|
import { generateID, getFlexDirection, _getComputedStyle } from "@94ai/common-utils";
|
|
3
3
|
import { normalizeComponent } from "@94ai/vue2-runtime-helpers";
|
|
4
|
-
|
|
4
|
+
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
5
|
+
function getDefaultExportFromCjs(x) {
|
|
6
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
7
|
+
}
|
|
8
|
+
var defineProperty$c = { exports: {} };
|
|
9
|
+
var check = function(it) {
|
|
10
|
+
return it && it.Math === Math && it;
|
|
11
|
+
};
|
|
12
|
+
var global$m = (
|
|
13
|
+
// eslint-disable-next-line es/no-global-this -- safe
|
|
14
|
+
check(typeof globalThis == "object" && globalThis) || check(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
|
|
15
|
+
check(typeof self == "object" && self) || check(typeof commonjsGlobal == "object" && commonjsGlobal) || // eslint-disable-next-line no-new-func -- fallback
|
|
16
|
+
function() {
|
|
17
|
+
return this;
|
|
18
|
+
}() || commonjsGlobal || Function("return this")()
|
|
19
|
+
);
|
|
20
|
+
var fails$p = function(exec2) {
|
|
21
|
+
try {
|
|
22
|
+
return !!exec2();
|
|
23
|
+
} catch (error) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var fails$o = fails$p;
|
|
28
|
+
var functionBindNative = !fails$o(function() {
|
|
29
|
+
var test2 = (function() {
|
|
30
|
+
}).bind();
|
|
31
|
+
return typeof test2 != "function" || test2.hasOwnProperty("prototype");
|
|
32
|
+
});
|
|
33
|
+
var NATIVE_BIND$3 = functionBindNative;
|
|
34
|
+
var FunctionPrototype$3 = Function.prototype;
|
|
35
|
+
var apply$3 = FunctionPrototype$3.apply;
|
|
36
|
+
var call$j = FunctionPrototype$3.call;
|
|
37
|
+
var functionApply = typeof Reflect == "object" && Reflect.apply || (NATIVE_BIND$3 ? call$j.bind(apply$3) : function() {
|
|
38
|
+
return call$j.apply(apply$3, arguments);
|
|
39
|
+
});
|
|
40
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
41
|
+
var FunctionPrototype$2 = Function.prototype;
|
|
42
|
+
var call$i = FunctionPrototype$2.call;
|
|
43
|
+
var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$i, call$i);
|
|
44
|
+
var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function(fn) {
|
|
45
|
+
return function() {
|
|
46
|
+
return call$i.apply(fn, arguments);
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
var uncurryThis$o = functionUncurryThis;
|
|
50
|
+
var toString$a = uncurryThis$o({}.toString);
|
|
51
|
+
var stringSlice$1 = uncurryThis$o("".slice);
|
|
52
|
+
var classofRaw$2 = function(it) {
|
|
53
|
+
return stringSlice$1(toString$a(it), 8, -1);
|
|
54
|
+
};
|
|
55
|
+
var classofRaw$1 = classofRaw$2;
|
|
56
|
+
var uncurryThis$n = functionUncurryThis;
|
|
57
|
+
var functionUncurryThisClause = function(fn) {
|
|
58
|
+
if (classofRaw$1(fn) === "Function")
|
|
59
|
+
return uncurryThis$n(fn);
|
|
60
|
+
};
|
|
61
|
+
var documentAll$2 = typeof document == "object" && document.all;
|
|
62
|
+
var IS_HTMLDDA = typeof documentAll$2 == "undefined" && documentAll$2 !== void 0;
|
|
63
|
+
var documentAll_1 = {
|
|
64
|
+
all: documentAll$2,
|
|
65
|
+
IS_HTMLDDA
|
|
66
|
+
};
|
|
67
|
+
var $documentAll$1 = documentAll_1;
|
|
68
|
+
var documentAll$1 = $documentAll$1.all;
|
|
69
|
+
var isCallable$k = $documentAll$1.IS_HTMLDDA ? function(argument) {
|
|
70
|
+
return typeof argument == "function" || argument === documentAll$1;
|
|
71
|
+
} : function(argument) {
|
|
72
|
+
return typeof argument == "function";
|
|
73
|
+
};
|
|
74
|
+
var objectGetOwnPropertyDescriptor = {};
|
|
75
|
+
var fails$n = fails$p;
|
|
76
|
+
var descriptors = !fails$n(function() {
|
|
77
|
+
return Object.defineProperty({}, 1, {
|
|
78
|
+
get: function() {
|
|
79
|
+
return 7;
|
|
80
|
+
}
|
|
81
|
+
})[1] !== 7;
|
|
82
|
+
});
|
|
83
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
84
|
+
var call$h = Function.prototype.call;
|
|
85
|
+
var functionCall = NATIVE_BIND$1 ? call$h.bind(call$h) : function() {
|
|
86
|
+
return call$h.apply(call$h, arguments);
|
|
87
|
+
};
|
|
88
|
+
var objectPropertyIsEnumerable = {};
|
|
89
|
+
var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;
|
|
90
|
+
var getOwnPropertyDescriptor$a = Object.getOwnPropertyDescriptor;
|
|
91
|
+
var NASHORN_BUG = getOwnPropertyDescriptor$a && !$propertyIsEnumerable$1.call({
|
|
92
|
+
1: 2
|
|
93
|
+
}, 1);
|
|
94
|
+
objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
95
|
+
var descriptor = getOwnPropertyDescriptor$a(this, V);
|
|
96
|
+
return !!descriptor && descriptor.enumerable;
|
|
97
|
+
} : $propertyIsEnumerable$1;
|
|
98
|
+
var createPropertyDescriptor$7 = function(bitmap, value) {
|
|
99
|
+
return {
|
|
100
|
+
enumerable: !(bitmap & 1),
|
|
101
|
+
configurable: !(bitmap & 2),
|
|
102
|
+
writable: !(bitmap & 4),
|
|
103
|
+
value
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
var uncurryThis$m = functionUncurryThis;
|
|
107
|
+
var fails$m = fails$p;
|
|
108
|
+
var classof$b = classofRaw$2;
|
|
109
|
+
var $Object$4 = Object;
|
|
110
|
+
var split = uncurryThis$m("".split);
|
|
111
|
+
var indexedObject = fails$m(function() {
|
|
112
|
+
return !$Object$4("z").propertyIsEnumerable(0);
|
|
113
|
+
}) ? function(it) {
|
|
114
|
+
return classof$b(it) === "String" ? split(it, "") : $Object$4(it);
|
|
115
|
+
} : $Object$4;
|
|
116
|
+
var isNullOrUndefined$4 = function(it) {
|
|
117
|
+
return it === null || it === void 0;
|
|
118
|
+
};
|
|
119
|
+
var isNullOrUndefined$3 = isNullOrUndefined$4;
|
|
120
|
+
var $TypeError$e = TypeError;
|
|
121
|
+
var requireObjectCoercible$4 = function(it) {
|
|
122
|
+
if (isNullOrUndefined$3(it))
|
|
123
|
+
throw new $TypeError$e("Can't call method on " + it);
|
|
124
|
+
return it;
|
|
125
|
+
};
|
|
126
|
+
var IndexedObject$1 = indexedObject;
|
|
127
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
128
|
+
var toIndexedObject$a = function(it) {
|
|
129
|
+
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
130
|
+
};
|
|
131
|
+
var isCallable$j = isCallable$k;
|
|
132
|
+
var $documentAll = documentAll_1;
|
|
133
|
+
var documentAll = $documentAll.all;
|
|
134
|
+
var isObject$c = $documentAll.IS_HTMLDDA ? function(it) {
|
|
135
|
+
return typeof it == "object" ? it !== null : isCallable$j(it) || it === documentAll;
|
|
136
|
+
} : function(it) {
|
|
137
|
+
return typeof it == "object" ? it !== null : isCallable$j(it);
|
|
138
|
+
};
|
|
139
|
+
var path$i = {};
|
|
140
|
+
var path$h = path$i;
|
|
141
|
+
var global$l = global$m;
|
|
142
|
+
var isCallable$i = isCallable$k;
|
|
143
|
+
var aFunction = function(variable) {
|
|
144
|
+
return isCallable$i(variable) ? variable : void 0;
|
|
145
|
+
};
|
|
146
|
+
var getBuiltIn$e = function(namespace, method2) {
|
|
147
|
+
return arguments.length < 2 ? aFunction(path$h[namespace]) || aFunction(global$l[namespace]) : path$h[namespace] && path$h[namespace][method2] || global$l[namespace] && global$l[namespace][method2];
|
|
148
|
+
};
|
|
149
|
+
var uncurryThis$l = functionUncurryThis;
|
|
150
|
+
var objectIsPrototypeOf = uncurryThis$l({}.isPrototypeOf);
|
|
151
|
+
var engineUserAgent = typeof navigator != "undefined" && String(navigator.userAgent) || "";
|
|
152
|
+
var global$k = global$m;
|
|
153
|
+
var userAgent$3 = engineUserAgent;
|
|
154
|
+
var process$3 = global$k.process;
|
|
155
|
+
var Deno$1 = global$k.Deno;
|
|
156
|
+
var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
|
|
157
|
+
var v8 = versions && versions.v8;
|
|
158
|
+
var match, version;
|
|
159
|
+
if (v8) {
|
|
160
|
+
match = v8.split(".");
|
|
161
|
+
version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
|
|
162
|
+
}
|
|
163
|
+
if (!version && userAgent$3) {
|
|
164
|
+
match = userAgent$3.match(/Edge\/(\d+)/);
|
|
165
|
+
if (!match || match[1] >= 74) {
|
|
166
|
+
match = userAgent$3.match(/Chrome\/(\d+)/);
|
|
167
|
+
if (match)
|
|
168
|
+
version = +match[1];
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
var engineV8Version = version;
|
|
172
|
+
var V8_VERSION$3 = engineV8Version;
|
|
173
|
+
var fails$l = fails$p;
|
|
174
|
+
var global$j = global$m;
|
|
175
|
+
var $String$5 = global$j.String;
|
|
176
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$l(function() {
|
|
177
|
+
var symbol2 = Symbol("symbol detection");
|
|
178
|
+
return !$String$5(symbol2) || !(Object(symbol2) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
179
|
+
!Symbol.sham && V8_VERSION$3 && V8_VERSION$3 < 41;
|
|
180
|
+
});
|
|
181
|
+
var NATIVE_SYMBOL$5 = symbolConstructorDetection;
|
|
182
|
+
var useSymbolAsUid = NATIVE_SYMBOL$5 && !Symbol.sham && typeof Symbol.iterator == "symbol";
|
|
183
|
+
var getBuiltIn$d = getBuiltIn$e;
|
|
184
|
+
var isCallable$h = isCallable$k;
|
|
185
|
+
var isPrototypeOf$d = objectIsPrototypeOf;
|
|
186
|
+
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
187
|
+
var $Object$3 = Object;
|
|
188
|
+
var isSymbol$5 = USE_SYMBOL_AS_UID$1 ? function(it) {
|
|
189
|
+
return typeof it == "symbol";
|
|
190
|
+
} : function(it) {
|
|
191
|
+
var $Symbol2 = getBuiltIn$d("Symbol");
|
|
192
|
+
return isCallable$h($Symbol2) && isPrototypeOf$d($Symbol2.prototype, $Object$3(it));
|
|
193
|
+
};
|
|
194
|
+
var $String$4 = String;
|
|
195
|
+
var tryToString$5 = function(argument) {
|
|
196
|
+
try {
|
|
197
|
+
return $String$4(argument);
|
|
198
|
+
} catch (error) {
|
|
199
|
+
return "Object";
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
var isCallable$g = isCallable$k;
|
|
203
|
+
var tryToString$4 = tryToString$5;
|
|
204
|
+
var $TypeError$d = TypeError;
|
|
205
|
+
var aCallable$a = function(argument) {
|
|
206
|
+
if (isCallable$g(argument))
|
|
207
|
+
return argument;
|
|
208
|
+
throw new $TypeError$d(tryToString$4(argument) + " is not a function");
|
|
209
|
+
};
|
|
210
|
+
var aCallable$9 = aCallable$a;
|
|
211
|
+
var isNullOrUndefined$2 = isNullOrUndefined$4;
|
|
212
|
+
var getMethod$3 = function(V, P) {
|
|
213
|
+
var func = V[P];
|
|
214
|
+
return isNullOrUndefined$2(func) ? void 0 : aCallable$9(func);
|
|
215
|
+
};
|
|
216
|
+
var call$g = functionCall;
|
|
217
|
+
var isCallable$f = isCallable$k;
|
|
218
|
+
var isObject$b = isObject$c;
|
|
219
|
+
var $TypeError$c = TypeError;
|
|
220
|
+
var ordinaryToPrimitive$1 = function(input, pref) {
|
|
221
|
+
var fn, val;
|
|
222
|
+
if (pref === "string" && isCallable$f(fn = input.toString) && !isObject$b(val = call$g(fn, input)))
|
|
223
|
+
return val;
|
|
224
|
+
if (isCallable$f(fn = input.valueOf) && !isObject$b(val = call$g(fn, input)))
|
|
225
|
+
return val;
|
|
226
|
+
if (pref !== "string" && isCallable$f(fn = input.toString) && !isObject$b(val = call$g(fn, input)))
|
|
227
|
+
return val;
|
|
228
|
+
throw new $TypeError$c("Can't convert object to primitive value");
|
|
229
|
+
};
|
|
230
|
+
var shared$7 = { exports: {} };
|
|
231
|
+
var isPure = true;
|
|
232
|
+
var global$i = global$m;
|
|
233
|
+
var defineProperty$b = Object.defineProperty;
|
|
234
|
+
var defineGlobalProperty$1 = function(key, value) {
|
|
235
|
+
try {
|
|
236
|
+
defineProperty$b(global$i, key, {
|
|
237
|
+
value,
|
|
238
|
+
configurable: true,
|
|
239
|
+
writable: true
|
|
240
|
+
});
|
|
241
|
+
} catch (error) {
|
|
242
|
+
global$i[key] = value;
|
|
243
|
+
}
|
|
244
|
+
return value;
|
|
245
|
+
};
|
|
246
|
+
var global$h = global$m;
|
|
247
|
+
var defineGlobalProperty = defineGlobalProperty$1;
|
|
248
|
+
var SHARED = "__core-js_shared__";
|
|
249
|
+
var store$3 = global$h[SHARED] || defineGlobalProperty(SHARED, {});
|
|
250
|
+
var sharedStore = store$3;
|
|
251
|
+
var store$2 = sharedStore;
|
|
252
|
+
(shared$7.exports = function(key, value) {
|
|
253
|
+
return store$2[key] || (store$2[key] = value !== void 0 ? value : {});
|
|
254
|
+
})("versions", []).push({
|
|
255
|
+
version: "3.33.2",
|
|
256
|
+
mode: "pure",
|
|
257
|
+
copyright: "© 2014-2023 Denis Pushkarev (zloirock.ru)",
|
|
258
|
+
license: "https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",
|
|
259
|
+
source: "https://github.com/zloirock/core-js"
|
|
260
|
+
});
|
|
261
|
+
var sharedExports = shared$7.exports;
|
|
262
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
263
|
+
var $Object$2 = Object;
|
|
264
|
+
var toObject$9 = function(argument) {
|
|
265
|
+
return $Object$2(requireObjectCoercible$2(argument));
|
|
266
|
+
};
|
|
267
|
+
var uncurryThis$k = functionUncurryThis;
|
|
268
|
+
var toObject$8 = toObject$9;
|
|
269
|
+
var hasOwnProperty = uncurryThis$k({}.hasOwnProperty);
|
|
270
|
+
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
271
|
+
return hasOwnProperty(toObject$8(it), key);
|
|
272
|
+
};
|
|
273
|
+
var uncurryThis$j = functionUncurryThis;
|
|
274
|
+
var id = 0;
|
|
275
|
+
var postfix = Math.random();
|
|
276
|
+
var toString$9 = uncurryThis$j(1 .toString);
|
|
277
|
+
var uid$3 = function(key) {
|
|
278
|
+
return "Symbol(" + (key === void 0 ? "" : key) + ")_" + toString$9(++id + postfix, 36);
|
|
279
|
+
};
|
|
280
|
+
var global$g = global$m;
|
|
281
|
+
var shared$6 = sharedExports;
|
|
282
|
+
var hasOwn$e = hasOwnProperty_1;
|
|
283
|
+
var uid$2 = uid$3;
|
|
284
|
+
var NATIVE_SYMBOL$4 = symbolConstructorDetection;
|
|
285
|
+
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
286
|
+
var Symbol$4 = global$g.Symbol;
|
|
287
|
+
var WellKnownSymbolsStore$2 = shared$6("wks");
|
|
288
|
+
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$4["for"] || Symbol$4 : Symbol$4 && Symbol$4.withoutSetter || uid$2;
|
|
289
|
+
var wellKnownSymbol$n = function(name) {
|
|
290
|
+
if (!hasOwn$e(WellKnownSymbolsStore$2, name)) {
|
|
291
|
+
WellKnownSymbolsStore$2[name] = NATIVE_SYMBOL$4 && hasOwn$e(Symbol$4, name) ? Symbol$4[name] : createWellKnownSymbol("Symbol." + name);
|
|
292
|
+
}
|
|
293
|
+
return WellKnownSymbolsStore$2[name];
|
|
294
|
+
};
|
|
295
|
+
var call$f = functionCall;
|
|
296
|
+
var isObject$a = isObject$c;
|
|
297
|
+
var isSymbol$4 = isSymbol$5;
|
|
298
|
+
var getMethod$2 = getMethod$3;
|
|
299
|
+
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
300
|
+
var wellKnownSymbol$m = wellKnownSymbol$n;
|
|
301
|
+
var $TypeError$b = TypeError;
|
|
302
|
+
var TO_PRIMITIVE = wellKnownSymbol$m("toPrimitive");
|
|
303
|
+
var toPrimitive$6 = function(input, pref) {
|
|
304
|
+
if (!isObject$a(input) || isSymbol$4(input))
|
|
305
|
+
return input;
|
|
306
|
+
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
307
|
+
var result;
|
|
308
|
+
if (exoticToPrim) {
|
|
309
|
+
if (pref === void 0)
|
|
310
|
+
pref = "default";
|
|
311
|
+
result = call$f(exoticToPrim, input, pref);
|
|
312
|
+
if (!isObject$a(result) || isSymbol$4(result))
|
|
313
|
+
return result;
|
|
314
|
+
throw new $TypeError$b("Can't convert object to primitive value");
|
|
315
|
+
}
|
|
316
|
+
if (pref === void 0)
|
|
317
|
+
pref = "number";
|
|
318
|
+
return ordinaryToPrimitive(input, pref);
|
|
319
|
+
};
|
|
320
|
+
var toPrimitive$5 = toPrimitive$6;
|
|
321
|
+
var isSymbol$3 = isSymbol$5;
|
|
322
|
+
var toPropertyKey$4 = function(argument) {
|
|
323
|
+
var key = toPrimitive$5(argument, "string");
|
|
324
|
+
return isSymbol$3(key) ? key : key + "";
|
|
325
|
+
};
|
|
326
|
+
var global$f = global$m;
|
|
327
|
+
var isObject$9 = isObject$c;
|
|
328
|
+
var document$3 = global$f.document;
|
|
329
|
+
var EXISTS$1 = isObject$9(document$3) && isObject$9(document$3.createElement);
|
|
330
|
+
var documentCreateElement$1 = function(it) {
|
|
331
|
+
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
332
|
+
};
|
|
333
|
+
var DESCRIPTORS$e = descriptors;
|
|
334
|
+
var fails$k = fails$p;
|
|
335
|
+
var createElement$1 = documentCreateElement$1;
|
|
336
|
+
var ie8DomDefine = !DESCRIPTORS$e && !fails$k(function() {
|
|
337
|
+
return Object.defineProperty(createElement$1("div"), "a", {
|
|
338
|
+
get: function() {
|
|
339
|
+
return 7;
|
|
340
|
+
}
|
|
341
|
+
}).a !== 7;
|
|
342
|
+
});
|
|
343
|
+
var DESCRIPTORS$d = descriptors;
|
|
344
|
+
var call$e = functionCall;
|
|
345
|
+
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
346
|
+
var createPropertyDescriptor$6 = createPropertyDescriptor$7;
|
|
347
|
+
var toIndexedObject$9 = toIndexedObject$a;
|
|
348
|
+
var toPropertyKey$3 = toPropertyKey$4;
|
|
349
|
+
var hasOwn$d = hasOwnProperty_1;
|
|
350
|
+
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
351
|
+
var $getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
352
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor$2 : function getOwnPropertyDescriptor(O, P) {
|
|
353
|
+
O = toIndexedObject$9(O);
|
|
354
|
+
P = toPropertyKey$3(P);
|
|
355
|
+
if (IE8_DOM_DEFINE$1)
|
|
356
|
+
try {
|
|
357
|
+
return $getOwnPropertyDescriptor$2(O, P);
|
|
358
|
+
} catch (error) {
|
|
359
|
+
}
|
|
360
|
+
if (hasOwn$d(O, P))
|
|
361
|
+
return createPropertyDescriptor$6(!call$e(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
362
|
+
};
|
|
363
|
+
var fails$j = fails$p;
|
|
364
|
+
var isCallable$e = isCallable$k;
|
|
365
|
+
var replacement = /#|\.prototype\./;
|
|
366
|
+
var isForced$2 = function(feature, detection) {
|
|
367
|
+
var value = data[normalize(feature)];
|
|
368
|
+
return value === POLYFILL ? true : value === NATIVE ? false : isCallable$e(detection) ? fails$j(detection) : !!detection;
|
|
369
|
+
};
|
|
370
|
+
var normalize = isForced$2.normalize = function(string) {
|
|
371
|
+
return String(string).replace(replacement, ".").toLowerCase();
|
|
372
|
+
};
|
|
373
|
+
var data = isForced$2.data = {};
|
|
374
|
+
var NATIVE = isForced$2.NATIVE = "N";
|
|
375
|
+
var POLYFILL = isForced$2.POLYFILL = "P";
|
|
376
|
+
var isForced_1 = isForced$2;
|
|
377
|
+
var uncurryThis$i = functionUncurryThisClause;
|
|
378
|
+
var aCallable$8 = aCallable$a;
|
|
379
|
+
var NATIVE_BIND = functionBindNative;
|
|
380
|
+
var bind$7 = uncurryThis$i(uncurryThis$i.bind);
|
|
381
|
+
var functionBindContext = function(fn, that) {
|
|
382
|
+
aCallable$8(fn);
|
|
383
|
+
return that === void 0 ? fn : NATIVE_BIND ? bind$7(fn, that) : function() {
|
|
384
|
+
return fn.apply(that, arguments);
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
var objectDefineProperty = {};
|
|
388
|
+
var DESCRIPTORS$c = descriptors;
|
|
389
|
+
var fails$i = fails$p;
|
|
390
|
+
var v8PrototypeDefineBug = DESCRIPTORS$c && fails$i(function() {
|
|
391
|
+
return Object.defineProperty(function() {
|
|
392
|
+
}, "prototype", {
|
|
393
|
+
value: 42,
|
|
394
|
+
writable: false
|
|
395
|
+
}).prototype !== 42;
|
|
396
|
+
});
|
|
397
|
+
var isObject$8 = isObject$c;
|
|
398
|
+
var $String$3 = String;
|
|
399
|
+
var $TypeError$a = TypeError;
|
|
400
|
+
var anObject$c = function(argument) {
|
|
401
|
+
if (isObject$8(argument))
|
|
402
|
+
return argument;
|
|
403
|
+
throw new $TypeError$a($String$3(argument) + " is not an object");
|
|
404
|
+
};
|
|
405
|
+
var DESCRIPTORS$b = descriptors;
|
|
406
|
+
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
407
|
+
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
408
|
+
var anObject$b = anObject$c;
|
|
409
|
+
var toPropertyKey$2 = toPropertyKey$4;
|
|
410
|
+
var $TypeError$9 = TypeError;
|
|
411
|
+
var $defineProperty$1 = Object.defineProperty;
|
|
412
|
+
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
413
|
+
var ENUMERABLE = "enumerable";
|
|
414
|
+
var CONFIGURABLE$1 = "configurable";
|
|
415
|
+
var WRITABLE = "writable";
|
|
416
|
+
objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
417
|
+
anObject$b(O);
|
|
418
|
+
P = toPropertyKey$2(P);
|
|
419
|
+
anObject$b(Attributes);
|
|
420
|
+
if (typeof O === "function" && P === "prototype" && "value" in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
421
|
+
var current = $getOwnPropertyDescriptor$1(O, P);
|
|
422
|
+
if (current && current[WRITABLE]) {
|
|
423
|
+
O[P] = Attributes.value;
|
|
424
|
+
Attributes = {
|
|
425
|
+
configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
|
|
426
|
+
enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
|
|
427
|
+
writable: false
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
return $defineProperty$1(O, P, Attributes);
|
|
432
|
+
} : $defineProperty$1 : function defineProperty2(O, P, Attributes) {
|
|
433
|
+
anObject$b(O);
|
|
434
|
+
P = toPropertyKey$2(P);
|
|
435
|
+
anObject$b(Attributes);
|
|
436
|
+
if (IE8_DOM_DEFINE)
|
|
437
|
+
try {
|
|
438
|
+
return $defineProperty$1(O, P, Attributes);
|
|
439
|
+
} catch (error) {
|
|
440
|
+
}
|
|
441
|
+
if ("get" in Attributes || "set" in Attributes)
|
|
442
|
+
throw new $TypeError$9("Accessors not supported");
|
|
443
|
+
if ("value" in Attributes)
|
|
444
|
+
O[P] = Attributes.value;
|
|
445
|
+
return O;
|
|
446
|
+
};
|
|
447
|
+
var DESCRIPTORS$a = descriptors;
|
|
448
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
449
|
+
var createPropertyDescriptor$5 = createPropertyDescriptor$7;
|
|
450
|
+
var createNonEnumerableProperty$8 = DESCRIPTORS$a ? function(object, key, value) {
|
|
451
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$5(1, value));
|
|
452
|
+
} : function(object, key, value) {
|
|
453
|
+
object[key] = value;
|
|
454
|
+
return object;
|
|
455
|
+
};
|
|
456
|
+
var global$e = global$m;
|
|
457
|
+
var apply$2 = functionApply;
|
|
458
|
+
var uncurryThis$h = functionUncurryThisClause;
|
|
459
|
+
var isCallable$d = isCallable$k;
|
|
460
|
+
var getOwnPropertyDescriptor$9 = objectGetOwnPropertyDescriptor.f;
|
|
461
|
+
var isForced$1 = isForced_1;
|
|
462
|
+
var path$g = path$i;
|
|
463
|
+
var bind$6 = functionBindContext;
|
|
464
|
+
var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
|
|
465
|
+
var hasOwn$c = hasOwnProperty_1;
|
|
466
|
+
var wrapConstructor = function(NativeConstructor) {
|
|
467
|
+
var Wrapper = function(a, b, c) {
|
|
468
|
+
if (this instanceof Wrapper) {
|
|
469
|
+
switch (arguments.length) {
|
|
470
|
+
case 0:
|
|
471
|
+
return new NativeConstructor();
|
|
472
|
+
case 1:
|
|
473
|
+
return new NativeConstructor(a);
|
|
474
|
+
case 2:
|
|
475
|
+
return new NativeConstructor(a, b);
|
|
476
|
+
}
|
|
477
|
+
return new NativeConstructor(a, b, c);
|
|
478
|
+
}
|
|
479
|
+
return apply$2(NativeConstructor, this, arguments);
|
|
480
|
+
};
|
|
481
|
+
Wrapper.prototype = NativeConstructor.prototype;
|
|
482
|
+
return Wrapper;
|
|
483
|
+
};
|
|
484
|
+
var _export = function(options, source) {
|
|
485
|
+
var TARGET = options.target;
|
|
486
|
+
var GLOBAL = options.global;
|
|
487
|
+
var STATIC = options.stat;
|
|
488
|
+
var PROTO = options.proto;
|
|
489
|
+
var nativeSource = GLOBAL ? global$e : STATIC ? global$e[TARGET] : (global$e[TARGET] || {}).prototype;
|
|
490
|
+
var target = GLOBAL ? path$g : path$g[TARGET] || createNonEnumerableProperty$7(path$g, TARGET, {})[TARGET];
|
|
491
|
+
var targetPrototype = target.prototype;
|
|
492
|
+
var FORCED2, USE_NATIVE, VIRTUAL_PROTOTYPE;
|
|
493
|
+
var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;
|
|
494
|
+
for (key in source) {
|
|
495
|
+
FORCED2 = isForced$1(GLOBAL ? key : TARGET + (STATIC ? "." : "#") + key, options.forced);
|
|
496
|
+
USE_NATIVE = !FORCED2 && nativeSource && hasOwn$c(nativeSource, key);
|
|
497
|
+
targetProperty = target[key];
|
|
498
|
+
if (USE_NATIVE)
|
|
499
|
+
if (options.dontCallGetSet) {
|
|
500
|
+
descriptor = getOwnPropertyDescriptor$9(nativeSource, key);
|
|
501
|
+
nativeProperty = descriptor && descriptor.value;
|
|
502
|
+
} else
|
|
503
|
+
nativeProperty = nativeSource[key];
|
|
504
|
+
sourceProperty = USE_NATIVE && nativeProperty ? nativeProperty : source[key];
|
|
505
|
+
if (USE_NATIVE && typeof targetProperty == typeof sourceProperty)
|
|
506
|
+
continue;
|
|
507
|
+
if (options.bind && USE_NATIVE)
|
|
508
|
+
resultProperty = bind$6(sourceProperty, global$e);
|
|
509
|
+
else if (options.wrap && USE_NATIVE)
|
|
510
|
+
resultProperty = wrapConstructor(sourceProperty);
|
|
511
|
+
else if (PROTO && isCallable$d(sourceProperty))
|
|
512
|
+
resultProperty = uncurryThis$h(sourceProperty);
|
|
513
|
+
else
|
|
514
|
+
resultProperty = sourceProperty;
|
|
515
|
+
if (options.sham || sourceProperty && sourceProperty.sham || targetProperty && targetProperty.sham) {
|
|
516
|
+
createNonEnumerableProperty$7(resultProperty, "sham", true);
|
|
517
|
+
}
|
|
518
|
+
createNonEnumerableProperty$7(target, key, resultProperty);
|
|
519
|
+
if (PROTO) {
|
|
520
|
+
VIRTUAL_PROTOTYPE = TARGET + "Prototype";
|
|
521
|
+
if (!hasOwn$c(path$g, VIRTUAL_PROTOTYPE)) {
|
|
522
|
+
createNonEnumerableProperty$7(path$g, VIRTUAL_PROTOTYPE, {});
|
|
523
|
+
}
|
|
524
|
+
createNonEnumerableProperty$7(path$g[VIRTUAL_PROTOTYPE], key, sourceProperty);
|
|
525
|
+
if (options.real && targetPrototype && (FORCED2 || !targetPrototype[key])) {
|
|
526
|
+
createNonEnumerableProperty$7(targetPrototype, key, sourceProperty);
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
var $$F = _export;
|
|
532
|
+
var DESCRIPTORS$9 = descriptors;
|
|
533
|
+
var defineProperty$a = objectDefineProperty.f;
|
|
534
|
+
$$F({
|
|
535
|
+
target: "Object",
|
|
536
|
+
stat: true,
|
|
537
|
+
forced: Object.defineProperty !== defineProperty$a,
|
|
538
|
+
sham: !DESCRIPTORS$9
|
|
539
|
+
}, {
|
|
540
|
+
defineProperty: defineProperty$a
|
|
541
|
+
});
|
|
542
|
+
var path$f = path$i;
|
|
543
|
+
var Object$4 = path$f.Object;
|
|
544
|
+
var defineProperty$9 = defineProperty$c.exports = function defineProperty3(it, key, desc) {
|
|
545
|
+
return Object$4.defineProperty(it, key, desc);
|
|
546
|
+
};
|
|
547
|
+
if (Object$4.defineProperty.sham)
|
|
548
|
+
defineProperty$9.sham = true;
|
|
549
|
+
var definePropertyExports = defineProperty$c.exports;
|
|
550
|
+
var parent$1d = definePropertyExports;
|
|
551
|
+
var defineProperty$8 = parent$1d;
|
|
552
|
+
var parent$1c = defineProperty$8;
|
|
553
|
+
var defineProperty$7 = parent$1c;
|
|
554
|
+
var parent$1b = defineProperty$7;
|
|
555
|
+
var defineProperty$6 = parent$1b;
|
|
556
|
+
var defineProperty$5 = defineProperty$6;
|
|
557
|
+
const _Object$defineProperty$1 = /* @__PURE__ */ getDefaultExportFromCjs(defineProperty$5);
|
|
558
|
+
var classof$a = classofRaw$2;
|
|
559
|
+
var isArray$c = Array.isArray || function isArray(argument) {
|
|
560
|
+
return classof$a(argument) === "Array";
|
|
561
|
+
};
|
|
562
|
+
var ceil = Math.ceil;
|
|
563
|
+
var floor = Math.floor;
|
|
564
|
+
var mathTrunc = Math.trunc || function trunc(x) {
|
|
565
|
+
var n = +x;
|
|
566
|
+
return (n > 0 ? floor : ceil)(n);
|
|
567
|
+
};
|
|
568
|
+
var trunc2 = mathTrunc;
|
|
569
|
+
var toIntegerOrInfinity$3 = function(argument) {
|
|
570
|
+
var number = +argument;
|
|
571
|
+
return number !== number || number === 0 ? 0 : trunc2(number);
|
|
572
|
+
};
|
|
573
|
+
var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
|
|
574
|
+
var min$1 = Math.min;
|
|
575
|
+
var toLength$1 = function(argument) {
|
|
576
|
+
return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 9007199254740991) : 0;
|
|
577
|
+
};
|
|
578
|
+
var toLength = toLength$1;
|
|
579
|
+
var lengthOfArrayLike$8 = function(obj) {
|
|
580
|
+
return toLength(obj.length);
|
|
581
|
+
};
|
|
582
|
+
var $TypeError$8 = TypeError;
|
|
583
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
584
|
+
var doesNotExceedSafeInteger$2 = function(it) {
|
|
585
|
+
if (it > MAX_SAFE_INTEGER)
|
|
586
|
+
throw $TypeError$8("Maximum allowed index exceeded");
|
|
587
|
+
return it;
|
|
588
|
+
};
|
|
589
|
+
var toPropertyKey$1 = toPropertyKey$4;
|
|
590
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
591
|
+
var createPropertyDescriptor$4 = createPropertyDescriptor$7;
|
|
592
|
+
var createProperty$5 = function(object, key, value) {
|
|
593
|
+
var propertyKey = toPropertyKey$1(key);
|
|
594
|
+
if (propertyKey in object)
|
|
595
|
+
definePropertyModule$3.f(object, propertyKey, createPropertyDescriptor$4(0, value));
|
|
596
|
+
else
|
|
597
|
+
object[propertyKey] = value;
|
|
598
|
+
};
|
|
599
|
+
var wellKnownSymbol$l = wellKnownSymbol$n;
|
|
600
|
+
var TO_STRING_TAG$4 = wellKnownSymbol$l("toStringTag");
|
|
601
|
+
var test$1 = {};
|
|
602
|
+
test$1[TO_STRING_TAG$4] = "z";
|
|
603
|
+
var toStringTagSupport = String(test$1) === "[object z]";
|
|
604
|
+
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
605
|
+
var isCallable$c = isCallable$k;
|
|
606
|
+
var classofRaw = classofRaw$2;
|
|
607
|
+
var wellKnownSymbol$k = wellKnownSymbol$n;
|
|
608
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$k("toStringTag");
|
|
609
|
+
var $Object$1 = Object;
|
|
610
|
+
var CORRECT_ARGUMENTS = classofRaw(function() {
|
|
611
|
+
return arguments;
|
|
612
|
+
}()) === "Arguments";
|
|
613
|
+
var tryGet = function(it, key) {
|
|
614
|
+
try {
|
|
615
|
+
return it[key];
|
|
616
|
+
} catch (error) {
|
|
617
|
+
}
|
|
618
|
+
};
|
|
619
|
+
var classof$9 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function(it) {
|
|
620
|
+
var O, tag, result;
|
|
621
|
+
return it === void 0 ? "Undefined" : it === null ? "Null" : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$3)) == "string" ? tag : CORRECT_ARGUMENTS ? classofRaw(O) : (result = classofRaw(O)) === "Object" && isCallable$c(O.callee) ? "Arguments" : result;
|
|
622
|
+
};
|
|
623
|
+
var uncurryThis$g = functionUncurryThis;
|
|
624
|
+
var isCallable$b = isCallable$k;
|
|
625
|
+
var store$1 = sharedStore;
|
|
626
|
+
var functionToString = uncurryThis$g(Function.toString);
|
|
627
|
+
if (!isCallable$b(store$1.inspectSource)) {
|
|
628
|
+
store$1.inspectSource = function(it) {
|
|
629
|
+
return functionToString(it);
|
|
630
|
+
};
|
|
631
|
+
}
|
|
632
|
+
var inspectSource$2 = store$1.inspectSource;
|
|
633
|
+
var uncurryThis$f = functionUncurryThis;
|
|
634
|
+
var fails$h = fails$p;
|
|
635
|
+
var isCallable$a = isCallable$k;
|
|
636
|
+
var classof$8 = classof$9;
|
|
637
|
+
var getBuiltIn$c = getBuiltIn$e;
|
|
638
|
+
var inspectSource$1 = inspectSource$2;
|
|
639
|
+
var noop = function() {
|
|
640
|
+
};
|
|
641
|
+
var empty = [];
|
|
642
|
+
var construct = getBuiltIn$c("Reflect", "construct");
|
|
643
|
+
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
644
|
+
var exec$1 = uncurryThis$f(constructorRegExp.exec);
|
|
645
|
+
var INCORRECT_TO_STRING = !constructorRegExp.test(noop);
|
|
646
|
+
var isConstructorModern = function isConstructor(argument) {
|
|
647
|
+
if (!isCallable$a(argument))
|
|
648
|
+
return false;
|
|
649
|
+
try {
|
|
650
|
+
construct(noop, empty, argument);
|
|
651
|
+
return true;
|
|
652
|
+
} catch (error) {
|
|
653
|
+
return false;
|
|
654
|
+
}
|
|
655
|
+
};
|
|
656
|
+
var isConstructorLegacy = function isConstructor2(argument) {
|
|
657
|
+
if (!isCallable$a(argument))
|
|
658
|
+
return false;
|
|
659
|
+
switch (classof$8(argument)) {
|
|
660
|
+
case "AsyncFunction":
|
|
661
|
+
case "GeneratorFunction":
|
|
662
|
+
case "AsyncGeneratorFunction":
|
|
663
|
+
return false;
|
|
664
|
+
}
|
|
665
|
+
try {
|
|
666
|
+
return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource$1(argument));
|
|
667
|
+
} catch (error) {
|
|
668
|
+
return true;
|
|
669
|
+
}
|
|
670
|
+
};
|
|
671
|
+
isConstructorLegacy.sham = true;
|
|
672
|
+
var isConstructor$4 = !construct || fails$h(function() {
|
|
673
|
+
var called;
|
|
674
|
+
return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function() {
|
|
675
|
+
called = true;
|
|
676
|
+
}) || called;
|
|
677
|
+
}) ? isConstructorLegacy : isConstructorModern;
|
|
678
|
+
var isArray$b = isArray$c;
|
|
679
|
+
var isConstructor$3 = isConstructor$4;
|
|
680
|
+
var isObject$7 = isObject$c;
|
|
681
|
+
var wellKnownSymbol$j = wellKnownSymbol$n;
|
|
682
|
+
var SPECIES$5 = wellKnownSymbol$j("species");
|
|
683
|
+
var $Array$3 = Array;
|
|
684
|
+
var arraySpeciesConstructor$1 = function(originalArray) {
|
|
685
|
+
var C;
|
|
686
|
+
if (isArray$b(originalArray)) {
|
|
687
|
+
C = originalArray.constructor;
|
|
688
|
+
if (isConstructor$3(C) && (C === $Array$3 || isArray$b(C.prototype)))
|
|
689
|
+
C = void 0;
|
|
690
|
+
else if (isObject$7(C)) {
|
|
691
|
+
C = C[SPECIES$5];
|
|
692
|
+
if (C === null)
|
|
693
|
+
C = void 0;
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
return C === void 0 ? $Array$3 : C;
|
|
697
|
+
};
|
|
698
|
+
var arraySpeciesConstructor = arraySpeciesConstructor$1;
|
|
699
|
+
var arraySpeciesCreate$2 = function(originalArray, length) {
|
|
700
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
701
|
+
};
|
|
702
|
+
var fails$g = fails$p;
|
|
703
|
+
var wellKnownSymbol$i = wellKnownSymbol$n;
|
|
704
|
+
var V8_VERSION$2 = engineV8Version;
|
|
705
|
+
var SPECIES$4 = wellKnownSymbol$i("species");
|
|
706
|
+
var arrayMethodHasSpeciesSupport$4 = function(METHOD_NAME) {
|
|
707
|
+
return V8_VERSION$2 >= 51 || !fails$g(function() {
|
|
708
|
+
var array = [];
|
|
709
|
+
var constructor = array.constructor = {};
|
|
710
|
+
constructor[SPECIES$4] = function() {
|
|
711
|
+
return {
|
|
712
|
+
foo: 1
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
716
|
+
});
|
|
717
|
+
};
|
|
718
|
+
var $$E = _export;
|
|
719
|
+
var fails$f = fails$p;
|
|
720
|
+
var isArray$a = isArray$c;
|
|
721
|
+
var isObject$6 = isObject$c;
|
|
722
|
+
var toObject$7 = toObject$9;
|
|
723
|
+
var lengthOfArrayLike$7 = lengthOfArrayLike$8;
|
|
724
|
+
var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;
|
|
725
|
+
var createProperty$4 = createProperty$5;
|
|
726
|
+
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
727
|
+
var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$4;
|
|
728
|
+
var wellKnownSymbol$h = wellKnownSymbol$n;
|
|
729
|
+
var V8_VERSION$1 = engineV8Version;
|
|
730
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol$h("isConcatSpreadable");
|
|
731
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$f(function() {
|
|
732
|
+
var array = [];
|
|
733
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
734
|
+
return array.concat()[0] !== array;
|
|
735
|
+
});
|
|
736
|
+
var isConcatSpreadable = function(O) {
|
|
737
|
+
if (!isObject$6(O))
|
|
738
|
+
return false;
|
|
739
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
740
|
+
return spreadable !== void 0 ? !!spreadable : isArray$a(O);
|
|
741
|
+
};
|
|
742
|
+
var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$3("concat");
|
|
743
|
+
$$E({
|
|
744
|
+
target: "Array",
|
|
745
|
+
proto: true,
|
|
746
|
+
arity: 1,
|
|
747
|
+
forced: FORCED$4
|
|
748
|
+
}, {
|
|
749
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
750
|
+
concat: function concat(arg) {
|
|
751
|
+
var O = toObject$7(this);
|
|
752
|
+
var A = arraySpeciesCreate$1(O, 0);
|
|
753
|
+
var n = 0;
|
|
754
|
+
var i, k, length, len, E;
|
|
755
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
756
|
+
E = i === -1 ? O : arguments[i];
|
|
757
|
+
if (isConcatSpreadable(E)) {
|
|
758
|
+
len = lengthOfArrayLike$7(E);
|
|
759
|
+
doesNotExceedSafeInteger$1(n + len);
|
|
760
|
+
for (k = 0; k < len; k++, n++)
|
|
761
|
+
if (k in E)
|
|
762
|
+
createProperty$4(A, n, E[k]);
|
|
763
|
+
} else {
|
|
764
|
+
doesNotExceedSafeInteger$1(n + 1);
|
|
765
|
+
createProperty$4(A, n++, E);
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
A.length = n;
|
|
769
|
+
return A;
|
|
770
|
+
}
|
|
771
|
+
});
|
|
772
|
+
var classof$7 = classof$9;
|
|
773
|
+
var $String$2 = String;
|
|
774
|
+
var toString$8 = function(argument) {
|
|
775
|
+
if (classof$7(argument) === "Symbol")
|
|
776
|
+
throw new TypeError("Cannot convert a Symbol value to a string");
|
|
777
|
+
return $String$2(argument);
|
|
778
|
+
};
|
|
779
|
+
var objectDefineProperties = {};
|
|
780
|
+
var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
|
|
781
|
+
var max$2 = Math.max;
|
|
782
|
+
var min = Math.min;
|
|
783
|
+
var toAbsoluteIndex$3 = function(index, length) {
|
|
784
|
+
var integer = toIntegerOrInfinity$1(index);
|
|
785
|
+
return integer < 0 ? max$2(integer + length, 0) : min(integer, length);
|
|
786
|
+
};
|
|
787
|
+
var toIndexedObject$8 = toIndexedObject$a;
|
|
788
|
+
var toAbsoluteIndex$2 = toAbsoluteIndex$3;
|
|
789
|
+
var lengthOfArrayLike$6 = lengthOfArrayLike$8;
|
|
790
|
+
var createMethod$3 = function(IS_INCLUDES) {
|
|
791
|
+
return function($this, el, fromIndex) {
|
|
792
|
+
var O = toIndexedObject$8($this);
|
|
793
|
+
var length = lengthOfArrayLike$6(O);
|
|
794
|
+
var index = toAbsoluteIndex$2(fromIndex, length);
|
|
795
|
+
var value;
|
|
796
|
+
if (IS_INCLUDES && el !== el)
|
|
797
|
+
while (length > index) {
|
|
798
|
+
value = O[index++];
|
|
799
|
+
if (value !== value)
|
|
800
|
+
return true;
|
|
801
|
+
}
|
|
802
|
+
else
|
|
803
|
+
for (; length > index; index++) {
|
|
804
|
+
if ((IS_INCLUDES || index in O) && O[index] === el)
|
|
805
|
+
return IS_INCLUDES || index || 0;
|
|
806
|
+
}
|
|
807
|
+
return !IS_INCLUDES && -1;
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
var arrayIncludes = {
|
|
811
|
+
// `Array.prototype.includes` method
|
|
812
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
813
|
+
includes: createMethod$3(true),
|
|
814
|
+
// `Array.prototype.indexOf` method
|
|
815
|
+
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
816
|
+
indexOf: createMethod$3(false)
|
|
817
|
+
};
|
|
818
|
+
var hiddenKeys$5 = {};
|
|
819
|
+
var uncurryThis$e = functionUncurryThis;
|
|
820
|
+
var hasOwn$b = hasOwnProperty_1;
|
|
821
|
+
var toIndexedObject$7 = toIndexedObject$a;
|
|
822
|
+
var indexOf = arrayIncludes.indexOf;
|
|
823
|
+
var hiddenKeys$4 = hiddenKeys$5;
|
|
824
|
+
var push$a = uncurryThis$e([].push);
|
|
825
|
+
var objectKeysInternal = function(object, names) {
|
|
826
|
+
var O = toIndexedObject$7(object);
|
|
827
|
+
var i = 0;
|
|
828
|
+
var result = [];
|
|
829
|
+
var key;
|
|
830
|
+
for (key in O)
|
|
831
|
+
!hasOwn$b(hiddenKeys$4, key) && hasOwn$b(O, key) && push$a(result, key);
|
|
832
|
+
while (names.length > i)
|
|
833
|
+
if (hasOwn$b(O, key = names[i++])) {
|
|
834
|
+
~indexOf(result, key) || push$a(result, key);
|
|
835
|
+
}
|
|
836
|
+
return result;
|
|
837
|
+
};
|
|
838
|
+
var enumBugKeys$3 = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
|
|
839
|
+
var internalObjectKeys$1 = objectKeysInternal;
|
|
840
|
+
var enumBugKeys$2 = enumBugKeys$3;
|
|
841
|
+
var objectKeys$2 = Object.keys || function keys(O) {
|
|
842
|
+
return internalObjectKeys$1(O, enumBugKeys$2);
|
|
843
|
+
};
|
|
844
|
+
var DESCRIPTORS$8 = descriptors;
|
|
845
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
846
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
847
|
+
var anObject$a = anObject$c;
|
|
848
|
+
var toIndexedObject$6 = toIndexedObject$a;
|
|
849
|
+
var objectKeys$1 = objectKeys$2;
|
|
850
|
+
objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
851
|
+
anObject$a(O);
|
|
852
|
+
var props = toIndexedObject$6(Properties);
|
|
853
|
+
var keys4 = objectKeys$1(Properties);
|
|
854
|
+
var length = keys4.length;
|
|
855
|
+
var index = 0;
|
|
856
|
+
var key;
|
|
857
|
+
while (length > index)
|
|
858
|
+
definePropertyModule$2.f(O, key = keys4[index++], props[key]);
|
|
859
|
+
return O;
|
|
860
|
+
};
|
|
861
|
+
var getBuiltIn$b = getBuiltIn$e;
|
|
862
|
+
var html$2 = getBuiltIn$b("document", "documentElement");
|
|
863
|
+
var shared$5 = sharedExports;
|
|
864
|
+
var uid$1 = uid$3;
|
|
865
|
+
var keys$6 = shared$5("keys");
|
|
866
|
+
var sharedKey$4 = function(key) {
|
|
867
|
+
return keys$6[key] || (keys$6[key] = uid$1(key));
|
|
868
|
+
};
|
|
869
|
+
var anObject$9 = anObject$c;
|
|
870
|
+
var definePropertiesModule$1 = objectDefineProperties;
|
|
871
|
+
var enumBugKeys$1 = enumBugKeys$3;
|
|
872
|
+
var hiddenKeys$3 = hiddenKeys$5;
|
|
873
|
+
var html$1 = html$2;
|
|
874
|
+
var documentCreateElement = documentCreateElement$1;
|
|
875
|
+
var sharedKey$3 = sharedKey$4;
|
|
876
|
+
var GT = ">";
|
|
877
|
+
var LT = "<";
|
|
878
|
+
var PROTOTYPE$1 = "prototype";
|
|
879
|
+
var SCRIPT = "script";
|
|
880
|
+
var IE_PROTO$1 = sharedKey$3("IE_PROTO");
|
|
881
|
+
var EmptyConstructor = function() {
|
|
882
|
+
};
|
|
883
|
+
var scriptTag = function(content) {
|
|
884
|
+
return LT + SCRIPT + GT + content + LT + "/" + SCRIPT + GT;
|
|
885
|
+
};
|
|
886
|
+
var NullProtoObjectViaActiveX = function(activeXDocument2) {
|
|
887
|
+
activeXDocument2.write(scriptTag(""));
|
|
888
|
+
activeXDocument2.close();
|
|
889
|
+
var temp = activeXDocument2.parentWindow.Object;
|
|
890
|
+
activeXDocument2 = null;
|
|
891
|
+
return temp;
|
|
892
|
+
};
|
|
893
|
+
var NullProtoObjectViaIFrame = function() {
|
|
894
|
+
var iframe = documentCreateElement("iframe");
|
|
895
|
+
var JS = "java" + SCRIPT + ":";
|
|
896
|
+
var iframeDocument;
|
|
897
|
+
iframe.style.display = "none";
|
|
898
|
+
html$1.appendChild(iframe);
|
|
899
|
+
iframe.src = String(JS);
|
|
900
|
+
iframeDocument = iframe.contentWindow.document;
|
|
901
|
+
iframeDocument.open();
|
|
902
|
+
iframeDocument.write(scriptTag("document.F=Object"));
|
|
903
|
+
iframeDocument.close();
|
|
904
|
+
return iframeDocument.F;
|
|
905
|
+
};
|
|
906
|
+
var activeXDocument;
|
|
907
|
+
var NullProtoObject = function() {
|
|
908
|
+
try {
|
|
909
|
+
activeXDocument = new ActiveXObject("htmlfile");
|
|
910
|
+
} catch (error) {
|
|
911
|
+
}
|
|
912
|
+
NullProtoObject = typeof document != "undefined" ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument);
|
|
913
|
+
var length = enumBugKeys$1.length;
|
|
914
|
+
while (length--)
|
|
915
|
+
delete NullProtoObject[PROTOTYPE$1][enumBugKeys$1[length]];
|
|
916
|
+
return NullProtoObject();
|
|
917
|
+
};
|
|
918
|
+
hiddenKeys$3[IE_PROTO$1] = true;
|
|
919
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
920
|
+
var result;
|
|
921
|
+
if (O !== null) {
|
|
922
|
+
EmptyConstructor[PROTOTYPE$1] = anObject$9(O);
|
|
923
|
+
result = new EmptyConstructor();
|
|
924
|
+
EmptyConstructor[PROTOTYPE$1] = null;
|
|
925
|
+
result[IE_PROTO$1] = O;
|
|
926
|
+
} else
|
|
927
|
+
result = NullProtoObject();
|
|
928
|
+
return Properties === void 0 ? result : definePropertiesModule$1.f(result, Properties);
|
|
929
|
+
};
|
|
930
|
+
var objectGetOwnPropertyNames = {};
|
|
931
|
+
var internalObjectKeys = objectKeysInternal;
|
|
932
|
+
var enumBugKeys = enumBugKeys$3;
|
|
933
|
+
var hiddenKeys$2 = enumBugKeys.concat("length", "prototype");
|
|
934
|
+
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
935
|
+
return internalObjectKeys(O, hiddenKeys$2);
|
|
936
|
+
};
|
|
937
|
+
var objectGetOwnPropertyNamesExternal = {};
|
|
938
|
+
var toAbsoluteIndex$1 = toAbsoluteIndex$3;
|
|
939
|
+
var lengthOfArrayLike$5 = lengthOfArrayLike$8;
|
|
940
|
+
var createProperty$3 = createProperty$5;
|
|
941
|
+
var $Array$2 = Array;
|
|
942
|
+
var max$1 = Math.max;
|
|
943
|
+
var arraySliceSimple = function(O, start, end) {
|
|
944
|
+
var length = lengthOfArrayLike$5(O);
|
|
945
|
+
var k = toAbsoluteIndex$1(start, length);
|
|
946
|
+
var fin = toAbsoluteIndex$1(end === void 0 ? length : end, length);
|
|
947
|
+
var result = $Array$2(max$1(fin - k, 0));
|
|
948
|
+
var n = 0;
|
|
949
|
+
for (; k < fin; k++, n++)
|
|
950
|
+
createProperty$3(result, n, O[k]);
|
|
951
|
+
result.length = n;
|
|
952
|
+
return result;
|
|
953
|
+
};
|
|
954
|
+
var classof$6 = classofRaw$2;
|
|
955
|
+
var toIndexedObject$5 = toIndexedObject$a;
|
|
956
|
+
var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;
|
|
957
|
+
var arraySlice$3 = arraySliceSimple;
|
|
958
|
+
var windowNames = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];
|
|
959
|
+
var getWindowNames = function(it) {
|
|
960
|
+
try {
|
|
961
|
+
return $getOwnPropertyNames$1(it);
|
|
962
|
+
} catch (error) {
|
|
963
|
+
return arraySlice$3(windowNames);
|
|
964
|
+
}
|
|
965
|
+
};
|
|
966
|
+
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames2(it) {
|
|
967
|
+
return windowNames && classof$6(it) === "Window" ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$5(it));
|
|
968
|
+
};
|
|
969
|
+
var objectGetOwnPropertySymbols = {};
|
|
970
|
+
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
971
|
+
var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
|
|
972
|
+
var defineBuiltIn$5 = function(target, key, value, options) {
|
|
973
|
+
if (options && options.enumerable)
|
|
974
|
+
target[key] = value;
|
|
975
|
+
else
|
|
976
|
+
createNonEnumerableProperty$6(target, key, value);
|
|
977
|
+
return target;
|
|
978
|
+
};
|
|
979
|
+
var defineProperty$4 = objectDefineProperty;
|
|
980
|
+
var defineBuiltInAccessor$2 = function(target, name, descriptor) {
|
|
981
|
+
return defineProperty$4.f(target, name, descriptor);
|
|
982
|
+
};
|
|
983
|
+
var wellKnownSymbolWrapped = {};
|
|
984
|
+
var wellKnownSymbol$g = wellKnownSymbol$n;
|
|
985
|
+
wellKnownSymbolWrapped.f = wellKnownSymbol$g;
|
|
986
|
+
var path$e = path$i;
|
|
987
|
+
var hasOwn$a = hasOwnProperty_1;
|
|
988
|
+
var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
989
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
990
|
+
var wellKnownSymbolDefine = function(NAME) {
|
|
991
|
+
var Symbol2 = path$e.Symbol || (path$e.Symbol = {});
|
|
992
|
+
if (!hasOwn$a(Symbol2, NAME))
|
|
993
|
+
defineProperty$3(Symbol2, NAME, {
|
|
994
|
+
value: wrappedWellKnownSymbolModule$1.f(NAME)
|
|
995
|
+
});
|
|
996
|
+
};
|
|
997
|
+
var call$d = functionCall;
|
|
998
|
+
var getBuiltIn$a = getBuiltIn$e;
|
|
999
|
+
var wellKnownSymbol$f = wellKnownSymbol$n;
|
|
1000
|
+
var defineBuiltIn$4 = defineBuiltIn$5;
|
|
1001
|
+
var symbolDefineToPrimitive = function() {
|
|
1002
|
+
var Symbol2 = getBuiltIn$a("Symbol");
|
|
1003
|
+
var SymbolPrototype2 = Symbol2 && Symbol2.prototype;
|
|
1004
|
+
var valueOf = SymbolPrototype2 && SymbolPrototype2.valueOf;
|
|
1005
|
+
var TO_PRIMITIVE2 = wellKnownSymbol$f("toPrimitive");
|
|
1006
|
+
if (SymbolPrototype2 && !SymbolPrototype2[TO_PRIMITIVE2]) {
|
|
1007
|
+
defineBuiltIn$4(SymbolPrototype2, TO_PRIMITIVE2, function(hint) {
|
|
1008
|
+
return call$d(valueOf, this);
|
|
1009
|
+
}, {
|
|
1010
|
+
arity: 1
|
|
1011
|
+
});
|
|
1012
|
+
}
|
|
1013
|
+
};
|
|
1014
|
+
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
1015
|
+
var classof$5 = classof$9;
|
|
1016
|
+
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
1017
|
+
return "[object " + classof$5(this) + "]";
|
|
1018
|
+
};
|
|
1019
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1020
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
1021
|
+
var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
|
|
1022
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
1023
|
+
var toString$7 = objectToString;
|
|
1024
|
+
var wellKnownSymbol$e = wellKnownSymbol$n;
|
|
1025
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e("toStringTag");
|
|
1026
|
+
var setToStringTag$6 = function(it, TAG, STATIC, SET_METHOD) {
|
|
1027
|
+
if (it) {
|
|
1028
|
+
var target = STATIC ? it : it.prototype;
|
|
1029
|
+
if (!hasOwn$9(target, TO_STRING_TAG$2)) {
|
|
1030
|
+
defineProperty$2(target, TO_STRING_TAG$2, {
|
|
1031
|
+
configurable: true,
|
|
1032
|
+
value: TAG
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {
|
|
1036
|
+
createNonEnumerableProperty$5(target, "toString", toString$7);
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
};
|
|
1040
|
+
var global$d = global$m;
|
|
1041
|
+
var isCallable$9 = isCallable$k;
|
|
1042
|
+
var WeakMap$1 = global$d.WeakMap;
|
|
1043
|
+
var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
1044
|
+
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
1045
|
+
var global$c = global$m;
|
|
1046
|
+
var isObject$5 = isObject$c;
|
|
1047
|
+
var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
|
|
1048
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
1049
|
+
var shared$4 = sharedStore;
|
|
1050
|
+
var sharedKey$2 = sharedKey$4;
|
|
1051
|
+
var hiddenKeys$1 = hiddenKeys$5;
|
|
1052
|
+
var OBJECT_ALREADY_INITIALIZED = "Object already initialized";
|
|
1053
|
+
var TypeError$3 = global$c.TypeError;
|
|
1054
|
+
var WeakMap = global$c.WeakMap;
|
|
1055
|
+
var set$1, get, has;
|
|
1056
|
+
var enforce = function(it) {
|
|
1057
|
+
return has(it) ? get(it) : set$1(it, {});
|
|
1058
|
+
};
|
|
1059
|
+
var getterFor = function(TYPE) {
|
|
1060
|
+
return function(it) {
|
|
1061
|
+
var state;
|
|
1062
|
+
if (!isObject$5(it) || (state = get(it)).type !== TYPE) {
|
|
1063
|
+
throw new TypeError$3("Incompatible receiver, " + TYPE + " required");
|
|
1064
|
+
}
|
|
1065
|
+
return state;
|
|
1066
|
+
};
|
|
1067
|
+
};
|
|
1068
|
+
if (NATIVE_WEAK_MAP || shared$4.state) {
|
|
1069
|
+
var store = shared$4.state || (shared$4.state = new WeakMap());
|
|
1070
|
+
store.get = store.get;
|
|
1071
|
+
store.has = store.has;
|
|
1072
|
+
store.set = store.set;
|
|
1073
|
+
set$1 = function(it, metadata) {
|
|
1074
|
+
if (store.has(it))
|
|
1075
|
+
throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
1076
|
+
metadata.facade = it;
|
|
1077
|
+
store.set(it, metadata);
|
|
1078
|
+
return metadata;
|
|
1079
|
+
};
|
|
1080
|
+
get = function(it) {
|
|
1081
|
+
return store.get(it) || {};
|
|
1082
|
+
};
|
|
1083
|
+
has = function(it) {
|
|
1084
|
+
return store.has(it);
|
|
1085
|
+
};
|
|
1086
|
+
} else {
|
|
1087
|
+
var STATE = sharedKey$2("state");
|
|
1088
|
+
hiddenKeys$1[STATE] = true;
|
|
1089
|
+
set$1 = function(it, metadata) {
|
|
1090
|
+
if (hasOwn$8(it, STATE))
|
|
1091
|
+
throw new TypeError$3(OBJECT_ALREADY_INITIALIZED);
|
|
1092
|
+
metadata.facade = it;
|
|
1093
|
+
createNonEnumerableProperty$4(it, STATE, metadata);
|
|
1094
|
+
return metadata;
|
|
1095
|
+
};
|
|
1096
|
+
get = function(it) {
|
|
1097
|
+
return hasOwn$8(it, STATE) ? it[STATE] : {};
|
|
1098
|
+
};
|
|
1099
|
+
has = function(it) {
|
|
1100
|
+
return hasOwn$8(it, STATE);
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
var internalState = {
|
|
1104
|
+
set: set$1,
|
|
1105
|
+
get,
|
|
1106
|
+
has,
|
|
1107
|
+
enforce,
|
|
1108
|
+
getterFor
|
|
1109
|
+
};
|
|
1110
|
+
var bind$5 = functionBindContext;
|
|
1111
|
+
var uncurryThis$d = functionUncurryThis;
|
|
1112
|
+
var IndexedObject = indexedObject;
|
|
1113
|
+
var toObject$6 = toObject$9;
|
|
1114
|
+
var lengthOfArrayLike$4 = lengthOfArrayLike$8;
|
|
1115
|
+
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
1116
|
+
var push$9 = uncurryThis$d([].push);
|
|
1117
|
+
var createMethod$2 = function(TYPE) {
|
|
1118
|
+
var IS_MAP = TYPE === 1;
|
|
1119
|
+
var IS_FILTER = TYPE === 2;
|
|
1120
|
+
var IS_SOME = TYPE === 3;
|
|
1121
|
+
var IS_EVERY = TYPE === 4;
|
|
1122
|
+
var IS_FIND_INDEX = TYPE === 6;
|
|
1123
|
+
var IS_FILTER_REJECT = TYPE === 7;
|
|
1124
|
+
var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;
|
|
1125
|
+
return function($this, callbackfn, that, specificCreate) {
|
|
1126
|
+
var O = toObject$6($this);
|
|
1127
|
+
var self2 = IndexedObject(O);
|
|
1128
|
+
var boundFunction = bind$5(callbackfn, that);
|
|
1129
|
+
var length = lengthOfArrayLike$4(self2);
|
|
1130
|
+
var index = 0;
|
|
1131
|
+
var create5 = specificCreate || arraySpeciesCreate;
|
|
1132
|
+
var target = IS_MAP ? create5($this, length) : IS_FILTER || IS_FILTER_REJECT ? create5($this, 0) : void 0;
|
|
1133
|
+
var value, result;
|
|
1134
|
+
for (; length > index; index++)
|
|
1135
|
+
if (NO_HOLES || index in self2) {
|
|
1136
|
+
value = self2[index];
|
|
1137
|
+
result = boundFunction(value, index, O);
|
|
1138
|
+
if (TYPE) {
|
|
1139
|
+
if (IS_MAP)
|
|
1140
|
+
target[index] = result;
|
|
1141
|
+
else if (result)
|
|
1142
|
+
switch (TYPE) {
|
|
1143
|
+
case 3:
|
|
1144
|
+
return true;
|
|
1145
|
+
case 5:
|
|
1146
|
+
return value;
|
|
1147
|
+
case 6:
|
|
1148
|
+
return index;
|
|
1149
|
+
case 2:
|
|
1150
|
+
push$9(target, value);
|
|
1151
|
+
}
|
|
1152
|
+
else
|
|
1153
|
+
switch (TYPE) {
|
|
1154
|
+
case 4:
|
|
1155
|
+
return false;
|
|
1156
|
+
case 7:
|
|
1157
|
+
push$9(target, value);
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;
|
|
1162
|
+
};
|
|
1163
|
+
};
|
|
1164
|
+
var arrayIteration = {
|
|
1165
|
+
// `Array.prototype.forEach` method
|
|
1166
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1167
|
+
forEach: createMethod$2(0),
|
|
1168
|
+
// `Array.prototype.map` method
|
|
1169
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1170
|
+
map: createMethod$2(1),
|
|
1171
|
+
// `Array.prototype.filter` method
|
|
1172
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1173
|
+
filter: createMethod$2(2),
|
|
1174
|
+
// `Array.prototype.some` method
|
|
1175
|
+
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
1176
|
+
some: createMethod$2(3),
|
|
1177
|
+
// `Array.prototype.every` method
|
|
1178
|
+
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
1179
|
+
every: createMethod$2(4),
|
|
1180
|
+
// `Array.prototype.find` method
|
|
1181
|
+
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1182
|
+
find: createMethod$2(5),
|
|
1183
|
+
// `Array.prototype.findIndex` method
|
|
1184
|
+
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
1185
|
+
findIndex: createMethod$2(6),
|
|
1186
|
+
// `Array.prototype.filterReject` method
|
|
1187
|
+
// https://github.com/tc39/proposal-array-filtering
|
|
1188
|
+
filterReject: createMethod$2(7)
|
|
1189
|
+
};
|
|
1190
|
+
var $$D = _export;
|
|
1191
|
+
var global$b = global$m;
|
|
1192
|
+
var call$c = functionCall;
|
|
1193
|
+
var uncurryThis$c = functionUncurryThis;
|
|
1194
|
+
var DESCRIPTORS$7 = descriptors;
|
|
1195
|
+
var NATIVE_SYMBOL$3 = symbolConstructorDetection;
|
|
1196
|
+
var fails$e = fails$p;
|
|
1197
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
1198
|
+
var isPrototypeOf$c = objectIsPrototypeOf;
|
|
1199
|
+
var anObject$8 = anObject$c;
|
|
1200
|
+
var toIndexedObject$4 = toIndexedObject$a;
|
|
1201
|
+
var toPropertyKey = toPropertyKey$4;
|
|
1202
|
+
var $toString = toString$8;
|
|
1203
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$7;
|
|
1204
|
+
var nativeObjectCreate = objectCreate;
|
|
1205
|
+
var objectKeys = objectKeys$2;
|
|
1206
|
+
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
1207
|
+
var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal;
|
|
1208
|
+
var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols;
|
|
1209
|
+
var getOwnPropertyDescriptorModule$2 = objectGetOwnPropertyDescriptor;
|
|
1210
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1211
|
+
var definePropertiesModule = objectDefineProperties;
|
|
1212
|
+
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
1213
|
+
var defineBuiltIn$3 = defineBuiltIn$5;
|
|
1214
|
+
var defineBuiltInAccessor$1 = defineBuiltInAccessor$2;
|
|
1215
|
+
var shared$3 = sharedExports;
|
|
1216
|
+
var sharedKey$1 = sharedKey$4;
|
|
1217
|
+
var hiddenKeys = hiddenKeys$5;
|
|
1218
|
+
var uid = uid$3;
|
|
1219
|
+
var wellKnownSymbol$d = wellKnownSymbol$n;
|
|
1220
|
+
var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
|
|
1221
|
+
var defineWellKnownSymbol$l = wellKnownSymbolDefine;
|
|
1222
|
+
var defineSymbolToPrimitive$1 = symbolDefineToPrimitive;
|
|
1223
|
+
var setToStringTag$5 = setToStringTag$6;
|
|
1224
|
+
var InternalStateModule$3 = internalState;
|
|
1225
|
+
var $forEach$1 = arrayIteration.forEach;
|
|
1226
|
+
var HIDDEN = sharedKey$1("hidden");
|
|
1227
|
+
var SYMBOL = "Symbol";
|
|
1228
|
+
var PROTOTYPE = "prototype";
|
|
1229
|
+
var setInternalState$3 = InternalStateModule$3.set;
|
|
1230
|
+
var getInternalState$2 = InternalStateModule$3.getterFor(SYMBOL);
|
|
1231
|
+
var ObjectPrototype$1 = Object[PROTOTYPE];
|
|
1232
|
+
var $Symbol = global$b.Symbol;
|
|
1233
|
+
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
|
|
1234
|
+
var RangeError = global$b.RangeError;
|
|
1235
|
+
var TypeError$2 = global$b.TypeError;
|
|
1236
|
+
var QObject = global$b.QObject;
|
|
1237
|
+
var nativeGetOwnPropertyDescriptor$1 = getOwnPropertyDescriptorModule$2.f;
|
|
1238
|
+
var nativeDefineProperty = definePropertyModule$1.f;
|
|
1239
|
+
var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;
|
|
1240
|
+
var nativePropertyIsEnumerable = propertyIsEnumerableModule.f;
|
|
1241
|
+
var push$8 = uncurryThis$c([].push);
|
|
1242
|
+
var AllSymbols = shared$3("symbols");
|
|
1243
|
+
var ObjectPrototypeSymbols = shared$3("op-symbols");
|
|
1244
|
+
var WellKnownSymbolsStore$1 = shared$3("wks");
|
|
1245
|
+
var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
|
|
1246
|
+
var fallbackDefineProperty = function(O, P, Attributes) {
|
|
1247
|
+
var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$1(ObjectPrototype$1, P);
|
|
1248
|
+
if (ObjectPrototypeDescriptor)
|
|
1249
|
+
delete ObjectPrototype$1[P];
|
|
1250
|
+
nativeDefineProperty(O, P, Attributes);
|
|
1251
|
+
if (ObjectPrototypeDescriptor && O !== ObjectPrototype$1) {
|
|
1252
|
+
nativeDefineProperty(ObjectPrototype$1, P, ObjectPrototypeDescriptor);
|
|
1253
|
+
}
|
|
1254
|
+
};
|
|
1255
|
+
var setSymbolDescriptor = DESCRIPTORS$7 && fails$e(function() {
|
|
1256
|
+
return nativeObjectCreate(nativeDefineProperty({}, "a", {
|
|
1257
|
+
get: function() {
|
|
1258
|
+
return nativeDefineProperty(this, "a", {
|
|
1259
|
+
value: 7
|
|
1260
|
+
}).a;
|
|
1261
|
+
}
|
|
1262
|
+
})).a !== 7;
|
|
1263
|
+
}) ? fallbackDefineProperty : nativeDefineProperty;
|
|
1264
|
+
var wrap = function(tag, description) {
|
|
1265
|
+
var symbol2 = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);
|
|
1266
|
+
setInternalState$3(symbol2, {
|
|
1267
|
+
type: SYMBOL,
|
|
1268
|
+
tag,
|
|
1269
|
+
description
|
|
1270
|
+
});
|
|
1271
|
+
if (!DESCRIPTORS$7)
|
|
1272
|
+
symbol2.description = description;
|
|
1273
|
+
return symbol2;
|
|
1274
|
+
};
|
|
1275
|
+
var $defineProperty = function defineProperty4(O, P, Attributes) {
|
|
1276
|
+
if (O === ObjectPrototype$1)
|
|
1277
|
+
$defineProperty(ObjectPrototypeSymbols, P, Attributes);
|
|
1278
|
+
anObject$8(O);
|
|
1279
|
+
var key = toPropertyKey(P);
|
|
1280
|
+
anObject$8(Attributes);
|
|
1281
|
+
if (hasOwn$7(AllSymbols, key)) {
|
|
1282
|
+
if (!Attributes.enumerable) {
|
|
1283
|
+
if (!hasOwn$7(O, HIDDEN))
|
|
1284
|
+
nativeDefineProperty(O, HIDDEN, createPropertyDescriptor$3(1, {}));
|
|
1285
|
+
O[HIDDEN][key] = true;
|
|
1286
|
+
} else {
|
|
1287
|
+
if (hasOwn$7(O, HIDDEN) && O[HIDDEN][key])
|
|
1288
|
+
O[HIDDEN][key] = false;
|
|
1289
|
+
Attributes = nativeObjectCreate(Attributes, {
|
|
1290
|
+
enumerable: createPropertyDescriptor$3(0, false)
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1293
|
+
return setSymbolDescriptor(O, key, Attributes);
|
|
1294
|
+
}
|
|
1295
|
+
return nativeDefineProperty(O, key, Attributes);
|
|
1296
|
+
};
|
|
1297
|
+
var $defineProperties = function defineProperties2(O, Properties) {
|
|
1298
|
+
anObject$8(O);
|
|
1299
|
+
var properties = toIndexedObject$4(Properties);
|
|
1300
|
+
var keys4 = objectKeys(properties).concat($getOwnPropertySymbols(properties));
|
|
1301
|
+
$forEach$1(keys4, function(key) {
|
|
1302
|
+
if (!DESCRIPTORS$7 || call$c($propertyIsEnumerable, properties, key))
|
|
1303
|
+
$defineProperty(O, key, properties[key]);
|
|
1304
|
+
});
|
|
1305
|
+
return O;
|
|
1306
|
+
};
|
|
1307
|
+
var $create = function create2(O, Properties) {
|
|
1308
|
+
return Properties === void 0 ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);
|
|
1309
|
+
};
|
|
1310
|
+
var $propertyIsEnumerable = function propertyIsEnumerable2(V) {
|
|
1311
|
+
var P = toPropertyKey(V);
|
|
1312
|
+
var enumerable = call$c(nativePropertyIsEnumerable, this, P);
|
|
1313
|
+
if (this === ObjectPrototype$1 && hasOwn$7(AllSymbols, P) && !hasOwn$7(ObjectPrototypeSymbols, P))
|
|
1314
|
+
return false;
|
|
1315
|
+
return enumerable || !hasOwn$7(this, P) || !hasOwn$7(AllSymbols, P) || hasOwn$7(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;
|
|
1316
|
+
};
|
|
1317
|
+
var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor2(O, P) {
|
|
1318
|
+
var it = toIndexedObject$4(O);
|
|
1319
|
+
var key = toPropertyKey(P);
|
|
1320
|
+
if (it === ObjectPrototype$1 && hasOwn$7(AllSymbols, key) && !hasOwn$7(ObjectPrototypeSymbols, key))
|
|
1321
|
+
return;
|
|
1322
|
+
var descriptor = nativeGetOwnPropertyDescriptor$1(it, key);
|
|
1323
|
+
if (descriptor && hasOwn$7(AllSymbols, key) && !(hasOwn$7(it, HIDDEN) && it[HIDDEN][key])) {
|
|
1324
|
+
descriptor.enumerable = true;
|
|
1325
|
+
}
|
|
1326
|
+
return descriptor;
|
|
1327
|
+
};
|
|
1328
|
+
var $getOwnPropertyNames = function getOwnPropertyNames3(O) {
|
|
1329
|
+
var names = nativeGetOwnPropertyNames(toIndexedObject$4(O));
|
|
1330
|
+
var result = [];
|
|
1331
|
+
$forEach$1(names, function(key) {
|
|
1332
|
+
if (!hasOwn$7(AllSymbols, key) && !hasOwn$7(hiddenKeys, key))
|
|
1333
|
+
push$8(result, key);
|
|
1334
|
+
});
|
|
1335
|
+
return result;
|
|
1336
|
+
};
|
|
1337
|
+
var $getOwnPropertySymbols = function(O) {
|
|
1338
|
+
var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$1;
|
|
1339
|
+
var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$4(O));
|
|
1340
|
+
var result = [];
|
|
1341
|
+
$forEach$1(names, function(key) {
|
|
1342
|
+
if (hasOwn$7(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$7(ObjectPrototype$1, key))) {
|
|
1343
|
+
push$8(result, AllSymbols[key]);
|
|
1344
|
+
}
|
|
1345
|
+
});
|
|
1346
|
+
return result;
|
|
1347
|
+
};
|
|
1348
|
+
if (!NATIVE_SYMBOL$3) {
|
|
1349
|
+
$Symbol = function Symbol2() {
|
|
1350
|
+
if (isPrototypeOf$c(SymbolPrototype, this))
|
|
1351
|
+
throw new TypeError$2("Symbol is not a constructor");
|
|
1352
|
+
var description = !arguments.length || arguments[0] === void 0 ? void 0 : $toString(arguments[0]);
|
|
1353
|
+
var tag = uid(description);
|
|
1354
|
+
var setter = function(value) {
|
|
1355
|
+
var $this = this === void 0 ? global$b : this;
|
|
1356
|
+
if ($this === ObjectPrototype$1)
|
|
1357
|
+
call$c(setter, ObjectPrototypeSymbols, value);
|
|
1358
|
+
if (hasOwn$7($this, HIDDEN) && hasOwn$7($this[HIDDEN], tag))
|
|
1359
|
+
$this[HIDDEN][tag] = false;
|
|
1360
|
+
var descriptor = createPropertyDescriptor$3(1, value);
|
|
1361
|
+
try {
|
|
1362
|
+
setSymbolDescriptor($this, tag, descriptor);
|
|
1363
|
+
} catch (error) {
|
|
1364
|
+
if (!(error instanceof RangeError))
|
|
1365
|
+
throw error;
|
|
1366
|
+
fallbackDefineProperty($this, tag, descriptor);
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
if (DESCRIPTORS$7 && USE_SETTER)
|
|
1370
|
+
setSymbolDescriptor(ObjectPrototype$1, tag, {
|
|
1371
|
+
configurable: true,
|
|
1372
|
+
set: setter
|
|
1373
|
+
});
|
|
1374
|
+
return wrap(tag, description);
|
|
1375
|
+
};
|
|
1376
|
+
SymbolPrototype = $Symbol[PROTOTYPE];
|
|
1377
|
+
defineBuiltIn$3(SymbolPrototype, "toString", function toString3() {
|
|
1378
|
+
return getInternalState$2(this).tag;
|
|
1379
|
+
});
|
|
1380
|
+
defineBuiltIn$3($Symbol, "withoutSetter", function(description) {
|
|
1381
|
+
return wrap(uid(description), description);
|
|
1382
|
+
});
|
|
1383
|
+
propertyIsEnumerableModule.f = $propertyIsEnumerable;
|
|
1384
|
+
definePropertyModule$1.f = $defineProperty;
|
|
1385
|
+
definePropertiesModule.f = $defineProperties;
|
|
1386
|
+
getOwnPropertyDescriptorModule$2.f = $getOwnPropertyDescriptor;
|
|
1387
|
+
getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;
|
|
1388
|
+
getOwnPropertySymbolsModule$2.f = $getOwnPropertySymbols;
|
|
1389
|
+
wrappedWellKnownSymbolModule.f = function(name) {
|
|
1390
|
+
return wrap(wellKnownSymbol$d(name), name);
|
|
1391
|
+
};
|
|
1392
|
+
if (DESCRIPTORS$7) {
|
|
1393
|
+
defineBuiltInAccessor$1(SymbolPrototype, "description", {
|
|
1394
|
+
configurable: true,
|
|
1395
|
+
get: function description() {
|
|
1396
|
+
return getInternalState$2(this).description;
|
|
1397
|
+
}
|
|
1398
|
+
});
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
$$D({
|
|
1402
|
+
global: true,
|
|
1403
|
+
constructor: true,
|
|
1404
|
+
wrap: true,
|
|
1405
|
+
forced: !NATIVE_SYMBOL$3,
|
|
1406
|
+
sham: !NATIVE_SYMBOL$3
|
|
1407
|
+
}, {
|
|
1408
|
+
Symbol: $Symbol
|
|
1409
|
+
});
|
|
1410
|
+
$forEach$1(objectKeys(WellKnownSymbolsStore$1), function(name) {
|
|
1411
|
+
defineWellKnownSymbol$l(name);
|
|
1412
|
+
});
|
|
1413
|
+
$$D({
|
|
1414
|
+
target: SYMBOL,
|
|
1415
|
+
stat: true,
|
|
1416
|
+
forced: !NATIVE_SYMBOL$3
|
|
1417
|
+
}, {
|
|
1418
|
+
useSetter: function() {
|
|
1419
|
+
USE_SETTER = true;
|
|
1420
|
+
},
|
|
1421
|
+
useSimple: function() {
|
|
1422
|
+
USE_SETTER = false;
|
|
1423
|
+
}
|
|
1424
|
+
});
|
|
1425
|
+
$$D({
|
|
1426
|
+
target: "Object",
|
|
1427
|
+
stat: true,
|
|
1428
|
+
forced: !NATIVE_SYMBOL$3,
|
|
1429
|
+
sham: !DESCRIPTORS$7
|
|
1430
|
+
}, {
|
|
1431
|
+
// `Object.create` method
|
|
1432
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
1433
|
+
create: $create,
|
|
1434
|
+
// `Object.defineProperty` method
|
|
1435
|
+
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
1436
|
+
defineProperty: $defineProperty,
|
|
1437
|
+
// `Object.defineProperties` method
|
|
1438
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1439
|
+
defineProperties: $defineProperties,
|
|
1440
|
+
// `Object.getOwnPropertyDescriptor` method
|
|
1441
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
|
1442
|
+
getOwnPropertyDescriptor: $getOwnPropertyDescriptor
|
|
1443
|
+
});
|
|
1444
|
+
$$D({
|
|
1445
|
+
target: "Object",
|
|
1446
|
+
stat: true,
|
|
1447
|
+
forced: !NATIVE_SYMBOL$3
|
|
1448
|
+
}, {
|
|
1449
|
+
// `Object.getOwnPropertyNames` method
|
|
1450
|
+
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
1451
|
+
getOwnPropertyNames: $getOwnPropertyNames
|
|
1452
|
+
});
|
|
1453
|
+
defineSymbolToPrimitive$1();
|
|
1454
|
+
setToStringTag$5($Symbol, SYMBOL);
|
|
1455
|
+
hiddenKeys[HIDDEN] = true;
|
|
1456
|
+
var NATIVE_SYMBOL$2 = symbolConstructorDetection;
|
|
1457
|
+
var symbolRegistryDetection = NATIVE_SYMBOL$2 && !!Symbol["for"] && !!Symbol.keyFor;
|
|
1458
|
+
var $$C = _export;
|
|
1459
|
+
var getBuiltIn$9 = getBuiltIn$e;
|
|
1460
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
1461
|
+
var toString$6 = toString$8;
|
|
1462
|
+
var shared$2 = sharedExports;
|
|
1463
|
+
var NATIVE_SYMBOL_REGISTRY$1 = symbolRegistryDetection;
|
|
1464
|
+
var StringToSymbolRegistry = shared$2("string-to-symbol-registry");
|
|
1465
|
+
var SymbolToStringRegistry$1 = shared$2("symbol-to-string-registry");
|
|
1466
|
+
$$C({
|
|
1467
|
+
target: "Symbol",
|
|
1468
|
+
stat: true,
|
|
1469
|
+
forced: !NATIVE_SYMBOL_REGISTRY$1
|
|
1470
|
+
}, {
|
|
1471
|
+
"for": function(key) {
|
|
1472
|
+
var string = toString$6(key);
|
|
1473
|
+
if (hasOwn$6(StringToSymbolRegistry, string))
|
|
1474
|
+
return StringToSymbolRegistry[string];
|
|
1475
|
+
var symbol2 = getBuiltIn$9("Symbol")(string);
|
|
1476
|
+
StringToSymbolRegistry[string] = symbol2;
|
|
1477
|
+
SymbolToStringRegistry$1[symbol2] = string;
|
|
1478
|
+
return symbol2;
|
|
1479
|
+
}
|
|
1480
|
+
});
|
|
1481
|
+
var $$B = _export;
|
|
1482
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
1483
|
+
var isSymbol$2 = isSymbol$5;
|
|
1484
|
+
var tryToString$3 = tryToString$5;
|
|
1485
|
+
var shared$1 = sharedExports;
|
|
1486
|
+
var NATIVE_SYMBOL_REGISTRY = symbolRegistryDetection;
|
|
1487
|
+
var SymbolToStringRegistry = shared$1("symbol-to-string-registry");
|
|
1488
|
+
$$B({
|
|
1489
|
+
target: "Symbol",
|
|
1490
|
+
stat: true,
|
|
1491
|
+
forced: !NATIVE_SYMBOL_REGISTRY
|
|
1492
|
+
}, {
|
|
1493
|
+
keyFor: function keyFor(sym) {
|
|
1494
|
+
if (!isSymbol$2(sym))
|
|
1495
|
+
throw new TypeError(tryToString$3(sym) + " is not a symbol");
|
|
1496
|
+
if (hasOwn$5(SymbolToStringRegistry, sym))
|
|
1497
|
+
return SymbolToStringRegistry[sym];
|
|
1498
|
+
}
|
|
1499
|
+
});
|
|
1500
|
+
var uncurryThis$b = functionUncurryThis;
|
|
1501
|
+
var arraySlice$2 = uncurryThis$b([].slice);
|
|
1502
|
+
var uncurryThis$a = functionUncurryThis;
|
|
1503
|
+
var isArray$9 = isArray$c;
|
|
1504
|
+
var isCallable$8 = isCallable$k;
|
|
1505
|
+
var classof$4 = classofRaw$2;
|
|
1506
|
+
var toString$5 = toString$8;
|
|
1507
|
+
var push$7 = uncurryThis$a([].push);
|
|
1508
|
+
var getJsonReplacerFunction = function(replacer) {
|
|
1509
|
+
if (isCallable$8(replacer))
|
|
1510
|
+
return replacer;
|
|
1511
|
+
if (!isArray$9(replacer))
|
|
1512
|
+
return;
|
|
1513
|
+
var rawLength = replacer.length;
|
|
1514
|
+
var keys4 = [];
|
|
1515
|
+
for (var i = 0; i < rawLength; i++) {
|
|
1516
|
+
var element = replacer[i];
|
|
1517
|
+
if (typeof element == "string")
|
|
1518
|
+
push$7(keys4, element);
|
|
1519
|
+
else if (typeof element == "number" || classof$4(element) === "Number" || classof$4(element) === "String")
|
|
1520
|
+
push$7(keys4, toString$5(element));
|
|
1521
|
+
}
|
|
1522
|
+
var keysLength = keys4.length;
|
|
1523
|
+
var root = true;
|
|
1524
|
+
return function(key, value) {
|
|
1525
|
+
if (root) {
|
|
1526
|
+
root = false;
|
|
1527
|
+
return value;
|
|
1528
|
+
}
|
|
1529
|
+
if (isArray$9(this))
|
|
1530
|
+
return value;
|
|
1531
|
+
for (var j = 0; j < keysLength; j++)
|
|
1532
|
+
if (keys4[j] === key)
|
|
1533
|
+
return value;
|
|
1534
|
+
};
|
|
1535
|
+
};
|
|
1536
|
+
var $$A = _export;
|
|
1537
|
+
var getBuiltIn$8 = getBuiltIn$e;
|
|
1538
|
+
var apply$1 = functionApply;
|
|
1539
|
+
var call$b = functionCall;
|
|
1540
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
1541
|
+
var fails$d = fails$p;
|
|
1542
|
+
var isCallable$7 = isCallable$k;
|
|
1543
|
+
var isSymbol$1 = isSymbol$5;
|
|
1544
|
+
var arraySlice$1 = arraySlice$2;
|
|
1545
|
+
var getReplacerFunction = getJsonReplacerFunction;
|
|
1546
|
+
var NATIVE_SYMBOL$1 = symbolConstructorDetection;
|
|
1547
|
+
var $String$1 = String;
|
|
1548
|
+
var $stringify = getBuiltIn$8("JSON", "stringify");
|
|
1549
|
+
var exec = uncurryThis$9(/./.exec);
|
|
1550
|
+
var charAt$3 = uncurryThis$9("".charAt);
|
|
1551
|
+
var charCodeAt$1 = uncurryThis$9("".charCodeAt);
|
|
1552
|
+
var replace$2 = uncurryThis$9("".replace);
|
|
1553
|
+
var numberToString = uncurryThis$9(1 .toString);
|
|
1554
|
+
var tester = /[\uD800-\uDFFF]/g;
|
|
1555
|
+
var low = /^[\uD800-\uDBFF]$/;
|
|
1556
|
+
var hi = /^[\uDC00-\uDFFF]$/;
|
|
1557
|
+
var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL$1 || fails$d(function() {
|
|
1558
|
+
var symbol2 = getBuiltIn$8("Symbol")("stringify detection");
|
|
1559
|
+
return $stringify([symbol2]) !== "[null]" || $stringify({
|
|
1560
|
+
a: symbol2
|
|
1561
|
+
}) !== "{}" || $stringify(Object(symbol2)) !== "{}";
|
|
1562
|
+
});
|
|
1563
|
+
var ILL_FORMED_UNICODE = fails$d(function() {
|
|
1564
|
+
return $stringify("\uDF06\uD834") !== '"\\udf06\\ud834"' || $stringify("\uDEAD") !== '"\\udead"';
|
|
1565
|
+
});
|
|
1566
|
+
var stringifyWithSymbolsFix = function(it, replacer) {
|
|
1567
|
+
var args = arraySlice$1(arguments);
|
|
1568
|
+
var $replacer = getReplacerFunction(replacer);
|
|
1569
|
+
if (!isCallable$7($replacer) && (it === void 0 || isSymbol$1(it)))
|
|
1570
|
+
return;
|
|
1571
|
+
args[1] = function(key, value) {
|
|
1572
|
+
if (isCallable$7($replacer))
|
|
1573
|
+
value = call$b($replacer, this, $String$1(key), value);
|
|
1574
|
+
if (!isSymbol$1(value))
|
|
1575
|
+
return value;
|
|
1576
|
+
};
|
|
1577
|
+
return apply$1($stringify, null, args);
|
|
1578
|
+
};
|
|
1579
|
+
var fixIllFormed = function(match2, offset, string) {
|
|
1580
|
+
var prev = charAt$3(string, offset - 1);
|
|
1581
|
+
var next2 = charAt$3(string, offset + 1);
|
|
1582
|
+
if (exec(low, match2) && !exec(hi, next2) || exec(hi, match2) && !exec(low, prev)) {
|
|
1583
|
+
return "\\u" + numberToString(charCodeAt$1(match2, 0), 16);
|
|
1584
|
+
}
|
|
1585
|
+
return match2;
|
|
1586
|
+
};
|
|
1587
|
+
if ($stringify) {
|
|
1588
|
+
$$A({
|
|
1589
|
+
target: "JSON",
|
|
1590
|
+
stat: true,
|
|
1591
|
+
arity: 3,
|
|
1592
|
+
forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE
|
|
1593
|
+
}, {
|
|
1594
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1595
|
+
stringify: function stringify(it, replacer, space) {
|
|
1596
|
+
var args = arraySlice$1(arguments);
|
|
1597
|
+
var result = apply$1(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
|
|
1598
|
+
return ILL_FORMED_UNICODE && typeof result == "string" ? replace$2(result, tester, fixIllFormed) : result;
|
|
1599
|
+
}
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1602
|
+
var $$z = _export;
|
|
1603
|
+
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
1604
|
+
var fails$c = fails$p;
|
|
1605
|
+
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1606
|
+
var toObject$5 = toObject$9;
|
|
1607
|
+
var FORCED$3 = !NATIVE_SYMBOL || fails$c(function() {
|
|
1608
|
+
getOwnPropertySymbolsModule$1.f(1);
|
|
1609
|
+
});
|
|
1610
|
+
$$z({
|
|
1611
|
+
target: "Object",
|
|
1612
|
+
stat: true,
|
|
1613
|
+
forced: FORCED$3
|
|
1614
|
+
}, {
|
|
1615
|
+
getOwnPropertySymbols: function getOwnPropertySymbols(it) {
|
|
1616
|
+
var $getOwnPropertySymbols2 = getOwnPropertySymbolsModule$1.f;
|
|
1617
|
+
return $getOwnPropertySymbols2 ? $getOwnPropertySymbols2(toObject$5(it)) : [];
|
|
1618
|
+
}
|
|
1619
|
+
});
|
|
1620
|
+
var defineWellKnownSymbol$k = wellKnownSymbolDefine;
|
|
1621
|
+
defineWellKnownSymbol$k("asyncIterator");
|
|
1622
|
+
var defineWellKnownSymbol$j = wellKnownSymbolDefine;
|
|
1623
|
+
defineWellKnownSymbol$j("hasInstance");
|
|
1624
|
+
var defineWellKnownSymbol$i = wellKnownSymbolDefine;
|
|
1625
|
+
defineWellKnownSymbol$i("isConcatSpreadable");
|
|
1626
|
+
var defineWellKnownSymbol$h = wellKnownSymbolDefine;
|
|
1627
|
+
defineWellKnownSymbol$h("iterator");
|
|
1628
|
+
var defineWellKnownSymbol$g = wellKnownSymbolDefine;
|
|
1629
|
+
defineWellKnownSymbol$g("match");
|
|
1630
|
+
var defineWellKnownSymbol$f = wellKnownSymbolDefine;
|
|
1631
|
+
defineWellKnownSymbol$f("matchAll");
|
|
1632
|
+
var defineWellKnownSymbol$e = wellKnownSymbolDefine;
|
|
1633
|
+
defineWellKnownSymbol$e("replace");
|
|
1634
|
+
var defineWellKnownSymbol$d = wellKnownSymbolDefine;
|
|
1635
|
+
defineWellKnownSymbol$d("search");
|
|
1636
|
+
var defineWellKnownSymbol$c = wellKnownSymbolDefine;
|
|
1637
|
+
defineWellKnownSymbol$c("species");
|
|
1638
|
+
var defineWellKnownSymbol$b = wellKnownSymbolDefine;
|
|
1639
|
+
defineWellKnownSymbol$b("split");
|
|
1640
|
+
var defineWellKnownSymbol$a = wellKnownSymbolDefine;
|
|
1641
|
+
var defineSymbolToPrimitive = symbolDefineToPrimitive;
|
|
1642
|
+
defineWellKnownSymbol$a("toPrimitive");
|
|
1643
|
+
defineSymbolToPrimitive();
|
|
1644
|
+
var getBuiltIn$7 = getBuiltIn$e;
|
|
1645
|
+
var defineWellKnownSymbol$9 = wellKnownSymbolDefine;
|
|
1646
|
+
var setToStringTag$4 = setToStringTag$6;
|
|
1647
|
+
defineWellKnownSymbol$9("toStringTag");
|
|
1648
|
+
setToStringTag$4(getBuiltIn$7("Symbol"), "Symbol");
|
|
1649
|
+
var defineWellKnownSymbol$8 = wellKnownSymbolDefine;
|
|
1650
|
+
defineWellKnownSymbol$8("unscopables");
|
|
1651
|
+
var global$a = global$m;
|
|
1652
|
+
var setToStringTag$3 = setToStringTag$6;
|
|
1653
|
+
setToStringTag$3(global$a.JSON, "JSON", true);
|
|
1654
|
+
var path$d = path$i;
|
|
1655
|
+
var symbol$4 = path$d.Symbol;
|
|
1656
|
+
var iterators = {};
|
|
1657
|
+
var DESCRIPTORS$6 = descriptors;
|
|
1658
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
1659
|
+
var FunctionPrototype$1 = Function.prototype;
|
|
1660
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
1661
|
+
var EXISTS = hasOwn$4(FunctionPrototype$1, "name");
|
|
1662
|
+
var PROPER = EXISTS && (function something() {
|
|
1663
|
+
}).name === "something";
|
|
1664
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || DESCRIPTORS$6 && getDescriptor(FunctionPrototype$1, "name").configurable);
|
|
1665
|
+
var functionName = {
|
|
1666
|
+
EXISTS,
|
|
1667
|
+
PROPER,
|
|
1668
|
+
CONFIGURABLE
|
|
1669
|
+
};
|
|
1670
|
+
var fails$b = fails$p;
|
|
1671
|
+
var correctPrototypeGetter = !fails$b(function() {
|
|
1672
|
+
function F() {
|
|
1673
|
+
}
|
|
1674
|
+
F.prototype.constructor = null;
|
|
1675
|
+
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1676
|
+
});
|
|
1677
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
1678
|
+
var isCallable$6 = isCallable$k;
|
|
1679
|
+
var toObject$4 = toObject$9;
|
|
1680
|
+
var sharedKey = sharedKey$4;
|
|
1681
|
+
var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter;
|
|
1682
|
+
var IE_PROTO = sharedKey("IE_PROTO");
|
|
1683
|
+
var $Object = Object;
|
|
1684
|
+
var ObjectPrototype = $Object.prototype;
|
|
1685
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER$1 ? $Object.getPrototypeOf : function(O) {
|
|
1686
|
+
var object = toObject$4(O);
|
|
1687
|
+
if (hasOwn$3(object, IE_PROTO))
|
|
1688
|
+
return object[IE_PROTO];
|
|
1689
|
+
var constructor = object.constructor;
|
|
1690
|
+
if (isCallable$6(constructor) && object instanceof constructor) {
|
|
1691
|
+
return constructor.prototype;
|
|
1692
|
+
}
|
|
1693
|
+
return object instanceof $Object ? ObjectPrototype : null;
|
|
1694
|
+
};
|
|
1695
|
+
var fails$a = fails$p;
|
|
1696
|
+
var isCallable$5 = isCallable$k;
|
|
1697
|
+
var isObject$4 = isObject$c;
|
|
1698
|
+
var create$8 = objectCreate;
|
|
1699
|
+
var getPrototypeOf$7 = objectGetPrototypeOf;
|
|
1700
|
+
var defineBuiltIn$2 = defineBuiltIn$5;
|
|
1701
|
+
var wellKnownSymbol$c = wellKnownSymbol$n;
|
|
1702
|
+
var ITERATOR$5 = wellKnownSymbol$c("iterator");
|
|
1703
|
+
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
1704
|
+
var IteratorPrototype$1, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1705
|
+
if ([].keys) {
|
|
1706
|
+
arrayIterator = [].keys();
|
|
1707
|
+
if (!("next" in arrayIterator))
|
|
1708
|
+
BUGGY_SAFARI_ITERATORS$1 = true;
|
|
1709
|
+
else {
|
|
1710
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$7(getPrototypeOf$7(arrayIterator));
|
|
1711
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype)
|
|
1712
|
+
IteratorPrototype$1 = PrototypeOfArrayIteratorPrototype;
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$4(IteratorPrototype$1) || fails$a(function() {
|
|
1716
|
+
var test2 = {};
|
|
1717
|
+
return IteratorPrototype$1[ITERATOR$5].call(test2) !== test2;
|
|
1718
|
+
});
|
|
1719
|
+
if (NEW_ITERATOR_PROTOTYPE)
|
|
1720
|
+
IteratorPrototype$1 = {};
|
|
1721
|
+
else
|
|
1722
|
+
IteratorPrototype$1 = create$8(IteratorPrototype$1);
|
|
1723
|
+
if (!isCallable$5(IteratorPrototype$1[ITERATOR$5])) {
|
|
1724
|
+
defineBuiltIn$2(IteratorPrototype$1, ITERATOR$5, function() {
|
|
1725
|
+
return this;
|
|
1726
|
+
});
|
|
1727
|
+
}
|
|
1728
|
+
var iteratorsCore = {
|
|
1729
|
+
IteratorPrototype: IteratorPrototype$1,
|
|
1730
|
+
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
1731
|
+
};
|
|
1732
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
1733
|
+
var create$7 = objectCreate;
|
|
1734
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$7;
|
|
1735
|
+
var setToStringTag$2 = setToStringTag$6;
|
|
1736
|
+
var Iterators$5 = iterators;
|
|
1737
|
+
var returnThis$1 = function() {
|
|
1738
|
+
return this;
|
|
1739
|
+
};
|
|
1740
|
+
var iteratorCreateConstructor = function(IteratorConstructor, NAME, next2, ENUMERABLE_NEXT) {
|
|
1741
|
+
var TO_STRING_TAG2 = NAME + " Iterator";
|
|
1742
|
+
IteratorConstructor.prototype = create$7(IteratorPrototype, {
|
|
1743
|
+
next: createPropertyDescriptor$2(+!ENUMERABLE_NEXT, next2)
|
|
1744
|
+
});
|
|
1745
|
+
setToStringTag$2(IteratorConstructor, TO_STRING_TAG2, false, true);
|
|
1746
|
+
Iterators$5[TO_STRING_TAG2] = returnThis$1;
|
|
1747
|
+
return IteratorConstructor;
|
|
1748
|
+
};
|
|
1749
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
1750
|
+
var aCallable$7 = aCallable$a;
|
|
1751
|
+
var functionUncurryThisAccessor = function(object, key, method2) {
|
|
1752
|
+
try {
|
|
1753
|
+
return uncurryThis$8(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method2]));
|
|
1754
|
+
} catch (error) {
|
|
1755
|
+
}
|
|
1756
|
+
};
|
|
1757
|
+
var isCallable$4 = isCallable$k;
|
|
1758
|
+
var $String = String;
|
|
1759
|
+
var $TypeError$7 = TypeError;
|
|
1760
|
+
var aPossiblePrototype$1 = function(argument) {
|
|
1761
|
+
if (typeof argument == "object" || isCallable$4(argument))
|
|
1762
|
+
return argument;
|
|
1763
|
+
throw new $TypeError$7("Can't set " + $String(argument) + " as a prototype");
|
|
1764
|
+
};
|
|
1765
|
+
var uncurryThisAccessor = functionUncurryThisAccessor;
|
|
1766
|
+
var anObject$7 = anObject$c;
|
|
1767
|
+
var aPossiblePrototype = aPossiblePrototype$1;
|
|
1768
|
+
var objectSetPrototypeOf = Object.setPrototypeOf || ("__proto__" in {} ? function() {
|
|
1769
|
+
var CORRECT_SETTER = false;
|
|
1770
|
+
var test2 = {};
|
|
1771
|
+
var setter;
|
|
1772
|
+
try {
|
|
1773
|
+
setter = uncurryThisAccessor(Object.prototype, "__proto__", "set");
|
|
1774
|
+
setter(test2, []);
|
|
1775
|
+
CORRECT_SETTER = test2 instanceof Array;
|
|
1776
|
+
} catch (error) {
|
|
1777
|
+
}
|
|
1778
|
+
return function setPrototypeOf2(O, proto) {
|
|
1779
|
+
anObject$7(O);
|
|
1780
|
+
aPossiblePrototype(proto);
|
|
1781
|
+
if (CORRECT_SETTER)
|
|
1782
|
+
setter(O, proto);
|
|
1783
|
+
else
|
|
1784
|
+
O.__proto__ = proto;
|
|
1785
|
+
return O;
|
|
1786
|
+
};
|
|
1787
|
+
}() : void 0);
|
|
1788
|
+
var $$y = _export;
|
|
1789
|
+
var call$a = functionCall;
|
|
1790
|
+
var FunctionName = functionName;
|
|
1791
|
+
var createIteratorConstructor = iteratorCreateConstructor;
|
|
1792
|
+
var getPrototypeOf$6 = objectGetPrototypeOf;
|
|
1793
|
+
var setToStringTag$1 = setToStringTag$6;
|
|
1794
|
+
var defineBuiltIn$1 = defineBuiltIn$5;
|
|
1795
|
+
var wellKnownSymbol$b = wellKnownSymbol$n;
|
|
1796
|
+
var Iterators$4 = iterators;
|
|
1797
|
+
var IteratorsCore = iteratorsCore;
|
|
1798
|
+
var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
|
|
1799
|
+
FunctionName.CONFIGURABLE;
|
|
1800
|
+
IteratorsCore.IteratorPrototype;
|
|
1801
|
+
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
1802
|
+
var ITERATOR$4 = wellKnownSymbol$b("iterator");
|
|
1803
|
+
var KEYS = "keys";
|
|
1804
|
+
var VALUES = "values";
|
|
1805
|
+
var ENTRIES = "entries";
|
|
1806
|
+
var returnThis = function() {
|
|
1807
|
+
return this;
|
|
1808
|
+
};
|
|
1809
|
+
var iteratorDefine = function(Iterable, NAME, IteratorConstructor, next2, DEFAULT, IS_SET, FORCED2) {
|
|
1810
|
+
createIteratorConstructor(IteratorConstructor, NAME, next2);
|
|
1811
|
+
var getIterationMethod = function(KIND) {
|
|
1812
|
+
if (KIND === DEFAULT && defaultIterator)
|
|
1813
|
+
return defaultIterator;
|
|
1814
|
+
if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype)
|
|
1815
|
+
return IterablePrototype[KIND];
|
|
1816
|
+
switch (KIND) {
|
|
1817
|
+
case KEYS:
|
|
1818
|
+
return function keys4() {
|
|
1819
|
+
return new IteratorConstructor(this, KIND);
|
|
1820
|
+
};
|
|
1821
|
+
case VALUES:
|
|
1822
|
+
return function values() {
|
|
1823
|
+
return new IteratorConstructor(this, KIND);
|
|
1824
|
+
};
|
|
1825
|
+
case ENTRIES:
|
|
1826
|
+
return function entries() {
|
|
1827
|
+
return new IteratorConstructor(this, KIND);
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
return function() {
|
|
1831
|
+
return new IteratorConstructor(this);
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
var TO_STRING_TAG2 = NAME + " Iterator";
|
|
1835
|
+
var INCORRECT_VALUES_NAME = false;
|
|
1836
|
+
var IterablePrototype = Iterable.prototype;
|
|
1837
|
+
var nativeIterator = IterablePrototype[ITERATOR$4] || IterablePrototype["@@iterator"] || DEFAULT && IterablePrototype[DEFAULT];
|
|
1838
|
+
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
1839
|
+
var anyNativeIterator = NAME === "Array" ? IterablePrototype.entries || nativeIterator : nativeIterator;
|
|
1840
|
+
var CurrentIteratorPrototype, methods, KEY;
|
|
1841
|
+
if (anyNativeIterator) {
|
|
1842
|
+
CurrentIteratorPrototype = getPrototypeOf$6(anyNativeIterator.call(new Iterable()));
|
|
1843
|
+
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
1844
|
+
setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG2, true, true);
|
|
1845
|
+
Iterators$4[TO_STRING_TAG2] = returnThis;
|
|
1846
|
+
}
|
|
1847
|
+
}
|
|
1848
|
+
if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
|
|
1849
|
+
{
|
|
1850
|
+
INCORRECT_VALUES_NAME = true;
|
|
1851
|
+
defaultIterator = function values() {
|
|
1852
|
+
return call$a(nativeIterator, this);
|
|
1853
|
+
};
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
if (DEFAULT) {
|
|
1857
|
+
methods = {
|
|
1858
|
+
values: getIterationMethod(VALUES),
|
|
1859
|
+
keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
|
|
1860
|
+
entries: getIterationMethod(ENTRIES)
|
|
1861
|
+
};
|
|
1862
|
+
if (FORCED2)
|
|
1863
|
+
for (KEY in methods) {
|
|
1864
|
+
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
1865
|
+
defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
else
|
|
1869
|
+
$$y({
|
|
1870
|
+
target: NAME,
|
|
1871
|
+
proto: true,
|
|
1872
|
+
forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME
|
|
1873
|
+
}, methods);
|
|
1874
|
+
}
|
|
1875
|
+
if (FORCED2 && IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
1876
|
+
defineBuiltIn$1(IterablePrototype, ITERATOR$4, defaultIterator, {
|
|
1877
|
+
name: DEFAULT
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
Iterators$4[NAME] = defaultIterator;
|
|
1881
|
+
return methods;
|
|
1882
|
+
};
|
|
1883
|
+
var createIterResultObject$2 = function(value, done) {
|
|
1884
|
+
return {
|
|
1885
|
+
value,
|
|
1886
|
+
done
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
var toIndexedObject$3 = toIndexedObject$a;
|
|
1890
|
+
var Iterators$3 = iterators;
|
|
1891
|
+
var InternalStateModule$2 = internalState;
|
|
1892
|
+
objectDefineProperty.f;
|
|
1893
|
+
var defineIterator$1 = iteratorDefine;
|
|
1894
|
+
var createIterResultObject$1 = createIterResultObject$2;
|
|
1895
|
+
var ARRAY_ITERATOR = "Array Iterator";
|
|
1896
|
+
var setInternalState$2 = InternalStateModule$2.set;
|
|
1897
|
+
var getInternalState$1 = InternalStateModule$2.getterFor(ARRAY_ITERATOR);
|
|
1898
|
+
defineIterator$1(Array, "Array", function(iterated, kind) {
|
|
1899
|
+
setInternalState$2(this, {
|
|
1900
|
+
type: ARRAY_ITERATOR,
|
|
1901
|
+
target: toIndexedObject$3(iterated),
|
|
1902
|
+
// target
|
|
1903
|
+
index: 0,
|
|
1904
|
+
// next index
|
|
1905
|
+
kind
|
|
1906
|
+
// kind
|
|
1907
|
+
});
|
|
1908
|
+
}, function() {
|
|
1909
|
+
var state = getInternalState$1(this);
|
|
1910
|
+
var target = state.target;
|
|
1911
|
+
var index = state.index++;
|
|
1912
|
+
if (!target || index >= target.length) {
|
|
1913
|
+
state.target = void 0;
|
|
1914
|
+
return createIterResultObject$1(void 0, true);
|
|
1915
|
+
}
|
|
1916
|
+
switch (state.kind) {
|
|
1917
|
+
case "keys":
|
|
1918
|
+
return createIterResultObject$1(index, false);
|
|
1919
|
+
case "values":
|
|
1920
|
+
return createIterResultObject$1(target[index], false);
|
|
1921
|
+
}
|
|
1922
|
+
return createIterResultObject$1([index, target[index]], false);
|
|
1923
|
+
}, "values");
|
|
1924
|
+
Iterators$3.Arguments = Iterators$3.Array;
|
|
1925
|
+
var domIterables = {
|
|
1926
|
+
CSSRuleList: 0,
|
|
1927
|
+
CSSStyleDeclaration: 0,
|
|
1928
|
+
CSSValueList: 0,
|
|
1929
|
+
ClientRectList: 0,
|
|
1930
|
+
DOMRectList: 0,
|
|
1931
|
+
DOMStringList: 0,
|
|
1932
|
+
DOMTokenList: 1,
|
|
1933
|
+
DataTransferItemList: 0,
|
|
1934
|
+
FileList: 0,
|
|
1935
|
+
HTMLAllCollection: 0,
|
|
1936
|
+
HTMLCollection: 0,
|
|
1937
|
+
HTMLFormElement: 0,
|
|
1938
|
+
HTMLSelectElement: 0,
|
|
1939
|
+
MediaList: 0,
|
|
1940
|
+
MimeTypeArray: 0,
|
|
1941
|
+
NamedNodeMap: 0,
|
|
1942
|
+
NodeList: 1,
|
|
1943
|
+
PaintRequestList: 0,
|
|
1944
|
+
Plugin: 0,
|
|
1945
|
+
PluginArray: 0,
|
|
1946
|
+
SVGLengthList: 0,
|
|
1947
|
+
SVGNumberList: 0,
|
|
1948
|
+
SVGPathSegList: 0,
|
|
1949
|
+
SVGPointList: 0,
|
|
1950
|
+
SVGStringList: 0,
|
|
1951
|
+
SVGTransformList: 0,
|
|
1952
|
+
SourceBufferList: 0,
|
|
1953
|
+
StyleSheetList: 0,
|
|
1954
|
+
TextTrackCueList: 0,
|
|
1955
|
+
TextTrackList: 0,
|
|
1956
|
+
TouchList: 0
|
|
1957
|
+
};
|
|
1958
|
+
var DOMIterables$1 = domIterables;
|
|
1959
|
+
var global$9 = global$m;
|
|
1960
|
+
var classof$3 = classof$9;
|
|
1961
|
+
var createNonEnumerableProperty$3 = createNonEnumerableProperty$8;
|
|
1962
|
+
var Iterators$2 = iterators;
|
|
1963
|
+
var wellKnownSymbol$a = wellKnownSymbol$n;
|
|
1964
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$a("toStringTag");
|
|
1965
|
+
for (var COLLECTION_NAME in DOMIterables$1) {
|
|
1966
|
+
var Collection = global$9[COLLECTION_NAME];
|
|
1967
|
+
var CollectionPrototype = Collection && Collection.prototype;
|
|
1968
|
+
if (CollectionPrototype && classof$3(CollectionPrototype) !== TO_STRING_TAG$1) {
|
|
1969
|
+
createNonEnumerableProperty$3(CollectionPrototype, TO_STRING_TAG$1, COLLECTION_NAME);
|
|
1970
|
+
}
|
|
1971
|
+
Iterators$2[COLLECTION_NAME] = Iterators$2.Array;
|
|
1972
|
+
}
|
|
1973
|
+
var parent$1a = symbol$4;
|
|
1974
|
+
var symbol$3 = parent$1a;
|
|
1975
|
+
var wellKnownSymbol$9 = wellKnownSymbol$n;
|
|
1976
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
1977
|
+
var METADATA = wellKnownSymbol$9("metadata");
|
|
1978
|
+
var FunctionPrototype = Function.prototype;
|
|
1979
|
+
if (FunctionPrototype[METADATA] === void 0) {
|
|
1980
|
+
defineProperty$1(FunctionPrototype, METADATA, {
|
|
1981
|
+
value: null
|
|
1982
|
+
});
|
|
1983
|
+
}
|
|
1984
|
+
var defineWellKnownSymbol$7 = wellKnownSymbolDefine;
|
|
1985
|
+
defineWellKnownSymbol$7("asyncDispose");
|
|
1986
|
+
var defineWellKnownSymbol$6 = wellKnownSymbolDefine;
|
|
1987
|
+
defineWellKnownSymbol$6("dispose");
|
|
1988
|
+
var defineWellKnownSymbol$5 = wellKnownSymbolDefine;
|
|
1989
|
+
defineWellKnownSymbol$5("metadata");
|
|
1990
|
+
var parent$19 = symbol$3;
|
|
1991
|
+
var symbol$2 = parent$19;
|
|
1992
|
+
var getBuiltIn$6 = getBuiltIn$e;
|
|
1993
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
1994
|
+
var Symbol$3 = getBuiltIn$6("Symbol");
|
|
1995
|
+
var keyFor2 = Symbol$3.keyFor;
|
|
1996
|
+
var thisSymbolValue$1 = uncurryThis$7(Symbol$3.prototype.valueOf);
|
|
1997
|
+
var symbolIsRegistered = Symbol$3.isRegisteredSymbol || function isRegisteredSymbol(value) {
|
|
1998
|
+
try {
|
|
1999
|
+
return keyFor2(thisSymbolValue$1(value)) !== void 0;
|
|
2000
|
+
} catch (error) {
|
|
2001
|
+
return false;
|
|
2002
|
+
}
|
|
2003
|
+
};
|
|
2004
|
+
var $$x = _export;
|
|
2005
|
+
var isRegisteredSymbol$1 = symbolIsRegistered;
|
|
2006
|
+
$$x({
|
|
2007
|
+
target: "Symbol",
|
|
2008
|
+
stat: true
|
|
2009
|
+
}, {
|
|
2010
|
+
isRegisteredSymbol: isRegisteredSymbol$1
|
|
2011
|
+
});
|
|
2012
|
+
var shared = sharedExports;
|
|
2013
|
+
var getBuiltIn$5 = getBuiltIn$e;
|
|
2014
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
2015
|
+
var isSymbol = isSymbol$5;
|
|
2016
|
+
var wellKnownSymbol$8 = wellKnownSymbol$n;
|
|
2017
|
+
var Symbol$2 = getBuiltIn$5("Symbol");
|
|
2018
|
+
var $isWellKnownSymbol = Symbol$2.isWellKnownSymbol;
|
|
2019
|
+
var getOwnPropertyNames4 = getBuiltIn$5("Object", "getOwnPropertyNames");
|
|
2020
|
+
var thisSymbolValue = uncurryThis$6(Symbol$2.prototype.valueOf);
|
|
2021
|
+
var WellKnownSymbolsStore = shared("wks");
|
|
2022
|
+
for (var i = 0, symbolKeys = getOwnPropertyNames4(Symbol$2), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
|
|
2023
|
+
try {
|
|
2024
|
+
var symbolKey = symbolKeys[i];
|
|
2025
|
+
if (isSymbol(Symbol$2[symbolKey]))
|
|
2026
|
+
wellKnownSymbol$8(symbolKey);
|
|
2027
|
+
} catch (error) {
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
var symbolIsWellKnown = function isWellKnownSymbol(value) {
|
|
2031
|
+
if ($isWellKnownSymbol && $isWellKnownSymbol(value))
|
|
2032
|
+
return true;
|
|
2033
|
+
try {
|
|
2034
|
+
var symbol2 = thisSymbolValue(value);
|
|
2035
|
+
for (var j = 0, keys4 = getOwnPropertyNames4(WellKnownSymbolsStore), keysLength = keys4.length; j < keysLength; j++) {
|
|
2036
|
+
if (WellKnownSymbolsStore[keys4[j]] == symbol2)
|
|
2037
|
+
return true;
|
|
2038
|
+
}
|
|
2039
|
+
} catch (error) {
|
|
2040
|
+
}
|
|
2041
|
+
return false;
|
|
2042
|
+
};
|
|
2043
|
+
var $$w = _export;
|
|
2044
|
+
var isWellKnownSymbol$1 = symbolIsWellKnown;
|
|
2045
|
+
$$w({
|
|
2046
|
+
target: "Symbol",
|
|
2047
|
+
stat: true,
|
|
2048
|
+
forced: true
|
|
2049
|
+
}, {
|
|
2050
|
+
isWellKnownSymbol: isWellKnownSymbol$1
|
|
2051
|
+
});
|
|
2052
|
+
var defineWellKnownSymbol$4 = wellKnownSymbolDefine;
|
|
2053
|
+
defineWellKnownSymbol$4("matcher");
|
|
2054
|
+
var defineWellKnownSymbol$3 = wellKnownSymbolDefine;
|
|
2055
|
+
defineWellKnownSymbol$3("observable");
|
|
2056
|
+
var $$v = _export;
|
|
2057
|
+
var isRegisteredSymbol2 = symbolIsRegistered;
|
|
2058
|
+
$$v({
|
|
2059
|
+
target: "Symbol",
|
|
2060
|
+
stat: true,
|
|
2061
|
+
name: "isRegisteredSymbol"
|
|
2062
|
+
}, {
|
|
2063
|
+
isRegistered: isRegisteredSymbol2
|
|
2064
|
+
});
|
|
2065
|
+
var $$u = _export;
|
|
2066
|
+
var isWellKnownSymbol2 = symbolIsWellKnown;
|
|
2067
|
+
$$u({
|
|
2068
|
+
target: "Symbol",
|
|
2069
|
+
stat: true,
|
|
2070
|
+
name: "isWellKnownSymbol",
|
|
2071
|
+
forced: true
|
|
2072
|
+
}, {
|
|
2073
|
+
isWellKnown: isWellKnownSymbol2
|
|
2074
|
+
});
|
|
2075
|
+
var defineWellKnownSymbol$2 = wellKnownSymbolDefine;
|
|
2076
|
+
defineWellKnownSymbol$2("metadataKey");
|
|
2077
|
+
var defineWellKnownSymbol$1 = wellKnownSymbolDefine;
|
|
2078
|
+
defineWellKnownSymbol$1("patternMatch");
|
|
2079
|
+
var defineWellKnownSymbol = wellKnownSymbolDefine;
|
|
2080
|
+
defineWellKnownSymbol("replaceAll");
|
|
2081
|
+
var parent$18 = symbol$2;
|
|
2082
|
+
var symbol$1 = parent$18;
|
|
2083
|
+
var symbol = symbol$1;
|
|
2084
|
+
const _Symbol = /* @__PURE__ */ getDefaultExportFromCjs(symbol);
|
|
2085
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
2086
|
+
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2087
|
+
var toString$4 = toString$8;
|
|
2088
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
2089
|
+
var charAt$2 = uncurryThis$5("".charAt);
|
|
2090
|
+
var charCodeAt = uncurryThis$5("".charCodeAt);
|
|
2091
|
+
var stringSlice = uncurryThis$5("".slice);
|
|
2092
|
+
var createMethod$1 = function(CONVERT_TO_STRING) {
|
|
2093
|
+
return function($this, pos) {
|
|
2094
|
+
var S = toString$4(requireObjectCoercible$1($this));
|
|
2095
|
+
var position = toIntegerOrInfinity(pos);
|
|
2096
|
+
var size = S.length;
|
|
2097
|
+
var first, second;
|
|
2098
|
+
if (position < 0 || position >= size)
|
|
2099
|
+
return CONVERT_TO_STRING ? "" : void 0;
|
|
2100
|
+
first = charCodeAt(S, position);
|
|
2101
|
+
return first < 55296 || first > 56319 || position + 1 === size || (second = charCodeAt(S, position + 1)) < 56320 || second > 57343 ? CONVERT_TO_STRING ? charAt$2(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 55296 << 10) + (second - 56320) + 65536;
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
var stringMultibyte = {
|
|
2105
|
+
// `String.prototype.codePointAt` method
|
|
2106
|
+
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
2107
|
+
codeAt: createMethod$1(false),
|
|
2108
|
+
// `String.prototype.at` method
|
|
2109
|
+
// https://github.com/mathiasbynens/String.prototype.at
|
|
2110
|
+
charAt: createMethod$1(true)
|
|
2111
|
+
};
|
|
2112
|
+
var charAt$1 = stringMultibyte.charAt;
|
|
2113
|
+
var toString$3 = toString$8;
|
|
2114
|
+
var InternalStateModule$1 = internalState;
|
|
2115
|
+
var defineIterator = iteratorDefine;
|
|
2116
|
+
var createIterResultObject = createIterResultObject$2;
|
|
2117
|
+
var STRING_ITERATOR = "String Iterator";
|
|
2118
|
+
var setInternalState$1 = InternalStateModule$1.set;
|
|
2119
|
+
var getInternalState = InternalStateModule$1.getterFor(STRING_ITERATOR);
|
|
2120
|
+
defineIterator(String, "String", function(iterated) {
|
|
2121
|
+
setInternalState$1(this, {
|
|
2122
|
+
type: STRING_ITERATOR,
|
|
2123
|
+
string: toString$3(iterated),
|
|
2124
|
+
index: 0
|
|
2125
|
+
});
|
|
2126
|
+
}, function next() {
|
|
2127
|
+
var state = getInternalState(this);
|
|
2128
|
+
var string = state.string;
|
|
2129
|
+
var index = state.index;
|
|
2130
|
+
var point;
|
|
2131
|
+
if (index >= string.length)
|
|
2132
|
+
return createIterResultObject(void 0, true);
|
|
2133
|
+
point = charAt$1(string, index);
|
|
2134
|
+
state.index += point.length;
|
|
2135
|
+
return createIterResultObject(point, false);
|
|
2136
|
+
});
|
|
2137
|
+
var WrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped;
|
|
2138
|
+
var iterator$4 = WrappedWellKnownSymbolModule$1.f("iterator");
|
|
2139
|
+
var parent$17 = iterator$4;
|
|
2140
|
+
var iterator$3 = parent$17;
|
|
2141
|
+
var parent$16 = iterator$3;
|
|
2142
|
+
var iterator$2 = parent$16;
|
|
2143
|
+
var parent$15 = iterator$2;
|
|
2144
|
+
var iterator$1 = parent$15;
|
|
2145
|
+
var iterator = iterator$1;
|
|
2146
|
+
const _Symbol$iterator = /* @__PURE__ */ getDefaultExportFromCjs(iterator);
|
|
2147
|
+
function _typeof$1(o) {
|
|
2148
|
+
"@babel/helpers - typeof";
|
|
2149
|
+
return _typeof$1 = "function" == typeof _Symbol && "symbol" == typeof _Symbol$iterator ? function(o2) {
|
|
2150
|
+
return typeof o2;
|
|
2151
|
+
} : function(o2) {
|
|
2152
|
+
return o2 && "function" == typeof _Symbol && o2.constructor === _Symbol && o2 !== _Symbol.prototype ? "symbol" : typeof o2;
|
|
2153
|
+
}, _typeof$1(o);
|
|
2154
|
+
}
|
|
2155
|
+
var WrappedWellKnownSymbolModule = wellKnownSymbolWrapped;
|
|
2156
|
+
var toPrimitive$4 = WrappedWellKnownSymbolModule.f("toPrimitive");
|
|
2157
|
+
var parent$14 = toPrimitive$4;
|
|
2158
|
+
var toPrimitive$3 = parent$14;
|
|
2159
|
+
var parent$13 = toPrimitive$3;
|
|
2160
|
+
var toPrimitive$2 = parent$13;
|
|
2161
|
+
var parent$12 = toPrimitive$2;
|
|
2162
|
+
var toPrimitive$1 = parent$12;
|
|
2163
|
+
var toPrimitive = toPrimitive$1;
|
|
2164
|
+
const _Symbol$toPrimitive = /* @__PURE__ */ getDefaultExportFromCjs(toPrimitive);
|
|
2165
|
+
function _toPrimitive(input, hint) {
|
|
2166
|
+
if (_typeof$1(input) !== "object" || input === null)
|
|
2167
|
+
return input;
|
|
2168
|
+
var prim = input[_Symbol$toPrimitive];
|
|
2169
|
+
if (prim !== void 0) {
|
|
2170
|
+
var res = prim.call(input, hint || "default");
|
|
2171
|
+
if (_typeof$1(res) !== "object")
|
|
2172
|
+
return res;
|
|
2173
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
2174
|
+
}
|
|
2175
|
+
return (hint === "string" ? String : Number)(input);
|
|
2176
|
+
}
|
|
2177
|
+
function _toPropertyKey(arg) {
|
|
2178
|
+
var key = _toPrimitive(arg, "string");
|
|
2179
|
+
return _typeof$1(key) === "symbol" ? key : String(key);
|
|
2180
|
+
}
|
|
2181
|
+
function _defineProperty(obj, key, value) {
|
|
2182
|
+
key = _toPropertyKey(key);
|
|
2183
|
+
if (key in obj) {
|
|
2184
|
+
_Object$defineProperty$1(obj, key, {
|
|
2185
|
+
value,
|
|
2186
|
+
enumerable: true,
|
|
2187
|
+
configurable: true,
|
|
2188
|
+
writable: true
|
|
2189
|
+
});
|
|
2190
|
+
} else {
|
|
2191
|
+
obj[key] = value;
|
|
2192
|
+
}
|
|
2193
|
+
return obj;
|
|
2194
|
+
}
|
|
2195
|
+
var $$t = _export;
|
|
2196
|
+
var isArray$8 = isArray$c;
|
|
2197
|
+
$$t({
|
|
2198
|
+
target: "Array",
|
|
2199
|
+
stat: true
|
|
2200
|
+
}, {
|
|
2201
|
+
isArray: isArray$8
|
|
2202
|
+
});
|
|
2203
|
+
var path$c = path$i;
|
|
2204
|
+
var isArray$7 = path$c.Array.isArray;
|
|
2205
|
+
var parent$11 = isArray$7;
|
|
2206
|
+
var isArray$6 = parent$11;
|
|
2207
|
+
var parent$10 = isArray$6;
|
|
2208
|
+
var isArray$5 = parent$10;
|
|
2209
|
+
var parent$$ = isArray$5;
|
|
2210
|
+
var isArray$4 = parent$$;
|
|
2211
|
+
var isArray$3 = isArray$4;
|
|
2212
|
+
const _Array$isArray = /* @__PURE__ */ getDefaultExportFromCjs(isArray$3);
|
|
2213
|
+
function _arrayLikeToArray(arr, len) {
|
|
2214
|
+
if (len == null || len > arr.length)
|
|
2215
|
+
len = arr.length;
|
|
2216
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
2217
|
+
arr2[i] = arr[i];
|
|
2218
|
+
return arr2;
|
|
2219
|
+
}
|
|
2220
|
+
function _arrayWithoutHoles(arr) {
|
|
2221
|
+
if (_Array$isArray(arr))
|
|
2222
|
+
return _arrayLikeToArray(arr);
|
|
2223
|
+
}
|
|
2224
|
+
var classof$2 = classof$9;
|
|
2225
|
+
var getMethod$1 = getMethod$3;
|
|
2226
|
+
var isNullOrUndefined$1 = isNullOrUndefined$4;
|
|
2227
|
+
var Iterators$1 = iterators;
|
|
2228
|
+
var wellKnownSymbol$7 = wellKnownSymbol$n;
|
|
2229
|
+
var ITERATOR$3 = wellKnownSymbol$7("iterator");
|
|
2230
|
+
var getIteratorMethod$8 = function(it) {
|
|
2231
|
+
if (!isNullOrUndefined$1(it))
|
|
2232
|
+
return getMethod$1(it, ITERATOR$3) || getMethod$1(it, "@@iterator") || Iterators$1[classof$2(it)];
|
|
2233
|
+
};
|
|
2234
|
+
var getIteratorMethod$7 = getIteratorMethod$8;
|
|
2235
|
+
var getIteratorMethod_1 = getIteratorMethod$7;
|
|
2236
|
+
var parent$_ = getIteratorMethod_1;
|
|
2237
|
+
var getIteratorMethod$6 = parent$_;
|
|
2238
|
+
var parent$Z = getIteratorMethod$6;
|
|
2239
|
+
var getIteratorMethod$5 = parent$Z;
|
|
2240
|
+
var parent$Y = getIteratorMethod$5;
|
|
2241
|
+
var getIteratorMethod$4 = parent$Y;
|
|
2242
|
+
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
2243
|
+
const _getIteratorMethod = /* @__PURE__ */ getDefaultExportFromCjs(getIteratorMethod$3);
|
|
2244
|
+
var call$9 = functionCall;
|
|
2245
|
+
var anObject$6 = anObject$c;
|
|
2246
|
+
var getMethod = getMethod$3;
|
|
2247
|
+
var iteratorClose$2 = function(iterator2, kind, value) {
|
|
2248
|
+
var innerResult, innerError;
|
|
2249
|
+
anObject$6(iterator2);
|
|
2250
|
+
try {
|
|
2251
|
+
innerResult = getMethod(iterator2, "return");
|
|
2252
|
+
if (!innerResult) {
|
|
2253
|
+
if (kind === "throw")
|
|
2254
|
+
throw value;
|
|
2255
|
+
return value;
|
|
2256
|
+
}
|
|
2257
|
+
innerResult = call$9(innerResult, iterator2);
|
|
2258
|
+
} catch (error) {
|
|
2259
|
+
innerError = true;
|
|
2260
|
+
innerResult = error;
|
|
2261
|
+
}
|
|
2262
|
+
if (kind === "throw")
|
|
2263
|
+
throw value;
|
|
2264
|
+
if (innerError)
|
|
2265
|
+
throw innerResult;
|
|
2266
|
+
anObject$6(innerResult);
|
|
2267
|
+
return value;
|
|
2268
|
+
};
|
|
2269
|
+
var anObject$5 = anObject$c;
|
|
2270
|
+
var iteratorClose$1 = iteratorClose$2;
|
|
2271
|
+
var callWithSafeIterationClosing$1 = function(iterator2, fn, value, ENTRIES2) {
|
|
2272
|
+
try {
|
|
2273
|
+
return ENTRIES2 ? fn(anObject$5(value)[0], value[1]) : fn(value);
|
|
2274
|
+
} catch (error) {
|
|
2275
|
+
iteratorClose$1(iterator2, "throw", error);
|
|
2276
|
+
}
|
|
2277
|
+
};
|
|
2278
|
+
var wellKnownSymbol$6 = wellKnownSymbol$n;
|
|
2279
|
+
var Iterators = iterators;
|
|
2280
|
+
var ITERATOR$2 = wellKnownSymbol$6("iterator");
|
|
2281
|
+
var ArrayPrototype$8 = Array.prototype;
|
|
2282
|
+
var isArrayIteratorMethod$2 = function(it) {
|
|
2283
|
+
return it !== void 0 && (Iterators.Array === it || ArrayPrototype$8[ITERATOR$2] === it);
|
|
2284
|
+
};
|
|
2285
|
+
var call$8 = functionCall;
|
|
2286
|
+
var aCallable$6 = aCallable$a;
|
|
2287
|
+
var anObject$4 = anObject$c;
|
|
2288
|
+
var tryToString$2 = tryToString$5;
|
|
2289
|
+
var getIteratorMethod$2 = getIteratorMethod$8;
|
|
2290
|
+
var $TypeError$6 = TypeError;
|
|
2291
|
+
var getIterator$2 = function(argument, usingIterator) {
|
|
2292
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
|
|
2293
|
+
if (aCallable$6(iteratorMethod))
|
|
2294
|
+
return anObject$4(call$8(iteratorMethod, argument));
|
|
2295
|
+
throw new $TypeError$6(tryToString$2(argument) + " is not iterable");
|
|
2296
|
+
};
|
|
2297
|
+
var bind$4 = functionBindContext;
|
|
2298
|
+
var call$7 = functionCall;
|
|
2299
|
+
var toObject$3 = toObject$9;
|
|
2300
|
+
var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
|
|
2301
|
+
var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
|
|
2302
|
+
var isConstructor$2 = isConstructor$4;
|
|
2303
|
+
var lengthOfArrayLike$3 = lengthOfArrayLike$8;
|
|
2304
|
+
var createProperty$2 = createProperty$5;
|
|
2305
|
+
var getIterator$1 = getIterator$2;
|
|
2306
|
+
var getIteratorMethod$1 = getIteratorMethod$8;
|
|
2307
|
+
var $Array$1 = Array;
|
|
2308
|
+
var arrayFrom = function from(arrayLike) {
|
|
2309
|
+
var O = toObject$3(arrayLike);
|
|
2310
|
+
var IS_CONSTRUCTOR = isConstructor$2(this);
|
|
2311
|
+
var argumentsLength = arguments.length;
|
|
2312
|
+
var mapfn = argumentsLength > 1 ? arguments[1] : void 0;
|
|
2313
|
+
var mapping = mapfn !== void 0;
|
|
2314
|
+
if (mapping)
|
|
2315
|
+
mapfn = bind$4(mapfn, argumentsLength > 2 ? arguments[2] : void 0);
|
|
2316
|
+
var iteratorMethod = getIteratorMethod$1(O);
|
|
2317
|
+
var index = 0;
|
|
2318
|
+
var length, result, step, iterator2, next2, value;
|
|
2319
|
+
if (iteratorMethod && !(this === $Array$1 && isArrayIteratorMethod$1(iteratorMethod))) {
|
|
2320
|
+
iterator2 = getIterator$1(O, iteratorMethod);
|
|
2321
|
+
next2 = iterator2.next;
|
|
2322
|
+
result = IS_CONSTRUCTOR ? new this() : [];
|
|
2323
|
+
for (; !(step = call$7(next2, iterator2)).done; index++) {
|
|
2324
|
+
value = mapping ? callWithSafeIterationClosing(iterator2, mapfn, [step.value, index], true) : step.value;
|
|
2325
|
+
createProperty$2(result, index, value);
|
|
2326
|
+
}
|
|
2327
|
+
} else {
|
|
2328
|
+
length = lengthOfArrayLike$3(O);
|
|
2329
|
+
result = IS_CONSTRUCTOR ? new this(length) : $Array$1(length);
|
|
2330
|
+
for (; length > index; index++) {
|
|
2331
|
+
value = mapping ? mapfn(O[index], index) : O[index];
|
|
2332
|
+
createProperty$2(result, index, value);
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
result.length = index;
|
|
2336
|
+
return result;
|
|
2337
|
+
};
|
|
2338
|
+
var wellKnownSymbol$5 = wellKnownSymbol$n;
|
|
2339
|
+
var ITERATOR$1 = wellKnownSymbol$5("iterator");
|
|
2340
|
+
var SAFE_CLOSING = false;
|
|
2341
|
+
try {
|
|
2342
|
+
var called = 0;
|
|
2343
|
+
var iteratorWithReturn = {
|
|
2344
|
+
next: function() {
|
|
2345
|
+
return {
|
|
2346
|
+
done: !!called++
|
|
2347
|
+
};
|
|
2348
|
+
},
|
|
2349
|
+
"return": function() {
|
|
2350
|
+
SAFE_CLOSING = true;
|
|
2351
|
+
}
|
|
2352
|
+
};
|
|
2353
|
+
iteratorWithReturn[ITERATOR$1] = function() {
|
|
2354
|
+
return this;
|
|
2355
|
+
};
|
|
2356
|
+
Array.from(iteratorWithReturn, function() {
|
|
2357
|
+
throw 2;
|
|
2358
|
+
});
|
|
2359
|
+
} catch (error) {
|
|
2360
|
+
}
|
|
2361
|
+
var checkCorrectnessOfIteration$2 = function(exec2, SKIP_CLOSING) {
|
|
2362
|
+
try {
|
|
2363
|
+
if (!SKIP_CLOSING && !SAFE_CLOSING)
|
|
2364
|
+
return false;
|
|
2365
|
+
} catch (error) {
|
|
2366
|
+
return false;
|
|
2367
|
+
}
|
|
2368
|
+
var ITERATION_SUPPORT = false;
|
|
2369
|
+
try {
|
|
2370
|
+
var object = {};
|
|
2371
|
+
object[ITERATOR$1] = function() {
|
|
2372
|
+
return {
|
|
2373
|
+
next: function() {
|
|
2374
|
+
return {
|
|
2375
|
+
done: ITERATION_SUPPORT = true
|
|
2376
|
+
};
|
|
2377
|
+
}
|
|
2378
|
+
};
|
|
2379
|
+
};
|
|
2380
|
+
exec2(object);
|
|
2381
|
+
} catch (error) {
|
|
2382
|
+
}
|
|
2383
|
+
return ITERATION_SUPPORT;
|
|
2384
|
+
};
|
|
2385
|
+
var $$s = _export;
|
|
2386
|
+
var from$5 = arrayFrom;
|
|
2387
|
+
var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$2;
|
|
2388
|
+
var INCORRECT_ITERATION = !checkCorrectnessOfIteration$1(function(iterable) {
|
|
2389
|
+
Array.from(iterable);
|
|
2390
|
+
});
|
|
2391
|
+
$$s({
|
|
2392
|
+
target: "Array",
|
|
2393
|
+
stat: true,
|
|
2394
|
+
forced: INCORRECT_ITERATION
|
|
2395
|
+
}, {
|
|
2396
|
+
from: from$5
|
|
2397
|
+
});
|
|
2398
|
+
var path$b = path$i;
|
|
2399
|
+
var from$4 = path$b.Array.from;
|
|
2400
|
+
var parent$X = from$4;
|
|
2401
|
+
var from$3 = parent$X;
|
|
2402
|
+
var parent$W = from$3;
|
|
2403
|
+
var from$2 = parent$W;
|
|
2404
|
+
var parent$V = from$2;
|
|
2405
|
+
var from$1 = parent$V;
|
|
2406
|
+
var from2 = from$1;
|
|
2407
|
+
const _Array$from = /* @__PURE__ */ getDefaultExportFromCjs(from2);
|
|
2408
|
+
function _iterableToArray(iter) {
|
|
2409
|
+
if (typeof _Symbol !== "undefined" && _getIteratorMethod(iter) != null || iter["@@iterator"] != null)
|
|
2410
|
+
return _Array$from(iter);
|
|
2411
|
+
}
|
|
2412
|
+
var $$r = _export;
|
|
2413
|
+
var isArray$2 = isArray$c;
|
|
2414
|
+
var isConstructor$1 = isConstructor$4;
|
|
2415
|
+
var isObject$3 = isObject$c;
|
|
2416
|
+
var toAbsoluteIndex = toAbsoluteIndex$3;
|
|
2417
|
+
var lengthOfArrayLike$2 = lengthOfArrayLike$8;
|
|
2418
|
+
var toIndexedObject$2 = toIndexedObject$a;
|
|
2419
|
+
var createProperty$1 = createProperty$5;
|
|
2420
|
+
var wellKnownSymbol$4 = wellKnownSymbol$n;
|
|
2421
|
+
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$4;
|
|
2422
|
+
var nativeSlice = arraySlice$2;
|
|
2423
|
+
var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2("slice");
|
|
2424
|
+
var SPECIES$3 = wellKnownSymbol$4("species");
|
|
2425
|
+
var $Array = Array;
|
|
2426
|
+
var max = Math.max;
|
|
2427
|
+
$$r({
|
|
2428
|
+
target: "Array",
|
|
2429
|
+
proto: true,
|
|
2430
|
+
forced: !HAS_SPECIES_SUPPORT$2
|
|
2431
|
+
}, {
|
|
2432
|
+
slice: function slice(start, end) {
|
|
2433
|
+
var O = toIndexedObject$2(this);
|
|
2434
|
+
var length = lengthOfArrayLike$2(O);
|
|
2435
|
+
var k = toAbsoluteIndex(start, length);
|
|
2436
|
+
var fin = toAbsoluteIndex(end === void 0 ? length : end, length);
|
|
2437
|
+
var Constructor, result, n;
|
|
2438
|
+
if (isArray$2(O)) {
|
|
2439
|
+
Constructor = O.constructor;
|
|
2440
|
+
if (isConstructor$1(Constructor) && (Constructor === $Array || isArray$2(Constructor.prototype))) {
|
|
2441
|
+
Constructor = void 0;
|
|
2442
|
+
} else if (isObject$3(Constructor)) {
|
|
2443
|
+
Constructor = Constructor[SPECIES$3];
|
|
2444
|
+
if (Constructor === null)
|
|
2445
|
+
Constructor = void 0;
|
|
2446
|
+
}
|
|
2447
|
+
if (Constructor === $Array || Constructor === void 0) {
|
|
2448
|
+
return nativeSlice(O, k, fin);
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
result = new (Constructor === void 0 ? $Array : Constructor)(max(fin - k, 0));
|
|
2452
|
+
for (n = 0; k < fin; k++, n++)
|
|
2453
|
+
if (k in O)
|
|
2454
|
+
createProperty$1(result, n, O[k]);
|
|
2455
|
+
result.length = n;
|
|
2456
|
+
return result;
|
|
2457
|
+
}
|
|
2458
|
+
});
|
|
2459
|
+
var global$8 = global$m;
|
|
2460
|
+
var path$a = path$i;
|
|
2461
|
+
var getBuiltInPrototypeMethod$9 = function(CONSTRUCTOR, METHOD) {
|
|
2462
|
+
var Namespace = path$a[CONSTRUCTOR + "Prototype"];
|
|
2463
|
+
var pureMethod = Namespace && Namespace[METHOD];
|
|
2464
|
+
if (pureMethod)
|
|
2465
|
+
return pureMethod;
|
|
2466
|
+
var NativeConstructor = global$8[CONSTRUCTOR];
|
|
2467
|
+
var NativePrototype = NativeConstructor && NativeConstructor.prototype;
|
|
2468
|
+
return NativePrototype && NativePrototype[METHOD];
|
|
2469
|
+
};
|
|
2470
|
+
var getBuiltInPrototypeMethod$8 = getBuiltInPrototypeMethod$9;
|
|
2471
|
+
var slice$5 = getBuiltInPrototypeMethod$8("Array", "slice");
|
|
2472
|
+
var isPrototypeOf$b = objectIsPrototypeOf;
|
|
2473
|
+
var method$8 = slice$5;
|
|
2474
|
+
var ArrayPrototype$7 = Array.prototype;
|
|
2475
|
+
var slice$4 = function(it) {
|
|
2476
|
+
var own = it.slice;
|
|
2477
|
+
return it === ArrayPrototype$7 || isPrototypeOf$b(ArrayPrototype$7, it) && own === ArrayPrototype$7.slice ? method$8 : own;
|
|
2478
|
+
};
|
|
2479
|
+
var parent$U = slice$4;
|
|
2480
|
+
var slice$3 = parent$U;
|
|
2481
|
+
var parent$T = slice$3;
|
|
2482
|
+
var slice$2 = parent$T;
|
|
2483
|
+
var parent$S = slice$2;
|
|
2484
|
+
var slice$1 = parent$S;
|
|
2485
|
+
var slice2 = slice$1;
|
|
2486
|
+
const _sliceInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(slice2);
|
|
2487
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
2488
|
+
var _context;
|
|
2489
|
+
if (!o)
|
|
2490
|
+
return;
|
|
2491
|
+
if (typeof o === "string")
|
|
2492
|
+
return _arrayLikeToArray(o, minLen);
|
|
2493
|
+
var n = _sliceInstanceProperty(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);
|
|
2494
|
+
if (n === "Object" && o.constructor)
|
|
2495
|
+
n = o.constructor.name;
|
|
2496
|
+
if (n === "Map" || n === "Set")
|
|
2497
|
+
return _Array$from(o);
|
|
2498
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
2499
|
+
return _arrayLikeToArray(o, minLen);
|
|
2500
|
+
}
|
|
2501
|
+
function _nonIterableSpread() {
|
|
2502
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
2503
|
+
}
|
|
2504
|
+
function _toConsumableArray(arr) {
|
|
2505
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
2506
|
+
}
|
|
2507
|
+
var getBuiltIn$4 = getBuiltIn$e;
|
|
2508
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2509
|
+
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
2510
|
+
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
2511
|
+
var anObject$3 = anObject$c;
|
|
2512
|
+
var concat$7 = uncurryThis$4([].concat);
|
|
2513
|
+
var ownKeys$3 = getBuiltIn$4("Reflect", "ownKeys") || function ownKeys(it) {
|
|
2514
|
+
var keys4 = getOwnPropertyNamesModule.f(anObject$3(it));
|
|
2515
|
+
var getOwnPropertySymbols3 = getOwnPropertySymbolsModule.f;
|
|
2516
|
+
return getOwnPropertySymbols3 ? concat$7(keys4, getOwnPropertySymbols3(it)) : keys4;
|
|
2517
|
+
};
|
|
2518
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2519
|
+
var ownKeys$2 = ownKeys$3;
|
|
2520
|
+
var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor;
|
|
2521
|
+
var definePropertyModule = objectDefineProperty;
|
|
2522
|
+
var copyConstructorProperties$1 = function(target, source, exceptions) {
|
|
2523
|
+
var keys4 = ownKeys$2(source);
|
|
2524
|
+
var defineProperty6 = definePropertyModule.f;
|
|
2525
|
+
var getOwnPropertyDescriptor6 = getOwnPropertyDescriptorModule$1.f;
|
|
2526
|
+
for (var i = 0; i < keys4.length; i++) {
|
|
2527
|
+
var key = keys4[i];
|
|
2528
|
+
if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
|
|
2529
|
+
defineProperty6(target, key, getOwnPropertyDescriptor6(source, key));
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
};
|
|
2533
|
+
var isObject$2 = isObject$c;
|
|
2534
|
+
var createNonEnumerableProperty$2 = createNonEnumerableProperty$8;
|
|
2535
|
+
var installErrorCause$1 = function(O, options) {
|
|
2536
|
+
if (isObject$2(options) && "cause" in options) {
|
|
2537
|
+
createNonEnumerableProperty$2(O, "cause", options.cause);
|
|
2538
|
+
}
|
|
2539
|
+
};
|
|
2540
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2541
|
+
var $Error$1 = Error;
|
|
2542
|
+
var replace$1 = uncurryThis$3("".replace);
|
|
2543
|
+
var TEST = function(arg) {
|
|
2544
|
+
return String(new $Error$1(arg).stack);
|
|
2545
|
+
}("zxcasd");
|
|
2546
|
+
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
2547
|
+
var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
|
|
2548
|
+
var errorStackClear = function(stack, dropEntries) {
|
|
2549
|
+
if (IS_V8_OR_CHAKRA_STACK && typeof stack == "string" && !$Error$1.prepareStackTrace) {
|
|
2550
|
+
while (dropEntries--)
|
|
2551
|
+
stack = replace$1(stack, V8_OR_CHAKRA_STACK_ENTRY, "");
|
|
2552
|
+
}
|
|
2553
|
+
return stack;
|
|
2554
|
+
};
|
|
2555
|
+
var fails$9 = fails$p;
|
|
2556
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$7;
|
|
2557
|
+
var errorStackInstallable = !fails$9(function() {
|
|
2558
|
+
var error = new Error("a");
|
|
2559
|
+
if (!("stack" in error))
|
|
2560
|
+
return true;
|
|
2561
|
+
Object.defineProperty(error, "stack", createPropertyDescriptor$1(1, 7));
|
|
2562
|
+
return error.stack !== 7;
|
|
2563
|
+
});
|
|
2564
|
+
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
2565
|
+
var clearErrorStack = errorStackClear;
|
|
2566
|
+
var ERROR_STACK_INSTALLABLE = errorStackInstallable;
|
|
2567
|
+
var captureStackTrace = Error.captureStackTrace;
|
|
2568
|
+
var errorStackInstall = function(error, C, stack, dropEntries) {
|
|
2569
|
+
if (ERROR_STACK_INSTALLABLE) {
|
|
2570
|
+
if (captureStackTrace)
|
|
2571
|
+
captureStackTrace(error, C);
|
|
2572
|
+
else
|
|
2573
|
+
createNonEnumerableProperty$1(error, "stack", clearErrorStack(stack, dropEntries));
|
|
2574
|
+
}
|
|
2575
|
+
};
|
|
2576
|
+
var bind$3 = functionBindContext;
|
|
2577
|
+
var call$6 = functionCall;
|
|
2578
|
+
var anObject$2 = anObject$c;
|
|
2579
|
+
var tryToString$1 = tryToString$5;
|
|
2580
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$2;
|
|
2581
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$8;
|
|
2582
|
+
var isPrototypeOf$a = objectIsPrototypeOf;
|
|
2583
|
+
var getIterator = getIterator$2;
|
|
2584
|
+
var getIteratorMethod = getIteratorMethod$8;
|
|
2585
|
+
var iteratorClose = iteratorClose$2;
|
|
2586
|
+
var $TypeError$5 = TypeError;
|
|
2587
|
+
var Result = function(stopped, result) {
|
|
2588
|
+
this.stopped = stopped;
|
|
2589
|
+
this.result = result;
|
|
2590
|
+
};
|
|
2591
|
+
var ResultPrototype = Result.prototype;
|
|
2592
|
+
var iterate$5 = function(iterable, unboundFunction, options) {
|
|
2593
|
+
var that = options && options.that;
|
|
2594
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
2595
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
2596
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
2597
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
2598
|
+
var fn = bind$3(unboundFunction, that);
|
|
2599
|
+
var iterator2, iterFn, index, length, result, next2, step;
|
|
2600
|
+
var stop = function(condition) {
|
|
2601
|
+
if (iterator2)
|
|
2602
|
+
iteratorClose(iterator2, "normal", condition);
|
|
2603
|
+
return new Result(true, condition);
|
|
2604
|
+
};
|
|
2605
|
+
var callFn = function(value) {
|
|
2606
|
+
if (AS_ENTRIES) {
|
|
2607
|
+
anObject$2(value);
|
|
2608
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
2609
|
+
}
|
|
2610
|
+
return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
2611
|
+
};
|
|
2612
|
+
if (IS_RECORD) {
|
|
2613
|
+
iterator2 = iterable.iterator;
|
|
2614
|
+
} else if (IS_ITERATOR) {
|
|
2615
|
+
iterator2 = iterable;
|
|
2616
|
+
} else {
|
|
2617
|
+
iterFn = getIteratorMethod(iterable);
|
|
2618
|
+
if (!iterFn)
|
|
2619
|
+
throw new $TypeError$5(tryToString$1(iterable) + " is not iterable");
|
|
2620
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
2621
|
+
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
2622
|
+
result = callFn(iterable[index]);
|
|
2623
|
+
if (result && isPrototypeOf$a(ResultPrototype, result))
|
|
2624
|
+
return result;
|
|
2625
|
+
}
|
|
2626
|
+
return new Result(false);
|
|
2627
|
+
}
|
|
2628
|
+
iterator2 = getIterator(iterable, iterFn);
|
|
2629
|
+
}
|
|
2630
|
+
next2 = IS_RECORD ? iterable.next : iterator2.next;
|
|
2631
|
+
while (!(step = call$6(next2, iterator2)).done) {
|
|
2632
|
+
try {
|
|
2633
|
+
result = callFn(step.value);
|
|
2634
|
+
} catch (error) {
|
|
2635
|
+
iteratorClose(iterator2, "throw", error);
|
|
2636
|
+
}
|
|
2637
|
+
if (typeof result == "object" && result && isPrototypeOf$a(ResultPrototype, result))
|
|
2638
|
+
return result;
|
|
2639
|
+
}
|
|
2640
|
+
return new Result(false);
|
|
2641
|
+
};
|
|
2642
|
+
var toString$2 = toString$8;
|
|
2643
|
+
var normalizeStringArgument$1 = function(argument, $default) {
|
|
2644
|
+
return argument === void 0 ? arguments.length < 2 ? "" : $default : toString$2(argument);
|
|
2645
|
+
};
|
|
2646
|
+
var $$q = _export;
|
|
2647
|
+
var isPrototypeOf$9 = objectIsPrototypeOf;
|
|
2648
|
+
var getPrototypeOf$5 = objectGetPrototypeOf;
|
|
2649
|
+
var setPrototypeOf$6 = objectSetPrototypeOf;
|
|
2650
|
+
var copyConstructorProperties = copyConstructorProperties$1;
|
|
2651
|
+
var create$6 = objectCreate;
|
|
2652
|
+
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
2653
|
+
var createPropertyDescriptor = createPropertyDescriptor$7;
|
|
2654
|
+
var installErrorCause = installErrorCause$1;
|
|
2655
|
+
var installErrorStack = errorStackInstall;
|
|
2656
|
+
var iterate$4 = iterate$5;
|
|
2657
|
+
var normalizeStringArgument = normalizeStringArgument$1;
|
|
2658
|
+
var wellKnownSymbol$3 = wellKnownSymbol$n;
|
|
2659
|
+
var TO_STRING_TAG = wellKnownSymbol$3("toStringTag");
|
|
2660
|
+
var $Error = Error;
|
|
2661
|
+
var push$6 = [].push;
|
|
2662
|
+
var $AggregateError = function AggregateError(errors, message) {
|
|
2663
|
+
var isInstance = isPrototypeOf$9(AggregateErrorPrototype, this);
|
|
2664
|
+
var that;
|
|
2665
|
+
if (setPrototypeOf$6) {
|
|
2666
|
+
that = setPrototypeOf$6(new $Error(), isInstance ? getPrototypeOf$5(this) : AggregateErrorPrototype);
|
|
2667
|
+
} else {
|
|
2668
|
+
that = isInstance ? this : create$6(AggregateErrorPrototype);
|
|
2669
|
+
createNonEnumerableProperty(that, TO_STRING_TAG, "Error");
|
|
2670
|
+
}
|
|
2671
|
+
if (message !== void 0)
|
|
2672
|
+
createNonEnumerableProperty(that, "message", normalizeStringArgument(message));
|
|
2673
|
+
installErrorStack(that, $AggregateError, that.stack, 1);
|
|
2674
|
+
if (arguments.length > 2)
|
|
2675
|
+
installErrorCause(that, arguments[2]);
|
|
2676
|
+
var errorsArray = [];
|
|
2677
|
+
iterate$4(errors, push$6, {
|
|
2678
|
+
that: errorsArray
|
|
2679
|
+
});
|
|
2680
|
+
createNonEnumerableProperty(that, "errors", errorsArray);
|
|
2681
|
+
return that;
|
|
2682
|
+
};
|
|
2683
|
+
if (setPrototypeOf$6)
|
|
2684
|
+
setPrototypeOf$6($AggregateError, $Error);
|
|
2685
|
+
else
|
|
2686
|
+
copyConstructorProperties($AggregateError, $Error, {
|
|
2687
|
+
name: true
|
|
2688
|
+
});
|
|
2689
|
+
var AggregateErrorPrototype = $AggregateError.prototype = create$6($Error.prototype, {
|
|
2690
|
+
constructor: createPropertyDescriptor(1, $AggregateError),
|
|
2691
|
+
message: createPropertyDescriptor(1, ""),
|
|
2692
|
+
name: createPropertyDescriptor(1, "AggregateError")
|
|
2693
|
+
});
|
|
2694
|
+
$$q({
|
|
2695
|
+
global: true,
|
|
2696
|
+
constructor: true,
|
|
2697
|
+
arity: 2
|
|
2698
|
+
}, {
|
|
2699
|
+
AggregateError: $AggregateError
|
|
2700
|
+
});
|
|
2701
|
+
var global$7 = global$m;
|
|
2702
|
+
var classof$1 = classofRaw$2;
|
|
2703
|
+
var engineIsNode = classof$1(global$7.process) === "process";
|
|
2704
|
+
var getBuiltIn$3 = getBuiltIn$e;
|
|
2705
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$2;
|
|
2706
|
+
var wellKnownSymbol$2 = wellKnownSymbol$n;
|
|
2707
|
+
var DESCRIPTORS$5 = descriptors;
|
|
2708
|
+
var SPECIES$2 = wellKnownSymbol$2("species");
|
|
2709
|
+
var setSpecies$1 = function(CONSTRUCTOR_NAME) {
|
|
2710
|
+
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
2711
|
+
if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$2]) {
|
|
2712
|
+
defineBuiltInAccessor(Constructor, SPECIES$2, {
|
|
2713
|
+
configurable: true,
|
|
2714
|
+
get: function() {
|
|
2715
|
+
return this;
|
|
2716
|
+
}
|
|
2717
|
+
});
|
|
2718
|
+
}
|
|
2719
|
+
};
|
|
2720
|
+
var isPrototypeOf$8 = objectIsPrototypeOf;
|
|
2721
|
+
var $TypeError$4 = TypeError;
|
|
2722
|
+
var anInstance$1 = function(it, Prototype) {
|
|
2723
|
+
if (isPrototypeOf$8(Prototype, it))
|
|
2724
|
+
return it;
|
|
2725
|
+
throw new $TypeError$4("Incorrect invocation");
|
|
2726
|
+
};
|
|
2727
|
+
var isConstructor3 = isConstructor$4;
|
|
2728
|
+
var tryToString = tryToString$5;
|
|
2729
|
+
var $TypeError$3 = TypeError;
|
|
2730
|
+
var aConstructor$1 = function(argument) {
|
|
2731
|
+
if (isConstructor3(argument))
|
|
2732
|
+
return argument;
|
|
2733
|
+
throw new $TypeError$3(tryToString(argument) + " is not a constructor");
|
|
2734
|
+
};
|
|
2735
|
+
var anObject$1 = anObject$c;
|
|
2736
|
+
var aConstructor = aConstructor$1;
|
|
2737
|
+
var isNullOrUndefined = isNullOrUndefined$4;
|
|
2738
|
+
var wellKnownSymbol$1 = wellKnownSymbol$n;
|
|
2739
|
+
var SPECIES$1 = wellKnownSymbol$1("species");
|
|
2740
|
+
var speciesConstructor$2 = function(O, defaultConstructor) {
|
|
2741
|
+
var C = anObject$1(O).constructor;
|
|
2742
|
+
var S;
|
|
2743
|
+
return C === void 0 || isNullOrUndefined(S = anObject$1(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
|
|
2744
|
+
};
|
|
2745
|
+
var $TypeError$2 = TypeError;
|
|
2746
|
+
var validateArgumentsLength$1 = function(passed, required) {
|
|
2747
|
+
if (passed < required)
|
|
2748
|
+
throw new $TypeError$2("Not enough arguments");
|
|
2749
|
+
return passed;
|
|
2750
|
+
};
|
|
2751
|
+
var userAgent$2 = engineUserAgent;
|
|
2752
|
+
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
2753
|
+
var global$6 = global$m;
|
|
2754
|
+
var apply = functionApply;
|
|
2755
|
+
var bind$2 = functionBindContext;
|
|
2756
|
+
var isCallable$3 = isCallable$k;
|
|
2757
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2758
|
+
var fails$8 = fails$p;
|
|
2759
|
+
var html = html$2;
|
|
2760
|
+
var arraySlice = arraySlice$2;
|
|
2761
|
+
var createElement = documentCreateElement$1;
|
|
2762
|
+
var validateArgumentsLength = validateArgumentsLength$1;
|
|
2763
|
+
var IS_IOS$1 = engineIsIos;
|
|
2764
|
+
var IS_NODE$3 = engineIsNode;
|
|
2765
|
+
var set = global$6.setImmediate;
|
|
2766
|
+
var clear = global$6.clearImmediate;
|
|
2767
|
+
var process$2 = global$6.process;
|
|
2768
|
+
var Dispatch = global$6.Dispatch;
|
|
2769
|
+
var Function$1 = global$6.Function;
|
|
2770
|
+
var MessageChannel = global$6.MessageChannel;
|
|
2771
|
+
var String$1 = global$6.String;
|
|
2772
|
+
var counter = 0;
|
|
2773
|
+
var queue$2 = {};
|
|
2774
|
+
var ONREADYSTATECHANGE = "onreadystatechange";
|
|
2775
|
+
var $location, defer, channel, port;
|
|
2776
|
+
fails$8(function() {
|
|
2777
|
+
$location = global$6.location;
|
|
2778
|
+
});
|
|
2779
|
+
var run = function(id2) {
|
|
2780
|
+
if (hasOwn$1(queue$2, id2)) {
|
|
2781
|
+
var fn = queue$2[id2];
|
|
2782
|
+
delete queue$2[id2];
|
|
2783
|
+
fn();
|
|
2784
|
+
}
|
|
2785
|
+
};
|
|
2786
|
+
var runner = function(id2) {
|
|
2787
|
+
return function() {
|
|
2788
|
+
run(id2);
|
|
2789
|
+
};
|
|
2790
|
+
};
|
|
2791
|
+
var eventListener = function(event) {
|
|
2792
|
+
run(event.data);
|
|
2793
|
+
};
|
|
2794
|
+
var globalPostMessageDefer = function(id2) {
|
|
2795
|
+
global$6.postMessage(String$1(id2), $location.protocol + "//" + $location.host);
|
|
2796
|
+
};
|
|
2797
|
+
if (!set || !clear) {
|
|
2798
|
+
set = function setImmediate(handler) {
|
|
2799
|
+
validateArgumentsLength(arguments.length, 1);
|
|
2800
|
+
var fn = isCallable$3(handler) ? handler : Function$1(handler);
|
|
2801
|
+
var args = arraySlice(arguments, 1);
|
|
2802
|
+
queue$2[++counter] = function() {
|
|
2803
|
+
apply(fn, void 0, args);
|
|
2804
|
+
};
|
|
2805
|
+
defer(counter);
|
|
2806
|
+
return counter;
|
|
2807
|
+
};
|
|
2808
|
+
clear = function clearImmediate(id2) {
|
|
2809
|
+
delete queue$2[id2];
|
|
2810
|
+
};
|
|
2811
|
+
if (IS_NODE$3) {
|
|
2812
|
+
defer = function(id2) {
|
|
2813
|
+
process$2.nextTick(runner(id2));
|
|
2814
|
+
};
|
|
2815
|
+
} else if (Dispatch && Dispatch.now) {
|
|
2816
|
+
defer = function(id2) {
|
|
2817
|
+
Dispatch.now(runner(id2));
|
|
2818
|
+
};
|
|
2819
|
+
} else if (MessageChannel && !IS_IOS$1) {
|
|
2820
|
+
channel = new MessageChannel();
|
|
2821
|
+
port = channel.port2;
|
|
2822
|
+
channel.port1.onmessage = eventListener;
|
|
2823
|
+
defer = bind$2(port.postMessage, port);
|
|
2824
|
+
} else if (global$6.addEventListener && isCallable$3(global$6.postMessage) && !global$6.importScripts && $location && $location.protocol !== "file:" && !fails$8(globalPostMessageDefer)) {
|
|
2825
|
+
defer = globalPostMessageDefer;
|
|
2826
|
+
global$6.addEventListener("message", eventListener, false);
|
|
2827
|
+
} else if (ONREADYSTATECHANGE in createElement("script")) {
|
|
2828
|
+
defer = function(id2) {
|
|
2829
|
+
html.appendChild(createElement("script"))[ONREADYSTATECHANGE] = function() {
|
|
2830
|
+
html.removeChild(this);
|
|
2831
|
+
run(id2);
|
|
2832
|
+
};
|
|
2833
|
+
};
|
|
2834
|
+
} else {
|
|
2835
|
+
defer = function(id2) {
|
|
2836
|
+
setTimeout(runner(id2), 0);
|
|
2837
|
+
};
|
|
2838
|
+
}
|
|
2839
|
+
}
|
|
2840
|
+
var task$1 = {
|
|
2841
|
+
set,
|
|
2842
|
+
clear
|
|
2843
|
+
};
|
|
2844
|
+
var Queue$2 = function() {
|
|
2845
|
+
this.head = null;
|
|
2846
|
+
this.tail = null;
|
|
2847
|
+
};
|
|
2848
|
+
Queue$2.prototype = {
|
|
2849
|
+
add: function(item) {
|
|
2850
|
+
var entry = {
|
|
2851
|
+
item,
|
|
2852
|
+
next: null
|
|
2853
|
+
};
|
|
2854
|
+
var tail = this.tail;
|
|
2855
|
+
if (tail)
|
|
2856
|
+
tail.next = entry;
|
|
2857
|
+
else
|
|
2858
|
+
this.head = entry;
|
|
2859
|
+
this.tail = entry;
|
|
2860
|
+
},
|
|
2861
|
+
get: function() {
|
|
2862
|
+
var entry = this.head;
|
|
2863
|
+
if (entry) {
|
|
2864
|
+
var next2 = this.head = entry.next;
|
|
2865
|
+
if (next2 === null)
|
|
2866
|
+
this.tail = null;
|
|
2867
|
+
return entry.item;
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
};
|
|
2871
|
+
var queue$1 = Queue$2;
|
|
2872
|
+
var userAgent$1 = engineUserAgent;
|
|
2873
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && typeof Pebble != "undefined";
|
|
2874
|
+
var userAgent = engineUserAgent;
|
|
2875
|
+
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
2876
|
+
var global$5 = global$m;
|
|
2877
|
+
var bind$1 = functionBindContext;
|
|
2878
|
+
var getOwnPropertyDescriptor$8 = objectGetOwnPropertyDescriptor.f;
|
|
2879
|
+
var macrotask = task$1.set;
|
|
2880
|
+
var Queue$1 = queue$1;
|
|
2881
|
+
var IS_IOS = engineIsIos;
|
|
2882
|
+
var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
2883
|
+
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
2884
|
+
var IS_NODE$2 = engineIsNode;
|
|
2885
|
+
var MutationObserver = global$5.MutationObserver || global$5.WebKitMutationObserver;
|
|
2886
|
+
var document$2 = global$5.document;
|
|
2887
|
+
var process$1 = global$5.process;
|
|
2888
|
+
var Promise$1 = global$5.Promise;
|
|
2889
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor$8(global$5, "queueMicrotask");
|
|
2890
|
+
var microtask$1 = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
2891
|
+
var notify$1, toggle, node, promise$5, then;
|
|
2892
|
+
if (!microtask$1) {
|
|
2893
|
+
var queue = new Queue$1();
|
|
2894
|
+
var flush = function() {
|
|
2895
|
+
var parent2, fn;
|
|
2896
|
+
if (IS_NODE$2 && (parent2 = process$1.domain))
|
|
2897
|
+
parent2.exit();
|
|
2898
|
+
while (fn = queue.get())
|
|
2899
|
+
try {
|
|
2900
|
+
fn();
|
|
2901
|
+
} catch (error) {
|
|
2902
|
+
if (queue.head)
|
|
2903
|
+
notify$1();
|
|
2904
|
+
throw error;
|
|
2905
|
+
}
|
|
2906
|
+
if (parent2)
|
|
2907
|
+
parent2.enter();
|
|
2908
|
+
};
|
|
2909
|
+
if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
|
|
2910
|
+
toggle = true;
|
|
2911
|
+
node = document$2.createTextNode("");
|
|
2912
|
+
new MutationObserver(flush).observe(node, {
|
|
2913
|
+
characterData: true
|
|
2914
|
+
});
|
|
2915
|
+
notify$1 = function() {
|
|
2916
|
+
node.data = toggle = !toggle;
|
|
2917
|
+
};
|
|
2918
|
+
} else if (!IS_IOS_PEBBLE && Promise$1 && Promise$1.resolve) {
|
|
2919
|
+
promise$5 = Promise$1.resolve(void 0);
|
|
2920
|
+
promise$5.constructor = Promise$1;
|
|
2921
|
+
then = bind$1(promise$5.then, promise$5);
|
|
2922
|
+
notify$1 = function() {
|
|
2923
|
+
then(flush);
|
|
2924
|
+
};
|
|
2925
|
+
} else if (IS_NODE$2) {
|
|
2926
|
+
notify$1 = function() {
|
|
2927
|
+
process$1.nextTick(flush);
|
|
2928
|
+
};
|
|
2929
|
+
} else {
|
|
2930
|
+
macrotask = bind$1(macrotask, global$5);
|
|
2931
|
+
notify$1 = function() {
|
|
2932
|
+
macrotask(flush);
|
|
2933
|
+
};
|
|
2934
|
+
}
|
|
2935
|
+
microtask$1 = function(fn) {
|
|
2936
|
+
if (!queue.head)
|
|
2937
|
+
notify$1();
|
|
2938
|
+
queue.add(fn);
|
|
2939
|
+
};
|
|
2940
|
+
}
|
|
2941
|
+
var microtask_1 = microtask$1;
|
|
2942
|
+
var hostReportErrors$1 = function(a, b) {
|
|
2943
|
+
try {
|
|
2944
|
+
arguments.length === 1 ? console.error(a) : console.error(a, b);
|
|
2945
|
+
} catch (error) {
|
|
2946
|
+
}
|
|
2947
|
+
};
|
|
2948
|
+
var perform$6 = function(exec2) {
|
|
2949
|
+
try {
|
|
2950
|
+
return {
|
|
2951
|
+
error: false,
|
|
2952
|
+
value: exec2()
|
|
2953
|
+
};
|
|
2954
|
+
} catch (error) {
|
|
2955
|
+
return {
|
|
2956
|
+
error: true,
|
|
2957
|
+
value: error
|
|
2958
|
+
};
|
|
2959
|
+
}
|
|
2960
|
+
};
|
|
2961
|
+
var global$4 = global$m;
|
|
2962
|
+
var promiseNativeConstructor = global$4.Promise;
|
|
2963
|
+
var engineIsDeno = typeof Deno == "object" && Deno && typeof Deno.version == "object";
|
|
2964
|
+
var IS_DENO$1 = engineIsDeno;
|
|
2965
|
+
var IS_NODE$1 = engineIsNode;
|
|
2966
|
+
var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1 && typeof window == "object" && typeof document == "object";
|
|
2967
|
+
var global$3 = global$m;
|
|
2968
|
+
var NativePromiseConstructor$5 = promiseNativeConstructor;
|
|
2969
|
+
var isCallable$2 = isCallable$k;
|
|
2970
|
+
var isForced = isForced_1;
|
|
2971
|
+
var inspectSource = inspectSource$2;
|
|
2972
|
+
var wellKnownSymbol = wellKnownSymbol$n;
|
|
2973
|
+
var IS_BROWSER = engineIsBrowser;
|
|
2974
|
+
var IS_DENO = engineIsDeno;
|
|
2975
|
+
var V8_VERSION = engineV8Version;
|
|
2976
|
+
var NativePromisePrototype$2 = NativePromiseConstructor$5 && NativePromiseConstructor$5.prototype;
|
|
2977
|
+
var SPECIES = wellKnownSymbol("species");
|
|
2978
|
+
var SUBCLASSING = false;
|
|
2979
|
+
var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$2(global$3.PromiseRejectionEvent);
|
|
2980
|
+
var FORCED_PROMISE_CONSTRUCTOR$5 = isForced("Promise", function() {
|
|
2981
|
+
var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$5);
|
|
2982
|
+
var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor$5);
|
|
2983
|
+
if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66)
|
|
2984
|
+
return true;
|
|
2985
|
+
if (!(NativePromisePrototype$2["catch"] && NativePromisePrototype$2["finally"]))
|
|
2986
|
+
return true;
|
|
2987
|
+
if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
|
|
2988
|
+
var promise2 = new NativePromiseConstructor$5(function(resolve2) {
|
|
2989
|
+
resolve2(1);
|
|
2990
|
+
});
|
|
2991
|
+
var FakePromise = function(exec2) {
|
|
2992
|
+
exec2(function() {
|
|
2993
|
+
}, function() {
|
|
2994
|
+
});
|
|
2995
|
+
};
|
|
2996
|
+
var constructor = promise2.constructor = {};
|
|
2997
|
+
constructor[SPECIES] = FakePromise;
|
|
2998
|
+
SUBCLASSING = promise2.then(function() {
|
|
2999
|
+
}) instanceof FakePromise;
|
|
3000
|
+
if (!SUBCLASSING)
|
|
3001
|
+
return true;
|
|
3002
|
+
}
|
|
3003
|
+
return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
|
|
3004
|
+
});
|
|
3005
|
+
var promiseConstructorDetection = {
|
|
3006
|
+
CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR$5,
|
|
3007
|
+
REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT$1,
|
|
3008
|
+
SUBCLASSING
|
|
3009
|
+
};
|
|
3010
|
+
var newPromiseCapability$2 = {};
|
|
3011
|
+
var aCallable$5 = aCallable$a;
|
|
3012
|
+
var $TypeError$1 = TypeError;
|
|
3013
|
+
var PromiseCapability = function(C) {
|
|
3014
|
+
var resolve2, reject2;
|
|
3015
|
+
this.promise = new C(function($$resolve, $$reject) {
|
|
3016
|
+
if (resolve2 !== void 0 || reject2 !== void 0)
|
|
3017
|
+
throw new $TypeError$1("Bad Promise constructor");
|
|
3018
|
+
resolve2 = $$resolve;
|
|
3019
|
+
reject2 = $$reject;
|
|
3020
|
+
});
|
|
3021
|
+
this.resolve = aCallable$5(resolve2);
|
|
3022
|
+
this.reject = aCallable$5(reject2);
|
|
3023
|
+
};
|
|
3024
|
+
newPromiseCapability$2.f = function(C) {
|
|
3025
|
+
return new PromiseCapability(C);
|
|
3026
|
+
};
|
|
3027
|
+
var $$p = _export;
|
|
3028
|
+
var IS_NODE = engineIsNode;
|
|
3029
|
+
var global$2 = global$m;
|
|
3030
|
+
var call$5 = functionCall;
|
|
3031
|
+
var defineBuiltIn = defineBuiltIn$5;
|
|
3032
|
+
var setToStringTag = setToStringTag$6;
|
|
3033
|
+
var setSpecies = setSpecies$1;
|
|
3034
|
+
var aCallable$4 = aCallable$a;
|
|
3035
|
+
var isCallable$1 = isCallable$k;
|
|
3036
|
+
var isObject$1 = isObject$c;
|
|
3037
|
+
var anInstance = anInstance$1;
|
|
3038
|
+
var speciesConstructor$1 = speciesConstructor$2;
|
|
3039
|
+
var task = task$1.set;
|
|
3040
|
+
var microtask = microtask_1;
|
|
3041
|
+
var hostReportErrors = hostReportErrors$1;
|
|
3042
|
+
var perform$5 = perform$6;
|
|
3043
|
+
var Queue = queue$1;
|
|
3044
|
+
var InternalStateModule = internalState;
|
|
3045
|
+
var NativePromiseConstructor$4 = promiseNativeConstructor;
|
|
3046
|
+
var PromiseConstructorDetection = promiseConstructorDetection;
|
|
3047
|
+
var newPromiseCapabilityModule$7 = newPromiseCapability$2;
|
|
3048
|
+
var PROMISE = "Promise";
|
|
3049
|
+
var FORCED_PROMISE_CONSTRUCTOR$4 = PromiseConstructorDetection.CONSTRUCTOR;
|
|
3050
|
+
var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;
|
|
3051
|
+
PromiseConstructorDetection.SUBCLASSING;
|
|
3052
|
+
var getInternalPromiseState = InternalStateModule.getterFor(PROMISE);
|
|
3053
|
+
var setInternalState = InternalStateModule.set;
|
|
3054
|
+
var NativePromisePrototype$1 = NativePromiseConstructor$4 && NativePromiseConstructor$4.prototype;
|
|
3055
|
+
var PromiseConstructor = NativePromiseConstructor$4;
|
|
3056
|
+
var PromisePrototype = NativePromisePrototype$1;
|
|
3057
|
+
var TypeError$1 = global$2.TypeError;
|
|
3058
|
+
var document$1 = global$2.document;
|
|
3059
|
+
var process = global$2.process;
|
|
3060
|
+
var newPromiseCapability$1 = newPromiseCapabilityModule$7.f;
|
|
3061
|
+
var newGenericPromiseCapability = newPromiseCapability$1;
|
|
3062
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$2.dispatchEvent);
|
|
3063
|
+
var UNHANDLED_REJECTION = "unhandledrejection";
|
|
3064
|
+
var REJECTION_HANDLED = "rejectionhandled";
|
|
3065
|
+
var PENDING = 0;
|
|
3066
|
+
var FULFILLED = 1;
|
|
3067
|
+
var REJECTED = 2;
|
|
3068
|
+
var HANDLED = 1;
|
|
3069
|
+
var UNHANDLED = 2;
|
|
3070
|
+
var Internal, OwnPromiseCapability, PromiseWrapper;
|
|
3071
|
+
var isThenable = function(it) {
|
|
3072
|
+
var then2;
|
|
3073
|
+
return isObject$1(it) && isCallable$1(then2 = it.then) ? then2 : false;
|
|
3074
|
+
};
|
|
3075
|
+
var callReaction = function(reaction, state) {
|
|
3076
|
+
var value = state.value;
|
|
3077
|
+
var ok = state.state === FULFILLED;
|
|
3078
|
+
var handler = ok ? reaction.ok : reaction.fail;
|
|
3079
|
+
var resolve2 = reaction.resolve;
|
|
3080
|
+
var reject2 = reaction.reject;
|
|
3081
|
+
var domain = reaction.domain;
|
|
3082
|
+
var result, then2, exited;
|
|
3083
|
+
try {
|
|
3084
|
+
if (handler) {
|
|
3085
|
+
if (!ok) {
|
|
3086
|
+
if (state.rejection === UNHANDLED)
|
|
3087
|
+
onHandleUnhandled(state);
|
|
3088
|
+
state.rejection = HANDLED;
|
|
3089
|
+
}
|
|
3090
|
+
if (handler === true)
|
|
3091
|
+
result = value;
|
|
3092
|
+
else {
|
|
3093
|
+
if (domain)
|
|
3094
|
+
domain.enter();
|
|
3095
|
+
result = handler(value);
|
|
3096
|
+
if (domain) {
|
|
3097
|
+
domain.exit();
|
|
3098
|
+
exited = true;
|
|
3099
|
+
}
|
|
3100
|
+
}
|
|
3101
|
+
if (result === reaction.promise) {
|
|
3102
|
+
reject2(new TypeError$1("Promise-chain cycle"));
|
|
3103
|
+
} else if (then2 = isThenable(result)) {
|
|
3104
|
+
call$5(then2, result, resolve2, reject2);
|
|
3105
|
+
} else
|
|
3106
|
+
resolve2(result);
|
|
3107
|
+
} else
|
|
3108
|
+
reject2(value);
|
|
3109
|
+
} catch (error) {
|
|
3110
|
+
if (domain && !exited)
|
|
3111
|
+
domain.exit();
|
|
3112
|
+
reject2(error);
|
|
3113
|
+
}
|
|
3114
|
+
};
|
|
3115
|
+
var notify = function(state, isReject) {
|
|
3116
|
+
if (state.notified)
|
|
3117
|
+
return;
|
|
3118
|
+
state.notified = true;
|
|
3119
|
+
microtask(function() {
|
|
3120
|
+
var reactions = state.reactions;
|
|
3121
|
+
var reaction;
|
|
3122
|
+
while (reaction = reactions.get()) {
|
|
3123
|
+
callReaction(reaction, state);
|
|
3124
|
+
}
|
|
3125
|
+
state.notified = false;
|
|
3126
|
+
if (isReject && !state.rejection)
|
|
3127
|
+
onUnhandled(state);
|
|
3128
|
+
});
|
|
3129
|
+
};
|
|
3130
|
+
var dispatchEvent = function(name, promise2, reason) {
|
|
3131
|
+
var event, handler;
|
|
3132
|
+
if (DISPATCH_EVENT) {
|
|
3133
|
+
event = document$1.createEvent("Event");
|
|
3134
|
+
event.promise = promise2;
|
|
3135
|
+
event.reason = reason;
|
|
3136
|
+
event.initEvent(name, false, true);
|
|
3137
|
+
global$2.dispatchEvent(event);
|
|
3138
|
+
} else
|
|
3139
|
+
event = {
|
|
3140
|
+
promise: promise2,
|
|
3141
|
+
reason
|
|
3142
|
+
};
|
|
3143
|
+
if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$2["on" + name]))
|
|
3144
|
+
handler(event);
|
|
3145
|
+
else if (name === UNHANDLED_REJECTION)
|
|
3146
|
+
hostReportErrors("Unhandled promise rejection", reason);
|
|
3147
|
+
};
|
|
3148
|
+
var onUnhandled = function(state) {
|
|
3149
|
+
call$5(task, global$2, function() {
|
|
3150
|
+
var promise2 = state.facade;
|
|
3151
|
+
var value = state.value;
|
|
3152
|
+
var IS_UNHANDLED = isUnhandled(state);
|
|
3153
|
+
var result;
|
|
3154
|
+
if (IS_UNHANDLED) {
|
|
3155
|
+
result = perform$5(function() {
|
|
3156
|
+
if (IS_NODE) {
|
|
3157
|
+
process.emit("unhandledRejection", value, promise2);
|
|
3158
|
+
} else
|
|
3159
|
+
dispatchEvent(UNHANDLED_REJECTION, promise2, value);
|
|
3160
|
+
});
|
|
3161
|
+
state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;
|
|
3162
|
+
if (result.error)
|
|
3163
|
+
throw result.value;
|
|
3164
|
+
}
|
|
3165
|
+
});
|
|
3166
|
+
};
|
|
3167
|
+
var isUnhandled = function(state) {
|
|
3168
|
+
return state.rejection !== HANDLED && !state.parent;
|
|
3169
|
+
};
|
|
3170
|
+
var onHandleUnhandled = function(state) {
|
|
3171
|
+
call$5(task, global$2, function() {
|
|
3172
|
+
var promise2 = state.facade;
|
|
3173
|
+
if (IS_NODE) {
|
|
3174
|
+
process.emit("rejectionHandled", promise2);
|
|
3175
|
+
} else
|
|
3176
|
+
dispatchEvent(REJECTION_HANDLED, promise2, state.value);
|
|
3177
|
+
});
|
|
3178
|
+
};
|
|
3179
|
+
var bind = function(fn, state, unwrap) {
|
|
3180
|
+
return function(value) {
|
|
3181
|
+
fn(state, value, unwrap);
|
|
3182
|
+
};
|
|
3183
|
+
};
|
|
3184
|
+
var internalReject = function(state, value, unwrap) {
|
|
3185
|
+
if (state.done)
|
|
3186
|
+
return;
|
|
3187
|
+
state.done = true;
|
|
3188
|
+
if (unwrap)
|
|
3189
|
+
state = unwrap;
|
|
3190
|
+
state.value = value;
|
|
3191
|
+
state.state = REJECTED;
|
|
3192
|
+
notify(state, true);
|
|
3193
|
+
};
|
|
3194
|
+
var internalResolve = function(state, value, unwrap) {
|
|
3195
|
+
if (state.done)
|
|
3196
|
+
return;
|
|
3197
|
+
state.done = true;
|
|
3198
|
+
if (unwrap)
|
|
3199
|
+
state = unwrap;
|
|
3200
|
+
try {
|
|
3201
|
+
if (state.facade === value)
|
|
3202
|
+
throw new TypeError$1("Promise can't be resolved itself");
|
|
3203
|
+
var then2 = isThenable(value);
|
|
3204
|
+
if (then2) {
|
|
3205
|
+
microtask(function() {
|
|
3206
|
+
var wrapper = {
|
|
3207
|
+
done: false
|
|
3208
|
+
};
|
|
3209
|
+
try {
|
|
3210
|
+
call$5(then2, value, bind(internalResolve, wrapper, state), bind(internalReject, wrapper, state));
|
|
3211
|
+
} catch (error) {
|
|
3212
|
+
internalReject(wrapper, error, state);
|
|
3213
|
+
}
|
|
3214
|
+
});
|
|
3215
|
+
} else {
|
|
3216
|
+
state.value = value;
|
|
3217
|
+
state.state = FULFILLED;
|
|
3218
|
+
notify(state, false);
|
|
3219
|
+
}
|
|
3220
|
+
} catch (error) {
|
|
3221
|
+
internalReject({
|
|
3222
|
+
done: false
|
|
3223
|
+
}, error, state);
|
|
3224
|
+
}
|
|
3225
|
+
};
|
|
3226
|
+
if (FORCED_PROMISE_CONSTRUCTOR$4) {
|
|
3227
|
+
PromiseConstructor = function Promise2(executor) {
|
|
3228
|
+
anInstance(this, PromisePrototype);
|
|
3229
|
+
aCallable$4(executor);
|
|
3230
|
+
call$5(Internal, this);
|
|
3231
|
+
var state = getInternalPromiseState(this);
|
|
3232
|
+
try {
|
|
3233
|
+
executor(bind(internalResolve, state), bind(internalReject, state));
|
|
3234
|
+
} catch (error) {
|
|
3235
|
+
internalReject(state, error);
|
|
3236
|
+
}
|
|
3237
|
+
};
|
|
3238
|
+
PromisePrototype = PromiseConstructor.prototype;
|
|
3239
|
+
Internal = function Promise2(executor) {
|
|
3240
|
+
setInternalState(this, {
|
|
3241
|
+
type: PROMISE,
|
|
3242
|
+
done: false,
|
|
3243
|
+
notified: false,
|
|
3244
|
+
parent: false,
|
|
3245
|
+
reactions: new Queue(),
|
|
3246
|
+
rejection: false,
|
|
3247
|
+
state: PENDING,
|
|
3248
|
+
value: void 0
|
|
3249
|
+
});
|
|
3250
|
+
};
|
|
3251
|
+
Internal.prototype = defineBuiltIn(PromisePrototype, "then", function then2(onFulfilled, onRejected) {
|
|
3252
|
+
var state = getInternalPromiseState(this);
|
|
3253
|
+
var reaction = newPromiseCapability$1(speciesConstructor$1(this, PromiseConstructor));
|
|
3254
|
+
state.parent = true;
|
|
3255
|
+
reaction.ok = isCallable$1(onFulfilled) ? onFulfilled : true;
|
|
3256
|
+
reaction.fail = isCallable$1(onRejected) && onRejected;
|
|
3257
|
+
reaction.domain = IS_NODE ? process.domain : void 0;
|
|
3258
|
+
if (state.state === PENDING)
|
|
3259
|
+
state.reactions.add(reaction);
|
|
3260
|
+
else
|
|
3261
|
+
microtask(function() {
|
|
3262
|
+
callReaction(reaction, state);
|
|
3263
|
+
});
|
|
3264
|
+
return reaction.promise;
|
|
3265
|
+
});
|
|
3266
|
+
OwnPromiseCapability = function() {
|
|
3267
|
+
var promise2 = new Internal();
|
|
3268
|
+
var state = getInternalPromiseState(promise2);
|
|
3269
|
+
this.promise = promise2;
|
|
3270
|
+
this.resolve = bind(internalResolve, state);
|
|
3271
|
+
this.reject = bind(internalReject, state);
|
|
3272
|
+
};
|
|
3273
|
+
newPromiseCapabilityModule$7.f = newPromiseCapability$1 = function(C) {
|
|
3274
|
+
return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);
|
|
3275
|
+
};
|
|
3276
|
+
}
|
|
3277
|
+
$$p({
|
|
3278
|
+
global: true,
|
|
3279
|
+
constructor: true,
|
|
3280
|
+
wrap: true,
|
|
3281
|
+
forced: FORCED_PROMISE_CONSTRUCTOR$4
|
|
3282
|
+
}, {
|
|
3283
|
+
Promise: PromiseConstructor
|
|
3284
|
+
});
|
|
3285
|
+
setToStringTag(PromiseConstructor, PROMISE, false, true);
|
|
3286
|
+
setSpecies(PROMISE);
|
|
3287
|
+
var NativePromiseConstructor$3 = promiseNativeConstructor;
|
|
3288
|
+
var checkCorrectnessOfIteration = checkCorrectnessOfIteration$2;
|
|
3289
|
+
var FORCED_PROMISE_CONSTRUCTOR$3 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3290
|
+
var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCorrectnessOfIteration(function(iterable) {
|
|
3291
|
+
NativePromiseConstructor$3.all(iterable).then(void 0, function() {
|
|
3292
|
+
});
|
|
3293
|
+
});
|
|
3294
|
+
var $$o = _export;
|
|
3295
|
+
var call$4 = functionCall;
|
|
3296
|
+
var aCallable$3 = aCallable$a;
|
|
3297
|
+
var newPromiseCapabilityModule$6 = newPromiseCapability$2;
|
|
3298
|
+
var perform$4 = perform$6;
|
|
3299
|
+
var iterate$3 = iterate$5;
|
|
3300
|
+
var PROMISE_STATICS_INCORRECT_ITERATION$3 = promiseStaticsIncorrectIteration;
|
|
3301
|
+
$$o({
|
|
3302
|
+
target: "Promise",
|
|
3303
|
+
stat: true,
|
|
3304
|
+
forced: PROMISE_STATICS_INCORRECT_ITERATION$3
|
|
3305
|
+
}, {
|
|
3306
|
+
all: function all(iterable) {
|
|
3307
|
+
var C = this;
|
|
3308
|
+
var capability = newPromiseCapabilityModule$6.f(C);
|
|
3309
|
+
var resolve2 = capability.resolve;
|
|
3310
|
+
var reject2 = capability.reject;
|
|
3311
|
+
var result = perform$4(function() {
|
|
3312
|
+
var $promiseResolve = aCallable$3(C.resolve);
|
|
3313
|
+
var values = [];
|
|
3314
|
+
var counter2 = 0;
|
|
3315
|
+
var remaining = 1;
|
|
3316
|
+
iterate$3(iterable, function(promise2) {
|
|
3317
|
+
var index = counter2++;
|
|
3318
|
+
var alreadyCalled = false;
|
|
3319
|
+
remaining++;
|
|
3320
|
+
call$4($promiseResolve, C, promise2).then(function(value) {
|
|
3321
|
+
if (alreadyCalled)
|
|
3322
|
+
return;
|
|
3323
|
+
alreadyCalled = true;
|
|
3324
|
+
values[index] = value;
|
|
3325
|
+
--remaining || resolve2(values);
|
|
3326
|
+
}, reject2);
|
|
3327
|
+
});
|
|
3328
|
+
--remaining || resolve2(values);
|
|
3329
|
+
});
|
|
3330
|
+
if (result.error)
|
|
3331
|
+
reject2(result.value);
|
|
3332
|
+
return capability.promise;
|
|
3333
|
+
}
|
|
3334
|
+
});
|
|
3335
|
+
var $$n = _export;
|
|
3336
|
+
var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3337
|
+
var NativePromiseConstructor$2 = promiseNativeConstructor;
|
|
3338
|
+
NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
|
|
3339
|
+
$$n({
|
|
3340
|
+
target: "Promise",
|
|
3341
|
+
proto: true,
|
|
3342
|
+
forced: FORCED_PROMISE_CONSTRUCTOR$2,
|
|
3343
|
+
real: true
|
|
3344
|
+
}, {
|
|
3345
|
+
"catch": function(onRejected) {
|
|
3346
|
+
return this.then(void 0, onRejected);
|
|
3347
|
+
}
|
|
3348
|
+
});
|
|
3349
|
+
var $$m = _export;
|
|
3350
|
+
var call$3 = functionCall;
|
|
3351
|
+
var aCallable$2 = aCallable$a;
|
|
3352
|
+
var newPromiseCapabilityModule$5 = newPromiseCapability$2;
|
|
3353
|
+
var perform$3 = perform$6;
|
|
3354
|
+
var iterate$2 = iterate$5;
|
|
3355
|
+
var PROMISE_STATICS_INCORRECT_ITERATION$2 = promiseStaticsIncorrectIteration;
|
|
3356
|
+
$$m({
|
|
3357
|
+
target: "Promise",
|
|
3358
|
+
stat: true,
|
|
3359
|
+
forced: PROMISE_STATICS_INCORRECT_ITERATION$2
|
|
3360
|
+
}, {
|
|
3361
|
+
race: function race(iterable) {
|
|
3362
|
+
var C = this;
|
|
3363
|
+
var capability = newPromiseCapabilityModule$5.f(C);
|
|
3364
|
+
var reject2 = capability.reject;
|
|
3365
|
+
var result = perform$3(function() {
|
|
3366
|
+
var $promiseResolve = aCallable$2(C.resolve);
|
|
3367
|
+
iterate$2(iterable, function(promise2) {
|
|
3368
|
+
call$3($promiseResolve, C, promise2).then(capability.resolve, reject2);
|
|
3369
|
+
});
|
|
3370
|
+
});
|
|
3371
|
+
if (result.error)
|
|
3372
|
+
reject2(result.value);
|
|
3373
|
+
return capability.promise;
|
|
3374
|
+
}
|
|
3375
|
+
});
|
|
3376
|
+
var $$l = _export;
|
|
3377
|
+
var call$2 = functionCall;
|
|
3378
|
+
var newPromiseCapabilityModule$4 = newPromiseCapability$2;
|
|
3379
|
+
var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
|
|
3380
|
+
$$l({
|
|
3381
|
+
target: "Promise",
|
|
3382
|
+
stat: true,
|
|
3383
|
+
forced: FORCED_PROMISE_CONSTRUCTOR$1
|
|
3384
|
+
}, {
|
|
3385
|
+
reject: function reject(r) {
|
|
3386
|
+
var capability = newPromiseCapabilityModule$4.f(this);
|
|
3387
|
+
call$2(capability.reject, void 0, r);
|
|
3388
|
+
return capability.promise;
|
|
3389
|
+
}
|
|
3390
|
+
});
|
|
3391
|
+
var anObject = anObject$c;
|
|
3392
|
+
var isObject = isObject$c;
|
|
3393
|
+
var newPromiseCapability = newPromiseCapability$2;
|
|
3394
|
+
var promiseResolve$2 = function(C, x) {
|
|
3395
|
+
anObject(C);
|
|
3396
|
+
if (isObject(x) && x.constructor === C)
|
|
3397
|
+
return x;
|
|
3398
|
+
var promiseCapability = newPromiseCapability.f(C);
|
|
3399
|
+
var resolve2 = promiseCapability.resolve;
|
|
3400
|
+
resolve2(x);
|
|
3401
|
+
return promiseCapability.promise;
|
|
3402
|
+
};
|
|
3403
|
+
var $$k = _export;
|
|
3404
|
+
var getBuiltIn$2 = getBuiltIn$e;
|
|
3405
|
+
var IS_PURE = isPure;
|
|
3406
|
+
var NativePromiseConstructor$1 = promiseNativeConstructor;
|
|
3407
|
+
var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
|
|
3408
|
+
var promiseResolve$1 = promiseResolve$2;
|
|
3409
|
+
var PromiseConstructorWrapper = getBuiltIn$2("Promise");
|
|
3410
|
+
var CHECK_WRAPPER = !FORCED_PROMISE_CONSTRUCTOR;
|
|
3411
|
+
$$k({
|
|
3412
|
+
target: "Promise",
|
|
3413
|
+
stat: true,
|
|
3414
|
+
forced: IS_PURE
|
|
3415
|
+
}, {
|
|
3416
|
+
resolve: function resolve(x) {
|
|
3417
|
+
return promiseResolve$1(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor$1 : this, x);
|
|
3418
|
+
}
|
|
3419
|
+
});
|
|
3420
|
+
var $$j = _export;
|
|
3421
|
+
var call$1 = functionCall;
|
|
3422
|
+
var aCallable$1 = aCallable$a;
|
|
3423
|
+
var newPromiseCapabilityModule$3 = newPromiseCapability$2;
|
|
3424
|
+
var perform$2 = perform$6;
|
|
3425
|
+
var iterate$1 = iterate$5;
|
|
3426
|
+
var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
|
|
3427
|
+
$$j({
|
|
3428
|
+
target: "Promise",
|
|
3429
|
+
stat: true,
|
|
3430
|
+
forced: PROMISE_STATICS_INCORRECT_ITERATION$1
|
|
3431
|
+
}, {
|
|
3432
|
+
allSettled: function allSettled(iterable) {
|
|
3433
|
+
var C = this;
|
|
3434
|
+
var capability = newPromiseCapabilityModule$3.f(C);
|
|
3435
|
+
var resolve2 = capability.resolve;
|
|
3436
|
+
var reject2 = capability.reject;
|
|
3437
|
+
var result = perform$2(function() {
|
|
3438
|
+
var promiseResolve2 = aCallable$1(C.resolve);
|
|
3439
|
+
var values = [];
|
|
3440
|
+
var counter2 = 0;
|
|
3441
|
+
var remaining = 1;
|
|
3442
|
+
iterate$1(iterable, function(promise2) {
|
|
3443
|
+
var index = counter2++;
|
|
3444
|
+
var alreadyCalled = false;
|
|
3445
|
+
remaining++;
|
|
3446
|
+
call$1(promiseResolve2, C, promise2).then(function(value) {
|
|
3447
|
+
if (alreadyCalled)
|
|
3448
|
+
return;
|
|
3449
|
+
alreadyCalled = true;
|
|
3450
|
+
values[index] = {
|
|
3451
|
+
status: "fulfilled",
|
|
3452
|
+
value
|
|
3453
|
+
};
|
|
3454
|
+
--remaining || resolve2(values);
|
|
3455
|
+
}, function(error) {
|
|
3456
|
+
if (alreadyCalled)
|
|
3457
|
+
return;
|
|
3458
|
+
alreadyCalled = true;
|
|
3459
|
+
values[index] = {
|
|
3460
|
+
status: "rejected",
|
|
3461
|
+
reason: error
|
|
3462
|
+
};
|
|
3463
|
+
--remaining || resolve2(values);
|
|
3464
|
+
});
|
|
3465
|
+
});
|
|
3466
|
+
--remaining || resolve2(values);
|
|
3467
|
+
});
|
|
3468
|
+
if (result.error)
|
|
3469
|
+
reject2(result.value);
|
|
3470
|
+
return capability.promise;
|
|
3471
|
+
}
|
|
3472
|
+
});
|
|
3473
|
+
var $$i = _export;
|
|
3474
|
+
var call = functionCall;
|
|
3475
|
+
var aCallable = aCallable$a;
|
|
3476
|
+
var getBuiltIn$1 = getBuiltIn$e;
|
|
3477
|
+
var newPromiseCapabilityModule$2 = newPromiseCapability$2;
|
|
3478
|
+
var perform$1 = perform$6;
|
|
3479
|
+
var iterate = iterate$5;
|
|
3480
|
+
var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
|
|
3481
|
+
var PROMISE_ANY_ERROR = "No one promise resolved";
|
|
3482
|
+
$$i({
|
|
3483
|
+
target: "Promise",
|
|
3484
|
+
stat: true,
|
|
3485
|
+
forced: PROMISE_STATICS_INCORRECT_ITERATION
|
|
3486
|
+
}, {
|
|
3487
|
+
any: function any(iterable) {
|
|
3488
|
+
var C = this;
|
|
3489
|
+
var AggregateError2 = getBuiltIn$1("AggregateError");
|
|
3490
|
+
var capability = newPromiseCapabilityModule$2.f(C);
|
|
3491
|
+
var resolve2 = capability.resolve;
|
|
3492
|
+
var reject2 = capability.reject;
|
|
3493
|
+
var result = perform$1(function() {
|
|
3494
|
+
var promiseResolve2 = aCallable(C.resolve);
|
|
3495
|
+
var errors = [];
|
|
3496
|
+
var counter2 = 0;
|
|
3497
|
+
var remaining = 1;
|
|
3498
|
+
var alreadyResolved = false;
|
|
3499
|
+
iterate(iterable, function(promise2) {
|
|
3500
|
+
var index = counter2++;
|
|
3501
|
+
var alreadyRejected = false;
|
|
3502
|
+
remaining++;
|
|
3503
|
+
call(promiseResolve2, C, promise2).then(function(value) {
|
|
3504
|
+
if (alreadyRejected || alreadyResolved)
|
|
3505
|
+
return;
|
|
3506
|
+
alreadyResolved = true;
|
|
3507
|
+
resolve2(value);
|
|
3508
|
+
}, function(error) {
|
|
3509
|
+
if (alreadyRejected || alreadyResolved)
|
|
3510
|
+
return;
|
|
3511
|
+
alreadyRejected = true;
|
|
3512
|
+
errors[index] = error;
|
|
3513
|
+
--remaining || reject2(new AggregateError2(errors, PROMISE_ANY_ERROR));
|
|
3514
|
+
});
|
|
3515
|
+
});
|
|
3516
|
+
--remaining || reject2(new AggregateError2(errors, PROMISE_ANY_ERROR));
|
|
3517
|
+
});
|
|
3518
|
+
if (result.error)
|
|
3519
|
+
reject2(result.value);
|
|
3520
|
+
return capability.promise;
|
|
3521
|
+
}
|
|
3522
|
+
});
|
|
3523
|
+
var $$h = _export;
|
|
3524
|
+
var NativePromiseConstructor = promiseNativeConstructor;
|
|
3525
|
+
var fails$7 = fails$p;
|
|
3526
|
+
var getBuiltIn = getBuiltIn$e;
|
|
3527
|
+
var isCallable = isCallable$k;
|
|
3528
|
+
var speciesConstructor = speciesConstructor$2;
|
|
3529
|
+
var promiseResolve = promiseResolve$2;
|
|
3530
|
+
var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;
|
|
3531
|
+
var NON_GENERIC = !!NativePromiseConstructor && fails$7(function() {
|
|
3532
|
+
NativePromisePrototype["finally"].call({
|
|
3533
|
+
then: function() {
|
|
3534
|
+
}
|
|
3535
|
+
}, function() {
|
|
3536
|
+
});
|
|
3537
|
+
});
|
|
3538
|
+
$$h({
|
|
3539
|
+
target: "Promise",
|
|
3540
|
+
proto: true,
|
|
3541
|
+
real: true,
|
|
3542
|
+
forced: NON_GENERIC
|
|
3543
|
+
}, {
|
|
3544
|
+
"finally": function(onFinally) {
|
|
3545
|
+
var C = speciesConstructor(this, getBuiltIn("Promise"));
|
|
3546
|
+
var isFunction = isCallable(onFinally);
|
|
3547
|
+
return this.then(isFunction ? function(x) {
|
|
3548
|
+
return promiseResolve(C, onFinally()).then(function() {
|
|
3549
|
+
return x;
|
|
3550
|
+
});
|
|
3551
|
+
} : onFinally, isFunction ? function(e) {
|
|
3552
|
+
return promiseResolve(C, onFinally()).then(function() {
|
|
3553
|
+
throw e;
|
|
3554
|
+
});
|
|
3555
|
+
} : onFinally);
|
|
3556
|
+
}
|
|
3557
|
+
});
|
|
3558
|
+
var path$9 = path$i;
|
|
3559
|
+
var promise$4 = path$9.Promise;
|
|
3560
|
+
var parent$R = promise$4;
|
|
3561
|
+
var promise$3 = parent$R;
|
|
3562
|
+
var $$g = _export;
|
|
3563
|
+
var newPromiseCapabilityModule$1 = newPromiseCapability$2;
|
|
3564
|
+
$$g({
|
|
3565
|
+
target: "Promise",
|
|
3566
|
+
stat: true
|
|
3567
|
+
}, {
|
|
3568
|
+
withResolvers: function withResolvers() {
|
|
3569
|
+
var promiseCapability = newPromiseCapabilityModule$1.f(this);
|
|
3570
|
+
return {
|
|
3571
|
+
promise: promiseCapability.promise,
|
|
3572
|
+
resolve: promiseCapability.resolve,
|
|
3573
|
+
reject: promiseCapability.reject
|
|
3574
|
+
};
|
|
3575
|
+
}
|
|
3576
|
+
});
|
|
3577
|
+
var parent$Q = promise$3;
|
|
3578
|
+
var promise$2 = parent$Q;
|
|
3579
|
+
var $$f = _export;
|
|
3580
|
+
var newPromiseCapabilityModule = newPromiseCapability$2;
|
|
3581
|
+
var perform = perform$6;
|
|
3582
|
+
$$f({
|
|
3583
|
+
target: "Promise",
|
|
3584
|
+
stat: true,
|
|
3585
|
+
forced: true
|
|
3586
|
+
}, {
|
|
3587
|
+
"try": function(callbackfn) {
|
|
3588
|
+
var promiseCapability = newPromiseCapabilityModule.f(this);
|
|
3589
|
+
var result = perform(callbackfn);
|
|
3590
|
+
(result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);
|
|
3591
|
+
return promiseCapability.promise;
|
|
3592
|
+
}
|
|
3593
|
+
});
|
|
3594
|
+
var parent$P = promise$2;
|
|
3595
|
+
var promise$1 = parent$P;
|
|
3596
|
+
var promise = promise$1;
|
|
3597
|
+
const _Promise = /* @__PURE__ */ getDefaultExportFromCjs(promise);
|
|
3598
|
+
function asyncGeneratorStep(gen, resolve2, reject2, _next, _throw, key, arg) {
|
|
3599
|
+
try {
|
|
3600
|
+
var info = gen[key](arg);
|
|
3601
|
+
var value = info.value;
|
|
3602
|
+
} catch (error) {
|
|
3603
|
+
reject2(error);
|
|
3604
|
+
return;
|
|
3605
|
+
}
|
|
3606
|
+
if (info.done) {
|
|
3607
|
+
resolve2(value);
|
|
3608
|
+
} else {
|
|
3609
|
+
_Promise.resolve(value).then(_next, _throw);
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
function _asyncToGenerator(fn) {
|
|
3613
|
+
return function() {
|
|
3614
|
+
var self2 = this, args = arguments;
|
|
3615
|
+
return new _Promise(function(resolve2, reject2) {
|
|
3616
|
+
var gen = fn.apply(self2, args);
|
|
3617
|
+
function _next(value) {
|
|
3618
|
+
asyncGeneratorStep(gen, resolve2, reject2, _next, _throw, "next", value);
|
|
3619
|
+
}
|
|
3620
|
+
function _throw(err) {
|
|
3621
|
+
asyncGeneratorStep(gen, resolve2, reject2, _next, _throw, "throw", err);
|
|
3622
|
+
}
|
|
3623
|
+
_next(void 0);
|
|
3624
|
+
});
|
|
3625
|
+
};
|
|
3626
|
+
}
|
|
3627
|
+
var regeneratorRuntime$1 = { exports: {} };
|
|
3628
|
+
var _typeof = { exports: {} };
|
|
3629
|
+
(function(module) {
|
|
3630
|
+
var _Symbol2 = symbol;
|
|
3631
|
+
var _Symbol$iterator2 = iterator;
|
|
3632
|
+
function _typeof2(o) {
|
|
3633
|
+
"@babel/helpers - typeof";
|
|
3634
|
+
return module.exports = _typeof2 = "function" == typeof _Symbol2 && "symbol" == typeof _Symbol$iterator2 ? function(o2) {
|
|
3635
|
+
return typeof o2;
|
|
3636
|
+
} : function(o2) {
|
|
3637
|
+
return o2 && "function" == typeof _Symbol2 && o2.constructor === _Symbol2 && o2 !== _Symbol2.prototype ? "symbol" : typeof o2;
|
|
3638
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof2(o);
|
|
3639
|
+
}
|
|
3640
|
+
module.exports = _typeof2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3641
|
+
})(_typeof);
|
|
3642
|
+
var _typeofExports = _typeof.exports;
|
|
3643
|
+
var $$e = _export;
|
|
3644
|
+
var DESCRIPTORS$4 = descriptors;
|
|
3645
|
+
var create$5 = objectCreate;
|
|
3646
|
+
$$e({
|
|
3647
|
+
target: "Object",
|
|
3648
|
+
stat: true,
|
|
3649
|
+
sham: !DESCRIPTORS$4
|
|
3650
|
+
}, {
|
|
3651
|
+
create: create$5
|
|
3652
|
+
});
|
|
3653
|
+
var path$8 = path$i;
|
|
3654
|
+
var Object$3 = path$8.Object;
|
|
3655
|
+
var create$4 = function create3(P, D) {
|
|
3656
|
+
return Object$3.create(P, D);
|
|
3657
|
+
};
|
|
3658
|
+
var parent$O = create$4;
|
|
3659
|
+
var create$3 = parent$O;
|
|
3660
|
+
var parent$N = create$3;
|
|
3661
|
+
var create$2 = parent$N;
|
|
3662
|
+
var parent$M = create$2;
|
|
3663
|
+
var create$1 = parent$M;
|
|
3664
|
+
var create4 = create$1;
|
|
3665
|
+
var $$d = _export;
|
|
3666
|
+
var fails$6 = fails$p;
|
|
3667
|
+
var toObject$2 = toObject$9;
|
|
3668
|
+
var nativeGetPrototypeOf = objectGetPrototypeOf;
|
|
3669
|
+
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
3670
|
+
var FAILS_ON_PRIMITIVES$1 = fails$6(function() {
|
|
3671
|
+
nativeGetPrototypeOf(1);
|
|
3672
|
+
});
|
|
3673
|
+
$$d({
|
|
3674
|
+
target: "Object",
|
|
3675
|
+
stat: true,
|
|
3676
|
+
forced: FAILS_ON_PRIMITIVES$1,
|
|
3677
|
+
sham: !CORRECT_PROTOTYPE_GETTER
|
|
3678
|
+
}, {
|
|
3679
|
+
getPrototypeOf: function getPrototypeOf(it) {
|
|
3680
|
+
return nativeGetPrototypeOf(toObject$2(it));
|
|
3681
|
+
}
|
|
3682
|
+
});
|
|
3683
|
+
var path$7 = path$i;
|
|
3684
|
+
var getPrototypeOf$4 = path$7.Object.getPrototypeOf;
|
|
3685
|
+
var parent$L = getPrototypeOf$4;
|
|
3686
|
+
var getPrototypeOf$3 = parent$L;
|
|
3687
|
+
var parent$K = getPrototypeOf$3;
|
|
3688
|
+
var getPrototypeOf$2 = parent$K;
|
|
3689
|
+
var parent$J = getPrototypeOf$2;
|
|
3690
|
+
var getPrototypeOf$1 = parent$J;
|
|
3691
|
+
var getPrototypeOf2 = getPrototypeOf$1;
|
|
3692
|
+
var fails$5 = fails$p;
|
|
3693
|
+
var arrayMethodIsStrict$1 = function(METHOD_NAME, argument) {
|
|
3694
|
+
var method2 = [][METHOD_NAME];
|
|
3695
|
+
return !!method2 && fails$5(function() {
|
|
3696
|
+
method2.call(null, argument || function() {
|
|
3697
|
+
return 1;
|
|
3698
|
+
}, 1);
|
|
3699
|
+
});
|
|
3700
|
+
};
|
|
3701
|
+
var $forEach = arrayIteration.forEach;
|
|
3702
|
+
var arrayMethodIsStrict = arrayMethodIsStrict$1;
|
|
3703
|
+
var STRICT_METHOD = arrayMethodIsStrict("forEach");
|
|
3704
|
+
var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn) {
|
|
3705
|
+
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
3706
|
+
} : [].forEach;
|
|
3707
|
+
var $$c = _export;
|
|
3708
|
+
var forEach$7 = arrayForEach;
|
|
3709
|
+
$$c({
|
|
3710
|
+
target: "Array",
|
|
3711
|
+
proto: true,
|
|
3712
|
+
forced: [].forEach !== forEach$7
|
|
3713
|
+
}, {
|
|
3714
|
+
forEach: forEach$7
|
|
3715
|
+
});
|
|
3716
|
+
var getBuiltInPrototypeMethod$7 = getBuiltInPrototypeMethod$9;
|
|
3717
|
+
var forEach$6 = getBuiltInPrototypeMethod$7("Array", "forEach");
|
|
3718
|
+
var parent$I = forEach$6;
|
|
3719
|
+
var forEach$5 = parent$I;
|
|
3720
|
+
var classof = classof$9;
|
|
3721
|
+
var hasOwn2 = hasOwnProperty_1;
|
|
3722
|
+
var isPrototypeOf$7 = objectIsPrototypeOf;
|
|
3723
|
+
var method$7 = forEach$5;
|
|
3724
|
+
var ArrayPrototype$6 = Array.prototype;
|
|
3725
|
+
var DOMIterables = {
|
|
3726
|
+
DOMTokenList: true,
|
|
3727
|
+
NodeList: true
|
|
3728
|
+
};
|
|
3729
|
+
var forEach$4 = function(it) {
|
|
3730
|
+
var own = it.forEach;
|
|
3731
|
+
return it === ArrayPrototype$6 || isPrototypeOf$7(ArrayPrototype$6, it) && own === ArrayPrototype$6.forEach || hasOwn2(DOMIterables, classof(it)) ? method$7 : own;
|
|
3732
|
+
};
|
|
3733
|
+
var parent$H = forEach$4;
|
|
3734
|
+
var forEach$3 = parent$H;
|
|
3735
|
+
var parent$G = forEach$3;
|
|
3736
|
+
var forEach$2 = parent$G;
|
|
3737
|
+
var forEach$1 = forEach$2;
|
|
3738
|
+
var DESCRIPTORS$3 = descriptors;
|
|
3739
|
+
var isArray$1 = isArray$c;
|
|
3740
|
+
var $TypeError = TypeError;
|
|
3741
|
+
var getOwnPropertyDescriptor$7 = Object.getOwnPropertyDescriptor;
|
|
3742
|
+
var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$3 && !function() {
|
|
3743
|
+
if (this !== void 0)
|
|
3744
|
+
return true;
|
|
3745
|
+
try {
|
|
3746
|
+
Object.defineProperty([], "length", {
|
|
3747
|
+
writable: false
|
|
3748
|
+
}).length = 1;
|
|
3749
|
+
} catch (error) {
|
|
3750
|
+
return error instanceof TypeError;
|
|
3751
|
+
}
|
|
3752
|
+
}();
|
|
3753
|
+
var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function(O, length) {
|
|
3754
|
+
if (isArray$1(O) && !getOwnPropertyDescriptor$7(O, "length").writable) {
|
|
3755
|
+
throw new $TypeError("Cannot set read only .length");
|
|
3756
|
+
}
|
|
3757
|
+
return O.length = length;
|
|
3758
|
+
} : function(O, length) {
|
|
3759
|
+
return O.length = length;
|
|
3760
|
+
};
|
|
3761
|
+
var $$b = _export;
|
|
3762
|
+
var toObject$1 = toObject$9;
|
|
3763
|
+
var lengthOfArrayLike = lengthOfArrayLike$8;
|
|
3764
|
+
var setArrayLength = arraySetLength;
|
|
3765
|
+
var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;
|
|
3766
|
+
var fails$4 = fails$p;
|
|
3767
|
+
var INCORRECT_TO_LENGTH = fails$4(function() {
|
|
3768
|
+
return [].push.call({
|
|
3769
|
+
length: 4294967296
|
|
3770
|
+
}, 1) !== 4294967297;
|
|
3771
|
+
});
|
|
3772
|
+
var properErrorOnNonWritableLength = function() {
|
|
3773
|
+
try {
|
|
3774
|
+
Object.defineProperty([], "length", {
|
|
3775
|
+
writable: false
|
|
3776
|
+
}).push();
|
|
3777
|
+
} catch (error) {
|
|
3778
|
+
return error instanceof TypeError;
|
|
3779
|
+
}
|
|
3780
|
+
};
|
|
3781
|
+
var FORCED$2 = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
|
|
3782
|
+
$$b({
|
|
3783
|
+
target: "Array",
|
|
3784
|
+
proto: true,
|
|
3785
|
+
arity: 1,
|
|
3786
|
+
forced: FORCED$2
|
|
3787
|
+
}, {
|
|
3788
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
3789
|
+
push: function push(item) {
|
|
3790
|
+
var O = toObject$1(this);
|
|
3791
|
+
var len = lengthOfArrayLike(O);
|
|
3792
|
+
var argCount = arguments.length;
|
|
3793
|
+
doesNotExceedSafeInteger(len + argCount);
|
|
3794
|
+
for (var i = 0; i < argCount; i++) {
|
|
3795
|
+
O[len] = arguments[i];
|
|
3796
|
+
len++;
|
|
3797
|
+
}
|
|
3798
|
+
setArrayLength(O, len);
|
|
3799
|
+
return len;
|
|
3800
|
+
}
|
|
3801
|
+
});
|
|
3802
|
+
var getBuiltInPrototypeMethod$6 = getBuiltInPrototypeMethod$9;
|
|
3803
|
+
var push$5 = getBuiltInPrototypeMethod$6("Array", "push");
|
|
3804
|
+
var isPrototypeOf$6 = objectIsPrototypeOf;
|
|
3805
|
+
var method$6 = push$5;
|
|
3806
|
+
var ArrayPrototype$5 = Array.prototype;
|
|
3807
|
+
var push$4 = function(it) {
|
|
3808
|
+
var own = it.push;
|
|
3809
|
+
return it === ArrayPrototype$5 || isPrototypeOf$6(ArrayPrototype$5, it) && own === ArrayPrototype$5.push ? method$6 : own;
|
|
3810
|
+
};
|
|
3811
|
+
var parent$F = push$4;
|
|
3812
|
+
var push$3 = parent$F;
|
|
3813
|
+
var parent$E = push$3;
|
|
3814
|
+
var push$2 = parent$E;
|
|
3815
|
+
var parent$D = push$2;
|
|
3816
|
+
var push$1 = parent$D;
|
|
3817
|
+
var push2 = push$1;
|
|
3818
|
+
var $$a = _export;
|
|
3819
|
+
var setPrototypeOf$5 = objectSetPrototypeOf;
|
|
3820
|
+
$$a({
|
|
3821
|
+
target: "Object",
|
|
3822
|
+
stat: true
|
|
3823
|
+
}, {
|
|
3824
|
+
setPrototypeOf: setPrototypeOf$5
|
|
3825
|
+
});
|
|
3826
|
+
var path$6 = path$i;
|
|
3827
|
+
var setPrototypeOf$4 = path$6.Object.setPrototypeOf;
|
|
3828
|
+
var parent$C = setPrototypeOf$4;
|
|
3829
|
+
var setPrototypeOf$3 = parent$C;
|
|
3830
|
+
var parent$B = setPrototypeOf$3;
|
|
3831
|
+
var setPrototypeOf$2 = parent$B;
|
|
3832
|
+
var parent$A = setPrototypeOf$2;
|
|
3833
|
+
var setPrototypeOf$1 = parent$A;
|
|
3834
|
+
var setPrototypeOf = setPrototypeOf$1;
|
|
3835
|
+
var $$9 = _export;
|
|
3836
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
3837
|
+
var isArray2 = isArray$c;
|
|
3838
|
+
var nativeReverse = uncurryThis$2([].reverse);
|
|
3839
|
+
var test = [1, 2];
|
|
3840
|
+
$$9({
|
|
3841
|
+
target: "Array",
|
|
3842
|
+
proto: true,
|
|
3843
|
+
forced: String(test) === String(test.reverse())
|
|
3844
|
+
}, {
|
|
3845
|
+
reverse: function reverse() {
|
|
3846
|
+
if (isArray2(this))
|
|
3847
|
+
this.length = this.length;
|
|
3848
|
+
return nativeReverse(this);
|
|
3849
|
+
}
|
|
3850
|
+
});
|
|
3851
|
+
var getBuiltInPrototypeMethod$5 = getBuiltInPrototypeMethod$9;
|
|
3852
|
+
var reverse$5 = getBuiltInPrototypeMethod$5("Array", "reverse");
|
|
3853
|
+
var isPrototypeOf$5 = objectIsPrototypeOf;
|
|
3854
|
+
var method$5 = reverse$5;
|
|
3855
|
+
var ArrayPrototype$4 = Array.prototype;
|
|
3856
|
+
var reverse$4 = function(it) {
|
|
3857
|
+
var own = it.reverse;
|
|
3858
|
+
return it === ArrayPrototype$4 || isPrototypeOf$5(ArrayPrototype$4, it) && own === ArrayPrototype$4.reverse ? method$5 : own;
|
|
3859
|
+
};
|
|
3860
|
+
var parent$z = reverse$4;
|
|
3861
|
+
var reverse$3 = parent$z;
|
|
3862
|
+
var parent$y = reverse$3;
|
|
3863
|
+
var reverse$2 = parent$y;
|
|
3864
|
+
var parent$x = reverse$2;
|
|
3865
|
+
var reverse$1 = parent$x;
|
|
3866
|
+
var reverse2 = reverse$1;
|
|
3867
|
+
(function(module) {
|
|
3868
|
+
var _typeof2 = _typeofExports["default"];
|
|
3869
|
+
var _Object$defineProperty2 = defineProperty$5;
|
|
3870
|
+
var _Symbol2 = symbol;
|
|
3871
|
+
var _Object$create = create4;
|
|
3872
|
+
var _Object$getPrototypeOf = getPrototypeOf2;
|
|
3873
|
+
var _forEachInstanceProperty2 = forEach$1;
|
|
3874
|
+
var _pushInstanceProperty = push2;
|
|
3875
|
+
var _Object$setPrototypeOf = setPrototypeOf;
|
|
3876
|
+
var _Promise2 = promise;
|
|
3877
|
+
var _reverseInstanceProperty = reverse2;
|
|
3878
|
+
var _sliceInstanceProperty2 = slice2;
|
|
3879
|
+
function _regeneratorRuntime2() {
|
|
3880
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
3881
|
+
module.exports = _regeneratorRuntime2 = function _regeneratorRuntime3() {
|
|
3882
|
+
return e;
|
|
3883
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
3884
|
+
var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = _Object$defineProperty2 || function(t2, e2, r2) {
|
|
3885
|
+
t2[e2] = r2.value;
|
|
3886
|
+
}, i = "function" == typeof _Symbol2 ? _Symbol2 : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag";
|
|
3887
|
+
function define(t2, e2, r2) {
|
|
3888
|
+
return _Object$defineProperty2(t2, e2, {
|
|
3889
|
+
value: r2,
|
|
3890
|
+
enumerable: true,
|
|
3891
|
+
configurable: true,
|
|
3892
|
+
writable: true
|
|
3893
|
+
}), t2[e2];
|
|
3894
|
+
}
|
|
3895
|
+
try {
|
|
3896
|
+
define({}, "");
|
|
3897
|
+
} catch (t2) {
|
|
3898
|
+
define = function define2(t3, e2, r2) {
|
|
3899
|
+
return t3[e2] = r2;
|
|
3900
|
+
};
|
|
3901
|
+
}
|
|
3902
|
+
function wrap2(t2, e2, r2, n2) {
|
|
3903
|
+
var i2 = e2 && e2.prototype instanceof Generator ? e2 : Generator, a2 = _Object$create(i2.prototype), c2 = new Context(n2 || []);
|
|
3904
|
+
return o(a2, "_invoke", {
|
|
3905
|
+
value: makeInvokeMethod(t2, r2, c2)
|
|
3906
|
+
}), a2;
|
|
3907
|
+
}
|
|
3908
|
+
function tryCatch(t2, e2, r2) {
|
|
3909
|
+
try {
|
|
3910
|
+
return {
|
|
3911
|
+
type: "normal",
|
|
3912
|
+
arg: t2.call(e2, r2)
|
|
3913
|
+
};
|
|
3914
|
+
} catch (t3) {
|
|
3915
|
+
return {
|
|
3916
|
+
type: "throw",
|
|
3917
|
+
arg: t3
|
|
3918
|
+
};
|
|
3919
|
+
}
|
|
3920
|
+
}
|
|
3921
|
+
e.wrap = wrap2;
|
|
3922
|
+
var h2 = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {};
|
|
3923
|
+
function Generator() {
|
|
3924
|
+
}
|
|
3925
|
+
function GeneratorFunction() {
|
|
3926
|
+
}
|
|
3927
|
+
function GeneratorFunctionPrototype() {
|
|
3928
|
+
}
|
|
3929
|
+
var p = {};
|
|
3930
|
+
define(p, a, function() {
|
|
3931
|
+
return this;
|
|
3932
|
+
});
|
|
3933
|
+
var d = _Object$getPrototypeOf, v = d && d(d(values([])));
|
|
3934
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
3935
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(p);
|
|
3936
|
+
function defineIteratorMethods(t2) {
|
|
3937
|
+
var _context;
|
|
3938
|
+
_forEachInstanceProperty2(_context = ["next", "throw", "return"]).call(_context, function(e2) {
|
|
3939
|
+
define(t2, e2, function(t3) {
|
|
3940
|
+
return this._invoke(e2, t3);
|
|
3941
|
+
});
|
|
3942
|
+
});
|
|
3943
|
+
}
|
|
3944
|
+
function AsyncIterator(t2, e2) {
|
|
3945
|
+
function invoke(r3, o2, i2, a2) {
|
|
3946
|
+
var c2 = tryCatch(t2[r3], t2, o2);
|
|
3947
|
+
if ("throw" !== c2.type) {
|
|
3948
|
+
var u2 = c2.arg, h3 = u2.value;
|
|
3949
|
+
return h3 && "object" == _typeof2(h3) && n.call(h3, "__await") ? e2.resolve(h3.__await).then(function(t3) {
|
|
3950
|
+
invoke("next", t3, i2, a2);
|
|
3951
|
+
}, function(t3) {
|
|
3952
|
+
invoke("throw", t3, i2, a2);
|
|
3953
|
+
}) : e2.resolve(h3).then(function(t3) {
|
|
3954
|
+
u2.value = t3, i2(u2);
|
|
3955
|
+
}, function(t3) {
|
|
3956
|
+
return invoke("throw", t3, i2, a2);
|
|
3957
|
+
});
|
|
3958
|
+
}
|
|
3959
|
+
a2(c2.arg);
|
|
3960
|
+
}
|
|
3961
|
+
var r2;
|
|
3962
|
+
o(this, "_invoke", {
|
|
3963
|
+
value: function value(t3, n2) {
|
|
3964
|
+
function callInvokeWithMethodAndArg() {
|
|
3965
|
+
return new e2(function(e3, r3) {
|
|
3966
|
+
invoke(t3, n2, e3, r3);
|
|
3967
|
+
});
|
|
3968
|
+
}
|
|
3969
|
+
return r2 = r2 ? r2.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
3970
|
+
}
|
|
3971
|
+
});
|
|
3972
|
+
}
|
|
3973
|
+
function makeInvokeMethod(e2, r2, n2) {
|
|
3974
|
+
var o2 = h2;
|
|
3975
|
+
return function(i2, a2) {
|
|
3976
|
+
if (o2 === f)
|
|
3977
|
+
throw new Error("Generator is already running");
|
|
3978
|
+
if (o2 === s) {
|
|
3979
|
+
if ("throw" === i2)
|
|
3980
|
+
throw a2;
|
|
3981
|
+
return {
|
|
3982
|
+
value: t,
|
|
3983
|
+
done: true
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3986
|
+
for (n2.method = i2, n2.arg = a2; ; ) {
|
|
3987
|
+
var c2 = n2.delegate;
|
|
3988
|
+
if (c2) {
|
|
3989
|
+
var u2 = maybeInvokeDelegate(c2, n2);
|
|
3990
|
+
if (u2) {
|
|
3991
|
+
if (u2 === y)
|
|
3992
|
+
continue;
|
|
3993
|
+
return u2;
|
|
3994
|
+
}
|
|
3995
|
+
}
|
|
3996
|
+
if ("next" === n2.method)
|
|
3997
|
+
n2.sent = n2._sent = n2.arg;
|
|
3998
|
+
else if ("throw" === n2.method) {
|
|
3999
|
+
if (o2 === h2)
|
|
4000
|
+
throw o2 = s, n2.arg;
|
|
4001
|
+
n2.dispatchException(n2.arg);
|
|
4002
|
+
} else
|
|
4003
|
+
"return" === n2.method && n2.abrupt("return", n2.arg);
|
|
4004
|
+
o2 = f;
|
|
4005
|
+
var p2 = tryCatch(e2, r2, n2);
|
|
4006
|
+
if ("normal" === p2.type) {
|
|
4007
|
+
if (o2 = n2.done ? s : l, p2.arg === y)
|
|
4008
|
+
continue;
|
|
4009
|
+
return {
|
|
4010
|
+
value: p2.arg,
|
|
4011
|
+
done: n2.done
|
|
4012
|
+
};
|
|
4013
|
+
}
|
|
4014
|
+
"throw" === p2.type && (o2 = s, n2.method = "throw", n2.arg = p2.arg);
|
|
4015
|
+
}
|
|
4016
|
+
};
|
|
4017
|
+
}
|
|
4018
|
+
function maybeInvokeDelegate(e2, r2) {
|
|
4019
|
+
var n2 = r2.method, o2 = e2.iterator[n2];
|
|
4020
|
+
if (o2 === t)
|
|
4021
|
+
return r2.delegate = null, "throw" === n2 && e2.iterator["return"] && (r2.method = "return", r2.arg = t, maybeInvokeDelegate(e2, r2), "throw" === r2.method) || "return" !== n2 && (r2.method = "throw", r2.arg = new TypeError("The iterator does not provide a '" + n2 + "' method")), y;
|
|
4022
|
+
var i2 = tryCatch(o2, e2.iterator, r2.arg);
|
|
4023
|
+
if ("throw" === i2.type)
|
|
4024
|
+
return r2.method = "throw", r2.arg = i2.arg, r2.delegate = null, y;
|
|
4025
|
+
var a2 = i2.arg;
|
|
4026
|
+
return a2 ? a2.done ? (r2[e2.resultName] = a2.value, r2.next = e2.nextLoc, "return" !== r2.method && (r2.method = "next", r2.arg = t), r2.delegate = null, y) : a2 : (r2.method = "throw", r2.arg = new TypeError("iterator result is not an object"), r2.delegate = null, y);
|
|
4027
|
+
}
|
|
4028
|
+
function pushTryEntry(t2) {
|
|
4029
|
+
var _context2;
|
|
4030
|
+
var e2 = {
|
|
4031
|
+
tryLoc: t2[0]
|
|
4032
|
+
};
|
|
4033
|
+
1 in t2 && (e2.catchLoc = t2[1]), 2 in t2 && (e2.finallyLoc = t2[2], e2.afterLoc = t2[3]), _pushInstanceProperty(_context2 = this.tryEntries).call(_context2, e2);
|
|
4034
|
+
}
|
|
4035
|
+
function resetTryEntry(t2) {
|
|
4036
|
+
var e2 = t2.completion || {};
|
|
4037
|
+
e2.type = "normal", delete e2.arg, t2.completion = e2;
|
|
4038
|
+
}
|
|
4039
|
+
function Context(t2) {
|
|
4040
|
+
this.tryEntries = [{
|
|
4041
|
+
tryLoc: "root"
|
|
4042
|
+
}], _forEachInstanceProperty2(t2).call(t2, pushTryEntry, this), this.reset(true);
|
|
4043
|
+
}
|
|
4044
|
+
function values(e2) {
|
|
4045
|
+
if (e2 || "" === e2) {
|
|
4046
|
+
var r2 = e2[a];
|
|
4047
|
+
if (r2)
|
|
4048
|
+
return r2.call(e2);
|
|
4049
|
+
if ("function" == typeof e2.next)
|
|
4050
|
+
return e2;
|
|
4051
|
+
if (!isNaN(e2.length)) {
|
|
4052
|
+
var o2 = -1, i2 = function next2() {
|
|
4053
|
+
for (; ++o2 < e2.length; )
|
|
4054
|
+
if (n.call(e2, o2))
|
|
4055
|
+
return next2.value = e2[o2], next2.done = false, next2;
|
|
4056
|
+
return next2.value = t, next2.done = true, next2;
|
|
4057
|
+
};
|
|
4058
|
+
return i2.next = i2;
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
throw new TypeError(_typeof2(e2) + " is not iterable");
|
|
4062
|
+
}
|
|
4063
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
4064
|
+
value: GeneratorFunctionPrototype,
|
|
4065
|
+
configurable: true
|
|
4066
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
4067
|
+
value: GeneratorFunction,
|
|
4068
|
+
configurable: true
|
|
4069
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function(t2) {
|
|
4070
|
+
var e2 = "function" == typeof t2 && t2.constructor;
|
|
4071
|
+
return !!e2 && (e2 === GeneratorFunction || "GeneratorFunction" === (e2.displayName || e2.name));
|
|
4072
|
+
}, e.mark = function(t2) {
|
|
4073
|
+
return _Object$setPrototypeOf ? _Object$setPrototypeOf(t2, GeneratorFunctionPrototype) : (t2.__proto__ = GeneratorFunctionPrototype, define(t2, u, "GeneratorFunction")), t2.prototype = _Object$create(g), t2;
|
|
4074
|
+
}, e.awrap = function(t2) {
|
|
4075
|
+
return {
|
|
4076
|
+
__await: t2
|
|
4077
|
+
};
|
|
4078
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function() {
|
|
4079
|
+
return this;
|
|
4080
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function(t2, r2, n2, o2, i2) {
|
|
4081
|
+
void 0 === i2 && (i2 = _Promise2);
|
|
4082
|
+
var a2 = new AsyncIterator(wrap2(t2, r2, n2, o2), i2);
|
|
4083
|
+
return e.isGeneratorFunction(r2) ? a2 : a2.next().then(function(t3) {
|
|
4084
|
+
return t3.done ? t3.value : a2.next();
|
|
4085
|
+
});
|
|
4086
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function() {
|
|
4087
|
+
return this;
|
|
4088
|
+
}), define(g, "toString", function() {
|
|
4089
|
+
return "[object Generator]";
|
|
4090
|
+
}), e.keys = function(t2) {
|
|
4091
|
+
var e2 = Object(t2), r2 = [];
|
|
4092
|
+
for (var n2 in e2)
|
|
4093
|
+
_pushInstanceProperty(r2).call(r2, n2);
|
|
4094
|
+
return _reverseInstanceProperty(r2).call(r2), function next2() {
|
|
4095
|
+
for (; r2.length; ) {
|
|
4096
|
+
var t3 = r2.pop();
|
|
4097
|
+
if (t3 in e2)
|
|
4098
|
+
return next2.value = t3, next2.done = false, next2;
|
|
4099
|
+
}
|
|
4100
|
+
return next2.done = true, next2;
|
|
4101
|
+
};
|
|
4102
|
+
}, e.values = values, Context.prototype = {
|
|
4103
|
+
constructor: Context,
|
|
4104
|
+
reset: function reset(e2) {
|
|
4105
|
+
var _context3;
|
|
4106
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = false, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty2(_context3 = this.tryEntries).call(_context3, resetTryEntry), !e2)
|
|
4107
|
+
for (var r2 in this)
|
|
4108
|
+
"t" === r2.charAt(0) && n.call(this, r2) && !isNaN(+_sliceInstanceProperty2(r2).call(r2, 1)) && (this[r2] = t);
|
|
4109
|
+
},
|
|
4110
|
+
stop: function stop() {
|
|
4111
|
+
this.done = true;
|
|
4112
|
+
var t2 = this.tryEntries[0].completion;
|
|
4113
|
+
if ("throw" === t2.type)
|
|
4114
|
+
throw t2.arg;
|
|
4115
|
+
return this.rval;
|
|
4116
|
+
},
|
|
4117
|
+
dispatchException: function dispatchException(e2) {
|
|
4118
|
+
if (this.done)
|
|
4119
|
+
throw e2;
|
|
4120
|
+
var r2 = this;
|
|
4121
|
+
function handle(n2, o3) {
|
|
4122
|
+
return a2.type = "throw", a2.arg = e2, r2.next = n2, o3 && (r2.method = "next", r2.arg = t), !!o3;
|
|
4123
|
+
}
|
|
4124
|
+
for (var o2 = this.tryEntries.length - 1; o2 >= 0; --o2) {
|
|
4125
|
+
var i2 = this.tryEntries[o2], a2 = i2.completion;
|
|
4126
|
+
if ("root" === i2.tryLoc)
|
|
4127
|
+
return handle("end");
|
|
4128
|
+
if (i2.tryLoc <= this.prev) {
|
|
4129
|
+
var c2 = n.call(i2, "catchLoc"), u2 = n.call(i2, "finallyLoc");
|
|
4130
|
+
if (c2 && u2) {
|
|
4131
|
+
if (this.prev < i2.catchLoc)
|
|
4132
|
+
return handle(i2.catchLoc, true);
|
|
4133
|
+
if (this.prev < i2.finallyLoc)
|
|
4134
|
+
return handle(i2.finallyLoc);
|
|
4135
|
+
} else if (c2) {
|
|
4136
|
+
if (this.prev < i2.catchLoc)
|
|
4137
|
+
return handle(i2.catchLoc, true);
|
|
4138
|
+
} else {
|
|
4139
|
+
if (!u2)
|
|
4140
|
+
throw new Error("try statement without catch or finally");
|
|
4141
|
+
if (this.prev < i2.finallyLoc)
|
|
4142
|
+
return handle(i2.finallyLoc);
|
|
4143
|
+
}
|
|
4144
|
+
}
|
|
4145
|
+
}
|
|
4146
|
+
},
|
|
4147
|
+
abrupt: function abrupt(t2, e2) {
|
|
4148
|
+
for (var r2 = this.tryEntries.length - 1; r2 >= 0; --r2) {
|
|
4149
|
+
var o2 = this.tryEntries[r2];
|
|
4150
|
+
if (o2.tryLoc <= this.prev && n.call(o2, "finallyLoc") && this.prev < o2.finallyLoc) {
|
|
4151
|
+
var i2 = o2;
|
|
4152
|
+
break;
|
|
4153
|
+
}
|
|
4154
|
+
}
|
|
4155
|
+
i2 && ("break" === t2 || "continue" === t2) && i2.tryLoc <= e2 && e2 <= i2.finallyLoc && (i2 = null);
|
|
4156
|
+
var a2 = i2 ? i2.completion : {};
|
|
4157
|
+
return a2.type = t2, a2.arg = e2, i2 ? (this.method = "next", this.next = i2.finallyLoc, y) : this.complete(a2);
|
|
4158
|
+
},
|
|
4159
|
+
complete: function complete(t2, e2) {
|
|
4160
|
+
if ("throw" === t2.type)
|
|
4161
|
+
throw t2.arg;
|
|
4162
|
+
return "break" === t2.type || "continue" === t2.type ? this.next = t2.arg : "return" === t2.type ? (this.rval = this.arg = t2.arg, this.method = "return", this.next = "end") : "normal" === t2.type && e2 && (this.next = e2), y;
|
|
4163
|
+
},
|
|
4164
|
+
finish: function finish(t2) {
|
|
4165
|
+
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
|
|
4166
|
+
var r2 = this.tryEntries[e2];
|
|
4167
|
+
if (r2.finallyLoc === t2)
|
|
4168
|
+
return this.complete(r2.completion, r2.afterLoc), resetTryEntry(r2), y;
|
|
4169
|
+
}
|
|
4170
|
+
},
|
|
4171
|
+
"catch": function _catch(t2) {
|
|
4172
|
+
for (var e2 = this.tryEntries.length - 1; e2 >= 0; --e2) {
|
|
4173
|
+
var r2 = this.tryEntries[e2];
|
|
4174
|
+
if (r2.tryLoc === t2) {
|
|
4175
|
+
var n2 = r2.completion;
|
|
4176
|
+
if ("throw" === n2.type) {
|
|
4177
|
+
var o2 = n2.arg;
|
|
4178
|
+
resetTryEntry(r2);
|
|
4179
|
+
}
|
|
4180
|
+
return o2;
|
|
4181
|
+
}
|
|
4182
|
+
}
|
|
4183
|
+
throw new Error("illegal catch attempt");
|
|
4184
|
+
},
|
|
4185
|
+
delegateYield: function delegateYield(e2, r2, n2) {
|
|
4186
|
+
return this.delegate = {
|
|
4187
|
+
iterator: values(e2),
|
|
4188
|
+
resultName: r2,
|
|
4189
|
+
nextLoc: n2
|
|
4190
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
4191
|
+
}
|
|
4192
|
+
}, e;
|
|
4193
|
+
}
|
|
4194
|
+
module.exports = _regeneratorRuntime2, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
4195
|
+
})(regeneratorRuntime$1);
|
|
4196
|
+
var regeneratorRuntimeExports = regeneratorRuntime$1.exports;
|
|
4197
|
+
var runtime = regeneratorRuntimeExports();
|
|
4198
|
+
var regenerator = runtime;
|
|
4199
|
+
try {
|
|
4200
|
+
regeneratorRuntime = runtime;
|
|
4201
|
+
} catch (accidentalStrictMode) {
|
|
4202
|
+
if (typeof globalThis === "object") {
|
|
4203
|
+
globalThis.regeneratorRuntime = runtime;
|
|
4204
|
+
} else {
|
|
4205
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
4206
|
+
}
|
|
4207
|
+
}
|
|
4208
|
+
const _regeneratorRuntime = /* @__PURE__ */ getDefaultExportFromCjs(regenerator);
|
|
4209
|
+
var whitespaces$3 = " \n\v\f\r \u2028\u2029\uFEFF";
|
|
4210
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
4211
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
4212
|
+
var toString$1 = toString$8;
|
|
4213
|
+
var whitespaces$2 = whitespaces$3;
|
|
4214
|
+
var replace = uncurryThis$1("".replace);
|
|
4215
|
+
var ltrim = RegExp("^[" + whitespaces$2 + "]+");
|
|
4216
|
+
var rtrim = RegExp("(^|[^" + whitespaces$2 + "])[" + whitespaces$2 + "]+$");
|
|
4217
|
+
var createMethod = function(TYPE) {
|
|
4218
|
+
return function($this) {
|
|
4219
|
+
var string = toString$1(requireObjectCoercible($this));
|
|
4220
|
+
if (TYPE & 1)
|
|
4221
|
+
string = replace(string, ltrim, "");
|
|
4222
|
+
if (TYPE & 2)
|
|
4223
|
+
string = replace(string, rtrim, "$1");
|
|
4224
|
+
return string;
|
|
4225
|
+
};
|
|
4226
|
+
};
|
|
4227
|
+
var stringTrim = {
|
|
4228
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
4229
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
4230
|
+
start: createMethod(1),
|
|
4231
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
4232
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
4233
|
+
end: createMethod(2),
|
|
4234
|
+
// `String.prototype.trim` method
|
|
4235
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
4236
|
+
trim: createMethod(3)
|
|
4237
|
+
};
|
|
4238
|
+
var global$1 = global$m;
|
|
4239
|
+
var fails$3 = fails$p;
|
|
4240
|
+
var uncurryThis = functionUncurryThis;
|
|
4241
|
+
var toString2 = toString$8;
|
|
4242
|
+
var trim$7 = stringTrim.trim;
|
|
4243
|
+
var whitespaces$1 = whitespaces$3;
|
|
4244
|
+
var charAt = uncurryThis("".charAt);
|
|
4245
|
+
var $parseFloat$1 = global$1.parseFloat;
|
|
4246
|
+
var Symbol$1 = global$1.Symbol;
|
|
4247
|
+
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
4248
|
+
var FORCED$1 = 1 / $parseFloat$1(whitespaces$1 + "-0") !== -Infinity || ITERATOR && !fails$3(function() {
|
|
4249
|
+
$parseFloat$1(Object(ITERATOR));
|
|
4250
|
+
});
|
|
4251
|
+
var numberParseFloat = FORCED$1 ? function parseFloat2(string) {
|
|
4252
|
+
var trimmedString = trim$7(toString2(string));
|
|
4253
|
+
var result = $parseFloat$1(trimmedString);
|
|
4254
|
+
return result === 0 && charAt(trimmedString, 0) === "-" ? -0 : result;
|
|
4255
|
+
} : $parseFloat$1;
|
|
4256
|
+
var $$8 = _export;
|
|
4257
|
+
var $parseFloat = numberParseFloat;
|
|
4258
|
+
$$8({
|
|
4259
|
+
global: true,
|
|
4260
|
+
forced: parseFloat !== $parseFloat
|
|
4261
|
+
}, {
|
|
4262
|
+
parseFloat: $parseFloat
|
|
4263
|
+
});
|
|
4264
|
+
var path$5 = path$i;
|
|
4265
|
+
var _parseFloat$6 = path$5.parseFloat;
|
|
4266
|
+
var parent$w = _parseFloat$6;
|
|
4267
|
+
var _parseFloat$5 = parent$w;
|
|
4268
|
+
var parent$v = _parseFloat$5;
|
|
4269
|
+
var _parseFloat$4 = parent$v;
|
|
4270
|
+
var parent$u = _parseFloat$4;
|
|
4271
|
+
var _parseFloat$3 = parent$u;
|
|
4272
|
+
var _parseFloat$2 = _parseFloat$3;
|
|
4273
|
+
var _parseFloat = _parseFloat$2;
|
|
4274
|
+
const _parseFloat$1 = /* @__PURE__ */ getDefaultExportFromCjs(_parseFloat);
|
|
4275
|
+
var getBuiltInPrototypeMethod$4 = getBuiltInPrototypeMethod$9;
|
|
4276
|
+
var concat$6 = getBuiltInPrototypeMethod$4("Array", "concat");
|
|
4277
|
+
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
4278
|
+
var method$4 = concat$6;
|
|
4279
|
+
var ArrayPrototype$3 = Array.prototype;
|
|
4280
|
+
var concat$5 = function(it) {
|
|
4281
|
+
var own = it.concat;
|
|
4282
|
+
return it === ArrayPrototype$3 || isPrototypeOf$4(ArrayPrototype$3, it) && own === ArrayPrototype$3.concat ? method$4 : own;
|
|
4283
|
+
};
|
|
4284
|
+
var parent$t = concat$5;
|
|
4285
|
+
var concat$4 = parent$t;
|
|
4286
|
+
var parent$s = concat$4;
|
|
4287
|
+
var concat$3 = parent$s;
|
|
4288
|
+
var parent$r = concat$3;
|
|
4289
|
+
var concat$2 = parent$r;
|
|
4290
|
+
var concat$1 = concat$2;
|
|
4291
|
+
var concat2 = concat$1;
|
|
4292
|
+
const _concatInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(concat2);
|
|
4293
|
+
var $$7 = _export;
|
|
4294
|
+
var $map = arrayIteration.map;
|
|
4295
|
+
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$4;
|
|
4296
|
+
var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1("map");
|
|
4297
|
+
$$7({
|
|
4298
|
+
target: "Array",
|
|
4299
|
+
proto: true,
|
|
4300
|
+
forced: !HAS_SPECIES_SUPPORT$1
|
|
4301
|
+
}, {
|
|
4302
|
+
map: function map(callbackfn) {
|
|
4303
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
4304
|
+
}
|
|
4305
|
+
});
|
|
4306
|
+
var getBuiltInPrototypeMethod$3 = getBuiltInPrototypeMethod$9;
|
|
4307
|
+
var map$6 = getBuiltInPrototypeMethod$3("Array", "map");
|
|
4308
|
+
var isPrototypeOf$3 = objectIsPrototypeOf;
|
|
4309
|
+
var method$3 = map$6;
|
|
4310
|
+
var ArrayPrototype$2 = Array.prototype;
|
|
4311
|
+
var map$5 = function(it) {
|
|
4312
|
+
var own = it.map;
|
|
4313
|
+
return it === ArrayPrototype$2 || isPrototypeOf$3(ArrayPrototype$2, it) && own === ArrayPrototype$2.map ? method$3 : own;
|
|
4314
|
+
};
|
|
4315
|
+
var parent$q = map$5;
|
|
4316
|
+
var map$4 = parent$q;
|
|
4317
|
+
var parent$p = map$4;
|
|
4318
|
+
var map$3 = parent$p;
|
|
4319
|
+
var parent$o = map$3;
|
|
4320
|
+
var map$2 = parent$o;
|
|
4321
|
+
var map$1 = map$2;
|
|
4322
|
+
var map2 = map$1;
|
|
4323
|
+
const _mapInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(map2);
|
|
4324
|
+
var $$6 = _export;
|
|
4325
|
+
var $filter = arrayIteration.filter;
|
|
4326
|
+
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$4;
|
|
4327
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport("filter");
|
|
4328
|
+
$$6({
|
|
4329
|
+
target: "Array",
|
|
4330
|
+
proto: true,
|
|
4331
|
+
forced: !HAS_SPECIES_SUPPORT
|
|
4332
|
+
}, {
|
|
4333
|
+
filter: function filter(callbackfn) {
|
|
4334
|
+
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
4335
|
+
}
|
|
4336
|
+
});
|
|
4337
|
+
var getBuiltInPrototypeMethod$2 = getBuiltInPrototypeMethod$9;
|
|
4338
|
+
var filter$6 = getBuiltInPrototypeMethod$2("Array", "filter");
|
|
4339
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
4340
|
+
var method$2 = filter$6;
|
|
4341
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
4342
|
+
var filter$5 = function(it) {
|
|
4343
|
+
var own = it.filter;
|
|
4344
|
+
return it === ArrayPrototype$1 || isPrototypeOf$2(ArrayPrototype$1, it) && own === ArrayPrototype$1.filter ? method$2 : own;
|
|
4345
|
+
};
|
|
4346
|
+
var parent$n = filter$5;
|
|
4347
|
+
var filter$4 = parent$n;
|
|
4348
|
+
var parent$m = filter$4;
|
|
4349
|
+
var filter$3 = parent$m;
|
|
4350
|
+
var parent$l = filter$3;
|
|
4351
|
+
var filter$2 = parent$l;
|
|
4352
|
+
var filter$1 = filter$2;
|
|
4353
|
+
var filter2 = filter$1;
|
|
4354
|
+
const _filterInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(filter2);
|
|
4355
|
+
var PROPER_FUNCTION_NAME = functionName.PROPER;
|
|
4356
|
+
var fails$2 = fails$p;
|
|
4357
|
+
var whitespaces = whitespaces$3;
|
|
4358
|
+
var non = "
";
|
|
4359
|
+
var stringTrimForced = function(METHOD_NAME) {
|
|
4360
|
+
return fails$2(function() {
|
|
4361
|
+
return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME;
|
|
4362
|
+
});
|
|
4363
|
+
};
|
|
4364
|
+
var $$5 = _export;
|
|
4365
|
+
var $trim = stringTrim.trim;
|
|
4366
|
+
var forcedStringTrimMethod = stringTrimForced;
|
|
4367
|
+
$$5({
|
|
4368
|
+
target: "String",
|
|
4369
|
+
proto: true,
|
|
4370
|
+
forced: forcedStringTrimMethod("trim")
|
|
4371
|
+
}, {
|
|
4372
|
+
trim: function trim() {
|
|
4373
|
+
return $trim(this);
|
|
4374
|
+
}
|
|
4375
|
+
});
|
|
4376
|
+
var getBuiltInPrototypeMethod$1 = getBuiltInPrototypeMethod$9;
|
|
4377
|
+
var trim$6 = getBuiltInPrototypeMethod$1("String", "trim");
|
|
4378
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
4379
|
+
var method$1 = trim$6;
|
|
4380
|
+
var StringPrototype = String.prototype;
|
|
4381
|
+
var trim$5 = function(it) {
|
|
4382
|
+
var own = it.trim;
|
|
4383
|
+
return typeof it == "string" || it === StringPrototype || isPrototypeOf$1(StringPrototype, it) && own === StringPrototype.trim ? method$1 : own;
|
|
4384
|
+
};
|
|
4385
|
+
var parent$k = trim$5;
|
|
4386
|
+
var trim$4 = parent$k;
|
|
4387
|
+
var parent$j = trim$4;
|
|
4388
|
+
var trim$3 = parent$j;
|
|
4389
|
+
var parent$i = trim$3;
|
|
4390
|
+
var trim$2 = parent$i;
|
|
4391
|
+
var trim$1 = trim$2;
|
|
4392
|
+
var trim2 = trim$1;
|
|
4393
|
+
const _trimInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(trim2);
|
|
4394
|
+
var $$4 = _export;
|
|
4395
|
+
var $find = arrayIteration.find;
|
|
4396
|
+
var FIND = "find";
|
|
4397
|
+
var SKIPS_HOLES = true;
|
|
4398
|
+
if (FIND in [])
|
|
4399
|
+
Array(1)[FIND](function() {
|
|
4400
|
+
SKIPS_HOLES = false;
|
|
4401
|
+
});
|
|
4402
|
+
$$4({
|
|
4403
|
+
target: "Array",
|
|
4404
|
+
proto: true,
|
|
4405
|
+
forced: SKIPS_HOLES
|
|
4406
|
+
}, {
|
|
4407
|
+
find: function find(callbackfn) {
|
|
4408
|
+
return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : void 0);
|
|
4409
|
+
}
|
|
4410
|
+
});
|
|
4411
|
+
var getBuiltInPrototypeMethod = getBuiltInPrototypeMethod$9;
|
|
4412
|
+
var find$6 = getBuiltInPrototypeMethod("Array", "find");
|
|
4413
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
4414
|
+
var method = find$6;
|
|
4415
|
+
var ArrayPrototype = Array.prototype;
|
|
4416
|
+
var find$5 = function(it) {
|
|
4417
|
+
var own = it.find;
|
|
4418
|
+
return it === ArrayPrototype || isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.find ? method : own;
|
|
4419
|
+
};
|
|
4420
|
+
var parent$h = find$5;
|
|
4421
|
+
var find$4 = parent$h;
|
|
4422
|
+
var parent$g = find$4;
|
|
4423
|
+
var find$3 = parent$g;
|
|
4424
|
+
var parent$f = find$3;
|
|
4425
|
+
var find$2 = parent$f;
|
|
4426
|
+
var find$1 = find$2;
|
|
4427
|
+
var find2 = find$1;
|
|
4428
|
+
const _findInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(find2);
|
|
4429
|
+
var $$3 = _export;
|
|
4430
|
+
var toObject = toObject$9;
|
|
4431
|
+
var nativeKeys = objectKeys$2;
|
|
4432
|
+
var fails$1 = fails$p;
|
|
4433
|
+
var FAILS_ON_PRIMITIVES = fails$1(function() {
|
|
4434
|
+
nativeKeys(1);
|
|
4435
|
+
});
|
|
4436
|
+
$$3({
|
|
4437
|
+
target: "Object",
|
|
4438
|
+
stat: true,
|
|
4439
|
+
forced: FAILS_ON_PRIMITIVES
|
|
4440
|
+
}, {
|
|
4441
|
+
keys: function keys2(it) {
|
|
4442
|
+
return nativeKeys(toObject(it));
|
|
4443
|
+
}
|
|
4444
|
+
});
|
|
4445
|
+
var path$4 = path$i;
|
|
4446
|
+
var keys$5 = path$4.Object.keys;
|
|
4447
|
+
var parent$e = keys$5;
|
|
4448
|
+
var keys$4 = parent$e;
|
|
4449
|
+
var parent$d = keys$4;
|
|
4450
|
+
var keys$3 = parent$d;
|
|
4451
|
+
var parent$c = keys$3;
|
|
4452
|
+
var keys$2 = parent$c;
|
|
4453
|
+
var keys$1 = keys$2;
|
|
4454
|
+
var keys3 = keys$1;
|
|
4455
|
+
const _Object$keys = /* @__PURE__ */ getDefaultExportFromCjs(keys3);
|
|
4456
|
+
var path$3 = path$i;
|
|
4457
|
+
var getOwnPropertySymbols$5 = path$3.Object.getOwnPropertySymbols;
|
|
4458
|
+
var parent$b = getOwnPropertySymbols$5;
|
|
4459
|
+
var getOwnPropertySymbols$4 = parent$b;
|
|
4460
|
+
var parent$a = getOwnPropertySymbols$4;
|
|
4461
|
+
var getOwnPropertySymbols$3 = parent$a;
|
|
4462
|
+
var parent$9 = getOwnPropertySymbols$3;
|
|
4463
|
+
var getOwnPropertySymbols$2 = parent$9;
|
|
4464
|
+
var getOwnPropertySymbols$1 = getOwnPropertySymbols$2;
|
|
4465
|
+
var getOwnPropertySymbols2 = getOwnPropertySymbols$1;
|
|
4466
|
+
const _Object$getOwnPropertySymbols = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertySymbols2);
|
|
4467
|
+
var getOwnPropertyDescriptor$6 = { exports: {} };
|
|
4468
|
+
var $$2 = _export;
|
|
4469
|
+
var fails = fails$p;
|
|
4470
|
+
var toIndexedObject$1 = toIndexedObject$a;
|
|
4471
|
+
var nativeGetOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
4472
|
+
var DESCRIPTORS$2 = descriptors;
|
|
4473
|
+
var FORCED = !DESCRIPTORS$2 || fails(function() {
|
|
4474
|
+
nativeGetOwnPropertyDescriptor(1);
|
|
4475
|
+
});
|
|
4476
|
+
$$2({
|
|
4477
|
+
target: "Object",
|
|
4478
|
+
stat: true,
|
|
4479
|
+
forced: FORCED,
|
|
4480
|
+
sham: !DESCRIPTORS$2
|
|
4481
|
+
}, {
|
|
4482
|
+
getOwnPropertyDescriptor: function getOwnPropertyDescriptor3(it, key) {
|
|
4483
|
+
return nativeGetOwnPropertyDescriptor(toIndexedObject$1(it), key);
|
|
4484
|
+
}
|
|
4485
|
+
});
|
|
4486
|
+
var path$2 = path$i;
|
|
4487
|
+
var Object$2 = path$2.Object;
|
|
4488
|
+
var getOwnPropertyDescriptor$5 = getOwnPropertyDescriptor$6.exports = function getOwnPropertyDescriptor4(it, key) {
|
|
4489
|
+
return Object$2.getOwnPropertyDescriptor(it, key);
|
|
4490
|
+
};
|
|
4491
|
+
if (Object$2.getOwnPropertyDescriptor.sham)
|
|
4492
|
+
getOwnPropertyDescriptor$5.sham = true;
|
|
4493
|
+
var getOwnPropertyDescriptorExports = getOwnPropertyDescriptor$6.exports;
|
|
4494
|
+
var parent$8 = getOwnPropertyDescriptorExports;
|
|
4495
|
+
var getOwnPropertyDescriptor$4 = parent$8;
|
|
4496
|
+
var parent$7 = getOwnPropertyDescriptor$4;
|
|
4497
|
+
var getOwnPropertyDescriptor$3 = parent$7;
|
|
4498
|
+
var parent$6 = getOwnPropertyDescriptor$3;
|
|
4499
|
+
var getOwnPropertyDescriptor$2 = parent$6;
|
|
4500
|
+
var getOwnPropertyDescriptor$1 = getOwnPropertyDescriptor$2;
|
|
4501
|
+
var getOwnPropertyDescriptor5 = getOwnPropertyDescriptor$1;
|
|
4502
|
+
const _Object$getOwnPropertyDescriptor = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertyDescriptor5);
|
|
4503
|
+
var forEach2 = forEach$1;
|
|
4504
|
+
const _forEachInstanceProperty = /* @__PURE__ */ getDefaultExportFromCjs(forEach2);
|
|
4505
|
+
var $$1 = _export;
|
|
4506
|
+
var DESCRIPTORS$1 = descriptors;
|
|
4507
|
+
var ownKeys$1 = ownKeys$3;
|
|
4508
|
+
var toIndexedObject = toIndexedObject$a;
|
|
4509
|
+
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
4510
|
+
var createProperty = createProperty$5;
|
|
4511
|
+
$$1({
|
|
4512
|
+
target: "Object",
|
|
4513
|
+
stat: true,
|
|
4514
|
+
sham: !DESCRIPTORS$1
|
|
4515
|
+
}, {
|
|
4516
|
+
getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
|
|
4517
|
+
var O = toIndexedObject(object);
|
|
4518
|
+
var getOwnPropertyDescriptor6 = getOwnPropertyDescriptorModule.f;
|
|
4519
|
+
var keys4 = ownKeys$1(O);
|
|
4520
|
+
var result = {};
|
|
4521
|
+
var index = 0;
|
|
4522
|
+
var key, descriptor;
|
|
4523
|
+
while (keys4.length > index) {
|
|
4524
|
+
descriptor = getOwnPropertyDescriptor6(O, key = keys4[index++]);
|
|
4525
|
+
if (descriptor !== void 0)
|
|
4526
|
+
createProperty(result, key, descriptor);
|
|
4527
|
+
}
|
|
4528
|
+
return result;
|
|
4529
|
+
}
|
|
4530
|
+
});
|
|
4531
|
+
var path$1 = path$i;
|
|
4532
|
+
var getOwnPropertyDescriptors$5 = path$1.Object.getOwnPropertyDescriptors;
|
|
4533
|
+
var parent$5 = getOwnPropertyDescriptors$5;
|
|
4534
|
+
var getOwnPropertyDescriptors$4 = parent$5;
|
|
4535
|
+
var parent$4 = getOwnPropertyDescriptors$4;
|
|
4536
|
+
var getOwnPropertyDescriptors$3 = parent$4;
|
|
4537
|
+
var parent$3 = getOwnPropertyDescriptors$3;
|
|
4538
|
+
var getOwnPropertyDescriptors$2 = parent$3;
|
|
4539
|
+
var getOwnPropertyDescriptors$1 = getOwnPropertyDescriptors$2;
|
|
4540
|
+
var getOwnPropertyDescriptors2 = getOwnPropertyDescriptors$1;
|
|
4541
|
+
const _Object$getOwnPropertyDescriptors = /* @__PURE__ */ getDefaultExportFromCjs(getOwnPropertyDescriptors2);
|
|
4542
|
+
var defineProperties$7 = { exports: {} };
|
|
4543
|
+
var $ = _export;
|
|
4544
|
+
var DESCRIPTORS = descriptors;
|
|
4545
|
+
var defineProperties$6 = objectDefineProperties.f;
|
|
4546
|
+
$({
|
|
4547
|
+
target: "Object",
|
|
4548
|
+
stat: true,
|
|
4549
|
+
forced: Object.defineProperties !== defineProperties$6,
|
|
4550
|
+
sham: !DESCRIPTORS
|
|
4551
|
+
}, {
|
|
4552
|
+
defineProperties: defineProperties$6
|
|
4553
|
+
});
|
|
4554
|
+
var path = path$i;
|
|
4555
|
+
var Object$1 = path.Object;
|
|
4556
|
+
var defineProperties$5 = defineProperties$7.exports = function defineProperties3(T, D) {
|
|
4557
|
+
return Object$1.defineProperties(T, D);
|
|
4558
|
+
};
|
|
4559
|
+
if (Object$1.defineProperties.sham)
|
|
4560
|
+
defineProperties$5.sham = true;
|
|
4561
|
+
var definePropertiesExports = defineProperties$7.exports;
|
|
4562
|
+
var parent$2 = definePropertiesExports;
|
|
4563
|
+
var defineProperties$4 = parent$2;
|
|
4564
|
+
var parent$1 = defineProperties$4;
|
|
4565
|
+
var defineProperties$3 = parent$1;
|
|
4566
|
+
var parent = defineProperties$3;
|
|
4567
|
+
var defineProperties$2 = parent;
|
|
4568
|
+
var defineProperties$1 = defineProperties$2;
|
|
4569
|
+
var defineProperties4 = defineProperties$1;
|
|
4570
|
+
const _Object$defineProperties = /* @__PURE__ */ getDefaultExportFromCjs(defineProperties4);
|
|
4571
|
+
var defineProperty5 = defineProperty$5;
|
|
4572
|
+
const _Object$defineProperty = /* @__PURE__ */ getDefaultExportFromCjs(defineProperty5);
|
|
4573
|
+
var CHILD_DATA_ATTR_NAME = "resiable-panel-child";
|
|
4574
|
+
function ownKeys2(e, r) {
|
|
4575
|
+
var t = _Object$keys(e);
|
|
4576
|
+
if (_Object$getOwnPropertySymbols) {
|
|
4577
|
+
var o = _Object$getOwnPropertySymbols(e);
|
|
4578
|
+
r && (o = _filterInstanceProperty(o).call(o, function(r2) {
|
|
4579
|
+
return _Object$getOwnPropertyDescriptor(e, r2).enumerable;
|
|
4580
|
+
})), t.push.apply(t, o);
|
|
4581
|
+
}
|
|
4582
|
+
return t;
|
|
4583
|
+
}
|
|
4584
|
+
function _objectSpread(e) {
|
|
4585
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
4586
|
+
var _context3, _context4;
|
|
4587
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
4588
|
+
r % 2 ? _forEachInstanceProperty(_context3 = ownKeys2(Object(t), true)).call(_context3, function(r2) {
|
|
4589
|
+
_defineProperty(e, r2, t[r2]);
|
|
4590
|
+
}) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context4 = ownKeys2(Object(t))).call(_context4, function(r2) {
|
|
4591
|
+
_Object$defineProperty(e, r2, _Object$getOwnPropertyDescriptor(t, r2));
|
|
4592
|
+
});
|
|
4593
|
+
}
|
|
4594
|
+
return e;
|
|
4595
|
+
}
|
|
5
4596
|
const _sfc_main = defineComponent({
|
|
6
4597
|
name: "nf-resizable-panels",
|
|
7
4598
|
props: {
|
|
@@ -10,94 +4601,113 @@ const _sfc_main = defineComponent({
|
|
|
10
4601
|
*/
|
|
11
4602
|
resizablePanelsContainerTag: {
|
|
12
4603
|
type: String,
|
|
13
|
-
default: "div"
|
|
4604
|
+
"default": "div"
|
|
14
4605
|
},
|
|
15
4606
|
/**
|
|
16
4607
|
* 分割符号宽度
|
|
17
4608
|
*/
|
|
18
4609
|
seperatorSize: {
|
|
19
4610
|
type: Number,
|
|
20
|
-
default: 0
|
|
4611
|
+
"default": 0
|
|
21
4612
|
},
|
|
22
4613
|
/**
|
|
23
4614
|
* 填充分割符
|
|
24
4615
|
*/
|
|
25
4616
|
fillSeperator: {
|
|
26
4617
|
type: Boolean,
|
|
27
|
-
default: false
|
|
4618
|
+
"default": false
|
|
28
4619
|
},
|
|
29
4620
|
/**
|
|
30
4621
|
* 拖拽方向
|
|
31
4622
|
*/
|
|
32
4623
|
dragDirection: {
|
|
33
4624
|
type: String,
|
|
34
|
-
default: "row"
|
|
4625
|
+
"default": "row"
|
|
35
4626
|
},
|
|
36
4627
|
/**
|
|
37
4628
|
* 允许resize的最小值
|
|
38
4629
|
*/
|
|
39
4630
|
resizeMinWidth: {
|
|
40
4631
|
type: Number,
|
|
41
|
-
default: 0
|
|
4632
|
+
"default": 0
|
|
42
4633
|
},
|
|
43
4634
|
/**
|
|
44
4635
|
* 分隔符模式 - 边框或符号
|
|
45
4636
|
*/
|
|
46
4637
|
symbolMode: {
|
|
47
4638
|
type: String,
|
|
48
|
-
default: "symbol"
|
|
4639
|
+
"default": "symbol"
|
|
49
4640
|
},
|
|
50
4641
|
/**
|
|
51
4642
|
* 分割线位置
|
|
52
4643
|
*/
|
|
53
4644
|
seperatorPosition: {
|
|
54
4645
|
type: String,
|
|
55
|
-
default: "start"
|
|
4646
|
+
"default": "start"
|
|
56
4647
|
}
|
|
57
4648
|
},
|
|
58
|
-
setup(_, {
|
|
59
|
-
emit
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
const seperator = ref();
|
|
4649
|
+
setup: function setup(_, _ref) {
|
|
4650
|
+
var emit = _ref.emit;
|
|
4651
|
+
var dataId = "".concat(generateID());
|
|
4652
|
+
var seperator = ref();
|
|
63
4653
|
function handleDragSeperator(parentEl, e, idx) {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
const element = children[idx];
|
|
70
|
-
const prevElement = children[idx - 1];
|
|
4654
|
+
var _getFlexDirection = getFlexDirection(parentEl), vertical = _getFlexDirection.vertical;
|
|
4655
|
+
var wOrH = vertical ? "height" : "width";
|
|
4656
|
+
var children = parentEl.querySelectorAll("[data-".concat(CHILD_DATA_ATTR_NAME, "]"));
|
|
4657
|
+
var element = children[idx];
|
|
4658
|
+
var prevElement = children[idx - 1];
|
|
71
4659
|
element.dataset.dragLastSize = _getComputedStyle(element, wOrH);
|
|
72
4660
|
prevElement.dataset.dragLastSize = _getComputedStyle(prevElement, wOrH);
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
4661
|
+
var totalStarSize = _parseFloat$1(element.dataset.dragLastSize) + _parseFloat$1(prevElement.dataset.dragLastSize);
|
|
4662
|
+
var prevEvt = e;
|
|
4663
|
+
var moveHandle = /* @__PURE__ */ function() {
|
|
4664
|
+
var _ref2 = _asyncToGenerator(/* @__PURE__ */ _regeneratorRuntime.mark(function _callee(_e) {
|
|
4665
|
+
var screen, delta, deltaElement, otherElement, deltaElementSize;
|
|
4666
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
4667
|
+
while (1)
|
|
4668
|
+
switch (_context.prev = _context.next) {
|
|
4669
|
+
case 0:
|
|
4670
|
+
screen = vertical ? "screenY" : "screenX";
|
|
4671
|
+
delta = _e[screen] - prevEvt[screen];
|
|
4672
|
+
prevEvt = _e;
|
|
4673
|
+
if (delta) {
|
|
4674
|
+
_context.next = 5;
|
|
4675
|
+
break;
|
|
4676
|
+
}
|
|
4677
|
+
return _context.abrupt("return");
|
|
4678
|
+
case 5:
|
|
4679
|
+
deltaElement = delta > 0 ? element : prevElement;
|
|
4680
|
+
otherElement = element === deltaElement ? prevElement : element;
|
|
4681
|
+
deltaElementSize = _parseFloat$1(deltaElement.dataset.dragLastSize) - Math.abs(delta);
|
|
4682
|
+
if (!(_.resizeMinWidth && (deltaElementSize < _.resizeMinWidth || totalStarSize - deltaElementSize < _.resizeMinWidth))) {
|
|
4683
|
+
_context.next = 10;
|
|
4684
|
+
break;
|
|
4685
|
+
}
|
|
4686
|
+
return _context.abrupt("return");
|
|
4687
|
+
case 10:
|
|
4688
|
+
deltaElement.style[wOrH] = "".concat(deltaElementSize, "px");
|
|
4689
|
+
otherElement.style[wOrH] = "".concat(totalStarSize - deltaElementSize, "px");
|
|
4690
|
+
deltaElement.dataset.dragLastSize = _getComputedStyle(deltaElement, wOrH);
|
|
4691
|
+
otherElement.dataset.dragLastSize = _getComputedStyle(otherElement, wOrH);
|
|
4692
|
+
case 14:
|
|
4693
|
+
case "end":
|
|
4694
|
+
return _context.stop();
|
|
4695
|
+
}
|
|
4696
|
+
}, _callee);
|
|
4697
|
+
}));
|
|
4698
|
+
return function moveHandle2(_x) {
|
|
4699
|
+
return _ref2.apply(this, arguments);
|
|
4700
|
+
};
|
|
4701
|
+
}();
|
|
4702
|
+
var mouseupHandle = function mouseupHandle2() {
|
|
93
4703
|
document.removeEventListener("mousemove", moveHandle, false);
|
|
94
|
-
document.removeEventListener("mouseup",
|
|
4704
|
+
document.removeEventListener("mouseup", mouseupHandle2, false);
|
|
95
4705
|
emit("resize");
|
|
96
4706
|
};
|
|
97
4707
|
document.addEventListener("mousemove", moveHandle, false);
|
|
98
4708
|
document.addEventListener("mouseup", mouseupHandle, false);
|
|
99
4709
|
}
|
|
100
|
-
|
|
4710
|
+
var size = computed(function() {
|
|
101
4711
|
if (_.seperatorSize) {
|
|
102
4712
|
if (_.dragDirection === "row") {
|
|
103
4713
|
return {
|
|
@@ -117,71 +4727,63 @@ const _sfc_main = defineComponent({
|
|
|
117
4727
|
seperator
|
|
118
4728
|
};
|
|
119
4729
|
},
|
|
120
|
-
render() {
|
|
121
|
-
var
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
handleDragSeperator,
|
|
127
|
-
dataId,
|
|
128
|
-
symbolMode,
|
|
129
|
-
seperatorPosition,
|
|
130
|
-
size,
|
|
131
|
-
fillSeperator,
|
|
132
|
-
dragDirection
|
|
133
|
-
} = this;
|
|
4730
|
+
render: function render() {
|
|
4731
|
+
var _this$$scopedSlots$se, _ref3, _context2, _this = this;
|
|
4732
|
+
var Tag = this.resizablePanelsContainerTag;
|
|
4733
|
+
var defaultSlots = this.$scopedSlots["default"] ? this.$scopedSlots["default"]({}) : [];
|
|
4734
|
+
var seperatorSymbol = this.$scopedSlots["seperator-symbol"] ? (_this$$scopedSlots$se = this.$scopedSlots["seperator-symbol"]({})) === null || _this$$scopedSlots$se === void 0 ? void 0 : _this$$scopedSlots$se[0] : null;
|
|
4735
|
+
var handleDragSeperator = this.handleDragSeperator, dataId = this.dataId, symbolMode = this.symbolMode, seperatorPosition = this.seperatorPosition, size = this.size, fillSeperator = this.fillSeperator, dragDirection = this.dragDirection;
|
|
134
4736
|
return h(Tag, {
|
|
135
4737
|
"class": "nf-resizable-panels nf-resizable-panels-" + dragDirection
|
|
136
|
-
}, [!defaultSlots ? null : [].
|
|
137
|
-
var
|
|
138
|
-
return !!(item.tag || (
|
|
139
|
-
}).
|
|
140
|
-
var
|
|
141
|
-
|
|
142
|
-
|
|
4738
|
+
}, [!defaultSlots ? null : _concatInstanceProperty(_ref3 = []).apply(_ref3, _toConsumableArray(_mapInstanceProperty(_context2 = _filterInstanceProperty(defaultSlots).call(defaultSlots, function(item) {
|
|
4739
|
+
var _item$text;
|
|
4740
|
+
return !!(item.tag || (_item$text = item.text) !== null && _item$text !== void 0 && _trimInstanceProperty(_item$text).call(_item$text));
|
|
4741
|
+
})).call(_context2, function(vNode, idx) {
|
|
4742
|
+
var _vNode$data;
|
|
4743
|
+
var isVShowFalse = ((_vNode$data = vNode.data) === null || _vNode$data === void 0 || (_vNode$data = _vNode$data.directives) === null || _vNode$data === void 0 || (_vNode$data = _findInstanceProperty(_vNode$data).call(_vNode$data, function(a) {
|
|
4744
|
+
return a.rawName === "v-show";
|
|
4745
|
+
})) === null || _vNode$data === void 0 ? void 0 : _vNode$data.value) === false;
|
|
4746
|
+
var isComment = vNode === null || vNode === void 0 ? void 0 : vNode.isComment;
|
|
143
4747
|
if (vNode.data) {
|
|
144
|
-
|
|
145
|
-
vNode.data.attrs
|
|
4748
|
+
var _vNode$data$attrs;
|
|
4749
|
+
vNode.data.attrs = (_vNode$data$attrs = vNode.data.attrs) !== null && _vNode$data$attrs !== void 0 ? _vNode$data$attrs : {};
|
|
4750
|
+
vNode.data.attrs["data-".concat(CHILD_DATA_ATTR_NAME)] = dataId;
|
|
146
4751
|
}
|
|
147
4752
|
if (idx === 0) {
|
|
148
4753
|
return vNode;
|
|
149
4754
|
}
|
|
150
4755
|
return [seperatorSymbol ? h("span", {
|
|
151
4756
|
"style": {
|
|
152
|
-
cursor:
|
|
4757
|
+
cursor: "".concat(dragDirection === "column" ? "row" : "col", "-resize"),
|
|
153
4758
|
display: isVShowFalse || isComment ? "none" : void 0
|
|
154
4759
|
},
|
|
155
4760
|
"on": {
|
|
156
|
-
"mousedown": (evt)
|
|
157
|
-
handleDragSeperator(
|
|
4761
|
+
"mousedown": function mousedown(evt) {
|
|
4762
|
+
handleDragSeperator(_this.$el, evt, idx);
|
|
158
4763
|
}
|
|
159
4764
|
}
|
|
160
4765
|
}, [seperatorSymbol]) : h("div", {
|
|
161
|
-
"style": {
|
|
162
|
-
display: isVShowFalse || isComment ? "none" : void 0
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"class": {
|
|
4766
|
+
"style": _objectSpread({
|
|
4767
|
+
display: isVShowFalse || isComment ? "none" : void 0
|
|
4768
|
+
}, size),
|
|
4769
|
+
"class": _defineProperty(_defineProperty({
|
|
166
4770
|
"nf-resizable-panels-seperator": true,
|
|
167
|
-
"nf-seperator-border": symbolMode === "border"
|
|
168
|
-
|
|
169
|
-
"nf-resizable-panels-seperator-fill": fillSeperator
|
|
170
|
-
},
|
|
4771
|
+
"nf-seperator-border": symbolMode === "border"
|
|
4772
|
+
}, "nf-flex-".concat(seperatorPosition), true), "nf-resizable-panels-seperator-fill", fillSeperator),
|
|
171
4773
|
"on": {
|
|
172
|
-
"mousedown": (evt)
|
|
173
|
-
handleDragSeperator(
|
|
4774
|
+
"mousedown": function mousedown(evt) {
|
|
4775
|
+
handleDragSeperator(_this.$el, evt, idx);
|
|
174
4776
|
}
|
|
175
4777
|
}
|
|
176
4778
|
}), vNode];
|
|
177
|
-
}))]);
|
|
4779
|
+
})))]);
|
|
178
4780
|
}
|
|
179
4781
|
});
|
|
180
|
-
|
|
181
|
-
|
|
4782
|
+
var _sfc_render = null;
|
|
4783
|
+
var _sfc_staticRenderFns = null;
|
|
182
4784
|
var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
|
|
183
4785
|
const NfResizablePanels = __component__.exports;
|
|
184
|
-
NfResizablePanels.install = (app)
|
|
4786
|
+
NfResizablePanels.install = function(app) {
|
|
185
4787
|
app.component("nf-resizable-panels", NfResizablePanels);
|
|
186
4788
|
};
|
|
187
4789
|
export {
|