@vue-vine/eslint-parser 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +2421 -35
- package/dist/index.mjs +2420 -34
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -1,10 +1,2396 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;var
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2;var __create = Object.create;
|
2
|
+
var __defProp = Object.defineProperty;
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
2
8
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
3
9
|
}) : x)(function(x) {
|
4
10
|
if (typeof require !== "undefined")
|
5
11
|
return require.apply(this, arguments);
|
6
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
7
13
|
});
|
14
|
+
var __commonJS = (cb, mod) => function __require2() {
|
15
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
16
|
+
};
|
17
|
+
var __copyProps = (to, from, except, desc) => {
|
18
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
19
|
+
for (let key of __getOwnPropNames(from))
|
20
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
21
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
22
|
+
}
|
23
|
+
return to;
|
24
|
+
};
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
26
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
27
|
+
// file that has been converted to a CommonJS file using a Babel-
|
28
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
29
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
30
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
31
|
+
mod
|
32
|
+
));
|
33
|
+
|
34
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js
|
35
|
+
var require_baseFindIndex = __commonJS({
|
36
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseFindIndex.js"(exports, module) {
|
37
|
+
"use strict";
|
38
|
+
function baseFindIndex(array, predicate, fromIndex, fromRight) {
|
39
|
+
var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
|
40
|
+
while (fromRight ? index-- : ++index < length) {
|
41
|
+
if (predicate(array[index], index, array)) {
|
42
|
+
return index;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
return -1;
|
46
|
+
}
|
47
|
+
module.exports = baseFindIndex;
|
48
|
+
}
|
49
|
+
});
|
50
|
+
|
51
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js
|
52
|
+
var require_listCacheClear = __commonJS({
|
53
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheClear.js"(exports, module) {
|
54
|
+
"use strict";
|
55
|
+
function listCacheClear() {
|
56
|
+
this.__data__ = [];
|
57
|
+
this.size = 0;
|
58
|
+
}
|
59
|
+
module.exports = listCacheClear;
|
60
|
+
}
|
61
|
+
});
|
62
|
+
|
63
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js
|
64
|
+
var require_eq = __commonJS({
|
65
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/eq.js"(exports, module) {
|
66
|
+
"use strict";
|
67
|
+
function eq(value, other) {
|
68
|
+
return value === other || value !== value && other !== other;
|
69
|
+
}
|
70
|
+
module.exports = eq;
|
71
|
+
}
|
72
|
+
});
|
73
|
+
|
74
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js
|
75
|
+
var require_assocIndexOf = __commonJS({
|
76
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_assocIndexOf.js"(exports, module) {
|
77
|
+
"use strict";
|
78
|
+
var eq = require_eq();
|
79
|
+
function assocIndexOf(array, key) {
|
80
|
+
var length = array.length;
|
81
|
+
while (length--) {
|
82
|
+
if (eq(array[length][0], key)) {
|
83
|
+
return length;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
return -1;
|
87
|
+
}
|
88
|
+
module.exports = assocIndexOf;
|
89
|
+
}
|
90
|
+
});
|
91
|
+
|
92
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js
|
93
|
+
var require_listCacheDelete = __commonJS({
|
94
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheDelete.js"(exports, module) {
|
95
|
+
"use strict";
|
96
|
+
var assocIndexOf = require_assocIndexOf();
|
97
|
+
var arrayProto = Array.prototype;
|
98
|
+
var splice = arrayProto.splice;
|
99
|
+
function listCacheDelete(key) {
|
100
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
101
|
+
if (index < 0) {
|
102
|
+
return false;
|
103
|
+
}
|
104
|
+
var lastIndex = data.length - 1;
|
105
|
+
if (index == lastIndex) {
|
106
|
+
data.pop();
|
107
|
+
} else {
|
108
|
+
splice.call(data, index, 1);
|
109
|
+
}
|
110
|
+
--this.size;
|
111
|
+
return true;
|
112
|
+
}
|
113
|
+
module.exports = listCacheDelete;
|
114
|
+
}
|
115
|
+
});
|
116
|
+
|
117
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js
|
118
|
+
var require_listCacheGet = __commonJS({
|
119
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheGet.js"(exports, module) {
|
120
|
+
"use strict";
|
121
|
+
var assocIndexOf = require_assocIndexOf();
|
122
|
+
function listCacheGet(key) {
|
123
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
124
|
+
return index < 0 ? void 0 : data[index][1];
|
125
|
+
}
|
126
|
+
module.exports = listCacheGet;
|
127
|
+
}
|
128
|
+
});
|
129
|
+
|
130
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js
|
131
|
+
var require_listCacheHas = __commonJS({
|
132
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheHas.js"(exports, module) {
|
133
|
+
"use strict";
|
134
|
+
var assocIndexOf = require_assocIndexOf();
|
135
|
+
function listCacheHas(key) {
|
136
|
+
return assocIndexOf(this.__data__, key) > -1;
|
137
|
+
}
|
138
|
+
module.exports = listCacheHas;
|
139
|
+
}
|
140
|
+
});
|
141
|
+
|
142
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js
|
143
|
+
var require_listCacheSet = __commonJS({
|
144
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_listCacheSet.js"(exports, module) {
|
145
|
+
"use strict";
|
146
|
+
var assocIndexOf = require_assocIndexOf();
|
147
|
+
function listCacheSet(key, value) {
|
148
|
+
var data = this.__data__, index = assocIndexOf(data, key);
|
149
|
+
if (index < 0) {
|
150
|
+
++this.size;
|
151
|
+
data.push([key, value]);
|
152
|
+
} else {
|
153
|
+
data[index][1] = value;
|
154
|
+
}
|
155
|
+
return this;
|
156
|
+
}
|
157
|
+
module.exports = listCacheSet;
|
158
|
+
}
|
159
|
+
});
|
160
|
+
|
161
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js
|
162
|
+
var require_ListCache = __commonJS({
|
163
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_ListCache.js"(exports, module) {
|
164
|
+
"use strict";
|
165
|
+
var listCacheClear = require_listCacheClear();
|
166
|
+
var listCacheDelete = require_listCacheDelete();
|
167
|
+
var listCacheGet = require_listCacheGet();
|
168
|
+
var listCacheHas = require_listCacheHas();
|
169
|
+
var listCacheSet = require_listCacheSet();
|
170
|
+
function ListCache(entries) {
|
171
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
172
|
+
this.clear();
|
173
|
+
while (++index < length) {
|
174
|
+
var entry = entries[index];
|
175
|
+
this.set(entry[0], entry[1]);
|
176
|
+
}
|
177
|
+
}
|
178
|
+
ListCache.prototype.clear = listCacheClear;
|
179
|
+
ListCache.prototype["delete"] = listCacheDelete;
|
180
|
+
ListCache.prototype.get = listCacheGet;
|
181
|
+
ListCache.prototype.has = listCacheHas;
|
182
|
+
ListCache.prototype.set = listCacheSet;
|
183
|
+
module.exports = ListCache;
|
184
|
+
}
|
185
|
+
});
|
186
|
+
|
187
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js
|
188
|
+
var require_stackClear = __commonJS({
|
189
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackClear.js"(exports, module) {
|
190
|
+
"use strict";
|
191
|
+
var ListCache = require_ListCache();
|
192
|
+
function stackClear() {
|
193
|
+
this.__data__ = new ListCache();
|
194
|
+
this.size = 0;
|
195
|
+
}
|
196
|
+
module.exports = stackClear;
|
197
|
+
}
|
198
|
+
});
|
199
|
+
|
200
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js
|
201
|
+
var require_stackDelete = __commonJS({
|
202
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackDelete.js"(exports, module) {
|
203
|
+
"use strict";
|
204
|
+
function stackDelete(key) {
|
205
|
+
var data = this.__data__, result = data["delete"](key);
|
206
|
+
this.size = data.size;
|
207
|
+
return result;
|
208
|
+
}
|
209
|
+
module.exports = stackDelete;
|
210
|
+
}
|
211
|
+
});
|
212
|
+
|
213
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js
|
214
|
+
var require_stackGet = __commonJS({
|
215
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackGet.js"(exports, module) {
|
216
|
+
"use strict";
|
217
|
+
function stackGet(key) {
|
218
|
+
return this.__data__.get(key);
|
219
|
+
}
|
220
|
+
module.exports = stackGet;
|
221
|
+
}
|
222
|
+
});
|
223
|
+
|
224
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js
|
225
|
+
var require_stackHas = __commonJS({
|
226
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackHas.js"(exports, module) {
|
227
|
+
"use strict";
|
228
|
+
function stackHas(key) {
|
229
|
+
return this.__data__.has(key);
|
230
|
+
}
|
231
|
+
module.exports = stackHas;
|
232
|
+
}
|
233
|
+
});
|
234
|
+
|
235
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js
|
236
|
+
var require_freeGlobal = __commonJS({
|
237
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js"(exports, module) {
|
238
|
+
"use strict";
|
239
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
240
|
+
module.exports = freeGlobal;
|
241
|
+
}
|
242
|
+
});
|
243
|
+
|
244
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js
|
245
|
+
var require_root = __commonJS({
|
246
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js"(exports, module) {
|
247
|
+
"use strict";
|
248
|
+
var freeGlobal = require_freeGlobal();
|
249
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
250
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
251
|
+
module.exports = root;
|
252
|
+
}
|
253
|
+
});
|
254
|
+
|
255
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js
|
256
|
+
var require_Symbol = __commonJS({
|
257
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js"(exports, module) {
|
258
|
+
"use strict";
|
259
|
+
var root = require_root();
|
260
|
+
var Symbol2 = root.Symbol;
|
261
|
+
module.exports = Symbol2;
|
262
|
+
}
|
263
|
+
});
|
264
|
+
|
265
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js
|
266
|
+
var require_getRawTag = __commonJS({
|
267
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js"(exports, module) {
|
268
|
+
"use strict";
|
269
|
+
var Symbol2 = require_Symbol();
|
270
|
+
var objectProto = Object.prototype;
|
271
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
272
|
+
var nativeObjectToString = objectProto.toString;
|
273
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
274
|
+
function getRawTag(value) {
|
275
|
+
var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
|
276
|
+
try {
|
277
|
+
value[symToStringTag] = void 0;
|
278
|
+
var unmasked = true;
|
279
|
+
} catch (e) {
|
280
|
+
}
|
281
|
+
var result = nativeObjectToString.call(value);
|
282
|
+
if (unmasked) {
|
283
|
+
if (isOwn) {
|
284
|
+
value[symToStringTag] = tag;
|
285
|
+
} else {
|
286
|
+
delete value[symToStringTag];
|
287
|
+
}
|
288
|
+
}
|
289
|
+
return result;
|
290
|
+
}
|
291
|
+
module.exports = getRawTag;
|
292
|
+
}
|
293
|
+
});
|
294
|
+
|
295
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js
|
296
|
+
var require_objectToString = __commonJS({
|
297
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js"(exports, module) {
|
298
|
+
"use strict";
|
299
|
+
var objectProto = Object.prototype;
|
300
|
+
var nativeObjectToString = objectProto.toString;
|
301
|
+
function objectToString(value) {
|
302
|
+
return nativeObjectToString.call(value);
|
303
|
+
}
|
304
|
+
module.exports = objectToString;
|
305
|
+
}
|
306
|
+
});
|
307
|
+
|
308
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js
|
309
|
+
var require_baseGetTag = __commonJS({
|
310
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js"(exports, module) {
|
311
|
+
"use strict";
|
312
|
+
var Symbol2 = require_Symbol();
|
313
|
+
var getRawTag = require_getRawTag();
|
314
|
+
var objectToString = require_objectToString();
|
315
|
+
var nullTag = "[object Null]";
|
316
|
+
var undefinedTag = "[object Undefined]";
|
317
|
+
var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
|
318
|
+
function baseGetTag(value) {
|
319
|
+
if (value == null) {
|
320
|
+
return value === void 0 ? undefinedTag : nullTag;
|
321
|
+
}
|
322
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
323
|
+
}
|
324
|
+
module.exports = baseGetTag;
|
325
|
+
}
|
326
|
+
});
|
327
|
+
|
328
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js
|
329
|
+
var require_isObject = __commonJS({
|
330
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js"(exports, module) {
|
331
|
+
"use strict";
|
332
|
+
function isObject(value) {
|
333
|
+
var type = typeof value;
|
334
|
+
return value != null && (type == "object" || type == "function");
|
335
|
+
}
|
336
|
+
module.exports = isObject;
|
337
|
+
}
|
338
|
+
});
|
339
|
+
|
340
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js
|
341
|
+
var require_isFunction = __commonJS({
|
342
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js"(exports, module) {
|
343
|
+
"use strict";
|
344
|
+
var baseGetTag = require_baseGetTag();
|
345
|
+
var isObject = require_isObject();
|
346
|
+
var asyncTag = "[object AsyncFunction]";
|
347
|
+
var funcTag = "[object Function]";
|
348
|
+
var genTag = "[object GeneratorFunction]";
|
349
|
+
var proxyTag = "[object Proxy]";
|
350
|
+
function isFunction(value) {
|
351
|
+
if (!isObject(value)) {
|
352
|
+
return false;
|
353
|
+
}
|
354
|
+
var tag = baseGetTag(value);
|
355
|
+
return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
|
356
|
+
}
|
357
|
+
module.exports = isFunction;
|
358
|
+
}
|
359
|
+
});
|
360
|
+
|
361
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js
|
362
|
+
var require_coreJsData = __commonJS({
|
363
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js"(exports, module) {
|
364
|
+
"use strict";
|
365
|
+
var root = require_root();
|
366
|
+
var coreJsData = root["__core-js_shared__"];
|
367
|
+
module.exports = coreJsData;
|
368
|
+
}
|
369
|
+
});
|
370
|
+
|
371
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js
|
372
|
+
var require_isMasked = __commonJS({
|
373
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js"(exports, module) {
|
374
|
+
"use strict";
|
375
|
+
var coreJsData = require_coreJsData();
|
376
|
+
var maskSrcKey = function() {
|
377
|
+
var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
|
378
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
379
|
+
}();
|
380
|
+
function isMasked(func) {
|
381
|
+
return !!maskSrcKey && maskSrcKey in func;
|
382
|
+
}
|
383
|
+
module.exports = isMasked;
|
384
|
+
}
|
385
|
+
});
|
386
|
+
|
387
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js
|
388
|
+
var require_toSource = __commonJS({
|
389
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js"(exports, module) {
|
390
|
+
"use strict";
|
391
|
+
var funcProto = Function.prototype;
|
392
|
+
var funcToString = funcProto.toString;
|
393
|
+
function toSource(func) {
|
394
|
+
if (func != null) {
|
395
|
+
try {
|
396
|
+
return funcToString.call(func);
|
397
|
+
} catch (e) {
|
398
|
+
}
|
399
|
+
try {
|
400
|
+
return func + "";
|
401
|
+
} catch (e) {
|
402
|
+
}
|
403
|
+
}
|
404
|
+
return "";
|
405
|
+
}
|
406
|
+
module.exports = toSource;
|
407
|
+
}
|
408
|
+
});
|
409
|
+
|
410
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js
|
411
|
+
var require_baseIsNative = __commonJS({
|
412
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js"(exports, module) {
|
413
|
+
"use strict";
|
414
|
+
var isFunction = require_isFunction();
|
415
|
+
var isMasked = require_isMasked();
|
416
|
+
var isObject = require_isObject();
|
417
|
+
var toSource = require_toSource();
|
418
|
+
var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
419
|
+
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
420
|
+
var funcProto = Function.prototype;
|
421
|
+
var objectProto = Object.prototype;
|
422
|
+
var funcToString = funcProto.toString;
|
423
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
424
|
+
var reIsNative = RegExp(
|
425
|
+
"^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
426
|
+
);
|
427
|
+
function baseIsNative(value) {
|
428
|
+
if (!isObject(value) || isMasked(value)) {
|
429
|
+
return false;
|
430
|
+
}
|
431
|
+
var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
|
432
|
+
return pattern.test(toSource(value));
|
433
|
+
}
|
434
|
+
module.exports = baseIsNative;
|
435
|
+
}
|
436
|
+
});
|
437
|
+
|
438
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js
|
439
|
+
var require_getValue = __commonJS({
|
440
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js"(exports, module) {
|
441
|
+
"use strict";
|
442
|
+
function getValue(object, key) {
|
443
|
+
return object == null ? void 0 : object[key];
|
444
|
+
}
|
445
|
+
module.exports = getValue;
|
446
|
+
}
|
447
|
+
});
|
448
|
+
|
449
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js
|
450
|
+
var require_getNative = __commonJS({
|
451
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js"(exports, module) {
|
452
|
+
"use strict";
|
453
|
+
var baseIsNative = require_baseIsNative();
|
454
|
+
var getValue = require_getValue();
|
455
|
+
function getNative(object, key) {
|
456
|
+
var value = getValue(object, key);
|
457
|
+
return baseIsNative(value) ? value : void 0;
|
458
|
+
}
|
459
|
+
module.exports = getNative;
|
460
|
+
}
|
461
|
+
});
|
462
|
+
|
463
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js
|
464
|
+
var require_Map = __commonJS({
|
465
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Map.js"(exports, module) {
|
466
|
+
"use strict";
|
467
|
+
var getNative = require_getNative();
|
468
|
+
var root = require_root();
|
469
|
+
var Map2 = getNative(root, "Map");
|
470
|
+
module.exports = Map2;
|
471
|
+
}
|
472
|
+
});
|
473
|
+
|
474
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js
|
475
|
+
var require_nativeCreate = __commonJS({
|
476
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js"(exports, module) {
|
477
|
+
"use strict";
|
478
|
+
var getNative = require_getNative();
|
479
|
+
var nativeCreate = getNative(Object, "create");
|
480
|
+
module.exports = nativeCreate;
|
481
|
+
}
|
482
|
+
});
|
483
|
+
|
484
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js
|
485
|
+
var require_hashClear = __commonJS({
|
486
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js"(exports, module) {
|
487
|
+
"use strict";
|
488
|
+
var nativeCreate = require_nativeCreate();
|
489
|
+
function hashClear() {
|
490
|
+
this.__data__ = nativeCreate ? nativeCreate(null) : {};
|
491
|
+
this.size = 0;
|
492
|
+
}
|
493
|
+
module.exports = hashClear;
|
494
|
+
}
|
495
|
+
});
|
496
|
+
|
497
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js
|
498
|
+
var require_hashDelete = __commonJS({
|
499
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js"(exports, module) {
|
500
|
+
"use strict";
|
501
|
+
function hashDelete(key) {
|
502
|
+
var result = this.has(key) && delete this.__data__[key];
|
503
|
+
this.size -= result ? 1 : 0;
|
504
|
+
return result;
|
505
|
+
}
|
506
|
+
module.exports = hashDelete;
|
507
|
+
}
|
508
|
+
});
|
509
|
+
|
510
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js
|
511
|
+
var require_hashGet = __commonJS({
|
512
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js"(exports, module) {
|
513
|
+
"use strict";
|
514
|
+
var nativeCreate = require_nativeCreate();
|
515
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
516
|
+
var objectProto = Object.prototype;
|
517
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
518
|
+
function hashGet(key) {
|
519
|
+
var data = this.__data__;
|
520
|
+
if (nativeCreate) {
|
521
|
+
var result = data[key];
|
522
|
+
return result === HASH_UNDEFINED ? void 0 : result;
|
523
|
+
}
|
524
|
+
return hasOwnProperty.call(data, key) ? data[key] : void 0;
|
525
|
+
}
|
526
|
+
module.exports = hashGet;
|
527
|
+
}
|
528
|
+
});
|
529
|
+
|
530
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js
|
531
|
+
var require_hashHas = __commonJS({
|
532
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js"(exports, module) {
|
533
|
+
"use strict";
|
534
|
+
var nativeCreate = require_nativeCreate();
|
535
|
+
var objectProto = Object.prototype;
|
536
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
537
|
+
function hashHas(key) {
|
538
|
+
var data = this.__data__;
|
539
|
+
return nativeCreate ? data[key] !== void 0 : hasOwnProperty.call(data, key);
|
540
|
+
}
|
541
|
+
module.exports = hashHas;
|
542
|
+
}
|
543
|
+
});
|
544
|
+
|
545
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js
|
546
|
+
var require_hashSet = __commonJS({
|
547
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js"(exports, module) {
|
548
|
+
"use strict";
|
549
|
+
var nativeCreate = require_nativeCreate();
|
550
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
551
|
+
function hashSet(key, value) {
|
552
|
+
var data = this.__data__;
|
553
|
+
this.size += this.has(key) ? 0 : 1;
|
554
|
+
data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
|
555
|
+
return this;
|
556
|
+
}
|
557
|
+
module.exports = hashSet;
|
558
|
+
}
|
559
|
+
});
|
560
|
+
|
561
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js
|
562
|
+
var require_Hash = __commonJS({
|
563
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js"(exports, module) {
|
564
|
+
"use strict";
|
565
|
+
var hashClear = require_hashClear();
|
566
|
+
var hashDelete = require_hashDelete();
|
567
|
+
var hashGet = require_hashGet();
|
568
|
+
var hashHas = require_hashHas();
|
569
|
+
var hashSet = require_hashSet();
|
570
|
+
function Hash(entries) {
|
571
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
572
|
+
this.clear();
|
573
|
+
while (++index < length) {
|
574
|
+
var entry = entries[index];
|
575
|
+
this.set(entry[0], entry[1]);
|
576
|
+
}
|
577
|
+
}
|
578
|
+
Hash.prototype.clear = hashClear;
|
579
|
+
Hash.prototype["delete"] = hashDelete;
|
580
|
+
Hash.prototype.get = hashGet;
|
581
|
+
Hash.prototype.has = hashHas;
|
582
|
+
Hash.prototype.set = hashSet;
|
583
|
+
module.exports = Hash;
|
584
|
+
}
|
585
|
+
});
|
586
|
+
|
587
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js
|
588
|
+
var require_mapCacheClear = __commonJS({
|
589
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheClear.js"(exports, module) {
|
590
|
+
"use strict";
|
591
|
+
var Hash = require_Hash();
|
592
|
+
var ListCache = require_ListCache();
|
593
|
+
var Map2 = require_Map();
|
594
|
+
function mapCacheClear() {
|
595
|
+
this.size = 0;
|
596
|
+
this.__data__ = {
|
597
|
+
"hash": new Hash(),
|
598
|
+
"map": new (Map2 || ListCache)(),
|
599
|
+
"string": new Hash()
|
600
|
+
};
|
601
|
+
}
|
602
|
+
module.exports = mapCacheClear;
|
603
|
+
}
|
604
|
+
});
|
605
|
+
|
606
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js
|
607
|
+
var require_isKeyable = __commonJS({
|
608
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKeyable.js"(exports, module) {
|
609
|
+
"use strict";
|
610
|
+
function isKeyable(value) {
|
611
|
+
var type = typeof value;
|
612
|
+
return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
|
613
|
+
}
|
614
|
+
module.exports = isKeyable;
|
615
|
+
}
|
616
|
+
});
|
617
|
+
|
618
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js
|
619
|
+
var require_getMapData = __commonJS({
|
620
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMapData.js"(exports, module) {
|
621
|
+
"use strict";
|
622
|
+
var isKeyable = require_isKeyable();
|
623
|
+
function getMapData(map, key) {
|
624
|
+
var data = map.__data__;
|
625
|
+
return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
|
626
|
+
}
|
627
|
+
module.exports = getMapData;
|
628
|
+
}
|
629
|
+
});
|
630
|
+
|
631
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js
|
632
|
+
var require_mapCacheDelete = __commonJS({
|
633
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheDelete.js"(exports, module) {
|
634
|
+
"use strict";
|
635
|
+
var getMapData = require_getMapData();
|
636
|
+
function mapCacheDelete(key) {
|
637
|
+
var result = getMapData(this, key)["delete"](key);
|
638
|
+
this.size -= result ? 1 : 0;
|
639
|
+
return result;
|
640
|
+
}
|
641
|
+
module.exports = mapCacheDelete;
|
642
|
+
}
|
643
|
+
});
|
644
|
+
|
645
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js
|
646
|
+
var require_mapCacheGet = __commonJS({
|
647
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheGet.js"(exports, module) {
|
648
|
+
"use strict";
|
649
|
+
var getMapData = require_getMapData();
|
650
|
+
function mapCacheGet(key) {
|
651
|
+
return getMapData(this, key).get(key);
|
652
|
+
}
|
653
|
+
module.exports = mapCacheGet;
|
654
|
+
}
|
655
|
+
});
|
656
|
+
|
657
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js
|
658
|
+
var require_mapCacheHas = __commonJS({
|
659
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheHas.js"(exports, module) {
|
660
|
+
"use strict";
|
661
|
+
var getMapData = require_getMapData();
|
662
|
+
function mapCacheHas(key) {
|
663
|
+
return getMapData(this, key).has(key);
|
664
|
+
}
|
665
|
+
module.exports = mapCacheHas;
|
666
|
+
}
|
667
|
+
});
|
668
|
+
|
669
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js
|
670
|
+
var require_mapCacheSet = __commonJS({
|
671
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapCacheSet.js"(exports, module) {
|
672
|
+
"use strict";
|
673
|
+
var getMapData = require_getMapData();
|
674
|
+
function mapCacheSet(key, value) {
|
675
|
+
var data = getMapData(this, key), size = data.size;
|
676
|
+
data.set(key, value);
|
677
|
+
this.size += data.size == size ? 0 : 1;
|
678
|
+
return this;
|
679
|
+
}
|
680
|
+
module.exports = mapCacheSet;
|
681
|
+
}
|
682
|
+
});
|
683
|
+
|
684
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js
|
685
|
+
var require_MapCache = __commonJS({
|
686
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_MapCache.js"(exports, module) {
|
687
|
+
"use strict";
|
688
|
+
var mapCacheClear = require_mapCacheClear();
|
689
|
+
var mapCacheDelete = require_mapCacheDelete();
|
690
|
+
var mapCacheGet = require_mapCacheGet();
|
691
|
+
var mapCacheHas = require_mapCacheHas();
|
692
|
+
var mapCacheSet = require_mapCacheSet();
|
693
|
+
function MapCache(entries) {
|
694
|
+
var index = -1, length = entries == null ? 0 : entries.length;
|
695
|
+
this.clear();
|
696
|
+
while (++index < length) {
|
697
|
+
var entry = entries[index];
|
698
|
+
this.set(entry[0], entry[1]);
|
699
|
+
}
|
700
|
+
}
|
701
|
+
MapCache.prototype.clear = mapCacheClear;
|
702
|
+
MapCache.prototype["delete"] = mapCacheDelete;
|
703
|
+
MapCache.prototype.get = mapCacheGet;
|
704
|
+
MapCache.prototype.has = mapCacheHas;
|
705
|
+
MapCache.prototype.set = mapCacheSet;
|
706
|
+
module.exports = MapCache;
|
707
|
+
}
|
708
|
+
});
|
709
|
+
|
710
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js
|
711
|
+
var require_stackSet = __commonJS({
|
712
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stackSet.js"(exports, module) {
|
713
|
+
"use strict";
|
714
|
+
var ListCache = require_ListCache();
|
715
|
+
var Map2 = require_Map();
|
716
|
+
var MapCache = require_MapCache();
|
717
|
+
var LARGE_ARRAY_SIZE = 200;
|
718
|
+
function stackSet(key, value) {
|
719
|
+
var data = this.__data__;
|
720
|
+
if (data instanceof ListCache) {
|
721
|
+
var pairs = data.__data__;
|
722
|
+
if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
|
723
|
+
pairs.push([key, value]);
|
724
|
+
this.size = ++data.size;
|
725
|
+
return this;
|
726
|
+
}
|
727
|
+
data = this.__data__ = new MapCache(pairs);
|
728
|
+
}
|
729
|
+
data.set(key, value);
|
730
|
+
this.size = data.size;
|
731
|
+
return this;
|
732
|
+
}
|
733
|
+
module.exports = stackSet;
|
734
|
+
}
|
735
|
+
});
|
736
|
+
|
737
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js
|
738
|
+
var require_Stack = __commonJS({
|
739
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Stack.js"(exports, module) {
|
740
|
+
"use strict";
|
741
|
+
var ListCache = require_ListCache();
|
742
|
+
var stackClear = require_stackClear();
|
743
|
+
var stackDelete = require_stackDelete();
|
744
|
+
var stackGet = require_stackGet();
|
745
|
+
var stackHas = require_stackHas();
|
746
|
+
var stackSet = require_stackSet();
|
747
|
+
function Stack(entries) {
|
748
|
+
var data = this.__data__ = new ListCache(entries);
|
749
|
+
this.size = data.size;
|
750
|
+
}
|
751
|
+
Stack.prototype.clear = stackClear;
|
752
|
+
Stack.prototype["delete"] = stackDelete;
|
753
|
+
Stack.prototype.get = stackGet;
|
754
|
+
Stack.prototype.has = stackHas;
|
755
|
+
Stack.prototype.set = stackSet;
|
756
|
+
module.exports = Stack;
|
757
|
+
}
|
758
|
+
});
|
759
|
+
|
760
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js
|
761
|
+
var require_setCacheAdd = __commonJS({
|
762
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheAdd.js"(exports, module) {
|
763
|
+
"use strict";
|
764
|
+
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
765
|
+
function setCacheAdd(value) {
|
766
|
+
this.__data__.set(value, HASH_UNDEFINED);
|
767
|
+
return this;
|
768
|
+
}
|
769
|
+
module.exports = setCacheAdd;
|
770
|
+
}
|
771
|
+
});
|
772
|
+
|
773
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js
|
774
|
+
var require_setCacheHas = __commonJS({
|
775
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setCacheHas.js"(exports, module) {
|
776
|
+
"use strict";
|
777
|
+
function setCacheHas(value) {
|
778
|
+
return this.__data__.has(value);
|
779
|
+
}
|
780
|
+
module.exports = setCacheHas;
|
781
|
+
}
|
782
|
+
});
|
783
|
+
|
784
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js
|
785
|
+
var require_SetCache = __commonJS({
|
786
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_SetCache.js"(exports, module) {
|
787
|
+
"use strict";
|
788
|
+
var MapCache = require_MapCache();
|
789
|
+
var setCacheAdd = require_setCacheAdd();
|
790
|
+
var setCacheHas = require_setCacheHas();
|
791
|
+
function SetCache(values) {
|
792
|
+
var index = -1, length = values == null ? 0 : values.length;
|
793
|
+
this.__data__ = new MapCache();
|
794
|
+
while (++index < length) {
|
795
|
+
this.add(values[index]);
|
796
|
+
}
|
797
|
+
}
|
798
|
+
SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
|
799
|
+
SetCache.prototype.has = setCacheHas;
|
800
|
+
module.exports = SetCache;
|
801
|
+
}
|
802
|
+
});
|
803
|
+
|
804
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js
|
805
|
+
var require_arraySome = __commonJS({
|
806
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arraySome.js"(exports, module) {
|
807
|
+
"use strict";
|
808
|
+
function arraySome(array, predicate) {
|
809
|
+
var index = -1, length = array == null ? 0 : array.length;
|
810
|
+
while (++index < length) {
|
811
|
+
if (predicate(array[index], index, array)) {
|
812
|
+
return true;
|
813
|
+
}
|
814
|
+
}
|
815
|
+
return false;
|
816
|
+
}
|
817
|
+
module.exports = arraySome;
|
818
|
+
}
|
819
|
+
});
|
820
|
+
|
821
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js
|
822
|
+
var require_cacheHas = __commonJS({
|
823
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_cacheHas.js"(exports, module) {
|
824
|
+
"use strict";
|
825
|
+
function cacheHas(cache, key) {
|
826
|
+
return cache.has(key);
|
827
|
+
}
|
828
|
+
module.exports = cacheHas;
|
829
|
+
}
|
830
|
+
});
|
831
|
+
|
832
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js
|
833
|
+
var require_equalArrays = __commonJS({
|
834
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalArrays.js"(exports, module) {
|
835
|
+
"use strict";
|
836
|
+
var SetCache = require_SetCache();
|
837
|
+
var arraySome = require_arraySome();
|
838
|
+
var cacheHas = require_cacheHas();
|
839
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
840
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
841
|
+
function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
|
842
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
|
843
|
+
if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
|
844
|
+
return false;
|
845
|
+
}
|
846
|
+
var arrStacked = stack.get(array);
|
847
|
+
var othStacked = stack.get(other);
|
848
|
+
if (arrStacked && othStacked) {
|
849
|
+
return arrStacked == other && othStacked == array;
|
850
|
+
}
|
851
|
+
var index = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : void 0;
|
852
|
+
stack.set(array, other);
|
853
|
+
stack.set(other, array);
|
854
|
+
while (++index < arrLength) {
|
855
|
+
var arrValue = array[index], othValue = other[index];
|
856
|
+
if (customizer) {
|
857
|
+
var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
|
858
|
+
}
|
859
|
+
if (compared !== void 0) {
|
860
|
+
if (compared) {
|
861
|
+
continue;
|
862
|
+
}
|
863
|
+
result = false;
|
864
|
+
break;
|
865
|
+
}
|
866
|
+
if (seen) {
|
867
|
+
if (!arraySome(other, function(othValue2, othIndex) {
|
868
|
+
if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
|
869
|
+
return seen.push(othIndex);
|
870
|
+
}
|
871
|
+
})) {
|
872
|
+
result = false;
|
873
|
+
break;
|
874
|
+
}
|
875
|
+
} else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
|
876
|
+
result = false;
|
877
|
+
break;
|
878
|
+
}
|
879
|
+
}
|
880
|
+
stack["delete"](array);
|
881
|
+
stack["delete"](other);
|
882
|
+
return result;
|
883
|
+
}
|
884
|
+
module.exports = equalArrays;
|
885
|
+
}
|
886
|
+
});
|
887
|
+
|
888
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js
|
889
|
+
var require_Uint8Array = __commonJS({
|
890
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Uint8Array.js"(exports, module) {
|
891
|
+
"use strict";
|
892
|
+
var root = require_root();
|
893
|
+
var Uint8Array2 = root.Uint8Array;
|
894
|
+
module.exports = Uint8Array2;
|
895
|
+
}
|
896
|
+
});
|
897
|
+
|
898
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js
|
899
|
+
var require_mapToArray = __commonJS({
|
900
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_mapToArray.js"(exports, module) {
|
901
|
+
"use strict";
|
902
|
+
function mapToArray(map) {
|
903
|
+
var index = -1, result = Array(map.size);
|
904
|
+
map.forEach(function(value, key) {
|
905
|
+
result[++index] = [key, value];
|
906
|
+
});
|
907
|
+
return result;
|
908
|
+
}
|
909
|
+
module.exports = mapToArray;
|
910
|
+
}
|
911
|
+
});
|
912
|
+
|
913
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js
|
914
|
+
var require_setToArray = __commonJS({
|
915
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js"(exports, module) {
|
916
|
+
"use strict";
|
917
|
+
function setToArray(set) {
|
918
|
+
var index = -1, result = Array(set.size);
|
919
|
+
set.forEach(function(value) {
|
920
|
+
result[++index] = value;
|
921
|
+
});
|
922
|
+
return result;
|
923
|
+
}
|
924
|
+
module.exports = setToArray;
|
925
|
+
}
|
926
|
+
});
|
927
|
+
|
928
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js
|
929
|
+
var require_equalByTag = __commonJS({
|
930
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalByTag.js"(exports, module) {
|
931
|
+
"use strict";
|
932
|
+
var Symbol2 = require_Symbol();
|
933
|
+
var Uint8Array2 = require_Uint8Array();
|
934
|
+
var eq = require_eq();
|
935
|
+
var equalArrays = require_equalArrays();
|
936
|
+
var mapToArray = require_mapToArray();
|
937
|
+
var setToArray = require_setToArray();
|
938
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
939
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
940
|
+
var boolTag = "[object Boolean]";
|
941
|
+
var dateTag = "[object Date]";
|
942
|
+
var errorTag = "[object Error]";
|
943
|
+
var mapTag = "[object Map]";
|
944
|
+
var numberTag = "[object Number]";
|
945
|
+
var regexpTag = "[object RegExp]";
|
946
|
+
var setTag = "[object Set]";
|
947
|
+
var stringTag = "[object String]";
|
948
|
+
var symbolTag = "[object Symbol]";
|
949
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
950
|
+
var dataViewTag = "[object DataView]";
|
951
|
+
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
952
|
+
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
953
|
+
function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
954
|
+
switch (tag) {
|
955
|
+
case dataViewTag:
|
956
|
+
if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
|
957
|
+
return false;
|
958
|
+
}
|
959
|
+
object = object.buffer;
|
960
|
+
other = other.buffer;
|
961
|
+
case arrayBufferTag:
|
962
|
+
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
|
963
|
+
return false;
|
964
|
+
}
|
965
|
+
return true;
|
966
|
+
case boolTag:
|
967
|
+
case dateTag:
|
968
|
+
case numberTag:
|
969
|
+
return eq(+object, +other);
|
970
|
+
case errorTag:
|
971
|
+
return object.name == other.name && object.message == other.message;
|
972
|
+
case regexpTag:
|
973
|
+
case stringTag:
|
974
|
+
return object == other + "";
|
975
|
+
case mapTag:
|
976
|
+
var convert = mapToArray;
|
977
|
+
case setTag:
|
978
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
|
979
|
+
convert || (convert = setToArray);
|
980
|
+
if (object.size != other.size && !isPartial) {
|
981
|
+
return false;
|
982
|
+
}
|
983
|
+
var stacked = stack.get(object);
|
984
|
+
if (stacked) {
|
985
|
+
return stacked == other;
|
986
|
+
}
|
987
|
+
bitmask |= COMPARE_UNORDERED_FLAG;
|
988
|
+
stack.set(object, other);
|
989
|
+
var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
|
990
|
+
stack["delete"](object);
|
991
|
+
return result;
|
992
|
+
case symbolTag:
|
993
|
+
if (symbolValueOf) {
|
994
|
+
return symbolValueOf.call(object) == symbolValueOf.call(other);
|
995
|
+
}
|
996
|
+
}
|
997
|
+
return false;
|
998
|
+
}
|
999
|
+
module.exports = equalByTag;
|
1000
|
+
}
|
1001
|
+
});
|
1002
|
+
|
1003
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js
|
1004
|
+
var require_arrayPush = __commonJS({
|
1005
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayPush.js"(exports, module) {
|
1006
|
+
"use strict";
|
1007
|
+
function arrayPush(array, values) {
|
1008
|
+
var index = -1, length = values.length, offset = array.length;
|
1009
|
+
while (++index < length) {
|
1010
|
+
array[offset + index] = values[index];
|
1011
|
+
}
|
1012
|
+
return array;
|
1013
|
+
}
|
1014
|
+
module.exports = arrayPush;
|
1015
|
+
}
|
1016
|
+
});
|
1017
|
+
|
1018
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js
|
1019
|
+
var require_isArray = __commonJS({
|
1020
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArray.js"(exports, module) {
|
1021
|
+
"use strict";
|
1022
|
+
var isArray = Array.isArray;
|
1023
|
+
module.exports = isArray;
|
1024
|
+
}
|
1025
|
+
});
|
1026
|
+
|
1027
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js
|
1028
|
+
var require_baseGetAllKeys = __commonJS({
|
1029
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetAllKeys.js"(exports, module) {
|
1030
|
+
"use strict";
|
1031
|
+
var arrayPush = require_arrayPush();
|
1032
|
+
var isArray = require_isArray();
|
1033
|
+
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
1034
|
+
var result = keysFunc(object);
|
1035
|
+
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
1036
|
+
}
|
1037
|
+
module.exports = baseGetAllKeys;
|
1038
|
+
}
|
1039
|
+
});
|
1040
|
+
|
1041
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js
|
1042
|
+
var require_arrayFilter = __commonJS({
|
1043
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayFilter.js"(exports, module) {
|
1044
|
+
"use strict";
|
1045
|
+
function arrayFilter(array, predicate) {
|
1046
|
+
var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
|
1047
|
+
while (++index < length) {
|
1048
|
+
var value = array[index];
|
1049
|
+
if (predicate(value, index, array)) {
|
1050
|
+
result[resIndex++] = value;
|
1051
|
+
}
|
1052
|
+
}
|
1053
|
+
return result;
|
1054
|
+
}
|
1055
|
+
module.exports = arrayFilter;
|
1056
|
+
}
|
1057
|
+
});
|
1058
|
+
|
1059
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js
|
1060
|
+
var require_stubArray = __commonJS({
|
1061
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubArray.js"(exports, module) {
|
1062
|
+
"use strict";
|
1063
|
+
function stubArray() {
|
1064
|
+
return [];
|
1065
|
+
}
|
1066
|
+
module.exports = stubArray;
|
1067
|
+
}
|
1068
|
+
});
|
1069
|
+
|
1070
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js
|
1071
|
+
var require_getSymbols = __commonJS({
|
1072
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getSymbols.js"(exports, module) {
|
1073
|
+
"use strict";
|
1074
|
+
var arrayFilter = require_arrayFilter();
|
1075
|
+
var stubArray = require_stubArray();
|
1076
|
+
var objectProto = Object.prototype;
|
1077
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
1078
|
+
var nativeGetSymbols = Object.getOwnPropertySymbols;
|
1079
|
+
var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
1080
|
+
if (object == null) {
|
1081
|
+
return [];
|
1082
|
+
}
|
1083
|
+
object = Object(object);
|
1084
|
+
return arrayFilter(nativeGetSymbols(object), function(symbol) {
|
1085
|
+
return propertyIsEnumerable.call(object, symbol);
|
1086
|
+
});
|
1087
|
+
};
|
1088
|
+
module.exports = getSymbols;
|
1089
|
+
}
|
1090
|
+
});
|
1091
|
+
|
1092
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js
|
1093
|
+
var require_baseTimes = __commonJS({
|
1094
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTimes.js"(exports, module) {
|
1095
|
+
"use strict";
|
1096
|
+
function baseTimes(n, iteratee) {
|
1097
|
+
var index = -1, result = Array(n);
|
1098
|
+
while (++index < n) {
|
1099
|
+
result[index] = iteratee(index);
|
1100
|
+
}
|
1101
|
+
return result;
|
1102
|
+
}
|
1103
|
+
module.exports = baseTimes;
|
1104
|
+
}
|
1105
|
+
});
|
1106
|
+
|
1107
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js
|
1108
|
+
var require_isObjectLike = __commonJS({
|
1109
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObjectLike.js"(exports, module) {
|
1110
|
+
"use strict";
|
1111
|
+
function isObjectLike(value) {
|
1112
|
+
return value != null && typeof value == "object";
|
1113
|
+
}
|
1114
|
+
module.exports = isObjectLike;
|
1115
|
+
}
|
1116
|
+
});
|
1117
|
+
|
1118
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js
|
1119
|
+
var require_baseIsArguments = __commonJS({
|
1120
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsArguments.js"(exports, module) {
|
1121
|
+
"use strict";
|
1122
|
+
var baseGetTag = require_baseGetTag();
|
1123
|
+
var isObjectLike = require_isObjectLike();
|
1124
|
+
var argsTag = "[object Arguments]";
|
1125
|
+
function baseIsArguments(value) {
|
1126
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag;
|
1127
|
+
}
|
1128
|
+
module.exports = baseIsArguments;
|
1129
|
+
}
|
1130
|
+
});
|
1131
|
+
|
1132
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js
|
1133
|
+
var require_isArguments = __commonJS({
|
1134
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArguments.js"(exports, module) {
|
1135
|
+
"use strict";
|
1136
|
+
var baseIsArguments = require_baseIsArguments();
|
1137
|
+
var isObjectLike = require_isObjectLike();
|
1138
|
+
var objectProto = Object.prototype;
|
1139
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1140
|
+
var propertyIsEnumerable = objectProto.propertyIsEnumerable;
|
1141
|
+
var isArguments = baseIsArguments(/* @__PURE__ */ function() {
|
1142
|
+
return arguments;
|
1143
|
+
}()) ? baseIsArguments : function(value) {
|
1144
|
+
return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
|
1145
|
+
};
|
1146
|
+
module.exports = isArguments;
|
1147
|
+
}
|
1148
|
+
});
|
1149
|
+
|
1150
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js
|
1151
|
+
var require_stubFalse = __commonJS({
|
1152
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/stubFalse.js"(exports, module) {
|
1153
|
+
"use strict";
|
1154
|
+
function stubFalse() {
|
1155
|
+
return false;
|
1156
|
+
}
|
1157
|
+
module.exports = stubFalse;
|
1158
|
+
}
|
1159
|
+
});
|
1160
|
+
|
1161
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js
|
1162
|
+
var require_isBuffer = __commonJS({
|
1163
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isBuffer.js"(exports, module) {
|
1164
|
+
"use strict";
|
1165
|
+
var root = require_root();
|
1166
|
+
var stubFalse = require_stubFalse();
|
1167
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
1168
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
1169
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
1170
|
+
var Buffer2 = moduleExports ? root.Buffer : void 0;
|
1171
|
+
var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
|
1172
|
+
var isBuffer = nativeIsBuffer || stubFalse;
|
1173
|
+
module.exports = isBuffer;
|
1174
|
+
}
|
1175
|
+
});
|
1176
|
+
|
1177
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js
|
1178
|
+
var require_isIndex = __commonJS({
|
1179
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isIndex.js"(exports, module) {
|
1180
|
+
"use strict";
|
1181
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
1182
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
1183
|
+
function isIndex(value, length) {
|
1184
|
+
var type = typeof value;
|
1185
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
1186
|
+
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
1187
|
+
}
|
1188
|
+
module.exports = isIndex;
|
1189
|
+
}
|
1190
|
+
});
|
1191
|
+
|
1192
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js
|
1193
|
+
var require_isLength = __commonJS({
|
1194
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isLength.js"(exports, module) {
|
1195
|
+
"use strict";
|
1196
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
1197
|
+
function isLength(value) {
|
1198
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
1199
|
+
}
|
1200
|
+
module.exports = isLength;
|
1201
|
+
}
|
1202
|
+
});
|
1203
|
+
|
1204
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js
|
1205
|
+
var require_baseIsTypedArray = __commonJS({
|
1206
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsTypedArray.js"(exports, module) {
|
1207
|
+
"use strict";
|
1208
|
+
var baseGetTag = require_baseGetTag();
|
1209
|
+
var isLength = require_isLength();
|
1210
|
+
var isObjectLike = require_isObjectLike();
|
1211
|
+
var argsTag = "[object Arguments]";
|
1212
|
+
var arrayTag = "[object Array]";
|
1213
|
+
var boolTag = "[object Boolean]";
|
1214
|
+
var dateTag = "[object Date]";
|
1215
|
+
var errorTag = "[object Error]";
|
1216
|
+
var funcTag = "[object Function]";
|
1217
|
+
var mapTag = "[object Map]";
|
1218
|
+
var numberTag = "[object Number]";
|
1219
|
+
var objectTag = "[object Object]";
|
1220
|
+
var regexpTag = "[object RegExp]";
|
1221
|
+
var setTag = "[object Set]";
|
1222
|
+
var stringTag = "[object String]";
|
1223
|
+
var weakMapTag = "[object WeakMap]";
|
1224
|
+
var arrayBufferTag = "[object ArrayBuffer]";
|
1225
|
+
var dataViewTag = "[object DataView]";
|
1226
|
+
var float32Tag = "[object Float32Array]";
|
1227
|
+
var float64Tag = "[object Float64Array]";
|
1228
|
+
var int8Tag = "[object Int8Array]";
|
1229
|
+
var int16Tag = "[object Int16Array]";
|
1230
|
+
var int32Tag = "[object Int32Array]";
|
1231
|
+
var uint8Tag = "[object Uint8Array]";
|
1232
|
+
var uint8ClampedTag = "[object Uint8ClampedArray]";
|
1233
|
+
var uint16Tag = "[object Uint16Array]";
|
1234
|
+
var uint32Tag = "[object Uint32Array]";
|
1235
|
+
var typedArrayTags = {};
|
1236
|
+
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
|
1237
|
+
typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
|
1238
|
+
function baseIsTypedArray(value) {
|
1239
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
1240
|
+
}
|
1241
|
+
module.exports = baseIsTypedArray;
|
1242
|
+
}
|
1243
|
+
});
|
1244
|
+
|
1245
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js
|
1246
|
+
var require_baseUnary = __commonJS({
|
1247
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseUnary.js"(exports, module) {
|
1248
|
+
"use strict";
|
1249
|
+
function baseUnary(func) {
|
1250
|
+
return function(value) {
|
1251
|
+
return func(value);
|
1252
|
+
};
|
1253
|
+
}
|
1254
|
+
module.exports = baseUnary;
|
1255
|
+
}
|
1256
|
+
});
|
1257
|
+
|
1258
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js
|
1259
|
+
var require_nodeUtil = __commonJS({
|
1260
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nodeUtil.js"(exports, module) {
|
1261
|
+
"use strict";
|
1262
|
+
var freeGlobal = require_freeGlobal();
|
1263
|
+
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
|
1264
|
+
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
1265
|
+
var moduleExports = freeModule && freeModule.exports === freeExports;
|
1266
|
+
var freeProcess = moduleExports && freeGlobal.process;
|
1267
|
+
var nodeUtil = function() {
|
1268
|
+
try {
|
1269
|
+
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
1270
|
+
if (types) {
|
1271
|
+
return types;
|
1272
|
+
}
|
1273
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
1274
|
+
} catch (e) {
|
1275
|
+
}
|
1276
|
+
}();
|
1277
|
+
module.exports = nodeUtil;
|
1278
|
+
}
|
1279
|
+
});
|
1280
|
+
|
1281
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js
|
1282
|
+
var require_isTypedArray = __commonJS({
|
1283
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isTypedArray.js"(exports, module) {
|
1284
|
+
"use strict";
|
1285
|
+
var baseIsTypedArray = require_baseIsTypedArray();
|
1286
|
+
var baseUnary = require_baseUnary();
|
1287
|
+
var nodeUtil = require_nodeUtil();
|
1288
|
+
var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
1289
|
+
var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
|
1290
|
+
module.exports = isTypedArray;
|
1291
|
+
}
|
1292
|
+
});
|
1293
|
+
|
1294
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js
|
1295
|
+
var require_arrayLikeKeys = __commonJS({
|
1296
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayLikeKeys.js"(exports, module) {
|
1297
|
+
"use strict";
|
1298
|
+
var baseTimes = require_baseTimes();
|
1299
|
+
var isArguments = require_isArguments();
|
1300
|
+
var isArray = require_isArray();
|
1301
|
+
var isBuffer = require_isBuffer();
|
1302
|
+
var isIndex = require_isIndex();
|
1303
|
+
var isTypedArray = require_isTypedArray();
|
1304
|
+
var objectProto = Object.prototype;
|
1305
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1306
|
+
function arrayLikeKeys(value, inherited) {
|
1307
|
+
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;
|
1308
|
+
for (var key in value) {
|
1309
|
+
if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
1310
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
1311
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
1312
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
1313
|
+
isIndex(key, length)))) {
|
1314
|
+
result.push(key);
|
1315
|
+
}
|
1316
|
+
}
|
1317
|
+
return result;
|
1318
|
+
}
|
1319
|
+
module.exports = arrayLikeKeys;
|
1320
|
+
}
|
1321
|
+
});
|
1322
|
+
|
1323
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js
|
1324
|
+
var require_isPrototype = __commonJS({
|
1325
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isPrototype.js"(exports, module) {
|
1326
|
+
"use strict";
|
1327
|
+
var objectProto = Object.prototype;
|
1328
|
+
function isPrototype(value) {
|
1329
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
|
1330
|
+
return value === proto;
|
1331
|
+
}
|
1332
|
+
module.exports = isPrototype;
|
1333
|
+
}
|
1334
|
+
});
|
1335
|
+
|
1336
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js
|
1337
|
+
var require_overArg = __commonJS({
|
1338
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_overArg.js"(exports, module) {
|
1339
|
+
"use strict";
|
1340
|
+
function overArg(func, transform) {
|
1341
|
+
return function(arg) {
|
1342
|
+
return func(transform(arg));
|
1343
|
+
};
|
1344
|
+
}
|
1345
|
+
module.exports = overArg;
|
1346
|
+
}
|
1347
|
+
});
|
1348
|
+
|
1349
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js
|
1350
|
+
var require_nativeKeys = __commonJS({
|
1351
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeKeys.js"(exports, module) {
|
1352
|
+
"use strict";
|
1353
|
+
var overArg = require_overArg();
|
1354
|
+
var nativeKeys = overArg(Object.keys, Object);
|
1355
|
+
module.exports = nativeKeys;
|
1356
|
+
}
|
1357
|
+
});
|
1358
|
+
|
1359
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js
|
1360
|
+
var require_baseKeys = __commonJS({
|
1361
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseKeys.js"(exports, module) {
|
1362
|
+
"use strict";
|
1363
|
+
var isPrototype = require_isPrototype();
|
1364
|
+
var nativeKeys = require_nativeKeys();
|
1365
|
+
var objectProto = Object.prototype;
|
1366
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1367
|
+
function baseKeys(object) {
|
1368
|
+
if (!isPrototype(object)) {
|
1369
|
+
return nativeKeys(object);
|
1370
|
+
}
|
1371
|
+
var result = [];
|
1372
|
+
for (var key in Object(object)) {
|
1373
|
+
if (hasOwnProperty.call(object, key) && key != "constructor") {
|
1374
|
+
result.push(key);
|
1375
|
+
}
|
1376
|
+
}
|
1377
|
+
return result;
|
1378
|
+
}
|
1379
|
+
module.exports = baseKeys;
|
1380
|
+
}
|
1381
|
+
});
|
1382
|
+
|
1383
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js
|
1384
|
+
var require_isArrayLike = __commonJS({
|
1385
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js"(exports, module) {
|
1386
|
+
"use strict";
|
1387
|
+
var isFunction = require_isFunction();
|
1388
|
+
var isLength = require_isLength();
|
1389
|
+
function isArrayLike(value) {
|
1390
|
+
return value != null && isLength(value.length) && !isFunction(value);
|
1391
|
+
}
|
1392
|
+
module.exports = isArrayLike;
|
1393
|
+
}
|
1394
|
+
});
|
1395
|
+
|
1396
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js
|
1397
|
+
var require_keys = __commonJS({
|
1398
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/keys.js"(exports, module) {
|
1399
|
+
"use strict";
|
1400
|
+
var arrayLikeKeys = require_arrayLikeKeys();
|
1401
|
+
var baseKeys = require_baseKeys();
|
1402
|
+
var isArrayLike = require_isArrayLike();
|
1403
|
+
function keys(object) {
|
1404
|
+
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
1405
|
+
}
|
1406
|
+
module.exports = keys;
|
1407
|
+
}
|
1408
|
+
});
|
1409
|
+
|
1410
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js
|
1411
|
+
var require_getAllKeys = __commonJS({
|
1412
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getAllKeys.js"(exports, module) {
|
1413
|
+
"use strict";
|
1414
|
+
var baseGetAllKeys = require_baseGetAllKeys();
|
1415
|
+
var getSymbols = require_getSymbols();
|
1416
|
+
var keys = require_keys();
|
1417
|
+
function getAllKeys(object) {
|
1418
|
+
return baseGetAllKeys(object, keys, getSymbols);
|
1419
|
+
}
|
1420
|
+
module.exports = getAllKeys;
|
1421
|
+
}
|
1422
|
+
});
|
1423
|
+
|
1424
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js
|
1425
|
+
var require_equalObjects = __commonJS({
|
1426
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_equalObjects.js"(exports, module) {
|
1427
|
+
"use strict";
|
1428
|
+
var getAllKeys = require_getAllKeys();
|
1429
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
1430
|
+
var objectProto = Object.prototype;
|
1431
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1432
|
+
function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
|
1433
|
+
var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
|
1434
|
+
if (objLength != othLength && !isPartial) {
|
1435
|
+
return false;
|
1436
|
+
}
|
1437
|
+
var index = objLength;
|
1438
|
+
while (index--) {
|
1439
|
+
var key = objProps[index];
|
1440
|
+
if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
|
1441
|
+
return false;
|
1442
|
+
}
|
1443
|
+
}
|
1444
|
+
var objStacked = stack.get(object);
|
1445
|
+
var othStacked = stack.get(other);
|
1446
|
+
if (objStacked && othStacked) {
|
1447
|
+
return objStacked == other && othStacked == object;
|
1448
|
+
}
|
1449
|
+
var result = true;
|
1450
|
+
stack.set(object, other);
|
1451
|
+
stack.set(other, object);
|
1452
|
+
var skipCtor = isPartial;
|
1453
|
+
while (++index < objLength) {
|
1454
|
+
key = objProps[index];
|
1455
|
+
var objValue = object[key], othValue = other[key];
|
1456
|
+
if (customizer) {
|
1457
|
+
var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
|
1458
|
+
}
|
1459
|
+
if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
|
1460
|
+
result = false;
|
1461
|
+
break;
|
1462
|
+
}
|
1463
|
+
skipCtor || (skipCtor = key == "constructor");
|
1464
|
+
}
|
1465
|
+
if (result && !skipCtor) {
|
1466
|
+
var objCtor = object.constructor, othCtor = other.constructor;
|
1467
|
+
if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
|
1468
|
+
result = false;
|
1469
|
+
}
|
1470
|
+
}
|
1471
|
+
stack["delete"](object);
|
1472
|
+
stack["delete"](other);
|
1473
|
+
return result;
|
1474
|
+
}
|
1475
|
+
module.exports = equalObjects;
|
1476
|
+
}
|
1477
|
+
});
|
1478
|
+
|
1479
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js
|
1480
|
+
var require_DataView = __commonJS({
|
1481
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_DataView.js"(exports, module) {
|
1482
|
+
"use strict";
|
1483
|
+
var getNative = require_getNative();
|
1484
|
+
var root = require_root();
|
1485
|
+
var DataView = getNative(root, "DataView");
|
1486
|
+
module.exports = DataView;
|
1487
|
+
}
|
1488
|
+
});
|
1489
|
+
|
1490
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js
|
1491
|
+
var require_Promise = __commonJS({
|
1492
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Promise.js"(exports, module) {
|
1493
|
+
"use strict";
|
1494
|
+
var getNative = require_getNative();
|
1495
|
+
var root = require_root();
|
1496
|
+
var Promise2 = getNative(root, "Promise");
|
1497
|
+
module.exports = Promise2;
|
1498
|
+
}
|
1499
|
+
});
|
1500
|
+
|
1501
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js
|
1502
|
+
var require_Set = __commonJS({
|
1503
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Set.js"(exports, module) {
|
1504
|
+
"use strict";
|
1505
|
+
var getNative = require_getNative();
|
1506
|
+
var root = require_root();
|
1507
|
+
var Set2 = getNative(root, "Set");
|
1508
|
+
module.exports = Set2;
|
1509
|
+
}
|
1510
|
+
});
|
1511
|
+
|
1512
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js
|
1513
|
+
var require_WeakMap = __commonJS({
|
1514
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_WeakMap.js"(exports, module) {
|
1515
|
+
"use strict";
|
1516
|
+
var getNative = require_getNative();
|
1517
|
+
var root = require_root();
|
1518
|
+
var WeakMap = getNative(root, "WeakMap");
|
1519
|
+
module.exports = WeakMap;
|
1520
|
+
}
|
1521
|
+
});
|
1522
|
+
|
1523
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js
|
1524
|
+
var require_getTag = __commonJS({
|
1525
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getTag.js"(exports, module) {
|
1526
|
+
"use strict";
|
1527
|
+
var DataView = require_DataView();
|
1528
|
+
var Map2 = require_Map();
|
1529
|
+
var Promise2 = require_Promise();
|
1530
|
+
var Set2 = require_Set();
|
1531
|
+
var WeakMap = require_WeakMap();
|
1532
|
+
var baseGetTag = require_baseGetTag();
|
1533
|
+
var toSource = require_toSource();
|
1534
|
+
var mapTag = "[object Map]";
|
1535
|
+
var objectTag = "[object Object]";
|
1536
|
+
var promiseTag = "[object Promise]";
|
1537
|
+
var setTag = "[object Set]";
|
1538
|
+
var weakMapTag = "[object WeakMap]";
|
1539
|
+
var dataViewTag = "[object DataView]";
|
1540
|
+
var dataViewCtorString = toSource(DataView);
|
1541
|
+
var mapCtorString = toSource(Map2);
|
1542
|
+
var promiseCtorString = toSource(Promise2);
|
1543
|
+
var setCtorString = toSource(Set2);
|
1544
|
+
var weakMapCtorString = toSource(WeakMap);
|
1545
|
+
var getTag = baseGetTag;
|
1546
|
+
if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
|
1547
|
+
getTag = function(value) {
|
1548
|
+
var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
1549
|
+
if (ctorString) {
|
1550
|
+
switch (ctorString) {
|
1551
|
+
case dataViewCtorString:
|
1552
|
+
return dataViewTag;
|
1553
|
+
case mapCtorString:
|
1554
|
+
return mapTag;
|
1555
|
+
case promiseCtorString:
|
1556
|
+
return promiseTag;
|
1557
|
+
case setCtorString:
|
1558
|
+
return setTag;
|
1559
|
+
case weakMapCtorString:
|
1560
|
+
return weakMapTag;
|
1561
|
+
}
|
1562
|
+
}
|
1563
|
+
return result;
|
1564
|
+
};
|
1565
|
+
}
|
1566
|
+
module.exports = getTag;
|
1567
|
+
}
|
1568
|
+
});
|
1569
|
+
|
1570
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js
|
1571
|
+
var require_baseIsEqualDeep = __commonJS({
|
1572
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqualDeep.js"(exports, module) {
|
1573
|
+
"use strict";
|
1574
|
+
var Stack = require_Stack();
|
1575
|
+
var equalArrays = require_equalArrays();
|
1576
|
+
var equalByTag = require_equalByTag();
|
1577
|
+
var equalObjects = require_equalObjects();
|
1578
|
+
var getTag = require_getTag();
|
1579
|
+
var isArray = require_isArray();
|
1580
|
+
var isBuffer = require_isBuffer();
|
1581
|
+
var isTypedArray = require_isTypedArray();
|
1582
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
1583
|
+
var argsTag = "[object Arguments]";
|
1584
|
+
var arrayTag = "[object Array]";
|
1585
|
+
var objectTag = "[object Object]";
|
1586
|
+
var objectProto = Object.prototype;
|
1587
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
1588
|
+
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
1589
|
+
var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
|
1590
|
+
objTag = objTag == argsTag ? objectTag : objTag;
|
1591
|
+
othTag = othTag == argsTag ? objectTag : othTag;
|
1592
|
+
var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
|
1593
|
+
if (isSameTag && isBuffer(object)) {
|
1594
|
+
if (!isBuffer(other)) {
|
1595
|
+
return false;
|
1596
|
+
}
|
1597
|
+
objIsArr = true;
|
1598
|
+
objIsObj = false;
|
1599
|
+
}
|
1600
|
+
if (isSameTag && !objIsObj) {
|
1601
|
+
stack || (stack = new Stack());
|
1602
|
+
return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
|
1603
|
+
}
|
1604
|
+
if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
|
1605
|
+
var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
|
1606
|
+
if (objIsWrapped || othIsWrapped) {
|
1607
|
+
var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
|
1608
|
+
stack || (stack = new Stack());
|
1609
|
+
return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
|
1610
|
+
}
|
1611
|
+
}
|
1612
|
+
if (!isSameTag) {
|
1613
|
+
return false;
|
1614
|
+
}
|
1615
|
+
stack || (stack = new Stack());
|
1616
|
+
return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
|
1617
|
+
}
|
1618
|
+
module.exports = baseIsEqualDeep;
|
1619
|
+
}
|
1620
|
+
});
|
1621
|
+
|
1622
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js
|
1623
|
+
var require_baseIsEqual = __commonJS({
|
1624
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsEqual.js"(exports, module) {
|
1625
|
+
"use strict";
|
1626
|
+
var baseIsEqualDeep = require_baseIsEqualDeep();
|
1627
|
+
var isObjectLike = require_isObjectLike();
|
1628
|
+
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
1629
|
+
if (value === other) {
|
1630
|
+
return true;
|
1631
|
+
}
|
1632
|
+
if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
|
1633
|
+
return value !== value && other !== other;
|
1634
|
+
}
|
1635
|
+
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
1636
|
+
}
|
1637
|
+
module.exports = baseIsEqual;
|
1638
|
+
}
|
1639
|
+
});
|
1640
|
+
|
1641
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js
|
1642
|
+
var require_baseIsMatch = __commonJS({
|
1643
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js"(exports, module) {
|
1644
|
+
"use strict";
|
1645
|
+
var Stack = require_Stack();
|
1646
|
+
var baseIsEqual = require_baseIsEqual();
|
1647
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
1648
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
1649
|
+
function baseIsMatch(object, source, matchData, customizer) {
|
1650
|
+
var index = matchData.length, length = index, noCustomizer = !customizer;
|
1651
|
+
if (object == null) {
|
1652
|
+
return !length;
|
1653
|
+
}
|
1654
|
+
object = Object(object);
|
1655
|
+
while (index--) {
|
1656
|
+
var data = matchData[index];
|
1657
|
+
if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
|
1658
|
+
return false;
|
1659
|
+
}
|
1660
|
+
}
|
1661
|
+
while (++index < length) {
|
1662
|
+
data = matchData[index];
|
1663
|
+
var key = data[0], objValue = object[key], srcValue = data[1];
|
1664
|
+
if (noCustomizer && data[2]) {
|
1665
|
+
if (objValue === void 0 && !(key in object)) {
|
1666
|
+
return false;
|
1667
|
+
}
|
1668
|
+
} else {
|
1669
|
+
var stack = new Stack();
|
1670
|
+
if (customizer) {
|
1671
|
+
var result = customizer(objValue, srcValue, key, object, source, stack);
|
1672
|
+
}
|
1673
|
+
if (!(result === void 0 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result)) {
|
1674
|
+
return false;
|
1675
|
+
}
|
1676
|
+
}
|
1677
|
+
}
|
1678
|
+
return true;
|
1679
|
+
}
|
1680
|
+
module.exports = baseIsMatch;
|
1681
|
+
}
|
1682
|
+
});
|
1683
|
+
|
1684
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js
|
1685
|
+
var require_isStrictComparable = __commonJS({
|
1686
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isStrictComparable.js"(exports, module) {
|
1687
|
+
"use strict";
|
1688
|
+
var isObject = require_isObject();
|
1689
|
+
function isStrictComparable(value) {
|
1690
|
+
return value === value && !isObject(value);
|
1691
|
+
}
|
1692
|
+
module.exports = isStrictComparable;
|
1693
|
+
}
|
1694
|
+
});
|
1695
|
+
|
1696
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js
|
1697
|
+
var require_getMatchData = __commonJS({
|
1698
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getMatchData.js"(exports, module) {
|
1699
|
+
"use strict";
|
1700
|
+
var isStrictComparable = require_isStrictComparable();
|
1701
|
+
var keys = require_keys();
|
1702
|
+
function getMatchData(object) {
|
1703
|
+
var result = keys(object), length = result.length;
|
1704
|
+
while (length--) {
|
1705
|
+
var key = result[length], value = object[key];
|
1706
|
+
result[length] = [key, value, isStrictComparable(value)];
|
1707
|
+
}
|
1708
|
+
return result;
|
1709
|
+
}
|
1710
|
+
module.exports = getMatchData;
|
1711
|
+
}
|
1712
|
+
});
|
1713
|
+
|
1714
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js
|
1715
|
+
var require_matchesStrictComparable = __commonJS({
|
1716
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_matchesStrictComparable.js"(exports, module) {
|
1717
|
+
"use strict";
|
1718
|
+
function matchesStrictComparable(key, srcValue) {
|
1719
|
+
return function(object) {
|
1720
|
+
if (object == null) {
|
1721
|
+
return false;
|
1722
|
+
}
|
1723
|
+
return object[key] === srcValue && (srcValue !== void 0 || key in Object(object));
|
1724
|
+
};
|
1725
|
+
}
|
1726
|
+
module.exports = matchesStrictComparable;
|
1727
|
+
}
|
1728
|
+
});
|
1729
|
+
|
1730
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js
|
1731
|
+
var require_baseMatches = __commonJS({
|
1732
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatches.js"(exports, module) {
|
1733
|
+
"use strict";
|
1734
|
+
var baseIsMatch = require_baseIsMatch();
|
1735
|
+
var getMatchData = require_getMatchData();
|
1736
|
+
var matchesStrictComparable = require_matchesStrictComparable();
|
1737
|
+
function baseMatches(source) {
|
1738
|
+
var matchData = getMatchData(source);
|
1739
|
+
if (matchData.length == 1 && matchData[0][2]) {
|
1740
|
+
return matchesStrictComparable(matchData[0][0], matchData[0][1]);
|
1741
|
+
}
|
1742
|
+
return function(object) {
|
1743
|
+
return object === source || baseIsMatch(object, source, matchData);
|
1744
|
+
};
|
1745
|
+
}
|
1746
|
+
module.exports = baseMatches;
|
1747
|
+
}
|
1748
|
+
});
|
1749
|
+
|
1750
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js
|
1751
|
+
var require_isSymbol = __commonJS({
|
1752
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isSymbol.js"(exports, module) {
|
1753
|
+
"use strict";
|
1754
|
+
var baseGetTag = require_baseGetTag();
|
1755
|
+
var isObjectLike = require_isObjectLike();
|
1756
|
+
var symbolTag = "[object Symbol]";
|
1757
|
+
function isSymbol(value) {
|
1758
|
+
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
1759
|
+
}
|
1760
|
+
module.exports = isSymbol;
|
1761
|
+
}
|
1762
|
+
});
|
1763
|
+
|
1764
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js
|
1765
|
+
var require_isKey = __commonJS({
|
1766
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isKey.js"(exports, module) {
|
1767
|
+
"use strict";
|
1768
|
+
var isArray = require_isArray();
|
1769
|
+
var isSymbol = require_isSymbol();
|
1770
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
1771
|
+
var reIsPlainProp = /^\w*$/;
|
1772
|
+
function isKey(value, object) {
|
1773
|
+
if (isArray(value)) {
|
1774
|
+
return false;
|
1775
|
+
}
|
1776
|
+
var type = typeof value;
|
1777
|
+
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
|
1778
|
+
return true;
|
1779
|
+
}
|
1780
|
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
1781
|
+
}
|
1782
|
+
module.exports = isKey;
|
1783
|
+
}
|
1784
|
+
});
|
1785
|
+
|
1786
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js
|
1787
|
+
var require_memoize = __commonJS({
|
1788
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/memoize.js"(exports, module) {
|
1789
|
+
"use strict";
|
1790
|
+
var MapCache = require_MapCache();
|
1791
|
+
var FUNC_ERROR_TEXT = "Expected a function";
|
1792
|
+
function memoize(func, resolver) {
|
1793
|
+
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
1794
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
1795
|
+
}
|
1796
|
+
var memoized = function() {
|
1797
|
+
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
1798
|
+
if (cache.has(key)) {
|
1799
|
+
return cache.get(key);
|
1800
|
+
}
|
1801
|
+
var result = func.apply(this, args);
|
1802
|
+
memoized.cache = cache.set(key, result) || cache;
|
1803
|
+
return result;
|
1804
|
+
};
|
1805
|
+
memoized.cache = new (memoize.Cache || MapCache)();
|
1806
|
+
return memoized;
|
1807
|
+
}
|
1808
|
+
memoize.Cache = MapCache;
|
1809
|
+
module.exports = memoize;
|
1810
|
+
}
|
1811
|
+
});
|
1812
|
+
|
1813
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js
|
1814
|
+
var require_memoizeCapped = __commonJS({
|
1815
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_memoizeCapped.js"(exports, module) {
|
1816
|
+
"use strict";
|
1817
|
+
var memoize = require_memoize();
|
1818
|
+
var MAX_MEMOIZE_SIZE = 500;
|
1819
|
+
function memoizeCapped(func) {
|
1820
|
+
var result = memoize(func, function(key) {
|
1821
|
+
if (cache.size === MAX_MEMOIZE_SIZE) {
|
1822
|
+
cache.clear();
|
1823
|
+
}
|
1824
|
+
return key;
|
1825
|
+
});
|
1826
|
+
var cache = result.cache;
|
1827
|
+
return result;
|
1828
|
+
}
|
1829
|
+
module.exports = memoizeCapped;
|
1830
|
+
}
|
1831
|
+
});
|
1832
|
+
|
1833
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js
|
1834
|
+
var require_stringToPath = __commonJS({
|
1835
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_stringToPath.js"(exports, module) {
|
1836
|
+
"use strict";
|
1837
|
+
var memoizeCapped = require_memoizeCapped();
|
1838
|
+
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
1839
|
+
var reEscapeChar = /\\(\\)?/g;
|
1840
|
+
var stringToPath = memoizeCapped(function(string) {
|
1841
|
+
var result = [];
|
1842
|
+
if (string.charCodeAt(0) === 46) {
|
1843
|
+
result.push("");
|
1844
|
+
}
|
1845
|
+
string.replace(rePropName, function(match, number, quote, subString) {
|
1846
|
+
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
1847
|
+
});
|
1848
|
+
return result;
|
1849
|
+
});
|
1850
|
+
module.exports = stringToPath;
|
1851
|
+
}
|
1852
|
+
});
|
1853
|
+
|
1854
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js
|
1855
|
+
var require_arrayMap = __commonJS({
|
1856
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_arrayMap.js"(exports, module) {
|
1857
|
+
"use strict";
|
1858
|
+
function arrayMap(array, iteratee) {
|
1859
|
+
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
1860
|
+
while (++index < length) {
|
1861
|
+
result[index] = iteratee(array[index], index, array);
|
1862
|
+
}
|
1863
|
+
return result;
|
1864
|
+
}
|
1865
|
+
module.exports = arrayMap;
|
1866
|
+
}
|
1867
|
+
});
|
1868
|
+
|
1869
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js
|
1870
|
+
var require_baseToString = __commonJS({
|
1871
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseToString.js"(exports, module) {
|
1872
|
+
"use strict";
|
1873
|
+
var Symbol2 = require_Symbol();
|
1874
|
+
var arrayMap = require_arrayMap();
|
1875
|
+
var isArray = require_isArray();
|
1876
|
+
var isSymbol = require_isSymbol();
|
1877
|
+
var INFINITY = 1 / 0;
|
1878
|
+
var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
|
1879
|
+
var symbolToString = symbolProto ? symbolProto.toString : void 0;
|
1880
|
+
function baseToString(value) {
|
1881
|
+
if (typeof value == "string") {
|
1882
|
+
return value;
|
1883
|
+
}
|
1884
|
+
if (isArray(value)) {
|
1885
|
+
return arrayMap(value, baseToString) + "";
|
1886
|
+
}
|
1887
|
+
if (isSymbol(value)) {
|
1888
|
+
return symbolToString ? symbolToString.call(value) : "";
|
1889
|
+
}
|
1890
|
+
var result = value + "";
|
1891
|
+
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
1892
|
+
}
|
1893
|
+
module.exports = baseToString;
|
1894
|
+
}
|
1895
|
+
});
|
1896
|
+
|
1897
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js
|
1898
|
+
var require_toString = __commonJS({
|
1899
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toString.js"(exports, module) {
|
1900
|
+
"use strict";
|
1901
|
+
var baseToString = require_baseToString();
|
1902
|
+
function toString(value) {
|
1903
|
+
return value == null ? "" : baseToString(value);
|
1904
|
+
}
|
1905
|
+
module.exports = toString;
|
1906
|
+
}
|
1907
|
+
});
|
1908
|
+
|
1909
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js
|
1910
|
+
var require_castPath = __commonJS({
|
1911
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_castPath.js"(exports, module) {
|
1912
|
+
"use strict";
|
1913
|
+
var isArray = require_isArray();
|
1914
|
+
var isKey = require_isKey();
|
1915
|
+
var stringToPath = require_stringToPath();
|
1916
|
+
var toString = require_toString();
|
1917
|
+
function castPath(value, object) {
|
1918
|
+
if (isArray(value)) {
|
1919
|
+
return value;
|
1920
|
+
}
|
1921
|
+
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
1922
|
+
}
|
1923
|
+
module.exports = castPath;
|
1924
|
+
}
|
1925
|
+
});
|
1926
|
+
|
1927
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js
|
1928
|
+
var require_toKey = __commonJS({
|
1929
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toKey.js"(exports, module) {
|
1930
|
+
"use strict";
|
1931
|
+
var isSymbol = require_isSymbol();
|
1932
|
+
var INFINITY = 1 / 0;
|
1933
|
+
function toKey(value) {
|
1934
|
+
if (typeof value == "string" || isSymbol(value)) {
|
1935
|
+
return value;
|
1936
|
+
}
|
1937
|
+
var result = value + "";
|
1938
|
+
return result == "0" && 1 / value == -INFINITY ? "-0" : result;
|
1939
|
+
}
|
1940
|
+
module.exports = toKey;
|
1941
|
+
}
|
1942
|
+
});
|
1943
|
+
|
1944
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js
|
1945
|
+
var require_baseGet = __commonJS({
|
1946
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGet.js"(exports, module) {
|
1947
|
+
"use strict";
|
1948
|
+
var castPath = require_castPath();
|
1949
|
+
var toKey = require_toKey();
|
1950
|
+
function baseGet(object, path4) {
|
1951
|
+
path4 = castPath(path4, object);
|
1952
|
+
var index = 0, length = path4.length;
|
1953
|
+
while (object != null && index < length) {
|
1954
|
+
object = object[toKey(path4[index++])];
|
1955
|
+
}
|
1956
|
+
return index && index == length ? object : void 0;
|
1957
|
+
}
|
1958
|
+
module.exports = baseGet;
|
1959
|
+
}
|
1960
|
+
});
|
1961
|
+
|
1962
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js
|
1963
|
+
var require_get = __commonJS({
|
1964
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports, module) {
|
1965
|
+
"use strict";
|
1966
|
+
var baseGet = require_baseGet();
|
1967
|
+
function get(object, path4, defaultValue) {
|
1968
|
+
var result = object == null ? void 0 : baseGet(object, path4);
|
1969
|
+
return result === void 0 ? defaultValue : result;
|
1970
|
+
}
|
1971
|
+
module.exports = get;
|
1972
|
+
}
|
1973
|
+
});
|
1974
|
+
|
1975
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js
|
1976
|
+
var require_baseHasIn = __commonJS({
|
1977
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseHasIn.js"(exports, module) {
|
1978
|
+
"use strict";
|
1979
|
+
function baseHasIn(object, key) {
|
1980
|
+
return object != null && key in Object(object);
|
1981
|
+
}
|
1982
|
+
module.exports = baseHasIn;
|
1983
|
+
}
|
1984
|
+
});
|
1985
|
+
|
1986
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js
|
1987
|
+
var require_hasPath = __commonJS({
|
1988
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hasPath.js"(exports, module) {
|
1989
|
+
"use strict";
|
1990
|
+
var castPath = require_castPath();
|
1991
|
+
var isArguments = require_isArguments();
|
1992
|
+
var isArray = require_isArray();
|
1993
|
+
var isIndex = require_isIndex();
|
1994
|
+
var isLength = require_isLength();
|
1995
|
+
var toKey = require_toKey();
|
1996
|
+
function hasPath(object, path4, hasFunc) {
|
1997
|
+
path4 = castPath(path4, object);
|
1998
|
+
var index = -1, length = path4.length, result = false;
|
1999
|
+
while (++index < length) {
|
2000
|
+
var key = toKey(path4[index]);
|
2001
|
+
if (!(result = object != null && hasFunc(object, key))) {
|
2002
|
+
break;
|
2003
|
+
}
|
2004
|
+
object = object[key];
|
2005
|
+
}
|
2006
|
+
if (result || ++index != length) {
|
2007
|
+
return result;
|
2008
|
+
}
|
2009
|
+
length = object == null ? 0 : object.length;
|
2010
|
+
return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
|
2011
|
+
}
|
2012
|
+
module.exports = hasPath;
|
2013
|
+
}
|
2014
|
+
});
|
2015
|
+
|
2016
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js
|
2017
|
+
var require_hasIn = __commonJS({
|
2018
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/hasIn.js"(exports, module) {
|
2019
|
+
"use strict";
|
2020
|
+
var baseHasIn = require_baseHasIn();
|
2021
|
+
var hasPath = require_hasPath();
|
2022
|
+
function hasIn(object, path4) {
|
2023
|
+
return object != null && hasPath(object, path4, baseHasIn);
|
2024
|
+
}
|
2025
|
+
module.exports = hasIn;
|
2026
|
+
}
|
2027
|
+
});
|
2028
|
+
|
2029
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js
|
2030
|
+
var require_baseMatchesProperty = __commonJS({
|
2031
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js"(exports, module) {
|
2032
|
+
"use strict";
|
2033
|
+
var baseIsEqual = require_baseIsEqual();
|
2034
|
+
var get = require_get();
|
2035
|
+
var hasIn = require_hasIn();
|
2036
|
+
var isKey = require_isKey();
|
2037
|
+
var isStrictComparable = require_isStrictComparable();
|
2038
|
+
var matchesStrictComparable = require_matchesStrictComparable();
|
2039
|
+
var toKey = require_toKey();
|
2040
|
+
var COMPARE_PARTIAL_FLAG = 1;
|
2041
|
+
var COMPARE_UNORDERED_FLAG = 2;
|
2042
|
+
function baseMatchesProperty(path4, srcValue) {
|
2043
|
+
if (isKey(path4) && isStrictComparable(srcValue)) {
|
2044
|
+
return matchesStrictComparable(toKey(path4), srcValue);
|
2045
|
+
}
|
2046
|
+
return function(object) {
|
2047
|
+
var objValue = get(object, path4);
|
2048
|
+
return objValue === void 0 && objValue === srcValue ? hasIn(object, path4) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
|
2049
|
+
};
|
2050
|
+
}
|
2051
|
+
module.exports = baseMatchesProperty;
|
2052
|
+
}
|
2053
|
+
});
|
2054
|
+
|
2055
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js
|
2056
|
+
var require_identity = __commonJS({
|
2057
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/identity.js"(exports, module) {
|
2058
|
+
"use strict";
|
2059
|
+
function identity(value) {
|
2060
|
+
return value;
|
2061
|
+
}
|
2062
|
+
module.exports = identity;
|
2063
|
+
}
|
2064
|
+
});
|
2065
|
+
|
2066
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js
|
2067
|
+
var require_baseProperty = __commonJS({
|
2068
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseProperty.js"(exports, module) {
|
2069
|
+
"use strict";
|
2070
|
+
function baseProperty(key) {
|
2071
|
+
return function(object) {
|
2072
|
+
return object == null ? void 0 : object[key];
|
2073
|
+
};
|
2074
|
+
}
|
2075
|
+
module.exports = baseProperty;
|
2076
|
+
}
|
2077
|
+
});
|
2078
|
+
|
2079
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js
|
2080
|
+
var require_basePropertyDeep = __commonJS({
|
2081
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_basePropertyDeep.js"(exports, module) {
|
2082
|
+
"use strict";
|
2083
|
+
var baseGet = require_baseGet();
|
2084
|
+
function basePropertyDeep(path4) {
|
2085
|
+
return function(object) {
|
2086
|
+
return baseGet(object, path4);
|
2087
|
+
};
|
2088
|
+
}
|
2089
|
+
module.exports = basePropertyDeep;
|
2090
|
+
}
|
2091
|
+
});
|
2092
|
+
|
2093
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js
|
2094
|
+
var require_property = __commonJS({
|
2095
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/property.js"(exports, module) {
|
2096
|
+
"use strict";
|
2097
|
+
var baseProperty = require_baseProperty();
|
2098
|
+
var basePropertyDeep = require_basePropertyDeep();
|
2099
|
+
var isKey = require_isKey();
|
2100
|
+
var toKey = require_toKey();
|
2101
|
+
function property(path4) {
|
2102
|
+
return isKey(path4) ? baseProperty(toKey(path4)) : basePropertyDeep(path4);
|
2103
|
+
}
|
2104
|
+
module.exports = property;
|
2105
|
+
}
|
2106
|
+
});
|
2107
|
+
|
2108
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js
|
2109
|
+
var require_baseIteratee = __commonJS({
|
2110
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIteratee.js"(exports, module) {
|
2111
|
+
"use strict";
|
2112
|
+
var baseMatches = require_baseMatches();
|
2113
|
+
var baseMatchesProperty = require_baseMatchesProperty();
|
2114
|
+
var identity = require_identity();
|
2115
|
+
var isArray = require_isArray();
|
2116
|
+
var property = require_property();
|
2117
|
+
function baseIteratee(value) {
|
2118
|
+
if (typeof value == "function") {
|
2119
|
+
return value;
|
2120
|
+
}
|
2121
|
+
if (value == null) {
|
2122
|
+
return identity;
|
2123
|
+
}
|
2124
|
+
if (typeof value == "object") {
|
2125
|
+
return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
|
2126
|
+
}
|
2127
|
+
return property(value);
|
2128
|
+
}
|
2129
|
+
module.exports = baseIteratee;
|
2130
|
+
}
|
2131
|
+
});
|
2132
|
+
|
2133
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js
|
2134
|
+
var require_trimmedEndIndex = __commonJS({
|
2135
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
|
2136
|
+
"use strict";
|
2137
|
+
var reWhitespace = /\s/;
|
2138
|
+
function trimmedEndIndex(string) {
|
2139
|
+
var index = string.length;
|
2140
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
2141
|
+
}
|
2142
|
+
return index;
|
2143
|
+
}
|
2144
|
+
module.exports = trimmedEndIndex;
|
2145
|
+
}
|
2146
|
+
});
|
2147
|
+
|
2148
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js
|
2149
|
+
var require_baseTrim = __commonJS({
|
2150
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseTrim.js"(exports, module) {
|
2151
|
+
"use strict";
|
2152
|
+
var trimmedEndIndex = require_trimmedEndIndex();
|
2153
|
+
var reTrimStart = /^\s+/;
|
2154
|
+
function baseTrim(string) {
|
2155
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
2156
|
+
}
|
2157
|
+
module.exports = baseTrim;
|
2158
|
+
}
|
2159
|
+
});
|
2160
|
+
|
2161
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js
|
2162
|
+
var require_toNumber = __commonJS({
|
2163
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toNumber.js"(exports, module) {
|
2164
|
+
"use strict";
|
2165
|
+
var baseTrim = require_baseTrim();
|
2166
|
+
var isObject = require_isObject();
|
2167
|
+
var isSymbol = require_isSymbol();
|
2168
|
+
var NAN = 0 / 0;
|
2169
|
+
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
2170
|
+
var reIsBinary = /^0b[01]+$/i;
|
2171
|
+
var reIsOctal = /^0o[0-7]+$/i;
|
2172
|
+
var freeParseInt = parseInt;
|
2173
|
+
function toNumber(value) {
|
2174
|
+
if (typeof value == "number") {
|
2175
|
+
return value;
|
2176
|
+
}
|
2177
|
+
if (isSymbol(value)) {
|
2178
|
+
return NAN;
|
2179
|
+
}
|
2180
|
+
if (isObject(value)) {
|
2181
|
+
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
2182
|
+
value = isObject(other) ? other + "" : other;
|
2183
|
+
}
|
2184
|
+
if (typeof value != "string") {
|
2185
|
+
return value === 0 ? value : +value;
|
2186
|
+
}
|
2187
|
+
value = baseTrim(value);
|
2188
|
+
var isBinary = reIsBinary.test(value);
|
2189
|
+
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
2190
|
+
}
|
2191
|
+
module.exports = toNumber;
|
2192
|
+
}
|
2193
|
+
});
|
2194
|
+
|
2195
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toFinite.js
|
2196
|
+
var require_toFinite = __commonJS({
|
2197
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toFinite.js"(exports, module) {
|
2198
|
+
"use strict";
|
2199
|
+
var toNumber = require_toNumber();
|
2200
|
+
var INFINITY = 1 / 0;
|
2201
|
+
var MAX_INTEGER = 17976931348623157e292;
|
2202
|
+
function toFinite(value) {
|
2203
|
+
if (!value) {
|
2204
|
+
return value === 0 ? value : 0;
|
2205
|
+
}
|
2206
|
+
value = toNumber(value);
|
2207
|
+
if (value === INFINITY || value === -INFINITY) {
|
2208
|
+
var sign = value < 0 ? -1 : 1;
|
2209
|
+
return sign * MAX_INTEGER;
|
2210
|
+
}
|
2211
|
+
return value === value ? value : 0;
|
2212
|
+
}
|
2213
|
+
module.exports = toFinite;
|
2214
|
+
}
|
2215
|
+
});
|
2216
|
+
|
2217
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toInteger.js
|
2218
|
+
var require_toInteger = __commonJS({
|
2219
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/toInteger.js"(exports, module) {
|
2220
|
+
"use strict";
|
2221
|
+
var toFinite = require_toFinite();
|
2222
|
+
function toInteger(value) {
|
2223
|
+
var result = toFinite(value), remainder = result % 1;
|
2224
|
+
return result === result ? remainder ? result - remainder : result : 0;
|
2225
|
+
}
|
2226
|
+
module.exports = toInteger;
|
2227
|
+
}
|
2228
|
+
});
|
2229
|
+
|
2230
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/findLastIndex.js
|
2231
|
+
var require_findLastIndex = __commonJS({
|
2232
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/findLastIndex.js"(exports, module) {
|
2233
|
+
"use strict";
|
2234
|
+
var baseFindIndex = require_baseFindIndex();
|
2235
|
+
var baseIteratee = require_baseIteratee();
|
2236
|
+
var toInteger = require_toInteger();
|
2237
|
+
var nativeMax = Math.max;
|
2238
|
+
var nativeMin = Math.min;
|
2239
|
+
function findLastIndex2(array, predicate, fromIndex) {
|
2240
|
+
var length = array == null ? 0 : array.length;
|
2241
|
+
if (!length) {
|
2242
|
+
return -1;
|
2243
|
+
}
|
2244
|
+
var index = length - 1;
|
2245
|
+
if (fromIndex !== void 0) {
|
2246
|
+
index = toInteger(fromIndex);
|
2247
|
+
index = fromIndex < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
|
2248
|
+
}
|
2249
|
+
return baseFindIndex(array, baseIteratee(predicate, 3), index, true);
|
2250
|
+
}
|
2251
|
+
module.exports = findLastIndex2;
|
2252
|
+
}
|
2253
|
+
});
|
2254
|
+
|
2255
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/last.js
|
2256
|
+
var require_last = __commonJS({
|
2257
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/last.js"(exports, module) {
|
2258
|
+
"use strict";
|
2259
|
+
function last4(array) {
|
2260
|
+
var length = array == null ? 0 : array.length;
|
2261
|
+
return length ? array[length - 1] : void 0;
|
2262
|
+
}
|
2263
|
+
module.exports = last4;
|
2264
|
+
}
|
2265
|
+
});
|
2266
|
+
|
2267
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortedIndexBy.js
|
2268
|
+
var require_baseSortedIndexBy = __commonJS({
|
2269
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortedIndexBy.js"(exports, module) {
|
2270
|
+
"use strict";
|
2271
|
+
var isSymbol = require_isSymbol();
|
2272
|
+
var MAX_ARRAY_LENGTH = 4294967295;
|
2273
|
+
var MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1;
|
2274
|
+
var nativeFloor = Math.floor;
|
2275
|
+
var nativeMin = Math.min;
|
2276
|
+
function baseSortedIndexBy(array, value, iteratee, retHighest) {
|
2277
|
+
var low = 0, high = array == null ? 0 : array.length;
|
2278
|
+
if (high === 0) {
|
2279
|
+
return 0;
|
2280
|
+
}
|
2281
|
+
value = iteratee(value);
|
2282
|
+
var valIsNaN = value !== value, valIsNull = value === null, valIsSymbol = isSymbol(value), valIsUndefined = value === void 0;
|
2283
|
+
while (low < high) {
|
2284
|
+
var mid = nativeFloor((low + high) / 2), computed = iteratee(array[mid]), othIsDefined = computed !== void 0, othIsNull = computed === null, othIsReflexive = computed === computed, othIsSymbol = isSymbol(computed);
|
2285
|
+
if (valIsNaN) {
|
2286
|
+
var setLow = retHighest || othIsReflexive;
|
2287
|
+
} else if (valIsUndefined) {
|
2288
|
+
setLow = othIsReflexive && (retHighest || othIsDefined);
|
2289
|
+
} else if (valIsNull) {
|
2290
|
+
setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
|
2291
|
+
} else if (valIsSymbol) {
|
2292
|
+
setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
|
2293
|
+
} else if (othIsNull || othIsSymbol) {
|
2294
|
+
setLow = false;
|
2295
|
+
} else {
|
2296
|
+
setLow = retHighest ? computed <= value : computed < value;
|
2297
|
+
}
|
2298
|
+
if (setLow) {
|
2299
|
+
low = mid + 1;
|
2300
|
+
} else {
|
2301
|
+
high = mid;
|
2302
|
+
}
|
2303
|
+
}
|
2304
|
+
return nativeMin(high, MAX_ARRAY_INDEX);
|
2305
|
+
}
|
2306
|
+
module.exports = baseSortedIndexBy;
|
2307
|
+
}
|
2308
|
+
});
|
2309
|
+
|
2310
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortedIndex.js
|
2311
|
+
var require_baseSortedIndex = __commonJS({
|
2312
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseSortedIndex.js"(exports, module) {
|
2313
|
+
"use strict";
|
2314
|
+
var baseSortedIndexBy = require_baseSortedIndexBy();
|
2315
|
+
var identity = require_identity();
|
2316
|
+
var isSymbol = require_isSymbol();
|
2317
|
+
var MAX_ARRAY_LENGTH = 4294967295;
|
2318
|
+
var HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
|
2319
|
+
function baseSortedIndex(array, value, retHighest) {
|
2320
|
+
var low = 0, high = array == null ? low : array.length;
|
2321
|
+
if (typeof value == "number" && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
|
2322
|
+
while (low < high) {
|
2323
|
+
var mid = low + high >>> 1, computed = array[mid];
|
2324
|
+
if (computed !== null && !isSymbol(computed) && (retHighest ? computed <= value : computed < value)) {
|
2325
|
+
low = mid + 1;
|
2326
|
+
} else {
|
2327
|
+
high = mid;
|
2328
|
+
}
|
2329
|
+
}
|
2330
|
+
return high;
|
2331
|
+
}
|
2332
|
+
return baseSortedIndexBy(array, value, identity, retHighest);
|
2333
|
+
}
|
2334
|
+
module.exports = baseSortedIndex;
|
2335
|
+
}
|
2336
|
+
});
|
2337
|
+
|
2338
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedLastIndex.js
|
2339
|
+
var require_sortedLastIndex = __commonJS({
|
2340
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedLastIndex.js"(exports, module) {
|
2341
|
+
"use strict";
|
2342
|
+
var baseSortedIndex = require_baseSortedIndex();
|
2343
|
+
function sortedLastIndex3(array, value) {
|
2344
|
+
return baseSortedIndex(array, value, true);
|
2345
|
+
}
|
2346
|
+
module.exports = sortedLastIndex3;
|
2347
|
+
}
|
2348
|
+
});
|
2349
|
+
|
2350
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedIndexBy.js
|
2351
|
+
var require_sortedIndexBy = __commonJS({
|
2352
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedIndexBy.js"(exports, module) {
|
2353
|
+
"use strict";
|
2354
|
+
var baseIteratee = require_baseIteratee();
|
2355
|
+
var baseSortedIndexBy = require_baseSortedIndexBy();
|
2356
|
+
function sortedIndexBy4(array, value, iteratee) {
|
2357
|
+
return baseSortedIndexBy(array, value, baseIteratee(iteratee, 2));
|
2358
|
+
}
|
2359
|
+
module.exports = sortedIndexBy4;
|
2360
|
+
}
|
2361
|
+
});
|
2362
|
+
|
2363
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedLastIndexBy.js
|
2364
|
+
var require_sortedLastIndexBy = __commonJS({
|
2365
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/sortedLastIndexBy.js"(exports, module) {
|
2366
|
+
"use strict";
|
2367
|
+
var baseIteratee = require_baseIteratee();
|
2368
|
+
var baseSortedIndexBy = require_baseSortedIndexBy();
|
2369
|
+
function sortedLastIndexBy2(array, value, iteratee) {
|
2370
|
+
return baseSortedIndexBy(array, value, baseIteratee(iteratee, 2), true);
|
2371
|
+
}
|
2372
|
+
module.exports = sortedLastIndexBy2;
|
2373
|
+
}
|
2374
|
+
});
|
2375
|
+
|
2376
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/head.js
|
2377
|
+
var require_head = __commonJS({
|
2378
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/head.js"(exports, module) {
|
2379
|
+
"use strict";
|
2380
|
+
function head(array) {
|
2381
|
+
return array && array.length ? array[0] : void 0;
|
2382
|
+
}
|
2383
|
+
module.exports = head;
|
2384
|
+
}
|
2385
|
+
});
|
2386
|
+
|
2387
|
+
// ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/first.js
|
2388
|
+
var require_first = __commonJS({
|
2389
|
+
"../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/first.js"(exports, module) {
|
2390
|
+
"use strict";
|
2391
|
+
module.exports = require_head();
|
2392
|
+
}
|
2393
|
+
});
|
8
2394
|
|
9
2395
|
// src/parse.ts
|
10
2396
|
var _parser = require('@typescript-eslint/parser');
|
@@ -4519,15 +6905,15 @@ var Tokenizer = (_class = class {
|
|
4519
6905
|
}, _class);
|
4520
6906
|
|
4521
6907
|
// src/template/parser.ts
|
6908
|
+
var import_findLastIndex = __toESM(require_findLastIndex());
|
6909
|
+
var import_last3 = __toESM(require_last());
|
4522
6910
|
|
4523
|
-
var _findLastIndex = require('lodash/findLastIndex'); var _findLastIndex2 = _interopRequireDefault(_findLastIndex);
|
4524
|
-
var _last = require('lodash/last'); var _last2 = _interopRequireDefault(_last);
|
4525
6911
|
|
4526
6912
|
// src/common/location-calculator.ts
|
4527
|
-
var
|
6913
|
+
var import_sortedLastIndex2 = __toESM(require_sortedLastIndex());
|
4528
6914
|
|
4529
6915
|
// src/common/lines-and-columns.ts
|
4530
|
-
|
6916
|
+
var import_sortedLastIndex = __toESM(require_sortedLastIndex());
|
4531
6917
|
var LinesAndColumns = class {
|
4532
6918
|
|
4533
6919
|
/**
|
@@ -4543,7 +6929,7 @@ var LinesAndColumns = class {
|
|
4543
6929
|
* @returns The location of the index.
|
4544
6930
|
*/
|
4545
6931
|
getLocFromIndex(index) {
|
4546
|
-
const line =
|
6932
|
+
const line = (0, import_sortedLastIndex.default)(this.ltOffsets, index) + 1;
|
4547
6933
|
const column = index - (line === 1 ? 0 : this.ltOffsets[line - 2]);
|
4548
6934
|
return { line, column };
|
4549
6935
|
}
|
@@ -4575,7 +6961,7 @@ var LocationCalculatorForHtml = class _LocationCalculatorForHtml extends LinesAn
|
|
4575
6961
|
this.gapOffsets = gapOffsets;
|
4576
6962
|
this.ltOffsets = ltOffsets;
|
4577
6963
|
this.baseOffset = baseOffset || 0;
|
4578
|
-
this.baseIndexOfGap = this.baseOffset === 0 ? 0 :
|
6964
|
+
this.baseIndexOfGap = this.baseOffset === 0 ? 0 : (0, import_sortedLastIndex2.default)(gapOffsets, this.baseOffset);
|
4579
6965
|
this.shiftOffset = shiftOffset;
|
4580
6966
|
}
|
4581
6967
|
/**
|
@@ -4610,7 +6996,7 @@ var LocationCalculatorForHtml = class _LocationCalculatorForHtml extends LinesAn
|
|
4610
6996
|
*/
|
4611
6997
|
_getGap(index) {
|
4612
6998
|
const offsets = this.gapOffsets;
|
4613
|
-
let g0 =
|
6999
|
+
let g0 = (0, import_sortedLastIndex2.default)(offsets, index + this.baseOffset);
|
4614
7000
|
let pos = index + this.baseOffset + g0 - this.baseIndexOfGap;
|
4615
7001
|
while (g0 < offsets.length && offsets[g0] <= pos) {
|
4616
7002
|
g0 += 1;
|
@@ -4646,7 +7032,7 @@ var LocationCalculatorForHtml = class _LocationCalculatorForHtml extends LinesAn
|
|
4646
7032
|
};
|
4647
7033
|
|
4648
7034
|
// src/template/intermediate-tokenizer.ts
|
4649
|
-
|
7035
|
+
var import_last = __toESM(require_last());
|
4650
7036
|
|
4651
7037
|
var DUMMY_PARENT = Object.freeze({});
|
4652
7038
|
function concat(text, token) {
|
@@ -4745,7 +7131,7 @@ var IntermediateTokenizer = class {
|
|
4745
7131
|
this.attribute = null;
|
4746
7132
|
if (this.expressionStartToken != null) {
|
4747
7133
|
const start = this.expressionStartToken;
|
4748
|
-
const end =
|
7134
|
+
const end = (0, import_last.default)(this.expressionTokens) || start;
|
4749
7135
|
const value = this.expressionTokens.reduce(concat, start.value);
|
4750
7136
|
this.expressionStartToken = null;
|
4751
7137
|
this.expressionTokens = [];
|
@@ -4800,7 +7186,7 @@ var IntermediateTokenizer = class {
|
|
4800
7186
|
this.tokens.push(token);
|
4801
7187
|
let result = null;
|
4802
7188
|
if (this.expressionStartToken != null) {
|
4803
|
-
const lastToken =
|
7189
|
+
const lastToken = (0, import_last.default)(this.expressionTokens) || this.expressionStartToken;
|
4804
7190
|
if (lastToken.range[1] === token.range[0]) {
|
4805
7191
|
this.expressionTokens.push(token);
|
4806
7192
|
return null;
|
@@ -5048,7 +7434,7 @@ var IntermediateTokenizer = class {
|
|
5048
7434
|
return this.processText(token);
|
5049
7435
|
}
|
5050
7436
|
const start = this.expressionStartToken;
|
5051
|
-
const end =
|
7437
|
+
const end = (0, import_last.default)(this.expressionTokens) || start;
|
5052
7438
|
if (token.range[0] === start.range[1]) {
|
5053
7439
|
this.tokens.pop();
|
5054
7440
|
this.expressionStartToken = null;
|
@@ -5284,18 +7670,18 @@ for (const name of SVG_TAGS) {
|
|
5284
7670
|
}
|
5285
7671
|
|
5286
7672
|
// src/common/error-utils.ts
|
5287
|
-
var
|
7673
|
+
var import_sortedIndexBy = __toESM(require_sortedIndexBy());
|
5288
7674
|
function byIndex(x) {
|
5289
7675
|
return x.index;
|
5290
7676
|
}
|
5291
7677
|
function insertError(templateMeta, error) {
|
5292
|
-
const index =
|
7678
|
+
const index = (0, import_sortedIndexBy.default)(templateMeta.errors, error, byIndex);
|
5293
7679
|
templateMeta.errors.splice(index, 0, error);
|
5294
7680
|
}
|
5295
7681
|
|
5296
7682
|
// src/common/token-utils.ts
|
5297
|
-
|
5298
|
-
var
|
7683
|
+
var import_sortedIndexBy2 = __toESM(require_sortedIndexBy());
|
7684
|
+
var import_sortedLastIndexBy = __toESM(require_sortedLastIndexBy());
|
5299
7685
|
function byRange0(x) {
|
5300
7686
|
return x.range[0];
|
5301
7687
|
}
|
@@ -5317,19 +7703,19 @@ function insertComments(templateMeta, newComments) {
|
|
5317
7703
|
if (newComments.length === 0) {
|
5318
7704
|
return;
|
5319
7705
|
}
|
5320
|
-
const index =
|
7706
|
+
const index = (0, import_sortedIndexBy2.default)(templateMeta.comments, newComments[0], byRange0);
|
5321
7707
|
templateMeta.comments.splice(index, 0, ...newComments);
|
5322
7708
|
}
|
5323
7709
|
function replaceTokens(templateMeta, node, newTokens) {
|
5324
|
-
const index =
|
5325
|
-
const count =
|
7710
|
+
const index = (0, import_sortedIndexBy2.default)(templateMeta.tokens, node, byRange0);
|
7711
|
+
const count = (0, import_sortedLastIndexBy.default)(templateMeta.tokens, node, byRange1) - index;
|
5326
7712
|
templateMeta.tokens.splice(index, count, ...newTokens);
|
5327
7713
|
}
|
5328
7714
|
|
5329
7715
|
// src/script/index.ts
|
5330
|
-
var
|
5331
|
-
|
5332
|
-
|
7716
|
+
var import_first = __toESM(require_first());
|
7717
|
+
var import_last2 = __toESM(require_last());
|
7718
|
+
var import_sortedIndexBy3 = __toESM(require_sortedIndexBy());
|
5333
7719
|
|
5334
7720
|
// src/common/espree.ts
|
5335
7721
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
@@ -5835,7 +8221,7 @@ function processVForAliasAndIterator(code) {
|
|
5835
8221
|
};
|
5836
8222
|
}
|
5837
8223
|
function getCommaTokenBeforeNode(tokens, node) {
|
5838
|
-
let tokenIndex =
|
8224
|
+
let tokenIndex = (0, import_sortedIndexBy3.default)(
|
5839
8225
|
tokens,
|
5840
8226
|
{ range: node.range },
|
5841
8227
|
(t) => t.range[0]
|
@@ -6100,7 +8486,7 @@ function parseFilter(code, locationCalculator, parserOptions) {
|
|
6100
8486
|
nestCount -= 1;
|
6101
8487
|
}
|
6102
8488
|
}
|
6103
|
-
const token =
|
8489
|
+
const token = (0, import_last2.default)(ast.tokens);
|
6104
8490
|
return throwUnexpectedTokenError(token.value, token);
|
6105
8491
|
}
|
6106
8492
|
for (const argument of callExpression.arguments) {
|
@@ -6112,7 +8498,7 @@ function parseFilter(code, locationCalculator, parserOptions) {
|
|
6112
8498
|
references.push(...analyzeExternalReferences(result, parserOptions));
|
6113
8499
|
}
|
6114
8500
|
const firstToken = tokens[0];
|
6115
|
-
const lastToken =
|
8501
|
+
const lastToken = (0, import_last2.default)(tokens);
|
6116
8502
|
expression.range = [firstToken.range[0], lastToken.range[1]];
|
6117
8503
|
expression.loc = { start: firstToken.loc.start, end: lastToken.loc.end };
|
6118
8504
|
return { expression, tokens, comments, references, variables: [] };
|
@@ -6192,7 +8578,7 @@ function parseExpression(code, locationCalculator, parserOptions, { allowEmpty =
|
|
6192
8578
|
}
|
6193
8579
|
prevLoc += 1 + filterCode.length;
|
6194
8580
|
}
|
6195
|
-
const lastToken =
|
8581
|
+
const lastToken = (0, import_last2.default)(ret.tokens);
|
6196
8582
|
ret.expression.range[1] = lastToken.range[1];
|
6197
8583
|
ret.expression.loc.end = lastToken.loc.end;
|
6198
8584
|
return ret;
|
@@ -6309,7 +8695,7 @@ function parseVForExpressionForEcmaVersion5(code, locationCalculator, parserOpti
|
|
6309
8695
|
if (open != null) {
|
6310
8696
|
open.value = "(";
|
6311
8697
|
}
|
6312
|
-
const close =
|
8698
|
+
const close = (0, import_last2.default)(parsedAliases.tokens);
|
6313
8699
|
if (close != null) {
|
6314
8700
|
close.value = ")";
|
6315
8701
|
}
|
@@ -6347,7 +8733,7 @@ function parseVForExpressionForEcmaVersion5(code, locationCalculator, parserOpti
|
|
6347
8733
|
comments.push(...parsedIterator.comments);
|
6348
8734
|
const { right, references } = parsedIterator;
|
6349
8735
|
const firstToken = tokens[0];
|
6350
|
-
const lastToken =
|
8736
|
+
const lastToken = (0, import_last2.default)(tokens) || firstToken;
|
6351
8737
|
const expression = {
|
6352
8738
|
type: "VForExpression",
|
6353
8739
|
range: [firstToken.range[0], lastToken.range[1]],
|
@@ -6455,8 +8841,8 @@ function parseVOnExpressionBody(code, locationCalculator, parserOptions) {
|
|
6455
8841
|
const functionDecl = outermostStatement.expression.argument;
|
6456
8842
|
const block = functionDecl.body;
|
6457
8843
|
const body = block.body;
|
6458
|
-
const firstStatement =
|
6459
|
-
const lastStatement =
|
8844
|
+
const firstStatement = (0, import_first.default)(body);
|
8845
|
+
const lastStatement = (0, import_last2.default)(body);
|
6460
8846
|
const expression = {
|
6461
8847
|
type: "VOnExpression",
|
6462
8848
|
range: [
|
@@ -6519,8 +8905,8 @@ function parseSlotScopeExpression(code, locationCalculator, parserOptions) {
|
|
6519
8905
|
);
|
6520
8906
|
const references = scope.references;
|
6521
8907
|
const variables = scope.variables;
|
6522
|
-
const firstParam =
|
6523
|
-
const lastParam =
|
8908
|
+
const firstParam = (0, import_first.default)(params);
|
8909
|
+
const lastParam = (0, import_last2.default)(params);
|
6524
8910
|
const expression = {
|
6525
8911
|
type: "VSlotScopeExpression",
|
6526
8912
|
range: [firstParam.range[0], lastParam.range[1]],
|
@@ -7065,7 +9451,7 @@ var DIRECTIVE_NAME = /^(?:v-|[.:@#]).*[^.:@#]$/u;
|
|
7065
9451
|
var DT_DD = /^d[dt]$/u;
|
7066
9452
|
var DUMMY_PARENT3 = Object.freeze({});
|
7067
9453
|
function propagateEndLocation(node) {
|
7068
|
-
const lastChild = (node.type === "VElement" ? node.endTag : null) ||
|
9454
|
+
const lastChild = (node.type === "VElement" ? node.endTag : null) || (0, import_last3.default)(node.children);
|
7069
9455
|
if (lastChild != null) {
|
7070
9456
|
node.range[1] = lastChild.range[1];
|
7071
9457
|
node.loc.end = lastChild.loc.end;
|
@@ -7182,7 +9568,7 @@ var VineTemplateParser = (_class2 = class {
|
|
7182
9568
|
* Get the current node.
|
7183
9569
|
*/
|
7184
9570
|
get currentNode() {
|
7185
|
-
return
|
9571
|
+
return (0, import_last3.default)(this.elementStack) || this.vTemplateRoot;
|
7186
9572
|
}
|
7187
9573
|
/**
|
7188
9574
|
* The source code text.
|
@@ -7439,7 +9825,7 @@ var VineTemplateParser = (_class2 = class {
|
|
7439
9825
|
*/
|
7440
9826
|
EndTag(token) {
|
7441
9827
|
debug("[html] EndTag %j", token);
|
7442
|
-
const i =
|
9828
|
+
const i = (0, import_findLastIndex.default)(
|
7443
9829
|
this.elementStack,
|
7444
9830
|
(el) => el.name.toLowerCase() === token.name
|
7445
9831
|
);
|