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

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