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