ryugi-artifacts 1.120.4 → 1.120.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +197 -230
- package/dist/document-engine.cjs +1 -1
- package/dist/output-bootstrap.cjs +170 -56
- package/dist/runtime/ryugi-report.js +3 -3
- package/dist/runtime/ryugi-whiteboard-embed.js +1 -1
- package/dist/viewer/{DocumentLayout-B16AJ4m1.js → DocumentLayout-BxFYyKFq.js} +2 -2
- package/dist/viewer/{DocumentPage-dMWzmQVw.js → DocumentPage-CP8Qy9Ae.js} +2 -2
- package/dist/viewer/DocumentPage-l6f5vTWL.css +1 -0
- package/dist/viewer/{PreviewLayout-BnV4cPB4.js → PreviewLayout-eg8-py8p.js} +2 -2
- package/dist/viewer/{SnapshotDocument-B9mIj1Hu.js → SnapshotDocument-C7mV8NQn.js} +1 -1
- package/dist/viewer/{VerifyLayout-8IJyCQab.js → VerifyLayout-DtRz6K2y.js} +1 -1
- package/dist/viewer/{VirtualizedEditor-uWe43zaI-St9YpcWe.js → VirtualizedEditor-uWe43zaI-CgOwRELB.js} +1 -1
- package/dist/viewer/{VirtualizedRenderer-C_d95FXi-AQRKmbO2.js → VirtualizedRenderer-C_d95FXi-DiZVcTAc.js} +1 -1
- package/dist/viewer/{channel-Cuvtl_mH.js → channel-RZcAq9dq.js} +3 -3
- package/dist/viewer/{dist-Bk5XPCBt.js → dist-1y-5eBAw.js} +1 -1
- package/dist/viewer/{dist-uxyq6tMx.js → dist-3kOakO1C.js} +1 -1
- package/dist/viewer/{dist-IPNQW5G8.js → dist-BD6XPyPx.js} +1 -1
- package/dist/viewer/{dist-Dps6vTN-.js → dist-BI0qFRAy.js} +1 -1
- package/dist/viewer/{dist-BZtYe42f.js → dist-BKkO1Omj.js} +1 -1
- package/dist/viewer/{dist-CdLcI1iK.js → dist-BQ22B1dL.js} +1 -1
- package/dist/viewer/dist-BjB8i81Z.js +1 -0
- package/dist/viewer/{dist-ZiVOhU9h.js → dist-Bo1t4X-Z.js} +1 -1
- package/dist/viewer/{dist-CIFQVgHq.js → dist-Ci8SGeFw.js} +1 -1
- package/dist/viewer/{dist-BlsFMD-D.js → dist-CskHZfMU.js} +1 -1
- package/dist/viewer/{dist-7mb2bGpU.js → dist-CvSBK4r1.js} +1 -1
- package/dist/viewer/{dist-D3jbkNxp.js → dist-D0fC7ysz.js} +1 -1
- package/dist/viewer/{dist-B7uQYv5D.js → dist-D8T-VMuH.js} +1 -1
- package/dist/viewer/{dist-CPlSf_-n.js → dist-DQI2slI5.js} +1 -1
- package/dist/viewer/{dist-BQ-mw7EX.js → dist-DW1-cTNS.js} +1 -1
- package/dist/viewer/{dist-heibZsuo.js → dist-DknksWkX.js} +1 -1
- package/dist/viewer/{dist-J2ZdVVPe.js → dist-Do_0jRES.js} +1 -1
- package/dist/viewer/{dist-C1y9SfQg.js → dist-DqZiUlRF.js} +1 -1
- package/dist/viewer/{dist-ZG8pOFA0.js → dist-IhKVX0N7.js} +1 -1
- package/dist/viewer/{dist-D239Hbe5.js → dist-SwdVvEpO.js} +1 -1
- package/dist/viewer/{dist-lr1VXsEc.js → dist-V7e95zqk.js} +1 -1
- package/dist/viewer/{dist-48uAq37R.js → dist-f8YElrUw.js} +1 -1
- package/dist/viewer/{dist-CVLSwR1I.js → dist-h2T27ekx.js} +1 -1
- package/dist/viewer/{dist-yH5e-0q1.js → dist-i1Gf9O6b.js} +1 -1
- package/dist/viewer/{editor-B9cVjpUI.js → editor-CLF22MpT.js} +131 -131
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/{plugin-_bGVeqI0--OtMqC7P.js → plugin-_bGVeqI0-D20LzbhT.js} +2 -2
- package/dist/viewer/preview.html +1 -1
- package/dist/viewer/preview.js +1 -1
- package/dist/viewer/{printDocument-DDB2RpO4.js → printDocument-DmnjWjBu.js} +1 -1
- package/dist/viewer/{viewport-CFJHn_Y6-DVNTdoOX.js → viewport-CFJHn_Y6-GTpeksto.js} +1 -1
- package/package.json +23 -23
- package/dist/viewer/DocumentPage-DGJI3MRN.css +0 -1
- package/dist/viewer/dist-D9hP37Je.js +0 -1
|
@@ -23,6 +23,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
23
23
|
let node_fs = require("node:fs");
|
|
24
24
|
let node_os = require("node:os");
|
|
25
25
|
let node_path = require("node:path");
|
|
26
|
+
let node_util = require("node:util");
|
|
26
27
|
node_fs = __toESM(node_fs, 1);
|
|
27
28
|
node_os = __toESM(node_os, 1);
|
|
28
29
|
node_path = __toESM(node_path, 1);
|
|
@@ -334,6 +335,26 @@ function result(data, completion = { kind: "succeeded" }, extra = {}) {
|
|
|
334
335
|
...extra
|
|
335
336
|
};
|
|
336
337
|
}
|
|
338
|
+
// src/core/cli/output/text.ts
|
|
339
|
+
const graphemes = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
340
|
+
const cleanText = (text) => (0, node_util.stripVTControlCharacters)(text).replaceAll(/[\p{Cc}]/gu, (char) => char === "\n" || char === " " ? char : " ");
|
|
341
|
+
const inlineText = (text) => cleanText(text).replaceAll(/[\n\t]/g, " ");
|
|
342
|
+
/** Terminal columns, rather than UTF-16 code units (including joined emoji). */
|
|
343
|
+
function displayWidth(text) {
|
|
344
|
+
let width = 0;
|
|
345
|
+
for (const { segment } of graphemes.segment(inlineText(text))) {
|
|
346
|
+
if (/^[\p{Mark}\p{Cf}]+$/u.test(segment)) continue;
|
|
347
|
+
if (/[\p{Emoji_Presentation}\uFE0F\u20E3]/u.test(segment)) {
|
|
348
|
+
width += 2;
|
|
349
|
+
continue;
|
|
350
|
+
}
|
|
351
|
+
const cp = segment.codePointAt(0);
|
|
352
|
+
width += cp >= 4352 && (cp <= 4447 || cp === 9001 || cp === 9002 || cp >= 11904 && cp <= 42191 && cp !== 12351 || cp >= 44032 && cp <= 55203 || cp >= 63744 && cp <= 64255 || cp >= 65040 && cp <= 65049 || cp >= 65072 && cp <= 65135 || cp >= 65281 && cp <= 65376 || cp >= 65504 && cp <= 65510 || cp >= 131072 && cp <= 262141) ? 2 : 1;
|
|
353
|
+
}
|
|
354
|
+
return width;
|
|
355
|
+
}
|
|
356
|
+
const outputWidth = () => Math.max(20, Math.min(process.stdout.columns || 80, 120));
|
|
357
|
+
const padColumns = (text, width) => text + " ".repeat(Math.max(0, width - displayWidth(text)));
|
|
337
358
|
// src/core/cli/output/time.ts
|
|
338
359
|
const ISO = /^\d{4}-\d\d-\d\dT\d\d:\d\d(?::\d\d(?:\.\d+)?)?(?:Z|[+-]\d\d:?\d\d)$/;
|
|
339
360
|
const two = (n) => String(n).padStart(2, "0");
|
|
@@ -357,7 +378,7 @@ function recoveryActions(error, subject) {
|
|
|
357
378
|
}] : []);
|
|
358
379
|
}
|
|
359
380
|
// src/core/cli/output/render.ts
|
|
360
|
-
const clean =
|
|
381
|
+
const clean = inlineText;
|
|
361
382
|
function flatten(value, nested = false) {
|
|
362
383
|
if (value === null || value === void 0) return "";
|
|
363
384
|
if (Array.isArray(value)) return value.map((item) => flatten(item, true)).join(", ");
|
|
@@ -374,17 +395,30 @@ const scalar = (value, path, loose) => {
|
|
|
374
395
|
}
|
|
375
396
|
return flatten(value);
|
|
376
397
|
};
|
|
377
|
-
const absent = (value, fallback) => value === void 0 || value === null || value === "" || value === false || fallback !== void 0 && value === fallback;
|
|
398
|
+
const absent = (value, fallback, meaningfulFalse = false) => value === void 0 || value === null || value === "" || value === false && !meaningfulFalse || fallback !== void 0 && value === fallback;
|
|
378
399
|
const EXIT_WORDS = {
|
|
379
|
-
1: "
|
|
380
|
-
2: "
|
|
381
|
-
3: "
|
|
382
|
-
4: "
|
|
383
|
-
5: "
|
|
384
|
-
130: "
|
|
385
|
-
143: "
|
|
400
|
+
1: "failed",
|
|
401
|
+
2: "needs action",
|
|
402
|
+
3: "issues",
|
|
403
|
+
4: "incomplete",
|
|
404
|
+
5: "partial",
|
|
405
|
+
130: "interrupted",
|
|
406
|
+
143: "interrupted"
|
|
407
|
+
};
|
|
408
|
+
const statusWord = (status, code) => {
|
|
409
|
+
const word = clean(status).replaceAll("_", " ").toLowerCase();
|
|
410
|
+
if (code && (!word || [
|
|
411
|
+
"published",
|
|
412
|
+
"complete",
|
|
413
|
+
"clean",
|
|
414
|
+
"ok",
|
|
415
|
+
"ready",
|
|
416
|
+
"saved",
|
|
417
|
+
"installed",
|
|
418
|
+
"done"
|
|
419
|
+
].includes(word))) return EXIT_WORDS[code] ?? "failed";
|
|
420
|
+
return word;
|
|
386
421
|
};
|
|
387
|
-
const statusWord = (status, code) => code ? EXIT_WORDS[code] ?? "FAILED" : clean(status).replaceAll("_", " ").toUpperCase();
|
|
388
422
|
const commandName = (id) => {
|
|
389
423
|
const words = id.replaceAll(/[._]/g, " ").trim();
|
|
390
424
|
return words ? words[0].toUpperCase() + words.slice(1) : "Command";
|
|
@@ -393,7 +427,7 @@ function pageText(page) {
|
|
|
393
427
|
const offset = page.offset ?? 0;
|
|
394
428
|
if (!page.hasMore && offset === 0) return null;
|
|
395
429
|
const of = page.total === null ? "" : ` of ${page.total}`;
|
|
396
|
-
const cursor =
|
|
430
|
+
const cursor = "";
|
|
397
431
|
if (page.offset === void 0) return `${page.returned}${of} shown${page.total === null && page.hasMore ? " · more available" : ""}${cursor}`;
|
|
398
432
|
return `${page.returned ? `${offset + 1}–${offset + page.returned}` : "none"}${of}${cursor}`;
|
|
399
433
|
}
|
|
@@ -401,45 +435,81 @@ const quote = (value) => /^[\w./:@=+-]+$/.test(value) ? value : `'${value.replac
|
|
|
401
435
|
function actionText(action) {
|
|
402
436
|
return action.kind === "command" ? action.argv.map(quote).join(" ") : action.url;
|
|
403
437
|
}
|
|
404
|
-
const
|
|
438
|
+
const effectIdentity = (effect, index) => JSON.stringify([index, effect]);
|
|
405
439
|
const lastSegment = (path) => path.split(".").filter(Boolean).at(-1) ?? path;
|
|
406
|
-
function renderText(view, wire, options, collection, requiredFields = [], code = 0) {
|
|
407
|
-
const
|
|
408
|
-
|
|
440
|
+
function renderText(view, wire, options, collection, requiredFields = [], code = 0, covered = /* @__PURE__ */ new Set()) {
|
|
441
|
+
const lines = [[
|
|
442
|
+
clean(view.heading),
|
|
409
443
|
view.subject && clean(view.subject),
|
|
410
|
-
view.
|
|
411
|
-
|
|
412
|
-
|
|
444
|
+
statusWord(view.status, code),
|
|
445
|
+
view.compact && view.summary && clean(view.summary)
|
|
446
|
+
].filter(Boolean).join(" · ")];
|
|
447
|
+
if (!view.compact && view.summary) lines.push(clean(view.summary));
|
|
448
|
+
const links = /* @__PURE__ */ new Set();
|
|
449
|
+
const printedPages = /* @__PURE__ */ new Set();
|
|
450
|
+
const metadataKeys = /* @__PURE__ */ new Set([
|
|
451
|
+
"snapshot",
|
|
452
|
+
"receipt",
|
|
453
|
+
"delivery",
|
|
454
|
+
"cursor"
|
|
455
|
+
]);
|
|
456
|
+
const append = (text, indent = 0, continuation = indent) => {
|
|
457
|
+
cleanText(text).split("\n").forEach((part, i) => lines.push(" ".repeat(i ? continuation : indent) + part));
|
|
458
|
+
};
|
|
459
|
+
const trackLink = (input) => {
|
|
460
|
+
if (typeof input === "string" && /^https?:\/\/\S+$/.test(input)) links.add(input);
|
|
461
|
+
};
|
|
462
|
+
const cover = (claims, printed = /* @__PURE__ */ new Set()) => {
|
|
463
|
+
for (const claim of claims ?? []) {
|
|
464
|
+
const effect = wire.effects?.[claim.index];
|
|
465
|
+
if (effect && (!claim.fields || claim.fields.every((key) => printed.has(key)))) covered.add(effectIdentity(effect, claim.index));
|
|
466
|
+
}
|
|
467
|
+
};
|
|
468
|
+
cover(view.effects);
|
|
413
469
|
const omissions = [...wire.omitted ?? []];
|
|
414
470
|
const selected = (key, required = false) => required || requiredFields.includes(key) || !options.fields || options.fields.includes(key);
|
|
415
|
-
const value = (input, path, loose = false) =>
|
|
416
|
-
const cell = (label, key, input, path, positional, fallback, loose = false) => {
|
|
417
|
-
if (absent(input, fallback)) return null;
|
|
471
|
+
const value = (input, path, loose = false) => cleanText(scalar(input, path, loose));
|
|
472
|
+
const cell = (label, key, input, path, positional, fallback, loose = false, meaningfulFalse = false) => {
|
|
473
|
+
if (absent(input, fallback, meaningfulFalse)) return null;
|
|
418
474
|
const name = clean(label ?? key);
|
|
419
475
|
if (input === true) return name;
|
|
420
|
-
const text = value(input, path, loose);
|
|
421
|
-
return positional ? text : `${name} ${text}`;
|
|
476
|
+
const text = input === false ? "no" : value(input, path, loose);
|
|
477
|
+
return positional ? text : `${name}: ${text}`;
|
|
422
478
|
};
|
|
423
479
|
const facts = (items, loose = false) => {
|
|
424
480
|
for (const item of items) {
|
|
425
|
-
if (!collection && !selected(item.binding.key, item.required)) continue;
|
|
426
|
-
if (
|
|
427
|
-
|
|
428
|
-
|
|
481
|
+
if (!collection && !selected(item.binding.key, item.required) && !metadataKeys.has(item.binding.key)) continue;
|
|
482
|
+
if (["project", "artifact"].includes(item.binding.key) && item.binding.value === view.subject) continue;
|
|
483
|
+
if (absent(item.binding.value, void 0, item.required || item.showFalse || options.fields?.includes(item.binding.key))) continue;
|
|
484
|
+
const text = item.binding.value === true ? "yes" : item.binding.value === false ? "no" : value(item.binding.value, `data.${item.binding.key}`, loose);
|
|
485
|
+
append(`${clean(item.label)}: ${text}`, 0, 2);
|
|
486
|
+
trackLink(item.binding.value);
|
|
429
487
|
}
|
|
430
488
|
};
|
|
431
489
|
const metadata = (items, path) => items.map((item) => cell(item.label, item.binding.key, item.binding.value, `${path}.${item.binding.key}`, item.positional)).filter((text) => text !== null).join(" · ");
|
|
432
490
|
const title = (text, summary) => {
|
|
433
|
-
if (text)
|
|
491
|
+
if (text) {
|
|
492
|
+
if (lines.at(-1) !== "") lines.push("");
|
|
493
|
+
lines.push(summary ? `${clean(text)} · ${clean(summary)}` : clean(text));
|
|
494
|
+
}
|
|
434
495
|
};
|
|
435
|
-
const pageLine = (page) => {
|
|
436
|
-
|
|
496
|
+
const pageLine = (page, scope, supplied = []) => {
|
|
497
|
+
if (!page) return;
|
|
498
|
+
const key = JSON.stringify([scope, page]);
|
|
499
|
+
if (printedPages.has(key)) return;
|
|
500
|
+
printedPages.add(key);
|
|
501
|
+
if (page.snapshot && !supplied.some((item) => item.binding.key === "snapshot" && item.binding.value === page.snapshot)) lines.push(`Snapshot: ${clean(page.snapshot)}`);
|
|
502
|
+
const text = pageText(page);
|
|
437
503
|
if (text) lines.push(text);
|
|
504
|
+
if (page.hasMore && page.nextCursor) lines.push(`Cursor: ${clean(page.nextCursor)}`);
|
|
438
505
|
};
|
|
439
506
|
facts(view.facts);
|
|
507
|
+
const sectionVisible = (section) => section.kind === "fields" || !!collection || selected(section.key) || section.kind === "records" && !!options.fields?.some((key) => section.columns.some((column) => column.key === key));
|
|
440
508
|
const errorActions = wire.error ? recoveryActions(wire.error) : [];
|
|
441
509
|
if (wire.error) {
|
|
442
|
-
|
|
510
|
+
const summary = view.errorSummary;
|
|
511
|
+
const message = summary && view.sections.some((section) => section.kind !== "fields" && section.key === summary.section && sectionVisible(section)) ? summary.text : wire.error.message;
|
|
512
|
+
append(`${clean(wire.error.code)}: ${message}`, 0, 2);
|
|
443
513
|
if (wire.error.httpStatus !== void 0 && wire.error.httpStatus >= 500) lines.push(`HTTP: ${wire.error.httpStatus}`);
|
|
444
514
|
const details = wire.error.details;
|
|
445
515
|
if (details && typeof details === "object" && !Array.isArray(details)) {
|
|
@@ -476,59 +546,103 @@ function renderText(view, wire, options, collection, requiredFields = [], code =
|
|
|
476
546
|
facts(section.facts);
|
|
477
547
|
continue;
|
|
478
548
|
}
|
|
479
|
-
|
|
549
|
+
const fieldRecord = section.kind === "records" && options.fields?.some((key) => section.columns.some((column) => column.key === key));
|
|
550
|
+
if (!sectionVisible(section)) continue;
|
|
480
551
|
const named = "title" in section && section.title ? section.title : void 0;
|
|
481
552
|
if (section.kind === "records") {
|
|
482
|
-
title(named ?? (section.page ? section.key : void 0), section.summary);
|
|
553
|
+
title(named ?? (section.page ? section.key : void 0), section.summary === view.summary ? void 0 : section.summary);
|
|
554
|
+
facts(section.metadata ?? []);
|
|
483
555
|
const declared = new Set(section.columns.map((column) => column.key));
|
|
484
556
|
const extra = section.key === collection ? [.../* @__PURE__ */ new Set([...options.fields ?? [], ...options.fields ? requiredFields : []])].filter((key) => !declared.has(key)).map((key) => ({
|
|
485
557
|
key,
|
|
486
558
|
label: key
|
|
487
559
|
})) : [];
|
|
488
560
|
const loose = new Set(extra.map((column) => column.key));
|
|
489
|
-
const columns = [...section.columns, ...extra].filter((column) => section.key !== collection || selected(column.key, column.required));
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
561
|
+
const columns = [...section.columns, ...extra].filter((column) => !fieldRecord && section.key !== collection || selected(column.key, column.required));
|
|
562
|
+
const cells = section.rows.map((row, i) => columns.map((column) => absent(row[column.key], column.default, column.required || column.showFalse || options.fields?.includes(column.key)) ? "" : row[column.key] === false ? "no" : value(row[column.key], `data.${section.key}.${i}.${column.key}`, loose.has(column.key))));
|
|
563
|
+
const labels = columns.map((column) => column.label ?? column.key);
|
|
564
|
+
const widths = labels.map((label, i) => Math.max(displayWidth(label), ...cells.map((row) => displayWidth(row[i] ?? ""))));
|
|
565
|
+
const tableFits = widths.reduce((sum, width) => sum + width, 0) + Math.max(0, columns.length - 1) * 2 <= outputWidth() && cells.every((row) => row.every((text) => !text.includes("\n") && !text.includes(" ")));
|
|
566
|
+
if (options.format === "table" && tableFits && section.rows.length) lines.push(...[labels, ...cells].map((row) => row.map((text, i) => padColumns(text, widths[i])).join(" ").trimEnd()));
|
|
567
|
+
else for (const [i, row] of section.rows.entries()) {
|
|
568
|
+
const primary = [];
|
|
569
|
+
const details = [];
|
|
570
|
+
for (const column of columns) {
|
|
571
|
+
const text = cell(column.label, column.key, row[column.key], `data.${section.key}.${i}.${column.key}`, column.positional, column.default, loose.has(column.key), column.required || column.showFalse || options.fields?.includes(column.key));
|
|
572
|
+
if (text === null) continue;
|
|
573
|
+
trackLink(row[column.key]);
|
|
574
|
+
if (column.detail || text.includes("\n") || primary.length && displayWidth(primary.join(" · ") + " · " + text) > outputWidth() - 2) details.push(text);
|
|
575
|
+
else primary.push(text);
|
|
576
|
+
}
|
|
577
|
+
if (primary.length) append(primary.join(" · "), 2);
|
|
578
|
+
for (const detail of details) append(detail, primary.length ? 4 : 2, primary.length ? 6 : 4);
|
|
579
|
+
}
|
|
580
|
+
section.rows.forEach((row, index) => {
|
|
581
|
+
const printed = new Set(columns.filter((column) => !absent(row[column.key], column.default, column.required || column.showFalse || options.fields?.includes(column.key))).map((column) => column.key));
|
|
582
|
+
if (printed.size) cover(section.effects?.(row, index), printed);
|
|
583
|
+
});
|
|
584
|
+
pageLine(section.page, section.key, section.metadata);
|
|
498
585
|
} else if (section.kind === "messages") {
|
|
499
|
-
title(named, section.summary);
|
|
586
|
+
title(named, section.summary === view.summary ? void 0 : section.summary);
|
|
587
|
+
facts(section.metadata ?? []);
|
|
500
588
|
for (const [g, group] of section.groups.entries()) {
|
|
501
|
-
lines.push(` ${metadata(group.facts, `data.${section.key}.${g}`)}`);
|
|
589
|
+
lines.push(` ${metadata(group.facts.filter((item) => !item.detail), `data.${section.key}.${g}`)}`);
|
|
590
|
+
for (const item of group.facts.filter((item) => item.detail)) {
|
|
591
|
+
const text = cell(item.label, item.binding.key, item.binding.value, `data.${section.key}.${g}`, item.positional);
|
|
592
|
+
if (text) append(text, 4, 6);
|
|
593
|
+
}
|
|
502
594
|
for (const [m, message] of group.messages.entries()) {
|
|
503
595
|
lines.push(` ${metadata(message.facts, `data.${section.key}.${g}.messages.${m}`)}`);
|
|
504
|
-
lines.push(...message.text.split("\n").map((line) => ` ${line
|
|
596
|
+
lines.push(...message.text.split("\n").map((line) => ` ${cleanText(line)}`));
|
|
505
597
|
}
|
|
506
598
|
}
|
|
507
|
-
|
|
508
|
-
pageLine(section.page);
|
|
599
|
+
pageLine(section.page, section.key, section.metadata);
|
|
509
600
|
} else if (section.kind === "diagnostics") {
|
|
510
601
|
const limit = options.detail ? section.items.length : section.preview ?? 3;
|
|
511
|
-
for (const item of section.items.slice(0, limit)) lines.push(` ${item.location ? `${clean(item.location)} ` : ""}${clean(item.code)}: ${value(item.message, `data.${section.key}`)}`);
|
|
602
|
+
for (const item of section.items.slice(0, limit)) lines.push(` ${item.location ? `${clean(item.location)} ` : ""}${item.severity === "error" ? "Error " : ""}${clean(item.code)}: ${value(item.message, `data.${section.key}`)}`);
|
|
512
603
|
if (limit < section.items.length) omissions.push({
|
|
513
604
|
path: `data.${section.key}`,
|
|
514
605
|
reason: "preview",
|
|
515
606
|
count: section.items.length - limit
|
|
516
607
|
});
|
|
517
608
|
} else {
|
|
518
|
-
title(named
|
|
519
|
-
lines.push(...section.text.trimEnd().split("\n").map((line) => ` ${line
|
|
609
|
+
title(named, section.summary === view.summary ? void 0 : section.summary);
|
|
610
|
+
lines.push(...section.text.trimEnd().split("\n").map((line) => ` ${cleanText(line)}`));
|
|
520
611
|
}
|
|
521
612
|
}
|
|
522
|
-
if (wire.page) pageLine(wire.page);
|
|
523
|
-
|
|
524
|
-
|
|
613
|
+
if (wire.page) pageLine(wire.page, collection ?? "root", view.facts);
|
|
614
|
+
const effectGroups = /* @__PURE__ */ new Map();
|
|
615
|
+
(wire.effects ?? []).forEach((effect, index) => {
|
|
616
|
+
if (effect.state === "none" || covered.has(effectIdentity(effect, index)) || !code && effect.state === "confirmed") return;
|
|
617
|
+
const name = effect.state === "unknown" ? "Unconfirmed" : effect.state === "failed" ? "Failed operations" : effect.state === "not_attempted" ? "Not attempted" : code === 130 || code === 143 ? "Completed before interruption" : code === 1 || code === 5 ? "Completed before failure" : "Completed operations";
|
|
618
|
+
effectGroups.set(name, [...effectGroups.get(name) ?? [], {
|
|
619
|
+
effect,
|
|
620
|
+
index
|
|
621
|
+
}]);
|
|
622
|
+
});
|
|
623
|
+
for (const [name, items] of effectGroups) {
|
|
624
|
+
title(name, void 0);
|
|
625
|
+
for (const { effect, index } of items) {
|
|
626
|
+
append(`${clean(effect.operation)} ${clean(effect.target)}`, 2);
|
|
627
|
+
if (effect.details !== void 0) {
|
|
628
|
+
const detail = effect.details;
|
|
629
|
+
append(detail?.message ? `${detail.code ? `${clean(detail.code)}: ` : ""}${detail.message}` : flatten(effect.details), 4, 6);
|
|
630
|
+
}
|
|
631
|
+
covered.add(effectIdentity(effect, index));
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
for (const warning of wire.warnings ?? []) append(`${warning.severity === "error" ? "Error" : "Warning"}: ${warning.message}`);
|
|
525
635
|
const given = view.actions ?? wire.next ?? [];
|
|
526
636
|
const actions = [...given, ...errorActions.filter((action) => !given.some((other) => actionText(other) === actionText(action)))];
|
|
527
637
|
for (const omission of omissions) if (omission.count !== void 0) lines.push(`${omission.count} more ${lastSegment(omission.path)}`);
|
|
528
|
-
|
|
638
|
+
else if (omission.reason !== "fields") lines.push(`Preview: ${lastSegment(omission.path)}`);
|
|
639
|
+
for (const action of actions) if (action.kind === "url" && !links.has(action.url)) {
|
|
640
|
+
lines.push(`${clean(action.label ?? "Link")}: ${clean(action.url)}`);
|
|
641
|
+
links.add(action.url);
|
|
642
|
+
}
|
|
529
643
|
return `${lines.join("\n")}\n`;
|
|
530
644
|
}
|
|
531
|
-
function renderFailure(wire, options, code = 1) {
|
|
645
|
+
function renderFailure(wire, options, code = 1, covered = /* @__PURE__ */ new Set()) {
|
|
532
646
|
return renderText({
|
|
533
647
|
heading: commandName(wire.command),
|
|
534
648
|
status: "",
|
|
@@ -537,7 +651,7 @@ function renderFailure(wire, options, code = 1) {
|
|
|
537
651
|
}, wire, {
|
|
538
652
|
...options,
|
|
539
653
|
fields: void 0
|
|
540
|
-
}, void 0, [], code);
|
|
654
|
+
}, void 0, [], code, covered);
|
|
541
655
|
}
|
|
542
656
|
// src/core/cli/output/bootstrap/index.ts
|
|
543
657
|
function resolveSelection(argv) {
|
|
@@ -170,7 +170,7 @@ async function f(e) {
|
|
|
170
170
|
height: C
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
|
-
// ../../node_modules/.pnpm/@haklex+rich-ext-chart@0.
|
|
173
|
+
// ../../node_modules/.pnpm/@haklex+rich-ext-chart@0.68.0_3b47ffa0471124489e2088ac056cd1a9/node_modules/@haklex/rich-ext-chart/dist/rich-ext-chart.css?inline
|
|
174
174
|
var p = ":root{--rc-chart-1:#2a78d6;--rc-chart-2:#eb6834;--rc-chart-3:#1baf7a;--rc-chart-4:#eda100;--rc-chart-5:#e87ba4;--rc-chart-6:#008300;--rc-chart-muted:#d4d4d4;--rc-chart-grid:#f0f0f0;--rc-chart-axis:#d4d4d4;--rc-chart-reference:#a3a3a3;--rc-chart-crosshair:#a3a3a3;--rc-chart-area-opacity:.16;--rc-chart-hover-wash:#0000000a}:root.dark,[data-theme=dark],.dark{--rc-chart-1:#3987e5;--rc-chart-2:#d95926;--rc-chart-3:#199e70;--rc-chart-4:#c98500;--rc-chart-5:#d55181;--rc-chart-6:#008300;--rc-chart-muted:#3a3a3a;--rc-chart-grid:#1c1c1c;--rc-chart-axis:#404040;--rc-chart-reference:#737373;--rc-chart-crosshair:#525252;--rc-chart-area-opacity:.2;--rc-chart-hover-wash:#ffffff0d}[data-theme=light]{--rc-chart-1:#2a78d6;--rc-chart-2:#eb6834;--rc-chart-3:#1baf7a;--rc-chart-4:#eda100;--rc-chart-5:#e87ba4;--rc-chart-6:#008300;--rc-chart-muted:#d4d4d4;--rc-chart-grid:#f0f0f0;--rc-chart-axis:#d4d4d4;--rc-chart-reference:#a3a3a3;--rc-chart-crosshair:#a3a3a3;--rc-chart-area-opacity:.16;--rc-chart-hover-wash:#0000000a}:root{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-max-width:700px;--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-flow-paragraph:1.25em;--rc-flow-list:.375em;--rc-flow-block:2em;--rc-flow-heading:2em;--rc-font-family-sans:var(--rc-host-font-family-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-font-family-serif:var(--rc-host-font-family-serif,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-font-family-kai:var(--rc-host-font-family-kai,\"楷体\", KaiTi, STKaiti, \"Kaiti SC\", \"LXGW WenKai\", \"霞鹜文楷\", \"Noto Serif CJK SC\", serif);--rc-font-mono:var(--rc-host-font-mono,\"SF Mono\", SFMono-Regular, ui-monospace, \"DejaVu Sans Mono\", Menlo, Consolas, \"PingFang SC\", \"Noto Sans SC\", monospace);--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-font-size-code:.8125em;--rc-font-size-caption:.8125em;--rc-line-height:1.75;--rc-line-height-tight:1.35;--rc-line-height-compact:1.6;--rc-line-height-code:1.7;--rc-font-family:var(--rc-host-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}:root.dark,[data-theme=dark]{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}._1uvgp5z0{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-max-width:700px;--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-flow-paragraph:1.25em;--rc-flow-list:.375em;--rc-flow-block:2em;--rc-flow-heading:2em;--rc-font-family-sans:var(--rc-host-font-family-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-font-family-serif:var(--rc-host-font-family-serif,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-font-family-kai:var(--rc-host-font-family-kai,\"楷体\", KaiTi, STKaiti, \"Kaiti SC\", \"LXGW WenKai\", \"霞鹜文楷\", \"Noto Serif CJK SC\", serif);--rc-font-mono:var(--rc-host-font-mono,\"SF Mono\", SFMono-Regular, ui-monospace, \"DejaVu Sans Mono\", Menlo, Consolas, \"PingFang SC\", \"Noto Sans SC\", monospace);--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-font-size-code:.8125em;--rc-font-size-caption:.8125em;--rc-line-height:1.75;--rc-line-height-tight:1.35;--rc-line-height-compact:1.6;--rc-line-height-code:1.7;--rc-font-family:var(--rc-host-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1uvgp5z1{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-max-width:700px;--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-flow-paragraph:.5em;--rc-flow-list:.375em;--rc-flow-block:2em;--rc-flow-heading:2em;--rc-font-family-sans:var(--rc-host-font-family-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-font-family-serif:var(--rc-host-font-family-serif,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-font-family-kai:var(--rc-host-font-family-kai,\"楷体\", KaiTi, STKaiti, \"Kaiti SC\", \"LXGW WenKai\", \"霞鹜文楷\", \"Noto Serif CJK SC\", serif);--rc-font-mono:var(--rc-host-font-mono,\"SF Mono\", SFMono-Regular, ui-monospace, \"DejaVu Sans Mono\", Menlo, Consolas, \"PingFang SC\", \"Noto Sans SC\", monospace);--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-font-size-code:.8125em;--rc-font-size-caption:.8125em;--rc-line-height:1.85;--rc-line-height-tight:1.35;--rc-line-height-compact:1.6;--rc-line-height-code:1.7;--rc-font-family:var(--rc-host-font-family,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1uvgp5z2{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-max-width:none;--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-space-xs:2px;--rc-space-sm:4px;--rc-space-md:10px;--rc-space-lg:16px;--rc-space-xl:20px;--rc-flow-paragraph:.6em;--rc-flow-list:.25em;--rc-flow-block:1em;--rc-flow-heading:1em;--rc-font-family-sans:var(--rc-host-font-family-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-font-family-serif:var(--rc-host-font-family-serif,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-font-family-kai:var(--rc-host-font-family-kai,\"楷体\", KaiTi, STKaiti, \"Kaiti SC\", \"LXGW WenKai\", \"霞鹜文楷\", \"Noto Serif CJK SC\", serif);--rc-font-mono:var(--rc-host-font-mono,\"SF Mono\", SFMono-Regular, ui-monospace, \"DejaVu Sans Mono\", Menlo, Consolas, \"PingFang SC\", \"Noto Sans SC\", monospace);--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:14px;--rc-font-size-small:12px;--rc-font-size-code:.9286em;--rc-font-size-caption:.9286em;--rc-line-height:1.6;--rc-line-height-tight:1.3;--rc-line-height-compact:1.6;--rc-line-height-code:1.7;--rc-font-family:var(--rc-host-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-radius-sm:3px;--rc-radius-md:6px;--rc-radius-lg:12px}._1uvgp5z3{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-max-width:none;--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-flow-paragraph:.75em;--rc-flow-list:.25em;--rc-flow-block:1em;--rc-flow-heading:1em;--rc-font-family-sans:var(--rc-host-font-family-sans,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-font-family-serif:var(--rc-host-font-family-serif,\"Noto Serif CJK SC\", \"Source Han Serif SC\", \"Source Han Serif\", \"source-han-serif-sc\", \"Songti SC\", STSong, \"华文宋体\", serif);--rc-font-family-kai:var(--rc-host-font-family-kai,\"楷体\", KaiTi, STKaiti, \"Kaiti SC\", \"LXGW WenKai\", \"霞鹜文楷\", \"Noto Serif CJK SC\", serif);--rc-font-mono:var(--rc-host-font-mono,\"SF Mono\", SFMono-Regular, ui-monospace, \"DejaVu Sans Mono\", Menlo, Consolas, \"PingFang SC\", \"Noto Sans SC\", monospace);--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:15px;--rc-font-size-small:13px;--rc-font-size-code:.8667em;--rc-font-size-caption:.8667em;--rc-line-height:1.65;--rc-line-height-tight:1.3;--rc-line-height-compact:1.6;--rc-line-height-code:1.7;--rc-font-family:var(--rc-host-font-family,-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"PingFang SC\", \"Hiragino Sans GB\", \"Microsoft YaHei\", \"Noto Sans SC\", Roboto, Helvetica, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Noto Color Emoji\");--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}.dark ._1uvgp5z0,[data-theme=dark] ._1uvgp5z0,.dark._1uvgp5z0,[data-theme=dark]._1uvgp5z0,.dark ._1uvgp5z1,[data-theme=dark] ._1uvgp5z1,.dark._1uvgp5z1,[data-theme=dark]._1uvgp5z1,.dark ._1uvgp5z2,[data-theme=dark] ._1uvgp5z2,.dark._1uvgp5z2,[data-theme=dark]._1uvgp5z2,.dark ._1uvgp5z3,[data-theme=dark] ._1uvgp5z3,.dark._1uvgp5z3,[data-theme=dark]._1uvgp5z3{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=dark] [data-theme=light] ._1uvgp5z0{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=light] [data-theme=dark] ._1uvgp5z0{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=light][data-theme]._1uvgp5z0{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=dark][data-theme]._1uvgp5z0{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=dark] [data-theme=light] ._1uvgp5z1{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=light] [data-theme=dark] ._1uvgp5z1{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=light][data-theme]._1uvgp5z1{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#f5f5f5);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=dark][data-theme]._1uvgp5z1{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=dark] [data-theme=light] ._1uvgp5z2{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=light] [data-theme=dark] ._1uvgp5z2{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=light][data-theme]._1uvgp5z2{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=dark][data-theme]._1uvgp5z2{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=dark] [data-theme=light] ._1uvgp5z3{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=light] [data-theme=dark] ._1uvgp5z3{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}[data-theme=light][data-theme]._1uvgp5z3{--rc-text:var(--rc-host-text,#171717);--rc-text-secondary:var(--rc-host-text-secondary,#404040);--rc-text-tertiary:var(--rc-host-text-tertiary,#737373);--rc-text-quaternary:var(--rc-host-text-quaternary,#a3a3a3);--rc-bg:var(--rc-host-bg,#fff);--rc-bg-secondary:var(--rc-host-bg-secondary,#fafafa);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#f5f5f5);--rc-bg-elevated:var(--rc-host-bg-elevated,#fff);--rc-fill:var(--rc-host-fill,#00000012);--rc-fill-secondary:var(--rc-host-fill-secondary,#0000000b);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#00000008);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#00000005);--rc-border:var(--rc-host-border,#e5e5e5);--rc-border-subtle:var(--rc-host-border-subtle,#f0f0f0);--rc-ring:var(--rc-host-ring,#00000014);--rc-scrim:var(--rc-host-scrim,#00000052);--rc-accent:var(--rc-host-accent,#2563eb);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 10%, transparent));--rc-link:var(--rc-host-link,#2563eb);--rc-code-text:var(--rc-host-code-text,#171717);--rc-code-bg:var(--rc-host-code-bg,#f5f5f5);--rc-code-header-bg:var(--rc-host-code-header-bg,#f5f5f5);--rc-hr-border:var(--rc-host-hr-border,#e5e5e5);--rc-quote-border:var(--rc-host-quote-border,#e5e5e5);--rc-quote-bg:var(--rc-host-quote-bg,#fafafa);--rc-alert-info:var(--rc-host-alert-info,#2563eb);--rc-alert-warning:var(--rc-host-alert-warning,#b45309);--rc-alert-tip:var(--rc-host-alert-tip,#15803d);--rc-alert-caution:var(--rc-host-alert-caution,#dc2626);--rc-alert-important:var(--rc-host-alert-important,#7c3aed);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0000000d;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f;--rc-shadow-modal:0 0 0 1px #0000000f, 0 16px 48px -12px #00000040;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 4px 12px #0000000f, 0 12px 32px -8px #0000001f}[data-theme=dark][data-theme]._1uvgp5z3{--rc-text:var(--rc-host-text,#ededed);--rc-text-secondary:var(--rc-host-text-secondary,#c4c4c4);--rc-text-tertiary:var(--rc-host-text-tertiary,#8f8f8f);--rc-text-quaternary:var(--rc-host-text-quaternary,#5c5c5c);--rc-bg:var(--rc-host-bg,#0a0a0a);--rc-bg-secondary:var(--rc-host-bg-secondary,#121212);--rc-bg-tertiary:var(--rc-host-bg-tertiary,#1a1a1a);--rc-bg-elevated:var(--rc-host-bg-elevated,#171717);--rc-fill:var(--rc-host-fill,#ffffff17);--rc-fill-secondary:var(--rc-host-fill-secondary,#ffffff0f);--rc-fill-tertiary:var(--rc-host-fill-tertiary,#ffffff0a);--rc-fill-quaternary:var(--rc-host-fill-quaternary,#ffffff06);--rc-border:var(--rc-host-border,#262626);--rc-border-subtle:var(--rc-host-border-subtle,#1c1c1c);--rc-ring:var(--rc-host-ring,#ffffff1f);--rc-scrim:var(--rc-host-scrim,#0000008f);--rc-accent:var(--rc-host-accent,#60a5fa);--rc-accent-light:var(--rc-host-accent-light,color-mix(in oklab, var(--rc-accent) 16%, transparent));--rc-link:var(--rc-host-link,#60a5fa);--rc-code-text:var(--rc-host-code-text,#ededed);--rc-code-bg:var(--rc-host-code-bg,#1a1a1a);--rc-code-header-bg:var(--rc-host-code-header-bg,#1a1a1a);--rc-hr-border:var(--rc-host-hr-border,#262626);--rc-quote-border:var(--rc-host-quote-border,#262626);--rc-quote-bg:var(--rc-host-quote-bg,#1a1a1a);--rc-alert-info:var(--rc-host-alert-info,#60a5fa);--rc-alert-warning:var(--rc-host-alert-warning,#fbbf24);--rc-alert-tip:var(--rc-host-alert-tip,#4ade80);--rc-alert-caution:var(--rc-host-alert-caution,#f87171);--rc-alert-important:var(--rc-host-alert-important,#a78bfa);--rc-shadow-xs:0 0 0 1px var(--rc-ring), 0 1px 2px #0006;--rc-shadow-top-bar:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009;--rc-shadow-modal:0 0 0 1px #ffffff14, 0 16px 48px -12px #000000b3;--rc-shadow-menu:0 0 0 1px var(--rc-ring), 0 8px 24px #00000080, 0 16px 40px -8px #0009}.appgph0{color:var(--rc-text);margin:1.5em 0;font-size:14px;line-height:1.5;container-type:inline-size}.appgph1{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px;display:flex}.appgph2{color:var(--rc-text);font-size:15px;font-weight:600;line-height:1.4}.appgph3{color:var(--rc-text-tertiary);margin-top:2px;font-size:13px}.appgph4{height:26px;color:var(--rc-text-tertiary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;align-items:center;gap:5px;padding:0 8px;font-size:12px;display:inline-flex}.appgph4:hover,.appgph4[aria-pressed=true]{background:var(--rc-fill-secondary);color:var(--rc-text)}.appgph4:focus-visible{outline:2px solid var(--rc-accent);outline-offset:1px}.appgph5{color:var(--rc-text-secondary);flex-wrap:wrap;gap:4px 14px;margin:-2px 0 8px;font-size:12px;display:flex}.appgph6{align-items:center;gap:6px;display:inline-flex}.appgph7{border-radius:2px;width:10px;height:10px}.appgph8{border-radius:1px;width:12px;height:2px}.appgpha{display:none}.appgphb{position:relative}.appgphc{font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;width:100%;height:auto;font-family:inherit;display:block;overflow:visible}.appgphd{fill:var(--rc-text-tertiary);font-size:11px}.appgphe{fill:var(--rc-text-tertiary);font-size:12px}.appgphf{fill:var(--rc-text-tertiary);font-size:11px}.appgphg{fill:var(--rc-text);font-size:11px;font-weight:600}.appgphh{font-size:12px}.appgphi{stroke:var(--rc-chart-grid);stroke-width:1px;shape-rendering:crispedges}.appgphj{stroke:var(--rc-chart-axis);stroke-width:1px;shape-rendering:crispedges}.appgphk{z-index:2;pointer-events:none;background:var(--rc-bg);min-width:132px;box-shadow:var(--rc-shadow-menu);white-space:nowrap;border:none;border-radius:8px;padding:8px 10px;font-size:12px;line-height:1.5;position:absolute}.appgphl{color:var(--rc-text-tertiary);margin-bottom:4px}.appgphm{grid-template-columns:12px auto 1fr;align-items:center;gap:8px;display:grid}.appgphn{border-radius:1px;width:12px;height:2px}.appgpho{font-variant-numeric:tabular-nums;color:var(--rc-text);font-weight:600}.appgphp{color:var(--rc-text-tertiary)}.appgphq{color:var(--rc-text-tertiary);margin-top:10px;font-size:12px}.appgphr{color:var(--rc-text-secondary);font-weight:500}.appgphs{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:13px}.appgphs th,.appgphs td{border-bottom:1px solid var(--rc-hr-border);text-align:right;padding:7px 10px}.appgphs th{color:var(--rc-text-tertiary);font-size:12px;font-weight:500}.appgphs th:first-child,.appgphs td:first-child{text-align:left}.appgphs tbody tr:hover td{background:var(--rc-bg-secondary)}.appgpht{place-items:center;height:220px;display:grid;position:relative}.appgphu{flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:20px 0 30px}.appgphv{background:var(--rc-chart-grid);height:1px}.appgphw{text-align:center;background:var(--rc-bg);color:var(--rc-text-secondary);padding:6px 14px;font-size:14px;font-weight:500;position:relative}.appgphx{font-family:var(--rc-font-mono);color:var(--rc-text-tertiary);font-size:12px;font-weight:400;display:block}@container (width<=520px){.appgph9{display:none}.appgpha{display:block}}._3n881z0{border:1px solid var(--rc-hr-border);background:var(--rc-bg-secondary);color:var(--rc-text);border-radius:10px;margin:1.5em 0;padding:16px 18px;font-size:13px;line-height:1.6}._3n881z1{align-items:center;gap:8px;display:flex}._3n881z2{width:16px;height:16px;color:var(--rc-alert-caution);flex:none}._3n881z3{font-size:14px;font-weight:600}._3n881z4{font-family:var(--rc-font-mono);color:var(--rc-text-tertiary);margin-left:auto;font-size:12px}._3n881z5{color:var(--rc-text-tertiary);margin:2px 0 12px 24px}._3n881z6{border-top:1px solid var(--rc-hr-border);margin:0;padding:0;list-style:none}._3n881z7{border-bottom:1px solid var(--rc-hr-border);padding:10px 0 10px 24px}._3n881z7:last-child{border-bottom:0;padding-bottom:0}._3n881z8{font-family:var(--rc-font-mono);background:var(--rc-fill-secondary);border-radius:4px;padding:1px 6px;font-size:12px}._3n881z9{color:var(--rc-text-tertiary);font-size:12px;display:block}.tzkflr0{overflow:hidden}.tzkflr1{max-height:min(520px,100vh - 96px);font-size:13px;line-height:20px;font-family:var(--rc-font-family-sans);color:var(--rc-text);flex-direction:column;display:flex}.tzkflr2{border-bottom:1px solid var(--rc-border-subtle);padding:8px 12px}.tzkflr3{flex-direction:column;gap:12px;min-height:0;padding:12px;display:flex;overflow-y:auto}.tzkflr4{color:var(--rc-text-secondary);margin:0;padding:12px;font-size:12px;font-weight:400;line-height:16px}.tzkflr5{flex-direction:column;gap:4px;min-width:0;display:flex}.tzkflr6{color:var(--rc-text-secondary);font-size:12px;font-weight:500;line-height:16px}.tzkflr7{width:100%}.tzkflr8{flex-shrink:0;width:92px}.tzkflr9{flex:1}.tzkflra{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tzkflrb{align-items:center;gap:6px;display:flex}.tzkflrc{cursor:pointer;background:0 0;border:0;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.tzkflrc:hover,.tzkflrc[aria-expanded=true]{background:var(--rc-fill-secondary)}.tzkflrd{border-radius:3px;width:12px;height:12px;display:block}.tzkflre{gap:4px;padding-left:34px;display:flex}.tzkflrf{cursor:pointer;background:0 0;border:2px solid #0000;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;display:inline-flex}.tzkflrf[aria-pressed=true]{border-color:var(--rc-text)}.tzkflrg{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.tzkflrh{border:1px solid var(--rc-border);border-radius:8px;max-height:300px;overflow:auto}.tzkflri{border-collapse:collapse;table-layout:fixed;width:100%}.tzkflri th,.tzkflri td{border-bottom:1px solid var(--rc-border);border-right:1px solid var(--rc-border);padding:0}.tzkflri th{background:var(--rc-bg-secondary)}.tzkflri tr>:last-child{border-right:0;width:32px}.tzkflri tbody tr:last-child td{border-bottom:0}.tzkflrj{box-sizing:border-box;width:100%;height:30px;color:var(--rc-text);font:inherit;background:0 0;border:0;outline:none;padding:0 8px}.tzkflrj:focus{box-shadow:inset 0 0 0 2px var(--rc-accent)}.tzkflrk{text-align:right;font-variant-numeric:tabular-nums}.tzkflrl{color:var(--rc-text-secondary);font-size:12px;font-weight:500}._1vsdskt0{outline-offset:6px;border-radius:8px;outline:2px solid #0000;transition:outline-color .12s;position:relative}._1vsdskt1{outline-color:var(--rc-accent)}._1vsdskt2{letter-spacing:normal;word-spacing:normal;font-feature-settings:normal;font-variant:normal;text-transform:none;text-indent:0;color:var(--rc-text);font-style:normal;font-weight:400;font-family:var(--rc-font-family-sans);z-index:1;background-color:var(--rc-bg-elevated);box-shadow:var(--rc-shadow-menu);border:none;border-radius:12px;align-items:center;gap:2px;padding:4px;font-size:14px;line-height:20px;display:flex;position:absolute;top:-8px;right:0;transform:translateY(-100%)}._1vsdskt3{flex-direction:column;max-height:360px;display:flex}._1vsdskt4{font-family:var(--rc-font-mono);color:var(--rc-text);white-space:pre;-webkit-user-select:text;user-select:text;flex:1;margin:0;padding:12px;font-size:12px;line-height:1.5;overflow:auto}._1vsdskt5{color:var(--rc-text-tertiary)}";
|
|
175
175
|
// ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
176
176
|
function m(e) {
|
|
@@ -64873,7 +64873,7 @@ function nde(e) {
|
|
|
64873
64873
|
let { keys: t, value: n, order: r, offset: i } = e, a = Vue();
|
|
64874
64874
|
return t && a.keys(t), n && i9(a.value, n), r && a.order(Zue(r)), i && a.offset(s9(i)), a;
|
|
64875
64875
|
}
|
|
64876
|
-
// ../../node_modules/.pnpm/@haklex+rich-style-token@0.
|
|
64876
|
+
// ../../node_modules/.pnpm/@haklex+rich-style-token@0.68.0_react@19.3.1/node_modules/@haklex/rich-style-token/dist/themes-nGG3HwVM.js
|
|
64877
64877
|
var c9 = {
|
|
64878
64878
|
color: {
|
|
64879
64879
|
text: "var(--rc-text)",
|
|
@@ -64990,7 +64990,7 @@ var c9 = {
|
|
|
64990
64990
|
className: "",
|
|
64991
64991
|
theme: "light"
|
|
64992
64992
|
}), v.createContext(null).Provider;
|
|
64993
|
-
// ../../node_modules/.pnpm/@haklex+rich-ext-chart@0.
|
|
64993
|
+
// ../../node_modules/.pnpm/@haklex+rich-ext-chart@0.68.0_3b47ffa0471124489e2088ac056cd1a9/node_modules/@haklex/rich-ext-chart/dist/static-DGhxnBot.js
|
|
64994
64994
|
var ade = [
|
|
64995
64995
|
[1e9, "B"],
|
|
64996
64996
|
[1e6, "M"],
|
|
@@ -1923,7 +1923,7 @@ var Ut = "none", Wt = class {
|
|
|
1923
1923
|
return e.filter((e, t) => t === 0 || e.op !== "move");
|
|
1924
1924
|
}
|
|
1925
1925
|
};
|
|
1926
|
-
// ../../node_modules/.pnpm/@haklex+rich-ext-whiteboard@0.
|
|
1926
|
+
// ../../node_modules/.pnpm/@haklex+rich-ext-whiteboard@0.68.0_3f3019e441d436abb0b182228cef98fe/node_modules/@haklex/rich-ext-whiteboard/dist/viewport-fit-n_lDh3MZ.js
|
|
1927
1927
|
function Gt(e) {
|
|
1928
1928
|
let t = Infinity, n = Infinity, r = -Infinity, i = -Infinity;
|
|
1929
1929
|
for (let [a, o] of e) t = Math.min(t, a), n = Math.min(n, o), r = Math.max(r, a), i = Math.max(i, o);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./shims-s-YVfIlz.js","./rolldown-runtime-XKyaHtl9.js","./DocumentPage-
|
|
2
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{t as n}from"./jsx-runtime-LKYXHABd.js";import{E as r}from"./route-BEA0O_Ry.js";var i=e(t(),1),a=n(),o=(0,i.lazy)(()=>r(()=>import(`./shims-s-YVfIlz.js`).then(e=>e.t).then(()=>r(()=>import(`./DocumentPage-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./shims-s-YVfIlz.js","./rolldown-runtime-XKyaHtl9.js","./DocumentPage-CP8Qy9Ae.js","./index.js","./route-BEA0O_Ry.js","./bem-vbke-3KC.js","./react-DlmbjZJV.js","./jsx-runtime-LKYXHABd.js","./types-BCsOeYI6.js","./index2.css","./url-BaZreTXB.js","./useLayerZIndex-C1JpT09z.js","./MotionConfigContext-BqjwrGj9.js","./is-html-element-DvgHo_1h.js","./DropdownMenu-Dza6-jeN.js","./MenuSubmenuTrigger-CLeiXsan.js","./Popover-HS6yjzxl.js","./store-D3ROW536.js","./imperative-BeC0q_ho.js","./elements-4A4Lq7OM.js","./local-DjzZ1b9A.js","./SelectScrollUpArrow-BFRXZrFq.js","./useArtifactSocket-CZwBSmOD.js","./DocumentExportMenu-DyhweUFo.js","./index5.css","./arrow-up-right-CHwLq7Lo.js","./cloud-upload-CZolxm3j.js","./Tooltip-Bi4V2FVJ.js","./styles-Df1cAK9W.js","./comments-DUAz1Q9X.js","./WhiteboardEditor-DrHOvXez-Bd1MyHmC.js","./chevron-right-DBC0wrKu.js","./stringifyLocale-VcrwrbQl.js","./code-CTMZ5SpG.js","./zoom-out-Cz3087-F.js","./text-align-start-CO9CK_EW.js","./ruler-DmQbsUQf.js","./maximize-2-Deo2WY_L.js","./mouse-pointer-2-naHRayvu.js","./undo-2-BH3P-I_n.js","./plus-C3ivaMGn.js","./index3.css","./editor-CLF22MpT.js","./pen-tool-B7HWrrcR.js","./underline-AY5gu1iN.js","./route-messages-o8lg2hOP.js","./ref-DjRYiP25.js","./table-2-F7QzFSYG.js","./video-tvDNJEhe.js","./message-square-BQbestX7.js","./presentation-qzIErT_u.js","./ThreadView-DTGR5uqU.js","./stable-DP74aChD.js","./icons-CCSPm9SD.js","./search-EBZOryv1.js","./shield-check-TdIPOf4j.js","./sliders-horizontal-DZKoxRty.js","./upload-D0s2oA1h.js","./agentLook-BPPrbQJ3.js","./DotGrid-DKKr_PyM.js","./rounds-DC6Dulo5.js","./useMedia-CFebB4XU.js","./BottomSheet-SYC_8Y6k.js","./motion-Cy65kd7X.js","./preference-oNdcNeml.js","./useSandboxFrame-CJmSnwgG.js","./index4.css","./WarningsBadge-CyQbVl6h.js","./useRefBoard-Cj5dzC4F.js","./channel-RZcAq9dq.js","./plugin-_bGVeqI0-D20LzbhT.js","./artifact-list-CuXyveqX.js","./embed-src-CmyqZplg.js","./jump-history-B-4GHf3_.js","./useTypeFavicon-yXOsFZBx.js","./type-icons-CxYXZlMj.js","./dist-BjB8i81Z.js","./read-marks-CVVWpIvf.js","./Segmented-D5ApsVJJ.js","./selection-BWCQd_Fn.js","./pages-DWkRbog-.js","./local-split-host-CeKHc_JX.js","./DocumentPage-l6f5vTWL.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{t}from"./react-DlmbjZJV.js";import{t as n}from"./jsx-runtime-LKYXHABd.js";import{E as r}from"./route-BEA0O_Ry.js";var i=e(t(),1),a=n(),o=(0,i.lazy)(()=>r(()=>import(`./shims-s-YVfIlz.js`).then(e=>e.t).then(()=>r(()=>import(`./DocumentPage-CP8Qy9Ae.js`),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82]),import.meta.url)),__vite__mapDeps([0,1]),import.meta.url));function s({id:e}){return(0,a.jsx)(i.Suspense,{fallback:null,children:(0,a.jsx)(o,{id:e})})}export{s as DocumentLayout};
|