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

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