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

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