@tailor-cms/ce-table-display 0.1.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,1428 +1,3051 @@
1
- "use strict";
2
- var import_index = require("./index.css");
3
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
4
- const vue = require("vue");
1
+ Object.defineProperties(exports, {
2
+ __esModule: { value: true },
3
+ [Symbol.toStringTag]: { value: "Module" }
4
+ });
5
+ require('./index.css');let vue = require("vue");
6
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
7
+ /** Detect free variable `global` from Node.js. */
5
8
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
9
+ //#endregion
10
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
11
+ /** Detect free variable `self`. */
6
12
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
13
+ /** Used as a reference to the global object. */
7
14
  var root = freeGlobal || freeSelf || Function("return this")();
8
- var Symbol$1 = root.Symbol;
9
- var objectProto$b = Object.prototype;
10
- var hasOwnProperty$8 = objectProto$b.hasOwnProperty;
11
- var nativeObjectToString$1 = objectProto$b.toString;
12
- var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
15
+ //#endregion
16
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
17
+ /** Built-in value references. */
18
+ var Symbol = root.Symbol;
19
+ //#endregion
20
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
21
+ /** Used for built-in method references. */
22
+ var objectProto$3 = Object.prototype;
23
+ /** Used to check objects for own properties. */
24
+ var hasOwnProperty$8 = objectProto$3.hasOwnProperty;
25
+ /**
26
+ * Used to resolve the
27
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
28
+ * of values.
29
+ */
30
+ var nativeObjectToString$1 = objectProto$3.toString;
31
+ /** Built-in value references. */
32
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : void 0;
33
+ /**
34
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
35
+ *
36
+ * @private
37
+ * @param {*} value The value to query.
38
+ * @returns {string} Returns the raw `toStringTag`.
39
+ */
13
40
  function getRawTag(value) {
14
- var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
15
- try {
16
- value[symToStringTag$1] = void 0;
17
- var unmasked = true;
18
- } catch (e) {
19
- }
20
- var result = nativeObjectToString$1.call(value);
21
- if (unmasked) {
22
- if (isOwn) {
23
- value[symToStringTag$1] = tag;
24
- } else {
25
- delete value[symToStringTag$1];
26
- }
27
- }
28
- return result;
29
- }
30
- var objectProto$a = Object.prototype;
31
- var nativeObjectToString = objectProto$a.toString;
41
+ var isOwn = hasOwnProperty$8.call(value, symToStringTag$1), tag = value[symToStringTag$1];
42
+ try {
43
+ value[symToStringTag$1] = void 0;
44
+ var unmasked = true;
45
+ } catch (e) {}
46
+ var result = nativeObjectToString$1.call(value);
47
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
48
+ else delete value[symToStringTag$1];
49
+ return result;
50
+ }
51
+ //#endregion
52
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
53
+ /**
54
+ * Used to resolve the
55
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
56
+ * of values.
57
+ */
58
+ var nativeObjectToString = Object.prototype.toString;
59
+ /**
60
+ * Converts `value` to a string using `Object.prototype.toString`.
61
+ *
62
+ * @private
63
+ * @param {*} value The value to convert.
64
+ * @returns {string} Returns the converted string.
65
+ */
32
66
  function objectToString(value) {
33
- return nativeObjectToString.call(value);
67
+ return nativeObjectToString.call(value);
34
68
  }
69
+ //#endregion
70
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
71
+ /** `Object#toString` result references. */
35
72
  var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
36
- var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
73
+ /** Built-in value references. */
74
+ var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
75
+ /**
76
+ * The base implementation of `getTag` without fallbacks for buggy environments.
77
+ *
78
+ * @private
79
+ * @param {*} value The value to query.
80
+ * @returns {string} Returns the `toStringTag`.
81
+ */
37
82
  function baseGetTag(value) {
38
- if (value == null) {
39
- return value === void 0 ? undefinedTag : nullTag;
40
- }
41
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
42
- }
83
+ if (value == null) return value === void 0 ? undefinedTag : nullTag;
84
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
85
+ }
86
+ //#endregion
87
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
88
+ /**
89
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
90
+ * and has a `typeof` result of "object".
91
+ *
92
+ * @static
93
+ * @memberOf _
94
+ * @since 4.0.0
95
+ * @category Lang
96
+ * @param {*} value The value to check.
97
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
98
+ * @example
99
+ *
100
+ * _.isObjectLike({});
101
+ * // => true
102
+ *
103
+ * _.isObjectLike([1, 2, 3]);
104
+ * // => true
105
+ *
106
+ * _.isObjectLike(_.noop);
107
+ * // => false
108
+ *
109
+ * _.isObjectLike(null);
110
+ * // => false
111
+ */
43
112
  function isObjectLike(value) {
44
- return value != null && typeof value == "object";
113
+ return value != null && typeof value == "object";
45
114
  }
115
+ //#endregion
116
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
117
+ /** `Object#toString` result references. */
46
118
  var symbolTag$1 = "[object Symbol]";
119
+ /**
120
+ * Checks if `value` is classified as a `Symbol` primitive or object.
121
+ *
122
+ * @static
123
+ * @memberOf _
124
+ * @since 4.0.0
125
+ * @category Lang
126
+ * @param {*} value The value to check.
127
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
128
+ * @example
129
+ *
130
+ * _.isSymbol(Symbol.iterator);
131
+ * // => true
132
+ *
133
+ * _.isSymbol('abc');
134
+ * // => false
135
+ */
47
136
  function isSymbol(value) {
48
- return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
49
- }
137
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
138
+ }
139
+ //#endregion
140
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
141
+ /**
142
+ * A specialized version of `_.map` for arrays without support for iteratee
143
+ * shorthands.
144
+ *
145
+ * @private
146
+ * @param {Array} [array] The array to iterate over.
147
+ * @param {Function} iteratee The function invoked per iteration.
148
+ * @returns {Array} Returns the new mapped array.
149
+ */
50
150
  function arrayMap(array, iteratee) {
51
- var index = -1, length = array == null ? 0 : array.length, result = Array(length);
52
- while (++index < length) {
53
- result[index] = iteratee(array[index], index, array);
54
- }
55
- return result;
56
- }
151
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
152
+ while (++index < length) result[index] = iteratee(array[index], index, array);
153
+ return result;
154
+ }
155
+ //#endregion
156
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
157
+ /**
158
+ * Checks if `value` is classified as an `Array` object.
159
+ *
160
+ * @static
161
+ * @memberOf _
162
+ * @since 0.1.0
163
+ * @category Lang
164
+ * @param {*} value The value to check.
165
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
166
+ * @example
167
+ *
168
+ * _.isArray([1, 2, 3]);
169
+ * // => true
170
+ *
171
+ * _.isArray(document.body.children);
172
+ * // => false
173
+ *
174
+ * _.isArray('abc');
175
+ * // => false
176
+ *
177
+ * _.isArray(_.noop);
178
+ * // => false
179
+ */
57
180
  var isArray = Array.isArray;
58
- var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
181
+ //#endregion
182
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
183
+ /** Used as references for various `Number` constants. */
184
+ var INFINITY$2 = Infinity;
185
+ /** Used to convert symbols to primitives and strings. */
186
+ var symbolProto$1 = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
187
+ /**
188
+ * The base implementation of `_.toString` which doesn't convert nullish
189
+ * values to empty strings.
190
+ *
191
+ * @private
192
+ * @param {*} value The value to process.
193
+ * @returns {string} Returns the string.
194
+ */
59
195
  function baseToString(value) {
60
- if (typeof value == "string") {
61
- return value;
62
- }
63
- if (isArray(value)) {
64
- return arrayMap(value, baseToString) + "";
65
- }
66
- if (isSymbol(value)) {
67
- return symbolToString ? symbolToString.call(value) : "";
68
- }
69
- var result = value + "";
70
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
71
- }
196
+ if (typeof value == "string") return value;
197
+ if (isArray(value)) return arrayMap(value, baseToString) + "";
198
+ if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
199
+ var result = value + "";
200
+ return result == "0" && 1 / value == -INFINITY$2 ? "-0" : result;
201
+ }
202
+ //#endregion
203
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js
204
+ /** Used to match a single whitespace character. */
72
205
  var reWhitespace = /\s/;
206
+ /**
207
+ * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace
208
+ * character of `string`.
209
+ *
210
+ * @private
211
+ * @param {string} string The string to inspect.
212
+ * @returns {number} Returns the index of the last non-whitespace character.
213
+ */
73
214
  function trimmedEndIndex(string) {
74
- var index = string.length;
75
- while (index-- && reWhitespace.test(string.charAt(index))) {
76
- }
77
- return index;
215
+ var index = string.length;
216
+ while (index-- && reWhitespace.test(string.charAt(index)));
217
+ return index;
78
218
  }
219
+ //#endregion
220
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js
221
+ /** Used to match leading whitespace. */
79
222
  var reTrimStart = /^\s+/;
223
+ /**
224
+ * The base implementation of `_.trim`.
225
+ *
226
+ * @private
227
+ * @param {string} string The string to trim.
228
+ * @returns {string} Returns the trimmed string.
229
+ */
80
230
  function baseTrim(string) {
81
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
82
- }
231
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
232
+ }
233
+ //#endregion
234
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
235
+ /**
236
+ * Checks if `value` is the
237
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
238
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
239
+ *
240
+ * @static
241
+ * @memberOf _
242
+ * @since 0.1.0
243
+ * @category Lang
244
+ * @param {*} value The value to check.
245
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
246
+ * @example
247
+ *
248
+ * _.isObject({});
249
+ * // => true
250
+ *
251
+ * _.isObject([1, 2, 3]);
252
+ * // => true
253
+ *
254
+ * _.isObject(_.noop);
255
+ * // => true
256
+ *
257
+ * _.isObject(null);
258
+ * // => false
259
+ */
83
260
  function isObject(value) {
84
- var type2 = typeof value;
85
- return value != null && (type2 == "object" || type2 == "function");
86
- }
87
- var NAN = 0 / 0;
261
+ var type = typeof value;
262
+ return value != null && (type == "object" || type == "function");
263
+ }
264
+ //#endregion
265
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
266
+ /** Used as references for various `Number` constants. */
267
+ var NAN = NaN;
268
+ /** Used to detect bad signed hexadecimal string values. */
88
269
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
270
+ /** Used to detect binary string values. */
89
271
  var reIsBinary = /^0b[01]+$/i;
272
+ /** Used to detect octal string values. */
90
273
  var reIsOctal = /^0o[0-7]+$/i;
274
+ /** Built-in method references without a dependency on `root`. */
91
275
  var freeParseInt = parseInt;
276
+ /**
277
+ * Converts `value` to a number.
278
+ *
279
+ * @static
280
+ * @memberOf _
281
+ * @since 4.0.0
282
+ * @category Lang
283
+ * @param {*} value The value to process.
284
+ * @returns {number} Returns the number.
285
+ * @example
286
+ *
287
+ * _.toNumber(3.2);
288
+ * // => 3.2
289
+ *
290
+ * _.toNumber(Number.MIN_VALUE);
291
+ * // => 5e-324
292
+ *
293
+ * _.toNumber(Infinity);
294
+ * // => Infinity
295
+ *
296
+ * _.toNumber('3.2');
297
+ * // => 3.2
298
+ */
92
299
  function toNumber(value) {
93
- if (typeof value == "number") {
94
- return value;
95
- }
96
- if (isSymbol(value)) {
97
- return NAN;
98
- }
99
- if (isObject(value)) {
100
- var other = typeof value.valueOf == "function" ? value.valueOf() : value;
101
- value = isObject(other) ? other + "" : other;
102
- }
103
- if (typeof value != "string") {
104
- return value === 0 ? value : +value;
105
- }
106
- value = baseTrim(value);
107
- var isBinary = reIsBinary.test(value);
108
- return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
109
- }
110
- var INFINITY = 1 / 0, MAX_INTEGER = 17976931348623157e292;
300
+ if (typeof value == "number") return value;
301
+ if (isSymbol(value)) return NAN;
302
+ if (isObject(value)) {
303
+ var other = typeof value.valueOf == "function" ? value.valueOf() : value;
304
+ value = isObject(other) ? other + "" : other;
305
+ }
306
+ if (typeof value != "string") return value === 0 ? value : +value;
307
+ value = baseTrim(value);
308
+ var isBinary = reIsBinary.test(value);
309
+ return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
310
+ }
311
+ //#endregion
312
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
313
+ /** Used as references for various `Number` constants. */
314
+ var INFINITY$1 = Infinity, MAX_INTEGER = 17976931348623157e292;
315
+ /**
316
+ * Converts `value` to a finite number.
317
+ *
318
+ * @static
319
+ * @memberOf _
320
+ * @since 4.12.0
321
+ * @category Lang
322
+ * @param {*} value The value to convert.
323
+ * @returns {number} Returns the converted number.
324
+ * @example
325
+ *
326
+ * _.toFinite(3.2);
327
+ * // => 3.2
328
+ *
329
+ * _.toFinite(Number.MIN_VALUE);
330
+ * // => 5e-324
331
+ *
332
+ * _.toFinite(Infinity);
333
+ * // => 1.7976931348623157e+308
334
+ *
335
+ * _.toFinite('3.2');
336
+ * // => 3.2
337
+ */
111
338
  function toFinite(value) {
112
- if (!value) {
113
- return value === 0 ? value : 0;
114
- }
115
- value = toNumber(value);
116
- if (value === INFINITY || value === -INFINITY) {
117
- var sign = value < 0 ? -1 : 1;
118
- return sign * MAX_INTEGER;
119
- }
120
- return value === value ? value : 0;
121
- }
339
+ if (!value) return value === 0 ? value : 0;
340
+ value = toNumber(value);
341
+ if (value === INFINITY$1 || value === -INFINITY$1) return (value < 0 ? -1 : 1) * MAX_INTEGER;
342
+ return value === value ? value : 0;
343
+ }
344
+ //#endregion
345
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js
346
+ /**
347
+ * Converts `value` to an integer.
348
+ *
349
+ * **Note:** This method is loosely based on
350
+ * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
351
+ *
352
+ * @static
353
+ * @memberOf _
354
+ * @since 4.0.0
355
+ * @category Lang
356
+ * @param {*} value The value to convert.
357
+ * @returns {number} Returns the converted integer.
358
+ * @example
359
+ *
360
+ * _.toInteger(3.2);
361
+ * // => 3
362
+ *
363
+ * _.toInteger(Number.MIN_VALUE);
364
+ * // => 0
365
+ *
366
+ * _.toInteger(Infinity);
367
+ * // => 1.7976931348623157e+308
368
+ *
369
+ * _.toInteger('3.2');
370
+ * // => 3
371
+ */
122
372
  function toInteger(value) {
123
- var result = toFinite(value), remainder = result % 1;
124
- return result === result ? remainder ? result - remainder : result : 0;
125
- }
373
+ var result = toFinite(value), remainder = result % 1;
374
+ return result === result ? remainder ? result - remainder : result : 0;
375
+ }
376
+ //#endregion
377
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
378
+ /**
379
+ * This method returns the first argument it receives.
380
+ *
381
+ * @static
382
+ * @since 0.1.0
383
+ * @memberOf _
384
+ * @category Util
385
+ * @param {*} value Any value.
386
+ * @returns {*} Returns `value`.
387
+ * @example
388
+ *
389
+ * var object = { 'a': 1 };
390
+ *
391
+ * console.log(_.identity(object) === object);
392
+ * // => true
393
+ */
126
394
  function identity(value) {
127
- return value;
395
+ return value;
128
396
  }
397
+ //#endregion
398
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
399
+ /** `Object#toString` result references. */
129
400
  var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
401
+ /**
402
+ * Checks if `value` is classified as a `Function` object.
403
+ *
404
+ * @static
405
+ * @memberOf _
406
+ * @since 0.1.0
407
+ * @category Lang
408
+ * @param {*} value The value to check.
409
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
410
+ * @example
411
+ *
412
+ * _.isFunction(_);
413
+ * // => true
414
+ *
415
+ * _.isFunction(/abc/);
416
+ * // => false
417
+ */
130
418
  function isFunction(value) {
131
- if (!isObject(value)) {
132
- return false;
133
- }
134
- var tag = baseGetTag(value);
135
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
419
+ if (!isObject(value)) return false;
420
+ var tag = baseGetTag(value);
421
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
136
422
  }
423
+ //#endregion
424
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
425
+ /** Used to detect overreaching core-js shims. */
137
426
  var coreJsData = root["__core-js_shared__"];
427
+ //#endregion
428
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
429
+ /** Used to detect methods masquerading as native. */
138
430
  var maskSrcKey = function() {
139
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
140
- return uid ? "Symbol(src)_1." + uid : "";
431
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
432
+ return uid ? "Symbol(src)_1." + uid : "";
141
433
  }();
434
+ /**
435
+ * Checks if `func` has its source masked.
436
+ *
437
+ * @private
438
+ * @param {Function} func The function to check.
439
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
440
+ */
142
441
  function isMasked(func) {
143
- return !!maskSrcKey && maskSrcKey in func;
144
- }
145
- var funcProto$1 = Function.prototype;
146
- var funcToString$1 = funcProto$1.toString;
442
+ return !!maskSrcKey && maskSrcKey in func;
443
+ }
444
+ //#endregion
445
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
446
+ /** Used to resolve the decompiled source of functions. */
447
+ var funcToString$1 = Function.prototype.toString;
448
+ /**
449
+ * Converts `func` to its source code.
450
+ *
451
+ * @private
452
+ * @param {Function} func The function to convert.
453
+ * @returns {string} Returns the source code.
454
+ */
147
455
  function toSource(func) {
148
- if (func != null) {
149
- try {
150
- return funcToString$1.call(func);
151
- } catch (e) {
152
- }
153
- try {
154
- return func + "";
155
- } catch (e) {
156
- }
157
- }
158
- return "";
159
- }
456
+ if (func != null) {
457
+ try {
458
+ return funcToString$1.call(func);
459
+ } catch (e) {}
460
+ try {
461
+ return func + "";
462
+ } catch (e) {}
463
+ }
464
+ return "";
465
+ }
466
+ //#endregion
467
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
468
+ /**
469
+ * Used to match `RegExp`
470
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
471
+ */
160
472
  var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
473
+ /** Used to detect host constructors (Safari). */
161
474
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
162
- var funcProto = Function.prototype, objectProto$9 = Object.prototype;
475
+ /** Used for built-in method references. */
476
+ var funcProto = Function.prototype, objectProto$2 = Object.prototype;
477
+ /** Used to resolve the decompiled source of functions. */
163
478
  var funcToString = funcProto.toString;
164
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
165
- var reIsNative = RegExp(
166
- "^" + funcToString.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
167
- );
479
+ /** Used to check objects for own properties. */
480
+ var hasOwnProperty$7 = objectProto$2.hasOwnProperty;
481
+ /** Used to detect if a method is native. */
482
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$7).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
483
+ /**
484
+ * The base implementation of `_.isNative` without bad shim checks.
485
+ *
486
+ * @private
487
+ * @param {*} value The value to check.
488
+ * @returns {boolean} Returns `true` if `value` is a native function,
489
+ * else `false`.
490
+ */
168
491
  function baseIsNative(value) {
169
- if (!isObject(value) || isMasked(value)) {
170
- return false;
171
- }
172
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
173
- return pattern.test(toSource(value));
174
- }
492
+ if (!isObject(value) || isMasked(value)) return false;
493
+ return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
494
+ }
495
+ //#endregion
496
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
497
+ /**
498
+ * Gets the value at `key` of `object`.
499
+ *
500
+ * @private
501
+ * @param {Object} [object] The object to query.
502
+ * @param {string} key The key of the property to get.
503
+ * @returns {*} Returns the property value.
504
+ */
175
505
  function getValue(object, key) {
176
- return object == null ? void 0 : object[key];
177
- }
506
+ return object == null ? void 0 : object[key];
507
+ }
508
+ //#endregion
509
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
510
+ /**
511
+ * Gets the native function at `key` of `object`.
512
+ *
513
+ * @private
514
+ * @param {Object} object The object to query.
515
+ * @param {string} key The key of the method to get.
516
+ * @returns {*} Returns the function if it's native, else `undefined`.
517
+ */
178
518
  function getNative(object, key) {
179
- var value = getValue(object, key);
180
- return baseIsNative(value) ? value : void 0;
519
+ var value = getValue(object, key);
520
+ return baseIsNative(value) ? value : void 0;
181
521
  }
522
+ //#endregion
523
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
182
524
  var WeakMap = getNative(root, "WeakMap");
525
+ //#endregion
526
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
527
+ /**
528
+ * A faster alternative to `Function#apply`, this function invokes `func`
529
+ * with the `this` binding of `thisArg` and the arguments of `args`.
530
+ *
531
+ * @private
532
+ * @param {Function} func The function to invoke.
533
+ * @param {*} thisArg The `this` binding of `func`.
534
+ * @param {Array} args The arguments to invoke `func` with.
535
+ * @returns {*} Returns the result of `func`.
536
+ */
183
537
  function apply(func, thisArg, args) {
184
- switch (args.length) {
185
- case 0:
186
- return func.call(thisArg);
187
- case 1:
188
- return func.call(thisArg, args[0]);
189
- case 2:
190
- return func.call(thisArg, args[0], args[1]);
191
- case 3:
192
- return func.call(thisArg, args[0], args[1], args[2]);
193
- }
194
- return func.apply(thisArg, args);
195
- }
538
+ switch (args.length) {
539
+ case 0: return func.call(thisArg);
540
+ case 1: return func.call(thisArg, args[0]);
541
+ case 2: return func.call(thisArg, args[0], args[1]);
542
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
543
+ }
544
+ return func.apply(thisArg, args);
545
+ }
546
+ //#endregion
547
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
548
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
196
549
  var HOT_COUNT = 800, HOT_SPAN = 16;
197
550
  var nativeNow = Date.now;
551
+ /**
552
+ * Creates a function that'll short out and invoke `identity` instead
553
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
554
+ * milliseconds.
555
+ *
556
+ * @private
557
+ * @param {Function} func The function to restrict.
558
+ * @returns {Function} Returns the new shortable function.
559
+ */
198
560
  function shortOut(func) {
199
- var count = 0, lastCalled = 0;
200
- return function() {
201
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
202
- lastCalled = stamp;
203
- if (remaining > 0) {
204
- if (++count >= HOT_COUNT) {
205
- return arguments[0];
206
- }
207
- } else {
208
- count = 0;
209
- }
210
- return func.apply(void 0, arguments);
211
- };
212
- }
561
+ var count = 0, lastCalled = 0;
562
+ return function() {
563
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
564
+ lastCalled = stamp;
565
+ if (remaining > 0) {
566
+ if (++count >= HOT_COUNT) return arguments[0];
567
+ } else count = 0;
568
+ return func.apply(void 0, arguments);
569
+ };
570
+ }
571
+ //#endregion
572
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
573
+ /**
574
+ * Creates a function that returns `value`.
575
+ *
576
+ * @static
577
+ * @memberOf _
578
+ * @since 2.4.0
579
+ * @category Util
580
+ * @param {*} value The value to return from the new function.
581
+ * @returns {Function} Returns the new constant function.
582
+ * @example
583
+ *
584
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
585
+ *
586
+ * console.log(objects);
587
+ * // => [{ 'a': 1 }, { 'a': 1 }]
588
+ *
589
+ * console.log(objects[0] === objects[1]);
590
+ * // => true
591
+ */
213
592
  function constant(value) {
214
- return function() {
215
- return value;
216
- };
593
+ return function() {
594
+ return value;
595
+ };
217
596
  }
597
+ //#endregion
598
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
218
599
  var defineProperty = function() {
219
- try {
220
- var func = getNative(Object, "defineProperty");
221
- func({}, "", {});
222
- return func;
223
- } catch (e) {
224
- }
600
+ try {
601
+ var func = getNative(Object, "defineProperty");
602
+ func({}, "", {});
603
+ return func;
604
+ } catch (e) {}
225
605
  }();
226
- var baseSetToString = !defineProperty ? identity : function(func, string) {
227
- return defineProperty(func, "toString", {
228
- "configurable": true,
229
- "enumerable": false,
230
- "value": constant(string),
231
- "writable": true
232
- });
233
- };
234
- var setToString = shortOut(baseSetToString);
235
- function baseFindIndex(array, predicate, fromIndex, fromRight) {
236
- var length = array.length, index = fromIndex + -1;
237
- while (++index < length) {
238
- if (predicate(array[index], index, array)) {
239
- return index;
240
- }
241
- }
242
- return -1;
243
- }
606
+ //#endregion
607
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
608
+ /**
609
+ * Sets the `toString` method of `func` to return `string`.
610
+ *
611
+ * @private
612
+ * @param {Function} func The function to modify.
613
+ * @param {Function} string The `toString` result.
614
+ * @returns {Function} Returns `func`.
615
+ */
616
+ var setToString = shortOut(!defineProperty ? identity : function(func, string) {
617
+ return defineProperty(func, "toString", {
618
+ "configurable": true,
619
+ "enumerable": false,
620
+ "value": constant(string),
621
+ "writable": true
622
+ });
623
+ });
624
+ //#endregion
625
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
626
+ /** Used as references for various `Number` constants. */
244
627
  var MAX_SAFE_INTEGER$2 = 9007199254740991;
628
+ /** Used to detect unsigned integer values. */
245
629
  var reIsUint = /^(?:0|[1-9]\d*)$/;
630
+ /**
631
+ * Checks if `value` is a valid array-like index.
632
+ *
633
+ * @private
634
+ * @param {*} value The value to check.
635
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
636
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
637
+ */
246
638
  function isIndex(value, length) {
247
- var type2 = typeof value;
248
- length = length == null ? MAX_SAFE_INTEGER$2 : length;
249
- return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
250
- }
639
+ var type = typeof value;
640
+ length = length == null ? MAX_SAFE_INTEGER$2 : length;
641
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
642
+ }
643
+ //#endregion
644
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
645
+ /**
646
+ * Performs a
647
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
648
+ * comparison between two values to determine if they are equivalent.
649
+ *
650
+ * @static
651
+ * @memberOf _
652
+ * @since 4.0.0
653
+ * @category Lang
654
+ * @param {*} value The value to compare.
655
+ * @param {*} other The other value to compare.
656
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
657
+ * @example
658
+ *
659
+ * var object = { 'a': 1 };
660
+ * var other = { 'a': 1 };
661
+ *
662
+ * _.eq(object, object);
663
+ * // => true
664
+ *
665
+ * _.eq(object, other);
666
+ * // => false
667
+ *
668
+ * _.eq('a', 'a');
669
+ * // => true
670
+ *
671
+ * _.eq('a', Object('a'));
672
+ * // => false
673
+ *
674
+ * _.eq(NaN, NaN);
675
+ * // => true
676
+ */
251
677
  function eq(value, other) {
252
- return value === other || value !== value && other !== other;
678
+ return value === other || value !== value && other !== other;
253
679
  }
254
- var nativeMax$1 = Math.max;
680
+ //#endregion
681
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
682
+ var nativeMax = Math.max;
683
+ /**
684
+ * A specialized version of `baseRest` which transforms the rest array.
685
+ *
686
+ * @private
687
+ * @param {Function} func The function to apply a rest parameter to.
688
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
689
+ * @param {Function} transform The rest array transform.
690
+ * @returns {Function} Returns the new function.
691
+ */
255
692
  function overRest(func, start, transform) {
256
- start = nativeMax$1(start === void 0 ? func.length - 1 : start, 0);
257
- return function() {
258
- var args = arguments, index = -1, length = nativeMax$1(args.length - start, 0), array = Array(length);
259
- while (++index < length) {
260
- array[index] = args[start + index];
261
- }
262
- index = -1;
263
- var otherArgs = Array(start + 1);
264
- while (++index < start) {
265
- otherArgs[index] = args[index];
266
- }
267
- otherArgs[start] = transform(array);
268
- return apply(func, this, otherArgs);
269
- };
270
- }
693
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
694
+ return function() {
695
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
696
+ while (++index < length) array[index] = args[start + index];
697
+ index = -1;
698
+ var otherArgs = Array(start + 1);
699
+ while (++index < start) otherArgs[index] = args[index];
700
+ otherArgs[start] = transform(array);
701
+ return apply(func, this, otherArgs);
702
+ };
703
+ }
704
+ //#endregion
705
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
706
+ /**
707
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
708
+ *
709
+ * @private
710
+ * @param {Function} func The function to apply a rest parameter to.
711
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
712
+ * @returns {Function} Returns the new function.
713
+ */
271
714
  function baseRest(func, start) {
272
- return setToString(overRest(func, start, identity), func + "");
715
+ return setToString(overRest(func, start, identity), func + "");
273
716
  }
717
+ //#endregion
718
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
719
+ /** Used as references for various `Number` constants. */
274
720
  var MAX_SAFE_INTEGER$1 = 9007199254740991;
721
+ /**
722
+ * Checks if `value` is a valid array-like length.
723
+ *
724
+ * **Note:** This method is loosely based on
725
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
726
+ *
727
+ * @static
728
+ * @memberOf _
729
+ * @since 4.0.0
730
+ * @category Lang
731
+ * @param {*} value The value to check.
732
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
733
+ * @example
734
+ *
735
+ * _.isLength(3);
736
+ * // => true
737
+ *
738
+ * _.isLength(Number.MIN_VALUE);
739
+ * // => false
740
+ *
741
+ * _.isLength(Infinity);
742
+ * // => false
743
+ *
744
+ * _.isLength('3');
745
+ * // => false
746
+ */
275
747
  function isLength(value) {
276
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
277
- }
748
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
749
+ }
750
+ //#endregion
751
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
752
+ /**
753
+ * Checks if `value` is array-like. A value is considered array-like if it's
754
+ * not a function and has a `value.length` that's an integer greater than or
755
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
756
+ *
757
+ * @static
758
+ * @memberOf _
759
+ * @since 4.0.0
760
+ * @category Lang
761
+ * @param {*} value The value to check.
762
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
763
+ * @example
764
+ *
765
+ * _.isArrayLike([1, 2, 3]);
766
+ * // => true
767
+ *
768
+ * _.isArrayLike(document.body.children);
769
+ * // => true
770
+ *
771
+ * _.isArrayLike('abc');
772
+ * // => true
773
+ *
774
+ * _.isArrayLike(_.noop);
775
+ * // => false
776
+ */
278
777
  function isArrayLike(value) {
279
- return value != null && isLength(value.length) && !isFunction(value);
280
- }
778
+ return value != null && isLength(value.length) && !isFunction(value);
779
+ }
780
+ //#endregion
781
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js
782
+ /**
783
+ * Checks if the given arguments are from an iteratee call.
784
+ *
785
+ * @private
786
+ * @param {*} value The potential iteratee value argument.
787
+ * @param {*} index The potential iteratee index or key argument.
788
+ * @param {*} object The potential iteratee object argument.
789
+ * @returns {boolean} Returns `true` if the arguments are from an iteratee call,
790
+ * else `false`.
791
+ */
281
792
  function isIterateeCall(value, index, object) {
282
- if (!isObject(object)) {
283
- return false;
284
- }
285
- var type2 = typeof index;
286
- if (type2 == "number" ? isArrayLike(object) && isIndex(index, object.length) : type2 == "string" && index in object) {
287
- return eq(object[index], value);
288
- }
289
- return false;
290
- }
291
- var objectProto$8 = Object.prototype;
793
+ if (!isObject(object)) return false;
794
+ var type = typeof index;
795
+ if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) return eq(object[index], value);
796
+ return false;
797
+ }
798
+ //#endregion
799
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
800
+ /** Used for built-in method references. */
801
+ var objectProto$1 = Object.prototype;
802
+ /**
803
+ * Checks if `value` is likely a prototype object.
804
+ *
805
+ * @private
806
+ * @param {*} value The value to check.
807
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
808
+ */
292
809
  function isPrototype(value) {
293
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
294
- return value === proto;
295
- }
810
+ var Ctor = value && value.constructor;
811
+ return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
812
+ }
813
+ //#endregion
814
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
815
+ /**
816
+ * The base implementation of `_.times` without support for iteratee shorthands
817
+ * or max array length checks.
818
+ *
819
+ * @private
820
+ * @param {number} n The number of times to invoke `iteratee`.
821
+ * @param {Function} iteratee The function invoked per iteration.
822
+ * @returns {Array} Returns the array of results.
823
+ */
296
824
  function baseTimes(n, iteratee) {
297
- var index = -1, result = Array(n);
298
- while (++index < n) {
299
- result[index] = iteratee(index);
300
- }
301
- return result;
825
+ var index = -1, result = Array(n);
826
+ while (++index < n) result[index] = iteratee(index);
827
+ return result;
302
828
  }
829
+ //#endregion
830
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
831
+ /** `Object#toString` result references. */
303
832
  var argsTag$2 = "[object Arguments]";
833
+ /**
834
+ * The base implementation of `_.isArguments`.
835
+ *
836
+ * @private
837
+ * @param {*} value The value to check.
838
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
839
+ */
304
840
  function baseIsArguments(value) {
305
- return isObjectLike(value) && baseGetTag(value) == argsTag$2;
841
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
306
842
  }
307
- var objectProto$7 = Object.prototype;
308
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
309
- var propertyIsEnumerable$1 = objectProto$7.propertyIsEnumerable;
310
- var isArguments = baseIsArguments(/* @__PURE__ */ function() {
311
- return arguments;
843
+ //#endregion
844
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
845
+ /** Used for built-in method references. */
846
+ var objectProto = Object.prototype;
847
+ /** Used to check objects for own properties. */
848
+ var hasOwnProperty$6 = objectProto.hasOwnProperty;
849
+ /** Built-in value references. */
850
+ var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
851
+ /**
852
+ * Checks if `value` is likely an `arguments` object.
853
+ *
854
+ * @static
855
+ * @memberOf _
856
+ * @since 0.1.0
857
+ * @category Lang
858
+ * @param {*} value The value to check.
859
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
860
+ * else `false`.
861
+ * @example
862
+ *
863
+ * _.isArguments(function() { return arguments; }());
864
+ * // => true
865
+ *
866
+ * _.isArguments([1, 2, 3]);
867
+ * // => false
868
+ */
869
+ var isArguments = baseIsArguments(function() {
870
+ return arguments;
312
871
  }()) ? baseIsArguments : function(value) {
313
- return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
872
+ return isObjectLike(value) && hasOwnProperty$6.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
314
873
  };
874
+ //#endregion
875
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
876
+ /**
877
+ * This method returns `false`.
878
+ *
879
+ * @static
880
+ * @memberOf _
881
+ * @since 4.13.0
882
+ * @category Util
883
+ * @returns {boolean} Returns `false`.
884
+ * @example
885
+ *
886
+ * _.times(2, _.stubFalse);
887
+ * // => [false, false]
888
+ */
315
889
  function stubFalse() {
316
- return false;
890
+ return false;
317
891
  }
892
+ //#endregion
893
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
894
+ /** Detect free variable `exports`. */
318
895
  var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
896
+ /** Detect free variable `module`. */
319
897
  var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
320
- var moduleExports$1 = freeModule$1 && freeModule$1.exports === freeExports$1;
321
- var Buffer = moduleExports$1 ? root.Buffer : void 0;
322
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
323
- var isBuffer = nativeIsBuffer || stubFalse;
898
+ /** Built-in value references. */
899
+ var Buffer = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buffer : void 0;
900
+ /**
901
+ * Checks if `value` is a buffer.
902
+ *
903
+ * @static
904
+ * @memberOf _
905
+ * @since 4.3.0
906
+ * @category Lang
907
+ * @param {*} value The value to check.
908
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
909
+ * @example
910
+ *
911
+ * _.isBuffer(new Buffer(2));
912
+ * // => true
913
+ *
914
+ * _.isBuffer(new Uint8Array(2));
915
+ * // => false
916
+ */
917
+ var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
918
+ //#endregion
919
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
920
+ /** `Object#toString` result references. */
324
921
  var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
325
922
  var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
923
+ /** Used to identify `toStringTag` values of typed arrays. */
326
924
  var typedArrayTags = {};
327
925
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
328
926
  typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
927
+ /**
928
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
929
+ *
930
+ * @private
931
+ * @param {*} value The value to check.
932
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
933
+ */
329
934
  function baseIsTypedArray(value) {
330
- return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
331
- }
935
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
936
+ }
937
+ //#endregion
938
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
939
+ /**
940
+ * The base implementation of `_.unary` without support for storing metadata.
941
+ *
942
+ * @private
943
+ * @param {Function} func The function to cap arguments for.
944
+ * @returns {Function} Returns the new capped function.
945
+ */
332
946
  function baseUnary(func) {
333
- return function(value) {
334
- return func(value);
335
- };
947
+ return function(value) {
948
+ return func(value);
949
+ };
336
950
  }
951
+ //#endregion
952
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
953
+ /** Detect free variable `exports`. */
337
954
  var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
955
+ /** Detect free variable `module`. */
338
956
  var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
339
- var moduleExports = freeModule && freeModule.exports === freeExports;
340
- var freeProcess = moduleExports && freeGlobal.process;
957
+ /** Detect free variable `process` from Node.js. */
958
+ var freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process;
959
+ /** Used to access faster Node.js helpers. */
341
960
  var nodeUtil = function() {
342
- try {
343
- var types = freeModule && freeModule.require && freeModule.require("util").types;
344
- if (types) {
345
- return types;
346
- }
347
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
348
- } catch (e) {
349
- }
961
+ try {
962
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
963
+ if (types) return types;
964
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
965
+ } catch (e) {}
350
966
  }();
967
+ //#endregion
968
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
351
969
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
970
+ /**
971
+ * Checks if `value` is classified as a typed array.
972
+ *
973
+ * @static
974
+ * @memberOf _
975
+ * @since 3.0.0
976
+ * @category Lang
977
+ * @param {*} value The value to check.
978
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
979
+ * @example
980
+ *
981
+ * _.isTypedArray(new Uint8Array);
982
+ * // => true
983
+ *
984
+ * _.isTypedArray([]);
985
+ * // => false
986
+ */
352
987
  var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
353
- var objectProto$6 = Object.prototype;
354
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
988
+ //#endregion
989
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
990
+ /** Used to check objects for own properties. */
991
+ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
992
+ /**
993
+ * Creates an array of the enumerable property names of the array-like `value`.
994
+ *
995
+ * @private
996
+ * @param {*} value The value to query.
997
+ * @param {boolean} inherited Specify returning inherited property names.
998
+ * @returns {Array} Returns the array of property names.
999
+ */
355
1000
  function arrayLikeKeys(value, inherited) {
356
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
357
- for (var key in value) {
358
- if (hasOwnProperty$5.call(value, key) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
359
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
360
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
361
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
362
- isIndex(key, length)))) {
363
- result.push(key);
364
- }
365
- }
366
- return result;
367
- }
1001
+ var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
1002
+ for (var key in value) if ((inherited || hasOwnProperty$5.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
1003
+ return result;
1004
+ }
1005
+ //#endregion
1006
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
1007
+ /**
1008
+ * Creates a unary function that invokes `func` with its argument transformed.
1009
+ *
1010
+ * @private
1011
+ * @param {Function} func The function to wrap.
1012
+ * @param {Function} transform The argument transform.
1013
+ * @returns {Function} Returns the new function.
1014
+ */
368
1015
  function overArg(func, transform) {
369
- return function(arg) {
370
- return func(transform(arg));
371
- };
1016
+ return function(arg) {
1017
+ return func(transform(arg));
1018
+ };
372
1019
  }
1020
+ //#endregion
1021
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
373
1022
  var nativeKeys = overArg(Object.keys, Object);
374
- var objectProto$5 = Object.prototype;
375
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1023
+ //#endregion
1024
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
1025
+ /** Used to check objects for own properties. */
1026
+ var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
1027
+ /**
1028
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1029
+ *
1030
+ * @private
1031
+ * @param {Object} object The object to query.
1032
+ * @returns {Array} Returns the array of property names.
1033
+ */
376
1034
  function baseKeys(object) {
377
- if (!isPrototype(object)) {
378
- return nativeKeys(object);
379
- }
380
- var result = [];
381
- for (var key in Object(object)) {
382
- if (hasOwnProperty$4.call(object, key) && key != "constructor") {
383
- result.push(key);
384
- }
385
- }
386
- return result;
387
- }
1035
+ if (!isPrototype(object)) return nativeKeys(object);
1036
+ var result = [];
1037
+ for (var key in Object(object)) if (hasOwnProperty$4.call(object, key) && key != "constructor") result.push(key);
1038
+ return result;
1039
+ }
1040
+ //#endregion
1041
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
1042
+ /**
1043
+ * Creates an array of the own enumerable property names of `object`.
1044
+ *
1045
+ * **Note:** Non-object values are coerced to objects. See the
1046
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1047
+ * for more details.
1048
+ *
1049
+ * @static
1050
+ * @since 0.1.0
1051
+ * @memberOf _
1052
+ * @category Object
1053
+ * @param {Object} object The object to query.
1054
+ * @returns {Array} Returns the array of property names.
1055
+ * @example
1056
+ *
1057
+ * function Foo() {
1058
+ * this.a = 1;
1059
+ * this.b = 2;
1060
+ * }
1061
+ *
1062
+ * Foo.prototype.c = 3;
1063
+ *
1064
+ * _.keys(new Foo);
1065
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1066
+ *
1067
+ * _.keys('hi');
1068
+ * // => ['0', '1']
1069
+ */
388
1070
  function keys(object) {
389
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1071
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
390
1072
  }
1073
+ //#endregion
1074
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
1075
+ /** Used to match property names within property paths. */
391
1076
  var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
1077
+ /**
1078
+ * Checks if `value` is a property name and not a property path.
1079
+ *
1080
+ * @private
1081
+ * @param {*} value The value to check.
1082
+ * @param {Object} [object] The object to query keys on.
1083
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1084
+ */
392
1085
  function isKey(value, object) {
393
- if (isArray(value)) {
394
- return false;
395
- }
396
- var type2 = typeof value;
397
- if (type2 == "number" || type2 == "symbol" || type2 == "boolean" || value == null || isSymbol(value)) {
398
- return true;
399
- }
400
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
1086
+ if (isArray(value)) return false;
1087
+ var type = typeof value;
1088
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
1089
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
401
1090
  }
1091
+ //#endregion
1092
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
402
1093
  var nativeCreate = getNative(Object, "create");
1094
+ //#endregion
1095
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
1096
+ /**
1097
+ * Removes all key-value entries from the hash.
1098
+ *
1099
+ * @private
1100
+ * @name clear
1101
+ * @memberOf Hash
1102
+ */
403
1103
  function hashClear() {
404
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
405
- this.size = 0;
406
- }
1104
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
1105
+ this.size = 0;
1106
+ }
1107
+ //#endregion
1108
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
1109
+ /**
1110
+ * Removes `key` and its value from the hash.
1111
+ *
1112
+ * @private
1113
+ * @name delete
1114
+ * @memberOf Hash
1115
+ * @param {Object} hash The hash to modify.
1116
+ * @param {string} key The key of the value to remove.
1117
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1118
+ */
407
1119
  function hashDelete(key) {
408
- var result = this.has(key) && delete this.__data__[key];
409
- this.size -= result ? 1 : 0;
410
- return result;
1120
+ var result = this.has(key) && delete this.__data__[key];
1121
+ this.size -= result ? 1 : 0;
1122
+ return result;
411
1123
  }
1124
+ //#endregion
1125
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
1126
+ /** Used to stand-in for `undefined` hash values. */
412
1127
  var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
413
- var objectProto$4 = Object.prototype;
414
- var hasOwnProperty$3 = objectProto$4.hasOwnProperty;
1128
+ /** Used to check objects for own properties. */
1129
+ var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1130
+ /**
1131
+ * Gets the hash value for `key`.
1132
+ *
1133
+ * @private
1134
+ * @name get
1135
+ * @memberOf Hash
1136
+ * @param {string} key The key of the value to get.
1137
+ * @returns {*} Returns the entry value.
1138
+ */
415
1139
  function hashGet(key) {
416
- var data = this.__data__;
417
- if (nativeCreate) {
418
- var result = data[key];
419
- return result === HASH_UNDEFINED$2 ? void 0 : result;
420
- }
421
- return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
422
- }
423
- var objectProto$3 = Object.prototype;
424
- var hasOwnProperty$2 = objectProto$3.hasOwnProperty;
1140
+ var data = this.__data__;
1141
+ if (nativeCreate) {
1142
+ var result = data[key];
1143
+ return result === HASH_UNDEFINED$2 ? void 0 : result;
1144
+ }
1145
+ return hasOwnProperty$3.call(data, key) ? data[key] : void 0;
1146
+ }
1147
+ //#endregion
1148
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1149
+ /** Used to check objects for own properties. */
1150
+ var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
1151
+ /**
1152
+ * Checks if a hash value for `key` exists.
1153
+ *
1154
+ * @private
1155
+ * @name has
1156
+ * @memberOf Hash
1157
+ * @param {string} key The key of the entry to check.
1158
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1159
+ */
425
1160
  function hashHas(key) {
426
- var data = this.__data__;
427
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
1161
+ var data = this.__data__;
1162
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$2.call(data, key);
428
1163
  }
1164
+ //#endregion
1165
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1166
+ /** Used to stand-in for `undefined` hash values. */
429
1167
  var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1168
+ /**
1169
+ * Sets the hash `key` to `value`.
1170
+ *
1171
+ * @private
1172
+ * @name set
1173
+ * @memberOf Hash
1174
+ * @param {string} key The key of the value to set.
1175
+ * @param {*} value The value to set.
1176
+ * @returns {Object} Returns the hash instance.
1177
+ */
430
1178
  function hashSet(key, value) {
431
- var data = this.__data__;
432
- this.size += this.has(key) ? 0 : 1;
433
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
434
- return this;
435
- }
1179
+ var data = this.__data__;
1180
+ this.size += this.has(key) ? 0 : 1;
1181
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
1182
+ return this;
1183
+ }
1184
+ //#endregion
1185
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1186
+ /**
1187
+ * Creates a hash object.
1188
+ *
1189
+ * @private
1190
+ * @constructor
1191
+ * @param {Array} [entries] The key-value pairs to cache.
1192
+ */
436
1193
  function Hash(entries) {
437
- var index = -1, length = entries == null ? 0 : entries.length;
438
- this.clear();
439
- while (++index < length) {
440
- var entry = entries[index];
441
- this.set(entry[0], entry[1]);
442
- }
1194
+ var index = -1, length = entries == null ? 0 : entries.length;
1195
+ this.clear();
1196
+ while (++index < length) {
1197
+ var entry = entries[index];
1198
+ this.set(entry[0], entry[1]);
1199
+ }
443
1200
  }
444
1201
  Hash.prototype.clear = hashClear;
445
1202
  Hash.prototype["delete"] = hashDelete;
446
1203
  Hash.prototype.get = hashGet;
447
1204
  Hash.prototype.has = hashHas;
448
1205
  Hash.prototype.set = hashSet;
1206
+ //#endregion
1207
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1208
+ /**
1209
+ * Removes all key-value entries from the list cache.
1210
+ *
1211
+ * @private
1212
+ * @name clear
1213
+ * @memberOf ListCache
1214
+ */
449
1215
  function listCacheClear() {
450
- this.__data__ = [];
451
- this.size = 0;
452
- }
1216
+ this.__data__ = [];
1217
+ this.size = 0;
1218
+ }
1219
+ //#endregion
1220
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1221
+ /**
1222
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1223
+ *
1224
+ * @private
1225
+ * @param {Array} array The array to inspect.
1226
+ * @param {*} key The key to search for.
1227
+ * @returns {number} Returns the index of the matched value, else `-1`.
1228
+ */
453
1229
  function assocIndexOf(array, key) {
454
- var length = array.length;
455
- while (length--) {
456
- if (eq(array[length][0], key)) {
457
- return length;
458
- }
459
- }
460
- return -1;
461
- }
462
- var arrayProto = Array.prototype;
463
- var splice = arrayProto.splice;
1230
+ var length = array.length;
1231
+ while (length--) if (eq(array[length][0], key)) return length;
1232
+ return -1;
1233
+ }
1234
+ //#endregion
1235
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1236
+ /** Built-in value references. */
1237
+ var splice = Array.prototype.splice;
1238
+ /**
1239
+ * Removes `key` and its value from the list cache.
1240
+ *
1241
+ * @private
1242
+ * @name delete
1243
+ * @memberOf ListCache
1244
+ * @param {string} key The key of the value to remove.
1245
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1246
+ */
464
1247
  function listCacheDelete(key) {
465
- var data = this.__data__, index = assocIndexOf(data, key);
466
- if (index < 0) {
467
- return false;
468
- }
469
- var lastIndex = data.length - 1;
470
- if (index == lastIndex) {
471
- data.pop();
472
- } else {
473
- splice.call(data, index, 1);
474
- }
475
- --this.size;
476
- return true;
477
- }
1248
+ var data = this.__data__, index = assocIndexOf(data, key);
1249
+ if (index < 0) return false;
1250
+ if (index == data.length - 1) data.pop();
1251
+ else splice.call(data, index, 1);
1252
+ --this.size;
1253
+ return true;
1254
+ }
1255
+ //#endregion
1256
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1257
+ /**
1258
+ * Gets the list cache value for `key`.
1259
+ *
1260
+ * @private
1261
+ * @name get
1262
+ * @memberOf ListCache
1263
+ * @param {string} key The key of the value to get.
1264
+ * @returns {*} Returns the entry value.
1265
+ */
478
1266
  function listCacheGet(key) {
479
- var data = this.__data__, index = assocIndexOf(data, key);
480
- return index < 0 ? void 0 : data[index][1];
481
- }
1267
+ var data = this.__data__, index = assocIndexOf(data, key);
1268
+ return index < 0 ? void 0 : data[index][1];
1269
+ }
1270
+ //#endregion
1271
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1272
+ /**
1273
+ * Checks if a list cache value for `key` exists.
1274
+ *
1275
+ * @private
1276
+ * @name has
1277
+ * @memberOf ListCache
1278
+ * @param {string} key The key of the entry to check.
1279
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1280
+ */
482
1281
  function listCacheHas(key) {
483
- return assocIndexOf(this.__data__, key) > -1;
484
- }
1282
+ return assocIndexOf(this.__data__, key) > -1;
1283
+ }
1284
+ //#endregion
1285
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1286
+ /**
1287
+ * Sets the list cache `key` to `value`.
1288
+ *
1289
+ * @private
1290
+ * @name set
1291
+ * @memberOf ListCache
1292
+ * @param {string} key The key of the value to set.
1293
+ * @param {*} value The value to set.
1294
+ * @returns {Object} Returns the list cache instance.
1295
+ */
485
1296
  function listCacheSet(key, value) {
486
- var data = this.__data__, index = assocIndexOf(data, key);
487
- if (index < 0) {
488
- ++this.size;
489
- data.push([key, value]);
490
- } else {
491
- data[index][1] = value;
492
- }
493
- return this;
494
- }
1297
+ var data = this.__data__, index = assocIndexOf(data, key);
1298
+ if (index < 0) {
1299
+ ++this.size;
1300
+ data.push([key, value]);
1301
+ } else data[index][1] = value;
1302
+ return this;
1303
+ }
1304
+ //#endregion
1305
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1306
+ /**
1307
+ * Creates an list cache object.
1308
+ *
1309
+ * @private
1310
+ * @constructor
1311
+ * @param {Array} [entries] The key-value pairs to cache.
1312
+ */
495
1313
  function ListCache(entries) {
496
- var index = -1, length = entries == null ? 0 : entries.length;
497
- this.clear();
498
- while (++index < length) {
499
- var entry = entries[index];
500
- this.set(entry[0], entry[1]);
501
- }
1314
+ var index = -1, length = entries == null ? 0 : entries.length;
1315
+ this.clear();
1316
+ while (++index < length) {
1317
+ var entry = entries[index];
1318
+ this.set(entry[0], entry[1]);
1319
+ }
502
1320
  }
503
1321
  ListCache.prototype.clear = listCacheClear;
504
1322
  ListCache.prototype["delete"] = listCacheDelete;
505
1323
  ListCache.prototype.get = listCacheGet;
506
1324
  ListCache.prototype.has = listCacheHas;
507
1325
  ListCache.prototype.set = listCacheSet;
1326
+ //#endregion
1327
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
508
1328
  var Map = getNative(root, "Map");
1329
+ //#endregion
1330
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1331
+ /**
1332
+ * Removes all key-value entries from the map.
1333
+ *
1334
+ * @private
1335
+ * @name clear
1336
+ * @memberOf MapCache
1337
+ */
509
1338
  function mapCacheClear() {
510
- this.size = 0;
511
- this.__data__ = {
512
- "hash": new Hash(),
513
- "map": new (Map || ListCache)(),
514
- "string": new Hash()
515
- };
516
- }
1339
+ this.size = 0;
1340
+ this.__data__ = {
1341
+ "hash": new Hash(),
1342
+ "map": new (Map || ListCache)(),
1343
+ "string": new Hash()
1344
+ };
1345
+ }
1346
+ //#endregion
1347
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1348
+ /**
1349
+ * Checks if `value` is suitable for use as unique object key.
1350
+ *
1351
+ * @private
1352
+ * @param {*} value The value to check.
1353
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1354
+ */
517
1355
  function isKeyable(value) {
518
- var type2 = typeof value;
519
- return type2 == "string" || type2 == "number" || type2 == "symbol" || type2 == "boolean" ? value !== "__proto__" : value === null;
520
- }
1356
+ var type = typeof value;
1357
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1358
+ }
1359
+ //#endregion
1360
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1361
+ /**
1362
+ * Gets the data for `map`.
1363
+ *
1364
+ * @private
1365
+ * @param {Object} map The map to query.
1366
+ * @param {string} key The reference key.
1367
+ * @returns {*} Returns the map data.
1368
+ */
521
1369
  function getMapData(map, key) {
522
- var data = map.__data__;
523
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
524
- }
1370
+ var data = map.__data__;
1371
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1372
+ }
1373
+ //#endregion
1374
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1375
+ /**
1376
+ * Removes `key` and its value from the map.
1377
+ *
1378
+ * @private
1379
+ * @name delete
1380
+ * @memberOf MapCache
1381
+ * @param {string} key The key of the value to remove.
1382
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1383
+ */
525
1384
  function mapCacheDelete(key) {
526
- var result = getMapData(this, key)["delete"](key);
527
- this.size -= result ? 1 : 0;
528
- return result;
529
- }
1385
+ var result = getMapData(this, key)["delete"](key);
1386
+ this.size -= result ? 1 : 0;
1387
+ return result;
1388
+ }
1389
+ //#endregion
1390
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1391
+ /**
1392
+ * Gets the map value for `key`.
1393
+ *
1394
+ * @private
1395
+ * @name get
1396
+ * @memberOf MapCache
1397
+ * @param {string} key The key of the value to get.
1398
+ * @returns {*} Returns the entry value.
1399
+ */
530
1400
  function mapCacheGet(key) {
531
- return getMapData(this, key).get(key);
532
- }
1401
+ return getMapData(this, key).get(key);
1402
+ }
1403
+ //#endregion
1404
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1405
+ /**
1406
+ * Checks if a map value for `key` exists.
1407
+ *
1408
+ * @private
1409
+ * @name has
1410
+ * @memberOf MapCache
1411
+ * @param {string} key The key of the entry to check.
1412
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1413
+ */
533
1414
  function mapCacheHas(key) {
534
- return getMapData(this, key).has(key);
535
- }
1415
+ return getMapData(this, key).has(key);
1416
+ }
1417
+ //#endregion
1418
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1419
+ /**
1420
+ * Sets the map `key` to `value`.
1421
+ *
1422
+ * @private
1423
+ * @name set
1424
+ * @memberOf MapCache
1425
+ * @param {string} key The key of the value to set.
1426
+ * @param {*} value The value to set.
1427
+ * @returns {Object} Returns the map cache instance.
1428
+ */
536
1429
  function mapCacheSet(key, value) {
537
- var data = getMapData(this, key), size = data.size;
538
- data.set(key, value);
539
- this.size += data.size == size ? 0 : 1;
540
- return this;
541
- }
1430
+ var data = getMapData(this, key), size = data.size;
1431
+ data.set(key, value);
1432
+ this.size += data.size == size ? 0 : 1;
1433
+ return this;
1434
+ }
1435
+ //#endregion
1436
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1437
+ /**
1438
+ * Creates a map cache object to store key-value pairs.
1439
+ *
1440
+ * @private
1441
+ * @constructor
1442
+ * @param {Array} [entries] The key-value pairs to cache.
1443
+ */
542
1444
  function MapCache(entries) {
543
- var index = -1, length = entries == null ? 0 : entries.length;
544
- this.clear();
545
- while (++index < length) {
546
- var entry = entries[index];
547
- this.set(entry[0], entry[1]);
548
- }
1445
+ var index = -1, length = entries == null ? 0 : entries.length;
1446
+ this.clear();
1447
+ while (++index < length) {
1448
+ var entry = entries[index];
1449
+ this.set(entry[0], entry[1]);
1450
+ }
549
1451
  }
550
1452
  MapCache.prototype.clear = mapCacheClear;
551
1453
  MapCache.prototype["delete"] = mapCacheDelete;
552
1454
  MapCache.prototype.get = mapCacheGet;
553
1455
  MapCache.prototype.has = mapCacheHas;
554
1456
  MapCache.prototype.set = mapCacheSet;
1457
+ //#endregion
1458
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
1459
+ /** Error message constants. */
555
1460
  var FUNC_ERROR_TEXT = "Expected a function";
1461
+ /**
1462
+ * Creates a function that memoizes the result of `func`. If `resolver` is
1463
+ * provided, it determines the cache key for storing the result based on the
1464
+ * arguments provided to the memoized function. By default, the first argument
1465
+ * provided to the memoized function is used as the map cache key. The `func`
1466
+ * is invoked with the `this` binding of the memoized function.
1467
+ *
1468
+ * **Note:** The cache is exposed as the `cache` property on the memoized
1469
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
1470
+ * constructor with one whose instances implement the
1471
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1472
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1473
+ *
1474
+ * @static
1475
+ * @memberOf _
1476
+ * @since 0.1.0
1477
+ * @category Function
1478
+ * @param {Function} func The function to have its output memoized.
1479
+ * @param {Function} [resolver] The function to resolve the cache key.
1480
+ * @returns {Function} Returns the new memoized function.
1481
+ * @example
1482
+ *
1483
+ * var object = { 'a': 1, 'b': 2 };
1484
+ * var other = { 'c': 3, 'd': 4 };
1485
+ *
1486
+ * var values = _.memoize(_.values);
1487
+ * values(object);
1488
+ * // => [1, 2]
1489
+ *
1490
+ * values(other);
1491
+ * // => [3, 4]
1492
+ *
1493
+ * object.a = 2;
1494
+ * values(object);
1495
+ * // => [1, 2]
1496
+ *
1497
+ * // Modify the result cache.
1498
+ * values.cache.set(object, ['a', 'b']);
1499
+ * values(object);
1500
+ * // => ['a', 'b']
1501
+ *
1502
+ * // Replace `_.memoize.Cache`.
1503
+ * _.memoize.Cache = WeakMap;
1504
+ */
556
1505
  function memoize(func, resolver) {
557
- if (typeof func != "function" || resolver != null && typeof resolver != "function") {
558
- throw new TypeError(FUNC_ERROR_TEXT);
559
- }
560
- var memoized = function() {
561
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
562
- if (cache.has(key)) {
563
- return cache.get(key);
564
- }
565
- var result = func.apply(this, args);
566
- memoized.cache = cache.set(key, result) || cache;
567
- return result;
568
- };
569
- memoized.cache = new (memoize.Cache || MapCache)();
570
- return memoized;
1506
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
1507
+ var memoized = function() {
1508
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
1509
+ if (cache.has(key)) return cache.get(key);
1510
+ var result = func.apply(this, args);
1511
+ memoized.cache = cache.set(key, result) || cache;
1512
+ return result;
1513
+ };
1514
+ memoized.cache = new (memoize.Cache || MapCache)();
1515
+ return memoized;
571
1516
  }
572
1517
  memoize.Cache = MapCache;
1518
+ //#endregion
1519
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
1520
+ /** Used as the maximum memoize cache size. */
573
1521
  var MAX_MEMOIZE_SIZE = 500;
1522
+ /**
1523
+ * A specialized version of `_.memoize` which clears the memoized function's
1524
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1525
+ *
1526
+ * @private
1527
+ * @param {Function} func The function to have its output memoized.
1528
+ * @returns {Function} Returns the new memoized function.
1529
+ */
574
1530
  function memoizeCapped(func) {
575
- var result = memoize(func, function(key) {
576
- if (cache.size === MAX_MEMOIZE_SIZE) {
577
- cache.clear();
578
- }
579
- return key;
580
- });
581
- var cache = result.cache;
582
- return result;
583
- }
1531
+ var result = memoize(func, function(key) {
1532
+ if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
1533
+ return key;
1534
+ });
1535
+ var cache = result.cache;
1536
+ return result;
1537
+ }
1538
+ //#endregion
1539
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
1540
+ /** Used to match property names within property paths. */
584
1541
  var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1542
+ /** Used to match backslashes in property paths. */
585
1543
  var reEscapeChar = /\\(\\)?/g;
1544
+ /**
1545
+ * Converts `string` to a property path array.
1546
+ *
1547
+ * @private
1548
+ * @param {string} string The string to convert.
1549
+ * @returns {Array} Returns the property path array.
1550
+ */
586
1551
  var stringToPath = memoizeCapped(function(string) {
587
- var result = [];
588
- if (string.charCodeAt(0) === 46) {
589
- result.push("");
590
- }
591
- string.replace(rePropName, function(match, number, quote, subString) {
592
- result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
593
- });
594
- return result;
1552
+ var result = [];
1553
+ if (string.charCodeAt(0) === 46) result.push("");
1554
+ string.replace(rePropName, function(match, number, quote, subString) {
1555
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
1556
+ });
1557
+ return result;
595
1558
  });
1559
+ //#endregion
1560
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
1561
+ /**
1562
+ * Converts `value` to a string. An empty string is returned for `null`
1563
+ * and `undefined` values. The sign of `-0` is preserved.
1564
+ *
1565
+ * @static
1566
+ * @memberOf _
1567
+ * @since 4.0.0
1568
+ * @category Lang
1569
+ * @param {*} value The value to convert.
1570
+ * @returns {string} Returns the converted string.
1571
+ * @example
1572
+ *
1573
+ * _.toString(null);
1574
+ * // => ''
1575
+ *
1576
+ * _.toString(-0);
1577
+ * // => '-0'
1578
+ *
1579
+ * _.toString([1, 2, 3]);
1580
+ * // => '1,2,3'
1581
+ */
596
1582
  function toString(value) {
597
- return value == null ? "" : baseToString(value);
598
- }
1583
+ return value == null ? "" : baseToString(value);
1584
+ }
1585
+ //#endregion
1586
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
1587
+ /**
1588
+ * Casts `value` to a path array if it's not one.
1589
+ *
1590
+ * @private
1591
+ * @param {*} value The value to inspect.
1592
+ * @param {Object} [object] The object to query keys on.
1593
+ * @returns {Array} Returns the cast property path array.
1594
+ */
599
1595
  function castPath(value, object) {
600
- if (isArray(value)) {
601
- return value;
602
- }
603
- return isKey(value, object) ? [value] : stringToPath(toString(value));
604
- }
1596
+ if (isArray(value)) return value;
1597
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
1598
+ }
1599
+ //#endregion
1600
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
1601
+ /** Used as references for various `Number` constants. */
1602
+ var INFINITY = Infinity;
1603
+ /**
1604
+ * Converts `value` to a string key if it's not a string or symbol.
1605
+ *
1606
+ * @private
1607
+ * @param {*} value The value to inspect.
1608
+ * @returns {string|symbol} Returns the key.
1609
+ */
605
1610
  function toKey(value) {
606
- if (typeof value == "string" || isSymbol(value)) {
607
- return value;
608
- }
609
- var result = value + "";
610
- return result == "0" && 1 / value == -Infinity ? "-0" : result;
611
- }
1611
+ if (typeof value == "string" || isSymbol(value)) return value;
1612
+ var result = value + "";
1613
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1614
+ }
1615
+ //#endregion
1616
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
1617
+ /**
1618
+ * The base implementation of `_.get` without support for default values.
1619
+ *
1620
+ * @private
1621
+ * @param {Object} object The object to query.
1622
+ * @param {Array|string} path The path of the property to get.
1623
+ * @returns {*} Returns the resolved value.
1624
+ */
612
1625
  function baseGet(object, path) {
613
- path = castPath(path, object);
614
- var index = 0, length = path.length;
615
- while (object != null && index < length) {
616
- object = object[toKey(path[index++])];
617
- }
618
- return index && index == length ? object : void 0;
619
- }
1626
+ path = castPath(path, object);
1627
+ var index = 0, length = path.length;
1628
+ while (object != null && index < length) object = object[toKey(path[index++])];
1629
+ return index && index == length ? object : void 0;
1630
+ }
1631
+ //#endregion
1632
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
1633
+ /**
1634
+ * Gets the value at `path` of `object`. If the resolved value is
1635
+ * `undefined`, the `defaultValue` is returned in its place.
1636
+ *
1637
+ * @static
1638
+ * @memberOf _
1639
+ * @since 3.7.0
1640
+ * @category Object
1641
+ * @param {Object} object The object to query.
1642
+ * @param {Array|string} path The path of the property to get.
1643
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1644
+ * @returns {*} Returns the resolved value.
1645
+ * @example
1646
+ *
1647
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1648
+ *
1649
+ * _.get(object, 'a[0].b.c');
1650
+ * // => 3
1651
+ *
1652
+ * _.get(object, ['a', '0', 'b', 'c']);
1653
+ * // => 3
1654
+ *
1655
+ * _.get(object, 'a.b.c', 'default');
1656
+ * // => 'default'
1657
+ */
620
1658
  function get(object, path, defaultValue) {
621
- var result = object == null ? void 0 : baseGet(object, path);
622
- return result === void 0 ? defaultValue : result;
623
- }
1659
+ var result = object == null ? void 0 : baseGet(object, path);
1660
+ return result === void 0 ? defaultValue : result;
1661
+ }
1662
+ //#endregion
1663
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1664
+ /**
1665
+ * Appends the elements of `values` to `array`.
1666
+ *
1667
+ * @private
1668
+ * @param {Array} array The array to modify.
1669
+ * @param {Array} values The values to append.
1670
+ * @returns {Array} Returns `array`.
1671
+ */
624
1672
  function arrayPush(array, values) {
625
- var index = -1, length = values.length, offset = array.length;
626
- while (++index < length) {
627
- array[offset + index] = values[index];
628
- }
629
- return array;
630
- }
631
- var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
1673
+ var index = -1, length = values.length, offset = array.length;
1674
+ while (++index < length) array[offset + index] = values[index];
1675
+ return array;
1676
+ }
1677
+ //#endregion
1678
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
1679
+ /** Built-in value references. */
1680
+ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
1681
+ /**
1682
+ * Checks if `value` is a flattenable `arguments` object or array.
1683
+ *
1684
+ * @private
1685
+ * @param {*} value The value to check.
1686
+ * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
1687
+ */
632
1688
  function isFlattenable(value) {
633
- return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
634
- }
1689
+ return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
1690
+ }
1691
+ //#endregion
1692
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
1693
+ /**
1694
+ * The base implementation of `_.flatten` with support for restricting flattening.
1695
+ *
1696
+ * @private
1697
+ * @param {Array} array The array to flatten.
1698
+ * @param {number} depth The maximum recursion depth.
1699
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
1700
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
1701
+ * @param {Array} [result=[]] The initial result value.
1702
+ * @returns {Array} Returns the new flattened array.
1703
+ */
635
1704
  function baseFlatten(array, depth, predicate, isStrict, result) {
636
- var index = -1, length = array.length;
637
- predicate || (predicate = isFlattenable);
638
- result || (result = []);
639
- while (++index < length) {
640
- var value = array[index];
641
- if (predicate(value)) {
642
- {
643
- arrayPush(result, value);
644
- }
645
- } else {
646
- result[result.length] = value;
647
- }
648
- }
649
- return result;
650
- }
1705
+ var index = -1, length = array.length;
1706
+ predicate || (predicate = isFlattenable);
1707
+ result || (result = []);
1708
+ while (++index < length) {
1709
+ var value = array[index];
1710
+ if (depth > 0 && predicate(value)) if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
1711
+ else arrayPush(result, value);
1712
+ else if (!isStrict) result[result.length] = value;
1713
+ }
1714
+ return result;
1715
+ }
1716
+ //#endregion
1717
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1718
+ /**
1719
+ * Removes all key-value entries from the stack.
1720
+ *
1721
+ * @private
1722
+ * @name clear
1723
+ * @memberOf Stack
1724
+ */
651
1725
  function stackClear() {
652
- this.__data__ = new ListCache();
653
- this.size = 0;
654
- }
1726
+ this.__data__ = new ListCache();
1727
+ this.size = 0;
1728
+ }
1729
+ //#endregion
1730
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1731
+ /**
1732
+ * Removes `key` and its value from the stack.
1733
+ *
1734
+ * @private
1735
+ * @name delete
1736
+ * @memberOf Stack
1737
+ * @param {string} key The key of the value to remove.
1738
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1739
+ */
655
1740
  function stackDelete(key) {
656
- var data = this.__data__, result = data["delete"](key);
657
- this.size = data.size;
658
- return result;
659
- }
1741
+ var data = this.__data__, result = data["delete"](key);
1742
+ this.size = data.size;
1743
+ return result;
1744
+ }
1745
+ //#endregion
1746
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1747
+ /**
1748
+ * Gets the stack value for `key`.
1749
+ *
1750
+ * @private
1751
+ * @name get
1752
+ * @memberOf Stack
1753
+ * @param {string} key The key of the value to get.
1754
+ * @returns {*} Returns the entry value.
1755
+ */
660
1756
  function stackGet(key) {
661
- return this.__data__.get(key);
662
- }
1757
+ return this.__data__.get(key);
1758
+ }
1759
+ //#endregion
1760
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1761
+ /**
1762
+ * Checks if a stack value for `key` exists.
1763
+ *
1764
+ * @private
1765
+ * @name has
1766
+ * @memberOf Stack
1767
+ * @param {string} key The key of the entry to check.
1768
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1769
+ */
663
1770
  function stackHas(key) {
664
- return this.__data__.has(key);
1771
+ return this.__data__.has(key);
665
1772
  }
1773
+ //#endregion
1774
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1775
+ /** Used as the size to enable large array optimizations. */
666
1776
  var LARGE_ARRAY_SIZE = 200;
1777
+ /**
1778
+ * Sets the stack `key` to `value`.
1779
+ *
1780
+ * @private
1781
+ * @name set
1782
+ * @memberOf Stack
1783
+ * @param {string} key The key of the value to set.
1784
+ * @param {*} value The value to set.
1785
+ * @returns {Object} Returns the stack cache instance.
1786
+ */
667
1787
  function stackSet(key, value) {
668
- var data = this.__data__;
669
- if (data instanceof ListCache) {
670
- var pairs = data.__data__;
671
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
672
- pairs.push([key, value]);
673
- this.size = ++data.size;
674
- return this;
675
- }
676
- data = this.__data__ = new MapCache(pairs);
677
- }
678
- data.set(key, value);
679
- this.size = data.size;
680
- return this;
681
- }
1788
+ var data = this.__data__;
1789
+ if (data instanceof ListCache) {
1790
+ var pairs = data.__data__;
1791
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
1792
+ pairs.push([key, value]);
1793
+ this.size = ++data.size;
1794
+ return this;
1795
+ }
1796
+ data = this.__data__ = new MapCache(pairs);
1797
+ }
1798
+ data.set(key, value);
1799
+ this.size = data.size;
1800
+ return this;
1801
+ }
1802
+ //#endregion
1803
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1804
+ /**
1805
+ * Creates a stack cache object to store key-value pairs.
1806
+ *
1807
+ * @private
1808
+ * @constructor
1809
+ * @param {Array} [entries] The key-value pairs to cache.
1810
+ */
682
1811
  function Stack(entries) {
683
- var data = this.__data__ = new ListCache(entries);
684
- this.size = data.size;
1812
+ var data = this.__data__ = new ListCache(entries);
1813
+ this.size = data.size;
685
1814
  }
686
1815
  Stack.prototype.clear = stackClear;
687
1816
  Stack.prototype["delete"] = stackDelete;
688
1817
  Stack.prototype.get = stackGet;
689
1818
  Stack.prototype.has = stackHas;
690
1819
  Stack.prototype.set = stackSet;
1820
+ //#endregion
1821
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1822
+ /**
1823
+ * A specialized version of `_.filter` for arrays without support for
1824
+ * iteratee shorthands.
1825
+ *
1826
+ * @private
1827
+ * @param {Array} [array] The array to iterate over.
1828
+ * @param {Function} predicate The function invoked per iteration.
1829
+ * @returns {Array} Returns the new filtered array.
1830
+ */
691
1831
  function arrayFilter(array, predicate) {
692
- var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
693
- while (++index < length) {
694
- var value = array[index];
695
- if (predicate(value, index, array)) {
696
- result[resIndex++] = value;
697
- }
698
- }
699
- return result;
700
- }
1832
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
1833
+ while (++index < length) {
1834
+ var value = array[index];
1835
+ if (predicate(value, index, array)) result[resIndex++] = value;
1836
+ }
1837
+ return result;
1838
+ }
1839
+ //#endregion
1840
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1841
+ /**
1842
+ * This method returns a new empty array.
1843
+ *
1844
+ * @static
1845
+ * @memberOf _
1846
+ * @since 4.13.0
1847
+ * @category Util
1848
+ * @returns {Array} Returns the new empty array.
1849
+ * @example
1850
+ *
1851
+ * var arrays = _.times(2, _.stubArray);
1852
+ *
1853
+ * console.log(arrays);
1854
+ * // => [[], []]
1855
+ *
1856
+ * console.log(arrays[0] === arrays[1]);
1857
+ * // => false
1858
+ */
701
1859
  function stubArray() {
702
- return [];
1860
+ return [];
703
1861
  }
704
- var objectProto$2 = Object.prototype;
705
- var propertyIsEnumerable = objectProto$2.propertyIsEnumerable;
1862
+ //#endregion
1863
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1864
+ /** Built-in value references. */
1865
+ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
706
1866
  var nativeGetSymbols = Object.getOwnPropertySymbols;
1867
+ /**
1868
+ * Creates an array of the own enumerable symbols of `object`.
1869
+ *
1870
+ * @private
1871
+ * @param {Object} object The object to query.
1872
+ * @returns {Array} Returns the array of symbols.
1873
+ */
707
1874
  var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
708
- if (object == null) {
709
- return [];
710
- }
711
- object = Object(object);
712
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
713
- return propertyIsEnumerable.call(object, symbol);
714
- });
1875
+ if (object == null) return [];
1876
+ object = Object(object);
1877
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1878
+ return propertyIsEnumerable.call(object, symbol);
1879
+ });
715
1880
  };
1881
+ //#endregion
1882
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1883
+ /**
1884
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1885
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1886
+ * symbols of `object`.
1887
+ *
1888
+ * @private
1889
+ * @param {Object} object The object to query.
1890
+ * @param {Function} keysFunc The function to get the keys of `object`.
1891
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1892
+ * @returns {Array} Returns the array of property names and symbols.
1893
+ */
716
1894
  function baseGetAllKeys(object, keysFunc, symbolsFunc) {
717
- var result = keysFunc(object);
718
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
719
- }
1895
+ var result = keysFunc(object);
1896
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1897
+ }
1898
+ //#endregion
1899
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
1900
+ /**
1901
+ * Creates an array of own enumerable property names and symbols of `object`.
1902
+ *
1903
+ * @private
1904
+ * @param {Object} object The object to query.
1905
+ * @returns {Array} Returns the array of property names and symbols.
1906
+ */
720
1907
  function getAllKeys(object) {
721
- return baseGetAllKeys(object, keys, getSymbols);
1908
+ return baseGetAllKeys(object, keys, getSymbols);
722
1909
  }
1910
+ //#endregion
1911
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
723
1912
  var DataView = getNative(root, "DataView");
1913
+ //#endregion
1914
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
724
1915
  var Promise$1 = getNative(root, "Promise");
1916
+ //#endregion
1917
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
725
1918
  var Set = getNative(root, "Set");
1919
+ //#endregion
1920
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1921
+ /** `Object#toString` result references. */
726
1922
  var mapTag$1 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$1 = "[object Set]", weakMapTag = "[object WeakMap]";
727
1923
  var dataViewTag$1 = "[object DataView]";
1924
+ /** Used to detect maps, sets, and weakmaps. */
728
1925
  var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1926
+ /**
1927
+ * Gets the `toStringTag` of `value`.
1928
+ *
1929
+ * @private
1930
+ * @param {*} value The value to query.
1931
+ * @returns {string} Returns the `toStringTag`.
1932
+ */
729
1933
  var getTag = baseGetTag;
730
- if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) {
731
- getTag = function(value) {
732
- var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
733
- if (ctorString) {
734
- switch (ctorString) {
735
- case dataViewCtorString:
736
- return dataViewTag$1;
737
- case mapCtorString:
738
- return mapTag$1;
739
- case promiseCtorString:
740
- return promiseTag;
741
- case setCtorString:
742
- return setTag$1;
743
- case weakMapCtorString:
744
- return weakMapTag;
745
- }
746
- }
747
- return result;
748
- };
749
- }
1934
+ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) getTag = function(value) {
1935
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
1936
+ if (ctorString) switch (ctorString) {
1937
+ case dataViewCtorString: return dataViewTag$1;
1938
+ case mapCtorString: return mapTag$1;
1939
+ case promiseCtorString: return promiseTag;
1940
+ case setCtorString: return setTag$1;
1941
+ case weakMapCtorString: return weakMapTag;
1942
+ }
1943
+ return result;
1944
+ };
1945
+ var _getTag_default = getTag;
1946
+ //#endregion
1947
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
1948
+ /** Built-in value references. */
750
1949
  var Uint8Array$1 = root.Uint8Array;
1950
+ //#endregion
1951
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
1952
+ /** Used to stand-in for `undefined` hash values. */
751
1953
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
1954
+ /**
1955
+ * Adds `value` to the array cache.
1956
+ *
1957
+ * @private
1958
+ * @name add
1959
+ * @memberOf SetCache
1960
+ * @alias push
1961
+ * @param {*} value The value to cache.
1962
+ * @returns {Object} Returns the cache instance.
1963
+ */
752
1964
  function setCacheAdd(value) {
753
- this.__data__.set(value, HASH_UNDEFINED);
754
- return this;
755
- }
1965
+ this.__data__.set(value, HASH_UNDEFINED);
1966
+ return this;
1967
+ }
1968
+ //#endregion
1969
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
1970
+ /**
1971
+ * Checks if `value` is in the array cache.
1972
+ *
1973
+ * @private
1974
+ * @name has
1975
+ * @memberOf SetCache
1976
+ * @param {*} value The value to search for.
1977
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
1978
+ */
756
1979
  function setCacheHas(value) {
757
- return this.__data__.has(value);
758
- }
1980
+ return this.__data__.has(value);
1981
+ }
1982
+ //#endregion
1983
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
1984
+ /**
1985
+ *
1986
+ * Creates an array cache object to store unique values.
1987
+ *
1988
+ * @private
1989
+ * @constructor
1990
+ * @param {Array} [values] The values to cache.
1991
+ */
759
1992
  function SetCache(values) {
760
- var index = -1, length = values == null ? 0 : values.length;
761
- this.__data__ = new MapCache();
762
- while (++index < length) {
763
- this.add(values[index]);
764
- }
1993
+ var index = -1, length = values == null ? 0 : values.length;
1994
+ this.__data__ = new MapCache();
1995
+ while (++index < length) this.add(values[index]);
765
1996
  }
766
1997
  SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
767
1998
  SetCache.prototype.has = setCacheHas;
1999
+ //#endregion
2000
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
2001
+ /**
2002
+ * A specialized version of `_.some` for arrays without support for iteratee
2003
+ * shorthands.
2004
+ *
2005
+ * @private
2006
+ * @param {Array} [array] The array to iterate over.
2007
+ * @param {Function} predicate The function invoked per iteration.
2008
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
2009
+ * else `false`.
2010
+ */
768
2011
  function arraySome(array, predicate) {
769
- var index = -1, length = array == null ? 0 : array.length;
770
- while (++index < length) {
771
- if (predicate(array[index], index, array)) {
772
- return true;
773
- }
774
- }
775
- return false;
776
- }
2012
+ var index = -1, length = array == null ? 0 : array.length;
2013
+ while (++index < length) if (predicate(array[index], index, array)) return true;
2014
+ return false;
2015
+ }
2016
+ //#endregion
2017
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
2018
+ /**
2019
+ * Checks if a `cache` value for `key` exists.
2020
+ *
2021
+ * @private
2022
+ * @param {Object} cache The cache to query.
2023
+ * @param {string} key The key of the entry to check.
2024
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2025
+ */
777
2026
  function cacheHas(cache, key) {
778
- return cache.has(key);
2027
+ return cache.has(key);
779
2028
  }
2029
+ //#endregion
2030
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
2031
+ /** Used to compose bitmasks for value comparisons. */
780
2032
  var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
2033
+ /**
2034
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
2035
+ * partial deep comparisons.
2036
+ *
2037
+ * @private
2038
+ * @param {Array} array The array to compare.
2039
+ * @param {Array} other The other array to compare.
2040
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2041
+ * @param {Function} customizer The function to customize comparisons.
2042
+ * @param {Function} equalFunc The function to determine equivalents of values.
2043
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
2044
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
2045
+ */
781
2046
  function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
782
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
783
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
784
- return false;
785
- }
786
- var arrStacked = stack.get(array);
787
- var othStacked = stack.get(other);
788
- if (arrStacked && othStacked) {
789
- return arrStacked == other && othStacked == array;
790
- }
791
- var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
792
- stack.set(array, other);
793
- stack.set(other, array);
794
- while (++index < arrLength) {
795
- var arrValue = array[index], othValue = other[index];
796
- if (customizer) {
797
- var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
798
- }
799
- if (compared !== void 0) {
800
- if (compared) {
801
- continue;
802
- }
803
- result = false;
804
- break;
805
- }
806
- if (seen) {
807
- if (!arraySome(other, function(othValue2, othIndex) {
808
- if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
809
- return seen.push(othIndex);
810
- }
811
- })) {
812
- result = false;
813
- break;
814
- }
815
- } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
816
- result = false;
817
- break;
818
- }
819
- }
820
- stack["delete"](array);
821
- stack["delete"](other);
822
- return result;
823
- }
2047
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
2048
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) return false;
2049
+ var arrStacked = stack.get(array);
2050
+ var othStacked = stack.get(other);
2051
+ if (arrStacked && othStacked) return arrStacked == other && othStacked == array;
2052
+ var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
2053
+ stack.set(array, other);
2054
+ stack.set(other, array);
2055
+ while (++index < arrLength) {
2056
+ var arrValue = array[index], othValue = other[index];
2057
+ if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
2058
+ if (compared !== void 0) {
2059
+ if (compared) continue;
2060
+ result = false;
2061
+ break;
2062
+ }
2063
+ if (seen) {
2064
+ if (!arraySome(other, function(othValue, othIndex) {
2065
+ if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) return seen.push(othIndex);
2066
+ })) {
2067
+ result = false;
2068
+ break;
2069
+ }
2070
+ } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2071
+ result = false;
2072
+ break;
2073
+ }
2074
+ }
2075
+ stack["delete"](array);
2076
+ stack["delete"](other);
2077
+ return result;
2078
+ }
2079
+ //#endregion
2080
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
2081
+ /**
2082
+ * Converts `map` to its key-value pairs.
2083
+ *
2084
+ * @private
2085
+ * @param {Object} map The map to convert.
2086
+ * @returns {Array} Returns the key-value pairs.
2087
+ */
824
2088
  function mapToArray(map) {
825
- var index = -1, result = Array(map.size);
826
- map.forEach(function(value, key) {
827
- result[++index] = [key, value];
828
- });
829
- return result;
830
- }
2089
+ var index = -1, result = Array(map.size);
2090
+ map.forEach(function(value, key) {
2091
+ result[++index] = [key, value];
2092
+ });
2093
+ return result;
2094
+ }
2095
+ //#endregion
2096
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
2097
+ /**
2098
+ * Converts `set` to an array of its values.
2099
+ *
2100
+ * @private
2101
+ * @param {Object} set The set to convert.
2102
+ * @returns {Array} Returns the values.
2103
+ */
831
2104
  function setToArray(set) {
832
- var index = -1, result = Array(set.size);
833
- set.forEach(function(value) {
834
- result[++index] = value;
835
- });
836
- return result;
837
- }
2105
+ var index = -1, result = Array(set.size);
2106
+ set.forEach(function(value) {
2107
+ result[++index] = value;
2108
+ });
2109
+ return result;
2110
+ }
2111
+ //#endregion
2112
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
2113
+ /** Used to compose bitmasks for value comparisons. */
838
2114
  var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
2115
+ /** `Object#toString` result references. */
839
2116
  var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
840
2117
  var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
841
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2118
+ /** Used to convert symbols to primitives and strings. */
2119
+ var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2120
+ /**
2121
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
2122
+ * the same `toStringTag`.
2123
+ *
2124
+ * **Note:** This function only supports comparing values with tags of
2125
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
2126
+ *
2127
+ * @private
2128
+ * @param {Object} object The object to compare.
2129
+ * @param {Object} other The other object to compare.
2130
+ * @param {string} tag The `toStringTag` of the objects to compare.
2131
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2132
+ * @param {Function} customizer The function to customize comparisons.
2133
+ * @param {Function} equalFunc The function to determine equivalents of values.
2134
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2135
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2136
+ */
842
2137
  function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
843
- switch (tag) {
844
- case dataViewTag:
845
- if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
846
- return false;
847
- }
848
- object = object.buffer;
849
- other = other.buffer;
850
- case arrayBufferTag:
851
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
852
- return false;
853
- }
854
- return true;
855
- case boolTag:
856
- case dateTag:
857
- case numberTag:
858
- return eq(+object, +other);
859
- case errorTag:
860
- return object.name == other.name && object.message == other.message;
861
- case regexpTag:
862
- case stringTag:
863
- return object == other + "";
864
- case mapTag:
865
- var convert = mapToArray;
866
- case setTag:
867
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
868
- convert || (convert = setToArray);
869
- if (object.size != other.size && !isPartial) {
870
- return false;
871
- }
872
- var stacked = stack.get(object);
873
- if (stacked) {
874
- return stacked == other;
875
- }
876
- bitmask |= COMPARE_UNORDERED_FLAG$2;
877
- stack.set(object, other);
878
- var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
879
- stack["delete"](object);
880
- return result;
881
- case symbolTag:
882
- if (symbolValueOf) {
883
- return symbolValueOf.call(object) == symbolValueOf.call(other);
884
- }
885
- }
886
- return false;
887
- }
2138
+ switch (tag) {
2139
+ case dataViewTag:
2140
+ if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) return false;
2141
+ object = object.buffer;
2142
+ other = other.buffer;
2143
+ case arrayBufferTag:
2144
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) return false;
2145
+ return true;
2146
+ case boolTag:
2147
+ case dateTag:
2148
+ case numberTag: return eq(+object, +other);
2149
+ case errorTag: return object.name == other.name && object.message == other.message;
2150
+ case regexpTag:
2151
+ case stringTag: return object == other + "";
2152
+ case mapTag: var convert = mapToArray;
2153
+ case setTag:
2154
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
2155
+ convert || (convert = setToArray);
2156
+ if (object.size != other.size && !isPartial) return false;
2157
+ var stacked = stack.get(object);
2158
+ if (stacked) return stacked == other;
2159
+ bitmask |= COMPARE_UNORDERED_FLAG$2;
2160
+ stack.set(object, other);
2161
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
2162
+ stack["delete"](object);
2163
+ return result;
2164
+ case symbolTag: if (symbolValueOf) return symbolValueOf.call(object) == symbolValueOf.call(other);
2165
+ }
2166
+ return false;
2167
+ }
2168
+ //#endregion
2169
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
2170
+ /** Used to compose bitmasks for value comparisons. */
888
2171
  var COMPARE_PARTIAL_FLAG$3 = 1;
889
- var objectProto$1 = Object.prototype;
890
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2172
+ /** Used to check objects for own properties. */
2173
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
2174
+ /**
2175
+ * A specialized version of `baseIsEqualDeep` for objects with support for
2176
+ * partial deep comparisons.
2177
+ *
2178
+ * @private
2179
+ * @param {Object} object The object to compare.
2180
+ * @param {Object} other The other object to compare.
2181
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2182
+ * @param {Function} customizer The function to customize comparisons.
2183
+ * @param {Function} equalFunc The function to determine equivalents of values.
2184
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2185
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2186
+ */
891
2187
  function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
892
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
893
- if (objLength != othLength && !isPartial) {
894
- return false;
895
- }
896
- var index = objLength;
897
- while (index--) {
898
- var key = objProps[index];
899
- if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
900
- return false;
901
- }
902
- }
903
- var objStacked = stack.get(object);
904
- var othStacked = stack.get(other);
905
- if (objStacked && othStacked) {
906
- return objStacked == other && othStacked == object;
907
- }
908
- var result = true;
909
- stack.set(object, other);
910
- stack.set(other, object);
911
- var skipCtor = isPartial;
912
- while (++index < objLength) {
913
- key = objProps[index];
914
- var objValue = object[key], othValue = other[key];
915
- if (customizer) {
916
- var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
917
- }
918
- if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
919
- result = false;
920
- break;
921
- }
922
- skipCtor || (skipCtor = key == "constructor");
923
- }
924
- if (result && !skipCtor) {
925
- var objCtor = object.constructor, othCtor = other.constructor;
926
- if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
927
- result = false;
928
- }
929
- }
930
- stack["delete"](object);
931
- stack["delete"](other);
932
- return result;
933
- }
2188
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length;
2189
+ if (objLength != getAllKeys(other).length && !isPartial) return false;
2190
+ var index = objLength;
2191
+ while (index--) {
2192
+ var key = objProps[index];
2193
+ if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) return false;
2194
+ }
2195
+ var objStacked = stack.get(object);
2196
+ var othStacked = stack.get(other);
2197
+ if (objStacked && othStacked) return objStacked == other && othStacked == object;
2198
+ var result = true;
2199
+ stack.set(object, other);
2200
+ stack.set(other, object);
2201
+ var skipCtor = isPartial;
2202
+ while (++index < objLength) {
2203
+ key = objProps[index];
2204
+ var objValue = object[key], othValue = other[key];
2205
+ if (customizer) var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
2206
+ if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
2207
+ result = false;
2208
+ break;
2209
+ }
2210
+ skipCtor || (skipCtor = key == "constructor");
2211
+ }
2212
+ if (result && !skipCtor) {
2213
+ var objCtor = object.constructor, othCtor = other.constructor;
2214
+ if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) result = false;
2215
+ }
2216
+ stack["delete"](object);
2217
+ stack["delete"](other);
2218
+ return result;
2219
+ }
2220
+ //#endregion
2221
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
2222
+ /** Used to compose bitmasks for value comparisons. */
934
2223
  var COMPARE_PARTIAL_FLAG$2 = 1;
2224
+ /** `Object#toString` result references. */
935
2225
  var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
936
- var objectProto = Object.prototype;
937
- var hasOwnProperty = objectProto.hasOwnProperty;
2226
+ /** Used to check objects for own properties. */
2227
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
2228
+ /**
2229
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
2230
+ * deep comparisons and tracks traversed objects enabling objects with circular
2231
+ * references to be compared.
2232
+ *
2233
+ * @private
2234
+ * @param {Object} object The object to compare.
2235
+ * @param {Object} other The other object to compare.
2236
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2237
+ * @param {Function} customizer The function to customize comparisons.
2238
+ * @param {Function} equalFunc The function to determine equivalents of values.
2239
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2240
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2241
+ */
938
2242
  function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
939
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
940
- objTag = objTag == argsTag ? objectTag : objTag;
941
- othTag = othTag == argsTag ? objectTag : othTag;
942
- var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
943
- if (isSameTag && isBuffer(object)) {
944
- if (!isBuffer(other)) {
945
- return false;
946
- }
947
- objIsArr = true;
948
- objIsObj = false;
949
- }
950
- if (isSameTag && !objIsObj) {
951
- stack || (stack = new Stack());
952
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
953
- }
954
- if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
955
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
956
- if (objIsWrapped || othIsWrapped) {
957
- var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
958
- stack || (stack = new Stack());
959
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
960
- }
961
- }
962
- if (!isSameTag) {
963
- return false;
964
- }
965
- stack || (stack = new Stack());
966
- return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
967
- }
2243
+ var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : _getTag_default(object), othTag = othIsArr ? arrayTag : _getTag_default(other);
2244
+ objTag = objTag == argsTag ? objectTag : objTag;
2245
+ othTag = othTag == argsTag ? objectTag : othTag;
2246
+ var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
2247
+ if (isSameTag && isBuffer(object)) {
2248
+ if (!isBuffer(other)) return false;
2249
+ objIsArr = true;
2250
+ objIsObj = false;
2251
+ }
2252
+ if (isSameTag && !objIsObj) {
2253
+ stack || (stack = new Stack());
2254
+ return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2255
+ }
2256
+ if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
2257
+ var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
2258
+ if (objIsWrapped || othIsWrapped) {
2259
+ var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
2260
+ stack || (stack = new Stack());
2261
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2262
+ }
2263
+ }
2264
+ if (!isSameTag) return false;
2265
+ stack || (stack = new Stack());
2266
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2267
+ }
2268
+ //#endregion
2269
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
2270
+ /**
2271
+ * The base implementation of `_.isEqual` which supports partial comparisons
2272
+ * and tracks traversed objects.
2273
+ *
2274
+ * @private
2275
+ * @param {*} value The value to compare.
2276
+ * @param {*} other The other value to compare.
2277
+ * @param {boolean} bitmask The bitmask flags.
2278
+ * 1 - Unordered comparison
2279
+ * 2 - Partial comparison
2280
+ * @param {Function} [customizer] The function to customize comparisons.
2281
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2282
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2283
+ */
968
2284
  function baseIsEqual(value, other, bitmask, customizer, stack) {
969
- if (value === other) {
970
- return true;
971
- }
972
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
973
- return value !== value && other !== other;
974
- }
975
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
2285
+ if (value === other) return true;
2286
+ if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) return value !== value && other !== other;
2287
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
976
2288
  }
2289
+ //#endregion
2290
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2291
+ /** Used to compose bitmasks for value comparisons. */
977
2292
  var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2293
+ /**
2294
+ * The base implementation of `_.isMatch` without support for iteratee shorthands.
2295
+ *
2296
+ * @private
2297
+ * @param {Object} object The object to inspect.
2298
+ * @param {Object} source The object of property values to match.
2299
+ * @param {Array} matchData The property names, values, and compare flags to match.
2300
+ * @param {Function} [customizer] The function to customize comparisons.
2301
+ * @returns {boolean} Returns `true` if `object` is a match, else `false`.
2302
+ */
978
2303
  function baseIsMatch(object, source, matchData, customizer) {
979
- var index = matchData.length, length = index;
980
- if (object == null) {
981
- return !length;
982
- }
983
- object = Object(object);
984
- while (index--) {
985
- var data = matchData[index];
986
- if (data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
987
- return false;
988
- }
989
- }
990
- while (++index < length) {
991
- data = matchData[index];
992
- var key = data[0], objValue = object[key], srcValue = data[1];
993
- if (data[2]) {
994
- if (objValue === void 0 && !(key in object)) {
995
- return false;
996
- }
997
- } else {
998
- var stack = new Stack();
999
- var result;
1000
- if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) {
1001
- return false;
1002
- }
1003
- }
1004
- }
1005
- return true;
1006
- }
2304
+ var index = matchData.length, length = index, noCustomizer = !customizer;
2305
+ if (object == null) return !length;
2306
+ object = Object(object);
2307
+ while (index--) {
2308
+ var data = matchData[index];
2309
+ if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) return false;
2310
+ }
2311
+ while (++index < length) {
2312
+ data = matchData[index];
2313
+ var key = data[0], objValue = object[key], srcValue = data[1];
2314
+ if (noCustomizer && data[2]) {
2315
+ if (objValue === void 0 && !(key in object)) return false;
2316
+ } else {
2317
+ var stack = new Stack();
2318
+ if (customizer) var result = customizer(objValue, srcValue, key, object, source, stack);
2319
+ if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) return false;
2320
+ }
2321
+ }
2322
+ return true;
2323
+ }
2324
+ //#endregion
2325
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
2326
+ /**
2327
+ * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
2328
+ *
2329
+ * @private
2330
+ * @param {*} value The value to check.
2331
+ * @returns {boolean} Returns `true` if `value` if suitable for strict
2332
+ * equality comparisons, else `false`.
2333
+ */
1007
2334
  function isStrictComparable(value) {
1008
- return value === value && !isObject(value);
1009
- }
2335
+ return value === value && !isObject(value);
2336
+ }
2337
+ //#endregion
2338
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
2339
+ /**
2340
+ * Gets the property names, values, and compare flags of `object`.
2341
+ *
2342
+ * @private
2343
+ * @param {Object} object The object to query.
2344
+ * @returns {Array} Returns the match data of `object`.
2345
+ */
1010
2346
  function getMatchData(object) {
1011
- var result = keys(object), length = result.length;
1012
- while (length--) {
1013
- var key = result[length], value = object[key];
1014
- result[length] = [key, value, isStrictComparable(value)];
1015
- }
1016
- return result;
1017
- }
2347
+ var result = keys(object), length = result.length;
2348
+ while (length--) {
2349
+ var key = result[length], value = object[key];
2350
+ result[length] = [
2351
+ key,
2352
+ value,
2353
+ isStrictComparable(value)
2354
+ ];
2355
+ }
2356
+ return result;
2357
+ }
2358
+ //#endregion
2359
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
2360
+ /**
2361
+ * A specialized version of `matchesProperty` for source values suitable
2362
+ * for strict equality comparisons, i.e. `===`.
2363
+ *
2364
+ * @private
2365
+ * @param {string} key The key of the property to get.
2366
+ * @param {*} srcValue The value to match.
2367
+ * @returns {Function} Returns the new spec function.
2368
+ */
1018
2369
  function matchesStrictComparable(key, srcValue) {
1019
- return function(object) {
1020
- if (object == null) {
1021
- return false;
1022
- }
1023
- return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
1024
- };
1025
- }
2370
+ return function(object) {
2371
+ if (object == null) return false;
2372
+ return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
2373
+ };
2374
+ }
2375
+ //#endregion
2376
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
2377
+ /**
2378
+ * The base implementation of `_.matches` which doesn't clone `source`.
2379
+ *
2380
+ * @private
2381
+ * @param {Object} source The object of property values to match.
2382
+ * @returns {Function} Returns the new spec function.
2383
+ */
1026
2384
  function baseMatches(source) {
1027
- var matchData = getMatchData(source);
1028
- if (matchData.length == 1 && matchData[0][2]) {
1029
- return matchesStrictComparable(matchData[0][0], matchData[0][1]);
1030
- }
1031
- return function(object) {
1032
- return object === source || baseIsMatch(object, source, matchData);
1033
- };
1034
- }
2385
+ var matchData = getMatchData(source);
2386
+ if (matchData.length == 1 && matchData[0][2]) return matchesStrictComparable(matchData[0][0], matchData[0][1]);
2387
+ return function(object) {
2388
+ return object === source || baseIsMatch(object, source, matchData);
2389
+ };
2390
+ }
2391
+ //#endregion
2392
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
2393
+ /**
2394
+ * The base implementation of `_.hasIn` without support for deep paths.
2395
+ *
2396
+ * @private
2397
+ * @param {Object} [object] The object to query.
2398
+ * @param {Array|string} key The key to check.
2399
+ * @returns {boolean} Returns `true` if `key` exists, else `false`.
2400
+ */
1035
2401
  function baseHasIn(object, key) {
1036
- return object != null && key in Object(object);
1037
- }
2402
+ return object != null && key in Object(object);
2403
+ }
2404
+ //#endregion
2405
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
2406
+ /**
2407
+ * Checks if `path` exists on `object`.
2408
+ *
2409
+ * @private
2410
+ * @param {Object} object The object to query.
2411
+ * @param {Array|string} path The path to check.
2412
+ * @param {Function} hasFunc The function to check properties.
2413
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2414
+ */
1038
2415
  function hasPath(object, path, hasFunc) {
1039
- path = castPath(path, object);
1040
- var index = -1, length = path.length, result = false;
1041
- while (++index < length) {
1042
- var key = toKey(path[index]);
1043
- if (!(result = object != null && hasFunc(object, key))) {
1044
- break;
1045
- }
1046
- object = object[key];
1047
- }
1048
- if (result || ++index != length) {
1049
- return result;
1050
- }
1051
- length = object == null ? 0 : object.length;
1052
- return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
1053
- }
2416
+ path = castPath(path, object);
2417
+ var index = -1, length = path.length, result = false;
2418
+ while (++index < length) {
2419
+ var key = toKey(path[index]);
2420
+ if (!(result = object != null && hasFunc(object, key))) break;
2421
+ object = object[key];
2422
+ }
2423
+ if (result || ++index != length) return result;
2424
+ length = object == null ? 0 : object.length;
2425
+ return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
2426
+ }
2427
+ //#endregion
2428
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
2429
+ /**
2430
+ * Checks if `path` is a direct or inherited property of `object`.
2431
+ *
2432
+ * @static
2433
+ * @memberOf _
2434
+ * @since 4.0.0
2435
+ * @category Object
2436
+ * @param {Object} object The object to query.
2437
+ * @param {Array|string} path The path to check.
2438
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2439
+ * @example
2440
+ *
2441
+ * var object = _.create({ 'a': _.create({ 'b': 2 }) });
2442
+ *
2443
+ * _.hasIn(object, 'a');
2444
+ * // => true
2445
+ *
2446
+ * _.hasIn(object, 'a.b');
2447
+ * // => true
2448
+ *
2449
+ * _.hasIn(object, ['a', 'b']);
2450
+ * // => true
2451
+ *
2452
+ * _.hasIn(object, 'b');
2453
+ * // => false
2454
+ */
1054
2455
  function hasIn(object, path) {
1055
- return object != null && hasPath(object, path, baseHasIn);
2456
+ return object != null && hasPath(object, path, baseHasIn);
1056
2457
  }
2458
+ //#endregion
2459
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2460
+ /** Used to compose bitmasks for value comparisons. */
1057
2461
  var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
2462
+ /**
2463
+ * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2464
+ *
2465
+ * @private
2466
+ * @param {string} path The path of the property to get.
2467
+ * @param {*} srcValue The value to match.
2468
+ * @returns {Function} Returns the new spec function.
2469
+ */
1058
2470
  function baseMatchesProperty(path, srcValue) {
1059
- if (isKey(path) && isStrictComparable(srcValue)) {
1060
- return matchesStrictComparable(toKey(path), srcValue);
1061
- }
1062
- return function(object) {
1063
- var objValue = get(object, path);
1064
- return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
1065
- };
1066
- }
2471
+ if (isKey(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey(path), srcValue);
2472
+ return function(object) {
2473
+ var objValue = get(object, path);
2474
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
2475
+ };
2476
+ }
2477
+ //#endregion
2478
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
2479
+ /**
2480
+ * The base implementation of `_.property` without support for deep paths.
2481
+ *
2482
+ * @private
2483
+ * @param {string} key The key of the property to get.
2484
+ * @returns {Function} Returns the new accessor function.
2485
+ */
1067
2486
  function baseProperty(key) {
1068
- return function(object) {
1069
- return object == null ? void 0 : object[key];
1070
- };
1071
- }
2487
+ return function(object) {
2488
+ return object == null ? void 0 : object[key];
2489
+ };
2490
+ }
2491
+ //#endregion
2492
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
2493
+ /**
2494
+ * A specialized version of `baseProperty` which supports deep paths.
2495
+ *
2496
+ * @private
2497
+ * @param {Array|string} path The path of the property to get.
2498
+ * @returns {Function} Returns the new accessor function.
2499
+ */
1072
2500
  function basePropertyDeep(path) {
1073
- return function(object) {
1074
- return baseGet(object, path);
1075
- };
1076
- }
2501
+ return function(object) {
2502
+ return baseGet(object, path);
2503
+ };
2504
+ }
2505
+ //#endregion
2506
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
2507
+ /**
2508
+ * Creates a function that returns the value at `path` of a given object.
2509
+ *
2510
+ * @static
2511
+ * @memberOf _
2512
+ * @since 2.4.0
2513
+ * @category Util
2514
+ * @param {Array|string} path The path of the property to get.
2515
+ * @returns {Function} Returns the new accessor function.
2516
+ * @example
2517
+ *
2518
+ * var objects = [
2519
+ * { 'a': { 'b': 2 } },
2520
+ * { 'a': { 'b': 1 } }
2521
+ * ];
2522
+ *
2523
+ * _.map(objects, _.property('a.b'));
2524
+ * // => [2, 1]
2525
+ *
2526
+ * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
2527
+ * // => [1, 2]
2528
+ */
1077
2529
  function property(path) {
1078
- return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
1079
- }
2530
+ return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
2531
+ }
2532
+ //#endregion
2533
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
2534
+ /**
2535
+ * The base implementation of `_.iteratee`.
2536
+ *
2537
+ * @private
2538
+ * @param {*} [value=_.identity] The value to convert to an iteratee.
2539
+ * @returns {Function} Returns the iteratee.
2540
+ */
1080
2541
  function baseIteratee(value) {
1081
- if (typeof value == "function") {
1082
- return value;
1083
- }
1084
- if (value == null) {
1085
- return identity;
1086
- }
1087
- if (typeof value == "object") {
1088
- return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
1089
- }
1090
- return property(value);
1091
- }
2542
+ if (typeof value == "function") return value;
2543
+ if (value == null) return identity;
2544
+ if (typeof value == "object") return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
2545
+ return property(value);
2546
+ }
2547
+ //#endregion
2548
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
2549
+ /**
2550
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
2551
+ *
2552
+ * @private
2553
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2554
+ * @returns {Function} Returns the new base function.
2555
+ */
1092
2556
  function createBaseFor(fromRight) {
1093
- return function(object, iteratee, keysFunc) {
1094
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1095
- while (length--) {
1096
- var key = props[++index];
1097
- if (iteratee(iterable[key], key, iterable) === false) {
1098
- break;
1099
- }
1100
- }
1101
- return object;
1102
- };
1103
- }
2557
+ return function(object, iteratee, keysFunc) {
2558
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
2559
+ while (length--) {
2560
+ var key = props[fromRight ? length : ++index];
2561
+ if (iteratee(iterable[key], key, iterable) === false) break;
2562
+ }
2563
+ return object;
2564
+ };
2565
+ }
2566
+ //#endregion
2567
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
2568
+ /**
2569
+ * The base implementation of `baseForOwn` which iterates over `object`
2570
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
2571
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
2572
+ *
2573
+ * @private
2574
+ * @param {Object} object The object to iterate over.
2575
+ * @param {Function} iteratee The function invoked per iteration.
2576
+ * @param {Function} keysFunc The function to get the keys of `object`.
2577
+ * @returns {Object} Returns `object`.
2578
+ */
1104
2579
  var baseFor = createBaseFor();
2580
+ //#endregion
2581
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
2582
+ /**
2583
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
2584
+ *
2585
+ * @private
2586
+ * @param {Object} object The object to iterate over.
2587
+ * @param {Function} iteratee The function invoked per iteration.
2588
+ * @returns {Object} Returns `object`.
2589
+ */
1105
2590
  function baseForOwn(object, iteratee) {
1106
- return object && baseFor(object, iteratee, keys);
1107
- }
2591
+ return object && baseFor(object, iteratee, keys);
2592
+ }
2593
+ //#endregion
2594
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
2595
+ /**
2596
+ * Creates a `baseEach` or `baseEachRight` function.
2597
+ *
2598
+ * @private
2599
+ * @param {Function} eachFunc The function to iterate over a collection.
2600
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2601
+ * @returns {Function} Returns the new base function.
2602
+ */
1108
2603
  function createBaseEach(eachFunc, fromRight) {
1109
- return function(collection, iteratee) {
1110
- if (collection == null) {
1111
- return collection;
1112
- }
1113
- if (!isArrayLike(collection)) {
1114
- return eachFunc(collection, iteratee);
1115
- }
1116
- var length = collection.length, index = -1, iterable = Object(collection);
1117
- while (++index < length) {
1118
- if (iteratee(iterable[index], index, iterable) === false) {
1119
- break;
1120
- }
1121
- }
1122
- return collection;
1123
- };
1124
- }
2604
+ return function(collection, iteratee) {
2605
+ if (collection == null) return collection;
2606
+ if (!isArrayLike(collection)) return eachFunc(collection, iteratee);
2607
+ var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
2608
+ while (fromRight ? index-- : ++index < length) if (iteratee(iterable[index], index, iterable) === false) break;
2609
+ return collection;
2610
+ };
2611
+ }
2612
+ //#endregion
2613
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
2614
+ /**
2615
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
2616
+ *
2617
+ * @private
2618
+ * @param {Array|Object} collection The collection to iterate over.
2619
+ * @param {Function} iteratee The function invoked per iteration.
2620
+ * @returns {Array|Object} Returns `collection`.
2621
+ */
1125
2622
  var baseEach = createBaseEach(baseForOwn);
2623
+ //#endregion
2624
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castFunction.js
2625
+ /**
2626
+ * Casts `value` to `identity` if it's not a function.
2627
+ *
2628
+ * @private
2629
+ * @param {*} value The value to inspect.
2630
+ * @returns {Function} Returns cast function.
2631
+ */
1126
2632
  function castFunction(value) {
1127
- return typeof value == "function" ? value : identity;
1128
- }
1129
- function createFind(findIndexFunc) {
1130
- return function(collection, predicate, fromIndex) {
1131
- var iterable = Object(collection);
1132
- if (!isArrayLike(collection)) {
1133
- var iteratee = baseIteratee(predicate);
1134
- collection = keys(collection);
1135
- predicate = function(key) {
1136
- return iteratee(iterable[key], key, iterable);
1137
- };
1138
- }
1139
- var index = findIndexFunc(collection, predicate, fromIndex);
1140
- return index > -1 ? iterable[iteratee ? collection[index] : index] : void 0;
1141
- };
1142
- }
1143
- var nativeMax = Math.max;
1144
- function findIndex(array, predicate, fromIndex) {
1145
- var length = array == null ? 0 : array.length;
1146
- if (!length) {
1147
- return -1;
1148
- }
1149
- var index = fromIndex == null ? 0 : toInteger(fromIndex);
1150
- if (index < 0) {
1151
- index = nativeMax(length + index, 0);
1152
- }
1153
- return baseFindIndex(array, baseIteratee(predicate), index);
1154
- }
1155
- var find = createFind(findIndex);
2633
+ return typeof value == "function" ? value : identity;
2634
+ }
2635
+ //#endregion
2636
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js
2637
+ /**
2638
+ * The base implementation of `_.map` without support for iteratee shorthands.
2639
+ *
2640
+ * @private
2641
+ * @param {Array|Object} collection The collection to iterate over.
2642
+ * @param {Function} iteratee The function invoked per iteration.
2643
+ * @returns {Array} Returns the new mapped array.
2644
+ */
1156
2645
  function baseMap(collection, iteratee) {
1157
- var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
1158
- baseEach(collection, function(value, key, collection2) {
1159
- result[++index] = iteratee(value, key, collection2);
1160
- });
1161
- return result;
1162
- }
2646
+ var index = -1, result = isArrayLike(collection) ? Array(collection.length) : [];
2647
+ baseEach(collection, function(value, key, collection) {
2648
+ result[++index] = iteratee(value, key, collection);
2649
+ });
2650
+ return result;
2651
+ }
2652
+ //#endregion
2653
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSortBy.js
2654
+ /**
2655
+ * The base implementation of `_.sortBy` which uses `comparer` to define the
2656
+ * sort order of `array` and replaces criteria objects with their corresponding
2657
+ * values.
2658
+ *
2659
+ * @private
2660
+ * @param {Array} array The array to sort.
2661
+ * @param {Function} comparer The function to define sort order.
2662
+ * @returns {Array} Returns `array`.
2663
+ */
1163
2664
  function baseSortBy(array, comparer) {
1164
- var length = array.length;
1165
- array.sort(comparer);
1166
- while (length--) {
1167
- array[length] = array[length].value;
1168
- }
1169
- return array;
1170
- }
2665
+ var length = array.length;
2666
+ array.sort(comparer);
2667
+ while (length--) array[length] = array[length].value;
2668
+ return array;
2669
+ }
2670
+ //#endregion
2671
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareAscending.js
2672
+ /**
2673
+ * Compares values to sort them in ascending order.
2674
+ *
2675
+ * @private
2676
+ * @param {*} value The value to compare.
2677
+ * @param {*} other The other value to compare.
2678
+ * @returns {number} Returns the sort order indicator for `value`.
2679
+ */
1171
2680
  function compareAscending(value, other) {
1172
- if (value !== other) {
1173
- var valIsDefined = value !== void 0, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
1174
- var othIsDefined = other !== void 0, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
1175
- if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) {
1176
- return 1;
1177
- }
1178
- if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) {
1179
- return -1;
1180
- }
1181
- }
1182
- return 0;
1183
- }
2681
+ if (value !== other) {
2682
+ var valIsDefined = value !== void 0, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
2683
+ var othIsDefined = other !== void 0, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
2684
+ if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) return 1;
2685
+ if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) return -1;
2686
+ }
2687
+ return 0;
2688
+ }
2689
+ //#endregion
2690
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_compareMultiple.js
2691
+ /**
2692
+ * Used by `_.orderBy` to compare multiple properties of a value to another
2693
+ * and stable sort them.
2694
+ *
2695
+ * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
2696
+ * specify an order of "desc" for descending or "asc" for ascending sort order
2697
+ * of corresponding values.
2698
+ *
2699
+ * @private
2700
+ * @param {Object} object The object to compare.
2701
+ * @param {Object} other The other object to compare.
2702
+ * @param {boolean[]|string[]} orders The order to sort by for each property.
2703
+ * @returns {number} Returns the sort order indicator for `object`.
2704
+ */
1184
2705
  function compareMultiple(object, other, orders) {
1185
- var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
1186
- while (++index < length) {
1187
- var result = compareAscending(objCriteria[index], othCriteria[index]);
1188
- if (result) {
1189
- if (index >= ordersLength) {
1190
- return result;
1191
- }
1192
- var order = orders[index];
1193
- return result * (order == "desc" ? -1 : 1);
1194
- }
1195
- }
1196
- return object.index - other.index;
1197
- }
2706
+ var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
2707
+ while (++index < length) {
2708
+ var result = compareAscending(objCriteria[index], othCriteria[index]);
2709
+ if (result) {
2710
+ if (index >= ordersLength) return result;
2711
+ return result * (orders[index] == "desc" ? -1 : 1);
2712
+ }
2713
+ }
2714
+ return object.index - other.index;
2715
+ }
2716
+ //#endregion
2717
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseOrderBy.js
2718
+ /**
2719
+ * The base implementation of `_.orderBy` without param guards.
2720
+ *
2721
+ * @private
2722
+ * @param {Array|Object} collection The collection to iterate over.
2723
+ * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.
2724
+ * @param {string[]} orders The sort orders of `iteratees`.
2725
+ * @returns {Array} Returns the new sorted array.
2726
+ */
1198
2727
  function baseOrderBy(collection, iteratees, orders) {
1199
- if (iteratees.length) {
1200
- iteratees = arrayMap(iteratees, function(iteratee) {
1201
- if (isArray(iteratee)) {
1202
- return function(value) {
1203
- return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
1204
- };
1205
- }
1206
- return iteratee;
1207
- });
1208
- } else {
1209
- iteratees = [identity];
1210
- }
1211
- var index = -1;
1212
- iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
1213
- var result = baseMap(collection, function(value, key, collection2) {
1214
- var criteria = arrayMap(iteratees, function(iteratee) {
1215
- return iteratee(value);
1216
- });
1217
- return { "criteria": criteria, "index": ++index, "value": value };
1218
- });
1219
- return baseSortBy(result, function(object, other) {
1220
- return compareMultiple(object, other, orders);
1221
- });
1222
- }
2728
+ if (iteratees.length) iteratees = arrayMap(iteratees, function(iteratee) {
2729
+ if (isArray(iteratee)) return function(value) {
2730
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
2731
+ };
2732
+ return iteratee;
2733
+ });
2734
+ else iteratees = [identity];
2735
+ var index = -1;
2736
+ iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
2737
+ return baseSortBy(baseMap(collection, function(value, key, collection) {
2738
+ return {
2739
+ "criteria": arrayMap(iteratees, function(iteratee) {
2740
+ return iteratee(value);
2741
+ }),
2742
+ "index": ++index,
2743
+ "value": value
2744
+ };
2745
+ }), function(object, other) {
2746
+ return compareMultiple(object, other, orders);
2747
+ });
2748
+ }
2749
+ //#endregion
2750
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/sortBy.js
2751
+ /**
2752
+ * Creates an array of elements, sorted in ascending order by the results of
2753
+ * running each element in a collection thru each iteratee. This method
2754
+ * performs a stable sort, that is, it preserves the original sort order of
2755
+ * equal elements. The iteratees are invoked with one argument: (value).
2756
+ *
2757
+ * @static
2758
+ * @memberOf _
2759
+ * @since 0.1.0
2760
+ * @category Collection
2761
+ * @param {Array|Object} collection The collection to iterate over.
2762
+ * @param {...(Function|Function[])} [iteratees=[_.identity]]
2763
+ * The iteratees to sort by.
2764
+ * @returns {Array} Returns the new sorted array.
2765
+ * @example
2766
+ *
2767
+ * var users = [
2768
+ * { 'user': 'fred', 'age': 48 },
2769
+ * { 'user': 'barney', 'age': 36 },
2770
+ * { 'user': 'fred', 'age': 30 },
2771
+ * { 'user': 'barney', 'age': 34 }
2772
+ * ];
2773
+ *
2774
+ * _.sortBy(users, [function(o) { return o.user; }]);
2775
+ * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]
2776
+ *
2777
+ * _.sortBy(users, ['user', 'age']);
2778
+ * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]
2779
+ */
1223
2780
  var sortBy = baseRest(function(collection, iteratees) {
1224
- if (collection == null) {
1225
- return [];
1226
- }
1227
- var length = iteratees.length;
1228
- if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
1229
- iteratees = [];
1230
- } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
1231
- iteratees = [iteratees[0]];
1232
- }
1233
- return baseOrderBy(collection, baseFlatten(iteratees), []);
2781
+ if (collection == null) return [];
2782
+ var length = iteratees.length;
2783
+ if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) iteratees = [];
2784
+ else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) iteratees = [iteratees[0]];
2785
+ return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
1234
2786
  });
2787
+ //#endregion
2788
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/times.js
2789
+ /** Used as references for various `Number` constants. */
1235
2790
  var MAX_SAFE_INTEGER = 9007199254740991;
2791
+ /** Used as references for the maximum length and index of an array. */
1236
2792
  var MAX_ARRAY_LENGTH = 4294967295;
1237
2793
  var nativeMin = Math.min;
2794
+ /**
2795
+ * Invokes the iteratee `n` times, returning an array of the results of
2796
+ * each invocation. The iteratee is invoked with one argument; (index).
2797
+ *
2798
+ * @static
2799
+ * @since 0.1.0
2800
+ * @memberOf _
2801
+ * @category Util
2802
+ * @param {number} n The number of times to invoke `iteratee`.
2803
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2804
+ * @returns {Array} Returns the array of results.
2805
+ * @example
2806
+ *
2807
+ * _.times(3, String);
2808
+ * // => ['0', '1', '2']
2809
+ *
2810
+ * _.times(4, _.constant(0));
2811
+ * // => [0, 0, 0, 0]
2812
+ */
1238
2813
  function times(n, iteratee) {
1239
- n = toInteger(n);
1240
- if (n < 1 || n > MAX_SAFE_INTEGER) {
1241
- return [];
1242
- }
1243
- var index = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH);
1244
- iteratee = castFunction(iteratee);
1245
- n -= MAX_ARRAY_LENGTH;
1246
- var result = baseTimes(length, iteratee);
1247
- while (++index < n) {
1248
- iteratee(index);
1249
- }
1250
- return result;
1251
- }
1252
- const byteToHex = [];
1253
- for (let i = 0; i < 256; ++i) {
1254
- byteToHex.push((i + 256).toString(16).slice(1));
1255
- }
2814
+ n = toInteger(n);
2815
+ if (n < 1 || n > MAX_SAFE_INTEGER) return [];
2816
+ var index = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH);
2817
+ iteratee = castFunction(iteratee);
2818
+ n -= MAX_ARRAY_LENGTH;
2819
+ var result = baseTimes(length, iteratee);
2820
+ while (++index < n) iteratee(index);
2821
+ return result;
2822
+ }
2823
+ //#endregion
2824
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/stringify.js
2825
+ var byteToHex = [];
2826
+ for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
1256
2827
  function unsafeStringify(arr, offset = 0) {
1257
- return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
2828
+ return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
1258
2829
  }
1259
- let getRandomValues;
1260
- const rnds8 = new Uint8Array(16);
2830
+ //#endregion
2831
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
2832
+ var rnds8 = new Uint8Array(16);
1261
2833
  function rng() {
1262
- if (!getRandomValues) {
1263
- if (typeof crypto === "undefined" || !crypto.getRandomValues) {
1264
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1265
- }
1266
- getRandomValues = crypto.getRandomValues.bind(crypto);
1267
- }
1268
- return getRandomValues(rnds8);
2834
+ return crypto.getRandomValues(rnds8);
1269
2835
  }
1270
- const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
1271
- const native = { randomUUID };
2836
+ //#endregion
2837
+ //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
1272
2838
  function v4(options, buf, offset) {
1273
- if (native.randomUUID && true && !options) {
1274
- return native.randomUUID();
1275
- }
1276
- options = options || {};
1277
- const rnds = options.random ?? options.rng?.() ?? rng();
1278
- if (rnds.length < 16) {
1279
- throw new Error("Random bytes length must be >= 16");
1280
- }
1281
- rnds[6] = rnds[6] & 15 | 64;
1282
- rnds[8] = rnds[8] & 63 | 128;
1283
- return unsafeStringify(rnds);
1284
- }
1285
- var __defProp = Object.defineProperty;
1286
- var __export = (target, all) => {
1287
- for (var name2 in all)
1288
- __defProp(target, name2, { get: all[name2], enumerable: true });
1289
- };
1290
- var utils_exports = {};
1291
- __export(utils_exports, {
1292
- addCell: () => addCell,
1293
- addEmbed: () => addEmbed,
1294
- removeCell: () => removeCell,
1295
- removeEmbed: () => removeEmbed
1296
- });
2839
+ if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
2840
+ return _v4(options, buf, offset);
2841
+ }
2842
+ function _v4(options, buf, offset) {
2843
+ options = options || {};
2844
+ const rnds = options.random ?? options.rng?.() ?? rng();
2845
+ if (rnds.length < 16) throw new Error("Random bytes length must be >= 16");
2846
+ rnds[6] = rnds[6] & 15 | 64;
2847
+ rnds[8] = rnds[8] & 63 | 128;
2848
+ if (buf) {
2849
+ offset = offset || 0;
2850
+ if (offset < 0 || offset + 16 > buf.length) throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);
2851
+ for (let i = 0; i < 16; ++i) buf[offset + i] = rnds[i];
2852
+ return buf;
2853
+ }
2854
+ return unsafeStringify(rnds);
2855
+ }
2856
+ //#endregion
2857
+ //#region ../manifest/dist/index.mjs
1297
2858
  function addCell(row, cell) {
1298
- if (!row.cells) row.cells = {};
1299
- row.cells[cell.id] = cell;
1300
- return cell;
1301
- }
1302
- function removeCell(row, predicate = {}) {
1303
- const cell = find(row.cells, predicate);
1304
- if (!cell) return;
1305
- delete row.cells[cell.id];
1306
- return cell;
2859
+ if (!row.cells) row.cells = {};
2860
+ row.cells[cell.id] = cell;
2861
+ return cell;
1307
2862
  }
1308
2863
  function addEmbed(embeds, cellId, tableId) {
1309
- const embed = {
1310
- id: cellId,
1311
- type: "JODIT_HTML",
1312
- embedded: true,
1313
- data: { tableId, cellId }
1314
- };
1315
- embeds[cellId] = embed;
1316
- return embed;
1317
- }
1318
- function removeEmbed(embeds, predicate = {}) {
1319
- const embed = find(embeds, predicate);
1320
- if (!embed) return;
1321
- delete embeds[embed.id];
1322
- return embed;
2864
+ const embed = {
2865
+ id: cellId,
2866
+ type: "JODIT_HTML",
2867
+ embedded: true,
2868
+ data: {
2869
+ tableId,
2870
+ cellId
2871
+ }
2872
+ };
2873
+ embeds[cellId] = embed;
2874
+ return embed;
1323
2875
  }
1324
2876
  var type = "TABLE";
1325
2877
  var name = "Table";
1326
2878
  var initState = () => {
1327
- const tableId = v4();
1328
- const embeds = {};
1329
- const rows = {};
1330
- times(2, (position) => {
1331
- const rowId = v4();
1332
- const row = { id: rowId, position, cells: {} };
1333
- rows[rowId] = row;
1334
- times(3, (position2) => {
1335
- const cellId = v4();
1336
- addCell(row, { id: cellId, position: position2, data: {} });
1337
- addEmbed(embeds, cellId, tableId);
1338
- });
1339
- });
1340
- return { tableId, embeds, rows };
2879
+ const tableId = v4();
2880
+ const embeds = {};
2881
+ const rows = {};
2882
+ times(2, (position) => {
2883
+ const rowId = v4();
2884
+ const row = {
2885
+ id: rowId,
2886
+ position,
2887
+ cells: {}
2888
+ };
2889
+ rows[rowId] = row;
2890
+ times(3, (position) => {
2891
+ const cellId = v4();
2892
+ addCell(row, {
2893
+ id: cellId,
2894
+ position,
2895
+ data: {}
2896
+ });
2897
+ addEmbed(embeds, cellId, tableId);
2898
+ });
2899
+ });
2900
+ return {
2901
+ tableId,
2902
+ embeds,
2903
+ rows
2904
+ };
1341
2905
  };
1342
2906
  var ui = {
1343
- // Display icon, https://pictogrammers.com/library/mdi/
1344
- icon: "mdi-table",
1345
- // Does element support only full width or can be used within layouts
1346
- // (e.g. 50/50 layout)
1347
- forceFullWidth: true
2907
+ icon: "mdi-table",
2908
+ forceFullWidth: true
1348
2909
  };
2910
+ var isEmpty = (data) => !data?.rows || Object.keys(data.rows).length === 0;
1349
2911
  var manifest$1 = {
1350
- type,
1351
- version: "1.0",
1352
- name,
1353
- ssr: false,
1354
- isComposite: true,
1355
- initState,
1356
- ui
2912
+ type,
2913
+ version: "1.0",
2914
+ name,
2915
+ ssr: false,
2916
+ isComposite: true,
2917
+ initState,
2918
+ isEmpty,
2919
+ ui,
2920
+ ai: {
2921
+ Schema: {
2922
+ type: "json_schema",
2923
+ name: "ce_table",
2924
+ schema: {
2925
+ type: "object",
2926
+ properties: { rows: {
2927
+ type: "array",
2928
+ minItems: 1,
2929
+ items: {
2930
+ type: "object",
2931
+ properties: { cells: {
2932
+ type: "array",
2933
+ minItems: 1,
2934
+ items: { type: "string" }
2935
+ } },
2936
+ required: ["cells"],
2937
+ additionalProperties: false
2938
+ }
2939
+ } },
2940
+ required: ["rows"],
2941
+ additionalProperties: false
2942
+ }
2943
+ },
2944
+ getPrompt: () => `
2945
+ Generate a table content element as an object with the following
2946
+ properties:
2947
+ {
2948
+ "rows": [
2949
+ { "cells": ["", ""] }
2950
+ ]
2951
+ }
2952
+ where:
2953
+ - 'rows' is an array of row objects.
2954
+ - each row has a 'cells' array of plain text strings (one per cell).
2955
+ Every row must have the same number of cells.
2956
+ `,
2957
+ processResponse: (val) => {
2958
+ const tableId = v4();
2959
+ const rows = {};
2960
+ const embeds = {};
2961
+ val.rows.forEach((row, rowPosition) => {
2962
+ const rowId = v4();
2963
+ rows[rowId] = {
2964
+ id: rowId,
2965
+ position: rowPosition,
2966
+ cells: {}
2967
+ };
2968
+ row.cells.forEach((content, cellPosition) => {
2969
+ const cellId = v4();
2970
+ addCell(rows[rowId], {
2971
+ id: cellId,
2972
+ position: cellPosition,
2973
+ data: {}
2974
+ });
2975
+ const embed = addEmbed(embeds, cellId, tableId);
2976
+ embed.data.content = content;
2977
+ });
2978
+ });
2979
+ return {
2980
+ tableId,
2981
+ rows,
2982
+ embeds
2983
+ };
2984
+ }
2985
+ }
1357
2986
  };
1358
- var index_default = manifest$1;
1359
- const _hoisted_1 = { class: "tce-table-root" };
1360
- const _hoisted_2 = { class: "table" };
1361
- const _hoisted_3 = { class: "cell col-xs-12" };
1362
- const _hoisted_4 = ["innerHTML"];
1363
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1364
- __name: "Display",
1365
- props: {
1366
- element: {},
1367
- userState: {}
1368
- },
1369
- emits: ["interaction"],
1370
- setup(__props) {
1371
- const props = __props;
1372
- const mapCell = (cell, embeds) => {
1373
- const content = get(embeds[cell.id], "data.content");
1374
- return { id: cell.id, content };
1375
- };
1376
- const mapRow = (row, embeds) => {
1377
- const cells = sortBy(row.cells, "position").map(
1378
- (cell) => mapCell(cell, embeds)
1379
- );
1380
- return { id: row.id, cells };
1381
- };
1382
- const table = vue.computed(() => {
1383
- return sortBy(props.element.data.rows, "position").map(
1384
- (row) => mapRow(row, props.element.data.embeds)
1385
- );
1386
- });
1387
- return (_ctx, _cache) => {
1388
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
1389
- vue.createElementVNode("div", _hoisted_2, [
1390
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(table.value, (row) => {
1391
- return vue.openBlock(), vue.createElementBlock("div", {
1392
- key: row.id,
1393
- class: "table-row"
1394
- }, [
1395
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(row.cells, (cell) => {
1396
- return vue.openBlock(), vue.createElementBlock("div", {
1397
- key: cell.id,
1398
- class: "table-cell"
1399
- }, [
1400
- vue.createElementVNode("div", _hoisted_3, [
1401
- vue.createElementVNode("div", {
1402
- class: "cell-content",
1403
- innerHTML: cell.content
1404
- }, null, 8, _hoisted_4)
1405
- ])
1406
- ]);
1407
- }), 128))
1408
- ]);
1409
- }), 128))
1410
- ])
1411
- ]);
1412
- };
1413
- }
2987
+ //#endregion
2988
+ //#region src/components/Display.vue?vue&type=script&setup=true&lang.ts
2989
+ var _hoisted_1 = { class: "tce-table-root" };
2990
+ var _hoisted_2 = { class: "table" };
2991
+ var _hoisted_3 = { class: "cell col-xs-12" };
2992
+ var _hoisted_4 = ["innerHTML"];
2993
+ var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
2994
+ __name: "Display",
2995
+ props: { element: {} },
2996
+ setup(__props) {
2997
+ const props = __props;
2998
+ const mapCell = (cell, embeds) => {
2999
+ const content = get(embeds[cell.id], "data.content");
3000
+ return {
3001
+ id: cell.id,
3002
+ content
3003
+ };
3004
+ };
3005
+ const mapRow = (row, embeds) => {
3006
+ const cells = sortBy(row.cells, "position").map((cell) => mapCell(cell, embeds));
3007
+ return {
3008
+ id: row.id,
3009
+ cells
3010
+ };
3011
+ };
3012
+ const table = (0, vue.computed)(() => {
3013
+ return sortBy(props.element.data.rows, "position").map((row) => mapRow(row, props.element.data.embeds));
3014
+ });
3015
+ return (_ctx, _cache) => {
3016
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createElementVNode)("div", _hoisted_2, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(table.value, (row) => {
3017
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
3018
+ key: row.id,
3019
+ class: "table-row"
3020
+ }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(row.cells, (cell) => {
3021
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
3022
+ key: cell.id,
3023
+ class: "table-cell"
3024
+ }, [(0, vue.createElementVNode)("div", _hoisted_3, [(0, vue.createElementVNode)("div", {
3025
+ class: "cell-content",
3026
+ innerHTML: cell.content
3027
+ }, null, 8, _hoisted_4)])]);
3028
+ }), 128))]);
3029
+ }), 128))])]);
3030
+ };
3031
+ }
1414
3032
  });
1415
- const _export_sfc = (sfc, props) => {
1416
- const target = sfc.__vccOpts || sfc;
1417
- for (const [key, val] of props) {
1418
- target[key] = val;
1419
- }
1420
- return target;
3033
+ //#endregion
3034
+ //#region \0plugin-vue:export-helper
3035
+ var _plugin_vue_export_helper_default = (sfc, props) => {
3036
+ const target = sfc.__vccOpts || sfc;
3037
+ for (const [key, val] of props) target[key] = val;
3038
+ return target;
1421
3039
  };
1422
- const Display = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-58ebf038"]]);
1423
- const manifest = {
1424
- ...index_default,
1425
- Display
3040
+ //#endregion
3041
+ //#region src/components/Display.vue
3042
+ var Display_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ed3d2c98"]]);
3043
+ //#endregion
3044
+ //#region src/index.ts
3045
+ var manifest = {
3046
+ ...manifest$1,
3047
+ Display: Display_default
1426
3048
  };
1427
- exports.Display = Display;
3049
+ //#endregion
3050
+ exports.Display = Display_default;
1428
3051
  exports.default = manifest;