llmz 0.9.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DOCS.md +232 -1794
- package/ERRORS.md +101 -0
- package/README.md +96 -582
- package/dist/chat/chat.d.ts +63 -0
- package/dist/chat/component.d.ts +31 -0
- package/dist/chat/component.default.d.ts +58 -0
- package/dist/chat/response.d.ts +15 -0
- package/dist/compiler/compiler.d.ts +2 -7
- package/dist/compiler/plugins/dynamic-code.d.ts +7 -0
- package/dist/compiler/plugins/replace-comment.d.ts +2 -3
- package/dist/compiler/plugins/return-async.d.ts +5 -4
- package/dist/compiler/plugins/termination.d.ts +8 -0
- package/dist/compiler/plugins/tool-resolution.d.ts +4 -0
- package/dist/compiler/plugins/variable-extraction.d.ts +2 -8
- package/dist/component-CMFoCHyu.cjs +649 -0
- package/dist/component-DncqP4fB.js +614 -0
- package/dist/context.d.ts +71 -378
- package/dist/custom-client-C-WXvLD9.js +1655 -0
- package/dist/custom-client-Cgt9_0r1.cjs +1732 -0
- package/dist/custom-client.d.ts +12 -2
- package/dist/errors/catalog.d.ts +294 -0
- package/dist/errors/hooks.d.ts +2 -0
- package/dist/errors-C6ppQUZX.cjs +893 -0
- package/dist/errors-Crk5P8jo.js +636 -0
- package/dist/errors.d.ts +24 -36
- package/dist/execute-CiYvPs5Q.js +2061 -0
- package/dist/execute-DTTfacsi.cjs +2062 -0
- package/dist/{exit-DUM96DN1.cjs → exit-BOtKWPuT.cjs} +38 -28
- package/dist/{exit-CDdxDBRT.js → exit-DMPwCSba.js} +37 -27
- package/dist/exit.d.ts +19 -16
- package/dist/index.cjs +177 -1237
- package/dist/index.d.ts +25 -28
- package/dist/index.js +137 -1213
- package/dist/index.workerd.js +8974 -11145
- package/dist/inspect.d.ts +18 -4
- package/dist/inspection.d.ts +40 -0
- package/dist/native-0bq5ATZM.cjs +212 -0
- package/dist/native-n_718Z-T.js +177 -0
- package/dist/objects.d.ts +2 -57
- package/dist/prompts/native.d.ts +2 -0
- package/dist/prompts/prompt.d.ts +10 -101
- package/dist/quickjs-variant-21IO97PF.cjs +1080 -0
- package/dist/quickjs-variant-CtuGagsb.js +985 -0
- package/dist/result.d.ts +30 -861
- package/dist/runtime/execute.d.ts +3 -2
- package/dist/runtime/execution-activity.d.ts +11 -0
- package/dist/runtime/execution-diagnostics.d.ts +11 -0
- package/dist/runtime/execution-report.d.ts +51 -0
- package/dist/runtime/fixtures/chat.d.ts +8 -0
- package/dist/runtime/fixtures/long-search.d.ts +1 -1
- package/dist/runtime/fixtures/native-client.d.ts +33 -0
- package/dist/runtime/fixtures/protocol-languages.d.ts +1 -1
- package/dist/runtime/forced-inspection.d.ts +13 -0
- package/dist/runtime/forced-inspection.test.d.ts +1 -0
- package/dist/runtime/generate.d.ts +23 -20
- package/dist/runtime/generate.test.d.ts +1 -0
- package/dist/runtime/hook-provenance.test.d.ts +1 -0
- package/dist/runtime/inspection-hook.test.d.ts +1 -0
- package/dist/runtime/inspection-values.d.ts +14 -0
- package/dist/runtime/inspection-values.test.d.ts +1 -0
- package/dist/runtime/interruption-control-flow.test.d.ts +1 -0
- package/dist/runtime/interruption-settings.test.d.ts +1 -0
- package/dist/runtime/javascript-api.d.ts +62 -0
- package/dist/runtime/javascript-api.test.d.ts +1 -0
- package/dist/runtime/native-review.test.d.ts +1 -0
- package/dist/runtime/native-tools.d.ts +18 -0
- package/dist/runtime/native-tools.test.d.ts +1 -0
- package/dist/runtime/object-memory.test.d.ts +1 -0
- package/dist/runtime/single-tool.test.d.ts +1 -0
- package/dist/runtime/think-signal.test.d.ts +1 -0
- package/dist/runtime/token-budget.d.ts +22 -0
- package/dist/runtime/token-budget.test.d.ts +1 -0
- package/dist/runtime/tool-wrapper.d.ts +6 -5
- package/dist/runtime/traces.test.d.ts +1 -0
- package/dist/runtime/truncation.test.d.ts +1 -0
- package/dist/runtime/types.d.ts +47 -31
- package/dist/runtime/variable-recovery.test.d.ts +1 -0
- package/dist/runtime/vm-context.d.ts +6 -1
- package/dist/runtime/worker-completion.test.d.ts +1 -0
- package/dist/runtime-names.d.ts +4 -0
- package/dist/schema-CXlnbb3n.cjs +68 -0
- package/dist/schema-GE4ISPCR.js +45 -0
- package/dist/schema.d.ts +10 -0
- package/dist/schema.test.d.ts +1 -0
- package/dist/session/compactor.d.ts +51 -0
- package/dist/session/compactor.test.d.ts +1 -0
- package/dist/session/history.d.ts +36 -0
- package/dist/session/history.test.d.ts +1 -0
- package/dist/session/json.d.ts +3 -0
- package/dist/session/json.test.d.ts +1 -0
- package/dist/session/memory-codec.d.ts +9 -0
- package/dist/session/memory-codec.test.d.ts +1 -0
- package/dist/session/memory-render.d.ts +15 -0
- package/dist/session/memory-render.test.d.ts +1 -0
- package/dist/session/memory.d.ts +112 -0
- package/dist/session/memory.test.d.ts +1 -0
- package/dist/session/messages.d.ts +19 -0
- package/dist/session/messages.test.d.ts +1 -0
- package/dist/session/serialization.d.ts +36 -0
- package/dist/session/serialization.test.d.ts +1 -0
- package/dist/session/session-memory.test.d.ts +1 -0
- package/dist/session/session.d.ts +121 -0
- package/dist/session/session.test.d.ts +1 -0
- package/dist/session/speaker.test.d.ts +1 -0
- package/dist/{transcript.d.ts → session/transcript.d.ts} +4 -8
- package/dist/session/transcript.test.d.ts +1 -0
- package/dist/{tool-Bv8N4IPj.js → tool-DstssiAs.js} +144 -92
- package/dist/{tool-Dy6AJpJH.cjs → tool-_wK9hQOb.cjs} +146 -94
- package/dist/tool.d.ts +25 -17
- package/dist/truncate-BEKbdo3t.js +79 -0
- package/dist/truncate-uomAMGPs.cjs +102 -0
- package/dist/truncate.d.ts +24 -0
- package/dist/truncate.test.d.ts +1 -0
- package/dist/types.d.ts +33 -9
- package/dist/{typings-3lsqCbkn.cjs → typings-BA_XxAcY.cjs} +38 -193
- package/dist/{typings-CrBa7Tyy.js → typings-BEVDvtuk.js} +38 -175
- package/dist/typings-formatter.d.ts +1 -1
- package/dist/typings.d.ts +3 -0
- package/dist/{uniq-BYQ7GWwb.js → uniq-DfUeSNaX.js} +2 -2
- package/dist/{uniq-G872RWmE.cjs → uniq-DiXgysNV.cjs} +6 -18
- package/dist/{_baseIteratee-P_firB7b.js → utils-BOFzb8Ok.js} +1134 -16
- package/dist/{_baseIteratee-CF4qP2a8.cjs → utils-CTlsXvdj.cjs} +1281 -84
- package/dist/vm/drivers/node.d.ts +1 -1
- package/dist/vm/drivers/quickjs.d.ts +1 -1
- package/dist/vm/errors.d.ts +4 -4
- package/dist/vm/index.d.ts +3 -4
- package/dist/vm/instrument.d.ts +14 -6
- package/dist/vm/member-proxy.d.ts +4 -0
- package/dist/vm/member-proxy.test.d.ts +1 -0
- package/dist/vm/memory.test.d.ts +1 -0
- package/dist/vm/return-semantics.test.d.ts +1 -0
- package/dist/vm/types.d.ts +20 -3
- package/dist/{vm-BLsHw1da.js → vm-C7SfutHn.js} +1187 -180
- package/dist/{vm-D6s1zF6M.cjs → vm-gmekHc0i.cjs} +1221 -207
- package/package.json +13 -6
- package/dist/_baseForOwn-BfWDTL8L.cjs +0 -53
- package/dist/_baseForOwn-CFhWe_W6.js +0 -48
- package/dist/_getPrototype-CG7Dxrrz.js +0 -6
- package/dist/_getPrototype-DQDlNVVM.cjs +0 -10
- package/dist/_overArg-C5Hy7oCi.cjs +0 -196
- package/dist/_overArg-CRYbj1NH.js +0 -155
- package/dist/chat.d.ts +0 -401
- package/dist/common-BlRFtdf2.js +0 -807
- package/dist/common-BnvrDnIT.cjs +0 -860
- package/dist/compiler/plugins/track-tool-calls.d.ts +0 -33
- package/dist/compiler-C-OI9sim.cjs +0 -547
- package/dist/compiler-CW1VjQsn.js +0 -473
- package/dist/component-C6Agl2ns.cjs +0 -73
- package/dist/component-DGG7d_Mz.js +0 -44
- package/dist/component.d.ts +0 -88
- package/dist/component.default.d.ts +0 -278
- package/dist/custom-client-ChuZ63zp.js +0 -2658
- package/dist/custom-client-DAsGRnYc.cjs +0 -2729
- package/dist/dual-modes-DDkoCp3R.js +0 -3006
- package/dist/dual-modes-DPXiuvNe.cjs +0 -3090
- package/dist/errors-C962uJdS.cjs +0 -220
- package/dist/errors-Cg1G0Awu.js +0 -161
- package/dist/example-format.d.ts +0 -8
- package/dist/example.d.ts +0 -45
- package/dist/execute-BWcdv9so.js +0 -1059
- package/dist/execute-DM2-7y86.cjs +0 -1060
- package/dist/exit-parser.d.ts +0 -39
- package/dist/handlers.d.ts +0 -10
- package/dist/hoist.d.ts +0 -2
- package/dist/isEmpty-BhJRCqIF.js +0 -52
- package/dist/isEmpty-LY533Wmh.cjs +0 -57
- package/dist/isPlainObject-CSxXVKCk.cjs +0 -56
- package/dist/isPlainObject-D39AzPO2.js +0 -51
- package/dist/jsx-CIgdGGVs.js +0 -52
- package/dist/jsx-owqxrquU.cjs +0 -75
- package/dist/jsx.d.ts +0 -11
- package/dist/message-stream/index.d.ts +0 -9
- package/dist/message-stream/instructions.d.ts +0 -30
- package/dist/message-stream/normalizer.d.ts +0 -21
- package/dist/message-stream/parser.d.ts +0 -89
- package/dist/message-stream/registry.d.ts +0 -14
- package/dist/message-stream/replayable.d.ts +0 -27
- package/dist/message-stream/response-parser.d.ts +0 -24
- package/dist/message-stream/sanitize.d.ts +0 -10
- package/dist/message-stream/stream.d.ts +0 -54
- package/dist/message-stream/types.d.ts +0 -97
- package/dist/message-stream/validator.d.ts +0 -23
- package/dist/prompts/chat-mode/protocol.d.ts +0 -2
- package/dist/prompts/chat-mode/system.d.ts +0 -2
- package/dist/prompts/chat-mode/system.md.d.ts +0 -2
- package/dist/prompts/chat-mode/user.d.ts +0 -2
- package/dist/prompts/chat-mode/user.md.d.ts +0 -2
- package/dist/prompts/code-examples.d.ts +0 -2
- package/dist/prompts/common.d.ts +0 -7
- package/dist/prompts/dual-modes.d.ts +0 -2
- package/dist/prompts/execution-history.d.ts +0 -6
- package/dist/prompts/execution-state.d.ts +0 -3
- package/dist/prompts/protocol-basics.d.ts +0 -5
- package/dist/prompts/protocol.d.ts +0 -31
- package/dist/prompts/worker-mode/protocol.d.ts +0 -2
- package/dist/prompts/worker-mode/system.d.ts +0 -2
- package/dist/prompts/worker-mode/system.md.d.ts +0 -2
- package/dist/prompts/worker-mode/user.d.ts +0 -2
- package/dist/prompts/worker-mode/user.md.d.ts +0 -2
- package/dist/quickjs-variant-BYhMBpwU.js +0 -45
- package/dist/quickjs-variant-CsIwTVFC.cjs +0 -56
- package/dist/rolldown-runtime-EAsCxrDo.js +0 -14
- package/dist/runtime/fixtures/qwen-protocol-failures.d.ts +0 -29
- package/dist/runtime/interpret-result.d.ts +0 -22
- package/dist/snapshots.d.ts +0 -249
- package/dist/stack-traces-BIE_5Xwf.js +0 -21
- package/dist/stack-traces-ntw_qhoy.cjs +0 -26
- package/dist/truncator-CLkouTCO.cjs +0 -276
- package/dist/truncator-DZqEqnpD.js +0 -253
- package/dist/truncator.d.ts +0 -118
- package/dist/utils-3ESwP3yg.cjs +0 -1075
- package/dist/utils-UBeAFeEI.js +0 -950
- /package/dist/{citations.d.ts → chat/citations.d.ts} +0 -0
- /package/dist/{citations.test.d.ts → chat/citations.test.d.ts} +0 -0
- /package/dist/{component.default.test.d.ts → chat/component.default.test.d.ts} +0 -0
- /package/dist/{compiler/plugins/track-tool-calls.test.d.ts → chat/component.test.d.ts} +0 -0
- /package/dist/{example.test.d.ts → chat/response.test.d.ts} +0 -0
- /package/dist/{exit-parser.test.d.ts → compiler/plugins/dynamic-code.test.d.ts} +0 -0
- /package/dist/{handlers.test.d.ts → compiler/plugins/tool-resolution.test.d.ts} +0 -0
- /package/dist/{hoist.test.d.ts → errors/catalog.test.d.ts} +0 -0
- /package/dist/{message-stream/instructions.test.d.ts → exit.test.d.ts} +0 -0
- /package/dist/{message-stream/normalizer.test.d.ts → inspection.test.d.ts} +0 -0
- /package/dist/{message-stream/parser.test.d.ts → prompts/native.test.d.ts} +0 -0
- /package/dist/{message-stream/response-parser.test.d.ts → result.test.d.ts} +0 -0
- /package/dist/{message-stream/stream.test.d.ts → runtime/chat-completion.test.d.ts} +0 -0
- /package/dist/{message-stream/validator.test.d.ts → runtime/chat-delivery.test.d.ts} +0 -0
- /package/dist/{prompts/adherence.test.d.ts → runtime/chat-last-speaker.test.d.ts} +0 -0
- /package/dist/{prompts/catalogue-examples.test.d.ts → runtime/compatibility-regressions.test.d.ts} +0 -0
- /package/dist/{prompts/code-examples.test.d.ts → runtime/context-registration.test.d.ts} +0 -0
- /package/dist/{prompts/common.test.d.ts → runtime/empty-completion.test.d.ts} +0 -0
- /package/dist/{prompts/concrete-patterns.test.d.ts → runtime/error-recovery.test.d.ts} +0 -0
- /package/dist/{prompts/long-search.test.d.ts → runtime/errors.test.d.ts} +0 -0
- /package/dist/{prompts/protocol-simple.test.d.ts → runtime/execution-activity.test.d.ts} +0 -0
- /package/dist/{prompts/protocol.test.d.ts → runtime/execution-diagnostics.test.d.ts} +0 -0
- /package/dist/{prompts/sections.test.d.ts → runtime/execution-report.test.d.ts} +0 -0
- /package/dist/runtime/{interpret-result.test.d.ts → execution-safety.test.d.ts} +0 -0
- /package/dist/{transcript.test.d.ts → runtime/exit-control-flow.test.d.ts} +0 -0
- /package/dist/{truncator.test.d.ts → runtime/fixtures/long-search.test.d.ts} +0 -0
|
@@ -1,4 +1,150 @@
|
|
|
1
|
-
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
9
|
+
var __exportAll = (all, no_symbols) => {
|
|
10
|
+
let target = {};
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
return target;
|
|
17
|
+
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
20
|
+
key = keys[i];
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
22
|
+
get: ((k) => from[k]).bind(null, key),
|
|
23
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
29
|
+
value: mod,
|
|
30
|
+
enumerable: true
|
|
31
|
+
}) : target, mod));
|
|
32
|
+
//#endregion
|
|
33
|
+
let _bpinternal_zui = require("@bpinternal/zui");
|
|
34
|
+
let _bpinternal_thicktoken = require("@bpinternal/thicktoken");
|
|
35
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_freeGlobal.js
|
|
36
|
+
/** Detect free variable `global` from Node.js. */
|
|
37
|
+
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_root.js
|
|
40
|
+
/** Detect free variable `self`. */
|
|
41
|
+
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
42
|
+
/** Used as a reference to the global object. */
|
|
43
|
+
var root = freeGlobal || freeSelf || Function("return this")();
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Symbol.js
|
|
46
|
+
/** Built-in value references. */
|
|
47
|
+
var Symbol$1 = root.Symbol;
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getRawTag.js
|
|
50
|
+
/** Used for built-in method references. */
|
|
51
|
+
var objectProto$3 = Object.prototype;
|
|
52
|
+
/** Used to check objects for own properties. */
|
|
53
|
+
var hasOwnProperty$10 = objectProto$3.hasOwnProperty;
|
|
54
|
+
/**
|
|
55
|
+
* Used to resolve the
|
|
56
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
57
|
+
* of values.
|
|
58
|
+
*/
|
|
59
|
+
var nativeObjectToString$1 = objectProto$3.toString;
|
|
60
|
+
/** Built-in value references. */
|
|
61
|
+
var symToStringTag$1 = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
62
|
+
/**
|
|
63
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
64
|
+
*
|
|
65
|
+
* @private
|
|
66
|
+
* @param {*} value The value to query.
|
|
67
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
68
|
+
*/
|
|
69
|
+
function getRawTag(value) {
|
|
70
|
+
var isOwn = hasOwnProperty$10.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
71
|
+
try {
|
|
72
|
+
value[symToStringTag$1] = void 0;
|
|
73
|
+
var unmasked = true;
|
|
74
|
+
} catch (e) {}
|
|
75
|
+
var result = nativeObjectToString$1.call(value);
|
|
76
|
+
if (unmasked) {
|
|
77
|
+
if (isOwn) value[symToStringTag$1] = tag;
|
|
78
|
+
else delete value[symToStringTag$1];
|
|
79
|
+
}
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_objectToString.js
|
|
84
|
+
/**
|
|
85
|
+
* Used to resolve the
|
|
86
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
87
|
+
* of values.
|
|
88
|
+
*/
|
|
89
|
+
var nativeObjectToString = Object.prototype.toString;
|
|
90
|
+
/**
|
|
91
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
92
|
+
*
|
|
93
|
+
* @private
|
|
94
|
+
* @param {*} value The value to convert.
|
|
95
|
+
* @returns {string} Returns the converted string.
|
|
96
|
+
*/
|
|
97
|
+
function objectToString(value) {
|
|
98
|
+
return nativeObjectToString.call(value);
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
101
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetTag.js
|
|
102
|
+
/** `Object#toString` result references. */
|
|
103
|
+
var nullTag = "[object Null]";
|
|
104
|
+
var undefinedTag = "[object Undefined]";
|
|
105
|
+
/** Built-in value references. */
|
|
106
|
+
var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
|
|
107
|
+
/**
|
|
108
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
109
|
+
*
|
|
110
|
+
* @private
|
|
111
|
+
* @param {*} value The value to query.
|
|
112
|
+
* @returns {string} Returns the `toStringTag`.
|
|
113
|
+
*/
|
|
114
|
+
function baseGetTag(value) {
|
|
115
|
+
if (value == null) return value === void 0 ? undefinedTag : nullTag;
|
|
116
|
+
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isObjectLike.js
|
|
120
|
+
/**
|
|
121
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
122
|
+
* and has a `typeof` result of "object".
|
|
123
|
+
*
|
|
124
|
+
* @static
|
|
125
|
+
* @memberOf _
|
|
126
|
+
* @since 4.0.0
|
|
127
|
+
* @category Lang
|
|
128
|
+
* @param {*} value The value to check.
|
|
129
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
130
|
+
* @example
|
|
131
|
+
*
|
|
132
|
+
* _.isObjectLike({});
|
|
133
|
+
* // => true
|
|
134
|
+
*
|
|
135
|
+
* _.isObjectLike([1, 2, 3]);
|
|
136
|
+
* // => true
|
|
137
|
+
*
|
|
138
|
+
* _.isObjectLike(_.noop);
|
|
139
|
+
* // => false
|
|
140
|
+
*
|
|
141
|
+
* _.isObjectLike(null);
|
|
142
|
+
* // => false
|
|
143
|
+
*/
|
|
144
|
+
function isObjectLike(value) {
|
|
145
|
+
return value != null && typeof value == "object";
|
|
146
|
+
}
|
|
147
|
+
//#endregion
|
|
2
148
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isSymbol.js
|
|
3
149
|
/** `Object#toString` result references. */
|
|
4
150
|
var symbolTag$1 = "[object Symbol]";
|
|
@@ -20,7 +166,7 @@ var symbolTag$1 = "[object Symbol]";
|
|
|
20
166
|
* // => false
|
|
21
167
|
*/
|
|
22
168
|
function isSymbol(value) {
|
|
23
|
-
return typeof value == "symbol" ||
|
|
169
|
+
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$1;
|
|
24
170
|
}
|
|
25
171
|
//#endregion
|
|
26
172
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayMap.js
|
|
@@ -39,11 +185,37 @@ function arrayMap(array, iteratee) {
|
|
|
39
185
|
return result;
|
|
40
186
|
}
|
|
41
187
|
//#endregion
|
|
188
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArray.js
|
|
189
|
+
/**
|
|
190
|
+
* Checks if `value` is classified as an `Array` object.
|
|
191
|
+
*
|
|
192
|
+
* @static
|
|
193
|
+
* @memberOf _
|
|
194
|
+
* @since 0.1.0
|
|
195
|
+
* @category Lang
|
|
196
|
+
* @param {*} value The value to check.
|
|
197
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
198
|
+
* @example
|
|
199
|
+
*
|
|
200
|
+
* _.isArray([1, 2, 3]);
|
|
201
|
+
* // => true
|
|
202
|
+
*
|
|
203
|
+
* _.isArray(document.body.children);
|
|
204
|
+
* // => false
|
|
205
|
+
*
|
|
206
|
+
* _.isArray('abc');
|
|
207
|
+
* // => false
|
|
208
|
+
*
|
|
209
|
+
* _.isArray(_.noop);
|
|
210
|
+
* // => false
|
|
211
|
+
*/
|
|
212
|
+
var isArray = Array.isArray;
|
|
213
|
+
//#endregion
|
|
42
214
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseToString.js
|
|
43
215
|
/** Used as references for various `Number` constants. */
|
|
44
216
|
var INFINITY$1 = 1 / 0;
|
|
45
217
|
/** Used to convert symbols to primitives and strings. */
|
|
46
|
-
var symbolProto$1 =
|
|
218
|
+
var symbolProto$1 = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
47
219
|
var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
|
|
48
220
|
/**
|
|
49
221
|
* The base implementation of `_.toString` which doesn't convert nullish
|
|
@@ -55,7 +227,7 @@ var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
|
|
|
55
227
|
*/
|
|
56
228
|
function baseToString(value) {
|
|
57
229
|
if (typeof value == "string") return value;
|
|
58
|
-
if (
|
|
230
|
+
if (isArray(value)) return arrayMap(value, baseToString) + "";
|
|
59
231
|
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
60
232
|
var result = value + "";
|
|
61
233
|
return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
|
|
@@ -138,13 +310,13 @@ var proxyTag = "[object Proxy]";
|
|
|
138
310
|
*/
|
|
139
311
|
function isFunction(value) {
|
|
140
312
|
if (!isObject(value)) return false;
|
|
141
|
-
var tag =
|
|
313
|
+
var tag = baseGetTag(value);
|
|
142
314
|
return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
|
|
143
315
|
}
|
|
144
316
|
//#endregion
|
|
145
317
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_coreJsData.js
|
|
146
318
|
/** Used to detect overreaching core-js shims. */
|
|
147
|
-
var coreJsData =
|
|
319
|
+
var coreJsData = root["__core-js_shared__"];
|
|
148
320
|
//#endregion
|
|
149
321
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isMasked.js
|
|
150
322
|
/** Used to detect methods masquerading as native. */
|
|
@@ -199,9 +371,9 @@ var objectProto$2 = Object.prototype;
|
|
|
199
371
|
/** Used to resolve the decompiled source of functions. */
|
|
200
372
|
var funcToString = funcProto.toString;
|
|
201
373
|
/** Used to check objects for own properties. */
|
|
202
|
-
var hasOwnProperty$
|
|
374
|
+
var hasOwnProperty$9 = objectProto$2.hasOwnProperty;
|
|
203
375
|
/** Used to detect if a method is native. */
|
|
204
|
-
var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$
|
|
376
|
+
var reIsNative = RegExp("^" + funcToString.call(hasOwnProperty$9).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
205
377
|
/**
|
|
206
378
|
* The base implementation of `_.isNative` without bad shim checks.
|
|
207
379
|
*
|
|
@@ -243,7 +415,7 @@ function getNative(object, key) {
|
|
|
243
415
|
}
|
|
244
416
|
//#endregion
|
|
245
417
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_WeakMap.js
|
|
246
|
-
var WeakMap = getNative(
|
|
418
|
+
var WeakMap = getNative(root, "WeakMap");
|
|
247
419
|
//#endregion
|
|
248
420
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_defineProperty.js
|
|
249
421
|
var defineProperty = function() {
|
|
@@ -330,6 +502,24 @@ function eq(value, other) {
|
|
|
330
502
|
return value === other || value !== value && other !== other;
|
|
331
503
|
}
|
|
332
504
|
//#endregion
|
|
505
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_assignValue.js
|
|
506
|
+
/** Used to check objects for own properties. */
|
|
507
|
+
var hasOwnProperty$8 = Object.prototype.hasOwnProperty;
|
|
508
|
+
/**
|
|
509
|
+
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
510
|
+
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
511
|
+
* for equality comparisons.
|
|
512
|
+
*
|
|
513
|
+
* @private
|
|
514
|
+
* @param {Object} object The object to modify.
|
|
515
|
+
* @param {string} key The key of the property to assign.
|
|
516
|
+
* @param {*} value The value to assign.
|
|
517
|
+
*/
|
|
518
|
+
function assignValue(object, key, value) {
|
|
519
|
+
var objValue = object[key];
|
|
520
|
+
if (!(hasOwnProperty$8.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
521
|
+
}
|
|
522
|
+
//#endregion
|
|
333
523
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isLength.js
|
|
334
524
|
/** Used as references for various `Number` constants. */
|
|
335
525
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
@@ -435,14 +625,14 @@ var argsTag$2 = "[object Arguments]";
|
|
|
435
625
|
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
436
626
|
*/
|
|
437
627
|
function baseIsArguments(value) {
|
|
438
|
-
return
|
|
628
|
+
return isObjectLike(value) && baseGetTag(value) == argsTag$2;
|
|
439
629
|
}
|
|
440
630
|
//#endregion
|
|
441
631
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/isArguments.js
|
|
442
632
|
/** Used for built-in method references. */
|
|
443
633
|
var objectProto = Object.prototype;
|
|
444
634
|
/** Used to check objects for own properties. */
|
|
445
|
-
var hasOwnProperty$
|
|
635
|
+
var hasOwnProperty$7 = objectProto.hasOwnProperty;
|
|
446
636
|
/** Built-in value references. */
|
|
447
637
|
var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
|
|
448
638
|
/**
|
|
@@ -466,7 +656,7 @@ var propertyIsEnumerable$1 = objectProto.propertyIsEnumerable;
|
|
|
466
656
|
var isArguments = baseIsArguments(function() {
|
|
467
657
|
return arguments;
|
|
468
658
|
}()) ? baseIsArguments : function(value) {
|
|
469
|
-
return
|
|
659
|
+
return isObjectLike(value) && hasOwnProperty$7.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
|
|
470
660
|
};
|
|
471
661
|
//#endregion
|
|
472
662
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/stubFalse.js
|
|
@@ -493,7 +683,7 @@ var freeExports$1 = typeof exports == "object" && exports && !exports.nodeType &
|
|
|
493
683
|
/** Detect free variable `module`. */
|
|
494
684
|
var freeModule$1 = freeExports$1 && typeof module == "object" && module && !module.nodeType && module;
|
|
495
685
|
/** Built-in value references. */
|
|
496
|
-
var Buffer = freeModule$1 && freeModule$1.exports === freeExports$1 ?
|
|
686
|
+
var Buffer$1 = freeModule$1 && freeModule$1.exports === freeExports$1 ? root.Buffer : void 0;
|
|
497
687
|
/**
|
|
498
688
|
* Checks if `value` is a buffer.
|
|
499
689
|
*
|
|
@@ -511,7 +701,7 @@ var Buffer = freeModule$1 && freeModule$1.exports === freeExports$1 ? require__o
|
|
|
511
701
|
* _.isBuffer(new Uint8Array(2));
|
|
512
702
|
* // => false
|
|
513
703
|
*/
|
|
514
|
-
var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
|
|
704
|
+
var isBuffer = (Buffer$1 ? Buffer$1.isBuffer : void 0) || stubFalse;
|
|
515
705
|
//#endregion
|
|
516
706
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseIsTypedArray.js
|
|
517
707
|
/** `Object#toString` result references. */
|
|
@@ -551,7 +741,7 @@ typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBuf
|
|
|
551
741
|
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
552
742
|
*/
|
|
553
743
|
function baseIsTypedArray(value) {
|
|
554
|
-
return
|
|
744
|
+
return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
|
|
555
745
|
}
|
|
556
746
|
//#endregion
|
|
557
747
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseUnary.js
|
|
@@ -574,7 +764,7 @@ var freeExports = typeof exports == "object" && exports && !exports.nodeType &&
|
|
|
574
764
|
/** Detect free variable `module`. */
|
|
575
765
|
var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
|
|
576
766
|
/** Detect free variable `process` from Node.js. */
|
|
577
|
-
var freeProcess = freeModule && freeModule.exports === freeExports &&
|
|
767
|
+
var freeProcess = freeModule && freeModule.exports === freeExports && freeGlobal.process;
|
|
578
768
|
/** Used to access faster Node.js helpers. */
|
|
579
769
|
var nodeUtil = function() {
|
|
580
770
|
try {
|
|
@@ -607,7 +797,7 @@ var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedA
|
|
|
607
797
|
//#endregion
|
|
608
798
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayLikeKeys.js
|
|
609
799
|
/** Used to check objects for own properties. */
|
|
610
|
-
var hasOwnProperty$
|
|
800
|
+
var hasOwnProperty$6 = Object.prototype.hasOwnProperty;
|
|
611
801
|
/**
|
|
612
802
|
* Creates an array of the enumerable property names of the array-like `value`.
|
|
613
803
|
*
|
|
@@ -617,17 +807,32 @@ var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
|
|
|
617
807
|
* @returns {Array} Returns the array of property names.
|
|
618
808
|
*/
|
|
619
809
|
function arrayLikeKeys(value, inherited) {
|
|
620
|
-
var isArr =
|
|
621
|
-
for (var key in value) if ((inherited || hasOwnProperty$
|
|
810
|
+
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;
|
|
811
|
+
for (var key in value) if ((inherited || hasOwnProperty$6.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) result.push(key);
|
|
622
812
|
return result;
|
|
623
813
|
}
|
|
624
814
|
//#endregion
|
|
815
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_overArg.js
|
|
816
|
+
/**
|
|
817
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
818
|
+
*
|
|
819
|
+
* @private
|
|
820
|
+
* @param {Function} func The function to wrap.
|
|
821
|
+
* @param {Function} transform The argument transform.
|
|
822
|
+
* @returns {Function} Returns the new function.
|
|
823
|
+
*/
|
|
824
|
+
function overArg(func, transform) {
|
|
825
|
+
return function(arg) {
|
|
826
|
+
return func(transform(arg));
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
//#endregion
|
|
625
830
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeys.js
|
|
626
|
-
var nativeKeys =
|
|
831
|
+
var nativeKeys = overArg(Object.keys, Object);
|
|
627
832
|
//#endregion
|
|
628
833
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeys.js
|
|
629
834
|
/** Used to check objects for own properties. */
|
|
630
|
-
var hasOwnProperty$
|
|
835
|
+
var hasOwnProperty$5 = Object.prototype.hasOwnProperty;
|
|
631
836
|
/**
|
|
632
837
|
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
633
838
|
*
|
|
@@ -638,7 +843,7 @@ var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
|
638
843
|
function baseKeys(object) {
|
|
639
844
|
if (!isPrototype(object)) return nativeKeys(object);
|
|
640
845
|
var result = [];
|
|
641
|
-
for (var key in Object(object)) if (hasOwnProperty$
|
|
846
|
+
for (var key in Object(object)) if (hasOwnProperty$5.call(object, key) && key != "constructor") result.push(key);
|
|
642
847
|
return result;
|
|
643
848
|
}
|
|
644
849
|
//#endregion
|
|
@@ -675,6 +880,67 @@ function keys(object) {
|
|
|
675
880
|
return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
|
|
676
881
|
}
|
|
677
882
|
//#endregion
|
|
883
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_nativeKeysIn.js
|
|
884
|
+
/**
|
|
885
|
+
* This function is like
|
|
886
|
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
887
|
+
* except that it includes inherited enumerable properties.
|
|
888
|
+
*
|
|
889
|
+
* @private
|
|
890
|
+
* @param {Object} object The object to query.
|
|
891
|
+
* @returns {Array} Returns the array of property names.
|
|
892
|
+
*/
|
|
893
|
+
function nativeKeysIn(object) {
|
|
894
|
+
var result = [];
|
|
895
|
+
if (object != null) for (var key in Object(object)) result.push(key);
|
|
896
|
+
return result;
|
|
897
|
+
}
|
|
898
|
+
//#endregion
|
|
899
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseKeysIn.js
|
|
900
|
+
/** Used to check objects for own properties. */
|
|
901
|
+
var hasOwnProperty$4 = Object.prototype.hasOwnProperty;
|
|
902
|
+
/**
|
|
903
|
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
904
|
+
*
|
|
905
|
+
* @private
|
|
906
|
+
* @param {Object} object The object to query.
|
|
907
|
+
* @returns {Array} Returns the array of property names.
|
|
908
|
+
*/
|
|
909
|
+
function baseKeysIn(object) {
|
|
910
|
+
if (!isObject(object)) return nativeKeysIn(object);
|
|
911
|
+
var isProto = isPrototype(object), result = [];
|
|
912
|
+
for (var key in object) if (!(key == "constructor" && (isProto || !hasOwnProperty$4.call(object, key)))) result.push(key);
|
|
913
|
+
return result;
|
|
914
|
+
}
|
|
915
|
+
//#endregion
|
|
916
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/keysIn.js
|
|
917
|
+
/**
|
|
918
|
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
919
|
+
*
|
|
920
|
+
* **Note:** Non-object values are coerced to objects.
|
|
921
|
+
*
|
|
922
|
+
* @static
|
|
923
|
+
* @memberOf _
|
|
924
|
+
* @since 3.0.0
|
|
925
|
+
* @category Object
|
|
926
|
+
* @param {Object} object The object to query.
|
|
927
|
+
* @returns {Array} Returns the array of property names.
|
|
928
|
+
* @example
|
|
929
|
+
*
|
|
930
|
+
* function Foo() {
|
|
931
|
+
* this.a = 1;
|
|
932
|
+
* this.b = 2;
|
|
933
|
+
* }
|
|
934
|
+
*
|
|
935
|
+
* Foo.prototype.c = 3;
|
|
936
|
+
*
|
|
937
|
+
* _.keysIn(new Foo);
|
|
938
|
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
939
|
+
*/
|
|
940
|
+
function keysIn(object) {
|
|
941
|
+
return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
|
|
942
|
+
}
|
|
943
|
+
//#endregion
|
|
678
944
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_isKey.js
|
|
679
945
|
/** Used to match property names within property paths. */
|
|
680
946
|
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
@@ -688,7 +954,7 @@ var reIsPlainProp = /^\w*$/;
|
|
|
688
954
|
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
689
955
|
*/
|
|
690
956
|
function isKey(value, object) {
|
|
691
|
-
if (
|
|
957
|
+
if (isArray(value)) return false;
|
|
692
958
|
var type = typeof value;
|
|
693
959
|
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
|
|
694
960
|
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
@@ -930,7 +1196,7 @@ ListCache.prototype.has = listCacheHas;
|
|
|
930
1196
|
ListCache.prototype.set = listCacheSet;
|
|
931
1197
|
//#endregion
|
|
932
1198
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Map.js
|
|
933
|
-
var Map = getNative(
|
|
1199
|
+
var Map = getNative(root, "Map");
|
|
934
1200
|
//#endregion
|
|
935
1201
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_mapCacheClear.js
|
|
936
1202
|
/**
|
|
@@ -1198,7 +1464,7 @@ function toString(value) {
|
|
|
1198
1464
|
* @returns {Array} Returns the cast property path array.
|
|
1199
1465
|
*/
|
|
1200
1466
|
function castPath(value, object) {
|
|
1201
|
-
if (
|
|
1467
|
+
if (isArray(value)) return value;
|
|
1202
1468
|
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
1203
1469
|
}
|
|
1204
1470
|
//#endregion
|
|
@@ -1280,6 +1546,628 @@ function arrayPush(array, values) {
|
|
|
1280
1546
|
return array;
|
|
1281
1547
|
}
|
|
1282
1548
|
//#endregion
|
|
1549
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getPrototype.js
|
|
1550
|
+
/** Built-in value references. */
|
|
1551
|
+
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
1552
|
+
//#endregion
|
|
1553
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSlice.js
|
|
1554
|
+
/**
|
|
1555
|
+
* The base implementation of `_.slice` without an iteratee call guard.
|
|
1556
|
+
*
|
|
1557
|
+
* @private
|
|
1558
|
+
* @param {Array} array The array to slice.
|
|
1559
|
+
* @param {number} [start=0] The start position.
|
|
1560
|
+
* @param {number} [end=array.length] The end position.
|
|
1561
|
+
* @returns {Array} Returns the slice of `array`.
|
|
1562
|
+
*/
|
|
1563
|
+
function baseSlice(array, start, end) {
|
|
1564
|
+
var index = -1, length = array.length;
|
|
1565
|
+
if (start < 0) start = -start > length ? 0 : length + start;
|
|
1566
|
+
end = end > length ? length : end;
|
|
1567
|
+
if (end < 0) end += length;
|
|
1568
|
+
length = start > end ? 0 : end - start >>> 0;
|
|
1569
|
+
start >>>= 0;
|
|
1570
|
+
var result = Array(length);
|
|
1571
|
+
while (++index < length) result[index] = array[index + start];
|
|
1572
|
+
return result;
|
|
1573
|
+
}
|
|
1574
|
+
//#endregion
|
|
1575
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_castSlice.js
|
|
1576
|
+
/**
|
|
1577
|
+
* Casts `array` to a slice if it's needed.
|
|
1578
|
+
*
|
|
1579
|
+
* @private
|
|
1580
|
+
* @param {Array} array The array to inspect.
|
|
1581
|
+
* @param {number} start The start position.
|
|
1582
|
+
* @param {number} [end=array.length] The end position.
|
|
1583
|
+
* @returns {Array} Returns the cast slice.
|
|
1584
|
+
*/
|
|
1585
|
+
function castSlice(array, start, end) {
|
|
1586
|
+
var length = array.length;
|
|
1587
|
+
end = end === void 0 ? length : end;
|
|
1588
|
+
return !start && end >= length ? array : baseSlice(array, start, end);
|
|
1589
|
+
}
|
|
1590
|
+
//#endregion
|
|
1591
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasUnicode.js
|
|
1592
|
+
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
|
|
1593
|
+
var reHasUnicode = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
1594
|
+
/**
|
|
1595
|
+
* Checks if `string` contains Unicode symbols.
|
|
1596
|
+
*
|
|
1597
|
+
* @private
|
|
1598
|
+
* @param {string} string The string to inspect.
|
|
1599
|
+
* @returns {boolean} Returns `true` if a symbol is found, else `false`.
|
|
1600
|
+
*/
|
|
1601
|
+
function hasUnicode(string) {
|
|
1602
|
+
return reHasUnicode.test(string);
|
|
1603
|
+
}
|
|
1604
|
+
//#endregion
|
|
1605
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_asciiToArray.js
|
|
1606
|
+
/**
|
|
1607
|
+
* Converts an ASCII `string` to an array.
|
|
1608
|
+
*
|
|
1609
|
+
* @private
|
|
1610
|
+
* @param {string} string The string to convert.
|
|
1611
|
+
* @returns {Array} Returns the converted array.
|
|
1612
|
+
*/
|
|
1613
|
+
function asciiToArray(string) {
|
|
1614
|
+
return string.split("");
|
|
1615
|
+
}
|
|
1616
|
+
//#endregion
|
|
1617
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_unicodeToArray.js
|
|
1618
|
+
/** Used to compose unicode character classes. */
|
|
1619
|
+
var rsAstralRange$1 = "\\ud800-\\udfff";
|
|
1620
|
+
var rsComboRange$1 = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff";
|
|
1621
|
+
var rsVarRange$1 = "\\ufe0e\\ufe0f";
|
|
1622
|
+
/** Used to compose unicode capture groups. */
|
|
1623
|
+
var rsAstral = "[" + rsAstralRange$1 + "]";
|
|
1624
|
+
var rsCombo$1 = "[" + rsComboRange$1 + "]";
|
|
1625
|
+
var rsFitz = "\\ud83c[\\udffb-\\udfff]";
|
|
1626
|
+
var rsModifier$1 = "(?:" + rsCombo$1 + "|" + rsFitz + ")";
|
|
1627
|
+
var rsNonAstral$1 = "[^" + rsAstralRange$1 + "]";
|
|
1628
|
+
var rsRegional$1 = "(?:\\ud83c[\\udde6-\\uddff]){2}";
|
|
1629
|
+
var rsSurrPair$1 = "[\\ud800-\\udbff][\\udc00-\\udfff]";
|
|
1630
|
+
var rsZWJ$1 = "\\u200d";
|
|
1631
|
+
/** Used to compose unicode regexes. */
|
|
1632
|
+
var reOptMod$1 = rsModifier$1 + "?";
|
|
1633
|
+
var rsOptVar$1 = "[" + rsVarRange$1 + "]?";
|
|
1634
|
+
var rsOptJoin$1 = "(?:" + rsZWJ$1 + "(?:" + [
|
|
1635
|
+
rsNonAstral$1,
|
|
1636
|
+
rsRegional$1,
|
|
1637
|
+
rsSurrPair$1
|
|
1638
|
+
].join("|") + ")" + rsOptVar$1 + reOptMod$1 + ")*";
|
|
1639
|
+
var rsSeq$1 = rsOptVar$1 + reOptMod$1 + rsOptJoin$1;
|
|
1640
|
+
var rsSymbol = "(?:" + [
|
|
1641
|
+
rsNonAstral$1 + rsCombo$1 + "?",
|
|
1642
|
+
rsCombo$1,
|
|
1643
|
+
rsRegional$1,
|
|
1644
|
+
rsSurrPair$1,
|
|
1645
|
+
rsAstral
|
|
1646
|
+
].join("|") + ")";
|
|
1647
|
+
/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
|
|
1648
|
+
var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq$1, "g");
|
|
1649
|
+
/**
|
|
1650
|
+
* Converts a Unicode `string` to an array.
|
|
1651
|
+
*
|
|
1652
|
+
* @private
|
|
1653
|
+
* @param {string} string The string to convert.
|
|
1654
|
+
* @returns {Array} Returns the converted array.
|
|
1655
|
+
*/
|
|
1656
|
+
function unicodeToArray(string) {
|
|
1657
|
+
return string.match(reUnicode) || [];
|
|
1658
|
+
}
|
|
1659
|
+
//#endregion
|
|
1660
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stringToArray.js
|
|
1661
|
+
/**
|
|
1662
|
+
* Converts `string` to an array.
|
|
1663
|
+
*
|
|
1664
|
+
* @private
|
|
1665
|
+
* @param {string} string The string to convert.
|
|
1666
|
+
* @returns {Array} Returns the converted array.
|
|
1667
|
+
*/
|
|
1668
|
+
function stringToArray(string) {
|
|
1669
|
+
return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
|
|
1670
|
+
}
|
|
1671
|
+
//#endregion
|
|
1672
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createCaseFirst.js
|
|
1673
|
+
/**
|
|
1674
|
+
* Creates a function like `_.lowerFirst`.
|
|
1675
|
+
*
|
|
1676
|
+
* @private
|
|
1677
|
+
* @param {string} methodName The name of the `String` case method to use.
|
|
1678
|
+
* @returns {Function} Returns the new case function.
|
|
1679
|
+
*/
|
|
1680
|
+
function createCaseFirst(methodName) {
|
|
1681
|
+
return function(string) {
|
|
1682
|
+
string = toString(string);
|
|
1683
|
+
var strSymbols = hasUnicode(string) ? stringToArray(string) : void 0;
|
|
1684
|
+
var chr = strSymbols ? strSymbols[0] : string.charAt(0);
|
|
1685
|
+
var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1);
|
|
1686
|
+
return chr[methodName]() + trailing;
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
//#endregion
|
|
1690
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/upperFirst.js
|
|
1691
|
+
/**
|
|
1692
|
+
* Converts the first character of `string` to upper case.
|
|
1693
|
+
*
|
|
1694
|
+
* @static
|
|
1695
|
+
* @memberOf _
|
|
1696
|
+
* @since 4.0.0
|
|
1697
|
+
* @category String
|
|
1698
|
+
* @param {string} [string=''] The string to convert.
|
|
1699
|
+
* @returns {string} Returns the converted string.
|
|
1700
|
+
* @example
|
|
1701
|
+
*
|
|
1702
|
+
* _.upperFirst('fred');
|
|
1703
|
+
* // => 'Fred'
|
|
1704
|
+
*
|
|
1705
|
+
* _.upperFirst('FRED');
|
|
1706
|
+
* // => 'FRED'
|
|
1707
|
+
*/
|
|
1708
|
+
var upperFirst = createCaseFirst("toUpperCase");
|
|
1709
|
+
//#endregion
|
|
1710
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/capitalize.js
|
|
1711
|
+
/**
|
|
1712
|
+
* Converts the first character of `string` to upper case and the remaining
|
|
1713
|
+
* to lower case.
|
|
1714
|
+
*
|
|
1715
|
+
* @static
|
|
1716
|
+
* @memberOf _
|
|
1717
|
+
* @since 3.0.0
|
|
1718
|
+
* @category String
|
|
1719
|
+
* @param {string} [string=''] The string to capitalize.
|
|
1720
|
+
* @returns {string} Returns the capitalized string.
|
|
1721
|
+
* @example
|
|
1722
|
+
*
|
|
1723
|
+
* _.capitalize('FRED');
|
|
1724
|
+
* // => 'Fred'
|
|
1725
|
+
*/
|
|
1726
|
+
function capitalize(string) {
|
|
1727
|
+
return upperFirst(toString(string).toLowerCase());
|
|
1728
|
+
}
|
|
1729
|
+
//#endregion
|
|
1730
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_arrayReduce.js
|
|
1731
|
+
/**
|
|
1732
|
+
* A specialized version of `_.reduce` for arrays without support for
|
|
1733
|
+
* iteratee shorthands.
|
|
1734
|
+
*
|
|
1735
|
+
* @private
|
|
1736
|
+
* @param {Array} [array] The array to iterate over.
|
|
1737
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
1738
|
+
* @param {*} [accumulator] The initial value.
|
|
1739
|
+
* @param {boolean} [initAccum] Specify using the first element of `array` as
|
|
1740
|
+
* the initial value.
|
|
1741
|
+
* @returns {*} Returns the accumulated value.
|
|
1742
|
+
*/
|
|
1743
|
+
function arrayReduce(array, iteratee, accumulator, initAccum) {
|
|
1744
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
1745
|
+
if (initAccum && length) accumulator = array[++index];
|
|
1746
|
+
while (++index < length) accumulator = iteratee(accumulator, array[index], index, array);
|
|
1747
|
+
return accumulator;
|
|
1748
|
+
}
|
|
1749
|
+
//#endregion
|
|
1750
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePropertyOf.js
|
|
1751
|
+
/**
|
|
1752
|
+
* The base implementation of `_.propertyOf` without support for deep paths.
|
|
1753
|
+
*
|
|
1754
|
+
* @private
|
|
1755
|
+
* @param {Object} object The object to query.
|
|
1756
|
+
* @returns {Function} Returns the new accessor function.
|
|
1757
|
+
*/
|
|
1758
|
+
function basePropertyOf(object) {
|
|
1759
|
+
return function(key) {
|
|
1760
|
+
return object == null ? void 0 : object[key];
|
|
1761
|
+
};
|
|
1762
|
+
}
|
|
1763
|
+
//#endregion
|
|
1764
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_deburrLetter.js
|
|
1765
|
+
/**
|
|
1766
|
+
* Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A
|
|
1767
|
+
* letters to basic Latin letters.
|
|
1768
|
+
*
|
|
1769
|
+
* @private
|
|
1770
|
+
* @param {string} letter The matched letter to deburr.
|
|
1771
|
+
* @returns {string} Returns the deburred letter.
|
|
1772
|
+
*/
|
|
1773
|
+
var deburrLetter = basePropertyOf({
|
|
1774
|
+
"À": "A",
|
|
1775
|
+
"Á": "A",
|
|
1776
|
+
"Â": "A",
|
|
1777
|
+
"Ã": "A",
|
|
1778
|
+
"Ä": "A",
|
|
1779
|
+
"Å": "A",
|
|
1780
|
+
"à": "a",
|
|
1781
|
+
"á": "a",
|
|
1782
|
+
"â": "a",
|
|
1783
|
+
"ã": "a",
|
|
1784
|
+
"ä": "a",
|
|
1785
|
+
"å": "a",
|
|
1786
|
+
"Ç": "C",
|
|
1787
|
+
"ç": "c",
|
|
1788
|
+
"Ð": "D",
|
|
1789
|
+
"ð": "d",
|
|
1790
|
+
"È": "E",
|
|
1791
|
+
"É": "E",
|
|
1792
|
+
"Ê": "E",
|
|
1793
|
+
"Ë": "E",
|
|
1794
|
+
"è": "e",
|
|
1795
|
+
"é": "e",
|
|
1796
|
+
"ê": "e",
|
|
1797
|
+
"ë": "e",
|
|
1798
|
+
"Ì": "I",
|
|
1799
|
+
"Í": "I",
|
|
1800
|
+
"Î": "I",
|
|
1801
|
+
"Ï": "I",
|
|
1802
|
+
"ì": "i",
|
|
1803
|
+
"í": "i",
|
|
1804
|
+
"î": "i",
|
|
1805
|
+
"ï": "i",
|
|
1806
|
+
"Ñ": "N",
|
|
1807
|
+
"ñ": "n",
|
|
1808
|
+
"Ò": "O",
|
|
1809
|
+
"Ó": "O",
|
|
1810
|
+
"Ô": "O",
|
|
1811
|
+
"Õ": "O",
|
|
1812
|
+
"Ö": "O",
|
|
1813
|
+
"Ø": "O",
|
|
1814
|
+
"ò": "o",
|
|
1815
|
+
"ó": "o",
|
|
1816
|
+
"ô": "o",
|
|
1817
|
+
"õ": "o",
|
|
1818
|
+
"ö": "o",
|
|
1819
|
+
"ø": "o",
|
|
1820
|
+
"Ù": "U",
|
|
1821
|
+
"Ú": "U",
|
|
1822
|
+
"Û": "U",
|
|
1823
|
+
"Ü": "U",
|
|
1824
|
+
"ù": "u",
|
|
1825
|
+
"ú": "u",
|
|
1826
|
+
"û": "u",
|
|
1827
|
+
"ü": "u",
|
|
1828
|
+
"Ý": "Y",
|
|
1829
|
+
"ý": "y",
|
|
1830
|
+
"ÿ": "y",
|
|
1831
|
+
"Æ": "Ae",
|
|
1832
|
+
"æ": "ae",
|
|
1833
|
+
"Þ": "Th",
|
|
1834
|
+
"þ": "th",
|
|
1835
|
+
"ß": "ss",
|
|
1836
|
+
"Ā": "A",
|
|
1837
|
+
"Ă": "A",
|
|
1838
|
+
"Ą": "A",
|
|
1839
|
+
"ā": "a",
|
|
1840
|
+
"ă": "a",
|
|
1841
|
+
"ą": "a",
|
|
1842
|
+
"Ć": "C",
|
|
1843
|
+
"Ĉ": "C",
|
|
1844
|
+
"Ċ": "C",
|
|
1845
|
+
"Č": "C",
|
|
1846
|
+
"ć": "c",
|
|
1847
|
+
"ĉ": "c",
|
|
1848
|
+
"ċ": "c",
|
|
1849
|
+
"č": "c",
|
|
1850
|
+
"Ď": "D",
|
|
1851
|
+
"Đ": "D",
|
|
1852
|
+
"ď": "d",
|
|
1853
|
+
"đ": "d",
|
|
1854
|
+
"Ē": "E",
|
|
1855
|
+
"Ĕ": "E",
|
|
1856
|
+
"Ė": "E",
|
|
1857
|
+
"Ę": "E",
|
|
1858
|
+
"Ě": "E",
|
|
1859
|
+
"ē": "e",
|
|
1860
|
+
"ĕ": "e",
|
|
1861
|
+
"ė": "e",
|
|
1862
|
+
"ę": "e",
|
|
1863
|
+
"ě": "e",
|
|
1864
|
+
"Ĝ": "G",
|
|
1865
|
+
"Ğ": "G",
|
|
1866
|
+
"Ġ": "G",
|
|
1867
|
+
"Ģ": "G",
|
|
1868
|
+
"ĝ": "g",
|
|
1869
|
+
"ğ": "g",
|
|
1870
|
+
"ġ": "g",
|
|
1871
|
+
"ģ": "g",
|
|
1872
|
+
"Ĥ": "H",
|
|
1873
|
+
"Ħ": "H",
|
|
1874
|
+
"ĥ": "h",
|
|
1875
|
+
"ħ": "h",
|
|
1876
|
+
"Ĩ": "I",
|
|
1877
|
+
"Ī": "I",
|
|
1878
|
+
"Ĭ": "I",
|
|
1879
|
+
"Į": "I",
|
|
1880
|
+
"İ": "I",
|
|
1881
|
+
"ĩ": "i",
|
|
1882
|
+
"ī": "i",
|
|
1883
|
+
"ĭ": "i",
|
|
1884
|
+
"į": "i",
|
|
1885
|
+
"ı": "i",
|
|
1886
|
+
"Ĵ": "J",
|
|
1887
|
+
"ĵ": "j",
|
|
1888
|
+
"Ķ": "K",
|
|
1889
|
+
"ķ": "k",
|
|
1890
|
+
"ĸ": "k",
|
|
1891
|
+
"Ĺ": "L",
|
|
1892
|
+
"Ļ": "L",
|
|
1893
|
+
"Ľ": "L",
|
|
1894
|
+
"Ŀ": "L",
|
|
1895
|
+
"Ł": "L",
|
|
1896
|
+
"ĺ": "l",
|
|
1897
|
+
"ļ": "l",
|
|
1898
|
+
"ľ": "l",
|
|
1899
|
+
"ŀ": "l",
|
|
1900
|
+
"ł": "l",
|
|
1901
|
+
"Ń": "N",
|
|
1902
|
+
"Ņ": "N",
|
|
1903
|
+
"Ň": "N",
|
|
1904
|
+
"Ŋ": "N",
|
|
1905
|
+
"ń": "n",
|
|
1906
|
+
"ņ": "n",
|
|
1907
|
+
"ň": "n",
|
|
1908
|
+
"ŋ": "n",
|
|
1909
|
+
"Ō": "O",
|
|
1910
|
+
"Ŏ": "O",
|
|
1911
|
+
"Ő": "O",
|
|
1912
|
+
"ō": "o",
|
|
1913
|
+
"ŏ": "o",
|
|
1914
|
+
"ő": "o",
|
|
1915
|
+
"Ŕ": "R",
|
|
1916
|
+
"Ŗ": "R",
|
|
1917
|
+
"Ř": "R",
|
|
1918
|
+
"ŕ": "r",
|
|
1919
|
+
"ŗ": "r",
|
|
1920
|
+
"ř": "r",
|
|
1921
|
+
"Ś": "S",
|
|
1922
|
+
"Ŝ": "S",
|
|
1923
|
+
"Ş": "S",
|
|
1924
|
+
"Š": "S",
|
|
1925
|
+
"ś": "s",
|
|
1926
|
+
"ŝ": "s",
|
|
1927
|
+
"ş": "s",
|
|
1928
|
+
"š": "s",
|
|
1929
|
+
"Ţ": "T",
|
|
1930
|
+
"Ť": "T",
|
|
1931
|
+
"Ŧ": "T",
|
|
1932
|
+
"ţ": "t",
|
|
1933
|
+
"ť": "t",
|
|
1934
|
+
"ŧ": "t",
|
|
1935
|
+
"Ũ": "U",
|
|
1936
|
+
"Ū": "U",
|
|
1937
|
+
"Ŭ": "U",
|
|
1938
|
+
"Ů": "U",
|
|
1939
|
+
"Ű": "U",
|
|
1940
|
+
"Ų": "U",
|
|
1941
|
+
"ũ": "u",
|
|
1942
|
+
"ū": "u",
|
|
1943
|
+
"ŭ": "u",
|
|
1944
|
+
"ů": "u",
|
|
1945
|
+
"ű": "u",
|
|
1946
|
+
"ų": "u",
|
|
1947
|
+
"Ŵ": "W",
|
|
1948
|
+
"ŵ": "w",
|
|
1949
|
+
"Ŷ": "Y",
|
|
1950
|
+
"ŷ": "y",
|
|
1951
|
+
"Ÿ": "Y",
|
|
1952
|
+
"Ź": "Z",
|
|
1953
|
+
"Ż": "Z",
|
|
1954
|
+
"Ž": "Z",
|
|
1955
|
+
"ź": "z",
|
|
1956
|
+
"ż": "z",
|
|
1957
|
+
"ž": "z",
|
|
1958
|
+
"IJ": "IJ",
|
|
1959
|
+
"ij": "ij",
|
|
1960
|
+
"Œ": "Oe",
|
|
1961
|
+
"œ": "oe",
|
|
1962
|
+
"ʼn": "'n",
|
|
1963
|
+
"ſ": "s"
|
|
1964
|
+
});
|
|
1965
|
+
//#endregion
|
|
1966
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/deburr.js
|
|
1967
|
+
/** Used to match Latin Unicode letters (excluding mathematical operators). */
|
|
1968
|
+
var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
|
|
1969
|
+
/**
|
|
1970
|
+
* Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and
|
|
1971
|
+
* [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).
|
|
1972
|
+
*/
|
|
1973
|
+
var reComboMark = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
1974
|
+
/**
|
|
1975
|
+
* Deburrs `string` by converting
|
|
1976
|
+
* [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)
|
|
1977
|
+
* and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)
|
|
1978
|
+
* letters to basic Latin letters and removing
|
|
1979
|
+
* [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).
|
|
1980
|
+
*
|
|
1981
|
+
* @static
|
|
1982
|
+
* @memberOf _
|
|
1983
|
+
* @since 3.0.0
|
|
1984
|
+
* @category String
|
|
1985
|
+
* @param {string} [string=''] The string to deburr.
|
|
1986
|
+
* @returns {string} Returns the deburred string.
|
|
1987
|
+
* @example
|
|
1988
|
+
*
|
|
1989
|
+
* _.deburr('déjà vu');
|
|
1990
|
+
* // => 'deja vu'
|
|
1991
|
+
*/
|
|
1992
|
+
function deburr(string) {
|
|
1993
|
+
string = toString(string);
|
|
1994
|
+
return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
|
|
1995
|
+
}
|
|
1996
|
+
//#endregion
|
|
1997
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_asciiWords.js
|
|
1998
|
+
/** Used to match words composed of alphanumeric characters. */
|
|
1999
|
+
var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
2000
|
+
/**
|
|
2001
|
+
* Splits an ASCII `string` into an array of its words.
|
|
2002
|
+
*
|
|
2003
|
+
* @private
|
|
2004
|
+
* @param {string} The string to inspect.
|
|
2005
|
+
* @returns {Array} Returns the words of `string`.
|
|
2006
|
+
*/
|
|
2007
|
+
function asciiWords(string) {
|
|
2008
|
+
return string.match(reAsciiWord) || [];
|
|
2009
|
+
}
|
|
2010
|
+
//#endregion
|
|
2011
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_hasUnicodeWord.js
|
|
2012
|
+
/** Used to detect strings that need a more robust regexp to match words. */
|
|
2013
|
+
var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
2014
|
+
/**
|
|
2015
|
+
* Checks if `string` contains a word composed of Unicode symbols.
|
|
2016
|
+
*
|
|
2017
|
+
* @private
|
|
2018
|
+
* @param {string} string The string to inspect.
|
|
2019
|
+
* @returns {boolean} Returns `true` if a word is found, else `false`.
|
|
2020
|
+
*/
|
|
2021
|
+
function hasUnicodeWord(string) {
|
|
2022
|
+
return reHasUnicodeWord.test(string);
|
|
2023
|
+
}
|
|
2024
|
+
//#endregion
|
|
2025
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_unicodeWords.js
|
|
2026
|
+
/** Used to compose unicode character classes. */
|
|
2027
|
+
var rsAstralRange = "\\ud800-\\udfff";
|
|
2028
|
+
var rsComboRange = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff";
|
|
2029
|
+
var rsDingbatRange = "\\u2700-\\u27bf";
|
|
2030
|
+
var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
|
|
2031
|
+
var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
|
|
2032
|
+
var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
|
|
2033
|
+
var rsPunctuationRange = "\\u2000-\\u206f";
|
|
2034
|
+
var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
|
|
2035
|
+
var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
|
|
2036
|
+
var rsVarRange = "\\ufe0e\\ufe0f";
|
|
2037
|
+
var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
|
|
2038
|
+
/** Used to compose unicode capture groups. */
|
|
2039
|
+
var rsApos = "['’]";
|
|
2040
|
+
var rsBreak = "[" + rsBreakRange + "]";
|
|
2041
|
+
var rsCombo = "[" + rsComboRange + "]";
|
|
2042
|
+
var rsDigits = "\\d+";
|
|
2043
|
+
var rsDingbat = "[" + rsDingbatRange + "]";
|
|
2044
|
+
var rsLower = "[" + rsLowerRange + "]";
|
|
2045
|
+
var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
|
|
2046
|
+
var rsModifier = "(?:" + rsCombo + "|\\ud83c[\\udffb-\\udfff])";
|
|
2047
|
+
var rsNonAstral = "[^" + rsAstralRange + "]";
|
|
2048
|
+
var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
|
|
2049
|
+
var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
|
|
2050
|
+
var rsUpper = "[" + rsUpperRange + "]";
|
|
2051
|
+
var rsZWJ = "\\u200d";
|
|
2052
|
+
/** Used to compose unicode regexes. */
|
|
2053
|
+
var rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")";
|
|
2054
|
+
var rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")";
|
|
2055
|
+
var rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
|
|
2056
|
+
var rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
|
|
2057
|
+
var reOptMod = rsModifier + "?";
|
|
2058
|
+
var rsOptVar = "[" + rsVarRange + "]?";
|
|
2059
|
+
var rsOptJoin = "(?:" + rsZWJ + "(?:" + [
|
|
2060
|
+
rsNonAstral,
|
|
2061
|
+
rsRegional,
|
|
2062
|
+
rsSurrPair
|
|
2063
|
+
].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
2064
|
+
var rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])";
|
|
2065
|
+
var rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])";
|
|
2066
|
+
var rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
2067
|
+
var rsEmoji = "(?:" + [
|
|
2068
|
+
rsDingbat,
|
|
2069
|
+
rsRegional,
|
|
2070
|
+
rsSurrPair
|
|
2071
|
+
].join("|") + ")" + rsSeq;
|
|
2072
|
+
/** Used to match complex or compound words. */
|
|
2073
|
+
var reUnicodeWord = RegExp([
|
|
2074
|
+
rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [
|
|
2075
|
+
rsBreak,
|
|
2076
|
+
rsUpper,
|
|
2077
|
+
"$"
|
|
2078
|
+
].join("|") + ")",
|
|
2079
|
+
rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [
|
|
2080
|
+
rsBreak,
|
|
2081
|
+
rsUpper + rsMiscLower,
|
|
2082
|
+
"$"
|
|
2083
|
+
].join("|") + ")",
|
|
2084
|
+
rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower,
|
|
2085
|
+
rsUpper + "+" + rsOptContrUpper,
|
|
2086
|
+
rsOrdUpper,
|
|
2087
|
+
rsOrdLower,
|
|
2088
|
+
rsDigits,
|
|
2089
|
+
rsEmoji
|
|
2090
|
+
].join("|"), "g");
|
|
2091
|
+
/**
|
|
2092
|
+
* Splits a Unicode `string` into an array of its words.
|
|
2093
|
+
*
|
|
2094
|
+
* @private
|
|
2095
|
+
* @param {string} The string to inspect.
|
|
2096
|
+
* @returns {Array} Returns the words of `string`.
|
|
2097
|
+
*/
|
|
2098
|
+
function unicodeWords(string) {
|
|
2099
|
+
return string.match(reUnicodeWord) || [];
|
|
2100
|
+
}
|
|
2101
|
+
//#endregion
|
|
2102
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/words.js
|
|
2103
|
+
/**
|
|
2104
|
+
* Splits `string` into an array of its words.
|
|
2105
|
+
*
|
|
2106
|
+
* @static
|
|
2107
|
+
* @memberOf _
|
|
2108
|
+
* @since 3.0.0
|
|
2109
|
+
* @category String
|
|
2110
|
+
* @param {string} [string=''] The string to inspect.
|
|
2111
|
+
* @param {RegExp|string} [pattern] The pattern to match words.
|
|
2112
|
+
* @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.
|
|
2113
|
+
* @returns {Array} Returns the words of `string`.
|
|
2114
|
+
* @example
|
|
2115
|
+
*
|
|
2116
|
+
* _.words('fred, barney, & pebbles');
|
|
2117
|
+
* // => ['fred', 'barney', 'pebbles']
|
|
2118
|
+
*
|
|
2119
|
+
* _.words('fred, barney, & pebbles', /[^, ]+/g);
|
|
2120
|
+
* // => ['fred', 'barney', '&', 'pebbles']
|
|
2121
|
+
*/
|
|
2122
|
+
function words(string, pattern, guard) {
|
|
2123
|
+
string = toString(string);
|
|
2124
|
+
pattern = guard ? void 0 : pattern;
|
|
2125
|
+
if (pattern === void 0) return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
|
|
2126
|
+
return string.match(pattern) || [];
|
|
2127
|
+
}
|
|
2128
|
+
//#endregion
|
|
2129
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_createCompounder.js
|
|
2130
|
+
/** Used to match apostrophes. */
|
|
2131
|
+
var reApos = RegExp("['’]", "g");
|
|
2132
|
+
/**
|
|
2133
|
+
* Creates a function like `_.camelCase`.
|
|
2134
|
+
*
|
|
2135
|
+
* @private
|
|
2136
|
+
* @param {Function} callback The function to combine each word.
|
|
2137
|
+
* @returns {Function} Returns the new compounder function.
|
|
2138
|
+
*/
|
|
2139
|
+
function createCompounder(callback) {
|
|
2140
|
+
return function(string) {
|
|
2141
|
+
return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
|
|
2142
|
+
};
|
|
2143
|
+
}
|
|
2144
|
+
//#endregion
|
|
2145
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/camelCase.js
|
|
2146
|
+
/**
|
|
2147
|
+
* Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).
|
|
2148
|
+
*
|
|
2149
|
+
* @static
|
|
2150
|
+
* @memberOf _
|
|
2151
|
+
* @since 3.0.0
|
|
2152
|
+
* @category String
|
|
2153
|
+
* @param {string} [string=''] The string to convert.
|
|
2154
|
+
* @returns {string} Returns the camel cased string.
|
|
2155
|
+
* @example
|
|
2156
|
+
*
|
|
2157
|
+
* _.camelCase('Foo Bar');
|
|
2158
|
+
* // => 'fooBar'
|
|
2159
|
+
*
|
|
2160
|
+
* _.camelCase('--foo-bar--');
|
|
2161
|
+
* // => 'fooBar'
|
|
2162
|
+
*
|
|
2163
|
+
* _.camelCase('__FOO_BAR__');
|
|
2164
|
+
* // => 'fooBar'
|
|
2165
|
+
*/
|
|
2166
|
+
var camelCase = createCompounder(function(result, word, index) {
|
|
2167
|
+
word = word.toLowerCase();
|
|
2168
|
+
return result + (index ? capitalize(word) : word);
|
|
2169
|
+
});
|
|
2170
|
+
//#endregion
|
|
1283
2171
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_stackClear.js
|
|
1284
2172
|
/**
|
|
1285
2173
|
* Removes all key-value entries from the stack.
|
|
@@ -1445,6 +2333,23 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
|
1445
2333
|
});
|
|
1446
2334
|
};
|
|
1447
2335
|
//#endregion
|
|
2336
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getSymbolsIn.js
|
|
2337
|
+
/**
|
|
2338
|
+
* Creates an array of the own and inherited enumerable symbols of `object`.
|
|
2339
|
+
*
|
|
2340
|
+
* @private
|
|
2341
|
+
* @param {Object} object The object to query.
|
|
2342
|
+
* @returns {Array} Returns the array of symbols.
|
|
2343
|
+
*/
|
|
2344
|
+
var getSymbolsIn = !Object.getOwnPropertySymbols ? stubArray : function(object) {
|
|
2345
|
+
var result = [];
|
|
2346
|
+
while (object) {
|
|
2347
|
+
arrayPush(result, getSymbols(object));
|
|
2348
|
+
object = getPrototype(object);
|
|
2349
|
+
}
|
|
2350
|
+
return result;
|
|
2351
|
+
};
|
|
2352
|
+
//#endregion
|
|
1448
2353
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseGetAllKeys.js
|
|
1449
2354
|
/**
|
|
1450
2355
|
* The base implementation of `getAllKeys` and `getAllKeysIn` which uses
|
|
@@ -1459,7 +2364,7 @@ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
|
|
|
1459
2364
|
*/
|
|
1460
2365
|
function baseGetAllKeys(object, keysFunc, symbolsFunc) {
|
|
1461
2366
|
var result = keysFunc(object);
|
|
1462
|
-
return
|
|
2367
|
+
return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
|
|
1463
2368
|
}
|
|
1464
2369
|
//#endregion
|
|
1465
2370
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeys.js
|
|
@@ -1474,14 +2379,27 @@ function getAllKeys(object) {
|
|
|
1474
2379
|
return baseGetAllKeys(object, keys, getSymbols);
|
|
1475
2380
|
}
|
|
1476
2381
|
//#endregion
|
|
2382
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getAllKeysIn.js
|
|
2383
|
+
/**
|
|
2384
|
+
* Creates an array of own and inherited enumerable property names and
|
|
2385
|
+
* symbols of `object`.
|
|
2386
|
+
*
|
|
2387
|
+
* @private
|
|
2388
|
+
* @param {Object} object The object to query.
|
|
2389
|
+
* @returns {Array} Returns the array of property names and symbols.
|
|
2390
|
+
*/
|
|
2391
|
+
function getAllKeysIn(object) {
|
|
2392
|
+
return baseGetAllKeys(object, keysIn, getSymbolsIn);
|
|
2393
|
+
}
|
|
2394
|
+
//#endregion
|
|
1477
2395
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_DataView.js
|
|
1478
|
-
var DataView = getNative(
|
|
2396
|
+
var DataView = getNative(root, "DataView");
|
|
1479
2397
|
//#endregion
|
|
1480
2398
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Promise.js
|
|
1481
|
-
var Promise$1 = getNative(
|
|
2399
|
+
var Promise$1 = getNative(root, "Promise");
|
|
1482
2400
|
//#endregion
|
|
1483
2401
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Set.js
|
|
1484
|
-
var Set = getNative(
|
|
2402
|
+
var Set = getNative(root, "Set");
|
|
1485
2403
|
//#endregion
|
|
1486
2404
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_getTag.js
|
|
1487
2405
|
/** `Object#toString` result references. */
|
|
@@ -1504,9 +2422,9 @@ var weakMapCtorString = toSource(WeakMap);
|
|
|
1504
2422
|
* @param {*} value The value to query.
|
|
1505
2423
|
* @returns {string} Returns the `toStringTag`.
|
|
1506
2424
|
*/
|
|
1507
|
-
var getTag =
|
|
2425
|
+
var getTag = baseGetTag;
|
|
1508
2426
|
if (DataView && getTag(new DataView(/* @__PURE__ */ new ArrayBuffer(1))) != dataViewTag$1 || Map && getTag(new Map()) != mapTag$1 || Promise$1 && getTag(Promise$1.resolve()) != promiseTag || Set && getTag(new Set()) != setTag$1 || WeakMap && getTag(new WeakMap()) != weakMapTag) getTag = function(value) {
|
|
1509
|
-
var result =
|
|
2427
|
+
var result = baseGetTag(value), Ctor = result == objectTag$1 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
|
|
1510
2428
|
if (ctorString) switch (ctorString) {
|
|
1511
2429
|
case dataViewCtorString: return dataViewTag$1;
|
|
1512
2430
|
case mapCtorString: return mapTag$1;
|
|
@@ -1520,7 +2438,7 @@ var _getTag_default = getTag;
|
|
|
1520
2438
|
//#endregion
|
|
1521
2439
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_Uint8Array.js
|
|
1522
2440
|
/** Built-in value references. */
|
|
1523
|
-
var Uint8Array =
|
|
2441
|
+
var Uint8Array$1 = root.Uint8Array;
|
|
1524
2442
|
//#endregion
|
|
1525
2443
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_setCacheAdd.js
|
|
1526
2444
|
/** Used to stand-in for `undefined` hash values. */
|
|
@@ -1701,7 +2619,7 @@ var symbolTag = "[object Symbol]";
|
|
|
1701
2619
|
var arrayBufferTag = "[object ArrayBuffer]";
|
|
1702
2620
|
var dataViewTag = "[object DataView]";
|
|
1703
2621
|
/** Used to convert symbols to primitives and strings. */
|
|
1704
|
-
var symbolProto =
|
|
2622
|
+
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
1705
2623
|
var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
|
|
1706
2624
|
/**
|
|
1707
2625
|
* A specialized version of `baseIsEqualDeep` for comparing objects of
|
|
@@ -1727,7 +2645,7 @@ function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
|
|
|
1727
2645
|
object = object.buffer;
|
|
1728
2646
|
other = other.buffer;
|
|
1729
2647
|
case arrayBufferTag:
|
|
1730
|
-
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) return false;
|
|
2648
|
+
if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) return false;
|
|
1731
2649
|
return true;
|
|
1732
2650
|
case boolTag:
|
|
1733
2651
|
case dateTag:
|
|
@@ -1828,7 +2746,7 @@ var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
|
1828
2746
|
* @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
|
|
1829
2747
|
*/
|
|
1830
2748
|
function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
1831
|
-
var objIsArr =
|
|
2749
|
+
var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : _getTag_default(object), othTag = othIsArr ? arrayTag : _getTag_default(other);
|
|
1832
2750
|
objTag = objTag == argsTag ? objectTag : objTag;
|
|
1833
2751
|
othTag = othTag == argsTag ? objectTag : othTag;
|
|
1834
2752
|
var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
|
|
@@ -1871,7 +2789,7 @@ function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
|
|
|
1871
2789
|
*/
|
|
1872
2790
|
function baseIsEqual(value, other, bitmask, customizer, stack) {
|
|
1873
2791
|
if (value === other) return true;
|
|
1874
|
-
if (value == null || other == null || !
|
|
2792
|
+
if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) return value !== value && other !== other;
|
|
1875
2793
|
return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
|
|
1876
2794
|
}
|
|
1877
2795
|
//#endregion
|
|
@@ -2011,7 +2929,7 @@ function hasPath(object, path, hasFunc) {
|
|
|
2011
2929
|
}
|
|
2012
2930
|
if (result || ++index != length) return result;
|
|
2013
2931
|
length = object == null ? 0 : object.length;
|
|
2014
|
-
return !!length && isLength(length) && isIndex(key, length) && (
|
|
2932
|
+
return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
|
|
2015
2933
|
}
|
|
2016
2934
|
//#endregion
|
|
2017
2935
|
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/hasIn.js
|
|
@@ -2131,10 +3049,229 @@ function property(path) {
|
|
|
2131
3049
|
function baseIteratee(value) {
|
|
2132
3050
|
if (typeof value == "function") return value;
|
|
2133
3051
|
if (value == null) return identity;
|
|
2134
|
-
if (typeof value == "object") return
|
|
3052
|
+
if (typeof value == "object") return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
|
|
2135
3053
|
return property(value);
|
|
2136
3054
|
}
|
|
2137
3055
|
//#endregion
|
|
3056
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_baseSet.js
|
|
3057
|
+
/**
|
|
3058
|
+
* The base implementation of `_.set`.
|
|
3059
|
+
*
|
|
3060
|
+
* @private
|
|
3061
|
+
* @param {Object} object The object to modify.
|
|
3062
|
+
* @param {Array|string} path The path of the property to set.
|
|
3063
|
+
* @param {*} value The value to set.
|
|
3064
|
+
* @param {Function} [customizer] The function to customize path creation.
|
|
3065
|
+
* @returns {Object} Returns `object`.
|
|
3066
|
+
*/
|
|
3067
|
+
function baseSet(object, path, value, customizer) {
|
|
3068
|
+
if (!isObject(object)) return object;
|
|
3069
|
+
path = castPath(path, object);
|
|
3070
|
+
var index = -1, length = path.length, lastIndex = length - 1, nested = object;
|
|
3071
|
+
while (nested != null && ++index < length) {
|
|
3072
|
+
var key = toKey(path[index]), newValue = value;
|
|
3073
|
+
if (key === "__proto__" || key === "constructor" || key === "prototype") return object;
|
|
3074
|
+
if (index != lastIndex) {
|
|
3075
|
+
var objValue = nested[key];
|
|
3076
|
+
newValue = customizer ? customizer(objValue, key, nested) : void 0;
|
|
3077
|
+
if (newValue === void 0) newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
|
|
3078
|
+
}
|
|
3079
|
+
assignValue(nested, key, newValue);
|
|
3080
|
+
nested = nested[key];
|
|
3081
|
+
}
|
|
3082
|
+
return object;
|
|
3083
|
+
}
|
|
3084
|
+
//#endregion
|
|
3085
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/_basePickBy.js
|
|
3086
|
+
/**
|
|
3087
|
+
* The base implementation of `_.pickBy` without support for iteratee shorthands.
|
|
3088
|
+
*
|
|
3089
|
+
* @private
|
|
3090
|
+
* @param {Object} object The source object.
|
|
3091
|
+
* @param {string[]} paths The property paths to pick.
|
|
3092
|
+
* @param {Function} predicate The function invoked per property.
|
|
3093
|
+
* @returns {Object} Returns the new object.
|
|
3094
|
+
*/
|
|
3095
|
+
function basePickBy(object, paths, predicate) {
|
|
3096
|
+
var index = -1, length = paths.length, result = {};
|
|
3097
|
+
while (++index < length) {
|
|
3098
|
+
var path = paths[index], value = baseGet(object, path);
|
|
3099
|
+
if (predicate(value, path)) baseSet(result, castPath(path, object), value);
|
|
3100
|
+
}
|
|
3101
|
+
return result;
|
|
3102
|
+
}
|
|
3103
|
+
//#endregion
|
|
3104
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/pickBy.js
|
|
3105
|
+
/**
|
|
3106
|
+
* Creates an object composed of the `object` properties `predicate` returns
|
|
3107
|
+
* truthy for. The predicate is invoked with two arguments: (value, key).
|
|
3108
|
+
*
|
|
3109
|
+
* @static
|
|
3110
|
+
* @memberOf _
|
|
3111
|
+
* @since 4.0.0
|
|
3112
|
+
* @category Object
|
|
3113
|
+
* @param {Object} object The source object.
|
|
3114
|
+
* @param {Function} [predicate=_.identity] The function invoked per property.
|
|
3115
|
+
* @returns {Object} Returns the new object.
|
|
3116
|
+
* @example
|
|
3117
|
+
*
|
|
3118
|
+
* var object = { 'a': 1, 'b': '2', 'c': 3 };
|
|
3119
|
+
*
|
|
3120
|
+
* _.pickBy(object, _.isNumber);
|
|
3121
|
+
* // => { 'a': 1, 'c': 3 }
|
|
3122
|
+
*/
|
|
3123
|
+
function pickBy(object, predicate) {
|
|
3124
|
+
if (object == null) return {};
|
|
3125
|
+
var props = arrayMap(getAllKeysIn(object), function(prop) {
|
|
3126
|
+
return [prop];
|
|
3127
|
+
});
|
|
3128
|
+
predicate = baseIteratee(predicate);
|
|
3129
|
+
return basePickBy(object, props, function(value, path) {
|
|
3130
|
+
return predicate(value, path[0]);
|
|
3131
|
+
});
|
|
3132
|
+
}
|
|
3133
|
+
//#endregion
|
|
3134
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/startCase.js
|
|
3135
|
+
/**
|
|
3136
|
+
* Converts `string` to
|
|
3137
|
+
* [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
|
|
3138
|
+
*
|
|
3139
|
+
* @static
|
|
3140
|
+
* @memberOf _
|
|
3141
|
+
* @since 3.1.0
|
|
3142
|
+
* @category String
|
|
3143
|
+
* @param {string} [string=''] The string to convert.
|
|
3144
|
+
* @returns {string} Returns the start cased string.
|
|
3145
|
+
* @example
|
|
3146
|
+
*
|
|
3147
|
+
* _.startCase('--foo-bar--');
|
|
3148
|
+
* // => 'Foo Bar'
|
|
3149
|
+
*
|
|
3150
|
+
* _.startCase('fooBar');
|
|
3151
|
+
* // => 'Foo Bar'
|
|
3152
|
+
*
|
|
3153
|
+
* _.startCase('__FOO_BAR__');
|
|
3154
|
+
* // => 'FOO BAR'
|
|
3155
|
+
*/
|
|
3156
|
+
var startCase = createCompounder(function(result, word, index) {
|
|
3157
|
+
return result + (index ? " " : "") + upperFirst(word);
|
|
3158
|
+
});
|
|
3159
|
+
//#endregion
|
|
3160
|
+
//#region src/utils.ts
|
|
3161
|
+
var utils_exports = /* @__PURE__ */ __exportAll({
|
|
3162
|
+
Identifier: () => Identifier,
|
|
3163
|
+
configureTokenizer: () => configureTokenizer,
|
|
3164
|
+
escapeString: () => escapeString,
|
|
3165
|
+
fromJSONSchemaCompat: () => fromJSONSchemaCompat,
|
|
3166
|
+
getErrorMessage: () => getErrorMessage,
|
|
3167
|
+
getMultilineComment: () => getMultilineComment,
|
|
3168
|
+
getTokenizer: () => getTokenizer,
|
|
3169
|
+
init: () => init,
|
|
3170
|
+
isJsonSchema: () => isJsonSchema,
|
|
3171
|
+
isValidIdentifier: () => isValidIdentifier,
|
|
3172
|
+
isZuiSchema: () => isZuiSchema,
|
|
3173
|
+
stripInvalidIdentifiers: () => stripInvalidIdentifiers,
|
|
3174
|
+
toPropertyKey: () => toPropertyKey,
|
|
3175
|
+
toValidFunctionName: () => toValidFunctionName,
|
|
3176
|
+
toValidObjectName: () => toValidObjectName
|
|
3177
|
+
});
|
|
3178
|
+
let tokenizer = null;
|
|
3179
|
+
/**
|
|
3180
|
+
* Injects the tokenizer used for prompt budgeting instead of the default
|
|
3181
|
+
* `@bpinternal/thicktoken` WASM tokenizer.
|
|
3182
|
+
*
|
|
3183
|
+
* The default tokenizer compiles its WASM at runtime (`new WebAssembly.Module(bytes)`),
|
|
3184
|
+
* which is disallowed on some platforms (e.g. Cloudflare Workers / workerd). On those
|
|
3185
|
+
* platforms, build a tokenizer from a statically imported precompiled `WebAssembly.Module`
|
|
3186
|
+
* and inject it here before calling `execute()`.
|
|
3187
|
+
*/
|
|
3188
|
+
const configureTokenizer = (customTokenizer) => {
|
|
3189
|
+
tokenizer = customTokenizer;
|
|
3190
|
+
};
|
|
3191
|
+
const init = async () => {
|
|
3192
|
+
if (tokenizer) return;
|
|
3193
|
+
while (typeof _bpinternal_thicktoken.getWasmTokenizer !== "function") await new Promise((resolve) => setTimeout(resolve, 50));
|
|
3194
|
+
tokenizer = await (0, _bpinternal_thicktoken.getWasmTokenizer)();
|
|
3195
|
+
};
|
|
3196
|
+
const getTokenizer = () => {
|
|
3197
|
+
if (!tokenizer) throw new Error("Tokenizer not initialized, make sure to call init() first and await it");
|
|
3198
|
+
return tokenizer;
|
|
3199
|
+
};
|
|
3200
|
+
const Identifier = _bpinternal_zui.z.string().min(1).max(100).regex(/^([a-zA-Z_][a-zA-Z0-9_]*)$/, "Identifiers must start with a letter and can only contain letters, numbers and underscores");
|
|
3201
|
+
function escapeString(str) {
|
|
3202
|
+
if (typeof str !== "string") return "";
|
|
3203
|
+
const escapedStr = String.raw`${str}`.replace(/\\/g, "\\\\").replace(/\n/g, "\\n").replace(/"/g, "\\\"").replace(/'/g, "\\'");
|
|
3204
|
+
if (escapedStr.includes("`")) return `"${escapedStr}"`;
|
|
3205
|
+
else if (escapedStr.includes("'")) return `"${escapedStr}"`;
|
|
3206
|
+
else return `'${escapedStr}'`;
|
|
3207
|
+
}
|
|
3208
|
+
const toPropertyKey = (key) => {
|
|
3209
|
+
if (/^[a-zA-Z_$][a-zA-Z0-9_$]*$/.test(key)) return key;
|
|
3210
|
+
return escapeString(key);
|
|
3211
|
+
};
|
|
3212
|
+
const trimEmptyLines = (lines) => {
|
|
3213
|
+
var _lines$;
|
|
3214
|
+
while (lines.length && !((_lines$ = lines[0]) === null || _lines$ === void 0 ? void 0 : _lines$.trim())) lines.shift();
|
|
3215
|
+
while (lines.length && !lines[lines.length - 1].trim()) lines.pop();
|
|
3216
|
+
};
|
|
3217
|
+
const getMultilineComment = (description) => {
|
|
3218
|
+
description = description === null || description === void 0 ? void 0 : description.replace(/(\n(\s*)?){3,}/g, "\n\n");
|
|
3219
|
+
const ensureLineStartsWithAsterisk = (line) => line.startsWith("* ") ? ` ${line}` : ` * ${line}`;
|
|
3220
|
+
const escapeCommentEnd = (line) => line.replace(/\*\//g, "*\\/");
|
|
3221
|
+
const descLines = (description ?? "").split("\n").map((line) => line.trim());
|
|
3222
|
+
trimEmptyLines(descLines);
|
|
3223
|
+
if (descLines.length) {
|
|
3224
|
+
descLines[0] = descLines[0].replace(/^\/\*\*?/, "");
|
|
3225
|
+
descLines[descLines.length - 1] = descLines[descLines.length - 1].replace(/\*\/$/, "");
|
|
3226
|
+
}
|
|
3227
|
+
trimEmptyLines(descLines);
|
|
3228
|
+
if (descLines.length === 0) return "";
|
|
3229
|
+
if (descLines.length === 1) return `/** ${escapeCommentEnd(descLines[0])} */`;
|
|
3230
|
+
return `/**\n${descLines.map(ensureLineStartsWithAsterisk).map(escapeCommentEnd).join("\n")}\n */`;
|
|
3231
|
+
};
|
|
3232
|
+
const toValidFunctionName = (str) => {
|
|
3233
|
+
let name = deburr(str);
|
|
3234
|
+
name = name.replace(/[^a-zA-Z0-9_$]/g, "");
|
|
3235
|
+
if (!/^[a-zA-Z_$]/.test(name)) name = `_${name}`;
|
|
3236
|
+
return camelCase(name);
|
|
3237
|
+
};
|
|
3238
|
+
const toValidObjectName = (str) => {
|
|
3239
|
+
let name = deburr(str);
|
|
3240
|
+
name = name.split(/[^a-zA-Z0-9_$]/g).map(startCase).join("");
|
|
3241
|
+
if (!/^[a-zA-Z_$]/.test(name)) name = `_${name}`;
|
|
3242
|
+
return name.replaceAll(" ", "");
|
|
3243
|
+
};
|
|
3244
|
+
const stripInvalidIdentifiers = (object) => {
|
|
3245
|
+
if (typeof object !== "object") return object;
|
|
3246
|
+
if (Array.isArray(object)) return object.map(stripInvalidIdentifiers);
|
|
3247
|
+
return pickBy(object, (__, key) => Identifier.safeParse(key).success);
|
|
3248
|
+
};
|
|
3249
|
+
/**
|
|
3250
|
+
* JSON Schema → Zui via the legacy transform, falling back to the eval-free one.
|
|
3251
|
+
* The legacy transform builds the schema by evaluating generated code, which is
|
|
3252
|
+
* banned on some platforms (e.g. Cloudflare Workers / workerd) — there it throws
|
|
3253
|
+
* and the eval-free transform takes over. Kept legacy-first because the two
|
|
3254
|
+
* transforms differ on some shapes (e.g. discriminated unions).
|
|
3255
|
+
*/
|
|
3256
|
+
const fromJSONSchemaCompat = (schema) => {
|
|
3257
|
+
try {
|
|
3258
|
+
return _bpinternal_zui.transforms.fromJSONSchemaLegacy(schema);
|
|
3259
|
+
} catch {
|
|
3260
|
+
return _bpinternal_zui.transforms.fromJSONSchema(schema);
|
|
3261
|
+
}
|
|
3262
|
+
};
|
|
3263
|
+
function isZuiSchema(schema) {
|
|
3264
|
+
return !!schema && typeof schema === "object" && schema.__type__ === "ZuiType";
|
|
3265
|
+
}
|
|
3266
|
+
function isJsonSchema(schema) {
|
|
3267
|
+
return !!schema && typeof schema === "object" && ("$schema" in schema || "type" in schema || "properties" in schema);
|
|
3268
|
+
}
|
|
3269
|
+
function isValidIdentifier(name) {
|
|
3270
|
+
if (typeof name !== "string") return false;
|
|
3271
|
+
return /^[A-Z]{1,}[A-Z0-9_]{0,50}$/i.test(name);
|
|
3272
|
+
}
|
|
3273
|
+
const getErrorMessage = (err) => err instanceof Error ? err.message : JSON.stringify(err);
|
|
3274
|
+
//#endregion
|
|
2138
3275
|
Object.defineProperty(exports, "Set", {
|
|
2139
3276
|
enumerable: true,
|
|
2140
3277
|
get: function() {
|
|
@@ -2153,46 +3290,46 @@ Object.defineProperty(exports, "Stack", {
|
|
|
2153
3290
|
return Stack;
|
|
2154
3291
|
}
|
|
2155
3292
|
});
|
|
2156
|
-
Object.defineProperty(exports, "
|
|
3293
|
+
Object.defineProperty(exports, "Symbol", {
|
|
2157
3294
|
enumerable: true,
|
|
2158
3295
|
get: function() {
|
|
2159
|
-
return
|
|
3296
|
+
return Symbol$1;
|
|
2160
3297
|
}
|
|
2161
3298
|
});
|
|
2162
|
-
Object.defineProperty(exports, "
|
|
3299
|
+
Object.defineProperty(exports, "Uint8Array", {
|
|
2163
3300
|
enumerable: true,
|
|
2164
3301
|
get: function() {
|
|
2165
|
-
return
|
|
3302
|
+
return Uint8Array$1;
|
|
2166
3303
|
}
|
|
2167
3304
|
});
|
|
2168
|
-
Object.defineProperty(exports, "
|
|
3305
|
+
Object.defineProperty(exports, "__commonJSMin", {
|
|
2169
3306
|
enumerable: true,
|
|
2170
3307
|
get: function() {
|
|
2171
|
-
return
|
|
3308
|
+
return __commonJSMin;
|
|
2172
3309
|
}
|
|
2173
3310
|
});
|
|
2174
|
-
Object.defineProperty(exports, "
|
|
3311
|
+
Object.defineProperty(exports, "__exportAll", {
|
|
2175
3312
|
enumerable: true,
|
|
2176
3313
|
get: function() {
|
|
2177
|
-
return
|
|
3314
|
+
return __exportAll;
|
|
2178
3315
|
}
|
|
2179
3316
|
});
|
|
2180
|
-
Object.defineProperty(exports, "
|
|
3317
|
+
Object.defineProperty(exports, "__toESM", {
|
|
2181
3318
|
enumerable: true,
|
|
2182
3319
|
get: function() {
|
|
2183
|
-
return
|
|
3320
|
+
return __toESM;
|
|
2184
3321
|
}
|
|
2185
3322
|
});
|
|
2186
|
-
Object.defineProperty(exports, "
|
|
3323
|
+
Object.defineProperty(exports, "_getTag_default", {
|
|
2187
3324
|
enumerable: true,
|
|
2188
3325
|
get: function() {
|
|
2189
|
-
return
|
|
3326
|
+
return _getTag_default;
|
|
2190
3327
|
}
|
|
2191
3328
|
});
|
|
2192
|
-
Object.defineProperty(exports, "
|
|
3329
|
+
Object.defineProperty(exports, "assignValue", {
|
|
2193
3330
|
enumerable: true,
|
|
2194
3331
|
get: function() {
|
|
2195
|
-
return
|
|
3332
|
+
return assignValue;
|
|
2196
3333
|
}
|
|
2197
3334
|
});
|
|
2198
3335
|
Object.defineProperty(exports, "baseAssignValue", {
|
|
@@ -2201,18 +3338,6 @@ Object.defineProperty(exports, "baseAssignValue", {
|
|
|
2201
3338
|
return baseAssignValue;
|
|
2202
3339
|
}
|
|
2203
3340
|
});
|
|
2204
|
-
Object.defineProperty(exports, "baseGet", {
|
|
2205
|
-
enumerable: true,
|
|
2206
|
-
get: function() {
|
|
2207
|
-
return baseGet;
|
|
2208
|
-
}
|
|
2209
|
-
});
|
|
2210
|
-
Object.defineProperty(exports, "baseGetAllKeys", {
|
|
2211
|
-
enumerable: true,
|
|
2212
|
-
get: function() {
|
|
2213
|
-
return baseGetAllKeys;
|
|
2214
|
-
}
|
|
2215
|
-
});
|
|
2216
3341
|
Object.defineProperty(exports, "baseIsEqual", {
|
|
2217
3342
|
enumerable: true,
|
|
2218
3343
|
get: function() {
|
|
@@ -2243,28 +3368,46 @@ Object.defineProperty(exports, "cacheHas", {
|
|
|
2243
3368
|
return cacheHas;
|
|
2244
3369
|
}
|
|
2245
3370
|
});
|
|
2246
|
-
Object.defineProperty(exports, "
|
|
3371
|
+
Object.defineProperty(exports, "configureTokenizer", {
|
|
2247
3372
|
enumerable: true,
|
|
2248
3373
|
get: function() {
|
|
2249
|
-
return
|
|
3374
|
+
return configureTokenizer;
|
|
2250
3375
|
}
|
|
2251
3376
|
});
|
|
2252
|
-
Object.defineProperty(exports, "
|
|
3377
|
+
Object.defineProperty(exports, "fromJSONSchemaCompat", {
|
|
2253
3378
|
enumerable: true,
|
|
2254
3379
|
get: function() {
|
|
2255
|
-
return
|
|
3380
|
+
return fromJSONSchemaCompat;
|
|
2256
3381
|
}
|
|
2257
3382
|
});
|
|
2258
|
-
Object.defineProperty(exports, "
|
|
3383
|
+
Object.defineProperty(exports, "getAllKeys", {
|
|
2259
3384
|
enumerable: true,
|
|
2260
3385
|
get: function() {
|
|
2261
|
-
return
|
|
3386
|
+
return getAllKeys;
|
|
2262
3387
|
}
|
|
2263
3388
|
});
|
|
2264
|
-
Object.defineProperty(exports, "
|
|
3389
|
+
Object.defineProperty(exports, "getAllKeysIn", {
|
|
2265
3390
|
enumerable: true,
|
|
2266
3391
|
get: function() {
|
|
2267
|
-
return
|
|
3392
|
+
return getAllKeysIn;
|
|
3393
|
+
}
|
|
3394
|
+
});
|
|
3395
|
+
Object.defineProperty(exports, "getErrorMessage", {
|
|
3396
|
+
enumerable: true,
|
|
3397
|
+
get: function() {
|
|
3398
|
+
return getErrorMessage;
|
|
3399
|
+
}
|
|
3400
|
+
});
|
|
3401
|
+
Object.defineProperty(exports, "getMultilineComment", {
|
|
3402
|
+
enumerable: true,
|
|
3403
|
+
get: function() {
|
|
3404
|
+
return getMultilineComment;
|
|
3405
|
+
}
|
|
3406
|
+
});
|
|
3407
|
+
Object.defineProperty(exports, "getPrototype", {
|
|
3408
|
+
enumerable: true,
|
|
3409
|
+
get: function() {
|
|
3410
|
+
return getPrototype;
|
|
2268
3411
|
}
|
|
2269
3412
|
});
|
|
2270
3413
|
Object.defineProperty(exports, "getSymbols", {
|
|
@@ -2273,10 +3416,22 @@ Object.defineProperty(exports, "getSymbols", {
|
|
|
2273
3416
|
return getSymbols;
|
|
2274
3417
|
}
|
|
2275
3418
|
});
|
|
2276
|
-
Object.defineProperty(exports, "
|
|
3419
|
+
Object.defineProperty(exports, "getSymbolsIn", {
|
|
3420
|
+
enumerable: true,
|
|
3421
|
+
get: function() {
|
|
3422
|
+
return getSymbolsIn;
|
|
3423
|
+
}
|
|
3424
|
+
});
|
|
3425
|
+
Object.defineProperty(exports, "getTokenizer", {
|
|
2277
3426
|
enumerable: true,
|
|
2278
3427
|
get: function() {
|
|
2279
|
-
return
|
|
3428
|
+
return getTokenizer;
|
|
3429
|
+
}
|
|
3430
|
+
});
|
|
3431
|
+
Object.defineProperty(exports, "init", {
|
|
3432
|
+
enumerable: true,
|
|
3433
|
+
get: function() {
|
|
3434
|
+
return init;
|
|
2280
3435
|
}
|
|
2281
3436
|
});
|
|
2282
3437
|
Object.defineProperty(exports, "isArguments", {
|
|
@@ -2285,6 +3440,12 @@ Object.defineProperty(exports, "isArguments", {
|
|
|
2285
3440
|
return isArguments;
|
|
2286
3441
|
}
|
|
2287
3442
|
});
|
|
3443
|
+
Object.defineProperty(exports, "isArray", {
|
|
3444
|
+
enumerable: true,
|
|
3445
|
+
get: function() {
|
|
3446
|
+
return isArray;
|
|
3447
|
+
}
|
|
3448
|
+
});
|
|
2288
3449
|
Object.defineProperty(exports, "isArrayLike", {
|
|
2289
3450
|
enumerable: true,
|
|
2290
3451
|
get: function() {
|
|
@@ -2303,10 +3464,10 @@ Object.defineProperty(exports, "isFunction", {
|
|
|
2303
3464
|
return isFunction;
|
|
2304
3465
|
}
|
|
2305
3466
|
});
|
|
2306
|
-
Object.defineProperty(exports, "
|
|
3467
|
+
Object.defineProperty(exports, "isJsonSchema", {
|
|
2307
3468
|
enumerable: true,
|
|
2308
3469
|
get: function() {
|
|
2309
|
-
return
|
|
3470
|
+
return isJsonSchema;
|
|
2310
3471
|
}
|
|
2311
3472
|
});
|
|
2312
3473
|
Object.defineProperty(exports, "isObject", {
|
|
@@ -2315,6 +3476,12 @@ Object.defineProperty(exports, "isObject", {
|
|
|
2315
3476
|
return isObject;
|
|
2316
3477
|
}
|
|
2317
3478
|
});
|
|
3479
|
+
Object.defineProperty(exports, "isObjectLike", {
|
|
3480
|
+
enumerable: true,
|
|
3481
|
+
get: function() {
|
|
3482
|
+
return isObjectLike;
|
|
3483
|
+
}
|
|
3484
|
+
});
|
|
2318
3485
|
Object.defineProperty(exports, "isPrototype", {
|
|
2319
3486
|
enumerable: true,
|
|
2320
3487
|
get: function() {
|
|
@@ -2333,16 +3500,28 @@ Object.defineProperty(exports, "isTypedArray", {
|
|
|
2333
3500
|
return isTypedArray;
|
|
2334
3501
|
}
|
|
2335
3502
|
});
|
|
3503
|
+
Object.defineProperty(exports, "isValidIdentifier", {
|
|
3504
|
+
enumerable: true,
|
|
3505
|
+
get: function() {
|
|
3506
|
+
return isValidIdentifier;
|
|
3507
|
+
}
|
|
3508
|
+
});
|
|
3509
|
+
Object.defineProperty(exports, "isZuiSchema", {
|
|
3510
|
+
enumerable: true,
|
|
3511
|
+
get: function() {
|
|
3512
|
+
return isZuiSchema;
|
|
3513
|
+
}
|
|
3514
|
+
});
|
|
2336
3515
|
Object.defineProperty(exports, "keys", {
|
|
2337
3516
|
enumerable: true,
|
|
2338
3517
|
get: function() {
|
|
2339
3518
|
return keys;
|
|
2340
3519
|
}
|
|
2341
3520
|
});
|
|
2342
|
-
Object.defineProperty(exports, "
|
|
3521
|
+
Object.defineProperty(exports, "keysIn", {
|
|
2343
3522
|
enumerable: true,
|
|
2344
3523
|
get: function() {
|
|
2345
|
-
return
|
|
3524
|
+
return keysIn;
|
|
2346
3525
|
}
|
|
2347
3526
|
});
|
|
2348
3527
|
Object.defineProperty(exports, "nodeUtil", {
|
|
@@ -2351,27 +3530,45 @@ Object.defineProperty(exports, "nodeUtil", {
|
|
|
2351
3530
|
return nodeUtil;
|
|
2352
3531
|
}
|
|
2353
3532
|
});
|
|
3533
|
+
Object.defineProperty(exports, "root", {
|
|
3534
|
+
enumerable: true,
|
|
3535
|
+
get: function() {
|
|
3536
|
+
return root;
|
|
3537
|
+
}
|
|
3538
|
+
});
|
|
2354
3539
|
Object.defineProperty(exports, "setToArray", {
|
|
2355
3540
|
enumerable: true,
|
|
2356
3541
|
get: function() {
|
|
2357
3542
|
return setToArray;
|
|
2358
3543
|
}
|
|
2359
3544
|
});
|
|
2360
|
-
Object.defineProperty(exports, "
|
|
3545
|
+
Object.defineProperty(exports, "stripInvalidIdentifiers", {
|
|
3546
|
+
enumerable: true,
|
|
3547
|
+
get: function() {
|
|
3548
|
+
return stripInvalidIdentifiers;
|
|
3549
|
+
}
|
|
3550
|
+
});
|
|
3551
|
+
Object.defineProperty(exports, "toPropertyKey", {
|
|
3552
|
+
enumerable: true,
|
|
3553
|
+
get: function() {
|
|
3554
|
+
return toPropertyKey;
|
|
3555
|
+
}
|
|
3556
|
+
});
|
|
3557
|
+
Object.defineProperty(exports, "toValidFunctionName", {
|
|
2361
3558
|
enumerable: true,
|
|
2362
3559
|
get: function() {
|
|
2363
|
-
return
|
|
3560
|
+
return toValidFunctionName;
|
|
2364
3561
|
}
|
|
2365
3562
|
});
|
|
2366
|
-
Object.defineProperty(exports, "
|
|
3563
|
+
Object.defineProperty(exports, "toValidObjectName", {
|
|
2367
3564
|
enumerable: true,
|
|
2368
3565
|
get: function() {
|
|
2369
|
-
return
|
|
3566
|
+
return toValidObjectName;
|
|
2370
3567
|
}
|
|
2371
3568
|
});
|
|
2372
|
-
Object.defineProperty(exports, "
|
|
3569
|
+
Object.defineProperty(exports, "utils_exports", {
|
|
2373
3570
|
enumerable: true,
|
|
2374
3571
|
get: function() {
|
|
2375
|
-
return
|
|
3572
|
+
return utils_exports;
|
|
2376
3573
|
}
|
|
2377
3574
|
});
|