Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
13
frontend/node_modules/es-toolkit/dist/compat/string/trim.js
generated
vendored
Normal file
13
frontend/node_modules/es-toolkit/dist/compat/string/trim.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const require_trim = require("../../string/trim.js");
|
||||
//#region src/compat/string/trim.ts
|
||||
function trim(str, chars, guard) {
|
||||
if (str == null) return "";
|
||||
if (guard != null || chars == null) return str.toString().trim();
|
||||
switch (typeof chars) {
|
||||
case "object": if (Array.isArray(chars)) return require_trim.trim(str, chars.flatMap((x) => x.toString().split("")));
|
||||
else return require_trim.trim(str, chars.toString().split(""));
|
||||
default: return require_trim.trim(str, chars.toString().split(""));
|
||||
}
|
||||
}
|
||||
//#endregion
|
||||
exports.trim = trim;
|
||||
Loading…
Add table
Add a link
Reference in a new issue