@webskill/sdk 0.21.0 → 0.23.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.
Files changed (135) hide show
  1. package/dist/abnfDiagram-O67JEVCF-DtYFjfqO.js +109 -0
  2. package/dist/agent.d.ts +3 -3
  3. package/dist/agent.js +1174 -169
  4. package/dist/{approval-DwN2o2QG.js → approval-7CuZS3Z4.js} +104 -18
  5. package/dist/arc-8U_6NQWm.js +130 -0
  6. package/dist/architecture-7GRP2DOG-RTw1wpAq.js +4 -0
  7. package/dist/architectureDiagram-NJMV4G6O-XmmXrJAK.js +7473 -0
  8. package/dist/array-DQfpQNY8.js +8 -0
  9. package/dist/blockDiagram-BEXU5L5S-D4yjnCD1.js +2582 -0
  10. package/dist/browser.d.ts +455 -49
  11. package/dist/browser.js +2134 -138
  12. package/dist/c4Diagram-YGBWAQC7-BLmA_JSd.js +3668 -0
  13. package/dist/channel-CZxxLrG7.js +9 -0
  14. package/dist/chunk-2Q5K7J3B-Ck03gkFR.js +21 -0
  15. package/dist/chunk-3FUC2YCW-tr6jmbQf.js +530 -0
  16. package/dist/chunk-5DYCD2WN-Bt97YGTd.js +58 -0
  17. package/dist/chunk-5VM5RSS4-BBxa48HL.js +21 -0
  18. package/dist/chunk-6AEJRKK7-JXK89I-O.js +14 -0
  19. package/dist/chunk-742MDFTN-CPmgCGwC.js +466 -0
  20. package/dist/chunk-7INBJB4K-C9jq9o66.js +6552 -0
  21. package/dist/chunk-7M6MHVWA-BrKCWcR1.js +4894 -0
  22. package/dist/chunk-7PRAP22T-BHED6GVs.js +95 -0
  23. package/dist/chunk-DUW6YSOI-DoZj78PO.js +19 -0
  24. package/dist/chunk-FOHPRMQF-Dkbp819z.js +27189 -0
  25. package/dist/chunk-GNY47TPC-Bpvq1T49.js +87 -0
  26. package/dist/chunk-GTNCS2PH-CLmh4I2c.js +686 -0
  27. package/dist/chunk-GWA4HPMP-B6vN3fkL.js +95 -0
  28. package/dist/chunk-J5ZVWO5B-Bi_Pcobw.js +26 -0
  29. package/dist/chunk-JWPE2WC7-D1rC79GS.js +12 -0
  30. package/dist/chunk-LNGE3PJU-D5OIoe3Z.js +2582 -0
  31. package/dist/chunk-MBY4JIJT-C34L7a4f.js +2276 -0
  32. package/dist/chunk-NETBCI7D-Cg84k8N8.js +321 -0
  33. package/dist/chunk-O7XYJQB3-B6K0KOSL.js +8846 -0
  34. package/dist/chunk-UA2S7LBM-DxHM29_K.js +612 -0
  35. package/dist/chunk-WEXAMYUT-Ba6jFWhB.js +33 -0
  36. package/dist/chunk-XXDRQBXY-DPbSy4kg.js +12 -0
  37. package/dist/chunk-Y2CYZVJY-U3QOMqrW.js +15 -0
  38. package/dist/chunk-Z7XXMR3K-oLg1h8F3.js +1038 -0
  39. package/dist/chunk-ZIGJFQKS-DqEFBuHR.js +2215 -0
  40. package/dist/classDiagram-v2-NBCMYWYE-BqnOWIUt.js +3845 -0
  41. package/dist/cose-bilkent-JH36ORCC-C0dTAHVK.js +4270 -0
  42. package/dist/cynefin-OW5HDTMX-B2QvgEQj.js +4 -0
  43. package/dist/cynefinDiagram-VND7K2PF-yAWc6Z3W.js +479 -0
  44. package/dist/cytoscape.esm-C64mRh9B.js +28325 -0
  45. package/dist/dagre-6A5THRUB-D0w2W27v.js +4816 -0
  46. package/dist/defaultLocale-B_EoOkSF.js +249 -0
  47. package/dist/diagram-22UHCM2B-DvgzhUzP.js +6115 -0
  48. package/dist/diagram-3UASUU5V-DWgUB-ef.js +795 -0
  49. package/dist/diagram-ATOU4E4O-P1olqwIs.js +553 -0
  50. package/dist/diagram-CDSNMT55-BUlZuLUe.js +402 -0
  51. package/dist/diagram-MLGK6HIB-6w5qmkGt.js +186 -0
  52. package/dist/diagram-MPIPVDR6-DEFiSo8o.js +289 -0
  53. package/dist/dist-UajCDt3n.js +92 -0
  54. package/dist/ebnfDiagram-ZINNZB2B-CI8liCfR.js +123 -0
  55. package/dist/elk-276RUBZZ-3SvW6OAK.js +90034 -0
  56. package/dist/erDiagram-OPXOYQCR-CPTbKhwP.js +2301 -0
  57. package/dist/eventmodeling-NTZA5JFV-BlyuqGp0.js +4 -0
  58. package/dist/flowDiagram-KWPJA3E3-CcUJ6HbV.js +18 -0
  59. package/dist/ganttDiagram-FUAMR5RP-31UjY0KK.js +3939 -0
  60. package/dist/{toolSource-C9oNuKmr.js → geometry-CRhuySKV.js} +169 -12
  61. package/dist/gitGraph-4MIJSDKK-ChdVlrk7.js +4 -0
  62. package/dist/gitGraphDiagram-X574FWY7-DKuxJymB.js +1153 -0
  63. package/dist/governance.d.ts +22 -4
  64. package/dist/governance.js +100 -10
  65. package/dist/graphlib-tk9gQYuN.js +4194 -0
  66. package/dist/{index-DHopiH_m.d.ts → index-7No55dRb.d.ts} +161 -11
  67. package/dist/{index-B8Tgmpwh.d.ts → index-ShvCB5I9.d.ts} +2 -2
  68. package/dist/{index-CYLt5u4L.d.ts → index-V76_OFj2.d.ts} +789 -21
  69. package/dist/index.d.ts +4 -4
  70. package/dist/index.js +11 -9
  71. package/dist/info-A6RAGUB7-CxRAt9S9.js +4 -0
  72. package/dist/infoDiagram-VRGFBTTK-pRspGfjZ.js +25 -0
  73. package/dist/init-CMOIWdg-.js +16 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-DKerAPAg.js +975 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-C4MK-YO5.js +1227 -0
  76. package/dist/kanban-definition-PNTS6WVX-BqsZpMXx.js +1244 -0
  77. package/dist/katex-BcRRvyh_.js +26465 -0
  78. package/dist/{kind-DaKqLX2F.js → kind-Dc8x0HWz.js} +54 -7
  79. package/dist/line-LgV8iVMV.js +48 -0
  80. package/dist/linear-BWKR0Tqd.js +393 -0
  81. package/dist/linkedDocument-CZZOl9cO.js +456 -0
  82. package/dist/mcp.d.ts +2 -2
  83. package/dist/{memoryArtifactStore-D6dLeY55.js → memoryArtifactStore-Bs7glPqm.js} +14 -0
  84. package/dist/mermaid-parser.core-pYR5siSx.js +754 -0
  85. package/dist/mermaid.core-DMtwGCHy.js +1756 -0
  86. package/dist/mindmap-definition-NLK3R4M7-CXbD-myG.js +1312 -0
  87. package/dist/node.d.ts +3 -3
  88. package/dist/node.js +12 -5
  89. package/dist/{openUiLibrary-b0i7F_oZ.js → openUiLibrary-B7j3rLrm.js} +1 -1
  90. package/dist/{openUiSpecLang-CLXJEeRU.js → openUiSpecLang-BSYYnjay.js} +1 -1
  91. package/dist/ordinal-CxA6GHQS.js +84 -0
  92. package/dist/packet-AYTQ26CC-BOm08cxl.js +4 -0
  93. package/dist/path-C27Z2Bjv.js +106 -0
  94. package/dist/{pathSecurity-B1owvJAF.js → pathSecurity-CirkQwWP.js} +12 -1
  95. package/dist/pegDiagram-GJSIUBJH-BLGJOewQ.js +115 -0
  96. package/dist/pie-WAS4IAKB-Dvg7glpk.js +4 -0
  97. package/dist/pieDiagram-5QR66LMP-laoaV_PB.js +298 -0
  98. package/dist/quadrantDiagram-O4NWA36T-Db_wFBkT.js +2236 -0
  99. package/dist/radar-RG4KPBEZ-BZDaTu06.js +4 -0
  100. package/dist/railroad-74A4TZTK-C-UhjkOy.js +4 -0
  101. package/dist/railroad-abnf-HS5TGJTU-dUKVA4OS.js +4 -0
  102. package/dist/railroad-ebnf-LZEXJU2U-DzQumk18.js +4 -0
  103. package/dist/railroad-peg-WCYAUIDC-B3vvTWed.js +4 -0
  104. package/dist/railroadDiagram-XR7U4H2S-BY0sTM4X.js +89 -0
  105. package/dist/requirementDiagram-PLB6GJNP-3rkQfEhs.js +2474 -0
  106. package/dist/rough.cjs-AmDd_NQk.js +1395 -0
  107. package/dist/sankeyDiagram-IPEJSGJF-CGAJhyG2.js +3578 -0
  108. package/dist/sequenceDiagram-PO4LG4MO-9FJjFX06.js +5522 -0
  109. package/dist/sizeCapture-INFHLROL-D8PWxdOn.js +56 -0
  110. package/dist/{skill-CAJMsLod.js → skill-WSUDp6A1.js} +1 -1
  111. package/dist/{skillVersionStore-B24Jjjry-BkOk9wI_.d.ts → skillVersionStore-S4_HJ_Fl-Cvy9LqVu.d.ts} +35 -4
  112. package/dist/src-NkhI3UMl.js +2653 -0
  113. package/dist/stateDiagram-v2-GCMORJYK-B0O3wc1-.js +2715 -0
  114. package/dist/swimlanes-2SLR337P-D4EOnrpu.js +6637 -0
  115. package/dist/swimlanesDiagram-TC7HE7FX-BUx29EJ9.js +30 -0
  116. package/dist/testing.d.ts +2 -1
  117. package/dist/testing.js +1 -1
  118. package/dist/timeline-definition-EJHVYXUP-CrgiiB4C.js +1513 -0
  119. package/dist/treeView-Q6P3EWNA-C1by-Gzc.js +4 -0
  120. package/dist/treemap-WGGIJYW6-mC2NZ6ad.js +4 -0
  121. package/dist/{types-BvTV_05--BW8zDuEk.d.ts → types-CpDRZ0rA-BiZBXGm4.d.ts} +66 -8
  122. package/dist/ui-react.d.ts +3 -3
  123. package/dist/ui-react.js +3746 -96
  124. package/dist/ui-vue.d.ts +1 -1
  125. package/dist/ui.d.ts +3 -3
  126. package/dist/ui.js +2 -2
  127. package/dist/usecaseDiagram-POWQR4AR-BUt_TQOY.js +14397 -0
  128. package/dist/vennDiagram-UO4OBE2U-CwXr0wjA.js +2808 -0
  129. package/dist/wardley-WFR3VGLG-CVSYjq_S.js +4 -0
  130. package/dist/wardleyDiagram-VNRHLVJA-Cpfd47dQ.js +874 -0
  131. package/dist/{webSkillApi-Cib6G-94.js → webSkillApi-D5VMUnrv.js} +2 -2
  132. package/dist/{webskillLitCatalog-W06npwej.js → webskillLitCatalog-D5BCiMCU.js} +1 -1
  133. package/dist/xychartDiagram-PMCCYNJV-e1TeVoc6.js +2704 -0
  134. package/package.json +1 -1
  135. package/dist/linkedDocument-C0gj1sMq.js +0 -245
@@ -0,0 +1,4194 @@
1
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js
2
+ /** Detect free variable `global` from Node.js. */
3
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
4
+
5
+ //#endregion
6
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_root.js
7
+ /** Detect free variable `self`. */
8
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
9
+ /** Used as a reference to the global object. */
10
+ var root = freeGlobal || freeSelf || Function("return this")();
11
+
12
+ //#endregion
13
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js
14
+ /** Built-in value references. */
15
+ var Symbol = root.Symbol;
16
+
17
+ //#endregion
18
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js
19
+ /** Used for built-in method references. */
20
+ var objectProto$3 = Object.prototype;
21
+ /** Used to check objects for own properties. */
22
+ var hasOwnProperty$9 = objectProto$3.hasOwnProperty;
23
+ /**
24
+ * Used to resolve the
25
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
26
+ * of values.
27
+ */
28
+ var nativeObjectToString$1 = objectProto$3.toString;
29
+ /** Built-in value references. */
30
+ var symToStringTag$1 = Symbol ? Symbol.toStringTag : void 0;
31
+ /**
32
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
33
+ *
34
+ * @private
35
+ * @param {*} value The value to query.
36
+ * @returns {string} Returns the raw `toStringTag`.
37
+ */
38
+ function getRawTag(value) {
39
+ var isOwn = hasOwnProperty$9.call(value, symToStringTag$1), tag = value[symToStringTag$1];
40
+ try {
41
+ value[symToStringTag$1] = void 0;
42
+ var unmasked = true;
43
+ } catch (e) {}
44
+ var result = nativeObjectToString$1.call(value);
45
+ if (unmasked) if (isOwn) value[symToStringTag$1] = tag;
46
+ else delete value[symToStringTag$1];
47
+ return result;
48
+ }
49
+
50
+ //#endregion
51
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
52
+ /**
53
+ * Used to resolve the
54
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
55
+ * of values.
56
+ */
57
+ var nativeObjectToString = Object.prototype.toString;
58
+ /**
59
+ * Converts `value` to a string using `Object.prototype.toString`.
60
+ *
61
+ * @private
62
+ * @param {*} value The value to convert.
63
+ * @returns {string} Returns the converted string.
64
+ */
65
+ function objectToString(value) {
66
+ return nativeObjectToString.call(value);
67
+ }
68
+
69
+ //#endregion
70
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
71
+ /** `Object#toString` result references. */
72
+ var nullTag = "[object Null]";
73
+ var undefinedTag = "[object Undefined]";
74
+ /** Built-in value references. */
75
+ var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
76
+ /**
77
+ * The base implementation of `getTag` without fallbacks for buggy environments.
78
+ *
79
+ * @private
80
+ * @param {*} value The value to query.
81
+ * @returns {string} Returns the `toStringTag`.
82
+ */
83
+ function baseGetTag(value) {
84
+ if (value == null) return value === void 0 ? undefinedTag : nullTag;
85
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
86
+ }
87
+
88
+ //#endregion
89
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
90
+ /**
91
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
92
+ * and has a `typeof` result of "object".
93
+ *
94
+ * @static
95
+ * @memberOf _
96
+ * @since 4.0.0
97
+ * @category Lang
98
+ * @param {*} value The value to check.
99
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
100
+ * @example
101
+ *
102
+ * _.isObjectLike({});
103
+ * // => true
104
+ *
105
+ * _.isObjectLike([1, 2, 3]);
106
+ * // => true
107
+ *
108
+ * _.isObjectLike(_.noop);
109
+ * // => false
110
+ *
111
+ * _.isObjectLike(null);
112
+ * // => false
113
+ */
114
+ function isObjectLike(value) {
115
+ return value != null && typeof value == "object";
116
+ }
117
+
118
+ //#endregion
119
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
120
+ /** `Object#toString` result references. */
121
+ var symbolTag$1 = "[object Symbol]";
122
+ /**
123
+ * Checks if `value` is classified as a `Symbol` primitive or object.
124
+ *
125
+ * @static
126
+ * @memberOf _
127
+ * @since 4.0.0
128
+ * @category Lang
129
+ * @param {*} value The value to check.
130
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
131
+ * @example
132
+ *
133
+ * _.isSymbol(Symbol.iterator);
134
+ * // => true
135
+ *
136
+ * _.isSymbol('abc');
137
+ * // => false
138
+ */
139
+ function isSymbol(value) {
140
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
141
+ }
142
+
143
+ //#endregion
144
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
145
+ /**
146
+ * A specialized version of `_.map` for arrays without support for iteratee
147
+ * shorthands.
148
+ *
149
+ * @private
150
+ * @param {Array} [array] The array to iterate over.
151
+ * @param {Function} iteratee The function invoked per iteration.
152
+ * @returns {Array} Returns the new mapped array.
153
+ */
154
+ function arrayMap(array, iteratee) {
155
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
156
+ while (++index < length) result[index] = iteratee(array[index], index, array);
157
+ return result;
158
+ }
159
+
160
+ //#endregion
161
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
162
+ /**
163
+ * Checks if `value` is classified as an `Array` object.
164
+ *
165
+ * @static
166
+ * @memberOf _
167
+ * @since 0.1.0
168
+ * @category Lang
169
+ * @param {*} value The value to check.
170
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
171
+ * @example
172
+ *
173
+ * _.isArray([1, 2, 3]);
174
+ * // => true
175
+ *
176
+ * _.isArray(document.body.children);
177
+ * // => false
178
+ *
179
+ * _.isArray('abc');
180
+ * // => false
181
+ *
182
+ * _.isArray(_.noop);
183
+ * // => false
184
+ */
185
+ var isArray = Array.isArray;
186
+
187
+ //#endregion
188
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js
189
+ /** Used as references for various `Number` constants. */
190
+ var INFINITY$1 = Infinity;
191
+ /** Used to convert symbols to primitives and strings. */
192
+ var symbolProto$1 = Symbol ? Symbol.prototype : void 0;
193
+ var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
194
+ /**
195
+ * The base implementation of `_.toString` which doesn't convert nullish
196
+ * values to empty strings.
197
+ *
198
+ * @private
199
+ * @param {*} value The value to process.
200
+ * @returns {string} Returns the string.
201
+ */
202
+ function baseToString(value) {
203
+ if (typeof value == "string") return value;
204
+ if (isArray(value)) return arrayMap(value, baseToString) + "";
205
+ if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
206
+ var result = value + "";
207
+ return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
208
+ }
209
+
210
+ //#endregion
211
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
212
+ /**
213
+ * Checks if `value` is the
214
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
215
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
216
+ *
217
+ * @static
218
+ * @memberOf _
219
+ * @since 0.1.0
220
+ * @category Lang
221
+ * @param {*} value The value to check.
222
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
223
+ * @example
224
+ *
225
+ * _.isObject({});
226
+ * // => true
227
+ *
228
+ * _.isObject([1, 2, 3]);
229
+ * // => true
230
+ *
231
+ * _.isObject(_.noop);
232
+ * // => true
233
+ *
234
+ * _.isObject(null);
235
+ * // => false
236
+ */
237
+ function isObject(value) {
238
+ var type = typeof value;
239
+ return value != null && (type == "object" || type == "function");
240
+ }
241
+
242
+ //#endregion
243
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
244
+ /**
245
+ * This method returns the first argument it receives.
246
+ *
247
+ * @static
248
+ * @since 0.1.0
249
+ * @memberOf _
250
+ * @category Util
251
+ * @param {*} value Any value.
252
+ * @returns {*} Returns `value`.
253
+ * @example
254
+ *
255
+ * var object = { 'a': 1 };
256
+ *
257
+ * console.log(_.identity(object) === object);
258
+ * // => true
259
+ */
260
+ function identity(value) {
261
+ return value;
262
+ }
263
+
264
+ //#endregion
265
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
266
+ /** `Object#toString` result references. */
267
+ var asyncTag = "[object AsyncFunction]";
268
+ var funcTag$1 = "[object Function]";
269
+ var genTag = "[object GeneratorFunction]";
270
+ var proxyTag = "[object Proxy]";
271
+ /**
272
+ * Checks if `value` is classified as a `Function` object.
273
+ *
274
+ * @static
275
+ * @memberOf _
276
+ * @since 0.1.0
277
+ * @category Lang
278
+ * @param {*} value The value to check.
279
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
280
+ * @example
281
+ *
282
+ * _.isFunction(_);
283
+ * // => true
284
+ *
285
+ * _.isFunction(/abc/);
286
+ * // => false
287
+ */
288
+ function isFunction(value) {
289
+ if (!isObject(value)) return false;
290
+ var tag = baseGetTag(value);
291
+ return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
292
+ }
293
+
294
+ //#endregion
295
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
296
+ /** Used to detect overreaching core-js shims. */
297
+ var coreJsData = root["__core-js_shared__"];
298
+
299
+ //#endregion
300
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js
301
+ /** Used to detect methods masquerading as native. */
302
+ var maskSrcKey = function() {
303
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
304
+ return uid ? "Symbol(src)_1." + uid : "";
305
+ }();
306
+ /**
307
+ * Checks if `func` has its source masked.
308
+ *
309
+ * @private
310
+ * @param {Function} func The function to check.
311
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
312
+ */
313
+ function isMasked(func) {
314
+ return !!maskSrcKey && maskSrcKey in func;
315
+ }
316
+
317
+ //#endregion
318
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
319
+ /** Used to resolve the decompiled source of functions. */
320
+ var funcToString$1 = Function.prototype.toString;
321
+ /**
322
+ * Converts `func` to its source code.
323
+ *
324
+ * @private
325
+ * @param {Function} func The function to convert.
326
+ * @returns {string} Returns the source code.
327
+ */
328
+ function toSource(func) {
329
+ if (func != null) {
330
+ try {
331
+ return funcToString$1.call(func);
332
+ } catch (e) {}
333
+ try {
334
+ return func + "";
335
+ } catch (e) {}
336
+ }
337
+ return "";
338
+ }
339
+
340
+ //#endregion
341
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
342
+ /**
343
+ * Used to match `RegExp`
344
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
345
+ */
346
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
347
+ /** Used to detect host constructors (Safari). */
348
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
349
+ /** Used for built-in method references. */
350
+ var funcProto = Function.prototype;
351
+ var objectProto$2 = Object.prototype;
352
+ /** Used to resolve the decompiled source of functions. */
353
+ var funcToString = funcProto.toString;
354
+ /** Used to check objects for own properties. */
355
+ var hasOwnProperty$8 = objectProto$2.hasOwnProperty;
356
+ /** Used to detect if a method is native. */
357
+ var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$8).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
358
+ /**
359
+ * The base implementation of `_.isNative` without bad shim checks.
360
+ *
361
+ * @private
362
+ * @param {*} value The value to check.
363
+ * @returns {boolean} Returns `true` if `value` is a native function,
364
+ * else `false`.
365
+ */
366
+ function baseIsNative(value) {
367
+ if (!isObject(value) || isMasked(value)) return false;
368
+ return (isFunction(value) ? reIsNative : reIsHostCtor).test(toSource(value));
369
+ }
370
+
371
+ //#endregion
372
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
373
+ /**
374
+ * Gets the value at `key` of `object`.
375
+ *
376
+ * @private
377
+ * @param {Object} [object] The object to query.
378
+ * @param {string} key The key of the property to get.
379
+ * @returns {*} Returns the property value.
380
+ */
381
+ function getValue(object, key) {
382
+ return object == null ? void 0 : object[key];
383
+ }
384
+
385
+ //#endregion
386
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
387
+ /**
388
+ * Gets the native function at `key` of `object`.
389
+ *
390
+ * @private
391
+ * @param {Object} object The object to query.
392
+ * @param {string} key The key of the method to get.
393
+ * @returns {*} Returns the function if it's native, else `undefined`.
394
+ */
395
+ function getNative(object, key) {
396
+ var value = getValue(object, key);
397
+ return baseIsNative(value) ? value : void 0;
398
+ }
399
+
400
+ //#endregion
401
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
402
+ var WeakMap = getNative(root, "WeakMap");
403
+
404
+ //#endregion
405
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
406
+ /**
407
+ * A faster alternative to `Function#apply`, this function invokes `func`
408
+ * with the `this` binding of `thisArg` and the arguments of `args`.
409
+ *
410
+ * @private
411
+ * @param {Function} func The function to invoke.
412
+ * @param {*} thisArg The `this` binding of `func`.
413
+ * @param {Array} args The arguments to invoke `func` with.
414
+ * @returns {*} Returns the result of `func`.
415
+ */
416
+ function apply(func, thisArg, args) {
417
+ switch (args.length) {
418
+ case 0: return func.call(thisArg);
419
+ case 1: return func.call(thisArg, args[0]);
420
+ case 2: return func.call(thisArg, args[0], args[1]);
421
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
422
+ }
423
+ return func.apply(thisArg, args);
424
+ }
425
+
426
+ //#endregion
427
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/noop.js
428
+ /**
429
+ * This method returns `undefined`.
430
+ *
431
+ * @static
432
+ * @memberOf _
433
+ * @since 2.3.0
434
+ * @category Util
435
+ * @example
436
+ *
437
+ * _.times(2, _.noop);
438
+ * // => [undefined, undefined]
439
+ */
440
+ function noop() {}
441
+
442
+ //#endregion
443
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
444
+ /** Used to detect hot functions by number of calls within a span of milliseconds. */
445
+ var HOT_COUNT = 800;
446
+ var HOT_SPAN = 16;
447
+ var nativeNow = Date.now;
448
+ /**
449
+ * Creates a function that'll short out and invoke `identity` instead
450
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
451
+ * milliseconds.
452
+ *
453
+ * @private
454
+ * @param {Function} func The function to restrict.
455
+ * @returns {Function} Returns the new shortable function.
456
+ */
457
+ function shortOut(func) {
458
+ var count = 0, lastCalled = 0;
459
+ return function() {
460
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
461
+ lastCalled = stamp;
462
+ if (remaining > 0) {
463
+ if (++count >= HOT_COUNT) return arguments[0];
464
+ } else count = 0;
465
+ return func.apply(void 0, arguments);
466
+ };
467
+ }
468
+
469
+ //#endregion
470
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
471
+ /**
472
+ * Creates a function that returns `value`.
473
+ *
474
+ * @static
475
+ * @memberOf _
476
+ * @since 2.4.0
477
+ * @category Util
478
+ * @param {*} value The value to return from the new function.
479
+ * @returns {Function} Returns the new constant function.
480
+ * @example
481
+ *
482
+ * var objects = _.times(2, _.constant({ 'a': 1 }));
483
+ *
484
+ * console.log(objects);
485
+ * // => [{ 'a': 1 }, { 'a': 1 }]
486
+ *
487
+ * console.log(objects[0] === objects[1]);
488
+ * // => true
489
+ */
490
+ function constant(value) {
491
+ return function() {
492
+ return value;
493
+ };
494
+ }
495
+
496
+ //#endregion
497
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
498
+ var defineProperty = function() {
499
+ try {
500
+ var func = getNative(Object, "defineProperty");
501
+ func({}, "", {});
502
+ return func;
503
+ } catch (e) {}
504
+ }();
505
+
506
+ //#endregion
507
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js
508
+ /**
509
+ * The base implementation of `setToString` without support for hot loop shorting.
510
+ *
511
+ * @private
512
+ * @param {Function} func The function to modify.
513
+ * @param {Function} string The `toString` result.
514
+ * @returns {Function} Returns `func`.
515
+ */
516
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
517
+ return defineProperty(func, "toString", {
518
+ "configurable": true,
519
+ "enumerable": false,
520
+ "value": constant(string),
521
+ "writable": true
522
+ });
523
+ };
524
+
525
+ //#endregion
526
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
527
+ /**
528
+ * Sets the `toString` method of `func` to return `string`.
529
+ *
530
+ * @private
531
+ * @param {Function} func The function to modify.
532
+ * @param {Function} string The `toString` result.
533
+ * @returns {Function} Returns `func`.
534
+ */
535
+ var setToString = shortOut(baseSetToString);
536
+
537
+ //#endregion
538
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js
539
+ /**
540
+ * A specialized version of `_.forEach` for arrays without support for
541
+ * iteratee shorthands.
542
+ *
543
+ * @private
544
+ * @param {Array} [array] The array to iterate over.
545
+ * @param {Function} iteratee The function invoked per iteration.
546
+ * @returns {Array} Returns `array`.
547
+ */
548
+ function arrayEach(array, iteratee) {
549
+ var index = -1, length = array == null ? 0 : array.length;
550
+ while (++index < length) if (iteratee(array[index], index, array) === false) break;
551
+ return array;
552
+ }
553
+
554
+ //#endregion
555
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js
556
+ /**
557
+ * The base implementation of `_.findIndex` and `_.findLastIndex` without
558
+ * support for iteratee shorthands.
559
+ *
560
+ * @private
561
+ * @param {Array} array The array to inspect.
562
+ * @param {Function} predicate The function invoked per iteration.
563
+ * @param {number} fromIndex The index to search from.
564
+ * @param {boolean} [fromRight] Specify iterating from right to left.
565
+ * @returns {number} Returns the index of the matched value, else `-1`.
566
+ */
567
+ function baseFindIndex(array, predicate, fromIndex, fromRight) {
568
+ var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
569
+ while (fromRight ? index-- : ++index < length) if (predicate(array[index], index, array)) return index;
570
+ return -1;
571
+ }
572
+
573
+ //#endregion
574
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js
575
+ /**
576
+ * The base implementation of `_.isNaN` without support for number objects.
577
+ *
578
+ * @private
579
+ * @param {*} value The value to check.
580
+ * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.
581
+ */
582
+ function baseIsNaN(value) {
583
+ return value !== value;
584
+ }
585
+
586
+ //#endregion
587
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js
588
+ /**
589
+ * A specialized version of `_.indexOf` which performs strict equality
590
+ * comparisons of values, i.e. `===`.
591
+ *
592
+ * @private
593
+ * @param {Array} array The array to inspect.
594
+ * @param {*} value The value to search for.
595
+ * @param {number} fromIndex The index to search from.
596
+ * @returns {number} Returns the index of the matched value, else `-1`.
597
+ */
598
+ function strictIndexOf(array, value, fromIndex) {
599
+ var index = fromIndex - 1, length = array.length;
600
+ while (++index < length) if (array[index] === value) return index;
601
+ return -1;
602
+ }
603
+
604
+ //#endregion
605
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js
606
+ /**
607
+ * The base implementation of `_.indexOf` without `fromIndex` bounds checks.
608
+ *
609
+ * @private
610
+ * @param {Array} array The array to inspect.
611
+ * @param {*} value The value to search for.
612
+ * @param {number} fromIndex The index to search from.
613
+ * @returns {number} Returns the index of the matched value, else `-1`.
614
+ */
615
+ function baseIndexOf(array, value, fromIndex) {
616
+ return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
617
+ }
618
+
619
+ //#endregion
620
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js
621
+ /**
622
+ * A specialized version of `_.includes` for arrays without support for
623
+ * specifying an index to search from.
624
+ *
625
+ * @private
626
+ * @param {Array} [array] The array to inspect.
627
+ * @param {*} target The value to search for.
628
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
629
+ */
630
+ function arrayIncludes(array, value) {
631
+ return !!(array == null ? 0 : array.length) && baseIndexOf(array, value, 0) > -1;
632
+ }
633
+
634
+ //#endregion
635
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
636
+ /** Used as references for various `Number` constants. */
637
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
638
+ /** Used to detect unsigned integer values. */
639
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
640
+ /**
641
+ * Checks if `value` is a valid array-like index.
642
+ *
643
+ * @private
644
+ * @param {*} value The value to check.
645
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
646
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
647
+ */
648
+ function isIndex(value, length) {
649
+ var type = typeof value;
650
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
651
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
652
+ }
653
+
654
+ //#endregion
655
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
656
+ /**
657
+ * Performs a
658
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
659
+ * comparison between two values to determine if they are equivalent.
660
+ *
661
+ * @static
662
+ * @memberOf _
663
+ * @since 4.0.0
664
+ * @category Lang
665
+ * @param {*} value The value to compare.
666
+ * @param {*} other The other value to compare.
667
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
668
+ * @example
669
+ *
670
+ * var object = { 'a': 1 };
671
+ * var other = { 'a': 1 };
672
+ *
673
+ * _.eq(object, object);
674
+ * // => true
675
+ *
676
+ * _.eq(object, other);
677
+ * // => false
678
+ *
679
+ * _.eq('a', 'a');
680
+ * // => true
681
+ *
682
+ * _.eq('a', Object('a'));
683
+ * // => false
684
+ *
685
+ * _.eq(NaN, NaN);
686
+ * // => true
687
+ */
688
+ function eq(value, other) {
689
+ return value === other || value !== value && other !== other;
690
+ }
691
+
692
+ //#endregion
693
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
694
+ var nativeMax = Math.max;
695
+ /**
696
+ * A specialized version of `baseRest` which transforms the rest array.
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
+ * @param {Function} transform The rest array transform.
702
+ * @returns {Function} Returns the new function.
703
+ */
704
+ function overRest(func, start, transform) {
705
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
706
+ return function() {
707
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
708
+ while (++index < length) array[index] = args[start + index];
709
+ index = -1;
710
+ var otherArgs = Array(start + 1);
711
+ while (++index < start) otherArgs[index] = args[index];
712
+ otherArgs[start] = transform(array);
713
+ return apply(func, this, otherArgs);
714
+ };
715
+ }
716
+
717
+ //#endregion
718
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js
719
+ /**
720
+ * The base implementation of `_.rest` which doesn't validate or coerce arguments.
721
+ *
722
+ * @private
723
+ * @param {Function} func The function to apply a rest parameter to.
724
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
725
+ * @returns {Function} Returns the new function.
726
+ */
727
+ function baseRest(func, start) {
728
+ return setToString(overRest(func, start, identity), func + "");
729
+ }
730
+
731
+ //#endregion
732
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
733
+ /** Used as references for various `Number` constants. */
734
+ var MAX_SAFE_INTEGER = 9007199254740991;
735
+ /**
736
+ * Checks if `value` is a valid array-like length.
737
+ *
738
+ * **Note:** This method is loosely based on
739
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
740
+ *
741
+ * @static
742
+ * @memberOf _
743
+ * @since 4.0.0
744
+ * @category Lang
745
+ * @param {*} value The value to check.
746
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
747
+ * @example
748
+ *
749
+ * _.isLength(3);
750
+ * // => true
751
+ *
752
+ * _.isLength(Number.MIN_VALUE);
753
+ * // => false
754
+ *
755
+ * _.isLength(Infinity);
756
+ * // => false
757
+ *
758
+ * _.isLength('3');
759
+ * // => false
760
+ */
761
+ function isLength(value) {
762
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
763
+ }
764
+
765
+ //#endregion
766
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
767
+ /**
768
+ * Checks if `value` is array-like. A value is considered array-like if it's
769
+ * not a function and has a `value.length` that's an integer greater than or
770
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
771
+ *
772
+ * @static
773
+ * @memberOf _
774
+ * @since 4.0.0
775
+ * @category Lang
776
+ * @param {*} value The value to check.
777
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
778
+ * @example
779
+ *
780
+ * _.isArrayLike([1, 2, 3]);
781
+ * // => true
782
+ *
783
+ * _.isArrayLike(document.body.children);
784
+ * // => true
785
+ *
786
+ * _.isArrayLike('abc');
787
+ * // => true
788
+ *
789
+ * _.isArrayLike(_.noop);
790
+ * // => false
791
+ */
792
+ function isArrayLike(value) {
793
+ return value != null && isLength(value.length) && !isFunction(value);
794
+ }
795
+
796
+ //#endregion
797
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
798
+ /** Used for built-in method references. */
799
+ var objectProto$1 = Object.prototype;
800
+ /**
801
+ * Checks if `value` is likely a prototype object.
802
+ *
803
+ * @private
804
+ * @param {*} value The value to check.
805
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
806
+ */
807
+ function isPrototype(value) {
808
+ var Ctor = value && value.constructor;
809
+ return value === (typeof Ctor == "function" && Ctor.prototype || objectProto$1);
810
+ }
811
+
812
+ //#endregion
813
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
814
+ /**
815
+ * The base implementation of `_.times` without support for iteratee shorthands
816
+ * or max array length checks.
817
+ *
818
+ * @private
819
+ * @param {number} n The number of times to invoke `iteratee`.
820
+ * @param {Function} iteratee The function invoked per iteration.
821
+ * @returns {Array} Returns the array of results.
822
+ */
823
+ function baseTimes(n, iteratee) {
824
+ var index = -1, result = Array(n);
825
+ while (++index < n) result[index] = iteratee(index);
826
+ return result;
827
+ }
828
+
829
+ //#endregion
830
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
831
+ /** `Object#toString` result references. */
832
+ var argsTag$2 = "[object Arguments]";
833
+ /**
834
+ * The base implementation of `_.isArguments`.
835
+ *
836
+ * @private
837
+ * @param {*} value The value to check.
838
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
839
+ */
840
+ function baseIsArguments(value) {
841
+ return isObjectLike(value) && baseGetTag(value) == argsTag$2;
842
+ }
843
+
844
+ //#endregion
845
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
846
+ /** Used for built-in method references. */
847
+ var objectProto = Object.prototype;
848
+ /** Used to check objects for own properties. */
849
+ var hasOwnProperty$7 = objectProto.hasOwnProperty;
850
+ /** Built-in value references. */
851
+ var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
852
+ /**
853
+ * Checks if `value` is likely an `arguments` object.
854
+ *
855
+ * @static
856
+ * @memberOf _
857
+ * @since 0.1.0
858
+ * @category Lang
859
+ * @param {*} value The value to check.
860
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
861
+ * else `false`.
862
+ * @example
863
+ *
864
+ * _.isArguments(function() { return arguments; }());
865
+ * // => true
866
+ *
867
+ * _.isArguments([1, 2, 3]);
868
+ * // => false
869
+ */
870
+ var isArguments = baseIsArguments(function() {
871
+ return arguments;
872
+ }()) ? baseIsArguments : function(value) {
873
+ return isObjectLike(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
874
+ };
875
+
876
+ //#endregion
877
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
878
+ /**
879
+ * This method returns `false`.
880
+ *
881
+ * @static
882
+ * @memberOf _
883
+ * @since 4.13.0
884
+ * @category Util
885
+ * @returns {boolean} Returns `false`.
886
+ * @example
887
+ *
888
+ * _.times(2, _.stubFalse);
889
+ * // => [false, false]
890
+ */
891
+ function stubFalse() {
892
+ return false;
893
+ }
894
+
895
+ //#endregion
896
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
897
+ /** Detect free variable `exports`. */
898
+ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType && exports;
899
+ /** Detect free variable `module`. */
900
+ var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
901
+ /** Built-in value references. */
902
+ var Buffer = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buffer : void 0;
903
+ /**
904
+ * Checks if `value` is a buffer.
905
+ *
906
+ * @static
907
+ * @memberOf _
908
+ * @since 4.3.0
909
+ * @category Lang
910
+ * @param {*} value The value to check.
911
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
912
+ * @example
913
+ *
914
+ * _.isBuffer(new Buffer(2));
915
+ * // => true
916
+ *
917
+ * _.isBuffer(new Uint8Array(2));
918
+ * // => false
919
+ */
920
+ var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
921
+
922
+ //#endregion
923
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
924
+ /** `Object#toString` result references. */
925
+ var argsTag$1 = "[object Arguments]";
926
+ var arrayTag$1 = "[object Array]";
927
+ var boolTag$1 = "[object Boolean]";
928
+ var dateTag$1 = "[object Date]";
929
+ var errorTag$1 = "[object Error]";
930
+ var funcTag = "[object Function]";
931
+ var mapTag$3 = "[object Map]";
932
+ var numberTag$1 = "[object Number]";
933
+ var objectTag$2 = "[object Object]";
934
+ var regexpTag$1 = "[object RegExp]";
935
+ var setTag$3 = "[object Set]";
936
+ var stringTag$1 = "[object String]";
937
+ var weakMapTag$1 = "[object WeakMap]";
938
+ var arrayBufferTag$1 = "[object ArrayBuffer]";
939
+ var dataViewTag$2 = "[object DataView]";
940
+ var float32Tag = "[object Float32Array]";
941
+ var float64Tag = "[object Float64Array]";
942
+ var int8Tag = "[object Int8Array]";
943
+ var int16Tag = "[object Int16Array]";
944
+ var int32Tag = "[object Int32Array]";
945
+ var uint8Tag = "[object Uint8Array]";
946
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
947
+ var uint16Tag = "[object Uint16Array]";
948
+ var uint32Tag = "[object Uint32Array]";
949
+ /** Used to identify `toStringTag` values of typed arrays. */
950
+ var typedArrayTags = {};
951
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
952
+ 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$3] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$2] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$3] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
953
+ /**
954
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
955
+ *
956
+ * @private
957
+ * @param {*} value The value to check.
958
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
959
+ */
960
+ function baseIsTypedArray(value) {
961
+ return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
962
+ }
963
+
964
+ //#endregion
965
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
966
+ /**
967
+ * The base implementation of `_.unary` without support for storing metadata.
968
+ *
969
+ * @private
970
+ * @param {Function} func The function to cap arguments for.
971
+ * @returns {Function} Returns the new capped function.
972
+ */
973
+ function baseUnary(func) {
974
+ return function(value) {
975
+ return func(value);
976
+ };
977
+ }
978
+
979
+ //#endregion
980
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
981
+ /** Detect free variable `exports`. */
982
+ var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
983
+ /** Detect free variable `module`. */
984
+ var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
985
+ /** Detect free variable `process` from Node.js. */
986
+ var freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process;
987
+ /** Used to access faster Node.js helpers. */
988
+ var nodeUtil = function() {
989
+ try {
990
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
991
+ if (types) return types;
992
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
993
+ } catch (e) {}
994
+ }();
995
+
996
+ //#endregion
997
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
998
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
999
+ /**
1000
+ * Checks if `value` is classified as a typed array.
1001
+ *
1002
+ * @static
1003
+ * @memberOf _
1004
+ * @since 3.0.0
1005
+ * @category Lang
1006
+ * @param {*} value The value to check.
1007
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
1008
+ * @example
1009
+ *
1010
+ * _.isTypedArray(new Uint8Array);
1011
+ * // => true
1012
+ *
1013
+ * _.isTypedArray([]);
1014
+ * // => false
1015
+ */
1016
+ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
1017
+
1018
+ //#endregion
1019
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js
1020
+ /** Used to check objects for own properties. */
1021
+ var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
1022
+ /**
1023
+ * Creates an array of the enumerable property names of the array-like `value`.
1024
+ *
1025
+ * @private
1026
+ * @param {*} value The value to query.
1027
+ * @param {boolean} inherited Specify returning inherited property names.
1028
+ * @returns {Array} Returns the array of property names.
1029
+ */
1030
+ function arrayLikeKeys(value, inherited) {
1031
+ 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;
1032
+ for (var key in value) if ((inherited || hasOwnProperty$6.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
1033
+ return result;
1034
+ }
1035
+
1036
+ //#endregion
1037
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
1038
+ /**
1039
+ * Creates a unary function that invokes `func` with its argument transformed.
1040
+ *
1041
+ * @private
1042
+ * @param {Function} func The function to wrap.
1043
+ * @param {Function} transform The argument transform.
1044
+ * @returns {Function} Returns the new function.
1045
+ */
1046
+ function overArg(func, transform) {
1047
+ return function(arg) {
1048
+ return func(transform(arg));
1049
+ };
1050
+ }
1051
+
1052
+ //#endregion
1053
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
1054
+ var nativeKeys = overArg(Object.keys, Object);
1055
+
1056
+ //#endregion
1057
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js
1058
+ /** Used to check objects for own properties. */
1059
+ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
1060
+ /**
1061
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1062
+ *
1063
+ * @private
1064
+ * @param {Object} object The object to query.
1065
+ * @returns {Array} Returns the array of property names.
1066
+ */
1067
+ function baseKeys(object) {
1068
+ if (!isPrototype(object)) return nativeKeys(object);
1069
+ var result = [];
1070
+ for (var key in Object(object)) if (hasOwnProperty$5.call(object, key) && key != "constructor") result.push(key);
1071
+ return result;
1072
+ }
1073
+
1074
+ //#endregion
1075
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/keys.js
1076
+ /**
1077
+ * Creates an array of the own enumerable property names of `object`.
1078
+ *
1079
+ * **Note:** Non-object values are coerced to objects. See the
1080
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1081
+ * for more details.
1082
+ *
1083
+ * @static
1084
+ * @since 0.1.0
1085
+ * @memberOf _
1086
+ * @category Object
1087
+ * @param {Object} object The object to query.
1088
+ * @returns {Array} Returns the array of property names.
1089
+ * @example
1090
+ *
1091
+ * function Foo() {
1092
+ * this.a = 1;
1093
+ * this.b = 2;
1094
+ * }
1095
+ *
1096
+ * Foo.prototype.c = 3;
1097
+ *
1098
+ * _.keys(new Foo);
1099
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1100
+ *
1101
+ * _.keys('hi');
1102
+ * // => ['0', '1']
1103
+ */
1104
+ function keys(object) {
1105
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1106
+ }
1107
+
1108
+ //#endregion
1109
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
1110
+ /** Used to match property names within property paths. */
1111
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
1112
+ var reIsPlainProp = /^\w*$/;
1113
+ /**
1114
+ * Checks if `value` is a property name and not a property path.
1115
+ *
1116
+ * @private
1117
+ * @param {*} value The value to check.
1118
+ * @param {Object} [object] The object to query keys on.
1119
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
1120
+ */
1121
+ function isKey(value, object) {
1122
+ if (isArray(value)) return false;
1123
+ var type = typeof value;
1124
+ if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
1125
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
1126
+ }
1127
+
1128
+ //#endregion
1129
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
1130
+ var nativeCreate = getNative(Object, "create");
1131
+
1132
+ //#endregion
1133
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
1134
+ /**
1135
+ * Removes all key-value entries from the hash.
1136
+ *
1137
+ * @private
1138
+ * @name clear
1139
+ * @memberOf Hash
1140
+ */
1141
+ function hashClear() {
1142
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
1143
+ this.size = 0;
1144
+ }
1145
+
1146
+ //#endregion
1147
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
1148
+ /**
1149
+ * Removes `key` and its value from the hash.
1150
+ *
1151
+ * @private
1152
+ * @name delete
1153
+ * @memberOf Hash
1154
+ * @param {Object} hash The hash to modify.
1155
+ * @param {string} key The key of the value to remove.
1156
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1157
+ */
1158
+ function hashDelete(key) {
1159
+ var result = this.has(key) && delete this.__data__[key];
1160
+ this.size -= result ? 1 : 0;
1161
+ return result;
1162
+ }
1163
+
1164
+ //#endregion
1165
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
1166
+ /** Used to stand-in for `undefined` hash values. */
1167
+ var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
1168
+ /** Used to check objects for own properties. */
1169
+ var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
1170
+ /**
1171
+ * Gets the hash value for `key`.
1172
+ *
1173
+ * @private
1174
+ * @name get
1175
+ * @memberOf Hash
1176
+ * @param {string} key The key of the value to get.
1177
+ * @returns {*} Returns the entry value.
1178
+ */
1179
+ function hashGet(key) {
1180
+ var data = this.__data__;
1181
+ if (nativeCreate) {
1182
+ var result = data[key];
1183
+ return result === HASH_UNDEFINED$2 ? void 0 : result;
1184
+ }
1185
+ return hasOwnProperty$4.call(data, key) ? data[key] : void 0;
1186
+ }
1187
+
1188
+ //#endregion
1189
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
1190
+ /** Used to check objects for own properties. */
1191
+ var hasOwnProperty$3 = Object.prototype.hasOwnProperty;
1192
+ /**
1193
+ * Checks if a hash value for `key` exists.
1194
+ *
1195
+ * @private
1196
+ * @name has
1197
+ * @memberOf Hash
1198
+ * @param {string} key The key of the entry to check.
1199
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1200
+ */
1201
+ function hashHas(key) {
1202
+ var data = this.__data__;
1203
+ return nativeCreate ? data[key] !== void 0 : hasOwnProperty$3.call(data, key);
1204
+ }
1205
+
1206
+ //#endregion
1207
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
1208
+ /** Used to stand-in for `undefined` hash values. */
1209
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1210
+ /**
1211
+ * Sets the hash `key` to `value`.
1212
+ *
1213
+ * @private
1214
+ * @name set
1215
+ * @memberOf Hash
1216
+ * @param {string} key The key of the value to set.
1217
+ * @param {*} value The value to set.
1218
+ * @returns {Object} Returns the hash instance.
1219
+ */
1220
+ function hashSet(key, value) {
1221
+ var data = this.__data__;
1222
+ this.size += this.has(key) ? 0 : 1;
1223
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
1224
+ return this;
1225
+ }
1226
+
1227
+ //#endregion
1228
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
1229
+ /**
1230
+ * Creates a hash object.
1231
+ *
1232
+ * @private
1233
+ * @constructor
1234
+ * @param {Array} [entries] The key-value pairs to cache.
1235
+ */
1236
+ function Hash(entries) {
1237
+ var index = -1, length = entries == null ? 0 : entries.length;
1238
+ this.clear();
1239
+ while (++index < length) {
1240
+ var entry = entries[index];
1241
+ this.set(entry[0], entry[1]);
1242
+ }
1243
+ }
1244
+ Hash.prototype.clear = hashClear;
1245
+ Hash.prototype["delete"] = hashDelete;
1246
+ Hash.prototype.get = hashGet;
1247
+ Hash.prototype.has = hashHas;
1248
+ Hash.prototype.set = hashSet;
1249
+
1250
+ //#endregion
1251
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
1252
+ /**
1253
+ * Removes all key-value entries from the list cache.
1254
+ *
1255
+ * @private
1256
+ * @name clear
1257
+ * @memberOf ListCache
1258
+ */
1259
+ function listCacheClear() {
1260
+ this.__data__ = [];
1261
+ this.size = 0;
1262
+ }
1263
+
1264
+ //#endregion
1265
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
1266
+ /**
1267
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1268
+ *
1269
+ * @private
1270
+ * @param {Array} array The array to inspect.
1271
+ * @param {*} key The key to search for.
1272
+ * @returns {number} Returns the index of the matched value, else `-1`.
1273
+ */
1274
+ function assocIndexOf(array, key) {
1275
+ var length = array.length;
1276
+ while (length--) if (eq(array[length][0], key)) return length;
1277
+ return -1;
1278
+ }
1279
+
1280
+ //#endregion
1281
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
1282
+ /** Built-in value references. */
1283
+ var splice = Array.prototype.splice;
1284
+ /**
1285
+ * Removes `key` and its value from the list cache.
1286
+ *
1287
+ * @private
1288
+ * @name delete
1289
+ * @memberOf ListCache
1290
+ * @param {string} key The key of the value to remove.
1291
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1292
+ */
1293
+ function listCacheDelete(key) {
1294
+ var data = this.__data__, index = assocIndexOf(data, key);
1295
+ if (index < 0) return false;
1296
+ if (index == data.length - 1) data.pop();
1297
+ else splice.call(data, index, 1);
1298
+ --this.size;
1299
+ return true;
1300
+ }
1301
+
1302
+ //#endregion
1303
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
1304
+ /**
1305
+ * Gets the list cache value for `key`.
1306
+ *
1307
+ * @private
1308
+ * @name get
1309
+ * @memberOf ListCache
1310
+ * @param {string} key The key of the value to get.
1311
+ * @returns {*} Returns the entry value.
1312
+ */
1313
+ function listCacheGet(key) {
1314
+ var data = this.__data__, index = assocIndexOf(data, key);
1315
+ return index < 0 ? void 0 : data[index][1];
1316
+ }
1317
+
1318
+ //#endregion
1319
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
1320
+ /**
1321
+ * Checks if a list cache value for `key` exists.
1322
+ *
1323
+ * @private
1324
+ * @name has
1325
+ * @memberOf ListCache
1326
+ * @param {string} key The key of the entry to check.
1327
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1328
+ */
1329
+ function listCacheHas(key) {
1330
+ return assocIndexOf(this.__data__, key) > -1;
1331
+ }
1332
+
1333
+ //#endregion
1334
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
1335
+ /**
1336
+ * Sets the list cache `key` to `value`.
1337
+ *
1338
+ * @private
1339
+ * @name set
1340
+ * @memberOf ListCache
1341
+ * @param {string} key The key of the value to set.
1342
+ * @param {*} value The value to set.
1343
+ * @returns {Object} Returns the list cache instance.
1344
+ */
1345
+ function listCacheSet(key, value) {
1346
+ var data = this.__data__, index = assocIndexOf(data, key);
1347
+ if (index < 0) {
1348
+ ++this.size;
1349
+ data.push([key, value]);
1350
+ } else data[index][1] = value;
1351
+ return this;
1352
+ }
1353
+
1354
+ //#endregion
1355
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
1356
+ /**
1357
+ * Creates an list cache object.
1358
+ *
1359
+ * @private
1360
+ * @constructor
1361
+ * @param {Array} [entries] The key-value pairs to cache.
1362
+ */
1363
+ function ListCache(entries) {
1364
+ var index = -1, length = entries == null ? 0 : entries.length;
1365
+ this.clear();
1366
+ while (++index < length) {
1367
+ var entry = entries[index];
1368
+ this.set(entry[0], entry[1]);
1369
+ }
1370
+ }
1371
+ ListCache.prototype.clear = listCacheClear;
1372
+ ListCache.prototype["delete"] = listCacheDelete;
1373
+ ListCache.prototype.get = listCacheGet;
1374
+ ListCache.prototype.has = listCacheHas;
1375
+ ListCache.prototype.set = listCacheSet;
1376
+
1377
+ //#endregion
1378
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
1379
+ var Map = getNative(root, "Map");
1380
+
1381
+ //#endregion
1382
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
1383
+ /**
1384
+ * Removes all key-value entries from the map.
1385
+ *
1386
+ * @private
1387
+ * @name clear
1388
+ * @memberOf MapCache
1389
+ */
1390
+ function mapCacheClear() {
1391
+ this.size = 0;
1392
+ this.__data__ = {
1393
+ "hash": new Hash(),
1394
+ "map": new (Map || ListCache)(),
1395
+ "string": new Hash()
1396
+ };
1397
+ }
1398
+
1399
+ //#endregion
1400
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
1401
+ /**
1402
+ * Checks if `value` is suitable for use as unique object key.
1403
+ *
1404
+ * @private
1405
+ * @param {*} value The value to check.
1406
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1407
+ */
1408
+ function isKeyable(value) {
1409
+ var type = typeof value;
1410
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
1411
+ }
1412
+
1413
+ //#endregion
1414
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
1415
+ /**
1416
+ * Gets the data for `map`.
1417
+ *
1418
+ * @private
1419
+ * @param {Object} map The map to query.
1420
+ * @param {string} key The reference key.
1421
+ * @returns {*} Returns the map data.
1422
+ */
1423
+ function getMapData(map, key) {
1424
+ var data = map.__data__;
1425
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1426
+ }
1427
+
1428
+ //#endregion
1429
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
1430
+ /**
1431
+ * Removes `key` and its value from the map.
1432
+ *
1433
+ * @private
1434
+ * @name delete
1435
+ * @memberOf MapCache
1436
+ * @param {string} key The key of the value to remove.
1437
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1438
+ */
1439
+ function mapCacheDelete(key) {
1440
+ var result = getMapData(this, key)["delete"](key);
1441
+ this.size -= result ? 1 : 0;
1442
+ return result;
1443
+ }
1444
+
1445
+ //#endregion
1446
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
1447
+ /**
1448
+ * Gets the map value for `key`.
1449
+ *
1450
+ * @private
1451
+ * @name get
1452
+ * @memberOf MapCache
1453
+ * @param {string} key The key of the value to get.
1454
+ * @returns {*} Returns the entry value.
1455
+ */
1456
+ function mapCacheGet(key) {
1457
+ return getMapData(this, key).get(key);
1458
+ }
1459
+
1460
+ //#endregion
1461
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
1462
+ /**
1463
+ * Checks if a map value for `key` exists.
1464
+ *
1465
+ * @private
1466
+ * @name has
1467
+ * @memberOf MapCache
1468
+ * @param {string} key The key of the entry to check.
1469
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1470
+ */
1471
+ function mapCacheHas(key) {
1472
+ return getMapData(this, key).has(key);
1473
+ }
1474
+
1475
+ //#endregion
1476
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
1477
+ /**
1478
+ * Sets the map `key` to `value`.
1479
+ *
1480
+ * @private
1481
+ * @name set
1482
+ * @memberOf MapCache
1483
+ * @param {string} key The key of the value to set.
1484
+ * @param {*} value The value to set.
1485
+ * @returns {Object} Returns the map cache instance.
1486
+ */
1487
+ function mapCacheSet(key, value) {
1488
+ var data = getMapData(this, key), size = data.size;
1489
+ data.set(key, value);
1490
+ this.size += data.size == size ? 0 : 1;
1491
+ return this;
1492
+ }
1493
+
1494
+ //#endregion
1495
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
1496
+ /**
1497
+ * Creates a map cache object to store key-value pairs.
1498
+ *
1499
+ * @private
1500
+ * @constructor
1501
+ * @param {Array} [entries] The key-value pairs to cache.
1502
+ */
1503
+ function MapCache(entries) {
1504
+ var index = -1, length = entries == null ? 0 : entries.length;
1505
+ this.clear();
1506
+ while (++index < length) {
1507
+ var entry = entries[index];
1508
+ this.set(entry[0], entry[1]);
1509
+ }
1510
+ }
1511
+ MapCache.prototype.clear = mapCacheClear;
1512
+ MapCache.prototype["delete"] = mapCacheDelete;
1513
+ MapCache.prototype.get = mapCacheGet;
1514
+ MapCache.prototype.has = mapCacheHas;
1515
+ MapCache.prototype.set = mapCacheSet;
1516
+
1517
+ //#endregion
1518
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
1519
+ /** Error message constants. */
1520
+ var FUNC_ERROR_TEXT = "Expected a function";
1521
+ /**
1522
+ * Creates a function that memoizes the result of `func`. If `resolver` is
1523
+ * provided, it determines the cache key for storing the result based on the
1524
+ * arguments provided to the memoized function. By default, the first argument
1525
+ * provided to the memoized function is used as the map cache key. The `func`
1526
+ * is invoked with the `this` binding of the memoized function.
1527
+ *
1528
+ * **Note:** The cache is exposed as the `cache` property on the memoized
1529
+ * function. Its creation may be customized by replacing the `_.memoize.Cache`
1530
+ * constructor with one whose instances implement the
1531
+ * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
1532
+ * method interface of `clear`, `delete`, `get`, `has`, and `set`.
1533
+ *
1534
+ * @static
1535
+ * @memberOf _
1536
+ * @since 0.1.0
1537
+ * @category Function
1538
+ * @param {Function} func The function to have its output memoized.
1539
+ * @param {Function} [resolver] The function to resolve the cache key.
1540
+ * @returns {Function} Returns the new memoized function.
1541
+ * @example
1542
+ *
1543
+ * var object = { 'a': 1, 'b': 2 };
1544
+ * var other = { 'c': 3, 'd': 4 };
1545
+ *
1546
+ * var values = _.memoize(_.values);
1547
+ * values(object);
1548
+ * // => [1, 2]
1549
+ *
1550
+ * values(other);
1551
+ * // => [3, 4]
1552
+ *
1553
+ * object.a = 2;
1554
+ * values(object);
1555
+ * // => [1, 2]
1556
+ *
1557
+ * // Modify the result cache.
1558
+ * values.cache.set(object, ['a', 'b']);
1559
+ * values(object);
1560
+ * // => ['a', 'b']
1561
+ *
1562
+ * // Replace `_.memoize.Cache`.
1563
+ * _.memoize.Cache = WeakMap;
1564
+ */
1565
+ function memoize(func, resolver) {
1566
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
1567
+ var memoized = function() {
1568
+ var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
1569
+ if (cache.has(key)) return cache.get(key);
1570
+ var result = func.apply(this, args);
1571
+ memoized.cache = cache.set(key, result) || cache;
1572
+ return result;
1573
+ };
1574
+ memoized.cache = new (memoize.Cache || MapCache)();
1575
+ return memoized;
1576
+ }
1577
+ memoize.Cache = MapCache;
1578
+
1579
+ //#endregion
1580
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
1581
+ /** Used as the maximum memoize cache size. */
1582
+ var MAX_MEMOIZE_SIZE = 500;
1583
+ /**
1584
+ * A specialized version of `_.memoize` which clears the memoized function's
1585
+ * cache when it exceeds `MAX_MEMOIZE_SIZE`.
1586
+ *
1587
+ * @private
1588
+ * @param {Function} func The function to have its output memoized.
1589
+ * @returns {Function} Returns the new memoized function.
1590
+ */
1591
+ function memoizeCapped(func) {
1592
+ var result = memoize(func, function(key) {
1593
+ if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
1594
+ return key;
1595
+ });
1596
+ var cache = result.cache;
1597
+ return result;
1598
+ }
1599
+
1600
+ //#endregion
1601
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
1602
+ /** Used to match property names within property paths. */
1603
+ var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
1604
+ /** Used to match backslashes in property paths. */
1605
+ var reEscapeChar = /\\(\\)?/g;
1606
+ /**
1607
+ * Converts `string` to a property path array.
1608
+ *
1609
+ * @private
1610
+ * @param {string} string The string to convert.
1611
+ * @returns {Array} Returns the property path array.
1612
+ */
1613
+ var stringToPath = memoizeCapped(function(string) {
1614
+ var result = [];
1615
+ if (string.charCodeAt(0) === 46) result.push("");
1616
+ string.replace(rePropName, function(match, number, quote, subString) {
1617
+ result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
1618
+ });
1619
+ return result;
1620
+ });
1621
+
1622
+ //#endregion
1623
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
1624
+ /**
1625
+ * Converts `value` to a string. An empty string is returned for `null`
1626
+ * and `undefined` values. The sign of `-0` is preserved.
1627
+ *
1628
+ * @static
1629
+ * @memberOf _
1630
+ * @since 4.0.0
1631
+ * @category Lang
1632
+ * @param {*} value The value to convert.
1633
+ * @returns {string} Returns the converted string.
1634
+ * @example
1635
+ *
1636
+ * _.toString(null);
1637
+ * // => ''
1638
+ *
1639
+ * _.toString(-0);
1640
+ * // => '-0'
1641
+ *
1642
+ * _.toString([1, 2, 3]);
1643
+ * // => '1,2,3'
1644
+ */
1645
+ function toString(value) {
1646
+ return value == null ? "" : baseToString(value);
1647
+ }
1648
+
1649
+ //#endregion
1650
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
1651
+ /**
1652
+ * Casts `value` to a path array if it's not one.
1653
+ *
1654
+ * @private
1655
+ * @param {*} value The value to inspect.
1656
+ * @param {Object} [object] The object to query keys on.
1657
+ * @returns {Array} Returns the cast property path array.
1658
+ */
1659
+ function castPath(value, object) {
1660
+ if (isArray(value)) return value;
1661
+ return isKey(value, object) ? [value] : stringToPath(toString(value));
1662
+ }
1663
+
1664
+ //#endregion
1665
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
1666
+ /** Used as references for various `Number` constants. */
1667
+ var INFINITY = Infinity;
1668
+ /**
1669
+ * Converts `value` to a string key if it's not a string or symbol.
1670
+ *
1671
+ * @private
1672
+ * @param {*} value The value to inspect.
1673
+ * @returns {string|symbol} Returns the key.
1674
+ */
1675
+ function toKey(value) {
1676
+ if (typeof value == "string" || isSymbol(value)) return value;
1677
+ var result = value + "";
1678
+ return result == "0" && 1 / value == -INFINITY ? "-0" : result;
1679
+ }
1680
+
1681
+ //#endregion
1682
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
1683
+ /**
1684
+ * The base implementation of `_.get` without support for default values.
1685
+ *
1686
+ * @private
1687
+ * @param {Object} object The object to query.
1688
+ * @param {Array|string} path The path of the property to get.
1689
+ * @returns {*} Returns the resolved value.
1690
+ */
1691
+ function baseGet(object, path) {
1692
+ path = castPath(path, object);
1693
+ var index = 0, length = path.length;
1694
+ while (object != null && index < length) object = object[toKey(path[index++])];
1695
+ return index && index == length ? object : void 0;
1696
+ }
1697
+
1698
+ //#endregion
1699
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
1700
+ /**
1701
+ * Gets the value at `path` of `object`. If the resolved value is
1702
+ * `undefined`, the `defaultValue` is returned in its place.
1703
+ *
1704
+ * @static
1705
+ * @memberOf _
1706
+ * @since 3.7.0
1707
+ * @category Object
1708
+ * @param {Object} object The object to query.
1709
+ * @param {Array|string} path The path of the property to get.
1710
+ * @param {*} [defaultValue] The value returned for `undefined` resolved values.
1711
+ * @returns {*} Returns the resolved value.
1712
+ * @example
1713
+ *
1714
+ * var object = { 'a': [{ 'b': { 'c': 3 } }] };
1715
+ *
1716
+ * _.get(object, 'a[0].b.c');
1717
+ * // => 3
1718
+ *
1719
+ * _.get(object, ['a', '0', 'b', 'c']);
1720
+ * // => 3
1721
+ *
1722
+ * _.get(object, 'a.b.c', 'default');
1723
+ * // => 'default'
1724
+ */
1725
+ function get(object, path, defaultValue) {
1726
+ var result = object == null ? void 0 : baseGet(object, path);
1727
+ return result === void 0 ? defaultValue : result;
1728
+ }
1729
+
1730
+ //#endregion
1731
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
1732
+ /**
1733
+ * Appends the elements of `values` to `array`.
1734
+ *
1735
+ * @private
1736
+ * @param {Array} array The array to modify.
1737
+ * @param {Array} values The values to append.
1738
+ * @returns {Array} Returns `array`.
1739
+ */
1740
+ function arrayPush(array, values) {
1741
+ var index = -1, length = values.length, offset = array.length;
1742
+ while (++index < length) array[offset + index] = values[index];
1743
+ return array;
1744
+ }
1745
+
1746
+ //#endregion
1747
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
1748
+ /** Built-in value references. */
1749
+ var spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : void 0;
1750
+ /**
1751
+ * Checks if `value` is a flattenable `arguments` object or array.
1752
+ *
1753
+ * @private
1754
+ * @param {*} value The value to check.
1755
+ * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
1756
+ */
1757
+ function isFlattenable(value) {
1758
+ return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
1759
+ }
1760
+
1761
+ //#endregion
1762
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
1763
+ /**
1764
+ * The base implementation of `_.flatten` with support for restricting flattening.
1765
+ *
1766
+ * @private
1767
+ * @param {Array} array The array to flatten.
1768
+ * @param {number} depth The maximum recursion depth.
1769
+ * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
1770
+ * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
1771
+ * @param {Array} [result=[]] The initial result value.
1772
+ * @returns {Array} Returns the new flattened array.
1773
+ */
1774
+ function baseFlatten(array, depth, predicate, isStrict, result) {
1775
+ var index = -1, length = array.length;
1776
+ predicate || (predicate = isFlattenable);
1777
+ result || (result = []);
1778
+ while (++index < length) {
1779
+ var value = array[index];
1780
+ if (depth > 0 && predicate(value)) if (depth > 1) baseFlatten(value, depth - 1, predicate, isStrict, result);
1781
+ else arrayPush(result, value);
1782
+ else if (!isStrict) result[result.length] = value;
1783
+ }
1784
+ return result;
1785
+ }
1786
+
1787
+ //#endregion
1788
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js
1789
+ /**
1790
+ * A specialized version of `_.reduce` for arrays without support for
1791
+ * iteratee shorthands.
1792
+ *
1793
+ * @private
1794
+ * @param {Array} [array] The array to iterate over.
1795
+ * @param {Function} iteratee The function invoked per iteration.
1796
+ * @param {*} [accumulator] The initial value.
1797
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
1798
+ * the initial value.
1799
+ * @returns {*} Returns the accumulated value.
1800
+ */
1801
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
1802
+ var index = -1, length = array == null ? 0 : array.length;
1803
+ if (initAccum && length) accumulator = array[++index];
1804
+ while (++index < length) accumulator = iteratee(accumulator, array[index], index, array);
1805
+ return accumulator;
1806
+ }
1807
+
1808
+ //#endregion
1809
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
1810
+ /**
1811
+ * Removes all key-value entries from the stack.
1812
+ *
1813
+ * @private
1814
+ * @name clear
1815
+ * @memberOf Stack
1816
+ */
1817
+ function stackClear() {
1818
+ this.__data__ = new ListCache();
1819
+ this.size = 0;
1820
+ }
1821
+
1822
+ //#endregion
1823
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
1824
+ /**
1825
+ * Removes `key` and its value from the stack.
1826
+ *
1827
+ * @private
1828
+ * @name delete
1829
+ * @memberOf Stack
1830
+ * @param {string} key The key of the value to remove.
1831
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
1832
+ */
1833
+ function stackDelete(key) {
1834
+ var data = this.__data__, result = data["delete"](key);
1835
+ this.size = data.size;
1836
+ return result;
1837
+ }
1838
+
1839
+ //#endregion
1840
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
1841
+ /**
1842
+ * Gets the stack value for `key`.
1843
+ *
1844
+ * @private
1845
+ * @name get
1846
+ * @memberOf Stack
1847
+ * @param {string} key The key of the value to get.
1848
+ * @returns {*} Returns the entry value.
1849
+ */
1850
+ function stackGet(key) {
1851
+ return this.__data__.get(key);
1852
+ }
1853
+
1854
+ //#endregion
1855
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
1856
+ /**
1857
+ * Checks if a stack value for `key` exists.
1858
+ *
1859
+ * @private
1860
+ * @name has
1861
+ * @memberOf Stack
1862
+ * @param {string} key The key of the entry to check.
1863
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
1864
+ */
1865
+ function stackHas(key) {
1866
+ return this.__data__.has(key);
1867
+ }
1868
+
1869
+ //#endregion
1870
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
1871
+ /** Used as the size to enable large array optimizations. */
1872
+ var LARGE_ARRAY_SIZE$1 = 200;
1873
+ /**
1874
+ * Sets the stack `key` to `value`.
1875
+ *
1876
+ * @private
1877
+ * @name set
1878
+ * @memberOf Stack
1879
+ * @param {string} key The key of the value to set.
1880
+ * @param {*} value The value to set.
1881
+ * @returns {Object} Returns the stack cache instance.
1882
+ */
1883
+ function stackSet(key, value) {
1884
+ var data = this.__data__;
1885
+ if (data instanceof ListCache) {
1886
+ var pairs = data.__data__;
1887
+ if (!Map || pairs.length < LARGE_ARRAY_SIZE$1 - 1) {
1888
+ pairs.push([key, value]);
1889
+ this.size = ++data.size;
1890
+ return this;
1891
+ }
1892
+ data = this.__data__ = new MapCache(pairs);
1893
+ }
1894
+ data.set(key, value);
1895
+ this.size = data.size;
1896
+ return this;
1897
+ }
1898
+
1899
+ //#endregion
1900
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
1901
+ /**
1902
+ * Creates a stack cache object to store key-value pairs.
1903
+ *
1904
+ * @private
1905
+ * @constructor
1906
+ * @param {Array} [entries] The key-value pairs to cache.
1907
+ */
1908
+ function Stack(entries) {
1909
+ var data = this.__data__ = new ListCache(entries);
1910
+ this.size = data.size;
1911
+ }
1912
+ Stack.prototype.clear = stackClear;
1913
+ Stack.prototype["delete"] = stackDelete;
1914
+ Stack.prototype.get = stackGet;
1915
+ Stack.prototype.has = stackHas;
1916
+ Stack.prototype.set = stackSet;
1917
+
1918
+ //#endregion
1919
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
1920
+ /**
1921
+ * A specialized version of `_.filter` for arrays without support for
1922
+ * iteratee shorthands.
1923
+ *
1924
+ * @private
1925
+ * @param {Array} [array] The array to iterate over.
1926
+ * @param {Function} predicate The function invoked per iteration.
1927
+ * @returns {Array} Returns the new filtered array.
1928
+ */
1929
+ function arrayFilter(array, predicate) {
1930
+ var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
1931
+ while (++index < length) {
1932
+ var value = array[index];
1933
+ if (predicate(value, index, array)) result[resIndex++] = value;
1934
+ }
1935
+ return result;
1936
+ }
1937
+
1938
+ //#endregion
1939
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
1940
+ /**
1941
+ * This method returns a new empty array.
1942
+ *
1943
+ * @static
1944
+ * @memberOf _
1945
+ * @since 4.13.0
1946
+ * @category Util
1947
+ * @returns {Array} Returns the new empty array.
1948
+ * @example
1949
+ *
1950
+ * var arrays = _.times(2, _.stubArray);
1951
+ *
1952
+ * console.log(arrays);
1953
+ * // => [[], []]
1954
+ *
1955
+ * console.log(arrays[0] === arrays[1]);
1956
+ * // => false
1957
+ */
1958
+ function stubArray() {
1959
+ return [];
1960
+ }
1961
+
1962
+ //#endregion
1963
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
1964
+ /** Built-in value references. */
1965
+ var propertyIsEnumerable = Object.prototype.propertyIsEnumerable;
1966
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
1967
+ /**
1968
+ * Creates an array of the own enumerable symbols of `object`.
1969
+ *
1970
+ * @private
1971
+ * @param {Object} object The object to query.
1972
+ * @returns {Array} Returns the array of symbols.
1973
+ */
1974
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
1975
+ if (object == null) return [];
1976
+ object = Object(object);
1977
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
1978
+ return propertyIsEnumerable.call(object, symbol);
1979
+ });
1980
+ };
1981
+
1982
+ //#endregion
1983
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
1984
+ /**
1985
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1986
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1987
+ * symbols of `object`.
1988
+ *
1989
+ * @private
1990
+ * @param {Object} object The object to query.
1991
+ * @param {Function} keysFunc The function to get the keys of `object`.
1992
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1993
+ * @returns {Array} Returns the array of property names and symbols.
1994
+ */
1995
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1996
+ var result = keysFunc(object);
1997
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1998
+ }
1999
+
2000
+ //#endregion
2001
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
2002
+ /**
2003
+ * Creates an array of own enumerable property names and symbols of `object`.
2004
+ *
2005
+ * @private
2006
+ * @param {Object} object The object to query.
2007
+ * @returns {Array} Returns the array of property names and symbols.
2008
+ */
2009
+ function getAllKeys(object) {
2010
+ return baseGetAllKeys(object, keys, getSymbols);
2011
+ }
2012
+
2013
+ //#endregion
2014
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
2015
+ var DataView = getNative(root, "DataView");
2016
+
2017
+ //#endregion
2018
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js
2019
+ var Promise$1 = getNative(root, "Promise");
2020
+
2021
+ //#endregion
2022
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Set.js
2023
+ var Set = getNative(root, "Set");
2024
+
2025
+ //#endregion
2026
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
2027
+ /** `Object#toString` result references. */
2028
+ var mapTag$2 = "[object Map]";
2029
+ var objectTag$1 = "[object Object]";
2030
+ var promiseTag = "[object Promise]";
2031
+ var setTag$2 = "[object Set]";
2032
+ var weakMapTag = "[object WeakMap]";
2033
+ var dataViewTag$1 = "[object DataView]";
2034
+ /** Used to detect maps, sets, and weakmaps. */
2035
+ var dataViewCtorString = toSource(DataView);
2036
+ var mapCtorString = toSource(Map);
2037
+ var promiseCtorString = toSource(Promise$1);
2038
+ var setCtorString = toSource(Set);
2039
+ var weakMapCtorString = toSource(WeakMap);
2040
+ /**
2041
+ * Gets the `toStringTag` of `value`.
2042
+ *
2043
+ * @private
2044
+ * @param {*} value The value to query.
2045
+ * @returns {string} Returns the `toStringTag`.
2046
+ */
2047
+ var getTag = baseGetTag;
2048
+ if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$2 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$2 || WeakMap && getTag(new WeakMap()) != weakMapTag) getTag = function(value) {
2049
+ var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2050
+ if (ctorString) switch (ctorString) {
2051
+ case dataViewCtorString: return dataViewTag$1;
2052
+ case mapCtorString: return mapTag$2;
2053
+ case promiseCtorString: return promiseTag;
2054
+ case setCtorString: return setTag$2;
2055
+ case weakMapCtorString: return weakMapTag;
2056
+ }
2057
+ return result;
2058
+ };
2059
+ var _getTag_default = getTag;
2060
+
2061
+ //#endregion
2062
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js
2063
+ /** Built-in value references. */
2064
+ var Uint8Array = root.Uint8Array;
2065
+
2066
+ //#endregion
2067
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
2068
+ /** Used to stand-in for `undefined` hash values. */
2069
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
2070
+ /**
2071
+ * Adds `value` to the array cache.
2072
+ *
2073
+ * @private
2074
+ * @name add
2075
+ * @memberOf SetCache
2076
+ * @alias push
2077
+ * @param {*} value The value to cache.
2078
+ * @returns {Object} Returns the cache instance.
2079
+ */
2080
+ function setCacheAdd(value) {
2081
+ this.__data__.set(value, HASH_UNDEFINED);
2082
+ return this;
2083
+ }
2084
+
2085
+ //#endregion
2086
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
2087
+ /**
2088
+ * Checks if `value` is in the array cache.
2089
+ *
2090
+ * @private
2091
+ * @name has
2092
+ * @memberOf SetCache
2093
+ * @param {*} value The value to search for.
2094
+ * @returns {boolean} Returns `true` if `value` is found, else `false`.
2095
+ */
2096
+ function setCacheHas(value) {
2097
+ return this.__data__.has(value);
2098
+ }
2099
+
2100
+ //#endregion
2101
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js
2102
+ /**
2103
+ *
2104
+ * Creates an array cache object to store unique values.
2105
+ *
2106
+ * @private
2107
+ * @constructor
2108
+ * @param {Array} [values] The values to cache.
2109
+ */
2110
+ function SetCache(values) {
2111
+ var index = -1, length = values == null ? 0 : values.length;
2112
+ this.__data__ = new MapCache();
2113
+ while (++index < length) this.add(values[index]);
2114
+ }
2115
+ SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
2116
+ SetCache.prototype.has = setCacheHas;
2117
+
2118
+ //#endregion
2119
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js
2120
+ /**
2121
+ * A specialized version of `_.some` for arrays without support for iteratee
2122
+ * shorthands.
2123
+ *
2124
+ * @private
2125
+ * @param {Array} [array] The array to iterate over.
2126
+ * @param {Function} predicate The function invoked per iteration.
2127
+ * @returns {boolean} Returns `true` if any element passes the predicate check,
2128
+ * else `false`.
2129
+ */
2130
+ function arraySome(array, predicate) {
2131
+ var index = -1, length = array == null ? 0 : array.length;
2132
+ while (++index < length) if (predicate(array[index], index, array)) return true;
2133
+ return false;
2134
+ }
2135
+
2136
+ //#endregion
2137
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js
2138
+ /**
2139
+ * Checks if a `cache` value for `key` exists.
2140
+ *
2141
+ * @private
2142
+ * @param {Object} cache The cache to query.
2143
+ * @param {string} key The key of the entry to check.
2144
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
2145
+ */
2146
+ function cacheHas(cache, key) {
2147
+ return cache.has(key);
2148
+ }
2149
+
2150
+ //#endregion
2151
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
2152
+ /** Used to compose bitmasks for value comparisons. */
2153
+ var COMPARE_PARTIAL_FLAG$5 = 1;
2154
+ var COMPARE_UNORDERED_FLAG$3 = 2;
2155
+ /**
2156
+ * A specialized version of `baseIsEqualDeep` for arrays with support for
2157
+ * partial deep comparisons.
2158
+ *
2159
+ * @private
2160
+ * @param {Array} array The array to compare.
2161
+ * @param {Array} other The other array to compare.
2162
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2163
+ * @param {Function} customizer The function to customize comparisons.
2164
+ * @param {Function} equalFunc The function to determine equivalents of values.
2165
+ * @param {Object} stack Tracks traversed `array` and `other` objects.
2166
+ * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
2167
+ */
2168
+ function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
2169
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$5, arrLength = array.length, othLength = other.length;
2170
+ if (arrLength != othLength && !(isPartial && othLength > arrLength)) return false;
2171
+ var arrStacked = stack.get(array);
2172
+ var othStacked = stack.get(other);
2173
+ if (arrStacked && othStacked) return arrStacked == other && othStacked == array;
2174
+ var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$3 ? new SetCache() : void 0;
2175
+ stack.set(array, other);
2176
+ stack.set(other, array);
2177
+ while (++index < arrLength) {
2178
+ var arrValue = array[index], othValue = other[index];
2179
+ if (customizer) var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
2180
+ if (compared !== void 0) {
2181
+ if (compared) continue;
2182
+ result = false;
2183
+ break;
2184
+ }
2185
+ if (seen) {
2186
+ if (!arraySome(other, function(othValue, othIndex) {
2187
+ if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) return seen.push(othIndex);
2188
+ })) {
2189
+ result = false;
2190
+ break;
2191
+ }
2192
+ } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2193
+ result = false;
2194
+ break;
2195
+ }
2196
+ }
2197
+ stack["delete"](array);
2198
+ stack["delete"](other);
2199
+ return result;
2200
+ }
2201
+
2202
+ //#endregion
2203
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js
2204
+ /**
2205
+ * Converts `map` to its key-value pairs.
2206
+ *
2207
+ * @private
2208
+ * @param {Object} map The map to convert.
2209
+ * @returns {Array} Returns the key-value pairs.
2210
+ */
2211
+ function mapToArray(map) {
2212
+ var index = -1, result = Array(map.size);
2213
+ map.forEach(function(value, key) {
2214
+ result[++index] = [key, value];
2215
+ });
2216
+ return result;
2217
+ }
2218
+
2219
+ //#endregion
2220
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
2221
+ /**
2222
+ * Converts `set` to an array of its values.
2223
+ *
2224
+ * @private
2225
+ * @param {Object} set The set to convert.
2226
+ * @returns {Array} Returns the values.
2227
+ */
2228
+ function setToArray(set) {
2229
+ var index = -1, result = Array(set.size);
2230
+ set.forEach(function(value) {
2231
+ result[++index] = value;
2232
+ });
2233
+ return result;
2234
+ }
2235
+
2236
+ //#endregion
2237
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
2238
+ /** Used to compose bitmasks for value comparisons. */
2239
+ var COMPARE_PARTIAL_FLAG$4 = 1;
2240
+ var COMPARE_UNORDERED_FLAG$2 = 2;
2241
+ /** `Object#toString` result references. */
2242
+ var boolTag = "[object Boolean]";
2243
+ var dateTag = "[object Date]";
2244
+ var errorTag = "[object Error]";
2245
+ var mapTag$1 = "[object Map]";
2246
+ var numberTag = "[object Number]";
2247
+ var regexpTag = "[object RegExp]";
2248
+ var setTag$1 = "[object Set]";
2249
+ var stringTag = "[object String]";
2250
+ var symbolTag = "[object Symbol]";
2251
+ var arrayBufferTag = "[object ArrayBuffer]";
2252
+ var dataViewTag = "[object DataView]";
2253
+ /** Used to convert symbols to primitives and strings. */
2254
+ var symbolProto = Symbol ? Symbol.prototype : void 0;
2255
+ var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2256
+ /**
2257
+ * A specialized version of `baseIsEqualDeep` for comparing objects of
2258
+ * the same `toStringTag`.
2259
+ *
2260
+ * **Note:** This function only supports comparing values with tags of
2261
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
2262
+ *
2263
+ * @private
2264
+ * @param {Object} object The object to compare.
2265
+ * @param {Object} other The other object to compare.
2266
+ * @param {string} tag The `toStringTag` of the objects to compare.
2267
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2268
+ * @param {Function} customizer The function to customize comparisons.
2269
+ * @param {Function} equalFunc The function to determine equivalents of values.
2270
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2271
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2272
+ */
2273
+ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
2274
+ switch (tag) {
2275
+ case dataViewTag:
2276
+ if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) return false;
2277
+ object = object.buffer;
2278
+ other = other.buffer;
2279
+ case arrayBufferTag:
2280
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) return false;
2281
+ return true;
2282
+ case boolTag:
2283
+ case dateTag:
2284
+ case numberTag: return eq(+object, +other);
2285
+ case errorTag: return object.name == other.name && object.message == other.message;
2286
+ case regexpTag:
2287
+ case stringTag: return object == other + "";
2288
+ case mapTag$1: var convert = mapToArray;
2289
+ case setTag$1:
2290
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$4;
2291
+ convert || (convert = setToArray);
2292
+ if (object.size != other.size && !isPartial) return false;
2293
+ var stacked = stack.get(object);
2294
+ if (stacked) return stacked == other;
2295
+ bitmask |= COMPARE_UNORDERED_FLAG$2;
2296
+ stack.set(object, other);
2297
+ var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
2298
+ stack["delete"](object);
2299
+ return result;
2300
+ case symbolTag: if (symbolValueOf) return symbolValueOf.call(object) == symbolValueOf.call(other);
2301
+ }
2302
+ return false;
2303
+ }
2304
+
2305
+ //#endregion
2306
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js
2307
+ /** Used to compose bitmasks for value comparisons. */
2308
+ var COMPARE_PARTIAL_FLAG$3 = 1;
2309
+ /** Used to check objects for own properties. */
2310
+ var hasOwnProperty$2 = Object.prototype.hasOwnProperty;
2311
+ /**
2312
+ * A specialized version of `baseIsEqualDeep` for objects with support for
2313
+ * partial deep comparisons.
2314
+ *
2315
+ * @private
2316
+ * @param {Object} object The object to compare.
2317
+ * @param {Object} other The other object to compare.
2318
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2319
+ * @param {Function} customizer The function to customize comparisons.
2320
+ * @param {Function} equalFunc The function to determine equivalents of values.
2321
+ * @param {Object} stack Tracks traversed `object` and `other` objects.
2322
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2323
+ */
2324
+ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2325
+ var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, objProps = getAllKeys(object), objLength = objProps.length;
2326
+ if (objLength != getAllKeys(other).length && !isPartial) return false;
2327
+ var index = objLength;
2328
+ while (index--) {
2329
+ var key = objProps[index];
2330
+ if (!(isPartial ? key in other : hasOwnProperty$2.call(other, key))) return false;
2331
+ }
2332
+ var objStacked = stack.get(object);
2333
+ var othStacked = stack.get(other);
2334
+ if (objStacked && othStacked) return objStacked == other && othStacked == object;
2335
+ var result = true;
2336
+ stack.set(object, other);
2337
+ stack.set(other, object);
2338
+ var skipCtor = isPartial;
2339
+ while (++index < objLength) {
2340
+ key = objProps[index];
2341
+ var objValue = object[key], othValue = other[key];
2342
+ if (customizer) var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
2343
+ if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
2344
+ result = false;
2345
+ break;
2346
+ }
2347
+ skipCtor || (skipCtor = key == "constructor");
2348
+ }
2349
+ if (result && !skipCtor) {
2350
+ var objCtor = object.constructor, othCtor = other.constructor;
2351
+ if (objCtor != othCtor && "constructor" in object && "constructor" in other && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) result = false;
2352
+ }
2353
+ stack["delete"](object);
2354
+ stack["delete"](other);
2355
+ return result;
2356
+ }
2357
+
2358
+ //#endregion
2359
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js
2360
+ /** Used to compose bitmasks for value comparisons. */
2361
+ var COMPARE_PARTIAL_FLAG$2 = 1;
2362
+ /** `Object#toString` result references. */
2363
+ var argsTag = "[object Arguments]";
2364
+ var arrayTag = "[object Array]";
2365
+ var objectTag = "[object Object]";
2366
+ /** Used to check objects for own properties. */
2367
+ var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
2368
+ /**
2369
+ * A specialized version of `baseIsEqual` for arrays and objects which performs
2370
+ * deep comparisons and tracks traversed objects enabling objects with circular
2371
+ * references to be compared.
2372
+ *
2373
+ * @private
2374
+ * @param {Object} object The object to compare.
2375
+ * @param {Object} other The other object to compare.
2376
+ * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
2377
+ * @param {Function} customizer The function to customize comparisons.
2378
+ * @param {Function} equalFunc The function to determine equivalents of values.
2379
+ * @param {Object} [stack] Tracks traversed `object` and `other` objects.
2380
+ * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
2381
+ */
2382
+ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
2383
+ var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : _getTag_default(object), othTag = othIsArr ? arrayTag : _getTag_default(other);
2384
+ objTag = objTag == argsTag ? objectTag : objTag;
2385
+ othTag = othTag == argsTag ? objectTag : othTag;
2386
+ var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
2387
+ if (isSameTag && isBuffer(object)) {
2388
+ if (!isBuffer(other)) return false;
2389
+ objIsArr = true;
2390
+ objIsObj = false;
2391
+ }
2392
+ if (isSameTag && !objIsObj) {
2393
+ stack || (stack = new Stack());
2394
+ return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
2395
+ }
2396
+ if (!(bitmask & COMPARE_PARTIAL_FLAG$2)) {
2397
+ var objIsWrapped = objIsObj && hasOwnProperty$1.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$1.call(other, "__wrapped__");
2398
+ if (objIsWrapped || othIsWrapped) {
2399
+ var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
2400
+ stack || (stack = new Stack());
2401
+ return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2402
+ }
2403
+ }
2404
+ if (!isSameTag) return false;
2405
+ stack || (stack = new Stack());
2406
+ return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
2407
+ }
2408
+
2409
+ //#endregion
2410
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js
2411
+ /**
2412
+ * The base implementation of `_.isEqual` which supports partial comparisons
2413
+ * and tracks traversed objects.
2414
+ *
2415
+ * @private
2416
+ * @param {*} value The value to compare.
2417
+ * @param {*} other The other value to compare.
2418
+ * @param {boolean} bitmask The bitmask flags.
2419
+ * 1 - Unordered comparison
2420
+ * 2 - Partial comparison
2421
+ * @param {Function} [customizer] The function to customize comparisons.
2422
+ * @param {Object} [stack] Tracks traversed `value` and `other` objects.
2423
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2424
+ */
2425
+ function baseIsEqual(value, other, bitmask, customizer, stack) {
2426
+ if (value === other) return true;
2427
+ if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) return value !== value && other !== other;
2428
+ return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
2429
+ }
2430
+
2431
+ //#endregion
2432
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2433
+ /** Used to compose bitmasks for value comparisons. */
2434
+ var COMPARE_PARTIAL_FLAG$1 = 1;
2435
+ var COMPARE_UNORDERED_FLAG$1 = 2;
2436
+ /**
2437
+ * The base implementation of `_.isMatch` without support for iteratee shorthands.
2438
+ *
2439
+ * @private
2440
+ * @param {Object} object The object to inspect.
2441
+ * @param {Object} source The object of property values to match.
2442
+ * @param {Array} matchData The property names, values, and compare flags to match.
2443
+ * @param {Function} [customizer] The function to customize comparisons.
2444
+ * @returns {boolean} Returns `true` if `object` is a match, else `false`.
2445
+ */
2446
+ function baseIsMatch(object, source, matchData, customizer) {
2447
+ var index = matchData.length, length = index, noCustomizer = !customizer;
2448
+ if (object == null) return !length;
2449
+ object = Object(object);
2450
+ while (index--) {
2451
+ var data = matchData[index];
2452
+ if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) return false;
2453
+ }
2454
+ while (++index < length) {
2455
+ data = matchData[index];
2456
+ var key = data[0], objValue = object[key], srcValue = data[1];
2457
+ if (noCustomizer && data[2]) {
2458
+ if (objValue === void 0 && !(key in object)) return false;
2459
+ } else {
2460
+ var stack = new Stack();
2461
+ if (customizer) var result = customizer(objValue, srcValue, key, object, source, stack);
2462
+ if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG$1 | COMPARE_UNORDERED_FLAG$1, customizer, stack) : result)) return false;
2463
+ }
2464
+ }
2465
+ return true;
2466
+ }
2467
+
2468
+ //#endregion
2469
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js
2470
+ /**
2471
+ * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
2472
+ *
2473
+ * @private
2474
+ * @param {*} value The value to check.
2475
+ * @returns {boolean} Returns `true` if `value` if suitable for strict
2476
+ * equality comparisons, else `false`.
2477
+ */
2478
+ function isStrictComparable(value) {
2479
+ return value === value && !isObject(value);
2480
+ }
2481
+
2482
+ //#endregion
2483
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js
2484
+ /**
2485
+ * Gets the property names, values, and compare flags of `object`.
2486
+ *
2487
+ * @private
2488
+ * @param {Object} object The object to query.
2489
+ * @returns {Array} Returns the match data of `object`.
2490
+ */
2491
+ function getMatchData(object) {
2492
+ var result = keys(object), length = result.length;
2493
+ while (length--) {
2494
+ var key = result[length], value = object[key];
2495
+ result[length] = [
2496
+ key,
2497
+ value,
2498
+ isStrictComparable(value)
2499
+ ];
2500
+ }
2501
+ return result;
2502
+ }
2503
+
2504
+ //#endregion
2505
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js
2506
+ /**
2507
+ * A specialized version of `matchesProperty` for source values suitable
2508
+ * for strict equality comparisons, i.e. `===`.
2509
+ *
2510
+ * @private
2511
+ * @param {string} key The key of the property to get.
2512
+ * @param {*} srcValue The value to match.
2513
+ * @returns {Function} Returns the new spec function.
2514
+ */
2515
+ function matchesStrictComparable(key, srcValue) {
2516
+ return function(object) {
2517
+ if (object == null) return false;
2518
+ return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
2519
+ };
2520
+ }
2521
+
2522
+ //#endregion
2523
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js
2524
+ /**
2525
+ * The base implementation of `_.matches` which doesn't clone `source`.
2526
+ *
2527
+ * @private
2528
+ * @param {Object} source The object of property values to match.
2529
+ * @returns {Function} Returns the new spec function.
2530
+ */
2531
+ function baseMatches(source) {
2532
+ var matchData = getMatchData(source);
2533
+ if (matchData.length == 1 && matchData[0][2]) return matchesStrictComparable(matchData[0][0], matchData[0][1]);
2534
+ return function(object) {
2535
+ return object === source || baseIsMatch(object, source, matchData);
2536
+ };
2537
+ }
2538
+
2539
+ //#endregion
2540
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
2541
+ /**
2542
+ * The base implementation of `_.hasIn` without support for deep paths.
2543
+ *
2544
+ * @private
2545
+ * @param {Object} [object] The object to query.
2546
+ * @param {Array|string} key The key to check.
2547
+ * @returns {boolean} Returns `true` if `key` exists, else `false`.
2548
+ */
2549
+ function baseHasIn(object, key) {
2550
+ return object != null && key in Object(object);
2551
+ }
2552
+
2553
+ //#endregion
2554
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
2555
+ /**
2556
+ * Checks if `path` exists on `object`.
2557
+ *
2558
+ * @private
2559
+ * @param {Object} object The object to query.
2560
+ * @param {Array|string} path The path to check.
2561
+ * @param {Function} hasFunc The function to check properties.
2562
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2563
+ */
2564
+ function hasPath(object, path, hasFunc) {
2565
+ path = castPath(path, object);
2566
+ var index = -1, length = path.length, result = false;
2567
+ while (++index < length) {
2568
+ var key = toKey(path[index]);
2569
+ if (!(result = object != null && hasFunc(object, key))) break;
2570
+ object = object[key];
2571
+ }
2572
+ if (result || ++index != length) return result;
2573
+ length = object == null ? 0 : object.length;
2574
+ return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
2575
+ }
2576
+
2577
+ //#endregion
2578
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
2579
+ /**
2580
+ * Checks if `path` is a direct or inherited property of `object`.
2581
+ *
2582
+ * @static
2583
+ * @memberOf _
2584
+ * @since 4.0.0
2585
+ * @category Object
2586
+ * @param {Object} object The object to query.
2587
+ * @param {Array|string} path The path to check.
2588
+ * @returns {boolean} Returns `true` if `path` exists, else `false`.
2589
+ * @example
2590
+ *
2591
+ * var object = _.create({ 'a': _.create({ 'b': 2 }) });
2592
+ *
2593
+ * _.hasIn(object, 'a');
2594
+ * // => true
2595
+ *
2596
+ * _.hasIn(object, 'a.b');
2597
+ * // => true
2598
+ *
2599
+ * _.hasIn(object, ['a', 'b']);
2600
+ * // => true
2601
+ *
2602
+ * _.hasIn(object, 'b');
2603
+ * // => false
2604
+ */
2605
+ function hasIn(object, path) {
2606
+ return object != null && hasPath(object, path, baseHasIn);
2607
+ }
2608
+
2609
+ //#endregion
2610
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2611
+ /** Used to compose bitmasks for value comparisons. */
2612
+ var COMPARE_PARTIAL_FLAG = 1;
2613
+ var COMPARE_UNORDERED_FLAG = 2;
2614
+ /**
2615
+ * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2616
+ *
2617
+ * @private
2618
+ * @param {string} path The path of the property to get.
2619
+ * @param {*} srcValue The value to match.
2620
+ * @returns {Function} Returns the new spec function.
2621
+ */
2622
+ function baseMatchesProperty(path, srcValue) {
2623
+ if (isKey(path) && isStrictComparable(srcValue)) return matchesStrictComparable(toKey(path), srcValue);
2624
+ return function(object) {
2625
+ var objValue = get(object, path);
2626
+ return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
2627
+ };
2628
+ }
2629
+
2630
+ //#endregion
2631
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js
2632
+ /**
2633
+ * The base implementation of `_.property` without support for deep paths.
2634
+ *
2635
+ * @private
2636
+ * @param {string} key The key of the property to get.
2637
+ * @returns {Function} Returns the new accessor function.
2638
+ */
2639
+ function baseProperty(key) {
2640
+ return function(object) {
2641
+ return object == null ? void 0 : object[key];
2642
+ };
2643
+ }
2644
+
2645
+ //#endregion
2646
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js
2647
+ /**
2648
+ * A specialized version of `baseProperty` which supports deep paths.
2649
+ *
2650
+ * @private
2651
+ * @param {Array|string} path The path of the property to get.
2652
+ * @returns {Function} Returns the new accessor function.
2653
+ */
2654
+ function basePropertyDeep(path) {
2655
+ return function(object) {
2656
+ return baseGet(object, path);
2657
+ };
2658
+ }
2659
+
2660
+ //#endregion
2661
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/property.js
2662
+ /**
2663
+ * Creates a function that returns the value at `path` of a given object.
2664
+ *
2665
+ * @static
2666
+ * @memberOf _
2667
+ * @since 2.4.0
2668
+ * @category Util
2669
+ * @param {Array|string} path The path of the property to get.
2670
+ * @returns {Function} Returns the new accessor function.
2671
+ * @example
2672
+ *
2673
+ * var objects = [
2674
+ * { 'a': { 'b': 2 } },
2675
+ * { 'a': { 'b': 1 } }
2676
+ * ];
2677
+ *
2678
+ * _.map(objects, _.property('a.b'));
2679
+ * // => [2, 1]
2680
+ *
2681
+ * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');
2682
+ * // => [1, 2]
2683
+ */
2684
+ function property(path) {
2685
+ return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
2686
+ }
2687
+
2688
+ //#endregion
2689
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js
2690
+ /**
2691
+ * The base implementation of `_.iteratee`.
2692
+ *
2693
+ * @private
2694
+ * @param {*} [value=_.identity] The value to convert to an iteratee.
2695
+ * @returns {Function} Returns the iteratee.
2696
+ */
2697
+ function baseIteratee(value) {
2698
+ if (typeof value == "function") return value;
2699
+ if (value == null) return identity;
2700
+ if (typeof value == "object") return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
2701
+ return property(value);
2702
+ }
2703
+
2704
+ //#endregion
2705
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js
2706
+ /**
2707
+ * Creates a base function for methods like `_.forIn` and `_.forOwn`.
2708
+ *
2709
+ * @private
2710
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2711
+ * @returns {Function} Returns the new base function.
2712
+ */
2713
+ function createBaseFor(fromRight) {
2714
+ return function(object, iteratee, keysFunc) {
2715
+ var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
2716
+ while (length--) {
2717
+ var key = props[fromRight ? length : ++index];
2718
+ if (iteratee(iterable[key], key, iterable) === false) break;
2719
+ }
2720
+ return object;
2721
+ };
2722
+ }
2723
+
2724
+ //#endregion
2725
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js
2726
+ /**
2727
+ * The base implementation of `baseForOwn` which iterates over `object`
2728
+ * properties returned by `keysFunc` and invokes `iteratee` for each property.
2729
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
2730
+ *
2731
+ * @private
2732
+ * @param {Object} object The object to iterate over.
2733
+ * @param {Function} iteratee The function invoked per iteration.
2734
+ * @param {Function} keysFunc The function to get the keys of `object`.
2735
+ * @returns {Object} Returns `object`.
2736
+ */
2737
+ var baseFor = createBaseFor();
2738
+
2739
+ //#endregion
2740
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js
2741
+ /**
2742
+ * The base implementation of `_.forOwn` without support for iteratee shorthands.
2743
+ *
2744
+ * @private
2745
+ * @param {Object} object The object to iterate over.
2746
+ * @param {Function} iteratee The function invoked per iteration.
2747
+ * @returns {Object} Returns `object`.
2748
+ */
2749
+ function baseForOwn(object, iteratee) {
2750
+ return object && baseFor(object, iteratee, keys);
2751
+ }
2752
+
2753
+ //#endregion
2754
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js
2755
+ /**
2756
+ * Creates a `baseEach` or `baseEachRight` function.
2757
+ *
2758
+ * @private
2759
+ * @param {Function} eachFunc The function to iterate over a collection.
2760
+ * @param {boolean} [fromRight] Specify iterating from right to left.
2761
+ * @returns {Function} Returns the new base function.
2762
+ */
2763
+ function createBaseEach(eachFunc, fromRight) {
2764
+ return function(collection, iteratee) {
2765
+ if (collection == null) return collection;
2766
+ if (!isArrayLike(collection)) return eachFunc(collection, iteratee);
2767
+ var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
2768
+ while (fromRight ? index-- : ++index < length) if (iteratee(iterable[index], index, iterable) === false) break;
2769
+ return collection;
2770
+ };
2771
+ }
2772
+
2773
+ //#endregion
2774
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js
2775
+ /**
2776
+ * The base implementation of `_.forEach` without support for iteratee shorthands.
2777
+ *
2778
+ * @private
2779
+ * @param {Array|Object} collection The collection to iterate over.
2780
+ * @param {Function} iteratee The function invoked per iteration.
2781
+ * @returns {Array|Object} Returns `collection`.
2782
+ */
2783
+ var baseEach = createBaseEach(baseForOwn);
2784
+
2785
+ //#endregion
2786
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
2787
+ /**
2788
+ * This method is like `_.isArrayLike` except that it also checks if `value`
2789
+ * is an object.
2790
+ *
2791
+ * @static
2792
+ * @memberOf _
2793
+ * @since 4.0.0
2794
+ * @category Lang
2795
+ * @param {*} value The value to check.
2796
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
2797
+ * else `false`.
2798
+ * @example
2799
+ *
2800
+ * _.isArrayLikeObject([1, 2, 3]);
2801
+ * // => true
2802
+ *
2803
+ * _.isArrayLikeObject(document.body.children);
2804
+ * // => true
2805
+ *
2806
+ * _.isArrayLikeObject('abc');
2807
+ * // => false
2808
+ *
2809
+ * _.isArrayLikeObject(_.noop);
2810
+ * // => false
2811
+ */
2812
+ function isArrayLikeObject(value) {
2813
+ return isObjectLike(value) && isArrayLike(value);
2814
+ }
2815
+
2816
+ //#endregion
2817
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js
2818
+ /**
2819
+ * This function is like `arrayIncludes` except that it accepts a comparator.
2820
+ *
2821
+ * @private
2822
+ * @param {Array} [array] The array to inspect.
2823
+ * @param {*} target The value to search for.
2824
+ * @param {Function} comparator The comparator invoked per element.
2825
+ * @returns {boolean} Returns `true` if `target` is found, else `false`.
2826
+ */
2827
+ function arrayIncludesWith(array, value, comparator) {
2828
+ var index = -1, length = array == null ? 0 : array.length;
2829
+ while (++index < length) if (comparator(value, array[index])) return true;
2830
+ return false;
2831
+ }
2832
+
2833
+ //#endregion
2834
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castFunction.js
2835
+ /**
2836
+ * Casts `value` to `identity` if it's not a function.
2837
+ *
2838
+ * @private
2839
+ * @param {*} value The value to inspect.
2840
+ * @returns {Function} Returns cast function.
2841
+ */
2842
+ function castFunction(value) {
2843
+ return typeof value == "function" ? value : identity;
2844
+ }
2845
+
2846
+ //#endregion
2847
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/forEach.js
2848
+ /**
2849
+ * Iterates over elements of `collection` and invokes `iteratee` for each element.
2850
+ * The iteratee is invoked with three arguments: (value, index|key, collection).
2851
+ * Iteratee functions may exit iteration early by explicitly returning `false`.
2852
+ *
2853
+ * **Note:** As with other "Collections" methods, objects with a "length"
2854
+ * property are iterated like arrays. To avoid this behavior use `_.forIn`
2855
+ * or `_.forOwn` for object iteration.
2856
+ *
2857
+ * @static
2858
+ * @memberOf _
2859
+ * @since 0.1.0
2860
+ * @alias each
2861
+ * @category Collection
2862
+ * @param {Array|Object} collection The collection to iterate over.
2863
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
2864
+ * @returns {Array|Object} Returns `collection`.
2865
+ * @see _.forEachRight
2866
+ * @example
2867
+ *
2868
+ * _.forEach([1, 2], function(value) {
2869
+ * console.log(value);
2870
+ * });
2871
+ * // => Logs `1` then `2`.
2872
+ *
2873
+ * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
2874
+ * console.log(key);
2875
+ * });
2876
+ * // => Logs 'a' then 'b' (iteration order is not guaranteed).
2877
+ */
2878
+ function forEach(collection, iteratee) {
2879
+ return (isArray(collection) ? arrayEach : baseEach)(collection, castFunction(iteratee));
2880
+ }
2881
+
2882
+ //#endregion
2883
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFilter.js
2884
+ /**
2885
+ * The base implementation of `_.filter` without support for iteratee shorthands.
2886
+ *
2887
+ * @private
2888
+ * @param {Array|Object} collection The collection to iterate over.
2889
+ * @param {Function} predicate The function invoked per iteration.
2890
+ * @returns {Array} Returns the new filtered array.
2891
+ */
2892
+ function baseFilter(collection, predicate) {
2893
+ var result = [];
2894
+ baseEach(collection, function(value, index, collection) {
2895
+ if (predicate(value, index, collection)) result.push(value);
2896
+ });
2897
+ return result;
2898
+ }
2899
+
2900
+ //#endregion
2901
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/filter.js
2902
+ /**
2903
+ * Iterates over elements of `collection`, returning an array of all elements
2904
+ * `predicate` returns truthy for. The predicate is invoked with three
2905
+ * arguments: (value, index|key, collection).
2906
+ *
2907
+ * **Note:** Unlike `_.remove`, this method returns a new array.
2908
+ *
2909
+ * @static
2910
+ * @memberOf _
2911
+ * @since 0.1.0
2912
+ * @category Collection
2913
+ * @param {Array|Object} collection The collection to iterate over.
2914
+ * @param {Function} [predicate=_.identity] The function invoked per iteration.
2915
+ * @returns {Array} Returns the new filtered array.
2916
+ * @see _.reject
2917
+ * @example
2918
+ *
2919
+ * var users = [
2920
+ * { 'user': 'barney', 'age': 36, 'active': true },
2921
+ * { 'user': 'fred', 'age': 40, 'active': false }
2922
+ * ];
2923
+ *
2924
+ * _.filter(users, function(o) { return !o.active; });
2925
+ * // => objects for ['fred']
2926
+ *
2927
+ * // The `_.matches` iteratee shorthand.
2928
+ * _.filter(users, { 'age': 36, 'active': true });
2929
+ * // => objects for ['barney']
2930
+ *
2931
+ * // The `_.matchesProperty` iteratee shorthand.
2932
+ * _.filter(users, ['active', false]);
2933
+ * // => objects for ['fred']
2934
+ *
2935
+ * // The `_.property` iteratee shorthand.
2936
+ * _.filter(users, 'active');
2937
+ * // => objects for ['barney']
2938
+ *
2939
+ * // Combining several predicates using `_.overEvery` or `_.overSome`.
2940
+ * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
2941
+ * // => objects for ['fred', 'barney']
2942
+ */
2943
+ function filter(collection, predicate) {
2944
+ return (isArray(collection) ? arrayFilter : baseFilter)(collection, baseIteratee(predicate, 3));
2945
+ }
2946
+
2947
+ //#endregion
2948
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseValues.js
2949
+ /**
2950
+ * The base implementation of `_.values` and `_.valuesIn` which creates an
2951
+ * array of `object` property values corresponding to the property names
2952
+ * of `props`.
2953
+ *
2954
+ * @private
2955
+ * @param {Object} object The object to query.
2956
+ * @param {Array} props The property names to get values for.
2957
+ * @returns {Object} Returns the array of property values.
2958
+ */
2959
+ function baseValues(object, props) {
2960
+ return arrayMap(props, function(key) {
2961
+ return object[key];
2962
+ });
2963
+ }
2964
+
2965
+ //#endregion
2966
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/values.js
2967
+ /**
2968
+ * Creates an array of the own enumerable string keyed property values of `object`.
2969
+ *
2970
+ * **Note:** Non-object values are coerced to objects.
2971
+ *
2972
+ * @static
2973
+ * @since 0.1.0
2974
+ * @memberOf _
2975
+ * @category Object
2976
+ * @param {Object} object The object to query.
2977
+ * @returns {Array} Returns the array of property values.
2978
+ * @example
2979
+ *
2980
+ * function Foo() {
2981
+ * this.a = 1;
2982
+ * this.b = 2;
2983
+ * }
2984
+ *
2985
+ * Foo.prototype.c = 3;
2986
+ *
2987
+ * _.values(new Foo);
2988
+ * // => [1, 2] (iteration order is not guaranteed)
2989
+ *
2990
+ * _.values('hi');
2991
+ * // => ['h', 'i']
2992
+ */
2993
+ function values(object) {
2994
+ return object == null ? [] : baseValues(object, keys(object));
2995
+ }
2996
+
2997
+ //#endregion
2998
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
2999
+ /** `Object#toString` result references. */
3000
+ var mapTag = "[object Map]";
3001
+ var setTag = "[object Set]";
3002
+ /** Used to check objects for own properties. */
3003
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
3004
+ /**
3005
+ * Checks if `value` is an empty object, collection, map, or set.
3006
+ *
3007
+ * Objects are considered empty if they have no own enumerable string keyed
3008
+ * properties.
3009
+ *
3010
+ * Array-like values such as `arguments` objects, arrays, buffers, strings, or
3011
+ * jQuery-like collections are considered empty if they have a `length` of `0`.
3012
+ * Similarly, maps and sets are considered empty if they have a `size` of `0`.
3013
+ *
3014
+ * @static
3015
+ * @memberOf _
3016
+ * @since 0.1.0
3017
+ * @category Lang
3018
+ * @param {*} value The value to check.
3019
+ * @returns {boolean} Returns `true` if `value` is empty, else `false`.
3020
+ * @example
3021
+ *
3022
+ * _.isEmpty(null);
3023
+ * // => true
3024
+ *
3025
+ * _.isEmpty(true);
3026
+ * // => true
3027
+ *
3028
+ * _.isEmpty(1);
3029
+ * // => true
3030
+ *
3031
+ * _.isEmpty([1, 2, 3]);
3032
+ * // => false
3033
+ *
3034
+ * _.isEmpty({ 'a': 1 });
3035
+ * // => false
3036
+ */
3037
+ function isEmpty(value) {
3038
+ if (value == null) return true;
3039
+ if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) return !value.length;
3040
+ var tag = _getTag_default(value);
3041
+ if (tag == mapTag || tag == setTag) return !value.size;
3042
+ if (isPrototype(value)) return !baseKeys(value).length;
3043
+ for (var key in value) if (hasOwnProperty.call(value, key)) return false;
3044
+ return true;
3045
+ }
3046
+
3047
+ //#endregion
3048
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.js
3049
+ /**
3050
+ * Checks if `value` is `undefined`.
3051
+ *
3052
+ * @static
3053
+ * @since 0.1.0
3054
+ * @memberOf _
3055
+ * @category Lang
3056
+ * @param {*} value The value to check.
3057
+ * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
3058
+ * @example
3059
+ *
3060
+ * _.isUndefined(void 0);
3061
+ * // => true
3062
+ *
3063
+ * _.isUndefined(null);
3064
+ * // => false
3065
+ */
3066
+ function isUndefined(value) {
3067
+ return value === void 0;
3068
+ }
3069
+
3070
+ //#endregion
3071
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js
3072
+ /**
3073
+ * The base implementation of `_.reduce` and `_.reduceRight`, without support
3074
+ * for iteratee shorthands, which iterates over `collection` using `eachFunc`.
3075
+ *
3076
+ * @private
3077
+ * @param {Array|Object} collection The collection to iterate over.
3078
+ * @param {Function} iteratee The function invoked per iteration.
3079
+ * @param {*} accumulator The initial value.
3080
+ * @param {boolean} initAccum Specify using the first or last element of
3081
+ * `collection` as the initial value.
3082
+ * @param {Function} eachFunc The function to iterate over `collection`.
3083
+ * @returns {*} Returns the accumulated value.
3084
+ */
3085
+ function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
3086
+ eachFunc(collection, function(value, index, collection) {
3087
+ accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection);
3088
+ });
3089
+ return accumulator;
3090
+ }
3091
+
3092
+ //#endregion
3093
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/reduce.js
3094
+ /**
3095
+ * Reduces `collection` to a value which is the accumulated result of running
3096
+ * each element in `collection` thru `iteratee`, where each successive
3097
+ * invocation is supplied the return value of the previous. If `accumulator`
3098
+ * is not given, the first element of `collection` is used as the initial
3099
+ * value. The iteratee is invoked with four arguments:
3100
+ * (accumulator, value, index|key, collection).
3101
+ *
3102
+ * Many lodash methods are guarded to work as iteratees for methods like
3103
+ * `_.reduce`, `_.reduceRight`, and `_.transform`.
3104
+ *
3105
+ * The guarded methods are:
3106
+ * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,
3107
+ * and `sortBy`
3108
+ *
3109
+ * @static
3110
+ * @memberOf _
3111
+ * @since 0.1.0
3112
+ * @category Collection
3113
+ * @param {Array|Object} collection The collection to iterate over.
3114
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
3115
+ * @param {*} [accumulator] The initial value.
3116
+ * @returns {*} Returns the accumulated value.
3117
+ * @see _.reduceRight
3118
+ * @example
3119
+ *
3120
+ * _.reduce([1, 2], function(sum, n) {
3121
+ * return sum + n;
3122
+ * }, 0);
3123
+ * // => 3
3124
+ *
3125
+ * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {
3126
+ * (result[value] || (result[value] = [])).push(key);
3127
+ * return result;
3128
+ * }, {});
3129
+ * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)
3130
+ */
3131
+ function reduce(collection, iteratee, accumulator) {
3132
+ var func = isArray(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
3133
+ return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);
3134
+ }
3135
+
3136
+ //#endregion
3137
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js
3138
+ /**
3139
+ * Creates a set object of `values`.
3140
+ *
3141
+ * @private
3142
+ * @param {Array} values The values to add to the set.
3143
+ * @returns {Object} Returns the new set.
3144
+ */
3145
+ var createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == Infinity) ? noop : function(values) {
3146
+ return new Set(values);
3147
+ };
3148
+
3149
+ //#endregion
3150
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js
3151
+ /** Used as the size to enable large array optimizations. */
3152
+ var LARGE_ARRAY_SIZE = 200;
3153
+ /**
3154
+ * The base implementation of `_.uniqBy` without support for iteratee shorthands.
3155
+ *
3156
+ * @private
3157
+ * @param {Array} array The array to inspect.
3158
+ * @param {Function} [iteratee] The iteratee invoked per element.
3159
+ * @param {Function} [comparator] The comparator invoked per element.
3160
+ * @returns {Array} Returns the new duplicate free array.
3161
+ */
3162
+ function baseUniq(array, iteratee, comparator) {
3163
+ var index = -1, includes = arrayIncludes, length = array.length, isCommon = true, result = [], seen = result;
3164
+ if (comparator) {
3165
+ isCommon = false;
3166
+ includes = arrayIncludesWith;
3167
+ } else if (length >= LARGE_ARRAY_SIZE) {
3168
+ var set = iteratee ? null : createSet(array);
3169
+ if (set) return setToArray(set);
3170
+ isCommon = false;
3171
+ includes = cacheHas;
3172
+ seen = new SetCache();
3173
+ } else seen = iteratee ? [] : result;
3174
+ outer: while (++index < length) {
3175
+ var value = array[index], computed = iteratee ? iteratee(value) : value;
3176
+ value = comparator || value !== 0 ? value : 0;
3177
+ if (isCommon && computed === computed) {
3178
+ var seenIndex = seen.length;
3179
+ while (seenIndex--) if (seen[seenIndex] === computed) continue outer;
3180
+ if (iteratee) seen.push(computed);
3181
+ result.push(value);
3182
+ } else if (!includes(seen, computed, comparator)) {
3183
+ if (seen !== result) seen.push(computed);
3184
+ result.push(value);
3185
+ }
3186
+ }
3187
+ return result;
3188
+ }
3189
+
3190
+ //#endregion
3191
+ //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/union.js
3192
+ /**
3193
+ * Creates an array of unique values, in order, from all given arrays using
3194
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3195
+ * for equality comparisons.
3196
+ *
3197
+ * @static
3198
+ * @memberOf _
3199
+ * @since 0.1.0
3200
+ * @category Array
3201
+ * @param {...Array} [arrays] The arrays to inspect.
3202
+ * @returns {Array} Returns the new array of combined values.
3203
+ * @example
3204
+ *
3205
+ * _.union([2], [1, 2]);
3206
+ * // => [2, 1]
3207
+ */
3208
+ var union = baseRest(function(arrays) {
3209
+ return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
3210
+ });
3211
+
3212
+ //#endregion
3213
+ //#region ../../node_modules/.pnpm/dagre-d3-es@7.0.14/node_modules/dagre-d3-es/src/graphlib/graph.js
3214
+ var DEFAULT_EDGE_NAME = "\0";
3215
+ var GRAPH_NODE = "\0";
3216
+ var EDGE_KEY_DELIM = "";
3217
+ /**
3218
+ * @typedef {string} NodeID ID of a node.
3219
+ */
3220
+ /**
3221
+ * @typedef {`${string}${typeof EDGE_KEY_DELIM}${string}${typeof EDGE_KEY_DELIM}${string}`} EdgeID ID of an edge.
3222
+ * @internal - All public APIs use {@link EdgeObj} instead to refer to edges.
3223
+ */
3224
+ /**
3225
+ * @typedef {object} EdgeObj
3226
+ * @property {NodeID} v the id of the source or tail node of an edge
3227
+ * @property {NodeID} w the id of the target or head node of an edge
3228
+ * @property {string | number} [name] Name of the edge. Needed to uniquely identify
3229
+ * multiple edges between the same pair of nodes in a multigraph.
3230
+ */
3231
+ /**
3232
+ * @template {unknown} T
3233
+ * @typedef {T[] | Record<any, T>} Collection
3234
+ * Lodash object that can be iterated over with `_.each`.
3235
+ *
3236
+ * Beware, objects with `.length` are treated as arrays, see
3237
+ * https://lodash.com/docs/4.17.15#forEach
3238
+ */
3239
+ /**
3240
+ * @typedef {object} GraphOptions
3241
+ * @property {boolean | undefined} [directed] - set to `true` to get a
3242
+ * directed graph and `false` to get an undirected graph.
3243
+ * An undirected graph does not treat the order of nodes in an edge as
3244
+ * significant.
3245
+ * In other words, `g.edge("a", "b") === g.edge("b", "a")` for
3246
+ * an undirected graph.
3247
+ * Default: `true`
3248
+ * @property {boolean | undefined} [multigraph] - set to `true` to allow a
3249
+ * graph to have multiple edges between the same pair of nodes.
3250
+ * Default: `false`.
3251
+ * @property {boolean | undefined} [compound] - set to `true` to allow a
3252
+ * graph to have compound nodes - nodes which can be the parent of other
3253
+ * nodes.
3254
+ * Default: `false`.
3255
+ */
3256
+ /**
3257
+ * Graphlib has a single graph type: {@link Graph}. To create a new instance:
3258
+ *
3259
+ * ```js
3260
+ * var g = new Graph();
3261
+ * ```
3262
+ *
3263
+ * By default this will create a directed graph that does not allow multi-edges
3264
+ * or compound nodes.
3265
+ * The following options can be used when constructing a new graph:
3266
+ *
3267
+ * * {@link GraphOptions#directed}: set to `true` to get a directed graph and `false` to get an
3268
+ * undirected graph.
3269
+ * An undirected graph does not treat the order of nodes in an edge as
3270
+ * significant. In other words,
3271
+ * `g.edge("a", "b") === g.edge("b", "a")` for an undirected graph.
3272
+ * Default: `true`.
3273
+ * * {@link GraphOptions#multigraph}: set to `true` to allow a graph to have multiple edges
3274
+ * between the same pair of nodes. Default: `false`.
3275
+ * * {@link GraphOptions#compound}: set to `true` to allow a graph to have compound nodes -
3276
+ * nodes which can be the parent of other nodes. Default: `false`.
3277
+ *
3278
+ * To set the options, pass in an options object to the `Graph` constructor.
3279
+ * For example, to create a directed compound multigraph:
3280
+ *
3281
+ * ```js
3282
+ * var g = new Graph({ directed: true, compound: true, multigraph: true });
3283
+ * ```
3284
+ *
3285
+ * ### Node and Edge Representation
3286
+ *
3287
+ * In graphlib, a node is represented by a user-supplied String id.
3288
+ * All node related functions use this String id as a way to uniquely identify
3289
+ * the node. Here is an example of interacting with nodes:
3290
+ *
3291
+ * ```js
3292
+ * var g = new Graph();
3293
+ * g.setNode("my-id", "my-label");
3294
+ * g.node("my-id"); // returns "my-label"
3295
+ * ```
3296
+ *
3297
+ * Edges in graphlib are identified by the nodes they connect. For example:
3298
+ *
3299
+ * ```js
3300
+ * var g = new Graph();
3301
+ * g.setEdge("source", "target", "my-label");
3302
+ * g.edge("source", "target"); // returns "my-label"
3303
+ * ```
3304
+ *
3305
+ * However, we need a way to uniquely identify an edge in a single object for
3306
+ * various edge queries (e.g. {@link Graph#outEdges}).
3307
+ * We use {@link EdgeObj}s for this purpose.
3308
+ * They consist of the following properties:
3309
+ *
3310
+ * * {@link EdgeObj#v}: the id of the source or tail node of an edge
3311
+ * * {@link EdgeObj#w}: the id of the target or head node of an edge
3312
+ * * {@link EdgeObj#name} (optional): the name that uniquely identifies a multiedge.
3313
+ *
3314
+ * Any edge function that takes an edge id will also work with an {@link EdgeObj}. For example:
3315
+ *
3316
+ * ```js
3317
+ * var g = new Graph();
3318
+ * g.setEdge("source", "target", "my-label");
3319
+ * g.edge({ v: "source", w: "target" }); // returns "my-label"
3320
+ * ```
3321
+ *
3322
+ * ### Multigraphs
3323
+ *
3324
+ * A [multigraph](https://en.wikipedia.org/wiki/Multigraph) is a graph that can
3325
+ * have more than one edge between the same pair of nodes.
3326
+ * By default graphlib graphs are not multigraphs, but a multigraph can be
3327
+ * constructed by setting the {@link GraphOptions#multigraph} property to true:
3328
+ *
3329
+ * ```js
3330
+ * var g = new Graph({ multigraph: true });
3331
+ * ```
3332
+ *
3333
+ * With multiple edges between two nodes we need some way to uniquely identify
3334
+ * each edge. We call this the {@link EdgeObj#name} property.
3335
+ * Here's an example of creating a couple of edges between the same nodes:
3336
+ *
3337
+ * ```js
3338
+ * var g = new Graph({ multigraph: true });
3339
+ * g.setEdge("a", "b", "edge1-label", "edge1");
3340
+ * g.setEdge("a", "b", "edge2-label", "edge2");
3341
+ * g.edge("a", "b", "edge1"); // returns "edge1-label"
3342
+ * g.edge("a", "b", "edge2"); // returns "edge2-label"
3343
+ * g.edges(); // returns [{ v: "a", w: "b", name: "edge1" },
3344
+ * // { v: "a", w: "b", name: "edge2" }]
3345
+ * ```
3346
+ *
3347
+ * A multigraph still allows an edge with no name to be created:
3348
+ *
3349
+ * ```js
3350
+ * var g = new Graph({ multigraph: true });
3351
+ * g.setEdge("a", "b", "my-label");
3352
+ * g.edge({ v: "a", w: "b" }); // returns "my-label"
3353
+ * ```
3354
+ *
3355
+ * ### Compound Graphs
3356
+ *
3357
+ * A compound graph is one where a node can be the parent of other nodes.
3358
+ * The child nodes form a "subgraph".
3359
+ * Here's an example of constructing and interacting with a compound graph:
3360
+ *
3361
+ * ```js
3362
+ * var g = new Graph({ compound: true });
3363
+ * g.setParent("a", "parent");
3364
+ * g.setParent("b", "parent");
3365
+ * g.parent("a"); // returns "parent"
3366
+ * g.parent("b"); // returns "parent"
3367
+ * g.parent("parent"); // returns undefined
3368
+ * ```
3369
+ *
3370
+ * ### Default Labels
3371
+ *
3372
+ * When a node or edge is created without a label, a default label can be assigned.
3373
+ * See {@link setDefaultNodeLabel} and {@link setDefaultEdgeLabel}.
3374
+ *
3375
+ * @template [GraphLabel=any] - Label of the graph.
3376
+ * @template [NodeLabel=any] - Label of a node.
3377
+ * Even though this is a "label", this could be any type that the user requires
3378
+ * (and may need to be an object for some layout/ranking algorithms in dagre).
3379
+ * @template [EdgeLabel=any] - Label of an edge.
3380
+ * Even though this is a "label", this could be any type that the user requires,
3381
+ * (and may need to be a object for ranking in dagre).
3382
+ */
3383
+ var Graph = class {
3384
+ /**
3385
+ * @param {GraphOptions} [opts] - Graph options.
3386
+ */
3387
+ constructor(opts = {}) {
3388
+ /**
3389
+ * @type {boolean}
3390
+ * @private
3391
+ */
3392
+ this._isDirected = Object.prototype.hasOwnProperty.call(opts, "directed") ? opts.directed : true;
3393
+ /**
3394
+ * @type {boolean}
3395
+ * @private
3396
+ */
3397
+ this._isMultigraph = Object.prototype.hasOwnProperty.call(opts, "multigraph") ? opts.multigraph : false;
3398
+ /**
3399
+ * @type {boolean}
3400
+ * @private
3401
+ */
3402
+ this._isCompound = Object.prototype.hasOwnProperty.call(opts, "compound") ? opts.compound : false;
3403
+ /**
3404
+ * @type {GraphLabel | undefined}
3405
+ * Label for the graph itself
3406
+ */
3407
+ this._label = void 0;
3408
+ /**
3409
+ * Default label to be set when creating a new node.
3410
+ *
3411
+ * @private
3412
+ * @type {(v: NodeID | number) => NodeLabel}
3413
+ */
3414
+ this._defaultNodeLabelFn = constant(void 0);
3415
+ /**
3416
+ * Default label to be set when creating a new edge
3417
+ *
3418
+ * @private
3419
+ * @type {(v: NodeID, w: NodeID, name: string | undefined) => EdgeLabel}
3420
+ */
3421
+ this._defaultEdgeLabelFn = constant(void 0);
3422
+ /**
3423
+ * @type {Record<NodeID, NodeLabel>}
3424
+ * @private
3425
+ *
3426
+ * v -> label
3427
+ */
3428
+ this._nodes = {};
3429
+ if (this._isCompound) {
3430
+ /**
3431
+ * @type {Record<NodeID, NodeID>}
3432
+ * @private
3433
+ * v -> parent
3434
+ */
3435
+ this._parent = {};
3436
+ /**
3437
+ * @type {Record<NodeID, Record<NodeID, true>>}
3438
+ * @private
3439
+ * v -> children
3440
+ */
3441
+ this._children = {};
3442
+ this._children[GRAPH_NODE] = {};
3443
+ }
3444
+ /**
3445
+ * @type {Record<NodeID, Record<EdgeID, EdgeObj>>}
3446
+ * @private
3447
+ * v -> edgeObj
3448
+ */
3449
+ this._in = {};
3450
+ /**
3451
+ * @type {Record<NodeID, Record<NodeID, number>>}
3452
+ * @private
3453
+ * u -> v -> Number
3454
+ */
3455
+ this._preds = {};
3456
+ /**
3457
+ * @type {Record<NodeID, Record<EdgeID, EdgeObj>>}
3458
+ * @private
3459
+ * v -> edgeObj
3460
+ */
3461
+ this._out = {};
3462
+ /**
3463
+ * @type {Record<NodeID, Record<NodeID, number>>}
3464
+ * @private
3465
+ * v -> w -> Number
3466
+ */
3467
+ this._sucs = {};
3468
+ /**
3469
+ * @type {Record<EdgeID, EdgeObj>}
3470
+ * @private
3471
+ * e -> edgeObj
3472
+ */
3473
+ this._edgeObjs = {};
3474
+ /**
3475
+ * @type {Record<EdgeID, EdgeLabel>}
3476
+ * @private
3477
+ * e -> label
3478
+ */
3479
+ this._edgeLabels = {};
3480
+ }
3481
+ /**
3482
+ *
3483
+ * @returns {boolean} `true` if the graph is [directed](https://en.wikipedia.org/wiki/Directed_graph).
3484
+ * A directed graph treats the order of nodes in an edge as significant whereas an
3485
+ * [undirected](https://en.wikipedia.org/wiki/Graph_(mathematics)#Undirected_graph)
3486
+ * graph does not.
3487
+ * This example demonstrates the difference:
3488
+ *
3489
+ * @example
3490
+ *
3491
+ * ```js
3492
+ * var directed = new Graph({ directed: true });
3493
+ * directed.setEdge("a", "b", "my-label");
3494
+ * directed.edge("a", "b"); // returns "my-label"
3495
+ * directed.edge("b", "a"); // returns undefined
3496
+ *
3497
+ * var undirected = new Graph({ directed: false });
3498
+ * undirected.setEdge("a", "b", "my-label");
3499
+ * undirected.edge("a", "b"); // returns "my-label"
3500
+ * undirected.edge("b", "a"); // returns "my-label"
3501
+ * ```
3502
+ */
3503
+ isDirected() {
3504
+ return this._isDirected;
3505
+ }
3506
+ /**
3507
+ * @returns {boolean} `true` if the graph is a multigraph.
3508
+ */
3509
+ isMultigraph() {
3510
+ return this._isMultigraph;
3511
+ }
3512
+ /**
3513
+ * @returns {boolean} `true` if the graph is compound.
3514
+ */
3515
+ isCompound() {
3516
+ return this._isCompound;
3517
+ }
3518
+ /**
3519
+ * Sets the label for the graph to `label`.
3520
+ *
3521
+ * @param {GraphLabel} label - Label for the graph.
3522
+ * @returns {this}
3523
+ */
3524
+ setGraph(label) {
3525
+ this._label = label;
3526
+ return this;
3527
+ }
3528
+ /**
3529
+ * @returns {GraphLabel | undefined} the currently assigned label for the graph.
3530
+ * If no label has been assigned, returns `undefined`.
3531
+ *
3532
+ * @example
3533
+ *
3534
+ * ```js
3535
+ * var g = new Graph();
3536
+ * g.graph(); // returns undefined
3537
+ * g.setGraph("graph-label");
3538
+ * g.graph(); // returns "graph-label"
3539
+ * ```
3540
+ */
3541
+ graph() {
3542
+ return this._label;
3543
+ }
3544
+ /**
3545
+ * Sets a new default value that is assigned to nodes that are created without
3546
+ * a label.
3547
+ *
3548
+ * @param {typeof this._defaultNodeLabelFn | NodeLabel} newDefault - If a function,
3549
+ * it is called with the id of the node being created.
3550
+ * Otherwise, it is assigned as the label directly.
3551
+ * @returns {this}
3552
+ */
3553
+ setDefaultNodeLabel(newDefault) {
3554
+ if (!isFunction(newDefault)) newDefault = constant(newDefault);
3555
+ this._defaultNodeLabelFn = newDefault;
3556
+ return this;
3557
+ }
3558
+ /**
3559
+ * @returns {number} the number of nodes in the graph.
3560
+ */
3561
+ nodeCount() {
3562
+ return this._nodeCount;
3563
+ }
3564
+ /**
3565
+ * @returns {NodeID[]} the ids of the nodes in the graph.
3566
+ *
3567
+ * @remarks
3568
+ * Use {@link node()} to get the label for each node.
3569
+ * Takes `O(|V|)` time.
3570
+ */
3571
+ nodes() {
3572
+ return keys(this._nodes);
3573
+ }
3574
+ /**
3575
+ * @returns {NodeID[]} those nodes in the graph that have no in-edges.
3576
+ * @remarks Takes `O(|V|)` time.
3577
+ */
3578
+ sources() {
3579
+ var self = this;
3580
+ return filter(this.nodes(), function(v) {
3581
+ return isEmpty(self._in[v]);
3582
+ });
3583
+ }
3584
+ /**
3585
+ * @returns {NodeID[]} those nodes in the graph that have no out-edges.
3586
+ * @remarks Takes `O(|V|)` time.
3587
+ */
3588
+ sinks() {
3589
+ var self = this;
3590
+ return filter(this.nodes(), function(v) {
3591
+ return isEmpty(self._out[v]);
3592
+ });
3593
+ }
3594
+ /**
3595
+ * Invokes setNode method for each node in `vs` list.
3596
+ *
3597
+ * @param {Collection<NodeID | number>} vs - List of node IDs to create/set.
3598
+ * @param {NodeLabel} [value] - If set, update all nodes with this value.
3599
+ * @returns {this}
3600
+ * @remarks Complexity: O(|names|).
3601
+ */
3602
+ setNodes(vs, value) {
3603
+ var args = arguments;
3604
+ var self = this;
3605
+ forEach(vs, function(v) {
3606
+ if (args.length > 1) self.setNode(v, value);
3607
+ else self.setNode(v);
3608
+ });
3609
+ return this;
3610
+ }
3611
+ /**
3612
+ * Creates or updates the value for the node `v` in the graph.
3613
+ *
3614
+ * @param {NodeID | number} v - ID of the node to create/set.
3615
+ * @param {NodeLabel} [value] - If supplied, it is set as the value for the node.
3616
+ * If not supplied and the node was created by this call then
3617
+ * {@link setDefaultNodeLabel} will be used to set the node's value.
3618
+ * @returns {this} the graph, allowing this to be chained with other functions.
3619
+ * @remarks Takes `O(1)` time.
3620
+ */
3621
+ setNode(v, value) {
3622
+ if (Object.prototype.hasOwnProperty.call(this._nodes, v)) {
3623
+ if (arguments.length > 1) this._nodes[v] = value;
3624
+ return this;
3625
+ }
3626
+ this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);
3627
+ if (this._isCompound) {
3628
+ this._parent[v] = GRAPH_NODE;
3629
+ this._children[v] = {};
3630
+ this._children[GRAPH_NODE][v] = true;
3631
+ }
3632
+ this._in[v] = {};
3633
+ this._preds[v] = {};
3634
+ this._out[v] = {};
3635
+ this._sucs[v] = {};
3636
+ ++this._nodeCount;
3637
+ return this;
3638
+ }
3639
+ /**
3640
+ * Gets the label of node with specified name.
3641
+ *
3642
+ * @param {NodeID | number} v - Node ID.
3643
+ * @returns {NodeLabel | undefined} the label assigned to the node with the id `v`
3644
+ * if it is in the graph.
3645
+ * Otherwise returns `undefined`.
3646
+ * @remarks Takes `O(1)` time.
3647
+ */
3648
+ node(v) {
3649
+ return this._nodes[v];
3650
+ }
3651
+ /**
3652
+ * Detects whether graph has a node with specified name or not.
3653
+ *
3654
+ * @param {NodeID | number} v - Node ID.
3655
+ * @returns {boolean} Returns `true` the graph has a node with the id.
3656
+ * @remarks Takes `O(1)` time.
3657
+ */
3658
+ hasNode(v) {
3659
+ return Object.prototype.hasOwnProperty.call(this._nodes, v);
3660
+ }
3661
+ /**
3662
+ * Remove the node with the id `v` in the graph or do nothing if the node is
3663
+ * not in the graph.
3664
+ *
3665
+ * If the node was removed this function also removes any incident edges.
3666
+ *
3667
+ * @param {NodeID | number} v - Node ID to remove.
3668
+ * @returns {this} the graph, allowing this to be chained with other functions.
3669
+ * @remarks Takes `O(|E|)` time.
3670
+ */
3671
+ removeNode(v) {
3672
+ if (Object.prototype.hasOwnProperty.call(this._nodes, v)) {
3673
+ var removeEdge = (e) => this.removeEdge(this._edgeObjs[e]);
3674
+ delete this._nodes[v];
3675
+ if (this._isCompound) {
3676
+ this._removeFromParentsChildList(v);
3677
+ delete this._parent[v];
3678
+ forEach(this.children(v), (child) => {
3679
+ this.setParent(child);
3680
+ });
3681
+ delete this._children[v];
3682
+ }
3683
+ forEach(keys(this._in[v]), removeEdge);
3684
+ delete this._in[v];
3685
+ delete this._preds[v];
3686
+ forEach(keys(this._out[v]), removeEdge);
3687
+ delete this._out[v];
3688
+ delete this._sucs[v];
3689
+ --this._nodeCount;
3690
+ }
3691
+ return this;
3692
+ }
3693
+ /**
3694
+ * Sets the parent for `v` to `parent` if it is defined or removes the parent
3695
+ * for `v` if `parent` is undefined.
3696
+ *
3697
+ * @param {NodeID | number} v - Node ID to set the parent for.
3698
+ * @param {NodeID | number} [parent] - Parent node ID. If not defined, removes the parent.
3699
+ * @returns {this} the graph, allowing this to be chained with other functions.
3700
+ * @throws if the graph is not compound.
3701
+ * @throws if setting the parent would create a cycle.
3702
+ * @remarks Takes `O(1)` time.
3703
+ */
3704
+ setParent(v, parent) {
3705
+ if (!this._isCompound) throw new Error("Cannot set parent in a non-compound graph");
3706
+ if (isUndefined(parent)) parent = GRAPH_NODE;
3707
+ else {
3708
+ parent += "";
3709
+ for (var ancestor = parent; !isUndefined(ancestor); ancestor = this.parent(ancestor)) if (ancestor === v) throw new Error("Setting " + parent + " as parent of " + v + " would create a cycle");
3710
+ this.setNode(parent);
3711
+ }
3712
+ this.setNode(v);
3713
+ this._removeFromParentsChildList(v);
3714
+ this._parent[v] = parent;
3715
+ this._children[parent][v] = true;
3716
+ return this;
3717
+ }
3718
+ /**
3719
+ * @private
3720
+ * @param {NodeID | number} v - Node ID.
3721
+ */
3722
+ _removeFromParentsChildList(v) {
3723
+ delete this._children[this._parent[v]][v];
3724
+ }
3725
+ /**
3726
+ * Get parent node for node `v`.
3727
+ *
3728
+ * @param {NodeID | number} v - Node ID.
3729
+ * @returns {NodeID | undefined} the node that is a parent of node `v`
3730
+ * or `undefined` if node `v` does not have a parent or is not a member of
3731
+ * the graph.
3732
+ * Always returns `undefined` for graphs that are not compound.
3733
+ * @remarks Takes `O(1)` time.
3734
+ */
3735
+ parent(v) {
3736
+ if (this._isCompound) {
3737
+ var parent = this._parent[v];
3738
+ if (parent !== GRAPH_NODE) return parent;
3739
+ }
3740
+ }
3741
+ /**
3742
+ * Gets list of direct children of node v.
3743
+ *
3744
+ * @param {NodeID | number} [v] - Node ID. If not specified, gets nodes
3745
+ * with no parent (top-level nodes).
3746
+ * @returns {NodeID[] | undefined} all nodes that are children of node `v` or
3747
+ * `undefined` if node `v` is not in the graph.
3748
+ * Always returns `[]` for graphs that are not compound.
3749
+ * @remarks Takes `O(|V|)` time.
3750
+ */
3751
+ children(v) {
3752
+ if (isUndefined(v)) v = GRAPH_NODE;
3753
+ if (this._isCompound) {
3754
+ var children = this._children[v];
3755
+ if (children) return keys(children);
3756
+ } else if (v === GRAPH_NODE) return this.nodes();
3757
+ else if (this.hasNode(v)) return [];
3758
+ }
3759
+ /**
3760
+ * @param {NodeID | number} v - Node ID.
3761
+ * @returns {NodeID[] | undefined} all nodes that are predecessors of the
3762
+ * specified node or `undefined` if node `v` is not in the graph.
3763
+ * @remarks
3764
+ * Behavior is undefined for undirected graphs - use {@link neighbors} instead.
3765
+ * Takes `O(|V|)` time.
3766
+ */
3767
+ predecessors(v) {
3768
+ var predsV = this._preds[v];
3769
+ if (predsV) return keys(predsV);
3770
+ }
3771
+ /**
3772
+ * @param {NodeID | number} v - Node ID.
3773
+ * @returns {NodeID[] | undefined} all nodes that are successors of the
3774
+ * specified node or `undefined` if node `v` is not in the graph.
3775
+ * @remarks
3776
+ * Behavior is undefined for undirected graphs - use {@link neighbors} instead.
3777
+ * Takes `O(|V|)` time.
3778
+ */
3779
+ successors(v) {
3780
+ var sucsV = this._sucs[v];
3781
+ if (sucsV) return keys(sucsV);
3782
+ }
3783
+ /**
3784
+ * @param {NodeID | number} v - Node ID.
3785
+ * @returns {NodeID[] | undefined} all nodes that are predecessors or
3786
+ * successors of the specified node
3787
+ * or `undefined` if node `v` is not in the graph.
3788
+ * @remarks Takes `O(|V|)` time.
3789
+ */
3790
+ neighbors(v) {
3791
+ var preds = this.predecessors(v);
3792
+ if (preds) return union(preds, this.successors(v));
3793
+ }
3794
+ /**
3795
+ * @param {NodeID | number} v - Node ID.
3796
+ * @returns {boolean} True if the node is a leaf (has no successors), false otherwise.
3797
+ */
3798
+ isLeaf(v) {
3799
+ var neighbors;
3800
+ if (this.isDirected()) neighbors = this.successors(v);
3801
+ else neighbors = this.neighbors(v);
3802
+ return neighbors.length === 0;
3803
+ }
3804
+ /**
3805
+ * Creates new graph with nodes filtered via `filter`.
3806
+ * Edges incident to rejected node
3807
+ * are also removed.
3808
+ *
3809
+ * In case of compound graph, if parent is rejected by `filter`,
3810
+ * than all its children are rejected too.
3811
+
3812
+ * @param {(v: NodeID) => boolean} filter - Function that returns `true` for nodes to keep.
3813
+ * @returns {Graph<GraphLabel, NodeLabel, EdgeLabel>} A new graph containing only the nodes for which `filter` returns `true`.
3814
+ * @remarks Average-case complexity: O(|E|+|V|).
3815
+ */
3816
+ filterNodes(filter) {
3817
+ /**
3818
+ * @type {Graph<GraphLabel, NodeLabel, EdgeLabel>}
3819
+ */
3820
+ var copy = new this.constructor({
3821
+ directed: this._isDirected,
3822
+ multigraph: this._isMultigraph,
3823
+ compound: this._isCompound
3824
+ });
3825
+ copy.setGraph(this.graph());
3826
+ var self = this;
3827
+ forEach(this._nodes, function(value, v) {
3828
+ if (filter(v)) copy.setNode(v, value);
3829
+ });
3830
+ forEach(this._edgeObjs, function(e) {
3831
+ if (copy.hasNode(e.v) && copy.hasNode(e.w)) copy.setEdge(e, self.edge(e));
3832
+ });
3833
+ var parents = {};
3834
+ function findParent(v) {
3835
+ var parent = self.parent(v);
3836
+ if (parent === void 0 || copy.hasNode(parent)) {
3837
+ parents[v] = parent;
3838
+ return parent;
3839
+ } else if (parent in parents) return parents[parent];
3840
+ else return findParent(parent);
3841
+ }
3842
+ if (this._isCompound) forEach(copy.nodes(), function(v) {
3843
+ copy.setParent(v, findParent(v));
3844
+ });
3845
+ return copy;
3846
+ }
3847
+ /**
3848
+ * Sets a new default value that is assigned to edges that are created without
3849
+ * a label.
3850
+ *
3851
+ * @param {typeof this._defaultEdgeLabelFn | EdgeLabel} newDefault - If a function,
3852
+ * it is called with the parameters `(v, w, name)`.
3853
+ * Otherwise, it is assigned as the label directly.
3854
+ * @returns {this}
3855
+ */
3856
+ setDefaultEdgeLabel(newDefault) {
3857
+ if (!isFunction(newDefault)) newDefault = constant(newDefault);
3858
+ this._defaultEdgeLabelFn = newDefault;
3859
+ return this;
3860
+ }
3861
+ /**
3862
+ * @returns {number} the number of edges in the graph.
3863
+ * @remarks Complexity: O(1).
3864
+ */
3865
+ edgeCount() {
3866
+ return this._edgeCount;
3867
+ }
3868
+ /**
3869
+ * Gets edges of the graph.
3870
+ *
3871
+ * @returns {EdgeObj[]} the {@link EdgeObj} for each edge in the graph.
3872
+ *
3873
+ * @remarks
3874
+ * In case of compound graph subgraphs are not considered.
3875
+ * Use {@link edge()} to get the label for each edge.
3876
+ * Takes `O(|E|)` time.
3877
+ */
3878
+ edges() {
3879
+ return values(this._edgeObjs);
3880
+ }
3881
+ /**
3882
+ * Establish an edges path over the nodes in nodes list.
3883
+ *
3884
+ * If some edge is already exists, it will update its label, otherwise it will
3885
+ * create an edge between pair of nodes with label provided or default label
3886
+ * if no label provided.
3887
+ *
3888
+ * @param {Collection<NodeID>} vs - List of node IDs to create edges between.
3889
+ * @param {EdgeLabel} [value] - If set, update all edges with this value.
3890
+ * @returns {this}
3891
+ * @remarks Complexity: O(|nodes|).
3892
+ */
3893
+ setPath(vs, value) {
3894
+ var self = this;
3895
+ var args = arguments;
3896
+ reduce(vs, function(v, w) {
3897
+ if (args.length > 1) self.setEdge(v, w, value);
3898
+ else self.setEdge(v, w);
3899
+ return w;
3900
+ });
3901
+ return this;
3902
+ }
3903
+ /**
3904
+ * Creates or updates the label for the edge (`v`, `w`) with the optionally
3905
+ * supplied `name`.
3906
+ *
3907
+ * @overload
3908
+ * @param {EdgeObj} arg0 - Edge object.
3909
+ * @param {EdgeLabel} [value] - If supplied, it is set as the label for the edge.
3910
+ * If not supplied and the edge was created by this call then
3911
+ * {@link setDefaultEdgeLabel} will be used to assign the edge's label.
3912
+ * @returns {this} the graph, allowing this to be chained with other functions.
3913
+ * @remarks Takes `O(1)` time.
3914
+ */
3915
+ /**
3916
+ * Creates or updates the label for the edge (`v`, `w`) with the optionally
3917
+ * supplied `name`.
3918
+ *
3919
+ * @overload
3920
+ * @param {NodeID | number} v - Source node ID. Number values will be coerced to strings.
3921
+ * @param {NodeID | number} w - Target node ID. Number values will be coerced to strings.
3922
+ * @param {EdgeLabel} [value] - If supplied, it is set as the label for the edge.
3923
+ * If not supplied and the edge was created by this call then
3924
+ * {@link setDefaultEdgeLabel} will be used to assign the edge's label.
3925
+ * @param {string | number} [name] - Edge name. Only useful with multigraphs.
3926
+ * @returns {this} the graph, allowing this to be chained with other functions.
3927
+ * @remarks Takes `O(1)` time.
3928
+ */
3929
+ setEdge() {
3930
+ var v, w, name, value;
3931
+ var valueSpecified = false;
3932
+ var arg0 = arguments[0];
3933
+ if (typeof arg0 === "object" && arg0 !== null && "v" in arg0) {
3934
+ v = arg0.v;
3935
+ w = arg0.w;
3936
+ name = arg0.name;
3937
+ if (arguments.length === 2) {
3938
+ value = arguments[1];
3939
+ valueSpecified = true;
3940
+ }
3941
+ } else {
3942
+ v = arg0;
3943
+ w = arguments[1];
3944
+ name = arguments[3];
3945
+ if (arguments.length > 2) {
3946
+ value = arguments[2];
3947
+ valueSpecified = true;
3948
+ }
3949
+ }
3950
+ v = "" + v;
3951
+ w = "" + w;
3952
+ if (!isUndefined(name)) name = "" + name;
3953
+ var e = edgeArgsToId(this._isDirected, v, w, name);
3954
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, e)) {
3955
+ if (valueSpecified) this._edgeLabels[e] = value;
3956
+ return this;
3957
+ }
3958
+ if (!isUndefined(name) && !this._isMultigraph) throw new Error("Cannot set a named edge when isMultigraph = false");
3959
+ this.setNode(v);
3960
+ this.setNode(w);
3961
+ this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);
3962
+ var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);
3963
+ v = edgeObj.v;
3964
+ w = edgeObj.w;
3965
+ Object.freeze(edgeObj);
3966
+ this._edgeObjs[e] = edgeObj;
3967
+ incrementOrInitEntry(this._preds[w], v);
3968
+ incrementOrInitEntry(this._sucs[v], w);
3969
+ this._in[w][e] = edgeObj;
3970
+ this._out[v][e] = edgeObj;
3971
+ this._edgeCount++;
3972
+ return this;
3973
+ }
3974
+ /**
3975
+ * Gets the label for the specified edge.
3976
+ *
3977
+ * @overload
3978
+ * @param {EdgeObj} v - Edge object.
3979
+ * @returns {EdgeLabel | undefined} the label for the edge (`v`, `w`) if the
3980
+ * graph has an edge between `v` and `w` with the optional `name`.
3981
+ * Returned `undefined` if there is no such edge in the graph.
3982
+ * @remarks
3983
+ * `v` and `w` can be interchanged for undirected graphs.
3984
+ * Takes `O(1)` time.
3985
+ */
3986
+ /**
3987
+ * Gets the label for the specified edge.
3988
+ *
3989
+ * @overload
3990
+ * @param {NodeID | number} v - Source node ID.
3991
+ * @param {NodeID | number} w - Target node ID.
3992
+ * @param {string | number} [name] - Edge name. Only useful with multigraphs.
3993
+ * @returns {EdgeLabel | undefined} the label for the edge (`v`, `w`) if the
3994
+ * graph has an edge between `v` and `w` with the optional `name`.
3995
+ * Returned `undefined` if there is no such edge in the graph.
3996
+ * @remarks
3997
+ * `v` and `w` can be interchanged for undirected graphs.
3998
+ * Takes `O(1)` time.
3999
+ */
4000
+ edge(v, w, name) {
4001
+ var e = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, v, w, name);
4002
+ return this._edgeLabels[e];
4003
+ }
4004
+ /**
4005
+ * Detects whether the graph contains specified edge or not.
4006
+ *
4007
+ * @overload
4008
+ * @param {EdgeObj} v - Edge object.
4009
+ * @returns {boolean} `true` if the graph has an edge between `v` and `w`
4010
+ * with the optional `name`.
4011
+ * @remarks
4012
+ * `v` and `w` can be interchanged for undirected graphs.
4013
+ * No subgraphs are considered.
4014
+ * Takes `O(1)` time.
4015
+ */
4016
+ /**
4017
+ * Detects whether the graph contains specified edge or not.
4018
+ *
4019
+ * @overload
4020
+ * @param {NodeID | number} v - Source node ID.
4021
+ * @param {NodeID | number} w - Target node ID.
4022
+ * @param {string | number} [name] - Edge name. Only useful with multigraphs.
4023
+ * @returns {boolean} `true` if the graph has an edge between `v` and `w`
4024
+ * with the optional `name`.
4025
+ * @remarks
4026
+ * `v` and `w` can be interchanged for undirected graphs.
4027
+ * No subgraphs are considered.
4028
+ * Takes `O(1)` time.
4029
+ */
4030
+ hasEdge(v, w, name) {
4031
+ var e = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, v, w, name);
4032
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, e);
4033
+ }
4034
+ /**
4035
+ * Removes the edge (`v`, `w`) if the graph has an edge between `v` and `w`
4036
+ * with the optional `name`. If not this function does nothing.
4037
+ *
4038
+ * @overload
4039
+ * @param {EdgeObj} v - Edge object.
4040
+ * @returns {this}
4041
+ * @remarks
4042
+ * `v` and `w` can be interchanged for undirected graphs.
4043
+ * No subgraphs are considered.
4044
+ * Takes `O(1)` time.
4045
+ */
4046
+ /**
4047
+ * Removes the edge (`v`, `w`) if the graph has an edge between `v` and `w`
4048
+ * with the optional `name`. If not this function does nothing.
4049
+ *
4050
+ * @overload
4051
+ * @param {NodeID | number} v - Source node ID.
4052
+ * @param {NodeID | number} w - Target node ID.
4053
+ * @param {string | number} [name] - Edge name. Only useful with multigraphs.
4054
+ * @returns {this}
4055
+ * @remarks
4056
+ * `v` and `w` can be interchanged for undirected graphs.
4057
+ * Takes `O(1)` time.
4058
+ */
4059
+ removeEdge(v, w, name) {
4060
+ var e = arguments.length === 1 ? edgeObjToId(this._isDirected, arguments[0]) : edgeArgsToId(this._isDirected, v, w, name);
4061
+ var edge = this._edgeObjs[e];
4062
+ if (edge) {
4063
+ v = edge.v;
4064
+ w = edge.w;
4065
+ delete this._edgeLabels[e];
4066
+ delete this._edgeObjs[e];
4067
+ decrementOrRemoveEntry(this._preds[w], v);
4068
+ decrementOrRemoveEntry(this._sucs[v], w);
4069
+ delete this._in[w][e];
4070
+ delete this._out[v][e];
4071
+ this._edgeCount--;
4072
+ }
4073
+ return this;
4074
+ }
4075
+ /**
4076
+ * @param {NodeID | number} v - Target node ID.
4077
+ * @param {NodeID | number} [u] - Optionally filters edges down to just those
4078
+ * coming from node `u`.
4079
+ * @returns {EdgeObj[] | undefined} all edges that point to the node `v`.
4080
+ * Returns `undefined` if node `v` is not in the graph.
4081
+ * @remarks
4082
+ * Behavior is undefined for undirected graphs - use {@link nodeEdges} instead.
4083
+ * Takes `O(|E|)` time.
4084
+ */
4085
+ inEdges(v, u) {
4086
+ var inV = this._in[v];
4087
+ if (inV) {
4088
+ var edges = values(inV);
4089
+ if (!u) return edges;
4090
+ return filter(edges, function(edge) {
4091
+ return edge.v === u;
4092
+ });
4093
+ }
4094
+ }
4095
+ /**
4096
+ * @param {NodeID | number} v - Target node ID.
4097
+ * @param {NodeID | number} [w] - Optionally filters edges down to just those
4098
+ * that point to `w`.
4099
+ * @returns {EdgeObj[] | undefined} all edges that point to the node `v`.
4100
+ * Returns `undefined` if node `v` is not in the graph.
4101
+ * @remarks
4102
+ * Behavior is undefined for undirected graphs - use {@link nodeEdges} instead.
4103
+ * Takes `O(|E|)` time.
4104
+ */
4105
+ outEdges(v, w) {
4106
+ var outV = this._out[v];
4107
+ if (outV) {
4108
+ var edges = values(outV);
4109
+ if (!w) return edges;
4110
+ return filter(edges, function(edge) {
4111
+ return edge.w === w;
4112
+ });
4113
+ }
4114
+ }
4115
+ /**
4116
+ * @param {NodeID | number} v - Target Node ID.
4117
+ * @param {NodeID | number} [w] - If set, filters those edges down to just
4118
+ * those between nodes `v` and `w` regardless of direction
4119
+ * @returns {EdgeObj[] | undefined} all edges to or from node `v` regardless
4120
+ * of direction. Returns `undefined` if node `v` is not in the graph.
4121
+ * @remarks Takes `O(|E|)` time.
4122
+ */
4123
+ nodeEdges(v, w) {
4124
+ var inEdges = this.inEdges(v, w);
4125
+ if (inEdges) return inEdges.concat(this.outEdges(v, w));
4126
+ }
4127
+ };
4128
+ Graph.prototype._nodeCount = 0;
4129
+ Graph.prototype._edgeCount = 0;
4130
+ /**
4131
+ * @param {Record<NodeID, number>} map - Object mapping node IDs to counts.
4132
+ * @param {NodeID | number} k - Node ID.
4133
+ */
4134
+ function incrementOrInitEntry(map, k) {
4135
+ if (map[k]) map[k]++;
4136
+ else map[k] = 1;
4137
+ }
4138
+ /**
4139
+ * @param {Record<NodeID, number>} map - Object mapping node IDs to counts.
4140
+ * @param {NodeID | number} k - Node ID.
4141
+ */
4142
+ function decrementOrRemoveEntry(map, k) {
4143
+ if (!--map[k]) delete map[k];
4144
+ }
4145
+ /**
4146
+ * @param {boolean} isDirected - If `false`, sorts v and w to ensure a consistent ID.
4147
+ * @param {EdgeObj['v'] | number} v_ - Source node ID.
4148
+ * @param {EdgeObj['w'] | number} w_ - Target node ID.
4149
+ * @param {EdgeObj['name']} [name] - Edge name (for multiple edges between the same nodes).
4150
+ * @returns {EdgeID} Unique ID for the edge.
4151
+ */
4152
+ function edgeArgsToId(isDirected, v_, w_, name) {
4153
+ var v = "" + v_;
4154
+ var w = "" + w_;
4155
+ if (!isDirected && v > w) {
4156
+ var tmp = v;
4157
+ v = w;
4158
+ w = tmp;
4159
+ }
4160
+ return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM + (isUndefined(name) ? DEFAULT_EDGE_NAME : name);
4161
+ }
4162
+ /**
4163
+ * @param {boolean} isDirected - If `false`, sorts v and w to ensure a consistent ID.
4164
+ * @param {EdgeObj['v'] | number} v_ - Source node ID.
4165
+ * @param {EdgeObj['w'] | number} w_ - Target node ID.
4166
+ * @param {EdgeObj['name']} [name] - Edge name (for multiple edges between the same nodes).
4167
+ * @returns {EdgeObj}
4168
+ */
4169
+ function edgeArgsToObj(isDirected, v_, w_, name) {
4170
+ var v = "" + v_;
4171
+ var w = "" + w_;
4172
+ if (!isDirected && v > w) {
4173
+ var tmp = v;
4174
+ v = w;
4175
+ w = tmp;
4176
+ }
4177
+ var edgeObj = {
4178
+ v,
4179
+ w
4180
+ };
4181
+ if (name) edgeObj.name = name;
4182
+ return edgeObj;
4183
+ }
4184
+ /**
4185
+ * @param {boolean} isDirected - If `false`, sorts v and w to ensure a consistent ID.
4186
+ * @param {EdgeObj} edgeObj - Edge object.
4187
+ * @returns {EdgeID} Unique ID for the edge.
4188
+ */
4189
+ function edgeObjToId(isDirected, edgeObj) {
4190
+ return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);
4191
+ }
4192
+
4193
+ //#endregion
4194
+ export { arrayMap as $, baseKeys as A, baseRest as B, baseFlatten as C, castPath as D, toKey as E, baseUnary as F, arrayEach as G, eq as H, isBuffer as I, constant as J, setToString as K, isArguments as L, arrayLikeKeys as M, isTypedArray as N, toString as O, nodeUtil as P, isArray as Q, isPrototype as R, Stack as S, baseGet as T, isIndex as U, overRest as V, baseFindIndex as W, identity as X, isFunction as Y, isObject as Z, _getTag_default as _, filter as a, getSymbols as b, isArrayLikeObject as c, baseFor as d, isSymbol as et, baseIteratee as f, Uint8Array as g, hasPath as h, values as i, root as it, overArg as j, keys as k, baseEach as l, hasIn as m, reduce as n, baseGetTag as nt, forEach as o, baseProperty as p, defineProperty as q, isUndefined as r, Symbol as rt, castFunction as s, Graph as t, isObjectLike as tt, baseForOwn as u, getAllKeys as v, arrayPush as w, stubArray as x, baseGetAllKeys as y, isArrayLike as z };